#[repr(C)]
pub struct RegisterBlock { pub cr1: CR1, pub cr2: CR2, pub sr: SR, pub dr: DR, pub crcpr: CRCPR, pub rxcrcr: RXCRCR, pub txcrcr: TXCRCR, pub i2scfgr: I2SCFGR, pub i2spr: I2SPR, }
Expand description

Register block

Fields§

§cr1: CR1

0x00 - control register 1

§cr2: CR2

0x04 - control register 2

§sr: SR

0x08 - status register

§dr: DR

0x0c - data register

§crcpr: CRCPR

0x10 - CRC polynomial register

§rxcrcr: RXCRCR

0x14 - RX CRC register

§txcrcr: TXCRCR

0x18 - TX CRC register

§i2scfgr: I2SCFGR

0x1c - I2S configuration register

§i2spr: I2SPR

0x20 - I2S prescaler register

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.