Struct efr32x12p::i2c0::cmd::W
[−]
[src]
pub struct W { /* fields omitted */ }
Value to write to the register
Methods
impl W
[src]
fn reset_value() -> W
[src]
Reset value of the register
unsafe fn bits(&mut self, bits: u32) -> &mut Self
[src]
Writes raw bits to the register
fn start(&mut self) -> _STARTW
[src]
Bit 0 - Send start condition
fn stop(&mut self) -> _STOPW
[src]
Bit 1 - Send stop condition
fn ack(&mut self) -> _ACKW
[src]
Bit 2 - Send ACK
fn nack(&mut self) -> _NACKW
[src]
Bit 3 - Send NACK
fn cont(&mut self) -> _CONTW
[src]
Bit 4 - Continue transmission
fn abort(&mut self) -> _ABORTW
[src]
Bit 5 - Abort transmission
fn cleartx(&mut self) -> _CLEARTXW
[src]
Bit 6 - Clear TX
fn clearpc(&mut self) -> _CLEARPCW
[src]
Bit 7 - Clear Pending Commands