Type Alias atsame54n::system_control::cpacr::W

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

Register CPACR writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn cp10(&mut self) -> CP10_W<'_, CPACR_SPEC, 20>

Bits 20:21 - Access privileges for coprocessor 10

source

pub fn cp11(&mut self) -> CP11_W<'_, CPACR_SPEC, 22>

Bits 22:23 - Access privileges for coprocessor 11

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