Регистры Allwinner H616

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


EMAC_INT_EN
6.1. EMAC Interrupt Enable Register - адрес: 0x502000c 0x503000c (смещение: 0x000C)

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



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

  Unused

Bits 31 : 14

  RX_EARLY_INT_EN

Bit 13
R/W
0x0

Early Receive Interrupt
0: Disable
1: Enable


  RX_OVERFLOW_INT_EN

Bit 12
R/W
0x0

Receive Overflow Interrupt
0: Disable
1: Enable


  RX_TIMEOUT_INT_EN

Bit 11
R/W
0x0

Receive Timeout Interrupt
0: Disable
1: Enable


  RX_DMA_STOPPED_INT_EN

Bit 10
R/W
0x0

Receive DMA FSM Stopped Interrupt
0: Disable
1: Enable


  RX_BUF_UA_INT_EN

Bit 9
R/W
0x0

Receive Buffer Unavailable Interrupt
0: Disable
1: Enable


  RX_INT_EN

Bit 8
R/W
0x0

Receive Interrupt
0: Disable
1: Enable


  Unused

Bits 7 : 6

  TX_EARLY_INT_EN

Bit 5
R/W
0x0

Early Transmit Interrupt
0: Disable
1: Enable


  TX_UNDERFLOW_INT_EN

Bit 4
R/W
0x0

Transmit Underflow Interrupt
0: Disable
1: Enable


  TX_TIMEOUT_INT_EN

Bit 3
R/W
0x0

Transmit Timeout Interrupt
0: Disable
1: Enable


  TX_BUF_UA_INT_EN

Bit 2
R/W
0x0

Transmit Buffer Available Interrupt
0: Disable
1: Enable


  TX_DMA_STOPPED_INT_EN

Bit 1
R/W
0x0

Transmit DMA FSM Stopped Interrupt
0: Disable
1: Enable


  TX_INT_EN

Bit 0
R/W
0x0

Transmit Interrupt
0: Disable
1: Enable



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

md 502000c 1
md 503000c 1



Bit fields structure

typedef union  emac_int_en
{
  struct
  {
   unsigned tx_int_en : 1;
   unsigned tx_dma_stopped_int_en : 1;
   unsigned tx_buf_ua_int_en : 1;
   unsigned tx_timeout_int_en : 1;
   unsigned tx_underflow_int_en : 1;
   unsigned tx_early_int_en : 1;
   unsigned unused0 : 2;
   unsigned rx_int_en : 1;
   unsigned rx_buf_ua_int_en : 1;
   unsigned rx_dma_stopped_int_en : 1;
   unsigned rx_timeout_int_en : 1;
   unsigned rx_overflow_int_en : 1;
   unsigned rx_early_int_en : 1;
   unsigned unused1 : 18;
  } b;
   unsigned long w;
} EMAC_INT_EN
   

Allwinner H616 Manual