Type Alias W

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

Register receive_config writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

Source§

impl W

Source

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

Bit 0 - Enable receive function

Source

pub fn auto_baudrate(&mut self) -> AUTO_BAUDRATE_W<'_, RECEIVE_CONFIG_SPEC>

Bit 1 - Enable receive auto baudrate detection

Source

pub fn lin_receive(&mut self) -> LIN_RECEIVE_W<'_, RECEIVE_CONFIG_SPEC>

Bit 3 - Local Interconnect Network protocol enable

Source

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

Bit 4 - Enable receive parity check

Source

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

Bit 5 - Select receive parity mode if enabled

Source

pub fn ir_receive(&mut self) -> IR_RECEIVE_W<'_, RECEIVE_CONFIG_SPEC>

Bit 6 - Enable IR receive mode

Source

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

Bit 7 - Inverse receive signal output in IR mode

Source

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

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

Source

pub fn deglitch_enable(&mut self) -> DEGLITCH_ENABLE_W<'_, RECEIVE_CONFIG_SPEC>

Bit 11 - Enable receive de-glitch function

Source

pub fn deglitch_cycle(&mut self) -> DEGLITCH_CYCLE_W<'_, RECEIVE_CONFIG_SPEC>

Bits 12:15 - De-glitch function cycle count

Source

pub fn transfer_length(&mut self) -> TRANSFER_LENGTH_W<'_, RECEIVE_CONFIG_SPEC>

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

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