Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: Nucleo_F103RB_RTC_battery_bkup_pwr_off_okay
Fork of mbed-dev by
Diff: targets/TARGET_NXP/TARGET_LPC81X/us_ticker.c
- Revision:
- 174:b96e65c34a4d
- Parent:
- 149:156823d33999
--- a/targets/TARGET_NXP/TARGET_LPC81X/us_ticker.c Fri Sep 15 14:59:18 2017 +0100
+++ b/targets/TARGET_NXP/TARGET_LPC81X/us_ticker.c Mon Oct 02 15:33:19 2017 +0100
@@ -110,6 +110,11 @@
LPC_MRT->CTRL1 |= 1;
}
+void us_ticker_fire_interrupt(void)
+{
+ NVIC_SetPendingIRQ(US_TICKER_TIMER_IRQn);
+}
+
//Disable Timestamped interrupts triggered by TIMER1
void us_ticker_disable_interrupt() {
//Timer1 for Timestamped interrupts (31 bits downcounter @ SystemCoreClock)
