Type Alias xmc4300::usic0_ch0::pcr_iicmode::W

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

Register PCR_IICMode writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn slad(&mut self) -> SLAD_W<'_, PCR_IICMODE_SPEC>

Bits 0:15 - Slave Address

source

pub fn ack00(&mut self) -> ACK00_W<'_, PCR_IICMODE_SPEC>

Bit 16 - Acknowledge 00H

source

pub fn stim(&mut self) -> STIM_W<'_, PCR_IICMODE_SPEC>

Bit 17 - Symbol Timing

source

pub fn scrien(&mut self) -> SCRIEN_W<'_, PCR_IICMODE_SPEC>

Bit 18 - Start Condition Received Interrupt Enable

source

pub fn rscrien(&mut self) -> RSCRIEN_W<'_, PCR_IICMODE_SPEC>

Bit 19 - Repeated Start Condition Received Interrupt Enable

source

pub fn pcrien(&mut self) -> PCRIEN_W<'_, PCR_IICMODE_SPEC>

Bit 20 - Stop Condition Received Interrupt Enable

source

pub fn nackien(&mut self) -> NACKIEN_W<'_, PCR_IICMODE_SPEC>

Bit 21 - Non-Acknowledge Interrupt Enable

source

pub fn arlien(&mut self) -> ARLIEN_W<'_, PCR_IICMODE_SPEC>

Bit 22 - Arbitration Lost Interrupt Enable

source

pub fn srrien(&mut self) -> SRRIEN_W<'_, PCR_IICMODE_SPEC>

Bit 23 - Slave Read Request Interrupt Enable

source

pub fn errien(&mut self) -> ERRIEN_W<'_, PCR_IICMODE_SPEC>

Bit 24 - Error Interrupt Enable

source

pub fn sackdis(&mut self) -> SACKDIS_W<'_, PCR_IICMODE_SPEC>

Bit 25 - Slave Acknowledge Disable

source

pub fn hdel(&mut self) -> HDEL_W<'_, PCR_IICMODE_SPEC>

Bits 26:29 - Hardware Delay

source

pub fn ackien(&mut self) -> ACKIEN_W<'_, PCR_IICMODE_SPEC>

Bit 30 - Acknowledge Interrupt Enable

source

pub fn mclk(&mut self) -> MCLK_W<'_, PCR_IICMODE_SPEC>

Bit 31 - Master Clock Enable