libopencm3
A free/libre/open-source firmware library for various ARM Cortex-M3 microcontrollers.
|
Modules | |
ADC Sample Time selection | |
ADC Sample Time selection values | |
Macros | |
#define | ADC_SMPR_SMPSEL_SHIFT 0x8 |
#define | ADC_SMPR_SMPSEL_MASK 0x7ffff |
#define | ADC_SMPR_SMPSEL_CHANNEL_SHIFT(channel) ((channel) + ADC_SMPR_SMPSEL_SHIFT) |
#define | ADC_SMPR_SMPSEL_CHANNEL_MASK (1) |
#define | ADC_SMPR_SMP1_SHIFT 0x0 |
SMP1 ADC Sample Time #1 selection. More... | |
#define | ADC_SMPR_SMP1_MASK 0x7 |
#define | ADC_SMPR_SMP2_SHIFT 0x4 |
SMP1 ADC Sample Time #2 selection. More... | |
#define | ADC_SMPR_SMP2_MASK 0x7 |
#define ADC_SMPR_SMP1_SHIFT 0x0 |
#define ADC_SMPR_SMP2_SHIFT 0x4 |
#define ADC_SMPR_SMPSEL_CHANNEL_SHIFT | ( | channel | ) | ((channel) + ADC_SMPR_SMPSEL_SHIFT) |