Type Alias esp32h2::pau::int_ena::W

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

Register INT_ENA writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn done_int_ena(&mut self) -> DONE_INT_ENA_W<'_, INT_ENA_SPEC, 0>

Bit 0 - backup done flag

source

pub fn error_int_ena(&mut self) -> ERROR_INT_ENA_W<'_, INT_ENA_SPEC, 1>

Bit 1 - error flag

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