#[unsafe(no_mangle)]pub unsafe extern "C" fn pamoja_tmp117_alerts(
sensor: *mut PamojaTmp117,
out_alerts: *mut PamojaTmp117Alerts,
) -> PamojaStatusExpand description
Reads the alert flags: whether a result since the last call was above the high limit or below the low limit, including results the driver’s own reads saw.
§Arguments
sensor- the driver.out_alerts- receives the flags.
§Returns
PamojaStatus::Ok, PamojaStatus::InvalidArgument for a null argument, or
PamojaStatus::Io when the bus fails.
§Safety
sensor must be a live handle or null, and out_alerts a writable pointer or null.