Struct d1_pac::twi::twi_drv_ctrl::W
source · pub struct W(/* private fields */);
Expand description
Register twi_drv_ctrl
writer
Implementations§
source§impl W
impl W
sourcepub fn twi_drv_en(&mut self) -> TWI_DRV_EN_W<'_, 0>
pub fn twi_drv_en(&mut self) -> TWI_DRV_EN_W<'_, 0>
Bit 0
sourcepub fn soft_reset(&mut self) -> SOFT_RESET_W<'_, 1>
pub fn soft_reset(&mut self) -> SOFT_RESET_W<'_, 1>
Bit 1 - Software reset
sourcepub fn timeout_n(&mut self) -> TIMEOUT_N_W<'_, 8>
pub fn timeout_n(&mut self) -> TIMEOUT_N_W<'_, 8>
Bits 8:15 - Timeout number
sourcepub fn tran_result(&mut self) -> TRAN_RESULT_W<'_, 24>
pub fn tran_result(&mut self) -> TRAN_RESULT_W<'_, 24>
Bits 24:27 - Transition result
sourcepub fn read_tran_mode(&mut self) -> READ_TRAN_MODE_W<'_, 28>
pub fn read_tran_mode(&mut self) -> READ_TRAN_MODE_W<'_, 28>
Bit 28 - Read transition mode
sourcepub fn restart_mode(&mut self) -> RESTART_MODE_W<'_, 29>
pub fn restart_mode(&mut self) -> RESTART_MODE_W<'_, 29>
Bit 29 - Restart mode
sourcepub fn start_tran(&mut self) -> START_TRAN_W<'_, 31>
pub fn start_tran(&mut self) -> START_TRAN_W<'_, 31>
Bit 31 - Start transmission
Methods from Deref<Target = W<TWI_DRV_CTRL_SPEC>>§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for W
impl RefUnwindSafe for W
impl Send for W
impl Sync for W
impl Unpin for W
impl UnwindSafe for W
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