Peripheral configuration for the ACD52832.
More...
#include "periph_cpu.h"
#include "cfg_clock_32_1.h"
#include "cfg_rtt_default.h"
#include "cfg_timer_default.h"
Go to the source code of this file.
◆ CLOCK_CORECLOCK
#define CLOCK_CORECLOCK (64000000U) /* fixed for all nRF52832 */ |
◆ I2C_NUMOF
◆ SPI_NUMOF
◆ UART_0_ISR
◆ UART_NUMOF
◆ i2c_config
Initial value:= {
{
.dev = NRF_TWIM1,
.scl = 28,
.sda = 29,
}
}
@ I2C_SPEED_NORMAL
normal mode: ~100 kbit/s
Definition at line 84 of file periph_conf.h.
◆ spi_config
Initial value:= {
{
.dev = NRF_SPIM0,
.sclk = 4,
.mosi = 3,
.miso = 13,
.ppi = 0
}
}
Definition at line 67 of file periph_conf.h.
◆ uart_config
Initial value:= {
{
.dev = NRF_UARTE0,
.irqn = UARTE0_UART0_IRQn,
},
}
#define GPIO_PIN(x, y)
Define a CPU specific GPIO pin generator macro.
Definition at line 46 of file periph_conf.h.