Loading...
Searching...
No Matches

INA3221 device handle struct. More...

Detailed Description

INA3221 device handle struct.

Definition at line 321 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. More...
 
      ina3221_alert_cb_t   crit_cb 
 Critical alert callback: executed when CRT is pulled low. More...
 
      ina3221_alert_cb_t   tc_cb 
 Timing control alert callback: executed when TC is pulled low. More...
 
      ina3221_alert_cb_t   pv_cb 
 Power Valid alert callback: executed when PV is pulled low. More...
 
   }  
 
   struct { 
 
      ina3221_alert_cb_t   alert_callbacks [INA3221_NUM_ALERTS
 Array to access alert callbacks via an index. More...
 
   }  
 
};  
 
union { 
 
   struct { 
 
      void *   arg_warn_cb 
 Argument for Warning alert callback. More...
 
      void *   arg_crit_cb 
 Argument for Critical alert callback. More...
 
      void *   arg_tc_cb 
 Argument for Timing control alert callback. More...
 
      void *   arg_pv_cb 
 Argument for Power Valid alert callback. More...
 
   }  
 
   struct { 
 
      void *   alert_callback_arguments [INA3221_NUM_ALERTS
 Array to access alert callback arguments via an index. More...
 
   }  
 
};  
 

Field Documentation

◆ alert_callback_arguments

void* ina3221_t::alert_callback_arguments[INA3221_NUM_ALERTS]

Array to access alert callback arguments via an index.

Definition at line 343 of file ina3221.h.

◆ alert_callbacks

ina3221_alert_cb_t ina3221_t::alert_callbacks[INA3221_NUM_ALERTS]

Array to access alert callbacks via an index.

Definition at line 332 of file ina3221.h.

◆ arg_crit_cb

void* ina3221_t::arg_crit_cb

Argument for Critical alert callback.

Definition at line 338 of file ina3221.h.

◆ arg_pv_cb

void* ina3221_t::arg_pv_cb

Argument for Power Valid alert callback.

Definition at line 340 of file ina3221.h.

◆ arg_tc_cb

void* ina3221_t::arg_tc_cb

Argument for Timing control alert callback.

Definition at line 339 of file ina3221.h.

◆ arg_warn_cb

void* ina3221_t::arg_warn_cb

Argument for Warning alert callback.

Definition at line 337 of file ina3221.h.

◆ crit_cb

ina3221_alert_cb_t ina3221_t::crit_cb

Critical alert callback: executed when CRT is pulled low.

Definition at line 327 of file ina3221.h.

◆ params

ina3221_params_t ina3221_t::params

Device parameters.

Definition at line 322 of file ina3221.h.

◆ pv_cb

ina3221_alert_cb_t ina3221_t::pv_cb

Power Valid alert callback: executed when PV is pulled low.

Definition at line 329 of file ina3221.h.

◆ tc_cb

ina3221_alert_cb_t ina3221_t::tc_cb

Timing control alert callback: executed when TC is pulled low.

Definition at line 328 of file ina3221.h.

◆ warn_cb

ina3221_alert_cb_t ina3221_t::warn_cb

Warning alert callback: executed when WRN is pulled low.

Definition at line 326 of file ina3221.h.


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