Регистры Allwinner H616

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

ТВ-кодер ( Руководство )

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

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

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


Регистров: 45

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


  • 1) TVE_DAC_MAP | 0x0020

    typedef union  tve_dac_map
    {
      struct
      {
       unsigned dac_sel : 2;
       unsigned unused0 : 2;
       unsigned dac_map : 3;
       unsigned unused1 : 25;
      } b;
       unsigned long w;
    } TVE_DAC_MAP
       

  • 2) TVE_DAC_STATUS | 0x0024

    typedef union  tve_dac_status
    {
      struct
      {
       unsigned dac_status : 2;
       unsigned unused0 : 30;
      } b;
       unsigned long w;
    } TVE_DAC_STATUS
       

  • 3) TVE_DAC_CFG0 | 0x0028

    typedef union  tve_dac_cfg0
    {
      struct
      {
       unsigned dac_en : 1;
       unsigned unused0 : 3;
       unsigned bias_ref_int_en : 1;
       unsigned unused1 : 3;
       unsigned bias_int_sel : 1;
       unsigned bias_ext_sel : 1;
       unsigned unused2 : 2;
       unsigned low_bias : 4;
       unsigned cali_in : 10;
       unsigned unused3 : 5;
       unsigned dac_clock_invert : 1;
      } b;
       unsigned long w;
    } TVE_DAC_CFG0
       

  • 4) TVE_DAC_CFG1 | 0x002C

    typedef union  tve_dac_cfg1
    {
      struct
      {
       unsigned ref1_sel : 4;
       unsigned ref2_sel : 2;
       unsigned unused0 : 2;
       unsigned ref_int_sel : 1;
       unsigned ref_ext_sel : 1;
       unsigned unused1 : 22;
      } b;
       unsigned long w;
    } TVE_DAC_CFG1
       

  • 5) TVE_DAC_CFG2 | 0x0030

    typedef union  tve_dac_cfg2
    {
      struct
      {
       unsigned r_set : 6;
       unsigned s2s1 : 2;
       unsigned ab_ : 5;
       unsigned unused0 : 19;
      } b;
       unsigned long w;
    } TVE_DAC_CFG2
       

  • 6) TVE_DAC_CFG3 | 0x0034

    typedef union  tve_dac_cfg3
    {
      struct
      {
       unsigned force_data_en : 1;
       unsigned unused0 : 15;
       unsigned force_data_set : 10;
       unsigned unused1 : 6;
      } b;
       unsigned long w;
    } TVE_DAC_CFG3
       

  • 7) TVE_DAC_TEST | 0x00F0

    typedef union  tve_dac_test
    {
      struct
      {
       unsigned dac_test_enable : 1;
       unsigned unused0 : 3;
       unsigned dac_test_sel : 2;
       unsigned unused1 : 10;
       unsigned dac_test_length : 10;
       unsigned unused2 : 6;
      } b;
       unsigned long w;
    } TVE_DAC_TEST
       

  • 8) TVE_000_REG | 0x0000

    typedef union  tve_000_reg
    {
      struct
      {
       unsigned tve_en : 1;
       unsigned unused0 : 19;
       unsigned upsample_for_cvbs : 2;
       unsigned upsample_for_ypb_pr : 1;
       unsigned unused1 : 5;
       unsigned bist_en : 1;
       unsigned unused2 : 2;
       unsigned clock_gate_dis : 1;
      } b;
       unsigned long w;
    } TVE_000_REG
       

  • 9) TVE_004_REG | 0x0004

    typedef union  tve_004_reg
    {
      struct
      {
       unsigned tvmode_select : 4;
       unsigned mode_1080i_1250line_sel : 1;
       unsigned unused0 : 3;
       unsigned color_bar_mode : 1;
       unsigned color_bar_type : 1;
       unsigned unused1 : 6;
       unsigned cvbs_en : 1;
       unsigned yc_en : 1;
       unsigned yuv_rgb_output_en : 1;
       unsigned input_chroma_data_sampling_rate_sel : 1;
       unsigned cb_cr_seq_for_422_mode : 1;
       unsigned unused2 : 3;
       unsigned core_control_logic_clock_sel : 1;
       unsigned core_datapath_logic_clock_sel : 1;
       unsigned dac_control_logic_clock_sel : 1;
       unsigned dac_src_sel : 2;
       unsigned bypass_tv : 1;
       unsigned unused3 : 2;
      } b;
       unsigned long w;
    } TVE_004_REG
       

  • 10) TVE_008_REG | 0x0008

    typedef union  tve_008_reg
    {
      struct
      {
       unsigned unused0 : 4;
       unsigned dac0_src_sel : 3;
       unsigned unused1 : 25;
      } b;
       unsigned long w;
    } TVE_008_REG
       

  • 11) TVE_00C_REG | 0x000C

    typedef union  tve_00c_reg
    {
      struct
      {
       unsigned reserv : 12;
       unsigned c_delay_before_dither : 4;
       unsigned notch_en : 1;
       unsigned luma_filter_bypass : 1;
       unsigned chroma_filter_stage_3_bypass : 1;
       unsigned chroma_filter_stage_2_bypass : 1;
       unsigned chroma_filter_stage_1_bypass : 1;
       unsigned chroma_hd_mode_filter_en : 1;
       unsigned chroma_filter_1_444_en : 1;
       unsigned hd_mode_cr_filter_bypass : 1;
       unsigned hd_mode_cb_filter_bypass : 1;
       unsigned y_delay_before_dither : 3;
       unsigned unused0 : 2;
       unsigned luma_filter_lti_enable : 1;
       unsigned chroma_filter_active_valid : 1;
      } b;
       unsigned long w;
    } TVE_00C_REG
       

  • 12) TVE_010_REG | 0x0010

    typedef union  tve_010_reg
    {
      struct
      {
       unsigned chroma_freq : 32;
      } b;
       unsigned long w;
    } TVE_010_REG
       

  • 13) TVE_014_REG | 0x0014

    typedef union  tve_014_reg
    {
      struct
      {
       unsigned front_porch : 12;
       unsigned unused0 : 4;
       unsigned back_porch : 9;
       unsigned unused1 : 7;
      } b;
       unsigned long w;
    } TVE_014_REG
       

  • 14) TVE_018_REG | 0x0018

    typedef union  tve_018_reg
    {
      struct
      {
       unsigned front_porch_like_in_hd_mode_vsync : 12;
       unsigned unused0 : 4;
       unsigned broad_plus_cycle_number_in_hd_mode_vsync : 12;
       unsigned unused1 : 4;
      } b;
       unsigned long w;
    } TVE_018_REG
       

  • 15) TVE_01C_REG | 0x001C

    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
       

  • 16) TVE_020_REG | 0x0020

    typedef union  tve_020_reg
    {
      struct
      {
       unsigned black_level : 10;
       unsigned unused0 : 6;
       unsigned blank_level : 10;
       unsigned unused1 : 6;
      } b;
       unsigned long w;
    } TVE_020_REG
       

  • 17) TVE_030_REG | 0x0030

    typedef union  tve_030_reg
    {
      struct
      {
       unsigned dac0_auto_detect_enable : 1;
       unsigned unused0 : 15;
       unsigned dac0_auto_detect_interrupt_en : 1;
       unsigned unused1 : 14;
       unsigned dac_auto_detect_mode_sel : 1;
      } b;
       unsigned long w;
    } TVE_030_REG
       

  • 18) TVE_034_REG | 0x0034

    typedef union  tve_034_reg
    {
      struct
      {
       unsigned dac0_auto_detect_interrupt_active_flag : 1;
       unsigned unused0 : 31;
      } b;
       unsigned long w;
    } TVE_034_REG
       

  • 19) TVE_038_REG | 0x0038

    typedef union  tve_038_reg
    {
      struct
      {
       unsigned dac0_status : 2;
       unsigned unused0 : 30;
      } b;
       unsigned long w;
    } TVE_038_REG
       

  • 20) TVE_03C_REG | 0x003C

    typedef union  tve_03c_reg
    {
      struct
      {
       unsigned dac0_de_bounce_times : 4;
       unsigned unused0 : 12;
       unsigned dac_test_register : 10;
       unsigned unused1 : 6;
      } b;
       unsigned long w;
    } TVE_03C_REG
       

  • 21) TVE_0F8_REG | 0x00F8

    typedef union  tve_0f8_reg
    {
      struct
      {
       unsigned detect_pulse_value : 10;
       unsigned unused0 : 22;
      } b;
       unsigned long w;
    } TVE_0F8_REG
       

  • 22) TVE_0FC_REG | 0x00FC

    typedef union  tve_0fc_reg
    {
      struct
      {
       unsigned detect_pulse_start : 15;
       unsigned unused0 : 1;
       unsigned detect_pulse_periods : 15;
       unsigned unused1 : 1;
      } b;
       unsigned long w;
    } TVE_0FC_REG
       

  • 23) TVE_100_REG | 0x0100

    typedef union  tve_100_reg
    {
      struct
      {
       unsigned color_phase_reset : 2;
       unsigned unused0 : 30;
      } b;
       unsigned long w;
    } TVE_100_REG
       

  • 24) TVE_104_REG | 0x0104

    typedef union  tve_104_reg
    {
      struct
      {
       unsigned vsync5 : 1;
       unsigned unused0 : 31;
      } b;
       unsigned long w;
    } TVE_104_REG
       

  • 25) TVE_108_REG | 0x0108

    typedef union  tve_108_reg
    {
      struct
      {
       unsigned notch_freq : 3;
       unsigned unused0 : 29;
      } b;
       unsigned long w;
    } TVE_108_REG
       

  • 26) TVE_10C_REG | 0x010C

    typedef union  tve_10c_reg
    {
      struct
      {
       unsigned cb_burst_level : 8;
       unsigned cr_burst_level : 8;
       unsigned unused0 : 16;
      } b;
       unsigned long w;
    } TVE_10C_REG
       

  • 27) TVE_110_REG | 0x0110

    typedef union  tve_110_reg
    {
      struct
      {
       unsigned chroma_phase : 8;
       unsigned unused0 : 8;
       unsigned tint : 8;
       unsigned unused1 : 8;
      } b;
       unsigned long w;
    } TVE_110_REG
       

  • 28) TVE_114_REG | 0x0114

    typedef union  tve_114_reg
    {
      struct
      {
       unsigned hsync_width : 8;
       unsigned burst_width : 7;
       unsigned unused0 : 1;
       unsigned breezeway : 7;
       unsigned unused1 : 1;
       unsigned back_porch : 8;
      } b;
       unsigned long w;
    } TVE_114_REG
       

  • 29) TVE_118_REG | 0x0118

    typedef union  tve_118_reg
    {
      struct
      {
       unsigned cb_gain : 8;
       unsigned cr_gain : 8;
       unsigned unused0 : 16;
      } b;
       unsigned long w;
    } TVE_118_REG
       

  • 30) TVE_11C_REG | 0x011C

    typedef union  tve_11c_reg
    {
      struct
      {
       unsigned vblank_level : 10;
       unsigned unused0 : 6;
       unsigned sync_level : 10;
       unsigned unused1 : 6;
      } b;
       unsigned long w;
    } TVE_11C_REG
       

  • 31) TVE_120_REG | 0x0120

    typedef union  tve_120_reg
    {
      struct
      {
       unsigned white_level : 10;
       unsigned unused0 : 6;
       unsigned hd_sync_breezeway_level : 10;
       unsigned unused1 : 6;
      } b;
       unsigned long w;
    } TVE_120_REG
       

  • 32) TVE_124_REG | 0x0124

    typedef union  tve_124_reg
    {
      struct
      {
       unsigned active_line : 12;
       unsigned unused0 : 20;
      } b;
       unsigned long w;
    } TVE_124_REG
       

  • 33) TVE_128_REG | 0x0128

    typedef union  tve_128_reg
    {
      struct
      {
       unsigned comp_ch_gain : 2;
       unsigned unused0 : 14;
       unsigned chroma_bw : 2;
       unsigned unused1 : 14;
      } b;
       unsigned long w;
    } TVE_128_REG
       

  • 34) TVE_12C_REG | 0x012C

    typedef union  tve_12c_reg
    {
      struct
      {
       unsigned comp_yuv_en : 1;
       unsigned unused0 : 7;
       unsigned notch_width : 1;
       unsigned unused1 : 23;
      } b;
       unsigned long w;
    } TVE_12C_REG
       

  • 35) TVE_130_REG | 0x0130

    typedef union  tve_130_reg
    {
      struct
      {
       unsigned re_sync_pixel_num : 11;
       unsigned unused0 : 5;
       unsigned re_sync_line_num : 11;
       unsigned unused1 : 3;
       unsigned re_sync_dis : 1;
       unsigned re_sync_field : 1;
      } b;
       unsigned long w;
    } TVE_130_REG
       

  • 36) TVE_134_REG | 0x0134

    typedef union  tve_134_reg
    {
      struct
      {
       unsigned slave_mode : 1;
       unsigned unused0 : 7;
       unsigned slave_thresh : 1;
       unsigned unused1 : 23;
      } b;
       unsigned long w;
    } TVE_134_REG
       

  • 37) TVE_138_REG | 0x0138

    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
       

  • 38) TVE_13C_REG | 0x013C

    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
       

  • 39) TVE_380_REG | 0x0380

    typedef union  tve_380_reg
    {
      struct
      {
       unsigned enable_lp : 1;
       unsigned unused0 : 7;
       unsigned enable_deflicker : 1;
       unsigned fix_coef_deflicker : 1;
       unsigned user_deflicker_coef : 4;
       unsigned unused1 : 18;
      } b;
       unsigned long w;
    } TVE_380_REG
       

  • 40) TVE_384_REG | 0x0384

    typedef union  tve_384_reg
    {
      struct
      {
       unsigned bp1_ratio : 6;
       unsigned unused0 : 2;
       unsigned bp0_ratio : 6;
       unsigned unused1 : 2;
       unsigned hp_ratio : 6;
       unsigned unused2 : 10;
      } b;
       unsigned long w;
    } TVE_384_REG
       

  • 41) TVE_388_REG | 0x0388

    typedef union  tve_388_reg
    {
      struct
      {
       unsigned gain : 8;
       unsigned unused0 : 24;
      } b;
       unsigned long w;
    } TVE_388_REG
       

  • 42) TVE_38C_REG | 0x038C

    typedef union  tve_38c_reg
    {
      struct
      {
       unsigned beta : 5;
       unsigned unused0 : 11;
       unsigned dif_up : 8;
       unsigned unused1 : 8;
      } b;
       unsigned long w;
    } TVE_38C_REG
       

  • 43) TVE_390_REG | 0x0390

    typedef union  tve_390_reg
    {
      struct
      {
       unsigned neg_gain : 6;
       unsigned unused0 : 26;
      } b;
       unsigned long w;
    } TVE_390_REG
       

  • 44) TVE_394_REG | 0x0394

    typedef union  tve_394_reg
    {
      struct
      {
       unsigned corthr : 8;
       unsigned unused0 : 24;
      } b;
       unsigned long w;
    } TVE_394_REG
       

  • 45) TVE_3A0_REG | 0x03A0

    typedef union  tve_3a0_reg
    {
      struct
      {
       unsigned corthr : 8;
       unsigned unused0 : 24;
      } b;
       unsigned long w;
    } TVE_3A0_REG
       


  • Allwinner H616 Manual