pub type W = W<RECEIVE_CONFIG_SPEC>;
Expand description
Register receive_config
writer
Aliased Type§
struct W { /* private fields */ }
Implementations§
Source§impl W
impl W
Sourcepub fn function(&mut self) -> FUNCTION_W<'_, RECEIVE_CONFIG_SPEC>
pub fn function(&mut self) -> FUNCTION_W<'_, RECEIVE_CONFIG_SPEC>
Bit 0 - Enable receive function
Sourcepub fn auto_baudrate(&mut self) -> AUTO_BAUDRATE_W<'_, RECEIVE_CONFIG_SPEC>
pub fn auto_baudrate(&mut self) -> AUTO_BAUDRATE_W<'_, RECEIVE_CONFIG_SPEC>
Bit 1 - Enable receive auto baudrate detection
Sourcepub fn lin_receive(&mut self) -> LIN_RECEIVE_W<'_, RECEIVE_CONFIG_SPEC>
pub fn lin_receive(&mut self) -> LIN_RECEIVE_W<'_, RECEIVE_CONFIG_SPEC>
Bit 3 - Local Interconnect Network protocol enable
Sourcepub fn parity_enable(&mut self) -> PARITY_ENABLE_W<'_, RECEIVE_CONFIG_SPEC>
pub fn parity_enable(&mut self) -> PARITY_ENABLE_W<'_, RECEIVE_CONFIG_SPEC>
Bit 4 - Enable receive parity check
Sourcepub fn parity_mode(&mut self) -> PARITY_MODE_W<'_, RECEIVE_CONFIG_SPEC>
pub fn parity_mode(&mut self) -> PARITY_MODE_W<'_, RECEIVE_CONFIG_SPEC>
Bit 5 - Select receive parity mode if enabled
Sourcepub fn ir_receive(&mut self) -> IR_RECEIVE_W<'_, RECEIVE_CONFIG_SPEC>
pub fn ir_receive(&mut self) -> IR_RECEIVE_W<'_, RECEIVE_CONFIG_SPEC>
Bit 6 - Enable IR receive mode
Sourcepub fn ir_inverse(&mut self) -> IR_INVERSE_W<'_, RECEIVE_CONFIG_SPEC>
pub fn ir_inverse(&mut self) -> IR_INVERSE_W<'_, RECEIVE_CONFIG_SPEC>
Bit 7 - Inverse receive signal output in IR mode
Sourcepub fn word_length(&mut self) -> WORD_LENGTH_W<'_, RECEIVE_CONFIG_SPEC>
pub fn word_length(&mut self) -> WORD_LENGTH_W<'_, RECEIVE_CONFIG_SPEC>
Bits 8:10 - Bit count for each receive data word
Sourcepub fn deglitch_enable(&mut self) -> DEGLITCH_ENABLE_W<'_, RECEIVE_CONFIG_SPEC>
pub fn deglitch_enable(&mut self) -> DEGLITCH_ENABLE_W<'_, RECEIVE_CONFIG_SPEC>
Bit 11 - Enable receive de-glitch function
Sourcepub fn deglitch_cycle(&mut self) -> DEGLITCH_CYCLE_W<'_, RECEIVE_CONFIG_SPEC>
pub fn deglitch_cycle(&mut self) -> DEGLITCH_CYCLE_W<'_, RECEIVE_CONFIG_SPEC>
Bits 12:15 - De-glitch function cycle count
Sourcepub fn transfer_length(&mut self) -> TRANSFER_LENGTH_W<'_, RECEIVE_CONFIG_SPEC>
pub fn transfer_length(&mut self) -> TRANSFER_LENGTH_W<'_, RECEIVE_CONFIG_SPEC>
Bits 16:31 - Length of words per UART receive transfer