Struct zinc_hal_lpc11xx::ioregs::SPI0_cpsr [] [src]

pub struct SPI0_cpsr {
    // some fields omitted
}

Register CPSR: Clock Prescale Register

Methods

impl SPI0_cpsr

fn get(&self) -> SPI0_cpsr_Get

Fetch the value of the CPSR register.

fn cpsdvsr(&self) -> u32

Get value of CPSDVSR field.

fn ignoring_state(&self) -> SPI0_cpsr_Update

Create new updater that ignores current value of the CPSR register.

fn set_cpsdvsr<'a>(&'a mut self, new_value: u32) -> SPI0_cpsr_Update<'a>

Set value of CPSDVSR field.

Trait Implementations

impl Copy for SPI0_cpsr

Derived Implementations

impl Clone for SPI0_cpsr

fn clone(&self) -> SPI0_cpsr

fn clone_from(&mut self, source: &Self)