![NXP Semiconductors LPC43Sxx User Manual Download Page 550](http://html1.mh-extra.com/html/nxp-semiconductors/lpc43sxx/lpc43sxx_user-manual_1721827550.webp)
UM10503
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2015. All rights reserved.
User manual
Rev. 2.1 — 10 December 2015
550 of 1441
NXP Semiconductors
UM10503
Chapter 22: LPC43xx/LPC43Sxx SD/MMC interface
22.6.7 Card Type Register
22.6.8 Block Size Register
22.6.9 Byte Count Register
22.6.10 Interrupt Mask Register
Table 364. Card Type Register (CTYPE, address 0x4000 4018) bit description
Bit
Symbol
Description
Reset
value
0
CARD_WIDTH0
Indicates if card is 1-bit or 4-bit:
0 - 1-bit mode
1 - 4-bit mode
1 and 4-bit modes only work when 8-bit mode in
CARD_WIDTH1 is not enabled (bit 16 in this register is
set to 0).
0
15:1
-
Reserved
-
16
CARD_WIDTH1
Indicates if card is 8-bit:
0 - Non 8-bit mode
1 - 8-bit mode.
0
31:17
-
Reserved
-
Table 365. Block Size Register (BLKSIZ, address 0x4000 401C) bit description
Bit
Symbol
Description
Reset value
15:0
BLOCK_SIZE
Block size
0x200
31:16
-
Reserved
-
Table 366. Byte Count Register (BYTCNT, address 0x4000 4020) bit description
Bit
Symbol
Description
Reset
value
31:0
BYTE_COUNT
Number of bytes to be transferred; should be integer multiple
of 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.
0x200
Table 367. Interrupt Mask Register (INTMASK, address 0x4000 4024) bit description
Bit
Symbol
Description
Reset
value
0
CDET
Card detect. Bits used to mask unwanted interrupts. Value
of 0 masks interrupt; value of 1 enables interrupt.
0
1
RE
Response error. Bits used to mask unwanted interrupts.
Value of 0 masks interrupt; value of 1 enables interrupt.
0
2
CDONE
Command done. Bits used to mask unwanted interrupts.
Value of 0 masks interrupt; value of 1 enables interrupt.
0
3
DTO
Data transfer over. Bits used to mask unwanted interrupts.
Value of 0 masks interrupt; value of 1 enables interrupt.
0