Type Alias atsame70n21b::qspi::mr::WDRBT_W

source ·
pub type WDRBT_W<'a, const O: u8> = BitWriter<'a, MR_SPEC, O, WDRBTSELECT_A>;
Expand description

Field WDRBT writer - Wait Data Read Before Transfer

Aliased Type§

struct WDRBT_W<'a, const O: u8> { /* private fields */ }

Implementations§

source§

impl<'a, const O: u8> WDRBT_W<'a, O>

source

pub fn disabled(self) -> &'a mut W

No effect. In SPI mode, a transfer can be initiated whatever the state of the QSPI_RDR is.

source

pub fn enabled(self) -> &'a mut W

In SPI mode, a transfer can start only if the QSPI_RDR is empty, i.e., does not contain any unread data. This mode prevents overrun error in reception.