Регистры Allwinner H616

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


TSF_PPR
9.10.5. TSF Packet Parameter Register - адрес: 0x506f004 0x506f044 0x506f104 0x506f184 (смещение: TSF + 0x04)

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



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

  LOST_SYNC_THD

Bits 31 : 28
R/W
0x0

Lost Sync Packet Threshold
It is used for packet sync lost by checking the value of sync byte.


  SYNC_THD

Bits 27 : 24
R/W
0x0

Sync Packet Threshold
It is used for packet sync by checking the value of sync byte.


  SYNC_BYTE_VAL

Bits 23 : 16
R/W
0x47

Sync Byte Value
This is the value of sync byte used in the TS Packet.


  Unused

Bits 15 : 10

  SYNC_MTHD

Bits 9 : 8
R/W
0x0

Packet Sync Method
00: By PSYNC signal
01: By sync byte
10: By both PSYNC and Sync Byte
11: Reserved


  Unused

Bits 7 : 2

  PKT_SIZE

Bits 1 : 0
R/W
0x0

Packet Size
Byte size for one TS packet
00: 188 bytes
01: 192 bytes
10: 204 bytes
11: Reserved



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

md 506f004 1
md 506f044 1
md 506f104 1
md 506f184 1



Bit fields structure

typedef union  tsf_ppr
{
  struct
  {
   unsigned pkt_size : 2;
   unsigned unused0 : 6;
   unsigned sync_mthd : 2;
   unsigned unused1 : 6;
   unsigned sync_byte_val : 8;
   unsigned sync_thd : 4;
   unsigned lost_sync_thd : 4;
  } b;
   unsigned long w;
} TSF_PPR
   

Allwinner H616 Manual