mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-02-07 01:44:41 +08:00
* [DM][MISC] Make Kconfig(ADC/PWM) import for DM * [Driver][MISC][ADC] Fixup ADC 1. Fixup error no. 2. Fixup type of control for args. 3. Fixup value no init. * [Driver][MISC][PWM] Enable `rt_pwm_get` API Signed-off-by: GuEe-GUI <2991707448@qq.com>
46 lines
918 B
Plaintext
46 lines
918 B
Plaintext
menuconfig RT_USING_ADC
|
|
bool "Using ADC device drivers"
|
|
default n
|
|
|
|
if RT_USING_DM && RT_USING_ADC
|
|
osource "$(SOC_DM_ADC_DIR)/Kconfig"
|
|
endif
|
|
|
|
config RT_USING_DAC
|
|
bool "Using DAC device drivers"
|
|
default n
|
|
|
|
config RT_USING_NULL
|
|
bool "Using NULL device drivers"
|
|
default n
|
|
|
|
config RT_USING_ZERO
|
|
bool "Using ZERO device drivers"
|
|
default n
|
|
|
|
config RT_USING_RANDOM
|
|
bool "Using RANDOM device drivers"
|
|
default n
|
|
|
|
menuconfig RT_USING_PWM
|
|
bool "Using PWM device drivers"
|
|
default n
|
|
|
|
if RT_USING_DM && RT_USING_PWM
|
|
osource "$(SOC_DM_PWM_DIR)/Kconfig"
|
|
endif
|
|
|
|
config RT_USING_PULSE_ENCODER
|
|
bool "Using PULSE ENCODER device drivers"
|
|
default n
|
|
|
|
config RT_USING_INPUT_CAPTURE
|
|
bool "Using INPUT CAPTURE device drivers"
|
|
default n
|
|
|
|
if RT_USING_INPUT_CAPTURE
|
|
config RT_INPUT_CAPTURE_RB_SIZE
|
|
int "Set input capture ringbuffer size"
|
|
default 100
|
|
endif
|