mbed library sources. Supersedes mbed-src. Fixed broken STM32F1xx RTC on rtc_api.c
Dependents: Nucleo_F103RB_RTC_battery_bkup_pwr_off_okay
Fork of mbed-dev by
Diff: targets/TARGET_ublox/TARGET_HI2110/lp_ticker.c
- Revision:
- 174:b96e65c34a4d
- Parent:
- 160:d5399cc887bb
diff -r e131a1973e81 -r b96e65c34a4d targets/TARGET_ublox/TARGET_HI2110/lp_ticker.c --- a/targets/TARGET_ublox/TARGET_HI2110/lp_ticker.c Fri Sep 15 14:59:18 2017 +0100 +++ b/targets/TARGET_ublox/TARGET_HI2110/lp_ticker.c Mon Oct 02 15:33:19 2017 +0100 @@ -323,6 +323,14 @@ core_util_critical_section_exit(); } +void lp_ticker_fire_interrupt(void) +{ + // user interrupt only set, this will invoke from ISR routine directly lp handler + g_user_interrupt_pending = false; + g_user_interrupt_set = true; + NVIC_SetPendingIRQ(RTC_IRQn); +} + void lp_ticker_disable_interrupt(void) { /* Can't disable interrupts as we need them to manage