pub struct W(/* private fields */);Expand description
Register TWCR writer
Implementations§
source§impl W
impl W
sourcepub fn twie(&mut self) -> BitWriterRaw<'_, u8, TWCR_SPEC, bool, BitM, 0>
pub fn twie(&mut self) -> BitWriterRaw<'_, u8, TWCR_SPEC, bool, BitM, 0>
Bit 0 - TWI Interrupt Enable
sourcepub fn twen(&mut self) -> BitWriterRaw<'_, u8, TWCR_SPEC, bool, BitM, 2>
pub fn twen(&mut self) -> BitWriterRaw<'_, u8, TWCR_SPEC, bool, BitM, 2>
Bit 2 - TWI Enable Bit
sourcepub fn twsto(&mut self) -> BitWriterRaw<'_, u8, TWCR_SPEC, bool, BitM, 4>
pub fn twsto(&mut self) -> BitWriterRaw<'_, u8, TWCR_SPEC, bool, BitM, 4>
Bit 4 - TWI Stop Condition Bit
sourcepub fn twsta(&mut self) -> BitWriterRaw<'_, u8, TWCR_SPEC, bool, BitM, 5>
pub fn twsta(&mut self) -> BitWriterRaw<'_, u8, TWCR_SPEC, bool, BitM, 5>
Bit 5 - TWI Start Condition Bit
sourcepub fn twea(&mut self) -> BitWriterRaw<'_, u8, TWCR_SPEC, bool, BitM, 6>
pub fn twea(&mut self) -> BitWriterRaw<'_, u8, TWCR_SPEC, bool, BitM, 6>
Bit 6 - TWI Enable Acknowledge Bit