Type Alias gd32f1::gd32f190::cec::intf::W

source ·
pub type W = W<IntfSpec>;
Expand description

Register INTF writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn rbr(&mut self) -> RbrW<'_, IntfSpec>

Bit 0 - Rx-Byte data received

source

pub fn rend(&mut self) -> RendW<'_, IntfSpec>

Bit 1 - End of Reception

source

pub fn ro(&mut self) -> RoW<'_, IntfSpec>

Bit 2 - RX Overrun

source

pub fn rbre(&mut self) -> RbreW<'_, IntfSpec>

Bit 3 - Bit Rising Error

source

pub fn rsbpe(&mut self) -> RsbpeW<'_, IntfSpec>

Bit 4 - Short Bit Period Error

source

pub fn rlbpe(&mut self) -> RlbpeW<'_, IntfSpec>

Bit 5 - Long Bit Period Error

source

pub fn rae(&mut self) -> RaeW<'_, IntfSpec>

Bit 6 - Rx ACK Error

source

pub fn lstarb(&mut self) -> LstarbW<'_, IntfSpec>

Bit 7 - Arbitration lost

source

pub fn tbr(&mut self) -> TbrW<'_, IntfSpec>

Bit 8 - Tx-Byte data request

source

pub fn tend(&mut self) -> TendW<'_, IntfSpec>

Bit 9 - Transmission successfully end

source

pub fn tu(&mut self) -> TuW<'_, IntfSpec>

Bit 10 - Tx data buffer underrun

source

pub fn terr(&mut self) -> TerrW<'_, IntfSpec>

Bit 11 - Tx-Error

source

pub fn taerr(&mut self) -> TaerrW<'_, IntfSpec>

Bit 12 - Tx ACK Error flag