Skip to main content

Crate cu_embedded_registry

Crate cu_embedded_registry 

Source

Constants§

MAX_CS_SLOTS
MAX_DELAY_SLOTS
MAX_SERIAL_SLOTS
MAX_SPI_SLOTS

Functions§

cs_slot_status
Get the chip-select slot status for debugging purposes.
delay_slot_status
Get the delay slot status for debugging purposes.
register
Register a serial port at the specified slot index.
register_cs
Register a chip-select output pin implementing embedded-hal 1.0 OutputPin.
register_delay
Register a delay provider implementing embedded-hal 1.0 DelayNs.
register_spi
Register an SPI bus that implements embedded-hal 1.0 SpiBus.
slot_status
Get the serial slot status for debugging purposes.
spi_slot_status
Get the SPI slot status for debugging purposes.
take
Take (consume) a serial port from the specified slot index.
take_cs
Consume a chip-select output pin from the specified slot index.
take_delay
Consume a delay provider from the specified slot index.
take_spi
Consume an SPI bus from the specified slot index.