Send an ADTC command on the selected slot An ADTC (Addressed Data Transfer Commands) command is used for read/write access..
bool mci_os_adtc_start( struct mci_os_desc *const desc, uint32_t cmd, uint32_t arg, uint16_t block_size, uint16_t nb_block, bool access_block )
Type: struct mci_os_desc Struct *const
Mci os descriptor
Type: uint32_t
Command definition.
Type: uint32_t
Argument of the command.
Type: uint16_t
Block size used for the transfer.
Type: uint16_t
Total number of block for this transfer
Type: bool
if true, the x_read_blocks() and x_write_blocks() functions must be used after this function. If false, the mci_read_word() and mci_write_word() functions must be used after this function.
Type: bool
true if success, otherwise false