Type Alias atsamd51p::sdhc0::cr::CMDTYP_W

source ·
pub type CMDTYP_W<'a, REG, const O: u8> = FieldWriterSafe<'a, REG, 2, O, CMDTYPSELECT_A>;
Expand description

Field CMDTYP writer - Command Type

Aliased Type§

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

Implementations§

source§

impl<'a, REG, const O: u8> CMDTYP_W<'a, REG, O>
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