[−][src]Type Definition mynewt::libs::mynewt_rust::sensor_notifier_func_t
type sensor_notifier_func_t = Option<unsafe extern "C" fn(arg1: *mut sensor, arg2: *mut c_void, arg3: sensor_event_type_t) -> c_int>;
Callback for event notifications.
sensor: The sensor that observed the eventarg: The opaque argument provided during registrationevent: The sensor event type that was observed