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_ac12err Union Reference
HW_SDHC_AC12ERR - Auto CMD12 Error Status Register (RO) More...
#include <MK64F12_sdhc.h>
Detailed Description
HW_SDHC_AC12ERR - Auto CMD12 Error Status Register (RO)
Reset value: 0x00000000U
When the AC12ESEN bit in the Status register is set, the host driver shall check this register to identify what kind of error the Auto CMD12 indicated. This register is valid only when the Auto CMD12 Error status bit is set. The following table shows the relationship between the Auto CMGD12 CRC error and the Auto CMD12 command timeout error. Relationship between Command CRC Error and Command Timeout Error For Auto CMD12 Auto CMD12 CRC error Auto CMD12 timeout error Type of error 0 0 No error 0 1 Response timeout error 1 0 Response CRC error 1 1 CMD line conflict Changes in Auto CMD12 Error Status register can be classified in three scenarios: When the SDHC is going to issue an Auto CMD12: Set bit 0 to 1 if the Auto CMD12 can't be issued due to an error in the previous command. Set bit 0 to 0 if the auto CMD12 is issued. At the end bit of an auto CMD12 response: Check errors corresponding to bits 1-4. Set bits 1-4 corresponding to detected errors. Clear bits 1-4 corresponding to detected errors. Before reading the Auto CMD12 error status bit 7: Set bit 7 to 1 if there is a command that can't be issued. Clear bit 7 if there is no command to issue. The timing for generating the auto CMD12 error and writing to the command register are asynchronous. After that, bit 7 shall be sampled when the driver is not writing to the command register. So it is suggested to read this register only when IRQSTAT[AC12E] is set. An Auto CMD12 error interrupt is generated when one of the error bits (0-4) is set to 1. The command not issued by auto CMD12 error does not generate an interrupt.
Definition at line 3867 of file MK64F12_sdhc.h.
Generated on Sat Aug 27 2022 17:09:03 by
