MAX32665-MAX32668 User Guide
Maxim Integrated Page 188 of 457
Table 8-48: SDHC SDMA Block Count Register
Current Transfer Block Count
Set to the total number of blocks to transfer prior to a block transfer operation. Set
the Block Count Enable (SDHC_TRANS.blk_cnt_en) bit to 1 for a block transfer. If
Block Count Enable is clear, then this field is unused.
When set to 1, the value in this register is the total number of blocks to transfer.
After each block transfer, this register is decremented by 1, and stops when the
count reaches 0.
Reads from this register are only valid when no transactions are active. A setting of 0
results in no blocks transferred.
When a Suspend command is complete, the number of remaining blocks to transfer
is contained in this field.
Before issuing a Resume command, the card driver must restore the previously-saved
block count to this field.
SD Command Argument 1
The SD Command Argument 1 is specified as bit [39:8] of the Command-Format in the
Physical Layer Specification.
Multi/Single Block Select
Used for DAT line transfers and multiple-block commands. For all other commands,
set this bit to 0.
1: Multiple-block or DAT line transfer
0: Single Block
Note: The SDHC_BLK_CNT register is ignored if this field is set to 0.