Struct stm32f103xx::i2c1::RegisterBlock
source · #[repr(C)]pub struct RegisterBlock {
pub cr1: CR1,
pub cr2: CR2,
pub oar1: OAR1,
pub oar2: OAR2,
pub dr: DR,
pub sr1: SR1,
pub sr2: SR2,
pub ccr: CCR,
pub trise: TRISE,
}
Expand description
Register block
Fields
cr1: CR1
0x00 - Control register 1
cr2: CR2
0x04 - Control register 2
oar1: OAR1
0x08 - Own address register 1
oar2: OAR2
0x0c - Own address register 2
dr: DR
0x10 - Data register
sr1: SR1
0x14 - Status register 1
sr2: SR2
0x18 - Status register 2
ccr: CCR
0x1c - Clock control register
trise: TRISE
0x20 - TRISE 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
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