Configuration of CPU peripherals for the Sodaq LoRaWAN Explorer board.
More...
Configuration of CPU peripherals for the Sodaq LoRaWAN Explorer board.
- Author
- Alexandre Abadie alexa.nosp@m.ndre.nosp@m..abad.nosp@m.ie@i.nosp@m.nria..nosp@m.fr
Definition in file periph_conf.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
◆ UART_0_ISR
#define UART_0_ISR isr_sercom5 |
◆ UART_1_ISR
#define UART_1_ISR isr_sercom4 |
◆ UART_2_ISR
#define UART_2_ISR isr_sercom0 |
◆ UART_NUMOF
◆ adc_channels
Initial value:= {
}
#define ADC_INPUTCTRL_MUXPOS_PB02
Alias for PIN10.
#define ADC_INPUTCTRL_MUXPOS_PA10
Alias for PIN18.
#define ADC_INPUTCTRL_MUXPOS_PA11
Alias for PIN19.
#define ADC_INPUTCTRL_MUXPOS_PA08
Alias for PIN16.
#define ADC_INPUTCTRL_MUXPOS_PA09
Alias for PIN17.
#define ADC_INPUTCTRL_MUXPOS_PB01
Alias for PIN9.
#define ADC_INPUTCTRL_MUXPOS_PA04
Alias for PIN4.
#define ADC_INPUTCTRL_MUXPOS_PB03
Alias for PIN11.
#define ADC_INPUTCTRL_MUXPOS_PB05
Alias for PIN13.
#define ADC_INPUTCTRL_MUXPOS_PB00
Alias for PIN8.
Definition at line 103 of file periph_conf.h.
◆ i2c_config
Initial value:= {
{
.dev = &(SERCOM1->I2CM),
},
{
.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 124 of file periph_conf.h.
◆ uart_config