SMHC_MINTSTS Хост-контроллер SD / MMC (SMHC): список регистров 31 |•|•|•|•|•|•|•|•|•|•|•|•|•|•|•|•| 16 15 |•|•|•|•|•|•|•|•|•|•|•|•|•|•|•|•| 00 M_CARD_REMOVAL_INT Bit 31R/W 0x0 Card Removed M_CARD_INSERT Bit 30R/W 0x0 Card Inserted Unused Bits 29 : 17M_SDIO_INT Bit 16R/W 0x0 SDIO Interrupt M_DEE_INT Bit 15R/W 0x0 Data End-bit Error M_ACD_INT Bit 14R/W 0x0 Auto Command Done M_DSE_BC_INT Bit 13R/W 0x0 Data Start Error M_CB_IW_INT Bit 12R/W 0x0 Command Busy and Illegal Write M_FU_FO_INT Bit 11R/W 0x0 M_DSTO_VSD_INT Bit 10R/W 0x0 FIFO Underrun/Overflow M_DTO_BDS_INT Bit 9R/W 0x0 M_RTO_BACK_INT Bit 8R/W 0x0 Data Timeout/Boot Data Start M_DCE_INT Bit 7R/W 0x0 Data CRC Error M_RCE_INT Bit 6R/W 0x0 Response CRC Error M_DRR_INT Bit 5R/W 0x0 Data Receive Request M_DTR_INT Bit 4R/W 0x0 Data Transmit Request M_DTC_INT Bit 3R/W 0x0 Data Transfer Complete M_CC_INT Bit 2R/W 0x0 Command Complete M_RE_INT Bit 1R/W 0x0 Response Error Unused Bit 0Команда U-Boot для чтения регистра md 4020034 1md 4021034 1 md 4022034 1 Bit fields structuretypedef union smhc_mintsts { struct { unsigned unused0 : 1; unsigned m_re_int : 1; unsigned m_cc_int : 1; unsigned m_dtc_int : 1; unsigned m_dtr_int : 1; unsigned m_drr_int : 1; unsigned m_rce_int : 1; unsigned m_dce_int : 1; unsigned m_rto_back_int : 1; unsigned m_dto_bds_int : 1; unsigned m_dsto_vsd_int : 1; unsigned m_fu_fo_int : 1; unsigned m_cb_iw_int : 1; unsigned m_dse_bc_int : 1; unsigned m_acd_int : 1; unsigned m_dee_int : 1; unsigned m_sdio_int : 1; unsigned unused1 : 13; unsigned m_card_insert : 1; unsigned m_card_removal_int : 1; } b; unsigned long w; } SMHC_MINTSTS |