PDStack Middleware Library 2.0
cy_timer_t Struct Reference

Description

Structure encapsulating information relating to a software timer.

This structure encapsulates all information related to a software timer object. The timer module maintains a list of these objects corresponding to the active software timers at any given point of time.

Data Fields

uint32_t count
 The actual count value. More...
 
cy_cb_timer_t cb
 The callback function pointer for the timer object. More...
 
uint16_t period
 Period of operation for the timer instance. More...
 
cy_timer_id_t id
 The ID handle associated with the timer object. More...
 
void * callbackContext
 Pointer to the callback context.
 

Field Documentation

◆ count

uint32_t cy_timer_t::count

The actual count value.

◆ cb

cy_cb_timer_t cy_timer_t::cb

The callback function pointer for the timer object.

◆ period

uint16_t cy_timer_t::period

Period of operation for the timer instance.

◆ id

cy_timer_id_t cy_timer_t::id

The ID handle associated with the timer object.