Expand description
Most devices in Zephyr operate on a struct device
. This provides untyped access to
devices. We want to have stronger typing in the Zephyr interfaces, so most of these types
will be wrapped in another structure. This wraps a Gpio device, and provides methods to
most of the operations on gpios.
Safey: In general, even just using gpio pins is unsafe in Zephyr. The gpio drivers are used pervasively throughout Zephyr device drivers. As such, most of the calls in this module are unsafe.