Регистры Allwinner H616

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

Контроллер синхронизации ( Руководство )

Имя модуля: TCON_TV0 , базовый адрес: 0x06515000

Имя модуля: TCON_TV1 , базовый адрес: 0x06516000

Руководство п. 7.1.5


Регистров: 28

Имя регистра | Смещение


  • 1) TV_GCTL_REG | 0x0000

    typedef union  tv_gctl_reg
    {
      struct
      {
       unsigned unused0 : 31;
       unsigned tv_en : 1;
      } b;
       unsigned long w;
    } TV_GCTL_REG
       

  • 2) TV_GINT0_REG | 0x0004

    typedef union  tv_gint0_reg
    {
      struct
      {
       unsigned unused0 : 12;
       unsigned tv_lint_int_flag : 1;
       unsigned unused1 : 1;
       unsigned tv_vb_int_flag : 1;
       unsigned unused2 : 13;
       unsigned tv_line_int_en : 1;
       unsigned unused3 : 1;
       unsigned tv_vb_int_en : 1;
       unsigned unused4 : 1;
      } b;
       unsigned long w;
    } TV_GINT0_REG
       

  • 3) TV_GINT1_REG | 0x0008

    typedef union  tv_gint1_reg
    {
      struct
      {
       unsigned tv_line_int_num : 12;
       unsigned unused0 : 20;
      } b;
       unsigned long w;
    } TV_GINT1_REG
       

  • 4) TV_SRC_CTL_REG | 0x0040

    typedef union  tv_src_ctl_reg
    {
      struct
      {
       unsigned tv_src_sel : 3;
       unsigned unused0 : 29;
      } b;
       unsigned long w;
    } TV_SRC_CTL_REG
       

  • 5) TV_IO_POL_REG | 0x0088

    typedef union  tv_io_pol_reg
    {
      struct
      {
       unsigned unused0 : 24;
       unsigned io0_inv : 1;
       unsigned io1_inv : 1;
       unsigned io2_inv : 1;
       unsigned io3_inv : 1;
       unsigned unused1 : 4;
      } b;
       unsigned long w;
    } TV_IO_POL_REG
       

  • 6) TV_IO_TRI_REG | 0x008C

    typedef union  tv_io_tri_reg
    {
      struct
      {
       unsigned unused0 : 24;
       unsigned io0_output_tri_en : 1;
       unsigned io1_outpur_tri_en : 1;
       unsigned io2_output_tri_en : 1;
       unsigned io3_output_tri_en : 1;
       unsigned unused1 : 4;
      } b;
       unsigned long w;
    } TV_IO_TRI_REG
       

  • 7) TV_CTL_REG | 0x0090

    typedef union  tv_ctl_reg
    {
      struct
      {
       unsigned unused0 : 1;
       unsigned tv_src_sel_gobal : 1;
       unsigned unused1 : 2;
       unsigned start_delay : 5;
       unsigned unused2 : 22;
       unsigned tv_en : 1;
      } b;
       unsigned long w;
    } TV_CTL_REG
       

  • 8) TV_BASIC0_REG | 0x0094

    typedef union  tv_basic0_reg
    {
      struct
      {
       unsigned y_i : 12;
       unsigned unused0 : 4;
       unsigned x_i : 12;
       unsigned unused1 : 4;
      } b;
       unsigned long w;
    } TV_BASIC0_REG
       

  • 9) TV_BASIC1_REG | 0x0098

    typedef union  tv_basic1_reg
    {
      struct
      {
       unsigned ls_yo : 12;
       unsigned unused0 : 4;
       unsigned ls_xo : 12;
       unsigned unused1 : 4;
      } b;
       unsigned long w;
    } TV_BASIC1_REG
       

  • 10) TV_BASIC2_REG | 0x009C

    typedef union  tv_basic2_reg
    {
      struct
      {
       unsigned tv_yo : 12;
       unsigned unused0 : 4;
       unsigned tv_xo : 12;
       unsigned unused1 : 4;
      } b;
       unsigned long w;
    } TV_BASIC2_REG
       

  • 11) TV_BASIC3_REG | 0x00A0

    typedef union  tv_basic3_reg
    {
      struct
      {
       unsigned h_b_p : 12;
       unsigned unused0 : 4;
       unsigned h_t_t : 13;
       unsigned unused1 : 3;
      } b;
       unsigned long w;
    } TV_BASIC3_REG
       

  • 12) TV_BASIC4_REG | 0x00A4

    typedef union  tv_basic4_reg
    {
      struct
      {
       unsigned v_b_p : 12;
       unsigned unused0 : 4;
       unsigned v_t_t : 13;
       unsigned unused1 : 3;
      } b;
       unsigned long w;
    } TV_BASIC4_REG
       

  • 13) TV_BASIC5_REG | 0x00A8

    typedef union  tv_basic5_reg
    {
      struct
      {
       unsigned vspw : 10;
       unsigned unused0 : 6;
       unsigned hspw : 10;
       unsigned unused1 : 6;
      } b;
       unsigned long w;
    } TV_BASIC5_REG
       

  • 14) TV_ECC_FIFO_REG | 0x00F8

    typedef union  tv_ecc_fifo_reg
    {
      struct
      {
       unsigned unused0 : 3;
       unsigned ecc_fifo_setting : 1;
       unsigned unused1 : 4;
       unsigned ecc_fifo_blank_en : 1;
       unsigned unused2 : 7;
       unsigned ecc_fifo_err_bits : 8;
       unsigned unused3 : 6;
       unsigned ecc_fifo_err_flag : 1;
       unsigned ecc_fifo_bist_en : 1;
      } b;
       unsigned long w;
    } TV_ECC_FIFO_REG
       

  • 15) TV_DEBUG_REG | 0x00FC

    typedef union  tv_debug_reg
    {
      struct
      {
       unsigned tv_current_line : 12;
       unsigned unused0 : 1;
       unsigned ecc_fifo_bypass : 1;
       unsigned unused1 : 14;
       unsigned tv_field_pol : 1;
       unsigned unused2 : 1;
       unsigned tv_fifo_underflow : 1;
       unsigned unused3 : 1;
      } b;
       unsigned long w;
    } TV_DEBUG_REG
       

  • 16) TV_CEU_CTL_REG | 0x0100

    typedef union  tv_ceu_ctl_reg
    {
      struct
      {
       unsigned unused0 : 31;
       unsigned ceu_en : 1;
      } b;
       unsigned long w;
    } TV_CEU_CTL_REG
       

  • 17) TV_CEU_COEF_MUL_REG | 0x0110+N*0x04

    typedef union  tv_ceu_coef_mul_reg
    {
      struct
      {
       unsigned unused0 : 8;
       unsigned ceu_coef_mul_value : 1;
       unsigned unused1 : 23;
      } b;
       unsigned long w;
    } TV_CEU_COEF_MUL_REG
       

  • 18) TV_CEU_COEF_RANG_REG | 0x0140+N*0x04

    typedef union  tv_ceu_coef_rang_reg
    {
      struct
      {
       unsigned ceu_coef_range_max : 10;
       unsigned unused0 : 6;
       unsigned ceu_coef_range_min : 10;
       unsigned unused1 : 6;
      } b;
       unsigned long w;
    } TV_CEU_COEF_RANG_REG
       

  • 19) TV_SAFE_PERIOD_REG | 0x01F0

    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
       

  • 20) TV_FILL_CTL_REG | 0x0300

    typedef union  tv_fill_ctl_reg
    {
      struct
      {
       unsigned unused0 : 31;
       unsigned tv_fill_en : 1;
      } b;
       unsigned long w;
    } TV_FILL_CTL_REG
       

  • 21) TV_FILL_BEGIN_REG | 0x0304+N*0x0C(N=0,1,2)

    typedef union  tv_fill_begin_reg
    {
      struct
      {
       unsigned fill_begin : 24;
       unsigned unused0 : 8;
      } b;
       unsigned long w;
    } TV_FILL_BEGIN_REG
       

  • 22) TV_FILL_END_REG | 0x0308+N*0x0C(N=0,1,2)

    typedef union  tv_fill_end_reg
    {
      struct
      {
       unsigned fill_end : 24;
       unsigned unused0 : 8;
      } b;
       unsigned long w;
    } TV_FILL_END_REG
       

  • 23) TV_FILL_DATA_REG | 0x030C+N*0x0C(N=0,1,2)

    typedef union  tv_fill_data_reg
    {
      struct
      {
       unsigned fill_value : 30;
       unsigned unused0 : 2;
      } b;
       unsigned long w;
    } TV_FILL_DATA_REG
       

  • 24) TV_DATA_IO_POL0_REG | 0x0330

    typedef union  tv_data_io_pol0_reg
    {
      struct
      {
       unsigned g_y_channel : 10;
       unsigned unused0 : 6;
       unsigned r_c_b_channel : 10;
       unsigned unused1 : 6;
      } b;
       unsigned long w;
    } TV_DATA_IO_POL0_REG
       

  • 25) TV_DATA_IO_POL1_REG | 0x0334

    typedef union  tv_data_io_pol1_reg
    {
      struct
      {
       unsigned unused0 : 16;
       unsigned b_cr_channel : 10;
       unsigned unused1 : 6;
      } b;
       unsigned long w;
    } TV_DATA_IO_POL1_REG
       

  • 26) TV_DATA_IO_TRI0_REG | 0x0338

    typedef union  tv_data_io_tri0_reg
    {
      struct
      {
       unsigned g_y_channel_d_out : 10;
       unsigned unused0 : 6;
       unsigned r_cb_channel_d_out : 10;
       unsigned unused1 : 6;
      } b;
       unsigned long w;
    } TV_DATA_IO_TRI0_REG
       

  • 27) TV_DATA_IO_TRI1_REG | 0x033C

    typedef union  tv_data_io_tri1_reg
    {
      struct
      {
       unsigned unused0 : 16;
       unsigned b_cr_cannel_d_out : 10;
       unsigned unused1 : 6;
      } b;
       unsigned long w;
    } TV_DATA_IO_TRI1_REG
       

  • 28) TV_PIXELDEPTH_MODE_REG | 0x0340

    typedef union  tv_pixeldepth_mode_reg
    {
      struct
      {
       unsigned col_pix_dept_mode : 1;
       unsigned unused0 : 31;
      } b;
       unsigned long w;
    } TV_PIXELDEPTH_MODE_REG
       


  • Allwinner H616 Manual