Type Alias rp2040_pac::spi0::sspicr::W

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

Register SSPICR writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn roric(&mut self) -> RORIC_W<'_, SSPICR_SPEC>

Bit 0 - Clears the SSPRORINTR interrupt

source

pub fn rtic(&mut self) -> RTIC_W<'_, SSPICR_SPEC>

Bit 1 - Clears the SSPRTINTR interrupt

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