riot_sys

Type Alias saul_reg_t

Source
pub type saul_reg_t = saul_reg;
Expand description

@brief SAUL registry entry

Aliased Type§

struct saul_reg_t {
    pub next: *mut saul_reg,
    pub dev: *mut c_void,
    pub name: *const u8,
    pub driver: *const saul_driver_t,
}

Fields§

§next: *mut saul_reg

< pointer to the next device

§dev: *mut c_void

< pointer to the device descriptor

§name: *const u8

< string identifier for the device

§driver: *const saul_driver_t

< the devices read callback

Layout§

Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.

Size: 16 bytes