Configuration of CPU peripherals for the SODAQ Autonomo board.
More...
Configuration of CPU peripherals for the SODAQ Autonomo board.
- Author
- Kees Bakker kees@.nosp@m.soda.nosp@m.q.com
Definition in file periph_conf.h.
#include <stdint.h>
#include "cpu.h"
#include "periph_cpu.h"
#include "cfg_clock_default.h"
#include "cfg_rtc_default.h"
#include "cfg_rtt_default.h"
#include "cfg_spi_default.h"
#include "cfg_timer_default.h"
#include "cfg_usbdev_default.h"
Go to the source code of this file.
◆ ADC_GAIN_FACTOR_DEFAULT
#define ADC_GAIN_FACTOR_DEFAULT ADC_INPUTCTRL_GAIN_DIV2 |
◆ ADC_NEG_INPUT
#define ADC_NEG_INPUT ADC_INPUTCTRL_MUXNEG_GND |
◆ ADC_NUMOF
◆ ADC_PRESCALER
#define ADC_PRESCALER ADC_CTRLB_PRESCALER_DIV512 |
◆ ADC_REF_DEFAULT
#define ADC_REF_DEFAULT ADC_REFCTRL_REFSEL_INTVCC1 |
◆ I2C_NUMOF
◆ PWM_0_EN
◆ PWM_1_EN
◆ PWM_NUMOF
◆ UART_0_ISR
#define UART_0_ISR isr_sercom0 |
◆ UART_1_ISR
#define UART_1_ISR isr_sercom5 |
◆ UART_2_ISR
#define UART_2_ISR isr_sercom4 |
◆ UART_3_ISR
#define UART_3_ISR isr_sercom1 |
◆ UART_NUMOF
◆ adc_channels
Initial value:= {
}
#define ADC_INPUTCTRL_MUXPOS_PA05
Alias for PIN5.
#define ADC_INPUTCTRL_MUXPOS_PB08
Alias for PIN2.
#define ADC_INPUTCTRL_MUXPOS_PB02
Alias for PIN10.
#define ADC_INPUTCTRL_MUXPOS_PB09
Alias for PIN3.
#define ADC_INPUTCTRL_MUXPOS_PB01
Alias for PIN9.
#define ADC_INPUTCTRL_MUXPOS_PA07
Alias for PIN7.
#define ADC_INPUTCTRL_MUXPOS_PB06
Alias for PIN14.
#define ADC_INPUTCTRL_MUXPOS_PA04
Alias for PIN4.
#define ADC_INPUTCTRL_MUXPOS_PB04
Alias for PIN12.
#define ADC_INPUTCTRL_MUXPOS_PB03
Alias for PIN11.
#define ADC_INPUTCTRL_MUXPOS_PA06
Alias for PIN6.
#define ADC_INPUTCTRL_MUXPOS_PB05
Alias for PIN13.
#define ADC_INPUTCTRL_MUXPOS_PA02
ADC pin aliases.
#define ADC_INPUTCTRL_MUXPOS_PB07
Alias for PIN15.
#define ADC_INPUTCTRL_MUXPOS_PB00
Alias for PIN8.
Definition at line 122 of file periph_conf.h.
◆ i2c_config
Initial value:= {
{
.dev = &(SERCOM2->I2CM),
}
}
#define GPIO_PIN(x, y)
Define a CPU specific GPIO pin generator macro.
@ I2C_SPEED_NORMAL
normal mode: ~100 kbit/s
@ I2C_FLAG_NONE
No flags set.
@ GPIO_MUX_C
select peripheral function C
#define SAM0_GCLK_MAIN
120 MHz main clock
Definition at line 189 of file periph_conf.h.
◆ pwm_config
◆ uart_config