Module gpio

Module gpio 

Source
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.
InputConfig
Input configuration.
OutputConfig
Output configuration.

Functions§

configureNon-native
Configures a GPIO.
countNon-native
Returns how many GPIOs are on the device.
last_writeNon-native
Returns the last logical value written to a GPIO.
readNon-native
Reads from a GPIO.
registerNon-native
Register a handler for gpio events.
unregisterNon-native
Unregister handlers for gpio events.
writeNon-native
Writes to a GPIO.