Регистры Allwinner H616

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


SPI_IER
9.3.5. SPI Interrupt Control Register - адрес: 0x5010010 0x5011010 (смещение: 0x0010)

Синхронный последовательный интерфейс: список регистров



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

  Unused

Bits 31 : 14

  SS_INT_EN

Bit 13
R/W
0x0

SSI Interrupt Enable
Chip select signal (SSx) from valid state to invalid state
0: Disable
1: Enable


  TC_INT_EN

Bit 12
R/W
0x0

Transfer Completed Interrupt Enable
0: Disable
1: Enable


  TF_UDR_INT_EN

Bit 11
R/W
0x0

TXFIFO Underrun Interrupt Enable
0: Disable
1: Enable


  TF_OVF_INT_EN

Bit 10
R/W
0x0

TX FIFO Overflow Interrupt Enable
0: Disable
1: Enable


  RF_UDR_INT_EN

Bit 9
R/W
0x0

RXFIFO Underrun Interrupt Enable
0: Disable
1: Enable


  RF_OVF_INT_EN

Bit 8
R/W
0x0

RX FIFO Overflow Interrupt Enable
0: Disable
1: Enable


  Unused

Bit 7

  TF_FUL_INT_EN

Bit 6
R/W
0x0

TX FIFO Full Interrupt Enable
0: Disable
1: Enable


  TX_EMP_INT_EN

Bit 5
R/W
0x0

TX FIFO Empty Interrupt Enable
0: Disable
1: Enable


  TX_ERQ_INT_EN

Bit 4
R/W
0x0

TX FIFO Empty Request Interrupt Enable
0: Disable
1: Enable


  Unused

Bit 3

  RF_FUL_INT_EN

Bit 2
R/W
0x0

RX FIFO Full Interrupt Enable
0: Disable
1: Enable


  RX_EMP_INT_EN

Bit 1
R/W
0x0

RX FIFO Empty Interrupt Enable
0: Disable
1: Enable


  RF_RDY_INT_EN

Bit 0
R/W
0x0

RX FIFO Ready Request Interrupt Enable
0: Disable
1: Enable



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

md 5010010 1
md 5011010 1



Bit fields structure

typedef union  spi_ier
{
  struct
  {
   unsigned rf_rdy_int_en : 1;
   unsigned rx_emp_int_en : 1;
   unsigned rf_ful_int_en : 1;
   unsigned unused0 : 1;
   unsigned tx_erq_int_en : 1;
   unsigned tx_emp_int_en : 1;
   unsigned tf_ful_int_en : 1;
   unsigned unused1 : 1;
   unsigned rf_ovf_int_en : 1;
   unsigned rf_udr_int_en : 1;
   unsigned tf_ovf_int_en : 1;
   unsigned tf_udr_int_en : 1;
   unsigned tc_int_en : 1;
   unsigned ss_int_en : 1;
   unsigned unused2 : 18;
  } b;
   unsigned long w;
} SPI_IER
   

Allwinner H616 Manual