@ SAUL_ACT_ID_SERVO
actuator: servo motor
@ SAUL_SENSE_ID_PH
sensor: pH
@ SAUL_SENSE_ID_CHARGE
sensor: coulomb counter
@ SAUL_SENSE_NUMOF
Number of actuators supported.
@ SAUL_ACT_ANY
any actuator - wildcard
@ SAUL_SENSE_BTN
sensor: simple button
@ SAUL_SENSE_ACCEL
sensor: accelerometer
@ SAUL_SENSE_LIGHT
sensor: light
int saul_notsup(const void *dev, phydat_t *dat)
Default not supported function.
@ SAUL_ACT_ID_SWITCH
actuator: simple on/off switch
@ SAUL_ID_MASK
Bitmask to obtain the intra-category ID.
@ SAUL_ACT_SERVO
actuator: servo motor
@ SAUL_SENSE_CURRENT
sensor: ammeter
@ SAUL_SENSE_COUNT
sensor: pulse counter
@ SAUL_SENSE_ID_ANY
any sensor - wildcard
@ SAUL_SENSE_ID_ANALOG
sensor: raw analog value
@ SAUL_SENSE_ID_OBJTEMP
sensor: object temperature
@ SAUL_CAT_ACT
Actuator device class.
@ SAUL_ACT_ID_LED_RGB
actuator: RGB LED
@ SAUL_SENSE_ID_SIZE
sensor: size
@ SAUL_SENSE_ID_MAG
sensor: magnetometer
@ SAUL_SENSE_GAS
sensor: Gas common
saul_read_t read
read function pointer
@ SAUL_ACT_ID_ANY
any actuator - wildcard
@ SAUL_SENSE_ID_CO2
sensor: CO2 Gas
@ SAUL_ACT_DIMMER
actuator: dimmable switch
@ SAUL_SENSE_CAPACITANCE
sensor: capacitance
@ SAUL_SENSE_ID_COUNT
sensor: pulse counter
@ SAUL_SENSE_ID_LIGHT
sensor: light
@ SAUL_ACT_NUMOF
Number of actuators supported.
@ SAUL_SENSE_RSSI
sensor: RSSI
@ SAUL_SENSE_ID_ACCEL
sensor: accelerometer
@ SAUL_SENSE_ID_GYRO
sensor: gyroscope
@ SAUL_SENSE_CHARGE
sensor: coulomb counter
@ SAUL_SENSE_PM
sensor: particulate matter
Generic data structure for expressing physical values.
@ SAUL_SENSE_ID_PRESS
sensor: pressure
@ SAUL_SENSE_DISTANCE
sensor: distance
saul_write_t write
write function pointer
@ SAUL_SENSE_ID_PM
sensor: particulate matter
@ SAUL_SENSE_ID_CAPACITANCE
sensor: capacitance
@ SAUL_SENSE_ANY
any sensor - wildcard
@ SAUL_SENSE_ID_GAS
sensor: Gas common
void saul_init_devs(void)
Initialize all available SAUL drivers.
@ SAUL_SENSE_VOLTAGE
sensor: voltage
@ SAUL_ACT_LED_RGB
actuator: RGB LED
@ SAUL_ACT_MOTOR
actuator: motor
Definition of the RIOT actuator/sensor interface.
@ SAUL_SENSE_TVOC
sensor: TVOC Gas
@ SAUL_SENSE_SIZE
sensor: size
int(* saul_write_t)(const void *dev, phydat_t *data)
Write a value (a set of values) to a device.
@ SAUL_SENSE_ID_BTN
sensor: simple button
int(* saul_read_t)(const void *dev, phydat_t *res)
Read a value (a set of values) from a device.
@ SAUL_SENSE_ID_TVOC
sensor: TVOC Gas
@ SAUL_SENSE_UV
sensor: UV index
@ SAUL_SENSE_OBJTEMP
sensor: object temperature
@ SAUL_SENSE_HUM
sensor: humidity
@ SAUL_SENSE_COLOR
sensor: (light) color
@ SAUL_CLASS_ANY
any device - wildcard
@ SAUL_SENSE_ID_HUM
sensor: humidity
@ SAUL_SENSE_PROXIMITY
sensor: proximity
@ SAUL_SENSE_ID_DISTANCE
sensor: distance
@ SAUL_SENSE_ID_COLOR
sensor: (light) color
@ SAUL_SENSE_POWER
sensor: power
@ SAUL_SENSE_MAG
sensor: magnetometer
@ SAUL_SENSE_ID_CURRENT
sensor: ammeter
@ SAUL_CAT_UNDEF
device class undefined
uint8_t type
device class the device belongs to
@ SAUL_SENSE_ID_OCCUP
sensor: occupancy
Generic data container for physical data interface.
const char * saul_class_to_str(const uint8_t class_id)
Helper function converts a class ID to a string.
@ SAUL_SENSE_OCCUP
sensor: occupancy
@ SAUL_CAT_SENSE
Sensor device class.
@ SAUL_ACT_ID_MOTOR
actuator: motor
@ SAUL_SENSE_ID_UV
sensor: UV index
@ SAUL_SENSE_ID_TEMP
sensor: temperature
@ SAUL_SENSE_ID_PROXIMITY
sensor: proximity
@ SAUL_CAT_MASK
Bitmask to obtain the category ID.
@ SAUL_ACT_ID_DIMMER
actuator: dimmable switch
@ SAUL_SENSE_ID_VOLTAGE
sensor: voltage
@ SAUL_SENSE_ID_RSSI
sensor: RSSI
@ SAUL_SENSE_CO2
sensor: CO2 Gas
@ SAUL_SENSE_PRESS
sensor: pressure
@ SAUL_SENSE_PH
sensor: pH
@ SAUL_SENSE_TEMP
sensor: temperature
@ SAUL_SENSE_GYRO
sensor: gyroscope
@ SAUL_SENSE_ANALOG
sensor: raw analog value
@ SAUL_ACT_SWITCH
actuator: simple on/off switch
@ SAUL_SENSE_ID_POWER
sensor: power