Compact type for event communication.
More...
Data Fields |
unsigned char | signal |
| major event type
|
unsigned char | sub_type |
| minor event type
|
void * | xdata |
| pointer to additional data
|
Detailed Description
Compact type for event communication.
This type of data can fit into unsigned long as long as pointer is 16 bits long.
- Note:
- user need to provide his management of attached data (by xdata pointer).
- Warning:
- This mean that --large_memory_model cannot be used (RAM in low 64 KB).
If the constraint will be dropped os_event_t can still fit in 32 bits,
it requires usage bit fields inside the structure. 20 bits must be then provided for xdata pointer.
Add wrapping macros for access to the fields of os_event_t.
The documentation for this struct was generated from the following file: