Atmel Evaluation Kit AT91SAM9M10-G45-EK AT91SAM9M10-G45-EK データシート

製品コード
AT91SAM9M10-G45-EK
ページ / 1361
 706
SAM9M10 [DATASHEET]
6355F–ATARM–12-Mar-13
 
35.13.7
HSMCI  Block  Register
Name:
 HSMCI_BLKR
Addresses:
0xFFF80018 (0), 0xFFFD0018 (1)
Access:
 Read-write
  
• BCNT:  MMC/SDIO  Block  Count  -  SDIO  Byte  Count
This field determines the number of data byte(s) or block(s) to transfer.
The transfer data type and the authorized values for BCNT field are determined by the TRTYP field in the HSMCI Com-
mand Register (HSMCI_CMDR):
Warning:
 In SDIO Byte and Block modes, writing to the 7 last bits of BCNT field, is forbidden and may lead to unpredict-
able results.
• BLKLEN:  Data  Block  Length
This field determines the size of the data block. 
This field is also accessible in the HSMCI Mode Register (HSMCI_MR).
Bits 16 and 17 must be set to 0 if FBYTE is disabled.
Note:
In SDIO Byte mode, BLKLEN field is not used.
31
30
29
28
27
26
25
24
BLKLEN
23
22
21
20
19
18
17
16
BLKLEN
15
14
13
12
11
10
9
8
BCNT
7
6
5
4
3
2
1
0
BCNT
TRTYP
Type  of  Transfer
BCNT  Authorized  Values
0
0
1
MMC/SDCard Multiple Block
From 1 to 65635: Value 0 corresponds to an infinite block transfer.
1
0
0
SDIO Byte
From 1 to 512 bytes: Value 0 corresponds to a 512-byte transfer.
Values from 0x200 to 0xFFFF are forbidden.
1
0
1
SDIO Block
From 1 to 511 blocks: Value 0 corresponds to an infinite block transfer.
Values from 0x200 to 0xFFFF are forbidden.
Other values
-
Reserved.