pub type W = W<TRANSMIT_CONFIG_SPEC>;
Expand description
Register transmit_config
writer
Aliased Type§
struct W { /* private fields */ }
Implementations§
Source§impl W
impl W
Sourcepub fn function(&mut self) -> FUNCTION_W<'_, TRANSMIT_CONFIG_SPEC>
pub fn function(&mut self) -> FUNCTION_W<'_, TRANSMIT_CONFIG_SPEC>
Bit 0 - Enable transmit function
Sourcepub fn cts(&mut self) -> CTS_W<'_, TRANSMIT_CONFIG_SPEC>
pub fn cts(&mut self) -> CTS_W<'_, TRANSMIT_CONFIG_SPEC>
Bit 1 - Enable Clear-to-Send flow control signal
Sourcepub fn freerun(&mut self) -> FREERUN_W<'_, TRANSMIT_CONFIG_SPEC>
pub fn freerun(&mut self) -> FREERUN_W<'_, TRANSMIT_CONFIG_SPEC>
Bit 2 - Enable freerun mode
Sourcepub fn lin_transmit(&mut self) -> LIN_TRANSMIT_W<'_, TRANSMIT_CONFIG_SPEC>
pub fn lin_transmit(&mut self) -> LIN_TRANSMIT_W<'_, TRANSMIT_CONFIG_SPEC>
Bit 3 - Local Interconnect Network protocol enable
Sourcepub fn parity_enable(&mut self) -> PARITY_ENABLE_W<'_, TRANSMIT_CONFIG_SPEC>
pub fn parity_enable(&mut self) -> PARITY_ENABLE_W<'_, TRANSMIT_CONFIG_SPEC>
Bit 4 - Enable transmit parity check
Sourcepub fn parity_mode(&mut self) -> PARITY_MODE_W<'_, TRANSMIT_CONFIG_SPEC>
pub fn parity_mode(&mut self) -> PARITY_MODE_W<'_, TRANSMIT_CONFIG_SPEC>
Bit 5 - Select transmit parity mode if enabled
Sourcepub fn ir_transmit(&mut self) -> IR_TRANSMIT_W<'_, TRANSMIT_CONFIG_SPEC>
pub fn ir_transmit(&mut self) -> IR_TRANSMIT_W<'_, TRANSMIT_CONFIG_SPEC>
Bit 6 - Enable IR transmit mode
Sourcepub fn ir_inverse(&mut self) -> IR_INVERSE_W<'_, TRANSMIT_CONFIG_SPEC>
pub fn ir_inverse(&mut self) -> IR_INVERSE_W<'_, TRANSMIT_CONFIG_SPEC>
Bit 7 - Inverse transmit signal output in IR mode
Sourcepub fn word_length(&mut self) -> WORD_LENGTH_W<'_, TRANSMIT_CONFIG_SPEC>
pub fn word_length(&mut self) -> WORD_LENGTH_W<'_, TRANSMIT_CONFIG_SPEC>
Bits 8:10 - Bit count for each transmit data word
Sourcepub fn stop_bits(&mut self) -> STOP_BITS_W<'_, TRANSMIT_CONFIG_SPEC>
pub fn stop_bits(&mut self) -> STOP_BITS_W<'_, TRANSMIT_CONFIG_SPEC>
Bits 11:12 - Number of stop bits
Sourcepub fn break_bits(&mut self) -> BREAK_BITS_W<'_, TRANSMIT_CONFIG_SPEC>
pub fn break_bits(&mut self) -> BREAK_BITS_W<'_, TRANSMIT_CONFIG_SPEC>
Bits 13:15 - Number of break bits for LIN protocol
Sourcepub fn transfer_length(&mut self) -> TRANSFER_LENGTH_W<'_, TRANSMIT_CONFIG_SPEC>
pub fn transfer_length(&mut self) -> TRANSFER_LENGTH_W<'_, TRANSMIT_CONFIG_SPEC>
Bits 16:31 - Length of words per UART transmit transfer
This field is ignored when freerun
mode is enabled.