Type Alias atsame54n::system_control::cfsr::W

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

Register CFSR writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn iaccviol(&mut self) -> IACCVIOL_W<'_, CFSR_SPEC, 0>

Bit 0 - Instruction access violation

source

pub fn daccviol(&mut self) -> DACCVIOL_W<'_, CFSR_SPEC, 1>

Bit 1 - Data access violation

source

pub fn munstkerr(&mut self) -> MUNSTKERR_W<'_, CFSR_SPEC, 3>

Bit 3 - MemManage Fault on unstacking for exception return

source

pub fn mstkerr(&mut self) -> MSTKERR_W<'_, CFSR_SPEC, 4>

Bit 4 - MemManage Fault on stacking for exception entry

source

pub fn mlsperr(&mut self) -> MLSPERR_W<'_, CFSR_SPEC, 5>

Bit 5 - MemManager Fault occured during FP lazy state preservation

source

pub fn mmarvalid(&mut self) -> MMARVALID_W<'_, CFSR_SPEC, 7>

Bit 7 - MemManage Fault Address Register valid

source

pub fn ibuserr(&mut self) -> IBUSERR_W<'_, CFSR_SPEC, 8>

Bit 8 - Instruction bus error

source

pub fn preciserr(&mut self) -> PRECISERR_W<'_, CFSR_SPEC, 9>

Bit 9 - Precise data bus error

source

pub fn impreciserr(&mut self) -> IMPRECISERR_W<'_, CFSR_SPEC, 10>

Bit 10 - Imprecise data bus error

source

pub fn unstkerr(&mut self) -> UNSTKERR_W<'_, CFSR_SPEC, 11>

Bit 11 - BusFault on unstacking for exception return

source

pub fn stkerr(&mut self) -> STKERR_W<'_, CFSR_SPEC, 12>

Bit 12 - BusFault on stacking for exception entry

source

pub fn lsperr(&mut self) -> LSPERR_W<'_, CFSR_SPEC, 13>

Bit 13 - BusFault occured during FP lazy state preservation

source

pub fn bfarvalid(&mut self) -> BFARVALID_W<'_, CFSR_SPEC, 15>

Bit 15 - BusFault Address Register valid

source

pub fn undefinstr(&mut self) -> UNDEFINSTR_W<'_, CFSR_SPEC, 16>

Bit 16 - Undefined instruction UsageFault

source

pub fn invstate(&mut self) -> INVSTATE_W<'_, CFSR_SPEC, 17>

Bit 17 - Invalid state UsageFault

source

pub fn invpc(&mut self) -> INVPC_W<'_, CFSR_SPEC, 18>

Bit 18 - Invalid PC load UsageFault

source

pub fn nocp(&mut self) -> NOCP_W<'_, CFSR_SPEC, 19>

Bit 19 - No coprocessor UsageFault

source

pub fn unaligned(&mut self) -> UNALIGNED_W<'_, CFSR_SPEC, 24>

Bit 24 - Unaligned access UsageFault

source

pub fn divbyzero(&mut self) -> DIVBYZERO_W<'_, CFSR_SPEC, 25>

Bit 25 - Divide by zero 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