Ticker's interface structure - required API for a ticker. More...
#include <ticker_api.h>
Data Fields | |
void(* | init )(void) |
Init function. More... | |
uint32_t(* | read )(void) |
Read function. More... | |
void(* | disable_interrupt )(void) |
Disable interrupt function. More... | |
void(* | clear_interrupt )(void) |
Clear interrupt function. More... | |
void(* | set_interrupt )(timestamp_t timestamp) |
Set interrupt function. More... | |
void(* | fire_interrupt )(void) |
Fire interrupt right-away. More... | |
void(* | free )(void) |
Disable function. More... | |
const ticker_info_t *(* | get_info )(void) |
Return info about this ticker's implementation. More... | |
bool | runs_in_deep_sleep |
Whether ticker operates in deep sleep. More... | |
Ticker's interface structure - required API for a ticker.
Definition at line 61 of file ticker_api.h.
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.