INA3221 device handle struct. More...
#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... | ||
} | ||
}; | ||
void* ina3221_t::alert_callback_arguments[INA3221_NUM_ALERTS] |
ina3221_alert_cb_t ina3221_t::alert_callbacks[INA3221_NUM_ALERTS] |
void* ina3221_t::arg_crit_cb |
void* ina3221_t::arg_pv_cb |
void* ina3221_t::arg_tc_cb |
void* ina3221_t::arg_warn_cb |
ina3221_alert_cb_t ina3221_t::crit_cb |
ina3221_params_t ina3221_t::params |
ina3221_alert_cb_t ina3221_t::pv_cb |
ina3221_alert_cb_t ina3221_t::tc_cb |
ina3221_alert_cb_t ina3221_t::warn_cb |