2021-08-11 00:04:20 +08:00
|
|
|
# MCUXpresso SDK CTIMER
|
|
|
|
|
|
|
|
# Copyright (c) 2021 Toby firth
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
|
|
config COUNTER_MCUX_CTIMER
|
|
|
|
bool "MCUX CTIMER driver"
|
2022-07-22 05:33:07 +08:00
|
|
|
default y
|
|
|
|
depends on DT_HAS_NXP_LPC_CTIMER_ENABLED
|
2021-08-11 00:04:20 +08:00
|
|
|
help
|
|
|
|
Enable support for MCUX CTIMER driver.
|
2022-05-20 06:08:14 +08:00
|
|
|
|
|
|
|
config COUNTER_MCUX_CTIMER_RESERVE_CHANNEL_FOR_SETTOP
|
|
|
|
bool "reserve a ctimer channel to set the top value"
|
|
|
|
default y
|
|
|
|
depends on COUNTER_MCUX_CTIMER
|
|
|
|
help
|
|
|
|
This reserves a CTimer channel to set the top value. Without
|
|
|
|
this the set top value can be set only to the max counter value.
|