Type Alias atsamd51p::dmac::channel::chprilvl::W

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

Register CHPRILVL writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn prilvl(&mut self) -> PRILVL_W<'_, CHPRILVL_SPEC, 0>

Bits 0:1 - Channel Priority Level

source

pub unsafe fn bits(&mut self, bits: u8) -> &mut Self

Writes raw bits to the register.

§Safety

Passing incorrect value can cause undefined behaviour. See reference manual