mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
Merge #19771
19771: boards/nrf9160dk: use all available CC timer channels r=dylad a=dylad ### Contribution description `nRF9160` has 6 CC per timer. You can `grep -ra "CC_NUM" cpu/nrf9160 ` to check it. So let's use all available CC. ### Testing procedure You can run `tests/periph/timer` to see the new CC. ### Issues/PRs references None. Co-authored-by: Dylan Laduranty <dylan.laduranty@mesotic.com>
This commit is contained in:
commit
e0361abb3a
@ -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
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user