mbed library sources
Dependents: Encrypted my_mbed lklk CyaSSL_DTLS_Cellular ... more
Superseded
This library was superseded by mbed-dev - https://os.mbed.com/users/mbed_official/code/mbed-dev/.
Development branch of the mbed library sources. This library is kept in synch with the latest changes from the mbed SDK and it is not guaranteed to work.
If you are looking for a stable and tested release, please import one of the official mbed library releases:
Import librarymbed
The official Mbed 2 C/C++ SDK provides the software platform and libraries to build your applications.
Diff: targets/hal/TARGET_NXP/TARGET_LPC408X/us_ticker.c
- Revision:
- 304:89b9c3a9a045
- Parent:
- 15:4892fe388435
--- a/targets/hal/TARGET_NXP/TARGET_LPC408X/us_ticker.c Fri Aug 29 11:45:07 2014 +0100 +++ b/targets/hal/TARGET_NXP/TARGET_LPC408X/us_ticker.c Fri Aug 29 17:15:07 2014 +0100 @@ -48,9 +48,9 @@ return US_TICKER_TIMER->TC; } -void us_ticker_set_interrupt(unsigned int timestamp) { +void us_ticker_set_interrupt(timestamp_t timestamp) { // set match value - US_TICKER_TIMER->MR0 = timestamp; + US_TICKER_TIMER->MR0 = (uint32_t)timestamp; // enable match interrupt US_TICKER_TIMER->MCR |= 1; }