Struct gd32vf103_pac::spi0::RegisterBlock
source · #[repr(C)]pub struct RegisterBlock {
pub ctl0: CTL0,
pub ctl1: CTL1,
pub stat: STAT,
pub data: DATA,
pub crcpoly: CRCPOLY,
pub rcrc: RCRC,
pub tcrc: TCRC,
pub i2sctl: I2SCTL,
pub i2spsc: I2SPSC,
/* private fields */
}
Expand description
Register block
Fields§
§ctl0: CTL0
0x00 - control register 0
ctl1: CTL1
0x04 - control register 1
stat: STAT
0x08 - status register
data: DATA
0x0c - data register
crcpoly: CRCPOLY
0x10 - CRC polynomial register
rcrc: RCRC
0x14 - RX CRC register
tcrc: TCRC
0x18 - TX CRC register
i2sctl: I2SCTL
0x1c - I2S control register
i2spsc: I2SPSC
0x20 - I2S prescaler register
Auto Trait Implementations§
impl !RefUnwindSafe for RegisterBlock
impl Send for RegisterBlock
impl !Sync for RegisterBlock
impl Unpin for RegisterBlock
impl UnwindSafe for RegisterBlock
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more