Type Alias rp2040_pac::sio::gpio_hi_out::R

source ·
pub type R = R<GPIO_HI_OUT_SPEC>;
Expand description

Register GPIO_HI_OUT reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn gpio_hi_out(&self) -> GPIO_HI_OUT_R

Bits 0:5 - Set output level (1/0 -> high/low) for QSPI IO0…5.
Reading back gives the last value written, NOT the input value from the pins.
If core 0 and core 1 both write to GPIO_HI_OUT simultaneously (or to a SET/CLR/XOR alias),
the result is as though the write from core 0 took place first,
and the write from core 1 was then applied to that intermediate result.