mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 17:33:08 +08:00
change Kconfig type of ADC0_MASK from hex to int; add ADC driver options to lpc43xx
This commit is contained in:
@@ -122,8 +122,8 @@ config ADC0_AVERAGE
|
||||
default 200
|
||||
|
||||
config ADC0_MASK
|
||||
int "ADC0 mask"
|
||||
default 1
|
||||
hex "ADC0 mask"
|
||||
default 0x01
|
||||
|
||||
config ADC0_SPS
|
||||
int "ADC0 SPS"
|
||||
|
||||
@@ -489,8 +489,8 @@ config ADC0_AVERAGE
|
||||
default 200
|
||||
|
||||
config ADC0_MASK
|
||||
int "ADC0 mask"
|
||||
default 1
|
||||
hex "ADC0 mask"
|
||||
default 0x01
|
||||
|
||||
config ADC0_SPS
|
||||
int "ADC0 SPS"
|
||||
|
||||
@@ -335,6 +335,19 @@ config LPC43_WWDT
|
||||
|
||||
endmenu # LPC43xx Peripheral Support
|
||||
|
||||
menu "ADC driver options"
|
||||
depends on LPC43_ADC0 || LPC43_ADC1
|
||||
|
||||
config ADC0_MASK
|
||||
hex "ADC0 mask"
|
||||
default 0x01
|
||||
|
||||
config ADC0_FREQ
|
||||
int "ADC0 frequency"
|
||||
default 4500000
|
||||
|
||||
endmenu # ADC driver options
|
||||
|
||||
config LPC43_GPIO_IRQ
|
||||
bool "GPIO interrupt support"
|
||||
default n
|
||||
|
||||
Reference in New Issue
Block a user