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
Re-export bindings Serial Peripheral Interface
Fields§
§CR1: u32SPI Control register 1, Address offset: 0x00
CR2: u32SPI Control register 2, Address offset: 0x04
SR: u32SPI Status register, Address offset: 0x08
DR: u32SPI data register, Address offset: 0x0C
CRCPR: u32SPI CRC polynomial register, Address offset: 0x10
RXCRCR: u32SPI Rx CRC register, Address offset: 0x14
TXCRCR: u32SPI Tx CRC register, Address offset: 0x18
Trait Implementations§
source§impl Clone for SPI_TypeDef
impl Clone for SPI_TypeDef
source§fn clone(&self) -> SPI_TypeDef
fn clone(&self) -> SPI_TypeDef
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more