Configuration of CPU peripherals for the SODAQ ONE board.
More...
Configuration of CPU peripherals for the SODAQ ONE 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_timer_default.h"
#include "cfg_usbdev_default.h"
Go to the source code of this file.
|
See Table 6.1 of the SAM D21 Datasheet
|
#define | UART_0_ISR isr_sercom5 |
|
#define | UART_1_ISR isr_sercom2 |
|
#define | UART_NUMOF ARRAY_SIZE(uart_config) |
|
static const uart_conf_t | uart_config [] |
|
|
#define | ADC_PRESCALER ADC_CTRLB_PRESCALER_DIV512 |
|
#define | ADC_NEG_INPUT ADC_INPUTCTRL_MUXNEG_GND |
|
#define | ADC_GAIN_FACTOR_DEFAULT ADC_INPUTCTRL_GAIN_DIV2 |
|
#define | ADC_REF_DEFAULT ADC_REFCTRL_REFSEL_INTVCC1 |
|
#define | ADC_NUMOF ARRAY_SIZE(adc_channels) |
|
static const adc_conf_chan_t | adc_channels [] |
|
◆ adc_channels
◆ i2c_config
Initial value:= {
{
.dev = &(SERCOM3->I2CM),
}
}
Definition at line 145 of file periph_conf.h.
◆ spi_config
Initial value:= {
{
.dev = &SERCOM0->SPI,
}
}
Definition at line 119 of file periph_conf.h.
◆ uart_config
Initial value:= {
{
.dev = &SERCOM5->USART,
},
{
.dev = &SERCOM2->USART,
},
}
Definition at line 41 of file periph_conf.h.