Datasheet

Table Of Contents
40.8.3 Block Count Register
Name:  BCR
Offset:  0x06
Reset:  0x0000
Property:  -
Bit 15 14 13 12 11 10 9 8
BLKCNT[15:8]
Access
R/W R/W R/W R/W R/W R/W R/W R/W
Reset 0 0 0 0 0 0 0 0
Bit 7 6 5 4 3 2 1 0
BLKCNT[7:0]
Access
R/W R/W R/W R/W R/W R/W R/W R/W
Reset 0 0 0 0 0 0 0 0
Bits 15:0 – BLKCNT[15:0] Block Count for Current Transfer
This field is used only if TMR.BCEN (Block Count Enable) is set to 1 and is valid only for multiple block
transfers. BLKCNT is the number of blocks to be transferred and it must be set to a value between 1 and
the maximum block count. The peripheral decrements the block count after each block transfer and stops
when the count reaches 0. When this field is set to 0, no data block is 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 a suspend command is completed, the number of blocks yet to be transferred can be determined
by reading this register. Before issuing a resume command, the previously saved block count is restored.
SAM D5x/E5x Family Data Sheet
SD/MMC Host Controller ...
© 2019 Microchip Technology Inc.
Datasheet
DS60001507E-page 1321