| 2126 | */ |
| 2127 | extern "C" { |
| 2128 | void TIMER2_IRQHandler(void) { |
| 2129 | // Interrupt Service Routine - Fires every 50uS |
| 2130 | if ((NRF_TIMER2->EVENTS_COMPARE[0] != 0) && ((NRF_TIMER2->INTENSET & TIMER_INTENSET_COMPARE0_Msk) != 0)) { |
| 2131 | NRF_TIMER2->EVENTS_COMPARE[0] = 0; //Clear compare register 0 event |
| 2132 | IRReceiveTimerInterruptHandler(); // call the IR-receive function |
| 2133 | NRF_TIMER2->CC[0] += 50; |
| 2134 | } |
| 2135 | } |
| 2136 | } |
| 2137 | #endif |
| 2138 |
nothing calls this directly
no test coverage detected