Type Alias rp2040_pac::sio::gpio_oe::W
source · pub type W = W<GPIO_OE_SPEC>;
Expand description
Register GPIO_OE
writer
Aliased Type§
struct W { /* private fields */ }
Implementations§
source§impl W
impl W
sourcepub fn gpio_oe(&mut self) -> GPIO_OE_W<'_, GPIO_OE_SPEC>
pub fn gpio_oe(&mut self) -> GPIO_OE_W<'_, GPIO_OE_SPEC>
Bits 0:29 - Set output enable (1/0 -> output/input) for GPIO0…29.
Reading back gives the last value written.
If core 0 and core 1 both write to GPIO_OE 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.