[][src]Struct mynewt::libs::mynewt_rust::sensor_temp_raw_data

#[repr(C, packed)]
pub struct sensor_temp_raw_data { pub strd_temp_raw: u32, pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>, }

Represents a single temperature sensor raw value

Fields

strd_temp_raw: u32

Raw temp from STM32 Internal Temp Sensor is 0 to 4095

_bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>

Methods

impl sensor_temp_raw_data[src]

pub fn strd_temp_raw_is_valid(&self) -> u8[src]

pub fn set_strd_temp_raw_is_valid(&mut self, val: u8)[src]

pub fn new_bitfield_1(
    strd_temp_raw_is_valid: u8
) -> __BindgenBitfieldUnit<[u8; 1], u8>
[src]

Trait Implementations

impl Default for sensor_temp_raw_data[src]

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]