Preliminary
Registers
www.ti.com
9.4.22 Interrupt Status Register (SD_STAT)
The interrupt status regroups all the status of the module internal events that can generate an interrupt.
•
SD_STAT[31:16] = Error Interrupt Status
•
SD_STAT[15:0] = Normal Interrupt Status
The error bits are located in the upper 16 bits of the SD_STAT register. All bits are cleared by writing a
1 to them. Additionally, bits 15 and 8 serve as special error bits. These cannot be cleared by writing a 1
to them. Bit 15 (ERRI) is automatically cleared when the error causing to ERRI to be set is handled.
(that is, when bits 31:16 are cleared, bit 15 will be automatically cleared). Bit 8 (CIRQ) is cleared by
writing a 0 to SD_IE[8] (masking the interrupt) and servicing the interrupt.
The interrupt status register (SD_STAT) is shown in
and described in
Figure 9-50. Interrupt Status Register (SD_STAT)
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
Reserved
BADA
CERR
Reserved
ADMAE
ACE
Rsvd
DEB
DCRC
DTO
CIE
CEB
CCRC
CTO
R-0
R/W-0
R/W-0
R-0
R/W-0
R/W-0
R-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
15
14
10
9
8
7
6
5
4
3
2
1
0
ERRI
Reserved
BSR
OBI
CIRQ
CREM
CINS
BRR
BWR
DMA
BGE
TC
CC
R-0
R-0
R/W-0
R-0
R-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
LEGENDR/W = Read/Write; R = Read only; -n = value after reset
Table 9-32. Interrupt Status Register (SD_STAT) Field Descriptions
Bit
Field
Value
Description
31-30
Reserved
0
Reserved bit field. Do not write any value
29
BADA
Bad access to data space.
This bit is set automatically to indicate a bad access to buffer when not allowed:
• During a read access to the data register (SD_DATA) while buffer reads are not allowed
(SD_PSTATE[11] BRE bit =0)
• During a write access to the data register (SD_DATA) while buffer writes are not allowed
(SD_PSTATE[10] BWE bit=0)
Read 0
No interrupt
Write 0
Status bit unchanged
Read 1
Bad access
Write 1
Status is cleared.
28
CERR
Card error. This bit is set automatically when there is at least one error in a response of type
R1, R1b, R6, R5 or R5b. Only bits referenced as type E (error) in status field in the response
can set a card status error. An error bit in the response is flagged only if corresponding bit in
card status response error SD_CSRE in set.
There is no card error detection for autoCMD12 command. The host driver shall read
SD_RSP76 register to detect error bits in the command response.
Read 0
No error
Write 0
Status bit unchanged
Read 1
Card error
Write 1
Status is cleared.
27-26
Reserved
0
Reserved bit field. Do not write any value
990
Secure Digital (SD)/—Secure Digital I/O (SDIO) Card Interface
SPRUGX9 – 15 April 2011
© 2011, Texas Instruments Incorporated
Содержание TMS320C6A816 Series
Страница 2: ...Preliminary 2 SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...
Страница 92: ...92 Read This First SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...
Страница 1122: ...1122 Multichannel Audio Serial Port McASP SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...
Страница 1562: ...1562 Real Time Clock RTC SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...
Страница 1658: ...1658 Timers SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...
Страница 1750: ...1750 UART IrDA CIR Module SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...
Страница 1984: ...1984 Universal Serial Bus USB SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...