EasyManua.ls Logo

Maxim Integrated MAX32665 - Page 195

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 195 of 457
Present State Register
SDHC_PRESENT
[0x0024]
Bits
Name
Access
Reset
Description
9
read_transfer
RO
0
Read Transfer Active
Indicates completion of a read transfer.
This bit is set to 1 for either of the following conditions:
1) After the end bit of a Read command.
2) When a read operation is restarted by setting the SDHC_BLK_GAP.cont bit
(Continue Request).
This bit is set to 0 for either of the following conditions:
1) The last data block as specified by the block length is transferred to the SDHC.
2) When all valid data blocks are transferred to the system, and no current block
transfers are sent because the Stop At Block Gap Request register field is set to
1.
A SDHC_IRQ interrupt is generated, if enabled.
1: Transferring data
0: No valid data
8
write_transfer
RO
0
Write Transfer Active
This bit is set to 1 for either of the following conditions:
1) After the end bit of the Write command.
2) When a write operation is restarted by setting the SDHC_BLK_GAP.cont bit to 1.
This bit is cleared to 0 for either of the following conditions:
1) After getting the CRC status of the last data block transfer as specified by the
transfer count, single and multiple block, SDHC_BLK_CNT register.
2) After getting the CRC status of any block where data transmission is stopped by
a Stop At Block Gap Request (SDHC_BLK_GAP.stop).
When SDHC_BLK_GAP.stop (stop at block gap request) is set, a change in
write_transfer from 1 to 0 causes an SDHC_IRQ interrupt, if enabled, with the
SDHC_INT_STAT.blk_gap_event flag set to 1. The blk_gap_event field indicates to the
card driver that a non-DAT command can be issued during an active write.
1: Transferring data
0: No valid data for transfer
7:4
-
RO
0
Reserved for Future Use
Do not modify this field.
3
retuning
RO
0
Re-Tuning Request
If this field reads 1, a retuning request was received from the external device.
0: Re-tuning request has not been received.
1: Re-tuning request received.
2
dat_line_active
RO
0
DAT Line Active
A value of 1 indicates one or more DAT lines (SDHC_DAT[3:0]) are in use on the SD
Bus.
0: No SD Bus DAT lines in use.
1: 1 or more DAT lines are in use.

Table of Contents