MSB-A2 peripheral configuration. More...
MSB-A2 peripheral configuration.
Definition in file periph_conf.h.
Include dependency graph for periph_conf.h:Go to the source code of this file.
Clock configuration | |
| #define | XTAL_HZ (16000000U) /* the board provides a 16 MHz XTAL */ |
| #define | CLOCK_CORECLOCK (72000000U) /* the msba2 runs with 72MHz */ |
| #define | CLOCK_PCLK (CLOCK_CORECLOCK) |
Timer configuration, select a number from 1 to 4 | |
| #define | TIMER_NUMOF (1U) |
PWM device and pinout configuration | |
Currently, we only support a single device and 3 channels, the implementation is fixed on PWM1. | |
| #define | PWM_NUMOF (1U) |
| #define | PWM_CHANNELS (3) |
| #define | PWM_CH0 (3) |
| #define | PWM_CH0_MR PWM1MR3 |
| #define | PWM_CH1 (4) |
| #define | PWM_CH1_MR PWM1MR4 |
| #define | PWM_CH2 (5) |
| #define | PWM_CH2_MR PWM1MR5 |
| #define | PWM_PORT PINSEL4 |
| #define | PWM_CH0_PIN (2) |
| #define | PWM_CH1_PIN (3) |
| #define | PWM_CH2_PIN (4) |
| #define | PWM_FUNC (1) |
UART configuration | |
| #define | UART_NUMOF (4) |
| static const uart_conf_t | uart_config [] |
SPI configuration | |
| #define | SPI_NUMOF (1) |
| static const spi_conf_t | spi_config [] |
ADC configuration | |
| #define | ADC_NUMOF ARRAY_SIZE(adc_config) |
| static const adc_conf_t | adc_config [] |
I2C configuration | |
| #define | I2C_NUMOF (1) |
| static const i2c_conf_t | i2c_config [] |
| #define ADC_NUMOF ARRAY_SIZE(adc_config) |
Definition at line 151 of file periph_conf.h.
| #define CLOCK_CORECLOCK (72000000U) /* the msba2 runs with 72MHz */ |
Definition at line 31 of file periph_conf.h.
| #define CLOCK_PCLK (CLOCK_CORECLOCK) |
Definition at line 33 of file periph_conf.h.
| #define I2C_NUMOF (1) |
Definition at line 171 of file periph_conf.h.
| #define PWM_CH0 (3) |
Definition at line 54 of file periph_conf.h.
| #define PWM_CH0_MR PWM1MR3 |
Definition at line 55 of file periph_conf.h.
| #define PWM_CH0_PIN (2) |
Definition at line 62 of file periph_conf.h.
| #define PWM_CH1 (4) |
Definition at line 56 of file periph_conf.h.
| #define PWM_CH1_MR PWM1MR4 |
Definition at line 57 of file periph_conf.h.
| #define PWM_CH1_PIN (3) |
Definition at line 63 of file periph_conf.h.
| #define PWM_CH2 (5) |
Definition at line 58 of file periph_conf.h.
| #define PWM_CH2_MR PWM1MR5 |
Definition at line 59 of file periph_conf.h.
| #define PWM_CH2_PIN (4) |
Definition at line 64 of file periph_conf.h.
| #define PWM_CHANNELS (3) |
Definition at line 53 of file periph_conf.h.
| #define PWM_FUNC (1) |
Definition at line 65 of file periph_conf.h.
| #define PWM_NUMOF (1U) |
Definition at line 50 of file periph_conf.h.
| #define PWM_PORT PINSEL4 |
Definition at line 61 of file periph_conf.h.
| #define SPI_NUMOF (1) |
Definition at line 126 of file periph_conf.h.
| #define TIMER_NUMOF (1U) |
Definition at line 40 of file periph_conf.h.
| #define UART_NUMOF (4) |
Definition at line 107 of file periph_conf.h.
| #define XTAL_HZ (16000000U) /* the board provides a 16 MHz XTAL */ |
Definition at line 29 of file periph_conf.h.
|
static |
Definition at line 133 of file periph_conf.h.
|
static |
Definition at line 158 of file periph_conf.h.
|
static |
Definition at line 114 of file periph_conf.h.
|
static |
Definition at line 72 of file periph_conf.h.