Struct d1_pac::twi::twi_drv_ctrl::R
source · pub struct R(/* private fields */);
Expand description
Register twi_drv_ctrl
reader
Implementations§
source§impl R
impl R
sourcepub fn twi_drv_en(&self) -> TWI_DRV_EN_R
pub fn twi_drv_en(&self) -> TWI_DRV_EN_R
Bit 0
sourcepub fn soft_reset(&self) -> SOFT_RESET_R
pub fn soft_reset(&self) -> SOFT_RESET_R
Bit 1 - Software reset
sourcepub fn timeout_n(&self) -> TIMEOUT_N_R
pub fn timeout_n(&self) -> TIMEOUT_N_R
Bits 8:15 - Timeout number
sourcepub fn tran_result(&self) -> TRAN_RESULT_R
pub fn tran_result(&self) -> TRAN_RESULT_R
Bits 24:27 - Transition result
sourcepub fn read_tran_mode(&self) -> READ_TRAN_MODE_R
pub fn read_tran_mode(&self) -> READ_TRAN_MODE_R
Bit 28 - Read transition mode
sourcepub fn restart_mode(&self) -> RESTART_MODE_R
pub fn restart_mode(&self) -> RESTART_MODE_R
Bit 29 - Restart mode
sourcepub fn start_tran(&self) -> START_TRAN_R
pub fn start_tran(&self) -> START_TRAN_R
Bit 31 - Start transmission
Methods from Deref<Target = R<TWI_DRV_CTRL_SPEC>>§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for R
impl RefUnwindSafe for R
impl Send for R
impl Sync for R
impl Unpin for R
impl UnwindSafe for R
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