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:
commit
9ba4ce0bb9
@ -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"
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user