pub type _bindgen_ty_14 = c_uchar;
Expand description
@name Definition of device classes
This list contains a collections of available device classes. Each device must be part of one, but can be part of multiple of these classes. When belonging to more than one class, a device must however expose one driver for each class it belongs to, and it has to register each driver with a separate entry at the SAUL registry.
Classes are identified by 8-bit unsigned integers.
For searching and filtering purposes, the device classes are further split into top-level categories: sensors and actuators. For identification, the two most significant bits of a class specify the device category (SAUL category ID) and the six least significant bits identify the class within its category (SAUL intra-category ID): Therefore, all actuator classes start with 0b01xxxxxx, all sensor classes start with 0b10xxxxxx.
This list is not exhaustive, extend to your needs! @{ / /** @brief Definition of SAUL categories
These entries are meant to be combined via bitwise or with the six least significant bits identifying the class within its category to retrieve the class ID.
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: 1 byte