|
Cascoda SDK
Cascoda SDK for building software to run with CA-821x transceivers
|
Internal tasklet state structure. More...
#include <cascoda-util/include/cascoda-util/cascoda_tasklet.h>

Public Attributes | |
| ca_tasklet_callback | callback |
| Internal: The callback that will be called when the tasklet is triggered. More... | |
| void * | context |
| Internal: The context that will be passed to the callback when it is called. More... | |
| struct ca_tasklet * | next |
| Internal: The next tasklet in the sorted tasklet linkedlist. More... | |
| uint32_t | fireTime |
| Internal: The next time at which the tasklet is due to trigger. More... | |
| uint8_t | scheduled: 1 |
| Internal: Is this tasklet scheduled? More... | |
Internal tasklet state structure.
Must be allocated with a lifetime that exceeds the usage of the tasklet, ideally statically. Do not modify this struct directly, and instead use the TASKLET_ functions to control it.
| ca_tasklet_callback ca_tasklet::callback |
Internal: The callback that will be called when the tasklet is triggered.
| void* ca_tasklet::context |
Internal: The context that will be passed to the callback when it is called.
| uint32_t ca_tasklet::fireTime |
Internal: The next time at which the tasklet is due to trigger.
| struct ca_tasklet* ca_tasklet::next |
Internal: The next tasklet in the sorted tasklet linkedlist.
NULL when not queued.
| uint8_t ca_tasklet::scheduled |
Internal: Is this tasklet scheduled?