1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/boards/common/nrf52/include
Marian Buschsieweke 51b6379dee
boards/common/nrf52: fix timer config
The `channels` member should not be set to the number of hardware
channels *n*, but to *n* - 1 instead. The last channel is implicitly
used in `timer_read()`. Hence out of *n* hardware channels, only *n* - 1
are available to the application.

This fixes a bug introduced by 4d02e15247
which incorrectly set the channel number to *n* rather than to
*n* - 1.
2022-11-22 13:20:53 +01:00
..
board_common.h boards: drop board_init() from board.h 2022-02-25 15:08:58 +01:00
cfg_clock_32_0.h boards: add initial support for microbit v2 2021-02-10 13:39:51 +01:00
cfg_clock_32_1.h boards/common/nrf52: add common nrf52 place 2018-12-13 10:15:42 +01:00
cfg_i2c_default.h boards: Use ARRAY_SIZE for setting UART_NUMOF, SPI_NUMOF, I2C_NUMOF 2020-02-09 20:55:46 +00:00
cfg_rtt_default.h boards: drop board_init() from board.h 2022-02-25 15:08:58 +01:00
cfg_spi_default.h nrf52: Adapt SPI periph config 2020-05-18 19:18:29 +02:00
cfg_timer_default.h boards/common/nrf52: fix timer config 2022-11-22 13:20:53 +01:00