pub struct R(_);
Expand description
Register CMD
reader
Implementations
sourceimpl R
impl R
sourcepub fn cmd_index(&self) -> CMD_INDEX_R
pub fn cmd_index(&self) -> CMD_INDEX_R
Bits 0:5 - Command index.
sourcepub fn response_expect(&self) -> RESPONSE_EXPECT_R
pub fn response_expect(&self) -> RESPONSE_EXPECT_R
Bit 6 - Response expect.
sourcepub fn response_length(&self) -> RESPONSE_LENGTH_R
pub fn response_length(&self) -> RESPONSE_LENGTH_R
Bit 7 - Response length.
sourcepub fn check_response_crc(&self) -> CHECK_RESPONSE_CRC_R
pub fn check_response_crc(&self) -> CHECK_RESPONSE_CRC_R
Bit 8 - Check response CRC.
sourcepub fn data_expected(&self) -> DATA_EXPECTED_R
pub fn data_expected(&self) -> DATA_EXPECTED_R
Bit 9 - Data expected.
sourcepub fn read_write(&self) -> READ_WRITE_R
pub fn read_write(&self) -> READ_WRITE_R
Bit 10 - read/write.
sourcepub fn transfer_mode(&self) -> TRANSFER_MODE_R
pub fn transfer_mode(&self) -> TRANSFER_MODE_R
Bit 11 - Transfer mode.
sourcepub fn send_auto_stop(&self) -> SEND_AUTO_STOP_R
pub fn send_auto_stop(&self) -> SEND_AUTO_STOP_R
Bit 12 - Send auto stop.
sourcepub fn wait_prvdata_complete(&self) -> WAIT_PRVDATA_COMPLETE_R
pub fn wait_prvdata_complete(&self) -> WAIT_PRVDATA_COMPLETE_R
Bit 13 - Wait prvdata complete.
sourcepub fn stop_abort_cmd(&self) -> STOP_ABORT_CMD_R
pub fn stop_abort_cmd(&self) -> STOP_ABORT_CMD_R
Bit 14 - Stop abort command.
sourcepub fn send_initialization(&self) -> SEND_INITIALIZATION_R
pub fn send_initialization(&self) -> SEND_INITIALIZATION_R
Bit 15 - Send initialization.
sourcepub fn card_number(&self) -> CARD_NUMBER_R
pub fn card_number(&self) -> CARD_NUMBER_R
Bits 16:20 - Specifies the card number of SDCARD for which the current Command is being executed
sourcepub fn update_clock_registers_only(&self) -> UPDATE_CLOCK_REGISTERS_ONLY_R
pub fn update_clock_registers_only(&self) -> UPDATE_CLOCK_REGISTERS_ONLY_R
Bit 21 - Update clock registers only.
sourcepub fn read_ceata_device(&self) -> READ_CEATA_DEVICE_R
pub fn read_ceata_device(&self) -> READ_CEATA_DEVICE_R
Bit 22 - Read ceata device.
sourcepub fn ccs_expected(&self) -> CCS_EXPECTED_R
pub fn ccs_expected(&self) -> CCS_EXPECTED_R
Bit 23 - CCS expected.
sourcepub fn enable_boot(&self) -> ENABLE_BOOT_R
pub fn enable_boot(&self) -> ENABLE_BOOT_R
Bit 24 - Enable Boot - this bit should be set only for mandatory boot mode.
sourcepub fn expect_boot_ack(&self) -> EXPECT_BOOT_ACK_R
pub fn expect_boot_ack(&self) -> EXPECT_BOOT_ACK_R
Bit 25 - Expect Boot Acknowledge.
sourcepub fn disable_boot(&self) -> DISABLE_BOOT_R
pub fn disable_boot(&self) -> DISABLE_BOOT_R
Bit 26 - Disable Boot.
sourcepub fn boot_mode(&self) -> BOOT_MODE_R
pub fn boot_mode(&self) -> BOOT_MODE_R
Bit 27 - Boot Mode.
sourcepub fn volt_switch(&self) -> VOLT_SWITCH_R
pub fn volt_switch(&self) -> VOLT_SWITCH_R
Bit 28 - Voltage switch bit.
sourcepub fn use_hold_reg(&self) -> USE_HOLD_REG_R
pub fn use_hold_reg(&self) -> USE_HOLD_REG_R
Bit 29 - Use Hold Register.
sourcepub fn start_cmd(&self) -> START_CMD_R
pub fn start_cmd(&self) -> START_CMD_R
Bit 31 - Start command.
Methods from Deref<Target = R<CMD_SPEC>>
Trait Implementations
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more