[][src]Type Definition mynewt::libs::mynewt_rust::sensor_set_trigger_thresh_t

type sensor_set_trigger_thresh_t = Option<unsafe extern "C" fn(arg1: *mut sensor, arg2: sensor_type_t, stt: *mut sensor_type_traits) -> c_int>;

Set the trigger and threshold values for a specific sensor for the sensor type.

Return: 0 on success, non-zero error code on failure.