Регистры Allwinner H616

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


TSG_CCR
9.10.5. TSG Clock Control Register - адрес: 0x506000c 0x506004c 0x506010c 0x506018c (смещение: TSG + 0x0C)

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



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

  TSGCDF_N

Bits 31 : 16
R/W
0x0

TSG Clock Divide Factor (N)
The Numerator part of TSG Clock Divisor Factor.


  TSGCDF_D

Bits 15 : 0
R/W
0x0

TSG Clock Divide Factor (D)
The Denominator part of TSG Clock Divisor Factor.
Frequency of output clock:
Fo = (Fi*(N+1))/(8*(D+1)).
Fi is the input special clock of TSC, and D must not less than N.



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

md 506000c 1
md 506004c 1
md 506010c 1
md 506018c 1



Bit fields structure

typedef union  tsg_ccr
{
  struct
  {
   unsigned tsgcdf_d : 16;
   unsigned tsgcdf_n : 16;
  } b;
   unsigned long w;
} TSG_CCR
   

Allwinner H616 Manual