OpenBIC
OpenSource Bridge-IC
_ina233_init_arg_ Struct Reference

#include <sensor.h>

Public Attributes

bool is_init
 
float current_lsb
 
float r_shunt
 
bool mfr_config_init
 
union {
   uint16_t   value
 
   struct {
      uint16_t   operating_mode: 3
 
      uint16_t   shunt_volt_time: 3
 
      uint16_t   bus_volt_time: 3
 
      uint16_t   aver_mode: 3
 
      uint16_t   rsvd: 4
 
   } 
 
mfr_config
 
bool is_need_mfr_device_config_init
 
union {
   uint8_t   value
 
   struct {
      uint8_t   apol: 1
 
      uint8_t   alert_behavior: 1
 
      uint8_t   ein_autoclear: 1
 
      uint8_t   i2c_filt: 1
 
      uint8_t   ein_accum: 2
 
      uint8_t   rsvd: 1
 
      uint8_t   ein_status: 1
 
   } 
 
mfr_device_config
 
bool is_need_set_alert_threshold
 
uint16_t iout_oc_warn_limit
 
uint16_t vin_ov_warn_limit
 
uint16_t vin_uv_warn_limit
 
uint16_t pin_op_warn_limit
 

Member Data Documentation

◆ alert_behavior

uint8_t _ina233_init_arg_::alert_behavior

◆ apol

uint8_t _ina233_init_arg_::apol

◆ aver_mode

uint16_t _ina233_init_arg_::aver_mode

◆ bus_volt_time

uint16_t _ina233_init_arg_::bus_volt_time

◆ current_lsb

float _ina233_init_arg_::current_lsb

◆ ein_accum

uint8_t _ina233_init_arg_::ein_accum

◆ ein_autoclear

uint8_t _ina233_init_arg_::ein_autoclear

◆ ein_status

uint8_t _ina233_init_arg_::ein_status

◆ i2c_filt

uint8_t _ina233_init_arg_::i2c_filt

◆ iout_oc_warn_limit

uint16_t _ina233_init_arg_::iout_oc_warn_limit

◆ is_init

bool _ina233_init_arg_::is_init

◆ is_need_mfr_device_config_init

bool _ina233_init_arg_::is_need_mfr_device_config_init

◆ is_need_set_alert_threshold

bool _ina233_init_arg_::is_need_set_alert_threshold

◆ 

union { ... } _ina233_init_arg_::mfr_config

◆ mfr_config_init

bool _ina233_init_arg_::mfr_config_init

◆ 

union { ... } _ina233_init_arg_::mfr_device_config

◆ operating_mode

uint16_t _ina233_init_arg_::operating_mode

◆ pin_op_warn_limit

uint16_t _ina233_init_arg_::pin_op_warn_limit

◆ r_shunt

float _ina233_init_arg_::r_shunt

◆ rsvd [1/2]

uint16_t _ina233_init_arg_::rsvd

◆ rsvd [2/2]

uint8_t _ina233_init_arg_::rsvd

◆ shunt_volt_time

uint16_t _ina233_init_arg_::shunt_volt_time

◆ value [1/2]

uint16_t _ina233_init_arg_::value

◆ value [2/2]

uint8_t _ina233_init_arg_::value

◆ vin_ov_warn_limit

uint16_t _ina233_init_arg_::vin_ov_warn_limit

◆ vin_uv_warn_limit

uint16_t _ina233_init_arg_::vin_uv_warn_limit

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