mbed-os/hal
Russ Butler c36b58a05b Fix double low power ticker interrupt
When computing the next set_interrupt time in the common ticker layer
the absolute time in microseconds is rounded down to the closes low
power tick. Because of this the low power ticker interrupt fires one
cycle too early. This causes ticker_irq_handler to run even though
there are no events ready to run.

To prevent this unnecessary interrupt this patch changes the
computation for the next set_interrupt time to round up rather than
down.
2018-07-25 23:21:24 -05:00
..
TARGET_FLASH_CMSIS_ALGO hal: astyle update 2018-06-29 10:36:36 +01:00
storage_abstraction Removed bad \ref tag, but left in the tag name. Updated old param names in gpio_api.h and added new params in ticker_api.h 2017-06-08 15:52:31 -05:00
analogin_api.h Add tags to our code 2016-10-04 15:02:44 -05:00
analogout_api.h Add tags to our code 2016-10-04 15:02:44 -05:00
buffer.h Add tags to our code 2016-10-04 15:02:44 -05:00
can_api.h hal: astyle update 2018-06-29 10:36:36 +01:00
can_helper.h Fix doxygen warnings in 'drivers' 2017-06-08 15:53:53 -05:00
crc_api.h hal: astyle update 2018-06-29 10:36:36 +01:00
critical_section_api.h Move in_critical_section implementation into the HAL 2018-01-09 10:41:29 +00:00
dma_api.h Add tags to our code 2016-10-04 15:02:44 -05:00
ethernet_api.h typos 2018-02-20 20:11:19 -05:00
flash_api.h flash: add note about program size 2017-09-06 07:54:18 +01:00
gpio_api.h hal: astyle update 2018-06-29 10:36:36 +01:00
gpio_irq_api.h Add tags to our code 2016-10-04 15:02:44 -05:00
i2c_api.h hal: astyle update 2018-06-29 10:36:36 +01:00
itm_api.h Improve efficiency and formatting of ITM output 2018-07-04 10:16:28 +03:00
lp_ticker_api.h hal: astyle update 2018-06-29 10:36:36 +01:00
mbed_critical_section_api.c Move in_critical_section implementation into the HAL 2018-01-09 10:41:29 +00:00
mbed_flash_api.c FlashIAP: Add explicit read function to flash_api.h 2017-07-06 18:53:32 +01:00
mbed_gpio.c hal: astyle update 2018-06-29 10:36:36 +01:00
mbed_itm_api.c Improve efficiency and formatting of ITM output 2018-07-04 10:16:28 +03:00
mbed_lp_ticker_api.c hal: astyle update 2018-06-29 10:36:36 +01:00
mbed_lp_ticker_wrapper.cpp hal: astyle update 2018-06-29 10:36:36 +01:00
mbed_pinmap_common.c hal: astyle update 2018-06-29 10:36:36 +01:00
mbed_sleep_manager.c hal: astyle update 2018-06-29 10:36:36 +01:00
mbed_ticker_api.c Fix double low power ticker interrupt 2018-07-25 23:21:24 -05:00
mbed_us_ticker_api.c hal: astyle update 2018-06-29 10:36:36 +01:00
pinmap.h hal: astyle update 2018-06-29 10:36:36 +01:00
port_api.h Add tags to our code 2016-10-04 15:02:44 -05:00
pwmout_api.h Add tags to our code 2016-10-04 15:02:44 -05:00
rtc_api.h Add clarification to rtc_free doxygen 2018-05-25 12:49:11 -05:00
serial_api.h Add tags to our code 2016-10-04 15:02:44 -05:00
sleep_api.h hal: astyle update 2018-06-29 10:36:36 +01:00
spi_api.h typos 2018-02-20 20:11:19 -05:00
ticker_api.h hal: astyle update 2018-06-29 10:36:36 +01:00
trng_api.h Add tags to our code 2016-10-04 15:02:44 -05:00
us_ticker_api.h hal: astyle update 2018-06-29 10:36:36 +01:00