Expand description
Low-level GPIO operations.
See crate::button and crate::led for higher-level GPIO operations.
Modules§
- configure
- Module of
configure. - count
- Module of
count. - last_
write - Module of
last_write. - read
- Module of
read. - register
- Module of
register. - unregister
- Module of
unregister. - write
- Module of
write.
Enums§
- Event
- GPIO events.
- Input
Config - Input configuration.
- Output
Config - Output configuration.
Functions§
- configure⚠
Non- native - Configures a GPIO.
- count⚠
Non- native - Returns how many GPIOs are on the device.
- last_
write ⚠Non- native - Returns the last logical value written to a GPIO.
- read⚠
Non- native - Reads from a GPIO.
- register⚠
Non- native - Register a handler for gpio events.
- unregister⚠
Non- native - Unregister handlers for gpio events.
- write⚠
Non- native - Writes to a GPIO.