Peripheral configuration for the nRF5340DK-app.
More...
Peripheral configuration for the nRF5340DK-app.
- Author
- Dylan Laduranty dylan.nosp@m..lad.nosp@m.urant.nosp@m.y@me.nosp@m.sotic.nosp@m..com
Definition in file periph_conf.h.
#include "periph_cpu.h"
#include "board.h"
Go to the source code of this file.
◆ i2c_config
Initial value:= {
{
.dev = NRF_TWIM2_S,
}
}
#define GPIO_PIN(x, y)
Define a CPU specific GPIO pin generator macro.
@ I2C_SPEED_NORMAL
normal mode: ~100 kbit/s
Definition at line 133 of file periph_conf.h.
◆ pwm_config
Initial value:= {
{
.dev = NRF_PWM0_S,
.pin = {
LED0_PIN,
LED3_PIN
}
},
}
#define LED1_PIN
TX LED yellow.
#define LED2_PIN
RX LED yellow.
Definition at line 98 of file periph_conf.h.
◆ spi_config
Initial value:= {
{
.dev = NRF_SPIM1_S,
}
}
Definition at line 117 of file periph_conf.h.
◆ timer_config
Initial value:= {
{
.dev = NRF_TIMER0_S,
.channels = 5,
.bitmode = TIMER_BITMODE_BITMODE_32Bit,
.irqn = TIMER0_IRQn
},
{
.dev = NRF_TIMER1_S,
.channels = 5,
.bitmode = TIMER_BITMODE_BITMODE_32Bit,
.irqn = TIMER1_IRQn
},
}
Definition at line 35 of file periph_conf.h.
◆ uart_config
Initial value:= {
{
.dev = NRF_UARTE0_S,
.irqn = SERIAL0_IRQn,
},
}
Definition at line 60 of file periph_conf.h.