#[repr(C)]pub struct I2C_TypeDef {
pub CR1: u32,
pub CR2: u32,
pub OAR1: u32,
pub OAR2: u32,
pub DR: u32,
pub SR1: u32,
pub SR2: u32,
pub CCR: u32,
pub TRISE: u32,
}Expand description
@brief Inter-integrated Circuit Interface
Fields§
§CR1: u32§CR2: u32§OAR1: u32§OAR2: u32§DR: u32§SR1: u32§SR2: u32§CCR: u32§TRISE: u32Trait Implementations§
Source§impl Clone for I2C_TypeDef
impl Clone for I2C_TypeDef
Source§fn clone(&self) -> I2C_TypeDef
fn clone(&self) -> I2C_TypeDef
Returns a duplicate 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 moreSource§impl Debug for I2C_TypeDef
impl Debug for I2C_TypeDef
impl Copy for I2C_TypeDef
Auto Trait Implementations§
impl Freeze for I2C_TypeDef
impl RefUnwindSafe for I2C_TypeDef
impl Send for I2C_TypeDef
impl Sync for I2C_TypeDef
impl Unpin for I2C_TypeDef
impl UnwindSafe for I2C_TypeDef
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