File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
targets/TARGET_TI/TARGET_CC32XX/TARGET_CC3220SF Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -52,8 +52,6 @@ void lp_ticker_init()
52
52
}
53
53
if (!rtc_inited ) {
54
54
NVIC_SetVector (INT_PRCM_IRQn , (uint32_t )lp_ticker_irq_handler );
55
- // Set priority to highest 0
56
- NVIC_SetPriority (INT_PRCM_IRQn , 0 );
57
55
NVIC_ClearPendingIRQ (INT_PRCM_IRQn );
58
56
NVIC_EnableIRQ (INT_PRCM_IRQn );
59
57
PRCMIntStatus (); // Read clears pending interrupts
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ void us_ticker_init(void)
56
56
// Disable match interrupt. This is mbed OS requirement.
57
57
TimerIntDisable (TIMERA0_BASE , TIMER_TIMA_MATCH );
58
58
// Clear pending interrupt
59
- TimerIntClear (TIMERA0_BASE , TIMER_TIMA_MATCH );
59
+ TimerIntClear (TIMERA0_BASE , TIMER_TIMA_MATCH | TIMER_TIMA_TIMEOUT );
60
60
}
61
61
}
62
62
@@ -80,7 +80,7 @@ void us_ticker_disable_interrupt(void)
80
80
81
81
void us_ticker_clear_interrupt (void )
82
82
{
83
- TimerIntClear (TIMERA0_BASE , TIMER_TIMA_MATCH );
83
+ TimerIntClear (TIMERA0_BASE , TIMER_TIMA_MATCH | TIMER_TIMA_TIMEOUT );
84
84
}
85
85
86
86
void us_ticker_fire_interrupt (void )
You can’t perform that action at this time.
0 commit comments