[−][src]Function mynewt::libs::mynewt_rust::get_temp_data
pub unsafe extern "C" fn get_temp_data(
sensor_data: *mut c_void,
dest: *mut sensor_temp_data
) -> c_int
Interpret sensor_data
as a sensor_temp_data
struct that contains computed temp.
Copy the sensor data into dest
. Return 0 if successful.