Регистры Allwinner H616

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


TVE_13C_REG
7.2.5. TV Encoder Configuration Register1 - адрес: 0x652013c 0x652413c (смещение: 0x013C)

ТВ-кодер: список регистров



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

  Unused

Bits 31 : 27

  RGB_SYNC

Bits 26 : 24
R/W
0x0

R, G and B signals sync embedding selection.
These bits specify whether the sync signal is added to each of the R, G and B
components (b 1 ) or not (b‘0’).
The bit[26] specify if the R signal has
embedded syncs, the bit[25] specify if the G signal has embedded syncs and
the bit[24] specify if the B signal has embedded syncs. When comp_yuv is
equal to b 1 , these bits are N.A. and should be set to b'000'.
When the value is different from b'000', RGB_SETUP should be set to b 1 .


  Unused

Bits 23 : 17

  RGB_SETUP

Bit 16
R/W
0x0

Set-up enable for RGB outputs.
This bit specifies if the set-up implied value (black_level - blank_level)
specified for the CVBS signal is used also for the RGB signals.
0: The set-up is not used, or i.e. comp_yuv is equal to b 1 .
1: The implied set-up is used for the RGB signals


  Unused

Bits 15 : 1

  BYPASS_YCLAMP

Bit 0
R/W
0x1

Y input clamping selection
This bit selects whether the Video Encoder Y input is clamped to 64 to 940
or not. When not clamped the expected range is 0 to 1023. The U and V
inputs are always clamped to the range 64 to 960.
0: The Video Encoder Y input is clamped
1: The Video Encoder Y input is not clamped



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

md 652013c 1
md 652413c 1



Bit fields structure

typedef union  tve_13c_reg
{
  struct
  {
   unsigned bypass_yclamp : 1;
   unsigned unused0 : 15;
   unsigned rgb_setup : 1;
   unsigned unused1 : 7;
   unsigned rgb_sync : 3;
   unsigned unused2 : 5;
  } b;
   unsigned long w;
} TVE_13C_REG
   

Allwinner H616 Manual