saml21/include/periph_cpu.h¶
CPU specific definitions for internal peripheral handling.
CPU specific definitions for internal peripheral handling
-
HAVE_ADC_RES_T
¶
-
enum
adc_res_t
¶ - ADC_RES_7BIT
= (0 << 4)
- ADC resolution: 7 bit.
- ADC_RES_9BIT
= (1 << 4)
- ADC resolution: 9 bit.
- ADC_RES_11BIT
- ADC resolution: 11 bit.
- ADC_RES_6BIT
= (0xa00)
- not supported by hardware
- ADC_RES_8BIT
= (0xb00)
- not supported by hardware
- ADC_RES_10BIT
= (2 << 4)
- ADC resolution: 10 bit.
- ADC_RES_12BIT
= (3 << 4)
- ADC resolution: 12 bit.
- ADC_RES_14BIT
= (0xc00)
- not supported by hardware
- ADC_RES_16BIT
= (0xd00)
- not supported by hardware
- ADC_RES_7BIT
-
const int8_t
exti_config
()¶ Mapping of pins to EXTI lines, -1 means not EXTI possible.
1 2 3 4 5 6
= { { 0, 1, 2, 3, 4, 5, 6, 7, -1, 9, 10, 11, 12, 13, 14, 15, 0, 1, 2, 3, 4, 5, 6, 7, 12, 13, -1, 15, -1, -1, 10, 11}, { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 0, 1, -1, -1, -1, -1, 6, 7, -1, -1, -1, -1, -1, -1, 14, 15}, }