mbed library sources. Supersedes mbed-src.

Dependents:   Nucleo_Hello_Encoder BLE_iBeaconScan AM1805_DEMO DISCO-F429ZI_ExportTemplate1 ... more

Embed: (wiki syntax)

« Back to documentation index

ticker_event_queue_t Struct Reference

ticker_event_queue_t Struct Reference
[Hal]

Ticker's event queue structure. More...

#include <ticker_api.h>

Data Fields

ticker_event_handler event_handler
 Event handler.
ticker_event_thead
 A pointer to head.
uint32_t frequency
 Frequency of the timer in Hz.
uint32_t bitmask
 Mask to be applied to time values read.
uint32_t max_delta
 Largest delta in ticks that can be used when scheduling.
uint64_t max_delta_us
 Largest delta in us that can be used when scheduling.
uint32_t tick_last_read
 Last tick read.
uint64_t tick_remainder
 Ticks that have not been added to base_time.
us_timestamp_t present_time
 Store the timestamp used for present time.
bool initialized
 Indicate if the instance is initialized.
bool dispatching
 The function ticker_irq_handler is dispatching.
bool suspended
 Indicate if the instance is suspended.
uint8_t frequency_shifts
 If frequency is a value of 2^n, this is n, otherwise 0.

Detailed Description

Ticker's event queue structure.

Definition at line 74 of file cmsis/BUILD/mbed/hal/ticker_api.h.


Field Documentation

uint32_t bitmask

Mask to be applied to time values read.

Definition at line 78 of file cmsis/BUILD/mbed/hal/ticker_api.h.

The function ticker_irq_handler is dispatching.

Definition at line 85 of file cmsis/BUILD/mbed/hal/ticker_api.h.

ticker_event_handler event_handler

Event handler.

Definition at line 75 of file cmsis/BUILD/mbed/hal/ticker_api.h.

uint32_t frequency

Frequency of the timer in Hz.

Definition at line 77 of file cmsis/BUILD/mbed/hal/ticker_api.h.

If frequency is a value of 2^n, this is n, otherwise 0.

Definition at line 87 of file cmsis/BUILD/mbed/hal/ticker_api.h.

A pointer to head.

Definition at line 76 of file cmsis/BUILD/mbed/hal/ticker_api.h.

Indicate if the instance is initialized.

Definition at line 84 of file cmsis/BUILD/mbed/hal/ticker_api.h.

uint32_t max_delta

Largest delta in ticks that can be used when scheduling.

Definition at line 79 of file cmsis/BUILD/mbed/hal/ticker_api.h.

uint64_t max_delta_us

Largest delta in us that can be used when scheduling.

Definition at line 80 of file cmsis/BUILD/mbed/hal/ticker_api.h.

Store the timestamp used for present time.

Definition at line 83 of file cmsis/BUILD/mbed/hal/ticker_api.h.

bool suspended

Indicate if the instance is suspended.

Definition at line 86 of file cmsis/BUILD/mbed/hal/ticker_api.h.

uint32_t tick_last_read

Last tick read.

Definition at line 81 of file cmsis/BUILD/mbed/hal/ticker_api.h.

uint64_t tick_remainder

Ticks that have not been added to base_time.

Definition at line 82 of file cmsis/BUILD/mbed/hal/ticker_api.h.