Module rp2040_hal::pio
source · Expand description
Programmable IO (PIO) See Chapter 3 of the datasheet for more details.
Structs§
- Handle to a program that was placed in the PIO’s instruction memory.
- PIO Interrupt controller.
- Provides easy access for decoding PIO’s interrupt state.
- Programmable IO Block
- Builder to deploy a fully configured PIO program on one of the state machines.
- Marker for an initialized and running state machine.
- PIO RX FIFO handle.
- First state machine.
- Second state machine.
- Third state machine.
- Fourth state machine.
- PIO State Machine with an associated program.
- Group of 2 state machines, which can be started/stopped synchronously.
- Group of 3 state machines, which can be started/stopped synchronously.
- Group of 4 state machines, which can be started/stopped synchronously.
- Marker for an initialized, but stopped state machine.
- Type which, once destructed, restarts the clock dividers for all selected state machines, effectively synchronizing them.
- PIO TX FIFO handle.
- PIO State Machine (uninitialized, without a program).
Enums§
- Buffer sharing configuration.
- Errors that occurred during
PIO::install
. - Comparison used for
mov x, status
instruction. - Pin direction in the PIO
- Pin State in the PIO
- Id for the PIO’s IRQ
- Shift direction for input and output shifting.
Traits§
- PIO Instance
- State machine identifier (without a specified PIO block).
- Trait to identify a single state machine, as a generic type parameter to
UninitStateMachine
,InitStateMachine
, etc.
Type Aliases§
- First state machine of the first PIO block.
- Second state machine of the first PIO block.
- Third state machine of the first PIO block.
- Fourth state machine of the first PIO block.
- First state machine of the second PIO block.
- Second state machine of the second PIO block.
- Third state machine of the second PIO block.
- Fourth state machine of the second PIO block.