Регистры Allwinner H616

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


SPI_NDMA_MODE_CTL
9.3.5. SPI Normal DMA Mode Control Register - адрес: 0x5010088 0x5011088 (смещение: 0x0088)

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



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

  Unused

Bits 31 : 8

  DMA_ACTIVE

Bits 7 : 6
R/W
0x11

00:dma_active is low
01:dma_active is high
10:dma_active is controlled by dma_request(DRQ)
11:dma_active is controlled by controller


  ACTIVE_FALL

Bit 5
R/W
0x1

0: active fall do not care ack
1: active fall must after detect ack is high


  DELAY_CYCLES

Bits 4 : 0
R/W
0x05

Delay Cycles
The counts of hold cycles from DMA last signal high to dma_active high



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

md 5010088 1
md 5011088 1



Bit fields structure

typedef union  spi_ndma_mode_ctl
{
  struct
  {
   unsigned delay_cycles : 5;
   unsigned active_fall : 1;
   unsigned dma_active : 2;
   unsigned unused0 : 24;
  } b;
   unsigned long w;
} SPI_NDMA_MODE_CTL
   

Allwinner H616 Manual