Type Alias riot_sys::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