Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of TUKS-COURSE-TIMER by
Functions | |
const ticker_data_t * | get_lp_ticker_data (void) |
Get low power ticker's data. | |
void | lp_ticker_irq_handler (void) |
The wrapper for ticker_irq_handler, to pass lp ticker's data. | |
void | lp_ticker_init (void) |
Initialize the low power ticker. | |
uint32_t | lp_ticker_read (void) |
Read the current counter. | |
void | lp_ticker_set_interrupt (timestamp_t timestamp) |
Set interrupt for specified timestamp. | |
void | lp_ticker_disable_interrupt (void) |
Disable low power ticker interrupt. | |
void | lp_ticker_clear_interrupt (void) |
Clear the low power ticker interrupt. |
Function Documentation
const ticker_data_t* get_lp_ticker_data | ( | void | ) |
Get low power ticker's data.
- Returns:
- The low power ticker data
Definition at line 35 of file mbed_lp_ticker_api.c.
void lp_ticker_clear_interrupt | ( | void | ) |
Clear the low power ticker interrupt.
void lp_ticker_disable_interrupt | ( | void | ) |
Disable low power ticker interrupt.
void lp_ticker_init | ( | void | ) |
Initialize the low power ticker.
void lp_ticker_irq_handler | ( | void | ) |
The wrapper for ticker_irq_handler, to pass lp ticker's data.
Definition at line 40 of file mbed_lp_ticker_api.c.
uint32_t lp_ticker_read | ( | void | ) |
Read the current counter.
- Returns:
- The current timer's counter value in microseconds
void lp_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:38:59 by
