|
VSF Documented
|
Base sync IPC object; sem/mutex/trig/crit are built on it. More...
#include <vsf_eda.h>
Data Fields | ||
| union { | ||
| struct { | ||
| uint16_t cur: 15 | ||
| uint16_t has_owner: 1 | ||
| } bits | ||
| uint16_t cur_value | ||
| } | cur_union | |
| Current count: bits.cur = current count, bits.has_owner = the object has an owner (e.g. mutex) | ||
| union { | ||
| struct { | ||
| uint16_t max: 15 | ||
| uint16_t manual_rst: 1 | ||
| } bits | ||
| uint16_t max_value | ||
| } | max_union | |
| Maximum count: bits.max = maximum count, bits.manual_rst = manual-reset. | ||
| vsf_dlist_t | pending_list | |
Base sync IPC object; sem/mutex/trig/crit are built on it.
| uint16_t vsf_sync_t::cur |
| uint16_t vsf_sync_t::has_owner |
| struct { ... } vsf_sync_t::bits |
| uint16_t vsf_sync_t::cur_value |
| union { ... } vsf_sync_t::cur_union |
Current count: bits.cur = current count, bits.has_owner = the object has an owner (e.g. mutex)
| uint16_t vsf_sync_t::max |
| uint16_t vsf_sync_t::manual_rst |
| struct { ... } vsf_sync_t::bits |
| uint16_t vsf_sync_t::max_value |
| union { ... } vsf_sync_t::max_union |
Maximum count: bits.max = maximum count, bits.manual_rst = manual-reset.
| vsf_dlist_t vsf_sync_t::pending_list |