Struct flipper0::ffi::SPI_TypeDef
source · pub struct SPI_TypeDef {
pub CR1: u32,
pub CR2: u32,
pub SR: u32,
pub DR: u32,
pub CRCPR: u32,
pub RXCRCR: u32,
pub TXCRCR: u32,
}
Expand description
@brief Serial Peripheral Interface
Fields
CR1: u32
< SPI Control register 1, Address offset: 0x00
CR2: u32
< SPI Control register 2, Address offset: 0x04
SR: u32
< SPI Status register, Address offset: 0x08
DR: u32
< SPI data register, Address offset: 0x0C
CRCPR: u32
< SPI CRC polynomial register, Address offset: 0x10
RXCRCR: u32
< SPI Rx CRC register, Address offset: 0x14
TXCRCR: u32
< SPI Tx CRC register, Address offset: 0x18
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for SPI_TypeDef
impl Send for SPI_TypeDef
impl Sync for SPI_TypeDef
impl Unpin for SPI_TypeDef
impl UnwindSafe for SPI_TypeDef
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more