Type Alias CmdtypW

Source
pub type CmdtypW<'a, REG> = FieldWriter<'a, REG, 2, Cmdtypselect, Safe>;
Expand description

Field CMDTYP writer - Command Type

Aliased Type§

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

Implementations§

Source§

impl<'a, REG> CmdtypW<'a, REG>
where REG: Writable + RegisterSpec, REG::Ux: From<u8>,

Source

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

Other commands

Source

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

CMD52 for writing Bus Suspend in CCCR

Source

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

CMD52 for writing Function Select in CCCR

Source

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

CMD12, CMD52 for writing I/O Abort in CCCR