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.
Dependents: TYBLE16_simple_data_logger TYBLE16_MP3_Air
ticker_interface_t Struct Reference
[Hal]
Ticker's interface structure - required API for a ticker. More...
#include <ticker_api.h>
Data Fields | |
void(* | init )(void) |
Init function. | |
uint32_t(* | read )(void) |
Read function. | |
void(* | disable_interrupt )(void) |
Disable interrupt function. | |
void(* | clear_interrupt )(void) |
Clear interrupt function. | |
void(* | set_interrupt )(timestamp_t timestamp) |
Set interrupt function. | |
void(* | fire_interrupt )(void) |
Fire interrupt right-away. | |
void(* | free )(void) |
Disable function. | |
const ticker_info_t *(* | get_info )(void) |
Return info about this ticker's implementation. | |
bool | runs_in_deep_sleep |
Whether ticker operates in deep sleep. |
Detailed Description
Ticker's interface structure - required API for a ticker.
Definition at line 61 of file ticker_api.h.
Field Documentation
void(* clear_interrupt)(void) |
Clear interrupt function.
Definition at line 65 of file ticker_api.h.
void(* disable_interrupt)(void) |
Disable interrupt function.
Definition at line 64 of file ticker_api.h.
void(* fire_interrupt)(void) |
Fire interrupt right-away.
Definition at line 67 of file ticker_api.h.
void(* free)(void) |
Disable function.
Definition at line 68 of file ticker_api.h.
const ticker_info_t*(* get_info)(void) |
Return info about this ticker's implementation.
Definition at line 69 of file ticker_api.h.
void(* init)(void) |
Init function.
Definition at line 62 of file ticker_api.h.
uint32_t(* read)(void) |
Read function.
Definition at line 63 of file ticker_api.h.
bool runs_in_deep_sleep |
Whether ticker operates in deep sleep.
Definition at line 70 of file ticker_api.h.
void(* set_interrupt)(timestamp_t timestamp) |
Set interrupt function.
Definition at line 66 of file ticker_api.h.
Generated on Tue Jul 12 2022 13:55:37 by
