[−][src]Type Definition mynewt::libs::mynewt_rust::sensor_trigger_cmp_func_t
type sensor_trigger_cmp_func_t = Option<unsafe extern "C" fn(arg1: sensor_type_t, arg2: *mut sensor_data_t, arg3: *mut sensor_data_t, arg4: *mut c_void) -> c_int>;
Callback for trigger compare functions.
type
: Type of sensorlow_thresh
: The sensor low thresholdhigh_thresh
: The sensor high thresholdarg
: Ptr to data