Struct rp2040_hal::sio::Sio

source ·
pub struct Sio {
    pub gpio_bank0: SioGpioBank0,
    pub gpio_qspi: SioGpioQspi,
    pub hwdivider: HwDivider,
    pub fifo: SioFifo,
    pub interp0: Interp0,
    pub interp1: Interp1,
    /* private fields */
}
Expand description

Struct containing ownership markers for managing ownership of the SIO registers.

Fields§

§gpio_bank0: SioGpioBank0

GPIO Bank 0 registers

§gpio_qspi: SioGpioQspi

GPIO QSPI registers

§hwdivider: HwDivider

8-cycle hardware divide/modulo module

§fifo: SioFifo

Inter-core FIFO

§interp0: Interp0

Interpolator 0

§interp1: Interp1

Interpolator 1

Implementations§

Create Sio from the PAC.

Returns whether we are running on Core 0 (0) or Core 1 (1).

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.