25 #include "periph_cpu.h"
27 #include "cfg_rtt_default.h"
28 #include "cfg_timer_default.h"
37 #define NRF5X_ENABLE_DCDC
58 #define I2C_NUMOF ARRAY_SIZE(i2c_config)
95 #define PWM_NUMOF ARRAY_SIZE(pwm_config)
116 #define SPI_NUMOF ARRAY_SIZE(spi_config)
128 #ifdef MODULE_PERIPH_UART_HW_FC
132 .irqn = UARTE0_UART0_IRQn,
138 #ifdef MODULE_PERIPH_UART_HW_FC
146 #define UART_0_ISR (isr_uart0)
147 #define UART_1_ISR (isr_uarte1)
149 #define UART_NUMOF ARRAY_SIZE(uart_config)
#define GPIO_PIN(x, y)
Define a CPU specific GPIO pin generator macro.
#define GPIO_UNDEF
Definition of a fitting UNDEF value.
static const uart_conf_t uart_config[]
UART configuration.
static const spi_conf_t spi_config[]
SPI configuration.
static const i2c_conf_t i2c_config[]
I2C configuration.
static const pwm_conf_t pwm_config[]
Actual PWM configuration.
Common clock configuration for the nRF52 based boards.
@ I2C_SPEED_NORMAL
normal mode: ~100 kbit/s
I2C configuration structure.
TWI_t * dev
Pointer to hardware module registers.
PWM device configuration.
mini_timer_t * dev
Timer used.
SPI device configuration.
SPI_t * dev
pointer to the used SPI device
UART device configuration.
USART_t * dev
pointer to the used UART device