Регистры Allwinner H616

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


EMAC_BASIC_CTL1
6.1. EMAC Basic Control Register1 - адрес: 0x5020004 0x5030004 (смещение: 0x0004)

Контроллер Ethernet: список регистров



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

  Unused

Bits 31 : 30

  BURST_LEN

Bits 29 : 24
R/W
0x8

The burst length of RX and TX DMA transfer.


  Unused

Bits 23 : 2

  RX_TX_PRI

Bit 1
R/W
0x0

RX TX DMA priority
0: Same priority
1: RX priority over TX


  SOFT_RST

Bit 0
R/W
0x0

Soft Reset all Registers and Logic
0: No valid
1: Reset
All clock inputs must be valid before soft rest. This bit is cleared internally
when the reset operation is completed fully. Before write any register, this bit should read a 0.



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

md 5020004 1
md 5030004 1



Bit fields structure

typedef union  emac_basic_ctl1
{
  struct
  {
   unsigned soft_rst : 1;
   unsigned rx_tx_pri : 1;
   unsigned unused0 : 22;
   unsigned burst_len : 6;
   unsigned unused1 : 2;
  } b;
   unsigned long w;
} EMAC_BASIC_CTL1
   

Allwinner H616 Manual