change Kconfig type of ADC0_MASK from hex to int; add ADC driver options to lpc43xx

This commit is contained in:
ahb 2017-03-09 10:41:59 +01:00
parent f50072bd6b
commit 5bfa42c1b8
3 changed files with 17 additions and 4 deletions

View File

@ -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"

View File

@ -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"

View File

@ -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