mbed library sources
Dependents: frdm_kl05z_gpio_test
Fork of mbed-src by
Diff: targets/hal/TARGET_NXP/TARGET_LPC43XX/us_ticker.c
- Revision:
- 294:78f9587bb26d
- Parent:
- 20:4263a77256ae
- Child:
- 300:55638feb26a4
diff -r 2a9cf2ed1474 -r 78f9587bb26d targets/hal/TARGET_NXP/TARGET_LPC43XX/us_ticker.c --- a/targets/hal/TARGET_NXP/TARGET_LPC43XX/us_ticker.c Thu Aug 21 10:45:06 2014 +0100 +++ b/targets/hal/TARGET_NXP/TARGET_LPC43XX/us_ticker.c Thu Aug 21 11:00:08 2014 +0100 @@ -50,7 +50,7 @@ void us_ticker_set_interrupt(unsigned int timestamp) { // set match value - US_TICKER_TIMER->MR[3] = timestamp; + US_TICKER_TIMER->MR[0] = timestamp; // enable match interrupt US_TICKER_TIMER->MCR |= 1; }