t
Fork of mbed-dev by
Diff: targets/TARGET_NORDIC/TARGET_MCU_NRF51822/us_ticker.c
- Revision:
- 174:b96e65c34a4d
- Parent:
- 160:d5399cc887bb
diff -r e131a1973e81 -r b96e65c34a4d targets/TARGET_NORDIC/TARGET_MCU_NRF51822/us_ticker.c --- a/targets/TARGET_NORDIC/TARGET_MCU_NRF51822/us_ticker.c Fri Sep 15 14:59:18 2017 +0100 +++ b/targets/TARGET_NORDIC/TARGET_MCU_NRF51822/us_ticker.c Mon Oct 02 15:33:19 2017 +0100 @@ -285,6 +285,11 @@ } } +void us_ticker_fire_interrupt(void) +{ + NVIC_SetPendingIRQ(RTC1_IRQn); +} + void us_ticker_disable_interrupt(void) { if (us_ticker_callbackPending) {