Modified for BG96
Fork of mbed-dev by
Diff: targets/TARGET_STM/lp_ticker.c
- Revision:
- 174:b96e65c34a4d
- Parent:
- 154:37f96f9d4de2
- Child:
- 180:96ed750bd169
--- a/targets/TARGET_STM/lp_ticker.c Fri Sep 15 14:59:18 2017 +0100 +++ b/targets/TARGET_STM/lp_ticker.c Mon Oct 02 15:33:19 2017 +0100 @@ -70,6 +70,11 @@ rtc_set_wake_up_timer(delta); } +void lp_ticker_fire_interrupt(void) +{ + NVIC_SetPendingIRQ(RTC_WKUP_IRQn); +} + void lp_ticker_disable_interrupt(void) { rtc_deactivate_wake_up_timer();