#[repr(C)]pub struct R1(/* private fields */);
Expand description
Response sent by every command except SEND_STATUS
in SPI mode.
Implementations§
Source§impl R1
impl R1
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.
Sourcepub const fn address_error(&self) -> bool
pub const fn address_error(&self) -> bool
Getter for address_error field of R1.
A misaligned address that does not match block length detected.
Sourcepub fn set_address_error(&mut self, val: bool)
pub fn set_address_error(&mut self, val: bool)
Setter for address_error field of R1.
A misaligned address that does not match block length detected.
Sourcepub const fn erase_error(&self) -> bool
pub const fn erase_error(&self) -> bool
Getter for erase_error field of R1.
An erase sequence error occurred.
Sourcepub fn set_erase_error(&mut self, val: bool)
pub fn set_erase_error(&mut self, val: bool)
Setter for erase_error field of R1.
An erase sequence error occurred.
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 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 erase_reset(&self) -> bool
pub const fn erase_reset(&self) -> bool
Getter for erase_reset field of R1.
An erase sequence was cleared by a command received out of erase sequence.
Sourcepub fn set_erase_reset(&mut self, val: bool)
pub fn set_erase_reset(&mut self, val: bool)
Setter for erase_reset field of R1.
An erase sequence was cleared by a command received out of erase sequence.
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.