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

#[repr(C)]pub struct sensor_itf {
    pub si_type: u8,
    pub si_num: u8,
    pub si_cs_pin: u8,
    pub si_addr: u16,
    pub si_lock: *mut os_mutex,
    pub si_low_pin: u8,
    pub si_high_pin: u8,
    pub si_ints: [sensor_int; 2],
}

Fields

si_type: u8si_num: u8si_cs_pin: u8si_addr: u16si_lock: *mut os_mutexsi_low_pin: u8si_high_pin: u8si_ints: [sensor_int; 2]

Trait Implementations

impl Default for sensor_itf[src]

Auto Trait Implementations

impl !Send for sensor_itf

impl !Sync for sensor_itf

impl Unpin for sensor_itf

Blanket Implementations

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

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

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

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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, 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.