Регистры Allwinner H616

Сокращения  |  Дерево шин  |  Карта памяти


NDFC_CMD_SET1
5.2.5. Write Command Set Register for Vendor's NAND Memory - адрес: 0x401102c (смещение: 0x002C)

Контроллер Nand Flash (NDFC): список регистров



31 ||||||||||||||||| 16
15 ||||||||||||||||| 00

  NDFC_READ_CMD0

Bits 31 : 24
R/W
0x70

Used for EF-NAND Page Read Operation


  NDFC_READ_CMD1

Bits 23 : 16
R/W
0x00

Used for EF-NAND Page Read Operation


  NDFC_RANDOM_WRITE_CMD

Bits 15 : 8
R/W
0x85

Used for Batch Write Operation


  NDFC_PROGRAM_CMD

Bits 7 : 0
R/W
0x10

Used for Batch Write Operation



Команда U-Boot для чтения регистра

md 401102c 1



Bit fields structure

typedef union  ndfc_cmd_set1
{
  struct
  {
   unsigned ndfc_program_cmd : 8;
   unsigned ndfc_random_write_cmd : 8;
   unsigned ndfc_read_cmd1 : 8;
   unsigned ndfc_read_cmd0 : 8;
  } b;
   unsigned long w;
} NDFC_CMD_SET1
   

Allwinner H616 Manual