Регистры Allwinner H616

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


TVE_138_REG
7.2.5. TV Encoder Configuration Register0 - адрес: 0x6520138 0x6524138 (смещение: 0x0138)

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



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

  Unused

Bits 31 : 9

  INVERT_TOP

Bit 8
R/W
0x0

Field parity input signal (top_field) polarity selection.

This bit selects whether the top field is indicated by a high level of the field
parity signal or by the low level. The bit is applicable both when the Video
Encoder is the sync master and when the Video Encoder is the sync slave.
0: Top field is indicated by low level
1: Top field is indicated by high level


  Unused

Bits 7 : 1

  UV_ORDER

Bit 0
R/W
0x0

This bit selects if the sample order at the chroma input to the Video Encoder
is Cb first (i.e. Cb 0 Cr 0 Cb 1 Cr 1) or Cr first (i.e. Cr 0 Cb 0 Cr 1 Cb 1).
0: The chroma sample input order is Cb first
1: The chroma sample input order is Cr first



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

md 6520138 1
md 6524138 1



Bit fields structure

typedef union  tve_138_reg
{
  struct
  {
   unsigned uv_order : 1;
   unsigned unused0 : 7;
   unsigned invert_top : 1;
   unsigned unused1 : 23;
  } b;
   unsigned long w;
} TVE_138_REG
   

Allwinner H616 Manual