Module rp2040_hal::sio [−][src]
Expand description
Single Cycle Input and Output (SIO)
To be able to partition parts of the SIO block to other modules:
use rp2040_hal::{gpio::Pins, pac, sio::Sio}; let mut peripherals = pac::Peripherals::take().unwrap(); let sio = Sio::new(peripherals.SIO);
And then for example
let pins = Pins::new(peripherals.IO_BANK0, peripherals.PADS_BANK0, sio.gpio_bank0, &mut peripherals.RESETS);
Structs
Result of divide/modulo operation
Marker struct for ownership of divide/modulo module
Struct containing ownership markers for managing ownership of the SIO registers.
Marker struct for ownership of SIO gpio bank0
Marker struct for ownership of SIO gpio qspi