Type Alias xmc4300::usic0_ch0::psr_iicmode::W

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

Register PSR_IICMode writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn slsel(&mut self) -> SLSEL_W<'_, PSR_IICMODE_SPEC>

Bit 0 - Slave Select

source

pub fn wtdf(&mut self) -> WTDF_W<'_, PSR_IICMODE_SPEC>

Bit 1 - Wrong TDF Code Found

source

pub fn scr(&mut self) -> SCR_W<'_, PSR_IICMODE_SPEC>

Bit 2 - Start Condition Received

source

pub fn rscr(&mut self) -> RSCR_W<'_, PSR_IICMODE_SPEC>

Bit 3 - Repeated Start Condition Received

source

pub fn pcr(&mut self) -> PCR_W<'_, PSR_IICMODE_SPEC>

Bit 4 - Stop Condition Received

source

pub fn nack(&mut self) -> NACK_W<'_, PSR_IICMODE_SPEC>

Bit 5 - Non-Acknowledge Received

source

pub fn arl(&mut self) -> ARL_W<'_, PSR_IICMODE_SPEC>

Bit 6 - Arbitration Lost

source

pub fn srr(&mut self) -> SRR_W<'_, PSR_IICMODE_SPEC>

Bit 7 - Slave Read Request

source

pub fn err(&mut self) -> ERR_W<'_, PSR_IICMODE_SPEC>

Bit 8 - Error

source

pub fn ack(&mut self) -> ACK_W<'_, PSR_IICMODE_SPEC>

Bit 9 - Acknowledge Received

source

pub fn rsif(&mut self) -> RSIF_W<'_, PSR_IICMODE_SPEC>

Bit 10 - Receiver Start Indication Flag

source

pub fn dlif(&mut self) -> DLIF_W<'_, PSR_IICMODE_SPEC>

Bit 11 - Data Lost Indication Flag

source

pub fn tsif(&mut self) -> TSIF_W<'_, PSR_IICMODE_SPEC>

Bit 12 - Transmit Shift Indication Flag

source

pub fn tbif(&mut self) -> TBIF_W<'_, PSR_IICMODE_SPEC>

Bit 13 - Transmit Buffer Indication Flag

source

pub fn rif(&mut self) -> RIF_W<'_, PSR_IICMODE_SPEC>

Bit 14 - Receive Indication Flag

source

pub fn aif(&mut self) -> AIF_W<'_, PSR_IICMODE_SPEC>

Bit 15 - Alternative Receive Indication Flag

source

pub fn brgif(&mut self) -> BRGIF_W<'_, PSR_IICMODE_SPEC>

Bit 16 - Baud Rate Generator Indication Flag