Регистры Allwinner H616

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


TSD_CWR
9.10.5. TSD Control Word Re - адрес: 0x506d020 0x506d060 0x506d120 0x506d1a0 (смещение: TSD + 0x20)

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



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 506d020 1
md 506d060 1
md 506d120 1
md 506d1a0 1



Bit fields structure

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

Allwinner H616 Manual