#[unsafe(no_mangle)]pub unsafe extern "C" fn pamoja_trigger_above(
threshold: f32,
hysteresis: f32,
) -> *mut PamojaTriggerExpand description
Creates a trigger that fires when a reading rises above the line and clears once it has fallen below the line by the hysteresis.
§Returns
A handle the caller must release with pamoja_trigger_free.
§Safety
The returned handle must be freed exactly once.