|
VSF Documented
|
#include <stdint.h>Go to the source code of this file.
Typedefs | |
| typedef adc_oneshot_clk_src_t | adc_continuous_clk_src_t |
Enumerations | |
| enum | adc_unit_t { ADC_UNIT_1 = 0 , ADC_UNIT_2 = 1 } |
| ADC peripheral unit. More... | |
| enum | adc_channel_t { ADC_CHANNEL_0 = 0 , ADC_CHANNEL_1 , ADC_CHANNEL_2 , ADC_CHANNEL_3 , ADC_CHANNEL_4 , ADC_CHANNEL_5 , ADC_CHANNEL_6 , ADC_CHANNEL_7 , ADC_CHANNEL_8 , ADC_CHANNEL_9 } |
| ADC channel identifiers. Range is chip-dependent; channels beyond the target device's capability are rejected by the driver. More... | |
| enum | adc_bitwidth_t { ADC_BITWIDTH_DEFAULT = 0 , ADC_BITWIDTH_9 = 9 , ADC_BITWIDTH_10 = 10 , ADC_BITWIDTH_11 = 11 , ADC_BITWIDTH_12 = 12 , ADC_BITWIDTH_13 = 13 } |
| Effective resolution of a conversion result. Most targets support 12 or 13 bits; DEFAULT yields the chip's preferred value. More... | |
| enum | adc_atten_t { ADC_ATTEN_DB_0 = 0 , ADC_ATTEN_DB_2_5 = 1 , ADC_ATTEN_DB_6 = 2 , ADC_ATTEN_DB_11 = 3 , ADC_ATTEN_DB_12 = 3 } |
| Input attenuation. Accepted but interpreted only as a hint for maximum measurable voltage – this shim does not adjust gain. More... | |
| enum | adc_oneshot_clk_src_t { ADC_DIGI_CLK_SRC_DEFAULT = 0 } |
| ADC clock source. Accepted but ignored. More... | |
| enum | adc_ulp_mode_t { ADC_ULP_MODE_DISABLE = 0 , ADC_ULP_MODE_FSM , ADC_ULP_MODE_RISCV } |
| ULP mode (not modelled by this shim). More... | |
| enum adc_unit_t |
| enum adc_channel_t |
| enum adc_bitwidth_t |
| enum adc_atten_t |
| enum adc_ulp_mode_t |