Type Alias atsamd51j::system_control::aircr::W

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

Register AIRCR writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn vectreset(&mut self) -> VECTRESET_W<'_, AIRCR_SPEC, 0>

Bit 0 - Must write 0

source

pub fn vectclractive(&mut self) -> VECTCLRACTIVE_W<'_, AIRCR_SPEC, 1>

Bit 1 - Must write 0

source

pub fn sysresetreq(&mut self) -> SYSRESETREQ_W<'_, AIRCR_SPEC, 2>

Bit 2 - System Reset Request

source

pub fn prigroup(&mut self) -> PRIGROUP_W<'_, AIRCR_SPEC, 8>

Bits 8:10 - Interrupt priority grouping

source

pub fn endianness(&mut self) -> ENDIANNESS_W<'_, AIRCR_SPEC, 15>

Bit 15 - Data endianness, 0=little, 1=big

source

pub fn vectkey(&mut self) -> VECTKEY_W<'_, AIRCR_SPEC, 16>

Bits 16:31 - Register key

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