Microchip® Advanced Software Framework

timeout_struct Struct Reference

Timeout timekeeping data.

Data Fields

uint16_t count
 Current count-down value. More...
 
uint16_t period
 Period between expires. More...
 

uint16_t timeout_struct::count

Current count-down value.

Counts down for every tick. Will be considered as expired when it reaches 0, and may then be reloaded with period.

Referenced by tick_handler(), and timeout_start_offset().

uint16_t timeout_struct::period

Period between expires.

Used to reload count. If 0, the count won't be reloaded.

Referenced by tick_handler(), and timeout_start_offset().