[][src]Struct mynewt::hw::sensor::sensor_temp_raw_data

#[repr(C, packed)]
pub struct sensor_temp_raw_data { pub strd_temp_raw: u32, pub strd_temp_raw_is_valid: u8, }

Represents a single temperature sensor raw value. Must sync with libs/custom_sensor/include/custom_sensor/custom_sensor.h

Fields

strd_temp_raw: u32

Raw temp from STM32 Internal Temp Sensor is 0 to 4095.

strd_temp_raw_is_valid: u8

1 if data is valid

Auto Trait Implementations

impl Send for sensor_temp_raw_data

impl Sync for sensor_temp_raw_data

Blanket Implementations

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]