[][src]Type Definition ht32f2yyy::ht32f275x::i2c0::i2c_sr::W

type W = W<u32, I2C_SR>;

Writer for register I2C_SR

Implementations

impl W[src]

pub fn sta(&mut self) -> STA_W[src]

Bit 0 - STA

pub fn sto(&mut self) -> STO_W[src]

Bit 1 - STO

pub fn adrs(&mut self) -> ADRS_W[src]

Bit 2 - ADRS

pub fn gcs(&mut self) -> GCS_W[src]

Bit 3 - GCS

pub fn arblos(&mut self) -> ARBLOS_W[src]

Bit 8 - ARBLOS

pub fn rxnack(&mut self) -> RXNACK_W[src]

Bit 9 - RXNACK

pub fn buserr(&mut self) -> BUSERR_W[src]

Bit 10 - BUSERR

pub fn toutf(&mut self) -> TOUTF_W[src]

Bit 11 - TOUTF

pub fn rxdne(&mut self) -> RXDNE_W[src]

Bit 16 - RXDNE

pub fn txde(&mut self) -> TXDE_W[src]

Bit 17 - TXDE

pub fn rxbf(&mut self) -> RXBF_W[src]

Bit 18 - RXBF

pub fn busbusy(&mut self) -> BUSBUSY_W[src]

Bit 19 - BUSBUSY

pub fn master(&mut self) -> MASTER_W[src]

Bit 20 - MASTER

pub fn txnrx(&mut self) -> TXNRX_W[src]

Bit 21 - TXNRX