VSF Documented
vsf_sync_t Class Reference

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
 

Detailed Description

Base sync IPC object; sem/mutex/trig/crit are built on it.

Field Documentation

◆ cur

uint16_t vsf_sync_t::cur

◆ has_owner

uint16_t vsf_sync_t::has_owner

◆ [struct] [1/2]

struct { ... } vsf_sync_t::bits

◆ cur_value

uint16_t vsf_sync_t::cur_value

◆ [union]

union { ... } vsf_sync_t::cur_union

Current count: bits.cur = current count, bits.has_owner = the object has an owner (e.g. mutex)

◆ max

uint16_t vsf_sync_t::max

◆ manual_rst

uint16_t vsf_sync_t::manual_rst

◆ [struct] [2/2]

struct { ... } vsf_sync_t::bits

◆ max_value

uint16_t vsf_sync_t::max_value

◆ [union]

union { ... } vsf_sync_t::max_union

Maximum count: bits.max = maximum count, bits.manual_rst = manual-reset.

◆ pending_list

vsf_dlist_t vsf_sync_t::pending_list
Generated from commit: vsfteam/vsf@a5104db