[][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 sensor
  • low_thresh: The sensor low threshold
  • high_thresh: The sensor high threshold
  • arg: Ptr to data