INA3221 device handle struct. More...

Detailed Description

INA3221 device handle struct.

Definition at line 295 of file ina3221.h.

#include <ina3221.h>

Data Fields

ina3221_params_t params
 Device parameters.
 
union {
   struct {
      ina3221_alert_cb_t   warn_cb
 Warning alert callback: executed when WRN is pulled low.
 
      ina3221_alert_cb_t   crit_cb
 Critical alert callback: executed when CRT is pulled low.
 
      ina3221_alert_cb_t   tc_cb
 Timing control alert callback: executed when TC is pulled low.
 
      ina3221_alert_cb_t   pv_cb
 Power Valid alert callback: executed when PV is pulled low.
 
   } 
 
   struct {
      ina3221_alert_cb_t   alert_callbacks [INA3221_NUM_ALERTS]
 Array to access alert callbacks via an index.
 
   } 
 
}; 
 
union {
   struct {
      void *   arg_warn_cb
 Argument for Warning alert callback.
 
      void *   arg_crit_cb
 Argument for Critical alert callback.
 
      void *   arg_tc_cb
 Argument for Timing control alert callback.
 
      void *   arg_pv_cb
 Argument for Power Valid alert callback.
 
   } 
 
   struct {
      void *   alert_callback_arguments [INA3221_NUM_ALERTS]
 Array to access alert callback arguments via an index.
 
   } 
 
}; 
 

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