Регистры Allwinner H616

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


TSD_CWIR
9.10.5. TSD Control Word Index Register - адрес: 0x506d01c 0x506d05c 0x506d11c 0x506d19c (смещение: TSD + 0x1C)

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



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

  Unused

Bits 31 : 7

  CWI

Bits 6 : 4
R/W
0x0

Control Word Index
This value is the control index for control word access.
Range is from 0x0 to 0x7.


  CWII

Bits 3 : 0
R/W
0x0

Control Word Internal Index
0000: Odd Control Word 1ST 32-bit, OCW[31:0];
0001: Odd Control Word 2ND 32-bit, OCW[63:32];
0100: Even Control Word 1ST 32-bit, ECW[31:0];
0101: Even Control Word 2ND 32-bit, ECW[63:32];
Others: Reserved



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

md 506d01c 1
md 506d05c 1
md 506d11c 1
md 506d19c 1



Bit fields structure

typedef union  tsd_cwir
{
  struct
  {
   unsigned cwii : 4;
   unsigned cwi : 3;
   unsigned unused0 : 25;
  } b;
   unsigned long w;
} TSD_CWIR
   

Allwinner H616 Manual