mbed library sources. Supersedes mbed-src.
Dependents: Nucleo_Hello_Encoder BLE_iBeaconScan AM1805_DEMO DISCO-F429ZI_ExportTemplate1 ... more
Diff: targets/TARGET_Atmel/TARGET_SAM_CortexM4/us_ticker.c
- Revision:
- 174:b96e65c34a4d
- Parent:
- 149:156823d33999
- Child:
- 188:bcfe06ba3d64
--- a/targets/TARGET_Atmel/TARGET_SAM_CortexM4/us_ticker.c Fri Sep 15 14:59:18 2017 +0100 +++ b/targets/TARGET_Atmel/TARGET_SAM_CortexM4/us_ticker.c Mon Oct 02 15:33:19 2017 +0100 @@ -170,6 +170,11 @@ tc_start(TICKER_COUNTER_uS, TICKER_COUNTER_CHANNEL1); } +void us_ticker_fire_interrupt(void) +{ + NVIC_SetPendingIRQ(TICKER_COUNTER_IRQn1); +} + void us_ticker_disable_interrupt(void) { tc_stop(TICKER_COUNTER_uS, TICKER_COUNTER_CHANNEL1);