doc/syscalls/60001_humidity.md
The humidity driver allows a process to read the ambient humidity from a sensor. Humidity is reported in percent at a precision of hundredths of a percent.
0Description: Does the driver exist?
Argument 1: unused
Argument 2: unused
Returns: Success if it exists, otherwise NODEVICE
1Description: Initiate a sensor reading. When a reading is ready, a
callback will be delivered if the process has subscribed.
Argument 1: unused
Argument 2: unused
Returns: BUSY if a reading is already pending, NOMEM if there
isn't sufficient grant memory available, or Ok(()) if the sensor reading
was initiated successfully.
0Description: Subscribe to humidity readings.
Callback signature: The callback receives a single argument, the humidity in hundredths of percent.
Returns: Ok(()) if the subscribe was successful or NOMEM if the driver failed to allocate memory to store the callback.