mbed-os/hal
Przemyslaw Stekiel 5da5b28f96 Add API to set ticker IRQ handler.
This API is added primarily for testing purposes, to be able to test HAL drivers without using upper layers to handle ticker interrupt.
By default IRQ handler is set to ticker_irq_handler() for us ticker and lp ticker - original one.

Usage example (setting custom ticker irq handler):

void my_irq_handler(const ticker_data_t *const) {
 // handle interrupt
}

ticker_irq_handler_type old_handler = set_us_ticker_irq_handler(my_irq_handler);

Respectively for lp timer set_lp_ticker_irq_handler() API should be used.
2017-10-30 10:38:38 +01:00
..
TARGET_FLASH_CMSIS_ALGO Renamed files in platform to match source names 2017-02-22 18:17:54 -06: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 Add an mbed API that allows the initialization of the CAN at the correct 2017-05-15 14:14:26 +02:00
can_helper.h Fix doxygen warnings in 'drivers' 2017-06-08 15:53:53 -05:00
dma_api.h Add tags to our code 2016-10-04 15:02:44 -05:00
emac_api.h Moved emac_api.h to the appropriate folder 2016-11-17 13:52:42 -06:00
ethernet_api.h Add tags to our code 2016-10-04 15:02:44 -05:00
flash_api.h flash: add note about program size 2017-09-06 07:54:18 +01:00
gpio_api.h 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
gpio_irq_api.h Add tags to our code 2016-10-04 15:02:44 -05:00
i2c_api.h Turn on doxygen for DEVICE_* features 2017-08-11 15:47:44 -05:00
lp_ticker_api.h Add API to set ticker IRQ handler. 2017-10-30 10:38:38 +01: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 For drivers, events, hal, platform, rtos and mbed.h add one level of path to make sure specific and unique includes files are found. 2016-10-01 02:11:36 -05:00
mbed_lp_ticker_api.c Add API to set ticker IRQ handler. 2017-10-30 10:38:38 +01:00
mbed_pinmap_common.c For drivers, events, hal, platform, rtos and mbed.h add one level of path to make sure specific and unique includes files are found. 2016-10-01 02:11:36 -05:00
mbed_sleep_manager.c Sleep: add deepsleep locks for !DEVICE_SLEEP 2017-09-07 15:35:04 +01:00
mbed_ticker_api.c Optimize 1MHz and 32KHz use cases 2017-10-05 11:57:13 -05:00
mbed_us_ticker_api.c Add API to set ticker IRQ handler. 2017-10-30 10:38:38 +01:00
pinmap.h Add tags to our code 2016-10-04 15:02:44 -05: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 tags to our code 2016-10-04 15:02:44 -05:00
serial_api.h Add tags to our code 2016-10-04 15:02:44 -05:00
sleep_api.h Platform: Add sleep/deepsleep user facing functions 2017-01-19 09:39:29 +00:00
spi_api.h Closed review comments 2017-07-21 09:46:22 -05:00
ticker_api.h Merge pull request #5028 from c1728p9/ticker_api_changes 2017-10-13 09:18:02 -05:00
trng_api.h Add tags to our code 2016-10-04 15:02:44 -05:00
us_ticker_api.h Add API to set ticker IRQ handler. 2017-10-30 10:38:38 +01:00