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

Ticker's event queue structure. More...

#include <ticker_api.h>

Data Fields

ticker_event_handler event_handler
 Event handler. More...
 
ticker_event_thead
 A pointer to head. More...
 
uint32_t period_num
 Ratio of period to 1us, numerator. More...
 
uint32_t period_den
 Ratio of period to 1us, denominator. More...
 
uint32_t bitmask
 Mask to be applied to time values read. More...
 
uint32_t max_delta
 Largest delta in ticks that can be used when scheduling. More...
 
uint64_t max_delta_us
 Largest delta in us that can be used when scheduling. More...
 
uint32_t tick_last_read
 Last tick read. More...
 
uint32_t tick_remainder
 Ticks that have not been added to base_time. More...
 
us_timestamp_t present_time
 Store the timestamp used for present time. More...
 
bool initialized
 Indicate if the instance is initialized. More...
 
bool dispatching
 The function ticker_irq_handler is dispatching. More...
 
bool suspended
 Indicate if the instance is suspended. More...
 
int8_t period_num_shifts
 If numerator is a value of 2^n, this is n, otherwise -1. More...
 
int8_t period_den_shifts
 If denominator is a value of 2^n, this is n, otherwise -1. More...
 

Detailed Description

Ticker's event queue structure.

Definition at line 110 of file ticker_api.h.

Field Documentation

uint32_t bitmask

Mask to be applied to time values read.

Definition at line 120 of file ticker_api.h.

bool dispatching

The function ticker_irq_handler is dispatching.

Definition at line 132 of file ticker_api.h.

ticker_event_handler event_handler

Event handler.

Definition at line 111 of file ticker_api.h.

A pointer to head.

Definition at line 112 of file ticker_api.h.

bool initialized

Indicate if the instance is initialized.

Definition at line 131 of file ticker_api.h.

uint32_t max_delta

Largest delta in ticks that can be used when scheduling.

Definition at line 121 of file ticker_api.h.

uint64_t max_delta_us

Largest delta in us that can be used when scheduling.

Definition at line 124 of file ticker_api.h.

uint32_t period_den

Ratio of period to 1us, denominator.

Definition at line 117 of file ticker_api.h.

int8_t period_den_shifts

If denominator is a value of 2^n, this is n, otherwise -1.

Definition at line 138 of file ticker_api.h.

uint32_t period_num

Ratio of period to 1us, numerator.

Definition at line 114 of file ticker_api.h.

int8_t period_num_shifts

If numerator is a value of 2^n, this is n, otherwise -1.

Definition at line 135 of file ticker_api.h.

us_timestamp_t present_time

Store the timestamp used for present time.

Definition at line 130 of file ticker_api.h.

bool suspended

Indicate if the instance is suspended.

Definition at line 133 of file ticker_api.h.

uint32_t tick_last_read

Last tick read.

Definition at line 126 of file ticker_api.h.

uint32_t tick_remainder

Ticks that have not been added to base_time.

Definition at line 128 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.