[−][src]Type Definition mynewt::hw::sensor::sensor_set_config_func_t
type sensor_set_config_func_t = Option<unsafe extern "C" fn(arg1: *mut sensor, arg2: *mut c_void) -> c_int>;
Send a new configuration register set to the sensor.
sensor
: Ptr to the sensor-specific stucturearg
: Ptr to the sensor-specific configuration structure
Return: 0 on success, non-zero error code on failure.