bytcnt

The number of bytes to be transferred.
Module Instance Base Address Register Address
sdmmc 0xFF704000 0xFF704020

Offset: 0x20

Access: RW

Bit Fields
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16

byte_count

RW 0x200

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

byte_count

RW 0x200

bytcnt Fields

Bit Name Description Access Reset
31:0 byte_count

This value should be an integer multiple of the Block Size for block transfers. For undefined number of byte transfers, byte count should be set to 0. When byte count is set to 0, it is responsibility of host to explicitly send stop/abort command to terminate data transfer. Note: In SDIO mode, if a single transfer is greater than 4 bytes and non-DWORD-aligned, the transfer should be broken where only the last transfer is non-DWORD-aligned and less than 4 bytes. For example, if a transfer of 129 bytes must occur, then the driver should start at least two transfers; one with 128 bytes and the other with 1 byte.

RW 0x200