DMA_CFG_REG Прямой доступ к памяти: список регистров 31 |•|•|•|•|•|•|•|•|•|•|•|•|•|•|•|•| 16 15 |•|•|•|•|•|•|•|•|•|•|•|•|•|•|•|•| 00 Unused Bits 31 : 27DMA_DEST_DATA_WIDTH Bits 26 : 25R 0x0 DMA Destination Data Width DMA_ADDR_MODE Bit 24R 0x0 DMA Destination Address Mode DMA_DEST_BLOCK_SIZE Bits 23 : 22R 0x0 DMA Destination Block Size DMA_DEST_DRQ_TYPE Bits 21 : 16R 0x0 DMA Destination DRQ Type Unused Bits 15 : 11DMA_SRC_DATA_WIDTH Bits 10 : 9R 0x0 DMA Source Data Width DMA_SRC_ADDR_MODE Bit 8R 0x0 DMA Source Address Mode DMA_SRC_BLOCK_SIZE Bits 7 : 6R 0x0 DMA Source Block Size DMA_SRC_DRQ_TYPE Bits 5 : 0R 0x0 DMA Source DRQ Type Команда U-Boot для чтения регистра md 100000700200c 1Bit fields structuretypedef union dma_cfg_reg { struct { unsigned dma_src_drq_type : 6; unsigned dma_src_block_size : 2; unsigned dma_src_addr_mode : 1; unsigned dma_src_data_width : 2; unsigned unused0 : 5; unsigned dma_dest_drq_type : 6; unsigned dma_dest_block_size : 2; unsigned dma_addr_mode : 1; unsigned dma_dest_data_width : 2; unsigned unused1 : 5; } b; unsigned long w; } DMA_CFG_REG |