EasyManua.ls Logo

Maxim Integrated MAX32665 - Table 8-73: SDHC Normal Interrupt Status Register

Maxim Integrated MAX32665
457 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
MAX32665-MAX32668 User Guide
Maxim Integrated Page 203 of 457
8.5.6.1 Normal Interrupt Status Register
The Normal Interrupt Status Enable affects reads of this register, but Normal Interrupt Signal Enable does not. An interrupt
is generated when the Normal Interrupt Signal Enable is enabled, and at least one of the status bits is set to 1. Writing 1 to a
bit of the RW1C attribute clears it. Writing 0 keeps the bit unchanged. Writing 1 to a bit of the ROC attribute keeps the bit
unchanged. You can clear more than one status with a single register write. The Card Interrupt (SDHC_INT_STAT.card_intr)
is cleared when the card stops asserting the interrupt after the Card Driver services the interrupt condition.
Table 8-73: SDHC Normal Interrupt Status Register
Normal Interrupt Status Register
SDHC_INT_STAT
[0x0030]
Bits
Name
Access
Reset
Description
15
err_intr
ROC
0
Error Interrupt
If any of the bits in the Error Interrupt Status register are set, then this bit is set.
Therefore, the Host Driver can efficiently test for an error by checking this bit first.
This bit is read only.
1: Error
0: No Error
14:13
-
ROC
0
Reserved for Future Use
12
retuning
ROC
0
Re-Tuning Event
This status is set if the Re-Tuning Request bit in the Present State register changes
from 0 to 1. The SDHC requests the Host Driver to perform re-tuning for the next data
transfer. However, you can complete the current data transfer (not large block count)
without re-tuning.
1: Perform re-tuning before the next data transfer
0: Re-tuning is not required
11:9
-
ROC
0
Reserved for Future Use
8
card_intr
ROC
0
Card Interrupt
In one-bit mode, the SDHC detects the Card Interrupt without the SD Clock to support
wakeup. In four-bit mode, the card interrupt signal is sampled during the interrupt
cycle resulting in a delay between the interrupt signal from the memory card and the
interrupt signal to the host driver.
1: Generate Card Interrupt
0: No Card Interrupt
Note: Writing a 1 to this bit does not clear this bit. It is cleared by resetting the
SDHC_INT_EN.card_int flag.
7
card_removal
RW1C
0
Card Removal
Set if the Card Inserted field in the Present State register
(SDHC_PRESENT.card_inserted) changes from 1 to 0.
1: Card removed
0: Card state stable or hardware debouncing
6
card_insertion
RW1C
0
Card Inserted
Set if the Card Inserted field in the Present State register
(SDHC_PRESENT.card_inserted) changes from 0 to 1.
1: Card inserted
0: Card state stable or hardware debouncing

Table of Contents