[][src]Struct mynewt::hw::sensor::bindings::sensor_driver

#[repr(C)]
pub struct sensor_driver { pub sd_read: sensor_read_func_t, pub sd_get_config: sensor_get_config_func_t, pub sd_set_config: sensor_set_config_func_t, pub sd_set_trigger_thresh: sensor_set_trigger_thresh_t, pub sd_clear_low_trigger_thresh: sensor_clear_trigger_thresh_t, pub sd_clear_high_trigger_thresh: sensor_clear_trigger_thresh_t, pub sd_set_notification: sensor_set_notification_t, pub sd_unset_notification: sensor_unset_notification_t, pub sd_handle_interrupt: sensor_handle_interrupt_t, pub sd_reset: sensor_reset_t, }

Fields

sd_read: sensor_read_func_tsd_get_config: sensor_get_config_func_tsd_set_config: sensor_set_config_func_tsd_set_trigger_thresh: sensor_set_trigger_thresh_tsd_clear_low_trigger_thresh: sensor_clear_trigger_thresh_tsd_clear_high_trigger_thresh: sensor_clear_trigger_thresh_tsd_set_notification: sensor_set_notification_tsd_unset_notification: sensor_unset_notification_tsd_handle_interrupt: sensor_handle_interrupt_tsd_reset: sensor_reset_t

Trait Implementations

impl Default for sensor_driver[src]

Auto Trait Implementations

impl Send for sensor_driver

impl Sync for sensor_driver

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]