embassy-rp

Crates

git

Versions

rp2040

Flavors

Module pio

Source
Expand description

PIO driver.

Modules§

program
Programmable Input/Output

Structs§

Common
PIO handle.
Config
PIO config.
ExecConfig
PIO Execution config.
FifoInFuture
Future that waits for RX-FIFO to become readable.
FifoOutFuture
Future that waits for TX-FIFO to become writable
InstanceMemory
Memory of PIO instance.
InterruptHandler
Interrupt handler for PIO.
Irq
Type representing a PIO interrupt.
IrqFlags
Interrupt flags for a PIO instance.
IrqFuture
Future that waits for IRQ
LoadedProgram
A loaded PIO program.
Pin
Type representing a PIO pin.
PinConfig
PIO pin config.
Pio
An instance of the PIO driver.
PioBatch
Represents multiple state machines in a single type.
ShiftConfig
PIO shift register config for input or output.
State
Representation of the PIO state keeping a record of which pins are assigned to each PIO.
StateMachine
A type representing a single PIO state machine.
StateMachineRx
Type representing a state machine RX FIFO.
StateMachineTx
Type representing a state machine TX FIFO.
Wakers
Wakers for interrupts and FIFOs.

Enums§

Direction
Pin direction.
FifoJoin
FIFO config.
LoadError
Errors loading a PIO program.
ShiftDirection
Shift direction.
StatusSource
Which fifo level to use in status check.

Traits§

Instance
PIO instance.
PioPin
PIO pin.