mbed-os/targets/TARGET_Freescale
Przemyslaw Stekiel b6a01de070 K64F lp ticker driver - calculation bug fix.
Delta calculation from lp_ticker_set_interrupt() function:
delta_us = timestamp > now_us ? timestamp - now_us : (uint32_t)((uint64_t)timestamp + 0xFFFFFFFF - now_us);

Lets assume that timestam == now_us.
Expected delta value should be 0 and in this current version is 0xFFFFFFFF.

The following condition:
timestamp > now_us
should have the following form:
timestamp >= now_us

Additionally modified us ticker driver to provide the same logic.
2018-02-09 14:29:24 +01:00
..
TARGET_K20XX RTC HAL: Allow writing 0 to the seconds register 2017-09-21 13:33:07 -05:00
TARGET_KLXX RTC HAL: Allow writing 0 to the seconds register 2017-09-21 13:33:07 -05:00
TARGET_MCUXpresso_MCUS K64F lp ticker driver - calculation bug fix. 2018-02-09 14:29:24 +01:00
mbed_rtx.h Remove deprecated RTX4 config options 2017-05-30 18:55:55 +01:00