Регистры Allwinner H616

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

Контроллер транспортного потока ( Руководство )

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

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

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

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

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


Регистров: 32

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


  • 1) TSC_PCTLR | TSC + 0x10

    typedef union  tsc_pctlr
    {
      struct
      {
       unsigned ts_in_port0_ctrl : 1;
       unsigned unused0 : 31;
      } b;
       unsigned long w;
    } TSC_PCTLR
       

  • 2) TSC_PPARR | TSC + 0x14

    typedef union  tsc_pparr
    {
      struct
      {
       unsigned psync_signal_polarity : 1;
       unsigned dvalid_signal_polarity : 1;
       unsigned error_signal_polarity : 1;
       unsigned clock_signal_polarity : 1;
       unsigned ssi_data_order : 1;
       unsigned unused0 : 27;
      } b;
       unsigned long w;
    } TSC_PPARR
       

  • 3) TSC_TSFMUXR | TSC + 0x20

    typedef union  tsc_tsfmuxr
    {
      struct
      {
       unsigned tsf0_input_mux_ctrl : 4;
       unsigned unused0 : 28;
      } b;
       unsigned long w;
    } TSC_TSFMUXR
       

  • 4) TSC_OUTMUXR | TSC + 0x28

    typedef union  tsc_outmuxr
    {
      struct
      {
       unsigned unused0 : 32;
      } b;
       unsigned long w;
    } TSC_OUTMUXR
       

  • 5) TSG_PPR | TSG + 0x04

    typedef union  tsg_ppr
    {
      struct
      {
       unsigned pkt_size : 2;
       unsigned unused0 : 5;
       unsigned sync_byte_pos : 1;
       unsigned unused1 : 8;
       unsigned sync_byte_val : 8;
       unsigned unused2 : 8;
      } b;
       unsigned long w;
    } TSG_PPR
       

  • 6) TSG_CCR | TSG + 0x0C

    typedef union  tsg_ccr
    {
      struct
      {
       unsigned tsgcdf_d : 16;
       unsigned tsgcdf_n : 16;
      } b;
       unsigned long w;
    } TSG_CCR
       

  • 7) TSG_BBAR | TSG + 0x10

    typedef union  tsg_bbar
    {
      struct
      {
       unsigned tsg_buf_base : 32;
      } b;
       unsigned long w;
    } TSG_BBAR
       

  • 8) TSG_BSZR | TSG + 0x14

    typedef union  tsg_bszr
    {
      struct
      {
       unsigned tsg_buf_size : 24;
       unsigned unused0 : 8;
      } b;
       unsigned long w;
    } TSG_BSZR
       

  • 9) TSG_BPR | TSG + 0x18

    typedef union  tsg_bpr
    {
      struct
      {
       unsigned tsg_buf_ptr : 24;
       unsigned unused0 : 8;
      } b;
       unsigned long w;
    } TSG_BPR
       

  • 10) TSF_PPR | TSF + 0x04

    typedef union  tsf_ppr
    {
      struct
      {
       unsigned pkt_size : 2;
       unsigned unused0 : 6;
       unsigned sync_mthd : 2;
       unsigned unused1 : 6;
       unsigned sync_byte_val : 8;
       unsigned sync_thd : 4;
       unsigned lost_sync_thd : 4;
      } b;
       unsigned long w;
    } TSF_PPR
       

  • 11) TSF_DIER | TSF + 0x10

    typedef union  tsf_dier
    {
      struct
      {
       unsigned dmaie : 32;
      } b;
       unsigned long w;
    } TSF_DIER
       

  • 12) TSF_OIER | TSF + 0x14

    typedef union  tsf_oier
    {
      struct
      {
       unsigned olpie : 32;
      } b;
       unsigned long w;
    } TSF_OIER
       

  • 13) TSF_DISR | TSF + 0x18

    typedef union  tsf_disr
    {
      struct
      {
       unsigned dmais : 32;
      } b;
       unsigned long w;
    } TSF_DISR
       

  • 14) TSF_OISR | TSF + 0x1C

    typedef union  tsf_oisr
    {
      struct
      {
       unsigned olpis : 32;
      } b;
       unsigned long w;
    } TSF_OISR
       

  • 15) TSF_PCRCR | TSF + 0x20

    typedef union  tsf_pcrcr
    {
      struct
      {
       unsigned pcrlsb : 1;
       unsigned unused0 : 7;
       unsigned pcrcind : 5;
       unsigned unused1 : 3;
       unsigned pcrde : 1;
       unsigned unused2 : 15;
      } b;
       unsigned long w;
    } TSF_PCRCR
       

  • 16) TSF_PCRDR | TSF + 0x24

    typedef union  tsf_pcrdr
    {
      struct
      {
       unsigned pcrmsb : 32;
      } b;
       unsigned long w;
    } TSF_PCRDR
       

  • 17) TSF_CENR | TSF + 0x30

    typedef union  tsf_cenr
    {
      struct
      {
       unsigned filteren : 32;
      } b;
       unsigned long w;
    } TSF_CENR
       

  • 18) TSF_CPER | TSF + 0x34

    typedef union  tsf_cper
    {
      struct
      {
       unsigned pesen : 32;
      } b;
       unsigned long w;
    } TSF_CPER
       

  • 19) TSF_CDER | TSF + 0x38

    typedef union  tsf_cder
    {
      struct
      {
       unsigned descen : 32;
      } b;
       unsigned long w;
    } TSF_CDER
       

  • 20) TSF_CINDR | TSF + 0x3C

    typedef union  tsf_cindr
    {
      struct
      {
       unsigned chind : 5;
       unsigned unused0 : 26;
       unsigned pes_descram_enable : 1;
      } b;
       unsigned long w;
    } TSF_CINDR
       

  • 21) TSF_CCTLR | TSF + 0x40

    typedef union  tsf_cctlr
    {
      struct
      {
       unsigned unused0 : 32;
      } b;
       unsigned long w;
    } TSF_CCTLR
       

  • 22) TSF_CSTAR | TSF + 0x44

    typedef union  tsf_cstar
    {
      struct
      {
       unsigned unused0 : 32;
      } b;
       unsigned long w;
    } TSF_CSTAR
       

  • 23) TSF_CCWIR | TSF + 0x48

    typedef union  tsf_ccwir
    {
      struct
      {
       unsigned cwind : 3;
       unsigned unused0 : 29;
      } b;
       unsigned long w;
    } TSF_CCWIR
       

  • 24) TSF_CPIDR | TSF + 0x4C

    typedef union  tsf_cpidr
    {
      struct
      {
       unsigned pidval : 16;
       unsigned pidmsk : 16;
      } b;
       unsigned long w;
    } TSF_CPIDR
       

  • 25) TSF_CBBAR | TSF + 0x50

    typedef union  tsf_cbbar
    {
      struct
      {
       unsigned tsf_buf_baddr : 32;
      } b;
       unsigned long w;
    } TSF_CBBAR
       

  • 26) TSF_CBSZR | TSF + 0x54

    typedef union  tsf_cbszr
    {
      struct
      {
       unsigned ch_buf_pkt_sz : 21;
       unsigned unused0 : 3;
       unsigned chdma_int_thd : 2;
       unsigned unused1 : 6;
      } b;
       unsigned long w;
    } TSF_CBSZR
       

  • 27) TSF_CBWPR | TSF + 0x58

    typedef union  tsf_cbwpr
    {
      struct
      {
       unsigned buf_wr_ptr : 21;
       unsigned unused0 : 11;
      } b;
       unsigned long w;
    } TSF_CBWPR
       

  • 28) TSF_CBRPR | TSF + 0x5C

    typedef union  tsf_cbrpr
    {
      struct
      {
       unsigned buf_rd_ptr : 21;
       unsigned unused0 : 11;
      } b;
       unsigned long w;
    } TSF_CBRPR
       

  • 29) TSD_CTLR | TSD + 0x00

    typedef union  tsd_ctlr
    {
      struct
      {
       unsigned desc_arith : 2;
       unsigned unused0 : 14;
       unsigned ts_descramble_flag_clear : 1;
       unsigned unused1 : 15;
      } b;
       unsigned long w;
    } TSD_CTLR
       

  • 30) TSD_STAR | TSD + 0x04

    typedef union  tsd_star
    {
      struct
      {
       unsigned unused0 : 32;
      } b;
       unsigned long w;
    } TSD_STAR
       

  • 31) TSD_CWIR | TSD + 0x1C

    typedef union  tsd_cwir
    {
      struct
      {
       unsigned cwii : 4;
       unsigned cwi : 3;
       unsigned unused0 : 25;
      } b;
       unsigned long w;
    } TSD_CWIR
       

  • 32) TSD_CWR | TSD + 0x20

    typedef union  tsd_cwr
    {
      struct
      {
       unsigned cwii : 4;
       unsigned cwi : 3;
       unsigned unused0 : 25;
      } b;
       unsigned long w;
    } TSD_CWR
       


  • Allwinner H616 Manual