Struct zinc_hal_lpc11xx::ioregs::SPI0
[−]
[src]
pub struct SPI0;
SPI0
Methods
impl SPI0
fn cr0() -> &'static mut SPI0_cr0
Control Register 0. Selects the serial clock rate, bus type, and data size.
fn cr1() -> &'static mut SPI0_cr1
Control Register 1. Selects master/slave and other modes.
fn dr() -> &'static mut SPI0_dr
Data Register. Writes fill the transmit FIFO, and reads empty the receive FIFO.
fn sr() -> &'static mut SPI0_sr
Status Register
fn cpsr() -> &'static mut SPI0_cpsr
Clock Prescale Register
fn imsc() -> &'static mut SPI0_imsc
Interrupt Mask Set and Clear Register
fn ris() -> &'static mut SPI0_ris
Raw Interrupt Status Register
fn mis() -> &'static mut SPI0_mis
Masked Interrupt Status Register
fn icr() -> &'static mut SPI0_icr
SSPICR Interrupt Clear Register