Struct zinc_hal_lpc11xx::ioregs::SPI0_dr [] [src]

pub struct SPI0_dr {
    // some fields omitted
}

Register DR: Data Register. Writes fill the transmit FIFO, and reads empty the receive FIFO.

Methods

impl SPI0_dr

fn get(&self) -> SPI0_dr_Get

Fetch the value of the DR register.

fn data(&self) -> u32

Get value of DATA field.

fn ignoring_state(&self) -> SPI0_dr_Update

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

fn set_data<'a>(&'a mut self, new_value: u32) -> SPI0_dr_Update<'a>

Set value of DATA field.

Trait Implementations

impl Copy for SPI0_dr

Derived Implementations

impl Clone for SPI0_dr

fn clone(&self) -> SPI0_dr

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