rp2040_pac::xip_ssi::imr

Type Alias 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