Type Alias W

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

Register interrupt writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

Source§

impl W

Source

pub fn transfer_end_mask(&mut self) -> TRANSFER_END_MASK_W<'_, INTERRUPT_SPEC>

Bit 8 - Transfer ended interrupt mask

Source

pub fn transmit_fifo_ready_mask( &mut self, ) -> TRANSMIT_FIFO_READY_MASK_W<'_, INTERRUPT_SPEC>

Bit 9 - Transmit FIFO ready interrupt mask

Source

pub fn receive_fifo_ready_mask( &mut self, ) -> RECEIVE_FIFO_READY_MASK_W<'_, INTERRUPT_SPEC>

Bit 10 - Receive FIFO ready interrupt mask

Source

pub fn not_acknowledged_mask( &mut self, ) -> NOT_ACKNOWLEDGED_MASK_W<'_, INTERRUPT_SPEC>

Bit 11 - Not-acknowledged response interrupt mask

Source

pub fn arbitrate_lost_mask( &mut self, ) -> ARBITRATE_LOST_MASK_W<'_, INTERRUPT_SPEC>

Bit 12 - Arbitration lost interrupt mask

Source

pub fn fifo_error_mask(&mut self) -> FIFO_ERROR_MASK_W<'_, INTERRUPT_SPEC>

Bit 13 - Transmit or receive FIFO error interrupt mask

Source

pub fn transfer_end_clear(&mut self) -> TRANSFER_END_CLEAR_W<'_, INTERRUPT_SPEC>

Bit 16 - Write 1 to clear transfer ended

Source

pub fn not_acknowledged_clear( &mut self, ) -> NOT_ACKNOWLEDGED_CLEAR_W<'_, INTERRUPT_SPEC>

Bit 19 - Write 1 to clear not-acknowledged response

Source

pub fn arbitrate_lost_clear( &mut self, ) -> ARBITRATE_LOST_CLEAR_W<'_, INTERRUPT_SPEC>

Bit 20 - Write 1 to clear arbitration lost

Source

pub fn transfer_end_enable( &mut self, ) -> TRANSFER_END_ENABLE_W<'_, INTERRUPT_SPEC>

Bit 24 - Transfer ended interrupt enable

Source

pub fn transmit_fifo_ready_enable( &mut self, ) -> TRANSMIT_FIFO_READY_ENABLE_W<'_, INTERRUPT_SPEC>

Bit 25 - Transmit FIFO ready interrupt enable

Source

pub fn receive_fifo_ready_enable( &mut self, ) -> RECEIVE_FIFO_READY_ENABLE_W<'_, INTERRUPT_SPEC>

Bit 26 - Receive FIFO ready interrupt enable

Source

pub fn not_acknowledged_enable( &mut self, ) -> NOT_ACKNOWLEDGED_ENABLE_W<'_, INTERRUPT_SPEC>

Bit 27 - Not-acknowledged response interrupt enable

Source

pub fn arbitrate_lost_enable( &mut self, ) -> ARBITRATE_LOST_ENABLE_W<'_, INTERRUPT_SPEC>

Bit 28 - Arbitration lost interrupt enable

Source

pub fn fifo_error_enable(&mut self) -> FIFO_ERROR_ENABLE_W<'_, INTERRUPT_SPEC>

Bit 29 - Transmit or receive FIFO error interrupt enable

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