Dawn Framework 1.0
Universal data acquisition framework for embedded systems
Public Attributes | List of all members
dawn::SObjectCfg::UObjectCfgId Union Reference

32-bit encoded configuration identifier (union with bit field). More...

#include <objectcfg.hxx>

Public Attributes

struct { 
 
   uint32_t   cls: 9 
 Object class (bits 21-29, max 511). More...
 
   uint32_t   dtype: 4 
 Configuration data type (bits 16-19). More...
 
   uint32_t   ext: 1 
 Extension flag (bit 20). More...
 
   uint32_t   id: 5 
 Configuration identifier (bits 0-4, max 31). More...
 
   uint32_t   rw: 1 
 Read-write access flag (bit 15). More...
 
   uint32_t   size: 10 
 Configuration data size in 32-bit words (bits 5-14, max 1023). More...
 
   uint32_t   type: 2 
 Object type (bits 30-31). More...
 
s 
 Bit-field structure for named member access.
 
ObjectCfgId v
 Raw 32-bit ConfigID value (for storage, comparison).
 

Detailed Description

32-bit encoded configuration identifier (union with bit field).

Uniquely identifies a single configuration item within an object's configuration set.

Definition at line 78 of file objectcfg.hxx.

Member Data Documentation

◆ cls

uint32_t dawn::SObjectCfg::UObjectCfgId::cls

Object class (bits 21-29, max 511).

Must match parent object's class field.

Definition at line 136 of file objectcfg.hxx.

◆ dtype

uint32_t dawn::SObjectCfg::UObjectCfgId::dtype

Configuration data type (bits 16-19).

Matches EObjectDataType enumeration.

Definition at line 120 of file objectcfg.hxx.

◆ ext

uint32_t dawn::SObjectCfg::UObjectCfgId::ext

Extension flag (bit 20).

Reserved for future 64-bit ConfigID extension.

Definition at line 128 of file objectcfg.hxx.

◆ id

uint32_t dawn::SObjectCfg::UObjectCfgId::id

Configuration identifier (bits 0-4, max 31).

Unique ID within object's configuration set.

Definition at line 94 of file objectcfg.hxx.

◆ rw

uint32_t dawn::SObjectCfg::UObjectCfgId::rw

Read-write access flag (bit 15).

0 = read-only (immutable, from descriptor) 1 = read-write (can be modified at runtime) Framework enforces flag in setObjConfig()/getObjConfig().

Definition at line 112 of file objectcfg.hxx.

◆ size

uint32_t dawn::SObjectCfg::UObjectCfgId::size

Configuration data size in 32-bit words (bits 5-14, max 1023).

Total size of config data.

Definition at line 102 of file objectcfg.hxx.

◆ type

uint32_t dawn::SObjectCfg::UObjectCfgId::type

Object type (bits 30-31).

Must match parent object's type field.

Definition at line 144 of file objectcfg.hxx.


The documentation for this union was generated from the following file: