SMHC_NTSR Хост-контроллер SD / MMC (SMHC): список регистров 31 |•|•|•|•|•|•|•|•|•|•|•|•|•|•|•|•| 16 15 |•|•|•|•|•|•|•|•|•|•|•|•|•|•|•|•| 00 MODE_SELEC Bit 31R/W 0x1 0: Old mode of Sample/Output Timing Unused Bits 30 : 28DAT0_BYPASS Bit 27R/W 0x0 Select data0 input asyn or bypass sample logic, it is used to check card busy or not. Unused Bits 26 : 25CMD_DAT_RX_PHASE_CLR Bit 24R/W 0x1 Clear command lines and data lines input phase during update clock operation. Unused Bit 23DAT_CRC_STATUS_RX_PHASE_CLR Bit 22R/W 0x1 Clear data lines input phase before receive CRC status. DAT_TRANS_RX_PHASE_CLR Bit 21R/W 0x1 Clear data lines input phase before transfer data. DAT_RECV_RX_PHASE_CLR Bit 20R/W 0x1 Clear data lines input phase before receive data. Unused Bits 19 : 17CMD_SEND_RX_PHASE_CLR Bit 16R/W 0x1 Clear command rx phase before send command. Unused Bits 15 : 10DAT_SAMPLE_TIMING_PHASE Bits 9 : 8R/W 0x0 00: Sample timing phase offset 900 Unused Bits 7 : 6CMD_SAMPLE_TIMING_PHASE Bits 5 : 4R/W 0x0 00: Sample timing phase offset 900 Unused Bits 3 : 0Команда U-Boot для чтения регистра md 402005c 1md 402105c 1 md 402205c 1 Bit fields structuretypedef union smhc_ntsr { struct { unsigned unused0 : 4; unsigned cmd_sample_timing_phase : 2; unsigned unused1 : 2; unsigned dat_sample_timing_phase : 2; unsigned unused2 : 6; unsigned cmd_send_rx_phase_clr : 1; unsigned unused3 : 3; unsigned dat_recv_rx_phase_clr : 1; unsigned dat_trans_rx_phase_clr : 1; unsigned dat_crc_status_rx_phase_clr : 1; unsigned unused4 : 1; unsigned cmd_dat_rx_phase_clr : 1; unsigned unused5 : 2; unsigned dat0_bypass : 1; unsigned unused6 : 3; unsigned mode_selec : 1; } b; unsigned long w; } SMHC_NTSR |