CxW

Type Alias CxW 

pub type CxW<'a, REG> = BitWriter<'a, REG, Cx>;
Expand description

Field CX writer - Cancel Transfer

Aliased Type§

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

Implementations§

§

impl<'a, REG> CxW<'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. 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 CX bit clears itself after the cancel has been honored. This cancel retires the channel normally as if the minor loop was completed.