Unused Bits 31 : 24
FIRST_VIDEO_LINE Bits 23 : 16 R/W 0x16
Specify the index of the first line in a field/frame to have active video. 8 bits unsigned integer.
For interlaced video: When VSync5=B'0', FirstVideoLine is restricted to be greater than 7.
When VSync5=B 1 , FirstVideoLine is restricted to be greater than 9. Unused Bits 15 : 11
NUM_LINES Bits 10 : 0 R/W 0x20D
Specify the total number of lines in a video frame. 11 bits unsigned integer.
Allowed range is 0 to 2048.
For interlaced video: When NTSC, and FirstVideoLine is greater than 20, then
NumLines is restricted to be greater than 2*(FirstVideoLine+18).
When NTSC, and FirstVideoLine is not greater than 20, then NumLines is restricted to be greater than 77.
When PAL, and FirstVideoLine is greater than 22, then NumLines is restricted to be greater than 2*(FirstVideoLine+18).
When PAL, and FirstVideoLine is not greater than 22, then NumLines is restricted to be greater than 81.
If NumLines is even, then it is restricted to be divisible by 4.
If NumLines is odd, then it is restricted to be divisible by 4 with a remainder of 1. Команда U-Boot для чтения регистра md 652001c 1 md 652401c 1
Bit fields structure
typedef union tve_01c_reg
{
struct
{
unsigned num_lines : 11;
unsigned unused0 : 5;
unsigned first_video_line : 8;
unsigned unused1 : 8;
} b;
unsigned long w;
} TVE_01C_REG
|