Регистры Allwinner H616

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


TV_SAFE_PERIOD_REG
7.1.5. TV Safe Period Register - адрес: 0x65151f0 0x65161f0 (смещение: 0x01F0)

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



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

  Unused

Bits 31 : 29

  SAFE_PERIOD_FIFO_NUM

Bits 28 : 16
R/W
0x0

When the data length in line buffer is more than
SAFE_PERIOD_FIFO_NUM,LCD controller will allow dram controller to stop
working to change frequency.


  SAFE_PERIOD_LINE

Bits 15 : 4
R/W
0x0

Set a fixed line and during the line time,LCD controller allow dram controller
to change frequency.The fixed line should be set in the blanking area.


  Unused

Bit 3

  SAFE_PERIOD_MODE

Bits 2 : 0
R/W
0x0

Select the save mode
000: unsafe
001: safe
010: safe at FIFO_CURR_NUM > SAFE_PERIOD_FIFO_NUM
011: safe at 2 and safe at sync active
100: safe at line



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

md 65151f0 1
md 65161f0 1



Bit fields structure

typedef union  tv_safe_period_reg
{
  struct
  {
   unsigned safe_period_mode : 3;
   unsigned unused0 : 1;
   unsigned safe_period_line : 12;
   unsigned safe_period_fifo_num : 13;
   unsigned unused1 : 3;
  } b;
   unsigned long w;
} TV_SAFE_PERIOD_REG
   

Allwinner H616 Manual