Samsung S5PC100 User Manual page 964

Table of Contents

Advertisement

S5PC100 USER'S MANUAL (REV1.0)
9.3 BLOCK COUNT REGISTER
Blocks Count for Current Transfer
BLKCNT0, R/W, Address = 0xED80_0006
BLKCNT1, R/W, Address = 0xED90_0006
BLKCNT2, R/W, Address = 0xEDA0_0006
This register is used to configure the number of data blocks.
BLKCNT
Bit
BLKCNT
[15:0]
Blocks Count For Current Transfer
This register is enabled if Block Count Enable in the Transfer Mode register
is set to 1 and is valid only for multiple block transfers. The Host Driver sets
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 if
the count reaches zero. Setting the block count to 0 results in no data
blocks being transferred.
This register must be accessed if no transaction is executing (i.e., after
transactions are stopped). During data transfer, read operations on this
register returns an invalid value and write operations are ignored. If saving
transfer context as a result of a Suspend command, the number of blocks
yet to be transferred is determined by reading this register. If restoring
transfer context prior to issuing a Resume command, the Host Driver
restores the previously saved block count.
FFFFh = 65535 blocks
... ...
0002h = 2 blocks
0001h = 1 block
0000h = Stop Count
Description
SD/MMC CONTROLLER
Reset Value
0
8.12-29

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents