Type Alias atsamd51p::evsys::prictrl::W

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

Register PRICTRL writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn pri(&mut self) -> PRI_W<'_, PRICTRL_SPEC, 0>

Bits 0:3 - Channel Priority Number

source

pub fn rren(&mut self) -> RREN_W<'_, PRICTRL_SPEC, 7>

Bit 7 - Round-Robin Scheduling Enable

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