Type Alias rp2040_pac::busctrl::bus_priority::W

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

Register BUS_PRIORITY writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn proc0(&mut self) -> PROC0_W<'_, BUS_PRIORITY_SPEC>

Bit 0 - 0 - low priority, 1 - high priority

source

pub fn proc1(&mut self) -> PROC1_W<'_, BUS_PRIORITY_SPEC>

Bit 4 - 0 - low priority, 1 - high priority

source

pub fn dma_r(&mut self) -> DMA_R_W<'_, BUS_PRIORITY_SPEC>

Bit 8 - 0 - low priority, 1 - high priority

source

pub fn dma_w(&mut self) -> DMA_W_W<'_, BUS_PRIORITY_SPEC>

Bit 12 - 0 - low priority, 1 - high priority

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