Module sys

Source
Expand description

Zephyr ‘sys’ module.

The zephyr-sys crate contains the direct C bindings to the Zephyr API. All of these are unsafe.

This module zephyr::sys contains thin wrappers to these C bindings, that can be used without unsafe, but as unchanged as possible.

Modules§

critical
Zephyr implementation of critical sections.
queue
Lightweight wrapper around Zephyr’s k_queue.
sync
Zephyr low-level synchronization primities.
thread
Zephyr low level threads

Constants§

K_FOREVER
Represents a timeout with an infinite delay.
K_NO_WAIT
Represents a null timeout delay.

Functions§

uptime_get
Return the current uptime of the system in ms.