Peripheral configuration for the Waveshare nRF52840 Eval Kit.
More...
Peripheral configuration for the Waveshare nRF52840 Eval Kit.
- Author
- Alexandre Abadie alexa.nosp@m.ndre.nosp@m..abad.nosp@m.ie@i.nosp@m.nria..nosp@m.fr
-
Gunar Schorcht gunar.nosp@m.@sch.nosp@m.orcht.nosp@m..net
Definition in file periph_conf.h.
#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.
◆ I2C_NUMOF
◆ NRF5X_ENABLE_DCDC
#define NRF5X_ENABLE_DCDC |
Enable the internal DC/DC converter.
Definition at line 37 of file periph_conf.h.
◆ PWM_NUMOF
◆ SPI_NUMOF
◆ UART_0_ISR
◆ UART_1_ISR
#define UART_1_ISR (isr_uarte1) |
◆ UART_NUMOF
◆ i2c_config
Initial value:= {
{
.dev = NRF_TWIM1,
},
{
.dev = NRF_TWIM0,
}
}
#define GPIO_PIN(x, y)
Define a CPU specific GPIO pin generator macro.
@ I2C_SPEED_NORMAL
normal mode: ~100 kbit/s
Definition at line 43 of file periph_conf.h.
◆ pwm_config
Initial value:= {
{
.dev = NRF_PWM0,
.pin = {
}
},
{
.dev = NRF_PWM1,
.pin = {
}
},
{
.dev = NRF_PWM2,
.pin = {
}
}
}
#define GPIO_UNDEF
Definition of a fitting UNDEF value.
Definition at line 65 of file periph_conf.h.
◆ spi_config
Initial value:= {
{
.dev = NRF_SPIM0,
},
{
.dev = NRF_SPIM1,
}
}
Definition at line 102 of file periph_conf.h.
◆ uart_config
Initial value:= {
{
.dev = NRF_UARTE0,
.irqn = UARTE0_UART0_IRQn,
},
{
.dev = NRF_UARTE1,
.irqn = UARTE1_IRQn,
},
}
Definition at line 123 of file periph_conf.h.