Mistake on this page?
Report an issue in GitHub or email us
Data Fields
ticker_interface_t Struct Reference

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...
 

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.

Important Information for this Arm website

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.