Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of target-mcu-k64f by
_hw_sdhc_admaes Union Reference
HW_SDHC_ADMAES - ADMA Error Status register (RO) More...
#include <MK64F12_sdhc.h>
Detailed Description
HW_SDHC_ADMAES - ADMA Error Status register (RO)
Reset value: 0x00000000U
When an ADMA error interrupt has occurred, the ADMA Error States field in this register holds the ADMA state and the ADMA System Address register holds the address around the error descriptor. For recovering from this error, the host driver requires the ADMA state to identify the error descriptor address as follows: ST_STOP: Previous location set in the ADMA System Address register is the error descriptor address. ST_FDS: Current location set in the ADMA System Address register is the error descriptor address. ST_CADR: This state is never set because it only increments the descriptor pointer and doesn't generate an ADMA error. ST_TFR: Previous location set in the ADMA System Address register is the error descriptor address. In case of a write operation, the host driver must use the ACMD22 to get the number of the written block, rather than using this information, because unwritten data may exist in the host controller. The host controller generates the ADMA error interrupt when it detects invalid descriptor data (valid = 0) in the ST_FDS state. The host driver can distinguish this error by reading the valid bit of the error descriptor. ADMA Error State coding D01-D00 ADMA Error State when error has occurred Contents of ADMA System Address register 00 ST_STOP (Stop DMA) Holds the address of the next executable descriptor command 01 ST_FDS (fetch descriptor) Holds the valid descriptor address 10 ST_CADR (change address) No ADMA error is generated 11 ST_TFR (Transfer Data) Holds the address of the next executable descriptor command
Definition at line 4637 of file MK64F12_sdhc.h.
Generated on Sat Aug 27 2022 17:09:03 by
