#[repr(C)]pub struct R1(/* private fields */);
Expand description
Response sent by every command except SEND_STATUS
in SDIO mode.
Implementations§
Source§impl R1
impl R1
Sourcepub const fn idle(&self) -> bool
pub const fn idle(&self) -> bool
Getter for idle field of R1.
Card is in idle state and running intializing process.
Sourcepub fn set_idle(&mut self, val: bool)
pub fn set_idle(&mut self, val: bool)
Setter for idle field of R1.
Card is in idle state and running intializing process.
Sourcepub const fn illegal_command(&self) -> bool
pub const fn illegal_command(&self) -> bool
Getter for illegal_command field of R1.
An illegal command code detected.
Sourcepub fn set_illegal_command(&mut self, val: bool)
pub fn set_illegal_command(&mut self, val: bool)
Setter for illegal_command field of R1.
An illegal command code detected.
Sourcepub const fn crc_error(&self) -> bool
pub const fn crc_error(&self) -> bool
Getter for crc_error field of R1.
A communication CRC check failed.
Sourcepub fn set_crc_error(&mut self, val: bool)
pub fn set_crc_error(&mut self, val: bool)
Setter for crc_error field of R1.
A communication CRC check failed.
Sourcepub const fn function_number_error(&self) -> bool
pub const fn function_number_error(&self) -> bool
Getter for function_number_error field of R1.
A function number error occurred.
Sourcepub fn set_function_number_error(&mut self, val: bool)
pub fn set_function_number_error(&mut self, val: bool)
Setter for function_number_error field of R1.
A function number error occurred.
Sourcepub const fn parameter_error(&self) -> bool
pub const fn parameter_error(&self) -> bool
Getter for parameter_error field of R1.
Invalid command argument.
Sourcepub fn set_parameter_error(&mut self, val: bool)
pub fn set_parameter_error(&mut self, val: bool)
Setter for parameter_error field of R1.
Invalid command argument.
Source§impl R1
impl R1
Sourcepub const fn response_type(&self) -> ResponseType
pub const fn response_type(&self) -> ResponseType
Gets the response type for the R1.
Sourcepub const fn response_mode(&self) -> ResponseMode
pub const fn response_mode(&self) -> ResponseMode
Gets the response mode for the R1.