rp2040_pac::spi0::sspcpsr

Type Alias R

Source
pub type R = R<SSPCPSR_SPEC>;
Expand description

Register SSPCPSR reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

Source§

impl R

Source

pub fn cpsdvsr(&self) -> CPSDVSR_R

Bits 0:7 - Clock prescale divisor. Must be an even number from 2-254, depending on the frequency of SSPCLK. The least significant bit always returns zero on reads.