Peripheral configuration for the nRF9160DK.
More...
Peripheral configuration for the nRF9160DK.
- 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_TWIM3_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 35 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 146 of file periph_conf.h.
◆ spi_config
Initial value:= {
{
.dev = NRF_SPIM2_S,
}
}
Definition at line 50 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_08Bit,
.irqn = TIMER1_IRQn
},
}
Definition at line 66 of file periph_conf.h.
◆ uart_config
Initial value:= {
{
.dev = NRF_UARTE0_S,
.irqn = UARTE0_SPIM0_SPIS0_TWIM0_TWIS0_IRQn,
},
{
.dev = NRF_UARTE1_S,
.irqn = UARTE1_SPIM1_SPIS1_TWIM1_TWIS1_IRQn,
},
}
Definition at line 98 of file periph_conf.h.