SMHC_RINTSTS Хост-контроллер SD / MMC (SMHC): список регистров 31 |•|•|•|•|•|•|•|•|•|•|•|•|•|•|•|•| 16 15 |•|•|•|•|•|•|•|•|•|•|•|•|•|•|•|•| 00 CARD_REMOVAL Bit 31R/W1C 0x0 Card Removed CARD_INSERT Bit 30R/W1C 0x0 Card Inserted Unused Bits 29 : 17SDIOI_INT Bit 16R/W1C 0x0 SDIO Interrupt DEE Bit 15R/W1C 0x0 Data End-bit Error ACD Bit 14R/W1C 0x0 Auto Command Done DSE_BC Bit 13R/W1C 0x0 Data Start Error CB_IW Bit 12R/W1C 0x0 Command Busy and Illegal Write FU_FO Bit 11R/W1C 0x0 FIFO Underrun/Overflow DSTO_VSD Bit 10R/W1C 0x0 Data Starvation Timeout/V1.8 Switch Done DTO_BDS Bit 9R/W1C 0x0 Data Timeout/Boot Data Start RTO_BACK Bit 8R/W1C 0x0 Response Timeout/Boot ACK Received DCE Bit 7R/W1C 0x0 Data CRC Error RCE Bit 6R/W1C 0x0 Response CRC Error DRR Bit 5R/W1C 0x0 Data Receive Request DTR Bit 4R/W1C 0x0 Data Transmit Request DTC Bit 3R/W1C 0x0 Data Transfer Complete CC_ Bit 2R/W1C 0x0 Command Complete RE_ Bit 1R/W1C 0x0 Response Error Unused Bit 0Команда U-Boot для чтения регистра md 4020038 1md 4021038 1 md 4022038 1 Bit fields structuretypedef union smhc_rintsts { struct { unsigned unused0 : 1; unsigned re_ : 1; unsigned cc_ : 1; unsigned dtc : 1; unsigned dtr : 1; unsigned drr : 1; unsigned rce : 1; unsigned dce : 1; unsigned rto_back : 1; unsigned dto_bds : 1; unsigned dsto_vsd : 1; unsigned fu_fo : 1; unsigned cb_iw : 1; unsigned dse_bc : 1; unsigned acd : 1; unsigned dee : 1; unsigned sdioi_int : 1; unsigned unused1 : 13; unsigned card_insert : 1; unsigned card_removal : 1; } b; unsigned long w; } SMHC_RINTSTS |