Type Alias rp2040_pac::xip_ssi::imr::W

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

Register IMR writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn txeim(&mut self) -> TXEIM_W<'_, IMR_SPEC>

Bit 0 - Transmit FIFO empty interrupt mask

source

pub fn txoim(&mut self) -> TXOIM_W<'_, IMR_SPEC>

Bit 1 - Transmit FIFO overflow interrupt mask

source

pub fn rxuim(&mut self) -> RXUIM_W<'_, IMR_SPEC>

Bit 2 - Receive FIFO underflow interrupt mask

source

pub fn rxoim(&mut self) -> RXOIM_W<'_, IMR_SPEC>

Bit 3 - Receive FIFO overflow interrupt mask

source

pub fn rxfim(&mut self) -> RXFIM_W<'_, IMR_SPEC>

Bit 4 - Receive FIFO full interrupt mask

source

pub fn mstim(&mut self) -> MSTIM_W<'_, IMR_SPEC>

Bit 5 - Multi-master contention interrupt mask

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