EasyManua.ls Logo

Maxim Integrated MAX32665 - Table 8-48: SDHC SDMA Block Count Register; Table 8-49: SDHC SDMA Argument 1 Register; Table 8-50: SDHC SDMA Transfer Mode Register

Maxim Integrated MAX32665
457 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
MAX32665-MAX32668 User Guide
Maxim Integrated Page 188 of 457
Table 8-48: SDHC SDMA Block Count Register
SDMA Block Count Register
SDHC_BLK_CNT
[0x0006]
Bits
Name
Access
Reset
Description
31:16
-
R/W
0
Reserved for Future Use
Do not modify this field.
15:0
trans
R/W
0x0200
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.
trans Value
Block Count
0xFFFF
65,535
0xFFFE
65,534
….
….
0x0002
2
0x0001
1
0x0000
Stop count or no
block transfer
Table 8-49: SDHC SDMA Argument 1 Register
SDMA Argument 1 Register
SDHC_ARG_1
[0x0008]
Bits
Name
Access
Reset
Description
31:0
cmd
R/W
0
SD Command Argument 1
The SD Command Argument 1 is specified as bit [39:8] of the Command-Format in the
Physical Layer Specification.
Table 8-50: SDHC SDMA Transfer Mode Register
SDMA Transfer Mode Register
SDHC_TRANS
[0x000C]
Bits
Name
Access
Reset
Description
31:6
-
R/W
0
Reserved for Future Use
Do not modify this field.
5
multi
R/W
0
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.

Table of Contents