OpenBIC
OpenSource Bridge-IC
_ina230_init_arg Struct Reference

#include <sensor.h>

Public Attributes

union {
   uint16_t   value
 
   struct {
      uint16_t   MODE: 3
 
      uint16_t   VSH_CT: 3
 
      uint16_t   VBUS_CT: 3
 
      uint16_t   AVG: 3
 
      uint16_t   reserved: 3
 
      uint16_t   RST: 1
 
   } 
 
config
 
double r_shunt
 
double alert_value
 
union {
   uint16_t   value
 
   struct {
      uint16_t   LEN: 1
 
      uint16_t   APOL: 1
 
      uint16_t   OVF: 1
 
      uint16_t   CVRF: 1
 
      uint16_t   AFF: 1
 
      uint16_t   reserved: 5
 
      uint16_t   CNVR: 1
 
      uint16_t   POL: 1
 
      uint16_t   BUL: 1
 
      uint16_t   BOL: 1
 
      uint16_t   SUL: 1
 
      uint16_t   SOL: 1
 
   } 
 
alt_cfg
 
double i_max
 
double cur_lsb
 
double pwr_lsb
 
bool is_init
 

Member Data Documentation

◆ AFF

uint16_t _ina230_init_arg::AFF

◆ alert_value

double _ina230_init_arg::alert_value

◆ 

union { ... } _ina230_init_arg::alt_cfg

◆ APOL

uint16_t _ina230_init_arg::APOL

◆ AVG

uint16_t _ina230_init_arg::AVG

◆ BOL

uint16_t _ina230_init_arg::BOL

◆ BUL

uint16_t _ina230_init_arg::BUL

◆ CNVR

uint16_t _ina230_init_arg::CNVR

◆ 

union { ... } _ina230_init_arg::config

◆ cur_lsb

double _ina230_init_arg::cur_lsb

◆ CVRF

uint16_t _ina230_init_arg::CVRF

◆ i_max

double _ina230_init_arg::i_max

◆ is_init

bool _ina230_init_arg::is_init

◆ LEN

uint16_t _ina230_init_arg::LEN

◆ MODE

uint16_t _ina230_init_arg::MODE

◆ OVF

uint16_t _ina230_init_arg::OVF

◆ POL

uint16_t _ina230_init_arg::POL

◆ pwr_lsb

double _ina230_init_arg::pwr_lsb

◆ r_shunt

double _ina230_init_arg::r_shunt

◆ reserved

uint16_t _ina230_init_arg::reserved

◆ RST

uint16_t _ina230_init_arg::RST

◆ SOL

uint16_t _ina230_init_arg::SOL

◆ SUL

uint16_t _ina230_init_arg::SUL

◆ value

uint16_t _ina230_init_arg::value

◆ VBUS_CT

uint16_t _ina230_init_arg::VBUS_CT

◆ VSH_CT

uint16_t _ina230_init_arg::VSH_CT

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