EcxR

Type Alias EcxR 

pub type EcxR = BitReader<Ecx>;
Expand description

Field ECX reader - Error Cancel Transfer

Aliased Type§

pub struct EcxR { /* private fields */ }

Implementations§

§

impl EcxR

pub const fn variant(&self) -> Ecx

Get enumerated values variant

pub fn is_0(&self) -> bool

Normal operation

pub fn is_1(&self) -> bool

Cancel the remaining data transfer in the same fashion as the CX bit. Stop the executing channel and force the minor loop to finish. The cancel takes effect after the last write of the current read/write sequence. The ECX bit clears itself after the cancel is honored. In addition to cancelling the transfer, ECX treats the cancel as an error condition, thus updating the Error Status register (DMAx_ES) and generating an optional error interrupt.