Type Alias rp2040_pac::sio::gpio_out_xor::W

source ·
pub type W = W<GPIO_OUT_XOR_SPEC>;
Expand description

Register GPIO_OUT_XOR writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn gpio_out_xor(&mut self) -> GPIO_OUT_XOR_W<'_, GPIO_OUT_XOR_SPEC>

Bits 0:29 - Perform an atomic bitwise XOR on GPIO_OUT, i.e. GPIO_OUT ^= wdata

source

pub unsafe fn bits(&mut self, bits: u32) -> &mut Self

Writes raw bits to the register.

§Safety

Passing incorrect value can cause undefined behaviour. See reference manual