EVE 1.0
work_t Struct Reference

#include <work.h>

Collaboration diagram for work_t:

Data Fields

struct dlist_t link
 
work_cb_t cb
 

Detailed Description

Work structure.

EVE work item is a function with an associated data structure, which can be executed at the software interrupt execution level.

The structure represents the work item instance.

The structure must be instantiated in the RAM memory using one of WORK_INIT() or DECLARE_WORK().

Definition at line 140 of file work.h.

Field Documentation

struct dlist_t work_t::link

Linked list of all scheduled work items

Definition at line 141 of file work.h.

Referenced by mwork_pending(), uwork_pending(), and work_pending().

work_cb_t work_t::cb

Callback function to be called for the work

Definition at line 142 of file work.h.