pub type CMDTYP_R = FieldReader<CMDTYP_A>;
Expand description

Field CMDTYP reader - Command type

Aliased Type§

struct CMDTYP_R { /* private fields */ }

Implementations§

source§

impl CMDTYP_R

source

pub const fn variant(&self) -> CMDTYP_A

Get enumerated values variant

source

pub fn is_cmdtyp_d(&self) -> bool

Normal other commands

source

pub fn is_cmdtyp_c(&self) -> bool

Suspend CMD52 for writing bus suspend in CCCR

source

pub fn is_cmdtyp_b(&self) -> bool

Resume CMD52 for writing function select in CCCR

source

pub fn is_cmdtyp_a(&self) -> bool

Abort CMD12, CMD52 for writing I/O Abort in CCCR