Struct riot_sys::saul_driver_t[][src]

#[repr(C)]
pub struct saul_driver_t { pub read: saul_read_t, pub write: saul_write_t, pub type_: u8, }
Expand description

@brief Definition of the RIOT actuator/sensor interface

Fields

read: saul_read_t

< read function pointer

write: saul_write_t

< write function pointer

type_: u8

< device class the device belongs to

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.