diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2015-02-06 16:56:12 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2015-02-06 16:56:12 -0600 |
commit | 75356d82da960f5872b79a2e8a6d026650754e0c (patch) | |
tree | aef2b66abc25abaa5dde9cc6206c38c604d0cb86 /nuttx/arch/arm/src/tiva/Kconfig | |
parent | efccc9d98731da0d60a9c6b9094ea4c93f486723 (diff) | |
download | nuttx-75356d82da960f5872b79a2e8a6d026650754e0c.tar.gz nuttx-75356d82da960f5872b79a2e8a6d026650754e0c.tar.bz2 nuttx-75356d82da960f5872b79a2e8a6d026650754e0c.zip |
Updated Tiva ADC files
Diffstat (limited to 'nuttx/arch/arm/src/tiva/Kconfig')
-rw-r--r-- | nuttx/arch/arm/src/tiva/Kconfig | 1500 |
1 files changed, 747 insertions, 753 deletions
diff --git a/nuttx/arch/arm/src/tiva/Kconfig b/nuttx/arch/arm/src/tiva/Kconfig index acda4530f..94083af81 100644 --- a/nuttx/arch/arm/src/tiva/Kconfig +++ b/nuttx/arch/arm/src/tiva/Kconfig @@ -872,159 +872,159 @@ menuconfig TIVA_ADC0_SSE0 - priority - input channel step assignment - config TIVA_ADC0_SSE0_PRIORITY - int "Conversion priority, must be a value from 0 to 3, no duplicates" - default 0 - range 0 3 - depends on TIVA_ADC0_SSE0 - ---help--- - Set the conversion priority for this SSE. Each ADC has 4 SSEs so the - order in which they are serviced is determined by this value. - - config TIVA_ADC0_SSE0_TRIGGER - int "Set the trigger source to start a SSE's conversion, see help for options" - default 0 - range 0 15 - depends on TIVA_ADC0_SSE0 - ---help--- - Set the trigger source. The following values correspond to the - following triggers: - - 0x0: Processor (default) - - 0x1: *Analog Comparator 0 - - 0x2: *Analog Comparator 1 - - 0x3: *Analog Comparator 2 - - 0x4: External (GPIO Pins) - - 0x5: Timer - - 0x6: **PWM generator 0 - - 0x7: **PWM generator 1 - - 0x8: **PWM generator 2 - - 0x9: **PWM generator 3 - - 0xE: Never Trigger - - 0xF: Always (continuously sample) - - * Comparators are unsupported - ** PWM triggering requires additional setup at runtime - There is a special - ADC IOCTL defined in the Tiva ADC driver for this purpose. - - menuconfig TIVA_ADC0_SSE0_STEP0 - bool "Enable and configure ADC0 SSE0 step 0" - default n - depends on TIVA_ADC0_SSE0 - - config TIVA_ADC0_SSE0_STEP0_TS - bool "This step will retrieve data from the on-chip temperature sensor." - default n - depends on TIVA_ADC0_SSE0_STEP0 - - config TIVA_ADC0_SSE0_STEP0_AIN - int "Set the input AIN. See datasheet for pin to AIN mappings." - default 0 - depends on TIVA_ADC0_SSE0_STEP0 - - menuconfig TIVA_ADC0_SSE0_STEP1 - bool "Enable and configure ADC0 SSE0 step 1" - default n - depends on TIVA_ADC0_SSE0 - - config TIVA_ADC0_SSE0_STEP1_TS - bool "This step will retrieve data from the on-chip temperature sensor." - default n - depends on TIVA_ADC0_SSE0_STEP1 - - config TIVA_ADC0_SSE0_STEP1_AIN - int "Set the input AIN. See datasheet for pin to AIN mappings." - default 0 - depends on TIVA_ADC0_SSE0_STEP1 - - menuconfig TIVA_ADC0_SSE0_STEP2 - bool "Enable and configure ADC0 SSE0 step 2" - default n - depends on TIVA_ADC0_SSE0 - - config TIVA_ADC0_SSE0_STEP2_TS - bool "This step will retrieve data from the on-chip temperature sensor." - default n - depends on TIVA_ADC0_SSE0_STEP2 - - config TIVA_ADC0_SSE0_STEP2_AIN - int "Set the input AIN. See datasheet for pin to AIN mappings." - default 0 - depends on TIVA_ADC0_SSE0_STEP2 - - menuconfig TIVA_ADC0_SSE0_STEP3 - bool "Enable and configure ADC0 SSE0 step 3" - default n - depends on TIVA_ADC0_SSE0 - - config TIVA_ADC0_SSE0_STEP3_TS - bool "This step will retrieve data from the on-chip temperature sensor." - default n - depends on TIVA_ADC0_SSE0_STEP3 - - config TIVA_ADC0_SSE0_STEP3_AIN - int "Set the input AIN. See datasheet for pin to AIN mappings." - default 0 - depends on TIVA_ADC0_SSE0_STEP3 - - menuconfig TIVA_ADC0_SSE0_STEP4 - bool "Enable and configure ADC0 SSE0 step 4" - default n - depends on TIVA_ADC0_SSE0 - - config TIVA_ADC0_SSE0_STEP4_TS - bool "This step will retrieve data from the on-chip temperature sensor." - default n - depends on TIVA_ADC0_SSE0_STEP4 - - config TIVA_ADC0_SSE0_STEP4_AIN - int "Set the input AIN. See datasheet for pin to AIN mappings." - default 0 - depends on TIVA_ADC0_SSE0_STEP4 - - menuconfig TIVA_ADC0_SSE0_STEP5 - bool "Enable and configure ADC0 SSE0 step 5" - default n - depends on TIVA_ADC0_SSE0 - - config TIVA_ADC0_SSE0_STEP5_TS - bool "This step will retrieve data from the on-chip temperature sensor." - default n - depends on TIVA_ADC0_SSE0_STEP5 - - config TIVA_ADC0_SSE0_STEP5_AIN - int "Set the input AIN. See datasheet for pin to AIN mappings." - default 0 - depends on TIVA_ADC0_SSE0_STEP5 - - menuconfig TIVA_ADC0_SSE0_STEP6 - bool "Enable and configure ADC0 SSE0 step 6" - default n - depends on TIVA_ADC0_SSE0 - - config TIVA_ADC0_SSE0_STEP6_TS - bool "This step will retrieve data from the on-chip temperature sensor." - default n - depends on TIVA_ADC0_SSE0_STEP6 - - config TIVA_ADC0_SSE0_STEP6_AIN - int "Set the input AIN. See datasheet for pin to AIN mappings." - default 0 - depends on TIVA_ADC0_SSE0_STEP6 - - menuconfig TIVA_ADC0_SSE0_STEP7 - bool "Enable and configure ADC0 SSE0 step 7" - default n - depends on TIVA_ADC0_SSE0 - - config TIVA_ADC0_SSE0_STEP7_TS - bool "This step will retrieve data from the on-chip temperature sensor." - default n - depends on TIVA_ADC0_SSE0_STEP7 - - config TIVA_ADC0_SSE0_STEP7_AIN - int "Set the input AIN. See datasheet for pin to AIN mappings." - default 0 - depends on TIVA_ADC0_SSE0_STEP7 +config TIVA_ADC0_SSE0_PRIORITY + int "Conversion priority, must be a value from 0 to 3, no duplicates" + default 0 + range 0 3 + depends on TIVA_ADC0_SSE0 + ---help--- + Set the conversion priority for this SSE. Each ADC has 4 SSEs so the + order in which they are serviced is determined by this value. + +config TIVA_ADC0_SSE0_TRIGGER + int "Set the trigger source to start a SSE's conversion, see help for options" + default 0 + range 0 15 + depends on TIVA_ADC0_SSE0 + ---help--- + Set the trigger source. The following values correspond to the + following triggers: + - 0x0: Processor (default) + - 0x1: *Analog Comparator 0 + - 0x2: *Analog Comparator 1 + - 0x3: *Analog Comparator 2 + - 0x4: External (GPIO Pins) + - 0x5: Timer + - 0x6: **PWM generator 0 + - 0x7: **PWM generator 1 + - 0x8: **PWM generator 2 + - 0x9: **PWM generator 3 + - 0xE: Never Trigger + - 0xF: Always (continuously sample) + + * Comparators are unsupported + ** PWM triggering requires additional setup at runtime - There is a special + ADC IOCTL defined in the Tiva ADC driver for this purpose. + +menuconfig TIVA_ADC0_SSE0_STEP0 + bool "Enable and configure ADC0 SSE0 step 0" + default n + depends on TIVA_ADC0_SSE0 + +config TIVA_ADC0_SSE0_STEP0_TS + bool "This step will retrieve data from the on-chip temperature sensor." + default n + depends on TIVA_ADC0_SSE0_STEP0 + +config TIVA_ADC0_SSE0_STEP0_AIN + int "Set the input AIN. See datasheet for pin to AIN mappings." + default 0 + depends on TIVA_ADC0_SSE0_STEP0 + +menuconfig TIVA_ADC0_SSE0_STEP1 + bool "Enable and configure ADC0 SSE0 step 1" + default n + depends on TIVA_ADC0_SSE0 + +config TIVA_ADC0_SSE0_STEP1_TS + bool "This step will retrieve data from the on-chip temperature sensor." + default n + depends on TIVA_ADC0_SSE0_STEP1 + +config TIVA_ADC0_SSE0_STEP1_AIN + int "Set the input AIN. See datasheet for pin to AIN mappings." + default 0 + depends on TIVA_ADC0_SSE0_STEP1 + +menuconfig TIVA_ADC0_SSE0_STEP2 + bool "Enable and configure ADC0 SSE0 step 2" + default n + depends on TIVA_ADC0_SSE0 + +config TIVA_ADC0_SSE0_STEP2_TS + bool "This step will retrieve data from the on-chip temperature sensor." + default n + depends on TIVA_ADC0_SSE0_STEP2 + +config TIVA_ADC0_SSE0_STEP2_AIN + int "Set the input AIN. See datasheet for pin to AIN mappings." + default 0 + depends on TIVA_ADC0_SSE0_STEP2 + +menuconfig TIVA_ADC0_SSE0_STEP3 + bool "Enable and configure ADC0 SSE0 step 3" + default n + depends on TIVA_ADC0_SSE0 + +config TIVA_ADC0_SSE0_STEP3_TS + bool "This step will retrieve data from the on-chip temperature sensor." + default n + depends on TIVA_ADC0_SSE0_STEP3 + +config TIVA_ADC0_SSE0_STEP3_AIN + int "Set the input AIN. See datasheet for pin to AIN mappings." + default 0 + depends on TIVA_ADC0_SSE0_STEP3 + +menuconfig TIVA_ADC0_SSE0_STEP4 + bool "Enable and configure ADC0 SSE0 step 4" + default n + depends on TIVA_ADC0_SSE0 + +config TIVA_ADC0_SSE0_STEP4_TS + bool "This step will retrieve data from the on-chip temperature sensor." + default n + depends on TIVA_ADC0_SSE0_STEP4 + +config TIVA_ADC0_SSE0_STEP4_AIN + int "Set the input AIN. See datasheet for pin to AIN mappings." + default 0 + depends on TIVA_ADC0_SSE0_STEP4 + +menuconfig TIVA_ADC0_SSE0_STEP5 + bool "Enable and configure ADC0 SSE0 step 5" + default n + depends on TIVA_ADC0_SSE0 + +config TIVA_ADC0_SSE0_STEP5_TS + bool "This step will retrieve data from the on-chip temperature sensor." + default n + depends on TIVA_ADC0_SSE0_STEP5 + +config TIVA_ADC0_SSE0_STEP5_AIN + int "Set the input AIN. See datasheet for pin to AIN mappings." + default 0 + depends on TIVA_ADC0_SSE0_STEP5 + +menuconfig TIVA_ADC0_SSE0_STEP6 + bool "Enable and configure ADC0 SSE0 step 6" + default n + depends on TIVA_ADC0_SSE0 + +config TIVA_ADC0_SSE0_STEP6_TS + bool "This step will retrieve data from the on-chip temperature sensor." + default n + depends on TIVA_ADC0_SSE0_STEP6 + +config TIVA_ADC0_SSE0_STEP6_AIN + int "Set the input AIN. See datasheet for pin to AIN mappings." + default 0 + depends on TIVA_ADC0_SSE0_STEP6 + +menuconfig TIVA_ADC0_SSE0_STEP7 + bool "Enable and configure ADC0 SSE0 step 7" + default n + depends on TIVA_ADC0_SSE0 + +config TIVA_ADC0_SSE0_STEP7_TS + bool "This step will retrieve data from the on-chip temperature sensor." + default n + depends on TIVA_ADC0_SSE0_STEP7 + +config TIVA_ADC0_SSE0_STEP7_AIN + int "Set the input AIN. See datasheet for pin to AIN mappings." + default 0 + depends on TIVA_ADC0_SSE0_STEP7 menuconfig TIVA_ADC0_SSE1 bool "Enable and configure ADC0 SSE1" @@ -1038,97 +1038,96 @@ menuconfig TIVA_ADC0_SSE1 - priority - input channel step assignment - config TIVA_ADC0_SSE1_PRIORITY - int "Conversion priority, must be a value from 0 to 3, no duplicates" - default 0 - depends on TIVA_ADC0_SSE1 - ---help--- - Set the conversion priority for this SSE. Each ADC has 4 SSEs so the - order in which they are serviced is determined by this value. +config TIVA_ADC0_SSE1_PRIORITY + int "Conversion priority, must be a value from 0 to 3, no duplicates" + default 0 + depends on TIVA_ADC0_SSE1 + ---help--- + Set the conversion priority for this SSE. Each ADC has 4 SSEs so the + order in which they are serviced is determined by this value. +config TIVA_ADC0_SSE1_TRIGGER + int "Set the trigger source to start a SSE's conversion, see help for options" + default 0 + depends on TIVA_ADC0_SSE1 + ---help--- + Set the trigger source. The following values correspond to the + following triggers: + - 0x0: Processor (default) + - 0x1: *Analog Comparator 0 + - 0x2: *Analog Comparator 1 + - 0x3: *Analog Comparator 2 + - 0x4: External (GPIO Pins) + - 0x5: Timer + - 0x6: **PWM generator 0 + - 0x7: **PWM generator 1 + - 0x8: **PWM generator 2 + - 0x9: **PWM generator 3 + - 0xE: Never Trigger + - 0xF: Always (continuously sample) + + * Comparators are unsupported + ** PWM triggering requires additional setup at runtime - There is a special + ADC IOCTL defined in the Tiva ADC driver for this purpose. + +menuconfig TIVA_ADC0_SSE1_STEP0 + bool "Enable and configure ADC0 SSE1 step 0" + default n + depends on TIVA_ADC0_SSE1 + +config TIVA_ADC0_SSE1_STEP0_TS + bool "This step will retrieve data from the on-chip temperature sensor." + default n + depends on TIVA_ADC0_SSE1_STEP0 + +config TIVA_ADC0_SSE1_STEP0_AIN + int "Set the input AIN. See datasheet for pin to AIN mappings." + default 0 + depends on TIVA_ADC0_SSE1_STEP0 - config TIVA_ADC0_SSE1_TRIGGER - int "Set the trigger source to start a SSE's conversion, see help for options" - default 0 - depends on TIVA_ADC0_SSE1 - ---help--- - Set the trigger source. The following values correspond to the - following triggers: - - 0x0: Processor (default) - - 0x1: *Analog Comparator 0 - - 0x2: *Analog Comparator 1 - - 0x3: *Analog Comparator 2 - - 0x4: External (GPIO Pins) - - 0x5: Timer - - 0x6: **PWM generator 0 - - 0x7: **PWM generator 1 - - 0x8: **PWM generator 2 - - 0x9: **PWM generator 3 - - 0xE: Never Trigger - - 0xF: Always (continuously sample) - - * Comparators are unsupported - ** PWM triggering requires additional setup at runtime - There is a special - ADC IOCTL defined in the Tiva ADC driver for this purpose. - - menuconfig TIVA_ADC0_SSE1_STEP0 - bool "Enable and configure ADC0 SSE1 step 0" - default n - depends on TIVA_ADC0_SSE1 - - config TIVA_ADC0_SSE1_STEP0_TS - bool "This step will retrieve data from the on-chip temperature sensor." - default n - depends on TIVA_ADC0_SSE1_STEP0 - - config TIVA_ADC0_SSE1_STEP0_AIN - int "Set the input AIN. See datasheet for pin to AIN mappings." - default 0 - depends on TIVA_ADC0_SSE1_STEP0 - - menuconfig TIVA_ADC0_SSE1_STEP1 - bool "Enable and configure ADC0 SSE1 step 1" - default n - depends on TIVA_ADC0_SSE1 - - config TIVA_ADC0_SSE1_STEP1_TS - bool "This step will retrieve data from the on-chip temperature sensor." - default n - depends on TIVA_ADC0_SSE1_STEP1 - - config TIVA_ADC0_SSE1_STEP1_AIN - int "Set the input AIN. See datasheet for pin to AIN mappings." - default 0 - depends on TIVA_ADC0_SSE1_STEP1 - - menuconfig TIVA_ADC0_SSE1_STEP2 - bool "Enable and configure ADC0 SSE1 step 2" - default n - depends on TIVA_ADC0_SSE1 - - config TIVA_ADC0_SSE1_STEP2_TS - bool "This step will retrieve data from the on-chip temperature sensor." - default n - depends on TIVA_ADC0_SSE1_STEP2 - - config TIVA_ADC0_SSE1_STEP2_AIN - int "Set the input AIN. See datasheet for pin to AIN mappings." - default 0 - depends on TIVA_ADC0_SSE1_STEP2 - - menuconfig TIVA_ADC0_SSE1_STEP3 - bool "Enable and configure ADC0 SSE1 step 3" - default n - depends on TIVA_ADC0_SSE1 - - config TIVA_ADC0_SSE1_STEP3_TS - bool "This step will retrieve data from the on-chip temperature sensor." - default n - depends on TIVA_ADC0_SSE1_STEP3 - - config TIVA_ADC0_SSE1_STEP3_AIN - int "Set the input AIN. See datasheet for pin to AIN mappings." - default 0 - depends on TIVA_ADC0_SSE1_STEP3 +menuconfig TIVA_ADC0_SSE1_STEP1 + bool "Enable and configure ADC0 SSE1 step 1" + default n + depends on TIVA_ADC0_SSE1 + +config TIVA_ADC0_SSE1_STEP1_TS + bool "This step will retrieve data from the on-chip temperature sensor." + default n + depends on TIVA_ADC0_SSE1_STEP1 + +config TIVA_ADC0_SSE1_STEP1_AIN + int "Set the input AIN. See datasheet for pin to AIN mappings." + default 0 + depends on TIVA_ADC0_SSE1_STEP1 + +menuconfig TIVA_ADC0_SSE1_STEP2 + bool "Enable and configure ADC0 SSE1 step 2" + default n + depends on TIVA_ADC0_SSE1 + +config TIVA_ADC0_SSE1_STEP2_TS + bool "This step will retrieve data from the on-chip temperature sensor." + default n + depends on TIVA_ADC0_SSE1_STEP2 + +config TIVA_ADC0_SSE1_STEP2_AIN + int "Set the input AIN. See datasheet for pin to AIN mappings." + default 0 + depends on TIVA_ADC0_SSE1_STEP2 + +menuconfig TIVA_ADC0_SSE1_STEP3 + bool "Enable and configure ADC0 SSE1 step 3" + default n + depends on TIVA_ADC0_SSE1 + +config TIVA_ADC0_SSE1_STEP3_TS + bool "This step will retrieve data from the on-chip temperature sensor." + default n + depends on TIVA_ADC0_SSE1_STEP3 + +config TIVA_ADC0_SSE1_STEP3_AIN + int "Set the input AIN. See datasheet for pin to AIN mappings." + default 0 + depends on TIVA_ADC0_SSE1_STEP3 menuconfig TIVA_ADC0_SSE2 bool "Enable and configure ADC0 SSE2" @@ -1142,97 +1141,96 @@ menuconfig TIVA_ADC0_SSE2 - priority - input channel step assignment - config TIVA_ADC0_SSE2_PRIORITY - int "Conversion priority, must be a value from 0 to 3, no duplicates" - default 0 - depends on TIVA_ADC0_SSE2 - ---help--- - Set the conversion priority for this SSE. Each ADC has 4 SSEs so the - order in which they are serviced is determined by this value. +config TIVA_ADC0_SSE2_PRIORITY + int "Conversion priority, must be a value from 0 to 3, no duplicates" + default 0 + depends on TIVA_ADC0_SSE2 + ---help--- + Set the conversion priority for this SSE. Each ADC has 4 SSEs so the + order in which they are serviced is determined by this value. +config TIVA_ADC0_SSE2_TRIGGER + int "Set the trigger source to start a SSE's conversion, see help for options" + default 0 + depends on TIVA_ADC0_SSE2 + ---help--- + Set the trigger source. The following values correspond to the + following triggers: + - 0x0: Processor (default) + - 0x1: *Analog Comparator 0 + - 0x2: *Analog Comparator 1 + - 0x3: *Analog Comparator 2 + - 0x4: External (GPIO Pins) + - 0x5: Timer + - 0x6: **PWM generator 0 + - 0x7: **PWM generator 1 + - 0x8: **PWM generator 2 + - 0x9: **PWM generator 3 + - 0xE: Never Trigger + - 0xF: Always (continuously sample) + + * Comparators are unsupported + ** PWM triggering requires additional setup at runtime - There is a special + ADC IOCTL defined in the Tiva ADC driver for this purpose. + +menuconfig TIVA_ADC0_SSE2_STEP0 + bool "Enable and configure ADC0 SSE2 step 0" + default n + depends on TIVA_ADC0_SSE2 + +config TIVA_ADC0_SSE2_STEP0_TS + bool "This step will retrieve data from the on-chip temperature sensor." + default n + depends on TIVA_ADC0_SSE2_STEP0 + +config TIVA_ADC0_SSE2_STEP0_AIN + int "Set the input AIN. See datasheet for pin to AIN mappings." + default 0 + depends on TIVA_ADC0_SSE2_STEP0 - config TIVA_ADC0_SSE2_TRIGGER - int "Set the trigger source to start a SSE's conversion, see help for options" - default 0 - depends on TIVA_ADC0_SSE2 - ---help--- - Set the trigger source. The following values correspond to the - following triggers: - - 0x0: Processor (default) - - 0x1: *Analog Comparator 0 - - 0x2: *Analog Comparator 1 - - 0x3: *Analog Comparator 2 - - 0x4: External (GPIO Pins) - - 0x5: Timer - - 0x6: **PWM generator 0 - - 0x7: **PWM generator 1 - - 0x8: **PWM generator 2 - - 0x9: **PWM generator 3 - - 0xE: Never Trigger - - 0xF: Always (continuously sample) - - * Comparators are unsupported - ** PWM triggering requires additional setup at runtime - There is a special - ADC IOCTL defined in the Tiva ADC driver for this purpose. - - menuconfig TIVA_ADC0_SSE2_STEP0 - bool "Enable and configure ADC0 SSE2 step 0" - default n - depends on TIVA_ADC0_SSE2 - - config TIVA_ADC0_SSE2_STEP0_TS - bool "This step will retrieve data from the on-chip temperature sensor." - default n - depends on TIVA_ADC0_SSE2_STEP0 - - config TIVA_ADC0_SSE2_STEP0_AIN - int "Set the input AIN. See datasheet for pin to AIN mappings." - default 0 - depends on TIVA_ADC0_SSE2_STEP0 - - menuconfig TIVA_ADC0_SSE2_STEP1 - bool "Enable and configure ADC0 SSE2 step 1" - default n - depends on TIVA_ADC0_SSE2 - - config TIVA_ADC0_SSE2_STEP1_TS - bool "This step will retrieve data from the on-chip temperature sensor." - default n - depends on TIVA_ADC0_SSE2_STEP1 - - config TIVA_ADC0_SSE2_STEP1_AIN - int "Set the input AIN. See datasheet for pin to AIN mappings." - default 0 - depends on TIVA_ADC0_SSE2_STEP1 - - menuconfig TIVA_ADC0_SSE2_STEP2 - bool "Enable and configure ADC0 SSE2 step 2" - default n - depends on TIVA_ADC0_SSE2 - - config TIVA_ADC0_SSE2_STEP2_TS - bool "This step will retrieve data from the on-chip temperature sensor." - default n - depends on TIVA_ADC0_SSE2_STEP2 - - config TIVA_ADC0_SSE2_STEP2_AIN - int "Set the input AIN. See datasheet for pin to AIN mappings." - default 0 - depends on TIVA_ADC0_SSE2_STEP2 - - menuconfig TIVA_ADC0_SSE2_STEP3 - bool "Enable and configure ADC0 SSE2 step 3" - default n - depends on TIVA_ADC0_SSE2 - - config TIVA_ADC0_SSE2_STEP3_TS - bool "This step will retrieve data from the on-chip temperature sensor." - default n - depends on TIVA_ADC0_SSE2_STEP3 - - config TIVA_ADC0_SSE2_STEP3_AIN - int "Set the input AIN. See datasheet for pin to AIN mappings." - default 0 - depends on TIVA_ADC0_SSE2_STEP3 +menuconfig TIVA_ADC0_SSE2_STEP1 + bool "Enable and configure ADC0 SSE2 step 1" + default n + depends on TIVA_ADC0_SSE2 + +config TIVA_ADC0_SSE2_STEP1_TS + bool "This step will retrieve data from the on-chip temperature sensor." + default n + depends on TIVA_ADC0_SSE2_STEP1 + +config TIVA_ADC0_SSE2_STEP1_AIN + int "Set the input AIN. See datasheet for pin to AIN mappings." + default 0 + depends on TIVA_ADC0_SSE2_STEP1 + +menuconfig TIVA_ADC0_SSE2_STEP2 + bool "Enable and configure ADC0 SSE2 step 2" + default n + depends on TIVA_ADC0_SSE2 + +config TIVA_ADC0_SSE2_STEP2_TS + bool "This step will retrieve data from the on-chip temperature sensor." + default n + depends on TIVA_ADC0_SSE2_STEP2 + +config TIVA_ADC0_SSE2_STEP2_AIN + int "Set the input AIN. See datasheet for pin to AIN mappings." + default 0 + depends on TIVA_ADC0_SSE2_STEP2 + +menuconfig TIVA_ADC0_SSE2_STEP3 + bool "Enable and configure ADC0 SSE2 step 3" + default n + depends on TIVA_ADC0_SSE2 + +config TIVA_ADC0_SSE2_STEP3_TS + bool "This step will retrieve data from the on-chip temperature sensor." + default n + depends on TIVA_ADC0_SSE2_STEP3 + +config TIVA_ADC0_SSE2_STEP3_AIN + int "Set the input AIN. See datasheet for pin to AIN mappings." + default 0 + depends on TIVA_ADC0_SSE2_STEP3 menuconfig TIVA_ADC0_SSE3 bool "Enable and configure ADC0 SSE3" @@ -1246,52 +1244,51 @@ menuconfig TIVA_ADC0_SSE3 - priority - input channel step assignment - config TIVA_ADC0_SSE3_PRIORITY - int "Conversion priority, must be a value from 0 to 3, no duplicates" - default 0 - depends on TIVA_ADC0_SSE3 - ---help--- - Set the conversion priority for this SSE. Each ADC has 4 SSEs so the - order in which they are serviced is determined by this value. - - config TIVA_ADC0_SSE3_TRIGGER - int "Set the trigger source to start a SSE's conversion, see help for options" - default 0 - depends on TIVA_ADC0_SSE3 - ---help--- - Set the trigger source. The following values correspond to the - following triggers: - - 0x0: Processor (default) - - 0x1: *Analog Comparator 0 - - 0x2: *Analog Comparator 1 - - 0x3: *Analog Comparator 2 - - 0x4: External (GPIO Pins) - - 0x5: Timer - - 0x6: **PWM generator 0 - - 0x7: **PWM generator 1 - - 0x8: **PWM generator 2 - - 0x9: **PWM generator 3 - - 0xE: Never Trigger - - 0xF: Always (continuously sample) - - * Comparators are unsupported - ** PWM triggering requires additional setup at runtime - There is a special - ADC IOCTL defined in the Tiva ADC driver for this purpose. - - menuconfig TIVA_ADC0_SSE3_STEP0 - bool "Enable and configure ADC0 SSE3 step 0" - default n - depends on TIVA_ADC0_SSE3 - - config TIVA_ADC0_SSE3_STEP0_TS - bool "This step will retrieve data from the on-chip temperature sensor." - default n - depends on TIVA_ADC0_SSE3_STEP0 - - config TIVA_ADC0_SSE3_STEP0_AIN - int "Set the input AIN. See datasheet for pin to AIN mappings." - default 0 - depends on TIVA_ADC0_SSE3_STEP0 +config TIVA_ADC0_SSE3_PRIORITY + int "Conversion priority, must be a value from 0 to 3, no duplicates" + default 0 + depends on TIVA_ADC0_SSE3 + ---help--- + Set the conversion priority for this SSE. Each ADC has 4 SSEs so the + order in which they are serviced is determined by this value. +config TIVA_ADC0_SSE3_TRIGGER + int "Set the trigger source to start a SSE's conversion, see help for options" + default 0 + depends on TIVA_ADC0_SSE3 + ---help--- + Set the trigger source. The following values correspond to the + following triggers: + - 0x0: Processor (default) + - 0x1: *Analog Comparator 0 + - 0x2: *Analog Comparator 1 + - 0x3: *Analog Comparator 2 + - 0x4: External (GPIO Pins) + - 0x5: Timer + - 0x6: **PWM generator 0 + - 0x7: **PWM generator 1 + - 0x8: **PWM generator 2 + - 0x9: **PWM generator 3 + - 0xE: Never Trigger + - 0xF: Always (continuously sample) + + * Comparators are unsupported + ** PWM triggering requires additional setup at runtime - There is a special + ADC IOCTL defined in the Tiva ADC driver for this purpose. + +menuconfig TIVA_ADC0_SSE3_STEP0 + bool "Enable and configure ADC0 SSE3 step 0" + default n + depends on TIVA_ADC0_SSE3 + +config TIVA_ADC0_SSE3_STEP0_TS + bool "This step will retrieve data from the on-chip temperature sensor." + default n + depends on TIVA_ADC0_SSE3_STEP0 + +config TIVA_ADC0_SSE3_STEP0_AIN + int "Set the input AIN. See datasheet for pin to AIN mappings." + default 0 + depends on TIVA_ADC0_SSE3_STEP0 endmenu # Tiva ADC0 configuration endif # TIVA_ADC0 @@ -1311,157 +1308,157 @@ menuconfig TIVA_ADC1_SSE0 - priority - input channel step assignment - config TIVA_ADC1_SSE0_PRIORITY - int "Conversion priority, must be a value from 0 to 3, no duplicates" - default 0 - depends on TIVA_ADC1_SSE0 - ---help--- - Set the conversion priority for this SSE. Each ADC has 4 SSEs so the - order in which they are serviced is determined by this value. +config TIVA_ADC1_SSE0_PRIORITY + int "Conversion priority, must be a value from 0 to 3, no duplicates" + default 0 + depends on TIVA_ADC1_SSE0 + ---help--- + Set the conversion priority for this SSE. Each ADC has 4 SSEs so the + order in which they are serviced is determined by this value. - config TIVA_ADC1_SSE0_TRIGGER - int "Set the trigger source to start a SSE's conversion, see help for options" - default 0 - depends on TIVA_ADC1_SSE0 - ---help--- - Set the trigger source. The following values correspond to the - following triggers: - - 0x0: Processor (default) - - 0x1: *Analog Comparator 0 - - 0x2: *Analog Comparator 1 - - 0x3: *Analog Comparator 2 - - 0x4: External (GPIO Pins) - - 0x5: Timer - - 0x6: **PWM generator 0 - - 0x7: **PWM generator 1 - - 0x8: **PWM generator 2 - - 0x9: **PWM generator 3 - - 0xE: Never Trigger - - 0xF: Always (continuously sample) - - * Comparators are unsupported - ** PWM triggering requires additional setup at runtime - There is a special - ADC IOCTL defined in the Tiva ADC driver for this purpose. - - menuconfig TIVA_ADC1_SSE0_STEP0 - bool "Enable and configure ADC1 SSE0 step 0" - default n - depends on TIVA_ADC1_SSE0 - - config TIVA_ADC1_SSE0_STEP0_TS - bool "This step will retrieve data from the on-chip temperature sensor." - default n - depends on TIVA_ADC1_SSE0_STEP0 - - config TIVA_ADC1_SSE0_STEP0_AIN - int "Set the input AIN. See datasheet for pin to AIN mappings." - default 0 - depends on TIVA_ADC1_SSE0_STEP0 - - menuconfig TIVA_ADC1_SSE0_STEP1 - bool "Enable and configure ADC1 SSE0 step 1" - default n - depends on TIVA_ADC1_SSE0 - - config TIVA_ADC1_SSE0_STEP1_TS - bool "This step will retrieve data from the on-chip temperature sensor." - default n - depends on TIVA_ADC1_SSE0_STEP1 - - config TIVA_ADC1_SSE0_STEP1_AIN - int "Set the input AIN. See datasheet for pin to AIN mappings." - default 0 - depends on TIVA_ADC1_SSE0_STEP1 - - menuconfig TIVA_ADC1_SSE0_STEP2 - bool "Enable and configure ADC1 SSE0 step 2" - default n - depends on TIVA_ADC1_SSE0 - - config TIVA_ADC1_SSE0_STEP2_TS - bool "This step will retrieve data from the on-chip temperature sensor." - default n - depends on TIVA_ADC1_SSE0_STEP2 - - config TIVA_ADC1_SSE0_STEP2_AIN - int "Set the input AIN. See datasheet for pin to AIN mappings." - default 0 - depends on TIVA_ADC1_SSE0_STEP2 - - menuconfig TIVA_ADC1_SSE0_STEP3 - bool "Enable and configure ADC1 SSE0 step 3" - default n - depends on TIVA_ADC1_SSE0 - - config TIVA_ADC1_SSE0_STEP3_TS - bool "This step will retrieve data from the on-chip temperature sensor." - default n - depends on TIVA_ADC1_SSE0_STEP3 - - config TIVA_ADC1_SSE0_STEP3_AIN - int "Set the input AIN. See datasheet for pin to AIN mappings." - default 0 - depends on TIVA_ADC1_SSE0_STEP3 - - menuconfig TIVA_ADC1_SSE0_STEP4 - bool "Enable and configure ADC1 SSE0 step 4" - default n - depends on TIVA_ADC1_SSE0 - - config TIVA_ADC1_SSE0_STEP4_TS - bool "This step will retrieve data from the on-chip temperature sensor." - default n - depends on TIVA_ADC1_SSE0_STEP4 - - config TIVA_ADC1_SSE0_STEP4_AIN - int "Set the input AIN. See datasheet for pin to AIN mappings." - default 0 - depends on TIVA_ADC1_SSE0_STEP4 - - menuconfig TIVA_ADC1_SSE0_STEP5 - bool "Enable and configure ADC1 SSE0 step 5" - default n - depends on TIVA_ADC1_SSE0 - - config TIVA_ADC1_SSE0_STEP5_TS - bool "This step will retrieve data from the on-chip temperature sensor." - default n - depends on TIVA_ADC1_SSE0_STEP5 - - config TIVA_ADC1_SSE0_STEP5_AIN - int "Set the input AIN. See datasheet for pin to AIN mappings." - default 0 - depends on TIVA_ADC1_SSE0_STEP5 - - menuconfig TIVA_ADC1_SSE0_STEP6 - bool "Enable and configure ADC1 SSE0 step 6" - default n - depends on TIVA_ADC1_SSE0 - - config TIVA_ADC1_SSE0_STEP6_TS - bool "This step will retrieve data from the on-chip temperature sensor." - default n - depends on TIVA_ADC1_SSE0_STEP6 - - config TIVA_ADC1_SSE0_STEP6_AIN - int "Set the input AIN. See datasheet for pin to AIN mappings." - default 0 - depends on TIVA_ADC1_SSE0_STEP6 - - menuconfig TIVA_ADC1_SSE0_STEP7 - bool "Enable and configure ADC1 SSE0 step 7" - default n - depends on TIVA_ADC1_SSE0 - - config TIVA_ADC1_SSE0_STEP7_TS - bool "This step will retrieve data from the on-chip temperature sensor." - default n - depends on TIVA_ADC1_SSE0_STEP7 - - config TIVA_ADC1_SSE0_STEP7_AIN - int "Set the input AIN. See datasheet for pin to AIN mappings." - default 0 - depends on TIVA_ADC1_SSE0_STEP7 +config TIVA_ADC1_SSE0_TRIGGER + int "Set the trigger source to start a SSE's conversion, see help for options" + default 0 + depends on TIVA_ADC1_SSE0 + ---help--- + Set the trigger source. The following values correspond to the + following triggers: + - 0x0: Processor (default) + - 0x1: *Analog Comparator 0 + - 0x2: *Analog Comparator 1 + - 0x3: *Analog Comparator 2 + - 0x4: External (GPIO Pins) + - 0x5: Timer + - 0x6: **PWM generator 0 + - 0x7: **PWM generator 1 + - 0x8: **PWM generator 2 + - 0x9: **PWM generator 3 + - 0xE: Never Trigger + - 0xF: Always (continuously sample) + + * Comparators are unsupported + ** PWM triggering requires additional setup at runtime - There is a special + ADC IOCTL defined in the Tiva ADC driver for this purpose. + +menuconfig TIVA_ADC1_SSE0_STEP0 + bool "Enable and configure ADC1 SSE0 step 0" + default n + depends on TIVA_ADC1_SSE0 + +config TIVA_ADC1_SSE0_STEP0_TS + bool "This step will retrieve data from the on-chip temperature sensor." + default n + depends on TIVA_ADC1_SSE0_STEP0 + +config TIVA_ADC1_SSE0_STEP0_AIN + int "Set the input AIN. See datasheet for pin to AIN mappings." + default 0 + depends on TIVA_ADC1_SSE0_STEP0 + +menuconfig TIVA_ADC1_SSE0_STEP1 + bool "Enable and configure ADC1 SSE0 step 1" + default n + depends on TIVA_ADC1_SSE0 + +config TIVA_ADC1_SSE0_STEP1_TS + bool "This step will retrieve data from the on-chip temperature sensor." + default n + depends on TIVA_ADC1_SSE0_STEP1 + +config TIVA_ADC1_SSE0_STEP1_AIN + int "Set the input AIN. See datasheet for pin to AIN mappings." + default 0 + depends on TIVA_ADC1_SSE0_STEP1 + +menuconfig TIVA_ADC1_SSE0_STEP2 + bool "Enable and configure ADC1 SSE0 step 2" + default n + depends on TIVA_ADC1_SSE0 + +config TIVA_ADC1_SSE0_STEP2_TS + bool "This step will retrieve data from the on-chip temperature sensor." + default n + depends on TIVA_ADC1_SSE0_STEP2 + +config TIVA_ADC1_SSE0_STEP2_AIN + int "Set the input AIN. See datasheet for pin to AIN mappings." + default 0 + depends on TIVA_ADC1_SSE0_STEP2 + +menuconfig TIVA_ADC1_SSE0_STEP3 + bool "Enable and configure ADC1 SSE0 step 3" + default n + depends on TIVA_ADC1_SSE0 + +config TIVA_ADC1_SSE0_STEP3_TS + bool "This step will retrieve data from the on-chip temperature sensor." + default n + depends on TIVA_ADC1_SSE0_STEP3 + +config TIVA_ADC1_SSE0_STEP3_AIN + int "Set the input AIN. See datasheet for pin to AIN mappings." + default 0 + depends on TIVA_ADC1_SSE0_STEP3 + +menuconfig TIVA_ADC1_SSE0_STEP4 + bool "Enable and configure ADC1 SSE0 step 4" + default n + depends on TIVA_ADC1_SSE0 + +config TIVA_ADC1_SSE0_STEP4_TS + bool "This step will retrieve data from the on-chip temperature sensor." + default n + depends on TIVA_ADC1_SSE0_STEP4 + +config TIVA_ADC1_SSE0_STEP4_AIN + int "Set the input AIN. See datasheet for pin to AIN mappings." + default 0 + depends on TIVA_ADC1_SSE0_STEP4 + +menuconfig TIVA_ADC1_SSE0_STEP5 + bool "Enable and configure ADC1 SSE0 step 5" + default n + depends on TIVA_ADC1_SSE0 + +config TIVA_ADC1_SSE0_STEP5_TS + bool "This step will retrieve data from the on-chip temperature sensor." + default n + depends on TIVA_ADC1_SSE0_STEP5 + +config TIVA_ADC1_SSE0_STEP5_AIN + int "Set the input AIN. See datasheet for pin to AIN mappings." + default 0 + depends on TIVA_ADC1_SSE0_STEP5 + +menuconfig TIVA_ADC1_SSE0_STEP6 + bool "Enable and configure ADC1 SSE0 step 6" + default n + depends on TIVA_ADC1_SSE0 + +config TIVA_ADC1_SSE0_STEP6_TS + bool "This step will retrieve data from the on-chip temperature sensor." + default n + depends on TIVA_ADC1_SSE0_STEP6 + +config TIVA_ADC1_SSE0_STEP6_AIN + int "Set the input AIN. See datasheet for pin to AIN mappings." + default 0 + depends on TIVA_ADC1_SSE0_STEP6 + +menuconfig TIVA_ADC1_SSE0_STEP7 + bool "Enable and configure ADC1 SSE0 step 7" + default n + depends on TIVA_ADC1_SSE0 + +config TIVA_ADC1_SSE0_STEP7_TS + bool "This step will retrieve data from the on-chip temperature sensor." + default n + depends on TIVA_ADC1_SSE0_STEP7 + +config TIVA_ADC1_SSE0_STEP7_AIN + int "Set the input AIN. See datasheet for pin to AIN mappings." + default 0 + depends on TIVA_ADC1_SSE0_STEP7 menuconfig TIVA_ADC1_SSE1 bool "Enable and configure ADC1 SSE1" @@ -1475,97 +1472,96 @@ menuconfig TIVA_ADC1_SSE1 - priority - input channel step assignment - config TIVA_ADC1_SSE1_PRIORITY - int "Conversion priority, must be a value from 0 to 3, no duplicates" - default 0 - depends on TIVA_ADC1_SSE1 - ---help--- - Set the conversion priority for this SSE. Each ADC has 4 SSEs so the - order in which they are serviced is determined by this value. +config TIVA_ADC1_SSE1_PRIORITY + int "Conversion priority, must be a value from 0 to 3, no duplicates" + default 0 + depends on TIVA_ADC1_SSE1 + ---help--- + Set the conversion priority for this SSE. Each ADC has 4 SSEs so the + order in which they are serviced is determined by this value. +config TIVA_ADC1_SSE1_TRIGGER + int "Set the trigger source to start a SSE's conversion, see help for options" + default 0 + depends on TIVA_ADC1_SSE1 + ---help--- + Set the trigger source. The following values correspond to the + following triggers: + - 0x0: Processor (default) + - 0x1: *Analog Comparator 0 + - 0x2: *Analog Comparator 1 + - 0x3: *Analog Comparator 2 + - 0x4: External (GPIO Pins) + - 0x5: Timer + - 0x6: **PWM generator 0 + - 0x7: **PWM generator 1 + - 0x8: **PWM generator 2 + - 0x9: **PWM generator 3 + - 0xE: Never Trigger + - 0xF: Always (continuously sample) + + * Comparators are unsupported + ** PWM triggering requires additional setup at runtime - There is a special + ADC IOCTL defined in the Tiva ADC driver for this purpose. + +menuconfig TIVA_ADC1_SSE1_STEP0 + bool "Enable and configure ADC1 SSE1 step 0" + default n + depends on TIVA_ADC1_SSE1 + +config TIVA_ADC1_SSE1_STEP0_TS + bool "This step will retrieve data from the on-chip temperature sensor." + default n + depends on TIVA_ADC1_SSE1_STEP0 + +config TIVA_ADC1_SSE1_STEP0_AIN + int "Set the input AIN. See datasheet for pin to AIN mappings." + default 0 + depends on TIVA_ADC1_SSE1_STEP0 - config TIVA_ADC1_SSE1_TRIGGER - int "Set the trigger source to start a SSE's conversion, see help for options" - default 0 - depends on TIVA_ADC1_SSE1 - ---help--- - Set the trigger source. The following values correspond to the - following triggers: - - 0x0: Processor (default) - - 0x1: *Analog Comparator 0 - - 0x2: *Analog Comparator 1 - - 0x3: *Analog Comparator 2 - - 0x4: External (GPIO Pins) - - 0x5: Timer - - 0x6: **PWM generator 0 - - 0x7: **PWM generator 1 - - 0x8: **PWM generator 2 - - 0x9: **PWM generator 3 - - 0xE: Never Trigger - - 0xF: Always (continuously sample) - - * Comparators are unsupported - ** PWM triggering requires additional setup at runtime - There is a special - ADC IOCTL defined in the Tiva ADC driver for this purpose. - - menuconfig TIVA_ADC1_SSE1_STEP0 - bool "Enable and configure ADC1 SSE1 step 0" - default n - depends on TIVA_ADC1_SSE1 - - config TIVA_ADC1_SSE1_STEP0_TS - bool "This step will retrieve data from the on-chip temperature sensor." - default n - depends on TIVA_ADC1_SSE1_STEP0 - - config TIVA_ADC1_SSE1_STEP0_AIN - int "Set the input AIN. See datasheet for pin to AIN mappings." - default 0 - depends on TIVA_ADC1_SSE1_STEP0 - - menuconfig TIVA_ADC1_SSE1_STEP1 - bool "Enable and configure ADC1 SSE1 step 1" - default n - depends on TIVA_ADC1_SSE1 - - config TIVA_ADC1_SSE1_STEP1_TS - bool "This step will retrieve data from the on-chip temperature sensor." - default n - depends on TIVA_ADC1_SSE1_STEP1 - - config TIVA_ADC1_SSE1_STEP1_AIN - int "Set the input AIN. See datasheet for pin to AIN mappings." - default 0 - depends on TIVA_ADC1_SSE1_STEP1 - - menuconfig TIVA_ADC1_SSE1_STEP2 - bool "Enable and configure ADC1 SSE1 step 2" - default n - depends on TIVA_ADC1_SSE1 - - config TIVA_ADC1_SSE1_STEP2_TS - bool "This step will retrieve data from the on-chip temperature sensor." - default n - depends on TIVA_ADC1_SSE1_STEP2 - - config TIVA_ADC1_SSE1_STEP2_AIN - int "Set the input AIN. See datasheet for pin to AIN mappings." - default 0 - depends on TIVA_ADC1_SSE1_STEP2 - - menuconfig TIVA_ADC1_SSE1_STEP3 - bool "Enable and configure ADC1 SSE1 step 3" - default n - depends on TIVA_ADC1_SSE1 - - config TIVA_ADC1_SSE1_STEP3_TS - bool "This step will retrieve data from the on-chip temperature sensor." - default n - depends on TIVA_ADC1_SSE1_STEP3 - - config TIVA_ADC1_SSE1_STEP3_AIN - int "Set the input AIN. See datasheet for pin to AIN mappings." - default 0 - depends on TIVA_ADC1_SSE1_STEP3 +menuconfig TIVA_ADC1_SSE1_STEP1 + bool "Enable and configure ADC1 SSE1 step 1" + default n + depends on TIVA_ADC1_SSE1 + +config TIVA_ADC1_SSE1_STEP1_TS + bool "This step will retrieve data from the on-chip temperature sensor." + default n + depends on TIVA_ADC1_SSE1_STEP1 + +config TIVA_ADC1_SSE1_STEP1_AIN + int "Set the input AIN. See datasheet for pin to AIN mappings." + default 0 + depends on TIVA_ADC1_SSE1_STEP1 + +menuconfig TIVA_ADC1_SSE1_STEP2 + bool "Enable and configure ADC1 SSE1 step 2" + default n + depends on TIVA_ADC1_SSE1 + +config TIVA_ADC1_SSE1_STEP2_TS + bool "This step will retrieve data from the on-chip temperature sensor." + default n + depends on TIVA_ADC1_SSE1_STEP2 + +config TIVA_ADC1_SSE1_STEP2_AIN + int "Set the input AIN. See datasheet for pin to AIN mappings." + default 0 + depends on TIVA_ADC1_SSE1_STEP2 + +menuconfig TIVA_ADC1_SSE1_STEP3 + bool "Enable and configure ADC1 SSE1 step 3" + default n + depends on TIVA_ADC1_SSE1 + +config TIVA_ADC1_SSE1_STEP3_TS + bool "This step will retrieve data from the on-chip temperature sensor." + default n + depends on TIVA_ADC1_SSE1_STEP3 + +config TIVA_ADC1_SSE1_STEP3_AIN + int "Set the input AIN. See datasheet for pin to AIN mappings." + default 0 + depends on TIVA_ADC1_SSE1_STEP3 menuconfig TIVA_ADC1_SSE2 bool "Enable and configure ADC1 SSE2" @@ -1579,98 +1575,97 @@ menuconfig TIVA_ADC1_SSE2 - priority - input channel step assignment - config TIVA_ADC1_SSE2_PRIORITY - int "Conversion priority, must be a value from 0 to 3, no duplicates" - default 0 - depends on TIVA_ADC1_SSE2 - ---help--- - Set the conversion priority for this SSE. Each ADC has 4 SSEs so the - order in which they are serviced is determined by this value. +config TIVA_ADC1_SSE2_PRIORITY + int "Conversion priority, must be a value from 0 to 3, no duplicates" + default 0 + depends on TIVA_ADC1_SSE2 + ---help--- + Set the conversion priority for this SSE. Each ADC has 4 SSEs so the + order in which they are serviced is determined by this value. +config TIVA_ADC1_SSE2_TRIGGER + int "Set the trigger source to start a SSE's conversion, see help for options" + default 0 + range 0 15 + depends on TIVA_ADC1_SSE2 + ---help--- + Set the trigger source. The following values correspond to the + following triggers: + - 0x0: Processor (default) + - 0x1: *Analog Comparator 0 + - 0x2: *Analog Comparator 1 + - 0x3: *Analog Comparator 2 + - 0x4: External (GPIO Pins) + - 0x5: Timer + - 0x6: **PWM generator 0 + - 0x7: **PWM generator 1 + - 0x8: **PWM generator 2 + - 0x9: **PWM generator 3 + - 0xE: Never Trigger + - 0xF: Always (continuously sample) + + * Comparators are unsupported + ** PWM triggering requires additional setup at runtime - There is a special + ADC IOCTL defined in the Tiva ADC driver for this purpose. + +menuconfig TIVA_ADC1_SSE2_STEP0 + bool "Enable and configure ADC1 SSE2 step 0" + default n + depends on TIVA_ADC1_SSE2 + +config TIVA_ADC1_SSE2_STEP0_TS + bool "This step will retrieve data from the on-chip temperature sensor." + default n + depends on TIVA_ADC1_SSE2_STEP0 + +config TIVA_ADC1_SSE2_STEP0_AIN + int "Set the input AIN. See datasheet for pin to AIN mappings." + default 0 + depends on TIVA_ADC1_SSE2_STEP0 - config TIVA_ADC1_SSE2_TRIGGER - int "Set the trigger source to start a SSE's conversion, see help for options" - default 0 - range 0 15 - depends on TIVA_ADC1_SSE2 - ---help--- - Set the trigger source. The following values correspond to the - following triggers: - - 0x0: Processor (default) - - 0x1: *Analog Comparator 0 - - 0x2: *Analog Comparator 1 - - 0x3: *Analog Comparator 2 - - 0x4: External (GPIO Pins) - - 0x5: Timer - - 0x6: **PWM generator 0 - - 0x7: **PWM generator 1 - - 0x8: **PWM generator 2 - - 0x9: **PWM generator 3 - - 0xE: Never Trigger - - 0xF: Always (continuously sample) - - * Comparators are unsupported - ** PWM triggering requires additional setup at runtime - There is a special - ADC IOCTL defined in the Tiva ADC driver for this purpose. - - menuconfig TIVA_ADC1_SSE2_STEP0 - bool "Enable and configure ADC1 SSE2 step 0" - default n - depends on TIVA_ADC1_SSE2 - - config TIVA_ADC1_SSE2_STEP0_TS - bool "This step will retrieve data from the on-chip temperature sensor." - default n - depends on TIVA_ADC1_SSE2_STEP0 - - config TIVA_ADC1_SSE2_STEP0_AIN - int "Set the input AIN. See datasheet for pin to AIN mappings." - default 0 - depends on TIVA_ADC1_SSE2_STEP0 - - menuconfig TIVA_ADC1_SSE2_STEP1 - bool "Enable and configure ADC1 SSE2 step 1" - default n - depends on TIVA_ADC1_SSE2 - - config TIVA_ADC1_SSE2_STEP1_TS - bool "This step will retrieve data from the on-chip temperature sensor." - default n - depends on TIVA_ADC1_SSE2_STEP1 - - config TIVA_ADC1_SSE2_STEP1_AIN - int "Set the input AIN. See datasheet for pin to AIN mappings." - default 0 - depends on TIVA_ADC1_SSE2_STEP1 - - menuconfig TIVA_ADC1_SSE2_STEP2 - bool "Enable and configure ADC1 SSE2 step 2" - default n - depends on TIVA_ADC1_SSE2 - - config TIVA_ADC1_SSE2_STEP2_TS - bool "This step will retrieve data from the on-chip temperature sensor." - default n - depends on TIVA_ADC1_SSE2_STEP2 - - config TIVA_ADC1_SSE2_STEP2_AIN - int "Set the input AIN. See datasheet for pin to AIN mappings." - default 0 - depends on TIVA_ADC1_SSE2_STEP2 - - menuconfig TIVA_ADC1_SSE2_STEP3 - bool "Enable and configure ADC1 SSE2 step 3" - default n - depends on TIVA_ADC1_SSE2 - - config TIVA_ADC1_SSE2_STEP3_TS - bool "This step will retrieve data from the on-chip temperature sensor." - default n - depends on TIVA_ADC1_SSE2_STEP3 - - config TIVA_ADC1_SSE2_STEP3_AIN - int "Set the input AIN. See datasheet for pin to AIN mappings." - default 0 - depends on TIVA_ADC1_SSE2_STEP3 +menuconfig TIVA_ADC1_SSE2_STEP1 + bool "Enable and configure ADC1 SSE2 step 1" + default n + depends on TIVA_ADC1_SSE2 + +config TIVA_ADC1_SSE2_STEP1_TS + bool "This step will retrieve data from the on-chip temperature sensor." + default n + depends on TIVA_ADC1_SSE2_STEP1 + +config TIVA_ADC1_SSE2_STEP1_AIN + int "Set the input AIN. See datasheet for pin to AIN mappings." + default 0 + depends on TIVA_ADC1_SSE2_STEP1 + +menuconfig TIVA_ADC1_SSE2_STEP2 + bool "Enable and configure ADC1 SSE2 step 2" + default n + depends on TIVA_ADC1_SSE2 + +config TIVA_ADC1_SSE2_STEP2_TS + bool "This step will retrieve data from the on-chip temperature sensor." + default n + depends on TIVA_ADC1_SSE2_STEP2 + +config TIVA_ADC1_SSE2_STEP2_AIN + int "Set the input AIN. See datasheet for pin to AIN mappings." + default 0 + depends on TIVA_ADC1_SSE2_STEP2 + +menuconfig TIVA_ADC1_SSE2_STEP3 + bool "Enable and configure ADC1 SSE2 step 3" + default n + depends on TIVA_ADC1_SSE2 + +config TIVA_ADC1_SSE2_STEP3_TS + bool "This step will retrieve data from the on-chip temperature sensor." + default n + depends on TIVA_ADC1_SSE2_STEP3 + +config TIVA_ADC1_SSE2_STEP3_AIN + int "Set the input AIN. See datasheet for pin to AIN mappings." + default 0 + depends on TIVA_ADC1_SSE2_STEP3 menuconfig TIVA_ADC1_SSE3 bool "Enable and configure ADC1 SSE3" @@ -1684,52 +1679,51 @@ menuconfig TIVA_ADC1_SSE3 - priority - input channel step assignment - config TIVA_ADC1_SSE3_PRIORITY - int "Conversion priority, must be a value from 0 to 3, no duplicates" - default 0 +config TIVA_ADC1_SSE3_PRIORITY + int "Conversion priority, must be a value from 0 to 3, no duplicates" + default 0 + depends on TIVA_ADC1_SSE3 + ---help--- + Set the conversion priority for this SSE. Each ADC has 4 SSEs so the + order in which they are serviced is determined by this value. +config TIVA_ADC1_SSE3_TRIGGER + int "Set the trigger source to start a SSE's conversion, see help for options" + default 0 + depends on TIVA_ADC1_SSE3 + ---help--- + Set the trigger source. The following values correspond to the + following triggers: + - 0x0: Processor (default) + - 0x1: *Analog Comparator 0 + - 0x2: *Analog Comparator 1 + - 0x3: *Analog Comparator 2 + - 0x4: External (GPIO Pins) + - 0x5: Timer + - 0x6: **PWM generator 0 + - 0x7: **PWM generator 1 + - 0x8: **PWM generator 2 + - 0x9: **PWM generator 3 + - 0xE: Never Trigger + - 0xF: Always (continuously sample) + + * Comparators are unsupported + ** PWM triggering requires additional setup at runtime - There is a special + ADC IOCTL defined in the Tiva ADC driver for this purpose. + + menuconfig TIVA_ADC1_SSE3_STEP0 + bool "Enable and configure ADC1 SSE3 step 0" + default n depends on TIVA_ADC1_SSE3 - ---help--- - Set the conversion priority for this SSE. Each ADC has 4 SSEs so the - order in which they are serviced is determined by this value. - config TIVA_ADC1_SSE3_TRIGGER - int "Set the trigger source to start a SSE's conversion, see help for options" + config TIVA_ADC1_SSE3_STEP0_TS + bool "This step will retrieve data from the on-chip temperature sensor." + default n + depends on TIVA_ADC1_SSE3_STEP0 + + config TIVA_ADC1_SSE3_STEP0_AIN + int "Set the input AIN. See datasheet for pin to AIN mappings." default 0 - depends on TIVA_ADC1_SSE3 - ---help--- - Set the trigger source. The following values correspond to the - following triggers: - - 0x0: Processor (default) - - 0x1: *Analog Comparator 0 - - 0x2: *Analog Comparator 1 - - 0x3: *Analog Comparator 2 - - 0x4: External (GPIO Pins) - - 0x5: Timer - - 0x6: **PWM generator 0 - - 0x7: **PWM generator 1 - - 0x8: **PWM generator 2 - - 0x9: **PWM generator 3 - - 0xE: Never Trigger - - 0xF: Always (continuously sample) - - * Comparators are unsupported - ** PWM triggering requires additional setup at runtime - There is a special - ADC IOCTL defined in the Tiva ADC driver for this purpose. - - menuconfig TIVA_ADC1_SSE3_STEP0 - bool "Enable and configure ADC1 SSE3 step 0" - default n - depends on TIVA_ADC1_SSE3 - - config TIVA_ADC1_SSE3_STEP0_TS - bool "This step will retrieve data from the on-chip temperature sensor." - default n - depends on TIVA_ADC1_SSE3_STEP0 - - config TIVA_ADC1_SSE3_STEP0_AIN - int "Set the input AIN. See datasheet for pin to AIN mappings." - default 0 - depends on TIVA_ADC1_SSE3_STEP0 + depends on TIVA_ADC1_SSE3_STEP0 endmenu # Tiva ADC1 configuration endif # TIVA_ADC1 |