Skip to main content

Module gpio

Module gpio 

Source
Expand description

General purpose input and output.

Modules§

dir
Direction of GPIO pins.
dirclr
DIR clear register.
dirset
DIR set register.
in_
Read GPIO port.
out
Write GPIO port.
outclr
Clear individual bits in GPIO port.
outset
Set individual bits in GPIO port.
pin_cnf
Configuration of GPIO pins.

Structs§

RegisterBlock
Register block

Type Aliases§

DIR
DIR (rw) register accessor: an alias for Reg<DIR_SPEC>
DIRCLR
DIRCLR (rw) register accessor: an alias for Reg<DIRCLR_SPEC>
DIRSET
DIRSET (rw) register accessor: an alias for Reg<DIRSET_SPEC>
IN
IN (r) register accessor: an alias for Reg<IN_SPEC>
OUT
OUT (rw) register accessor: an alias for Reg<OUT_SPEC>
OUTCLR
OUTCLR (rw) register accessor: an alias for Reg<OUTCLR_SPEC>
OUTSET
OUTSET (rw) register accessor: an alias for Reg<OUTSET_SPEC>
PIN_CNF
PIN_CNF (rw) register accessor: an alias for Reg<PIN_CNF_SPEC>