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_Maxim/TARGET_MAX32610/rtc_api.c
- Revision:
- 174:b96e65c34a4d
- Parent:
- 149:156823d33999
--- a/targets/TARGET_Maxim/TARGET_MAX32610/rtc_api.c Fri Sep 15 14:59:18 2017 +0100 +++ b/targets/TARGET_Maxim/TARGET_MAX32610/rtc_api.c Mon Oct 02 15:33:19 2017 +0100 @@ -229,6 +229,11 @@ MXC_PWRSEQ->msk_flags &= ~MXC_F_PWRSEQ_MSK_FLAGS_RTC_CMPR0; } +void lp_ticker_fire_interrupt(void) +{ + NVIC_SetPendingIRQ(RTC0_IRQn); +} + //****************************************************************************** inline void lp_ticker_disable_interrupt(void) {