helpfor studient
Dependents: STM32_F103-C8T6basecanblink_led
Fork of mbed-dev by
Diff: targets/TARGET_NXP/TARGET_LPC15XX/us_ticker.c
- Revision:
- 174:b96e65c34a4d
- Parent:
- 160:d5399cc887bb
--- a/targets/TARGET_NXP/TARGET_LPC15XX/us_ticker.c Fri Sep 15 14:59:18 2017 +0100 +++ b/targets/TARGET_NXP/TARGET_LPC15XX/us_ticker.c Mon Oct 02 15:33:19 2017 +0100 @@ -72,6 +72,11 @@ LPC_SCT3->EVEN = (1 << 0); } +void us_ticker_fire_interrupt(void) +{ + NVIC_SetPendingIRQ(US_TICKER_TIMER_IRQn); +} + void us_ticker_disable_interrupt(void) { // Disable interrupt on SCT3 event 0 LPC_SCT3->EVEN = 0;