pub struct RegisterBlock { /* private fields */ }Expand description
Register block
Implementations§
Source§impl RegisterBlock
impl RegisterBlock
Sourcepub const fn i2c_scl_h(&self) -> &I2cSclH
pub const fn i2c_scl_h(&self) -> &I2cSclH
0x10 - SCL high period register [Constraint: write only when I2C_CTRL[int_mask]=0]
Sourcepub const fn i2c_scl_l(&self) -> &I2cSclL
pub const fn i2c_scl_l(&self) -> &I2cSclL
0x14 - SCL low period register [Constraint: write only when I2C_CTRL[int_mask]=0]
Sourcepub const fn i2c_fifostatus(&self) -> &I2cFifostatus
pub const fn i2c_fifostatus(&self) -> &I2cFifostatus
0x20 - FIFO status register
Sourcepub const fn i2c_txcount(&self) -> &I2cTxcount
pub const fn i2c_txcount(&self) -> &I2cTxcount
0x24 - TX FIFO count register
Sourcepub const fn i2c_rxcount(&self) -> &I2cRxcount
pub const fn i2c_rxcount(&self) -> &I2cRxcount
0x28 - RX FIFO count register
Sourcepub const fn i2c_rxtide(&self) -> &I2cRxtide
pub const fn i2c_rxtide(&self) -> &I2cRxtide
0x2c - RX FIFO threshold register
Sourcepub const fn i2c_txtide(&self) -> &I2cTxtide
pub const fn i2c_txtide(&self) -> &I2cTxtide
0x30 - TX FIFO threshold register
Sourcepub const fn i2c_ftrper(&self) -> &I2cFtrper
pub const fn i2c_ftrper(&self) -> &I2cFtrper
0x34 - Glitch filter configuration register
Auto Trait Implementations§
impl !Freeze for RegisterBlock
impl !RefUnwindSafe for RegisterBlock
impl !Sync for RegisterBlock
impl Send for RegisterBlock
impl Unpin for RegisterBlock
impl UnsafeUnpin 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