Struct flipperzero_sys::SPI_TypeDef
source · [−]#[repr(C)]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
sourceimpl Clone for SPI_TypeDef
impl Clone for SPI_TypeDef
sourcefn clone(&self) -> SPI_TypeDef
fn clone(&self) -> SPI_TypeDef
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for SPI_TypeDef
impl Debug for SPI_TypeDef
impl Copy for SPI_TypeDef
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