Type Alias R

Source
pub type R = R<TRANSMIT_CONFIG_SPEC>;
Expand description

Register transmit_config reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

Source§

impl R

Source

pub fn function(&self) -> FUNCTION_R

Bit 0 - Enable transmit function

Source

pub fn cts(&self) -> CTS_R

Bit 1 - Enable Clear-to-Send flow control signal

Source

pub fn freerun(&self) -> FREERUN_R

Bit 2 - Enable freerun mode

Source

pub fn lin_transmit(&self) -> LIN_TRANSMIT_R

Bit 3 - Local Interconnect Network protocol enable

Source

pub fn parity_enable(&self) -> PARITY_ENABLE_R

Bit 4 - Enable transmit parity check

Source

pub fn parity_mode(&self) -> PARITY_MODE_R

Bit 5 - Select transmit parity mode if enabled

Source

pub fn ir_transmit(&self) -> IR_TRANSMIT_R

Bit 6 - Enable IR transmit mode

Source

pub fn ir_inverse(&self) -> IR_INVERSE_R

Bit 7 - Inverse transmit signal output in IR mode

Source

pub fn word_length(&self) -> WORD_LENGTH_R

Bits 8:10 - Bit count for each transmit data word

Source

pub fn stop_bits(&self) -> STOP_BITS_R

Bits 11:12 - Number of stop bits

Source

pub fn break_bits(&self) -> BREAK_BITS_R

Bits 13:15 - Number of break bits for LIN protocol

Source

pub fn transfer_length(&self) -> TRANSFER_LENGTH_R

Bits 16:31 - Length of words per UART transmit transfer

This field is ignored when freerun mode is enabled.