mbed library sources
Fork of mbed-src by
Microseconds Ticker Functions
Functions | |
const ticker_data_t * | get_us_ticker_data (void) |
Get ticker's data. | |
void | us_ticker_irq_handler (void) |
The wrapper for ticker_irq_handler, to pass us ticker's data. | |
void | us_ticker_init (void) |
Initialize the ticker. | |
uint32_t | us_ticker_read (void) |
Read the current counter. | |
void | us_ticker_set_interrupt (timestamp_t timestamp) |
Set interrupt for specified timestamp. | |
void | us_ticker_disable_interrupt (void) |
Disable us ticker interrupt. | |
void | us_ticker_clear_interrupt (void) |
Clear us ticker interrupt. |
Function Documentation
const ticker_data_t* get_us_ticker_data | ( | void | ) |
void us_ticker_clear_interrupt | ( | void | ) |
Clear us ticker interrupt.
void us_ticker_disable_interrupt | ( | void | ) |
Disable us ticker interrupt.
void us_ticker_init | ( | void | ) |
Initialize the ticker.
void us_ticker_irq_handler | ( | void | ) |
The wrapper for ticker_irq_handler, to pass us ticker's data.
Definition at line 38 of file us_ticker_api.c.
uint32_t us_ticker_read | ( | void | ) |
Read the current counter.
- Returns:
- The current timer's counter value in microseconds
void us_ticker_set_interrupt | ( | timestamp_t | timestamp ) |
Set interrupt for specified timestamp.
- Parameters:
-
timestamp The time in microseconds to be set
Generated on Tue Jul 12 2022 17:14:56 by
![doxygen](doxygen.png)