Type Alias atsame54n::dmac::prictrl0::W

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

Register PRICTRL0 writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn lvlpri0(&mut self) -> LVLPRI0_W<'_, PRICTRL0_SPEC, 0>

Bits 0:4 - Level 0 Channel Priority Number

source

pub fn qos0(&mut self) -> QOS0_W<'_, PRICTRL0_SPEC, 5>

Bits 5:6 - Level 0 Quality of Service

source

pub fn rrlvlen0(&mut self) -> RRLVLEN0_W<'_, PRICTRL0_SPEC, 7>

Bit 7 - Level 0 Round-Robin Scheduling Enable

source

pub fn lvlpri1(&mut self) -> LVLPRI1_W<'_, PRICTRL0_SPEC, 8>

Bits 8:12 - Level 1 Channel Priority Number

source

pub fn qos1(&mut self) -> QOS1_W<'_, PRICTRL0_SPEC, 13>

Bits 13:14 - Level 1 Quality of Service

source

pub fn rrlvlen1(&mut self) -> RRLVLEN1_W<'_, PRICTRL0_SPEC, 15>

Bit 15 - Level 1 Round-Robin Scheduling Enable

source

pub fn lvlpri2(&mut self) -> LVLPRI2_W<'_, PRICTRL0_SPEC, 16>

Bits 16:20 - Level 2 Channel Priority Number

source

pub fn qos2(&mut self) -> QOS2_W<'_, PRICTRL0_SPEC, 21>

Bits 21:22 - Level 2 Quality of Service

source

pub fn rrlvlen2(&mut self) -> RRLVLEN2_W<'_, PRICTRL0_SPEC, 23>

Bit 23 - Level 2 Round-Robin Scheduling Enable

source

pub fn lvlpri3(&mut self) -> LVLPRI3_W<'_, PRICTRL0_SPEC, 24>

Bits 24:28 - Level 3 Channel Priority Number

source

pub fn qos3(&mut self) -> QOS3_W<'_, PRICTRL0_SPEC, 29>

Bits 29:30 - Level 3 Quality of Service

source

pub fn rrlvlen3(&mut self) -> RRLVLEN3_W<'_, PRICTRL0_SPEC, 31>

Bit 31 - Level 3 Round-Robin Scheduling Enable

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