RM0082
RS_SDIO controller
Doc ID 018672 Rev 1
715/844
Note:
A reset pulse is generated when writing logic ‘1’ to each bit of this register. After completing
the reset, the HC shall clear each bit. Because it takes some time to complete software
reset, the SD Host Driver shall confirm that these bits are logic ‘0’.
32.7.17 NIRQSTAT
register
The Normal Interrupt Status Enable affects read of this register, but Normal Interrupt Signal
does not affect these reads. An Interrupt is generated when the Normal Interrupt Signal
Enable is enabled and at least one of the status bits is set to logic ‘1’. For all bits except
Card Interrupt and Error Interrupt, writing logic ‘1’ to a bit clears it. The Card Interrupt is
cleared when the card stops asserting the interrupt: that is when the Card Driver services
the Interrupt condition. The NIRQSTAT bit assignments are given in
Table 636.
NIRQSTAT register bit assignments
Bit
Name
Reset
value
Type
Description
[15]
ERRINT
1’h0
ROC
If any of the bits in the Error Interrupt Status
Register are set, then this bit is set. Therefore the
HD can test for an error by checking this bit first.
1’b0 - No Error.
1’b1 - Error.
[14:09]
-
-
Rsvd
Reserved
[08]
CDINT
1’h0
ROC
Writing this bit to logic ‘1’ does not clear this bit. It is
cleared by resetting the SD card interrupt factor. In
1 bit mode, the HC shall detect the Card Interrupt
without SD Clock to support wakeup. In 4 bit mode,
the card interrupt signal is sampled during the
interrupt cycle, so there are some sample delays
between the interrupt signal from the card and the
interrupt to the Host system. When this status has
been set and the HD needs to start this interrupt
service, Card Interrupt Status Enable in the Normal
Interrupt Status register shall be set to logic ‘0’ in
order to clear the card interrupt statuses latched in
the HC and stop driving the Host System. After
completion of the card interrupt service (the reset
factor in the SD card and the interrupt signal may
not be asserted), set Card Interrupt Status Enable
to logic ‘1 ‘and start sampling the interrupt signal
again.
1’b0 - No Card Interrupt
1’b1 - Generate Card Interrupt
[07]
CDRINT
1’h0
RW1C
This status is set if the Card Inserted in the Present
State register changes from 1 to 0. When the HD
writes this bit to logic ‘1’ to clear this status the
status of the Card Inserted in the Present State
register should be confirmed. Because the card
detect may possibly be changed when the HD clear
this bit an Interrupt event may not be generated.
1’b0 - Card State Stable or Debouncing
1’b1 - Card Removed