boards/ruuvitag/include/periph_conf.h¶
Peripheral configuration for the RuuviTag.
-
CLOCK_HFCLK
¶ 1 2
(32U) /* set to 0: internal RC oscillator * 32: 32MHz crystal */
-
CLOCK_LFCLK
¶ 1 2 3
(1) /* set to 0: internal RC oscillator * 1: 32.768 kHz crystal * 2: derived from HFCLK */
-
TIMER_0_ISR
¶ 1
isr_timer1
-
TIMER_NUMOF
¶ 1
(sizeof(timer_config) / sizeof(timer_config[0]))
-
const timer_conf_t
timer_config
()¶ 1 2 3 4 5 6 7 8
= { { .dev = NRF_TIMER1, .channels = 3, .bitmode = TIMER_BITMODE_BITMODE_32Bit, .irqn = TIMER1_IRQn } }
-
RTT_NUMOF
¶ 1
(1U)
-
RTT_DEV
¶ 1
(1) /* NRF_RTC1 */
-
RTT_MAX_VALUE
¶ 1
(0x00ffffff)
-
RTT_FREQUENCY
¶ 1
(1024)
-
SPI_NUMOF
¶ 1
(sizeof(spi_config) / sizeof(spi_config[0]))
-
const spi_conf_t
spi_config
()¶ 1 2 3 4 5 6 7 8
= { { .dev = NRF_SPI0, .sclk = 29, .mosi = 25, .miso = 28, } }
-
UART_NUMOF
¶ 1
(1U)
-
UART_PIN_RX
¶ 1
GPIO_PIN(0, 4)
-
UART_PIN_TX
¶ 1
GPIO_PIN(0, 5)