Type Alias W

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

Register interrupt_source writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

Source§

impl W

Source

pub fn buffer_transmitted( &mut self, ) -> BUFFER_TRANSMITTED_W<'_, INTERRUPT_SOURCE_SPEC>

Bit 0 - Buffer transmitted interrupt state

Source

pub fn transmit_error(&mut self) -> TRANSMIT_ERROR_W<'_, INTERRUPT_SOURCE_SPEC>

Bit 1 - Transmit error interrupt state

Source

pub fn frame_received(&mut self) -> FRAME_RECEIVED_W<'_, INTERRUPT_SOURCE_SPEC>

Bit 2 - Frame received interrupt state

Source

pub fn receive_error(&mut self) -> RECEIVE_ERROR_W<'_, INTERRUPT_SOURCE_SPEC>

Bit 3 - Receive error interrupt state

Source

pub fn busy(&mut self) -> BUSY_W<'_, INTERRUPT_SOURCE_SPEC>

Bit 4 - Lack of buffer interrupt state

Source

pub fn control_transmit( &mut self, ) -> CONTROL_TRANSMIT_W<'_, INTERRUPT_SOURCE_SPEC>

Bit 5 - Control frame transmitted interrupt state

Source

pub fn control_receive( &mut self, ) -> CONTROL_RECEIVE_W<'_, INTERRUPT_SOURCE_SPEC>

Bit 6 - Control frame received interrupt state

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