EcxW

Type Alias EcxW 

pub type EcxW<'a, REG> = BitWriter<'a, REG, Ecx>;
Expand description

Field ECX writer - Error Cancel Transfer

Aliased Type§

pub struct EcxW<'a, REG> { /* private fields */ }

Implementations§

§

impl<'a, REG> EcxW<'a, REG>
where REG: Writable + RegisterSpec,

pub fn _0(self) -> &'a mut W<REG>

Normal operation

pub fn _1(self) -> &'a mut W<REG>

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.