Struct zinc_hal_lpc11xx::ioregs::SPI0_cpsr_Get
[−]
[src]
pub struct SPI0_cpsr_Get { // some fields omitted }
CPSR
: Clock Prescale Register
Methods
impl SPI0_cpsr_Get
fn new(reg: &SPI0_cpsr) -> SPI0_cpsr_Get
Create a getter reflecting the current value of the given register.
fn raw(&self) -> u32
Get the raw value of the register.
fn cpsdvsr(&self) -> u32
Get value of CPSDVSR
field: This even value between 2 and 254, by which SPI_PCLK is divided to yield the prescaler output clock. Bit 0 always reads as 0.