Function pamoja_ina226_active_alert_function
Source #[unsafe(no_mangle)]
pub unsafe extern "C" fn pamoja_ina226_active_alert_function(
mask: PamojaIna226MaskEnable,
out_function: *mut PamojaIna226AlertFunction,
) -> bool
Expand description
Returns the alert function an INA226 pin actually responds to.
§Returns
true when one limit function is selected, with *out_function set to it;
false when none is, so the pin only ever signals a completed conversion.
§Safety
out_function must point to a writable PamojaIna226AlertFunction.