Type Alias atsame54n::system_control::shpr1::W

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

Register SHPR1 writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn pri_4(&mut self) -> PRI_4_W<'_, SHPR1_SPEC, 0>

Bits 0:7 - Priority of system handler 4, MemManage

source

pub fn pri_5(&mut self) -> PRI_5_W<'_, SHPR1_SPEC, 8>

Bits 8:15 - Priority of system handler 5, BusFault

source

pub fn pri_6(&mut self) -> PRI_6_W<'_, SHPR1_SPEC, 16>

Bits 16:23 - Priority of system handler 6, UsageFault

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