pub type R = R<SWFC_CONF0_SPEC>;
Expand description
Register SWFC_CONF0
reader
Aliased Type§
struct R { /* private fields */ }
Implementations§
Source§impl R
impl R
Sourcepub fn xon_char(&self) -> XON_CHAR_R
pub fn xon_char(&self) -> XON_CHAR_R
Bits 0:7 - This register stores the Xon flow control char.
Sourcepub fn xoff_char(&self) -> XOFF_CHAR_R
pub fn xoff_char(&self) -> XOFF_CHAR_R
Bits 8:15 - This register stores the Xoff flow control char.
Sourcepub fn xon_xoff_still_send(&self) -> XON_XOFF_STILL_SEND_R
pub fn xon_xoff_still_send(&self) -> XON_XOFF_STILL_SEND_R
Bit 16 - In software flow control mode, UART Tx is disabled once UART Rx receives XOFF. In this status, UART Tx can not transmit XOFF even the received data number is larger than UART_XOFF_THRESHOLD. Set this bit to enable UART Tx can transmit XON/XOFF when UART Tx is disabled.
Sourcepub fn sw_flow_con_en(&self) -> SW_FLOW_CON_EN_R
pub fn sw_flow_con_en(&self) -> SW_FLOW_CON_EN_R
Bit 17 - Set this bit to enable software flow control. It is used with register sw_xon or sw_xoff.
Sourcepub fn xonoff_del(&self) -> XONOFF_DEL_R
pub fn xonoff_del(&self) -> XONOFF_DEL_R
Bit 18 - Set this bit to remove flow control char from the received data.
Sourcepub fn force_xon(&self) -> FORCE_XON_R
pub fn force_xon(&self) -> FORCE_XON_R
Bit 19 - Set this bit to enable the transmitter to go on sending data.
Sourcepub fn force_xoff(&self) -> FORCE_XOFF_R
pub fn force_xoff(&self) -> FORCE_XOFF_R
Bit 20 - Set this bit to stop the transmitter from sending data.
Sourcepub fn send_xon(&self) -> SEND_XON_R
pub fn send_xon(&self) -> SEND_XON_R
Bit 21 - Set this bit to send Xon char. It is cleared by hardware automatically.
Sourcepub fn send_xoff(&self) -> SEND_XOFF_R
pub fn send_xoff(&self) -> SEND_XOFF_R
Bit 22 - Set this bit to send Xoff char. It is cleared by hardware automatically.