NDFC_ST Контроллер Nand Flash (NDFC): список регистров 31 |•|•|•|•|•|•|•|•|•|•|•|•|•|•|•|•| 16 15 |•|•|•|•|•|•|•|•|•|•|•|•|•|•|•|•| 00 Unused Bits 31 : 14NDFC_RDATA_STA_0 Bit 13R 0x0 0: The number of bit 1 during current read operation is more than threshold NDFC_RDATA_STA_1 Bit 12R 0x0 0: The number of bit 0 during current read operation is more than threshold value. NDFC_RB_STATE3 Bit 11R 0x1 NAND Flash R/B 3 Line State NDFC_RB_STATE2 Bit 10R 0x1 NAND Flash R/B 2 Line State NDFC_RB_STATE1 Bit 9R 0x1 NAND Flash R/B 1 Line State NDFC_RB_STATE0 Bit 8R 0x1 NAND Flash R/B 0 Line State Unused Bits 7 : 5NDFC_STA Bit 4R 0x0 0: NDFC FSM in IDLE state NDFC_CMD_FIFO_STATUS Bit 3R 0x0 0: Command FIFO not full and can receive new command NDFC_DMA_INT_FLAG Bit 2R/W1C 0x0 When it is 1, it means that a pending DMA is completed. It will be cleared after NDFC_CMD_INT_FLAG Bit 1R/W1C 0x0 When it is 1, it means that NDFC has finished one Normal Command Mode or NDFC_RB_B2R Bit 0R/W1C 0x0 When it is 1, it means that NDFC_R/B# signal is transferred from BUSY state to Команда U-Boot для чтения регистра md 4011004 1Bit fields structuretypedef union ndfc_st { struct { unsigned ndfc_rb_b2r : 1; unsigned ndfc_cmd_int_flag : 1; unsigned ndfc_dma_int_flag : 1; unsigned ndfc_cmd_fifo_status : 1; unsigned ndfc_sta : 1; unsigned unused0 : 3; unsigned ndfc_rb_state0 : 1; unsigned ndfc_rb_state1 : 1; unsigned ndfc_rb_state2 : 1; unsigned ndfc_rb_state3 : 1; unsigned ndfc_rdata_sta_1 : 1; unsigned ndfc_rdata_sta_0 : 1; unsigned unused1 : 18; } b; unsigned long w; } NDFC_ST |