Type Alias R

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

Register interrupt reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

Source§

impl R

Source

pub fn transfer_end_state(&self) -> TRANSFER_END_STATE_R

Bit 0 - Transfer ended interrupt state

Source

pub fn transmit_fifo_ready_state(&self) -> TRANSMIT_FIFO_READY_STATE_R

Bit 1 - Transmit FIFO ready interrupt state

Auto cleared when data is pushed into transmit FIFO.

Source

pub fn receive_fifo_ready_state(&self) -> RECEIVE_FIFO_READY_STATE_R

Bit 2 - Receive FIFO ready interrupt state

Auto cleared when data is popped from receive FIFO.

Source

pub fn not_acknowledged_state(&self) -> NOT_ACKNOWLEDGED_STATE_R

Bit 3 - Not-acknowledged response interrupt state

Source

pub fn arbitrate_lost_state(&self) -> ARBITRATE_LOST_STATE_R

Bit 4 - Arbitration lost interrupt state

Source

pub fn fifo_error_state(&self) -> FIFO_ERROR_STATE_R

Bit 5 - Transmit or receive FIFO error interrupt state

Auto cleared when FIFO overflow or underflow error flag is cleared.

Source

pub fn transfer_end_mask(&self) -> TRANSFER_END_MASK_R

Bit 8 - Transfer ended interrupt mask

Source

pub fn transmit_fifo_ready_mask(&self) -> TRANSMIT_FIFO_READY_MASK_R

Bit 9 - Transmit FIFO ready interrupt mask

Source

pub fn receive_fifo_ready_mask(&self) -> RECEIVE_FIFO_READY_MASK_R

Bit 10 - Receive FIFO ready interrupt mask

Source

pub fn not_acknowledged_mask(&self) -> NOT_ACKNOWLEDGED_MASK_R

Bit 11 - Not-acknowledged response interrupt mask

Source

pub fn arbitrate_lost_mask(&self) -> ARBITRATE_LOST_MASK_R

Bit 12 - Arbitration lost interrupt mask

Source

pub fn fifo_error_mask(&self) -> FIFO_ERROR_MASK_R

Bit 13 - Transmit or receive FIFO error interrupt mask

Source

pub fn transfer_end_enable(&self) -> TRANSFER_END_ENABLE_R

Bit 24 - Transfer ended interrupt enable

Source

pub fn transmit_fifo_ready_enable(&self) -> TRANSMIT_FIFO_READY_ENABLE_R

Bit 25 - Transmit FIFO ready interrupt enable

Source

pub fn receive_fifo_ready_enable(&self) -> RECEIVE_FIFO_READY_ENABLE_R

Bit 26 - Receive FIFO ready interrupt enable

Source

pub fn not_acknowledged_enable(&self) -> NOT_ACKNOWLEDGED_ENABLE_R

Bit 27 - Not-acknowledged response interrupt enable

Source

pub fn arbitrate_lost_enable(&self) -> ARBITRATE_LOST_ENABLE_R

Bit 28 - Arbitration lost interrupt enable

Source

pub fn fifo_error_enable(&self) -> FIFO_ERROR_ENABLE_R

Bit 29 - Transmit or receive FIFO error interrupt enable