[−][src]Function mynewt::hw::sensor::get_temp_raw_data
pub unsafe extern "C" fn get_temp_raw_data(
sensor_data: sensor_data_ptr,
dest: *mut sensor_temp_raw_data
) -> i32
Interpret sensor_data
as a sensor_temp_raw_data
struct that contains raw temp.
Copy the sensor data into dest
. Return 0 if successful.
C API: int get_temp_raw_data(void *sensor_data, struct sensor_temp_raw_data *dest)