Skip to content
This repository was archived by the owner on Oct 23, 2025. It is now read-only.

Commit d6d46bf

Browse files
auroraslbwopu-ot
authored andcommitted
Enable ppi task TASKS_HFCLKSTART and ppi event RTC0_EVENTS_COMPARE_1
Signed-off-by: Sletnes Bjørlo, Aurora <[email protected]>
1 parent 9eca9b4 commit d6d46bf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/HW_models/NRF_PPI.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ typedef struct {
8080
static const ppi_tasks_table_t ppi_tasks_table[]={ //just the ones we may use
8181
//POWER CLOCK:
8282
//{ (void*)&NRF_CLOCK_regs.TASKS_LFCLKSTART , nrf_clock_TASKS_LFCLKSTART},
83-
//{ (void*)&NRF_CLOCK_regs.TASKS_HFCLKSTART , nrf_clock_TASKS_HFCLKSTART},
83+
{ (void*)&NRF_CLOCK_regs.TASKS_HFCLKSTART , nrf_clock_TASKS_HFCLKSTART},
8484
//{ (void*)&NRF_CLOCK_regs.TASKS_HFCLKSTOP , nrf_clock_TASKS_HFCLKSTOP},
8585

8686
//RADIO:
@@ -232,7 +232,7 @@ static const ppi_event_table_t ppi_events_table[] = { //better keep same order a
232232
// {TIMER2_EVENTS_COMPARE_5, &NRF_TIMER_regs[2].EVENTS_COMPARE[5]},
233233

234234
//{RTC0_EVENTS_COMPARE_0, &NRF_RTC_regs[0].EVENTS_COMPARE[0]},
235-
//{RTC0_EVENTS_COMPARE_1, &NRF_RTC_regs[0].EVENTS_COMPARE[1]},
235+
{RTC0_EVENTS_COMPARE_1, &NRF_RTC_regs[0].EVENTS_COMPARE[1]},
236236
{RTC0_EVENTS_COMPARE_2, &NRF_RTC_regs[0].EVENTS_COMPARE[2]},
237237

238238
// {TIMER3_EVENTS_COMPARE_0, &NRF_TIMER_regs[3].EVENTS_COMPARE[0]},

0 commit comments

Comments
 (0)