Type Alias W

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

Register transmit_config writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

Source§

impl W

Source

pub fn function(&mut self) -> FUNCTION_W<'_, TRANSMIT_CONFIG_SPEC>

Bit 0 - Enable transmit function

Source

pub fn cts(&mut self) -> CTS_W<'_, TRANSMIT_CONFIG_SPEC>

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

Source

pub fn freerun(&mut self) -> FREERUN_W<'_, TRANSMIT_CONFIG_SPEC>

Bit 2 - Enable freerun mode

Source

pub fn lin_transmit(&mut self) -> LIN_TRANSMIT_W<'_, TRANSMIT_CONFIG_SPEC>

Bit 3 - Local Interconnect Network protocol enable

Source

pub fn parity_enable(&mut self) -> PARITY_ENABLE_W<'_, TRANSMIT_CONFIG_SPEC>

Bit 4 - Enable transmit parity check

Source

pub fn parity_mode(&mut self) -> PARITY_MODE_W<'_, TRANSMIT_CONFIG_SPEC>

Bit 5 - Select transmit parity mode if enabled

Source

pub fn ir_transmit(&mut self) -> IR_TRANSMIT_W<'_, TRANSMIT_CONFIG_SPEC>

Bit 6 - Enable IR transmit mode

Source

pub fn ir_inverse(&mut self) -> IR_INVERSE_W<'_, TRANSMIT_CONFIG_SPEC>

Bit 7 - Inverse transmit signal output in IR mode

Source

pub fn word_length(&mut self) -> WORD_LENGTH_W<'_, TRANSMIT_CONFIG_SPEC>

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

Source

pub fn stop_bits(&mut self) -> STOP_BITS_W<'_, TRANSMIT_CONFIG_SPEC>

Bits 11:12 - Number of stop bits

Source

pub fn break_bits(&mut self) -> BREAK_BITS_W<'_, TRANSMIT_CONFIG_SPEC>

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

Source

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.

Source

pub unsafe fn bits(&mut self, bits: u32) -> &mut Self

Writes raw bits to the register.

§Safety

Passing incorrect value can cause undefined behaviour. See reference manual