AKOS  v1.0.0
Documentation
Loading...
Searching...
No Matches
ak_timer_t Struct Reference

Software timer object type. More...

Public Attributes

ak_timer_t * next
timer_id_t id
list_item_t timer_list_item
int32_t sig
uint8_t des_thread_id
timer_cb func_cb
uint32_t period

Detailed Description

Software timer object type.

Definition at line 53 of file timer.h.

Member Data Documentation

◆ des_thread_id

uint8_t ak_timer_t::des_thread_id

Destination thread ID for signal posting.

Definition at line 59 of file timer.h.

◆ func_cb

timer_cb ak_timer_t::func_cb

Optional callback executed on timer expiry.

Definition at line 60 of file timer.h.

◆ id

timer_id_t ak_timer_t::id

User-defined timer identifier.

Definition at line 56 of file timer.h.

◆ next

ak_timer_t* ak_timer_t::next

Next timer in free-list.

Definition at line 55 of file timer.h.

◆ period

uint32_t ak_timer_t::period

Period in ticks (0 for one-shot timers).

Definition at line 61 of file timer.h.

◆ sig

int32_t ak_timer_t::sig

Signal posted to destination thread on expiry.

Definition at line 58 of file timer.h.

◆ timer_list_item

list_item_t ak_timer_t::timer_list_item

List item used in active/overflow timer lists.

Definition at line 57 of file timer.h.


The documentation for this struct was generated from the following file: