pub type W = W<SWD_ACCESS_CPU0_SPEC>;
Expand description

Register SWD_ACCESS_CPU0 writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn sec_code(&mut self) -> SEC_CODE_W<'_, SWD_ACCESS_CPU0_SPEC>

Bits 0:31 - CPU0 SWD-AP: 0x12345678

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