Block Count Register - Samsung S3C2416 User Manual

16/32-bit risc
Table of Contents

Advertisement

S3C2416X RISC MICROPROCESSOR

5.4 BLOCK COUNT REGISTER

This register is used to configure the number of data blocks.
Register
Address
BLKCNT0
0X4AC00006
BLKCNT1
0X4A800006
Name
Bit
BLKCNT
[15:0]
R/W
R/W
Blocks Count For Current Transfer (Channel 0)
R/W
Blocks Count For Current Transfer (Channel 1)
Blocks Count For Current Transfer
This register is enabled when Block Count Enable in the Transfer
Mode register is set to 1 and is valid only for multiple block transfers.
The Host Driver shall set this register to a value between 1 and the
maximum block count. The Host Controller decrements the block count
after each block transfer and stops when the count reaches zero.
Setting the block count to 0 results in no data blocks being transferred.
This register should be accessed only when no transaction is executing
(i.e., after transactions are stopped). During data transfer, read
operations on this register may return an invalid value and write
operations are ignored. When saving transfer context as a result of a
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 saved block count.
FFFFh = 65535 blocks
... ...
0002h = 2 blocks
0001h = 1 block
0000h = Stop Count
Description
Description
HSMMC CONTROLLER
Reset Value
0x0
0x0
Initial Value
0
20-21

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents