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
impl W
sourcepub fn slad(&mut self) -> SLAD_W<'_, PCR_IICMODE_SPEC>
pub fn slad(&mut self) -> SLAD_W<'_, PCR_IICMODE_SPEC>
Bits 0:15 - Slave Address
sourcepub fn ack00(&mut self) -> ACK00_W<'_, PCR_IICMODE_SPEC>
pub fn ack00(&mut self) -> ACK00_W<'_, PCR_IICMODE_SPEC>
Bit 16 - Acknowledge 00H
sourcepub fn stim(&mut self) -> STIM_W<'_, PCR_IICMODE_SPEC>
pub fn stim(&mut self) -> STIM_W<'_, PCR_IICMODE_SPEC>
Bit 17 - Symbol Timing
sourcepub fn scrien(&mut self) -> SCRIEN_W<'_, PCR_IICMODE_SPEC>
pub fn scrien(&mut self) -> SCRIEN_W<'_, PCR_IICMODE_SPEC>
Bit 18 - Start Condition Received Interrupt Enable
sourcepub fn rscrien(&mut self) -> RSCRIEN_W<'_, PCR_IICMODE_SPEC>
pub fn rscrien(&mut self) -> RSCRIEN_W<'_, PCR_IICMODE_SPEC>
Bit 19 - Repeated Start Condition Received Interrupt Enable
sourcepub fn pcrien(&mut self) -> PCRIEN_W<'_, PCR_IICMODE_SPEC>
pub fn pcrien(&mut self) -> PCRIEN_W<'_, PCR_IICMODE_SPEC>
Bit 20 - Stop Condition Received Interrupt Enable
sourcepub fn nackien(&mut self) -> NACKIEN_W<'_, PCR_IICMODE_SPEC>
pub fn nackien(&mut self) -> NACKIEN_W<'_, PCR_IICMODE_SPEC>
Bit 21 - Non-Acknowledge Interrupt Enable
sourcepub fn arlien(&mut self) -> ARLIEN_W<'_, PCR_IICMODE_SPEC>
pub fn arlien(&mut self) -> ARLIEN_W<'_, PCR_IICMODE_SPEC>
Bit 22 - Arbitration Lost Interrupt Enable
sourcepub fn srrien(&mut self) -> SRRIEN_W<'_, PCR_IICMODE_SPEC>
pub fn srrien(&mut self) -> SRRIEN_W<'_, PCR_IICMODE_SPEC>
Bit 23 - Slave Read Request Interrupt Enable
sourcepub fn errien(&mut self) -> ERRIEN_W<'_, PCR_IICMODE_SPEC>
pub fn errien(&mut self) -> ERRIEN_W<'_, PCR_IICMODE_SPEC>
Bit 24 - Error Interrupt Enable
sourcepub fn sackdis(&mut self) -> SACKDIS_W<'_, PCR_IICMODE_SPEC>
pub fn sackdis(&mut self) -> SACKDIS_W<'_, PCR_IICMODE_SPEC>
Bit 25 - Slave Acknowledge Disable
sourcepub fn hdel(&mut self) -> HDEL_W<'_, PCR_IICMODE_SPEC>
pub fn hdel(&mut self) -> HDEL_W<'_, PCR_IICMODE_SPEC>
Bits 26:29 - Hardware Delay
sourcepub fn ackien(&mut self) -> ACKIEN_W<'_, PCR_IICMODE_SPEC>
pub fn ackien(&mut self) -> ACKIEN_W<'_, PCR_IICMODE_SPEC>
Bit 30 - Acknowledge Interrupt Enable
sourcepub fn mclk(&mut self) -> MCLK_W<'_, PCR_IICMODE_SPEC>
pub fn mclk(&mut self) -> MCLK_W<'_, PCR_IICMODE_SPEC>
Bit 31 - Master Clock Enable