Type Alias W

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

Register interrupt_clear writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

Source§

impl W

Source

pub fn transmit_transfer( &mut self, ) -> TRANSMIT_TRANSFER_W<'_, INTERRUPT_CLEAR_SPEC>

Bit 0 - Write 1 to clear transmit transfer finish signal

Source

pub fn receive_transfer( &mut self, ) -> RECEIVE_TRANSFER_W<'_, INTERRUPT_CLEAR_SPEC>

Bit 1 - Write 1 to clear receive transfer finish signal

Source

pub fn receive_timeout(&mut self) -> RECEIVE_TIMEOUT_W<'_, INTERRUPT_CLEAR_SPEC>

Bit 4 - Write 1 to clear receive timed-out

Source

pub fn receive_parity(&mut self) -> RECEIVE_PARITY_W<'_, INTERRUPT_CLEAR_SPEC>

Bit 5 - Write 1 to clear receive parity check failure

Source

pub fn receive_sync_error( &mut self, ) -> RECEIVE_SYNC_ERROR_W<'_, INTERRUPT_CLEAR_SPEC>

Bit 8 - Write 1 to clear receive LIN mode synchronization field error

Source

pub fn receive_byte_count( &mut self, ) -> RECEIVE_BYTE_COUNT_W<'_, INTERRUPT_CLEAR_SPEC>

Bit 9 - Write 1 to clear receive byte count reached

Source

pub fn auto_baudrate_start_bit( &mut self, ) -> AUTO_BAUDRATE_START_BIT_W<'_, INTERRUPT_CLEAR_SPEC>

Bit 10 - Write 1 to clear receive auto baudrate detection finished using start bit

Source

pub fn auto_baudrate_five_five( &mut self, ) -> AUTO_BAUDRATE_FIVE_FIVE_W<'_, INTERRUPT_CLEAR_SPEC>

Bit 11 - Write 1 to clear receive auto baudrate detection finished using 0x55

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