Type Alias atsamd51p::system_control::ccr::W
source · pub type W = W<CCR_SPEC>;
Expand description
Register CCR
writer
Aliased Type§
struct W { /* private fields */ }
Implementations§
source§impl W
impl W
sourcepub fn nonbasethrdena(&mut self) -> NONBASETHRDENA_W<'_, CCR_SPEC, 0>
pub fn nonbasethrdena(&mut self) -> NONBASETHRDENA_W<'_, CCR_SPEC, 0>
Bit 0 - Indicates how processor enters Thread mode
sourcepub fn usersetmpend(&mut self) -> USERSETMPEND_W<'_, CCR_SPEC, 1>
pub fn usersetmpend(&mut self) -> USERSETMPEND_W<'_, CCR_SPEC, 1>
Bit 1 - Enables unprivileged software access to STIR register
sourcepub fn unalign_trp(&mut self) -> UNALIGN_TRP_W<'_, CCR_SPEC, 3>
pub fn unalign_trp(&mut self) -> UNALIGN_TRP_W<'_, CCR_SPEC, 3>
Bit 3 - Enables unaligned access traps
sourcepub fn div_0_trp(&mut self) -> DIV_0_TRP_W<'_, CCR_SPEC, 4>
pub fn div_0_trp(&mut self) -> DIV_0_TRP_W<'_, CCR_SPEC, 4>
Bit 4 - Enables divide by 0 trap
sourcepub fn bfhfnmign(&mut self) -> BFHFNMIGN_W<'_, CCR_SPEC, 8>
pub fn bfhfnmign(&mut self) -> BFHFNMIGN_W<'_, CCR_SPEC, 8>
Bit 8 - Ignore LDM/STM BusFault for -1/-2 priority handlers
sourcepub fn stkalign(&mut self) -> STKALIGN_W<'_, CCR_SPEC, 9>
pub fn stkalign(&mut self) -> STKALIGN_W<'_, CCR_SPEC, 9>
Bit 9 - Indicates stack alignment on exception entry