![]() |
no-OS
|
Structure representing a GMSL device handle, containing configuration parameters and diagnostic operations. This is common device structure for all gmsl devices. It contains device attributes/capabilities. More...
#include <gmsl_common.h>
Public Attributes | |
uint8_t | index |
uint16_t | part_id |
uint8_t | rev_id |
char | dev_name [50] |
struct no_os_i2c_desc * | i2c_desc |
struct gmsl_dev * | linked_devs [4] |
void * | dev_cap |
void * | dev_config |
void * | dev_state |
void * | dev_diag |
Structure representing a GMSL device handle, containing configuration parameters and diagnostic operations. This is common device structure for all gmsl devices. It contains device attributes/capabilities.
void* gmsl_dev::dev_cap |
Part specific handle for capability
void* gmsl_dev::dev_config |
Part specific handle for configuration
void* gmsl_dev::dev_diag |
Part specific handle for diagnostis handle
char gmsl_dev::dev_name[50] |
Fixed size string holder for driver name
void* gmsl_dev::dev_state |
Part specific handle for real-time state variables
struct no_os_i2c_desc* gmsl_dev::i2c_desc |
No-os i2c descriptor with device address
uint8_t gmsl_dev::index |
GMSL Serializer device index
struct gmsl_dev* gmsl_dev::linked_devs[4] |
List of handles for linked devices
uint16_t gmsl_dev::part_id |
GMSL device id or part id
uint8_t gmsl_dev::rev_id |
GMSL Serializer revision id