Type Alias rp2040_pac::ppb::shcsr::W

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

Register SHCSR writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn svcallpended(&mut self) -> SVCALLPENDED_W<'_, SHCSR_SPEC>

Bit 15 - Reads as 1 if SVCall is Pending. Write 1 to set pending SVCall, write 0 to clear pending SVCall.

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