Merged in andreasBihlmaier/nuttx/change-adc0_mask (pull request #246)

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

Approved-by: Gregory Nutt
This commit is contained in:
Andreas Bihlmaier 2017-03-09 12:49:58 +00:00 committed by Gregory Nutt
commit 9ba4ce0bb9
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

@ -338,6 +338,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