Type Alias R

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

Register INT_ENA reader

Aliased Type§

pub struct R { /* private fields */ }

Implementations§

Source§

impl R

Source

pub fn ch_tx_end(&self, n: u8) -> CH_TX_END_R

reg_ch(0-1)_tx_end_int_ena.

`n` is number of field in register. `n == 0` corresponds to `CH0_TX_END` field.
Source

pub fn ch_tx_end_iter(&self) -> impl Iterator<Item = CH_TX_END_R> + '_

Iterator for array of: reg_ch(0-1)_tx_end_int_ena.

Source

pub fn ch0_tx_end(&self) -> CH_TX_END_R

Bit 0 - reg_ch0_tx_end_int_ena.

Source

pub fn ch1_tx_end(&self) -> CH_TX_END_R

Bit 1 - reg_ch1_tx_end_int_ena.

Source

pub fn ch_rx_end(&self, n: u8) -> CH_RX_END_R

reg_ch(2-3)_rx_end_int_ena.

`n` is number of field in register. `n == 0` corresponds to `CH2_RX_END` field.
Source

pub fn ch_rx_end_iter(&self) -> impl Iterator<Item = CH_RX_END_R> + '_

Iterator for array of: reg_ch(2-3)_rx_end_int_ena.

Source

pub fn ch2_rx_end(&self) -> CH_RX_END_R

Bit 2 - reg_ch2_rx_end_int_ena.

Source

pub fn ch3_rx_end(&self) -> CH_RX_END_R

Bit 3 - reg_ch3_rx_end_int_ena.

Source

pub fn ch_tx_err(&self, n: u8) -> CH_TX_ERR_R

reg_ch(0-1)_err_int_ena.

`n` is number of field in register. `n == 0` corresponds to `CH0_TX_ERR` field.
Source

pub fn ch_tx_err_iter(&self) -> impl Iterator<Item = CH_TX_ERR_R> + '_

Iterator for array of: reg_ch(0-1)_err_int_ena.

Source

pub fn ch0_tx_err(&self) -> CH_TX_ERR_R

Bit 4 - reg_ch0_err_int_ena.

Source

pub fn ch1_tx_err(&self) -> CH_TX_ERR_R

Bit 5 - reg_ch1_err_int_ena.

Source

pub fn ch_rx_err(&self, n: u8) -> CH_RX_ERR_R

reg_ch(2-3)_err_int_ena.

`n` is number of field in register. `n == 0` corresponds to `CH2_RX_ERR` field.
Source

pub fn ch_rx_err_iter(&self) -> impl Iterator<Item = CH_RX_ERR_R> + '_

Iterator for array of: reg_ch(2-3)_err_int_ena.

Source

pub fn ch2_rx_err(&self) -> CH_RX_ERR_R

Bit 6 - reg_ch2_err_int_ena.

Source

pub fn ch3_rx_err(&self) -> CH_RX_ERR_R

Bit 7 - reg_ch3_err_int_ena.

Source

pub fn ch_tx_thr_event(&self, n: u8) -> CH_TX_THR_EVENT_R

reg_ch(0-1)_tx_thr_event_int_ena.

`n` is number of field in register. `n == 0` corresponds to `CH0_TX_THR_EVENT` field.
Source

pub fn ch_tx_thr_event_iter( &self, ) -> impl Iterator<Item = CH_TX_THR_EVENT_R> + '_

Iterator for array of: reg_ch(0-1)_tx_thr_event_int_ena.

Source

pub fn ch0_tx_thr_event(&self) -> CH_TX_THR_EVENT_R

Bit 8 - reg_ch0_tx_thr_event_int_ena.

Source

pub fn ch1_tx_thr_event(&self) -> CH_TX_THR_EVENT_R

Bit 9 - reg_ch1_tx_thr_event_int_ena.

Source

pub fn ch_rx_thr_event(&self, n: u8) -> CH_RX_THR_EVENT_R

reg_ch(2-3)_rx_thr_event_int_ena.

`n` is number of field in register. `n == 0` corresponds to `CH2_RX_THR_EVENT` field.
Source

pub fn ch_rx_thr_event_iter( &self, ) -> impl Iterator<Item = CH_RX_THR_EVENT_R> + '_

Iterator for array of: reg_ch(2-3)_rx_thr_event_int_ena.

Source

pub fn ch2_rx_thr_event(&self) -> CH_RX_THR_EVENT_R

Bit 10 - reg_ch2_rx_thr_event_int_ena.

Source

pub fn ch3_rx_thr_event(&self) -> CH_RX_THR_EVENT_R

Bit 11 - reg_ch3_rx_thr_event_int_ena.

Source

pub fn ch_tx_loop(&self, n: u8) -> CH_TX_LOOP_R

reg_ch(0-1)_tx_loop_int_ena.

`n` is number of field in register. `n == 0` corresponds to `CH0_TX_LOOP` field.
Source

pub fn ch_tx_loop_iter(&self) -> impl Iterator<Item = CH_TX_LOOP_R> + '_

Iterator for array of: reg_ch(0-1)_tx_loop_int_ena.

Source

pub fn ch0_tx_loop(&self) -> CH_TX_LOOP_R

Bit 12 - reg_ch0_tx_loop_int_ena.

Source

pub fn ch1_tx_loop(&self) -> CH_TX_LOOP_R

Bit 13 - reg_ch1_tx_loop_int_ena.