[−][src]Struct mynewt::hw::sensor::sensor
Fields
s_dev: *mut os_dev
s_lock: os_mutex
s_types: sensor_type_t
s_mask: sensor_type_t
s_poll_rate: u32
Poll rate in MS for this sensor.
s_next_run: u32
s_funcs: *mut sensor_driver
s_sts: sensor_timestamp
s_itf: sensor_itf
s_interrupt_evt: os_event
s_listener_list: sensor__bindgen_ty_1
s_err_fn: sensor_error_func_t
s_err_arg: *mut c_void
s_notifier_list: sensor__bindgen_ty_2
s_type_traits_list: sensor__bindgen_ty_3
s_next: sensor__bindgen_ty_4
Trait Implementations
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
[src]
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,