Type Alias esp32h2::gpio::status::W

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

Register STATUS writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn interrupt(&mut self) -> INTERRUPT_W<'_, STATUS_SPEC, 0>

Bits 0:31 - GPIO interrupt status register for GPIO0-31

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