1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

boards/nrf9160dk: use all available CC timer channels

Signed-off-by: Dylan Laduranty <dylan.laduranty@mesotic.com>
This commit is contained in:
Dylan Laduranty 2023-06-28 16:50:03 +02:00
parent 117c577bf6
commit ff076fa54e

View File

@ -66,13 +66,15 @@ static const spi_conf_t spi_config[] = {
static const timer_conf_t timer_config[] = {
{
.dev = NRF_TIMER0_S,
.channels = 3,
/* using last channel for timer_read(), so only 5 of 6 channels available */
.channels = 5,
.bitmode = TIMER_BITMODE_BITMODE_32Bit,
.irqn = TIMER0_IRQn
},
{
.dev = NRF_TIMER1_S,
.channels = 3,
/* using last channel for timer_read(), so only 5 of 6 channels available */
.channels = 5,
.bitmode = TIMER_BITMODE_BITMODE_08Bit,
.irqn = TIMER1_IRQn
},