reg_blockcount (SDIO) Register - UG1087

Zynq UltraScale+ Devices Register Reference (UG1087)

Document ID
UG1087
Release Date
2025-06-20
Revision
1.11

reg_blockcount (SDIO) Register Description

Register Namereg_blockcount
Offset Address0x0000000006
Absolute Address 0x00FF160006 (SD0)
0x00FF170006 (SD1)
Width16
TyperwNormal read/write
Reset Value0x00000000
DescriptionConfigure the number of data blocks

reg_blockcount (SDIO) Register Bit-Field Summary

Field NameBitsTypeReset ValueDescription
xfer_blockcount15:0rwNormal read/write0x0Remaining Block Count. The controller decrements the block count after each block transfer and stops transfers when the count reaches zero.
0000h:
0 blocks, transfers stop.
0001h: 1 block.
0002h: 2 blocks.
..
FFFFh: 65535 blocks.
This register is enabled when Block Count Enable in the Transfer Mode register is set to 1 and is valid only for multi-block transfers.
Accessed the register when no transactions are executing (i.e., after a transaction has stopped). During a transfer, reads return an invalid value and writes are ignored.
When saving transfer context as a result of Suspend command, the number of blocks yet to be transferred can be determined by reading this register. When restoring transfer context prior to issuing a Resume command, the Host Driver shall restore the previously save block count.