caffeine-sal 0.1.17
Header-only polymorphic middleware services layer for the Caffeine Framework
Loading...
Searching...
No Matches
Data Fields
cfn_sal_dev_composite_shared_t Struct Reference

Standardized shared state for composite (multi-function) sensors. This structure should be embedded within a composite sensor struct to manage shared hardware resources and initialization counts across multiple polymorphic interfaces. More...

#include <cfn_sal_dev_composite.h>

Data Fields

const cfn_sal_phy_tphy
 
uint8_t init_ref_count
 
bool hw_initialized
 

Detailed Description

Standardized shared state for composite (multi-function) sensors. This structure should be embedded within a composite sensor struct to manage shared hardware resources and initialization counts across multiple polymorphic interfaces.

Field Documentation

◆ hw_initialized

bool cfn_sal_dev_composite_shared_t::hw_initialized

Flag indicating if physical hardware is ready

◆ init_ref_count

uint8_t cfn_sal_dev_composite_shared_t::init_ref_count

Number of active interfaces using this PHY

◆ phy

const cfn_sal_phy_t* cfn_sal_dev_composite_shared_t::phy

Shared physical interface handle


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