Регистры Allwinner H616

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

Таймер высокой скорости ( Руководство )

Имя модуля: High Speed Timer , базовый адрес: 0x03005000

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


Регистров: 12

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


  • 1) HS_TMR_IRQ_EN_REG | 0x0000

    typedef union  hs_tmr_irq_en_reg
    {
      struct
      {
       unsigned hs_tmr0_int_en : 1;
       unsigned hs_tmr1_int_en : 1;
       unsigned unused0 : 30;
      } b;
       unsigned long w;
    } HS_TMR_IRQ_EN_REG
       

  • 2) HS_TMR_IRQ_STAS_REG | 0x0004

    typedef union  hs_tmr_irq_stas_reg
    {
      struct
      {
       unsigned hs_tmr0_irq_pend : 1;
       unsigned hs_tmr1_irq_pend : 1;
       unsigned unused0 : 30;
      } b;
       unsigned long w;
    } HS_TMR_IRQ_STAS_REG
       

  • 3) HS_TMR0_CTRL_REG | 0x0020

    typedef union  hs_tmr0_ctrl_reg
    {
      struct
      {
       unsigned hs_tmr0_en : 1;
       unsigned hs_tmr0_reload : 1;
       unsigned unused0 : 2;
       unsigned hs_tmr0_clk : 3;
       unsigned hs_tmr0_mode : 1;
       unsigned unused1 : 23;
       unsigned hs_tmr0_test : 1;
      } b;
       unsigned long w;
    } HS_TMR0_CTRL_REG
       

  • 4) HS_TMR0_INTV_LO_REG | 0x0024

    typedef union  hs_tmr0_intv_lo_reg
    {
      struct
      {
       unsigned hs_tmr0_intv_value_lo : 32;
      } b;
       unsigned long w;
    } HS_TMR0_INTV_LO_REG
       

  • 5) HS_TMR0_INTV_HI_REG | 0x0028

    typedef union  hs_tmr0_intv_hi_reg
    {
      struct
      {
       unsigned hs_tmr0_intv_value_hi : 24;
       unsigned unused0 : 8;
      } b;
       unsigned long w;
    } HS_TMR0_INTV_HI_REG
       

  • 6) HS_TMR0_CURNT_LO_REG | 0x002C

    typedef union  hs_tmr0_curnt_lo_reg
    {
      struct
      {
       unsigned hs_tmr0_cur_value_lo : 32;
      } b;
       unsigned long w;
    } HS_TMR0_CURNT_LO_REG
       

  • 7) HS_TMR0_CURNT_HI_REG | 0x0030

    typedef union  hs_tmr0_curnt_hi_reg
    {
      struct
      {
       unsigned hs_tmr0_cur_value_hi : 24;
       unsigned unused0 : 8;
      } b;
       unsigned long w;
    } HS_TMR0_CURNT_HI_REG
       

  • 8) HS_TMR1_CTRL_REG | 0x0040

    typedef union  hs_tmr1_ctrl_reg
    {
      struct
      {
       unsigned hs_tmr1_en : 1;
       unsigned hs_tmr1_reload : 1;
       unsigned unused0 : 2;
       unsigned hs_tmr1_clk : 3;
       unsigned hs_tmr1_mode : 1;
       unsigned unused1 : 23;
       unsigned hs_tmr1_test : 1;
      } b;
       unsigned long w;
    } HS_TMR1_CTRL_REG
       

  • 9) HS_TMR1_INTV_LO_REG | 0x0044

    typedef union  hs_tmr1_intv_lo_reg
    {
      struct
      {
       unsigned hs_tmr1_intv_value_lo : 32;
      } b;
       unsigned long w;
    } HS_TMR1_INTV_LO_REG
       

  • 10) HS_TMR1_INTV_HI_REG | 0x0048

    typedef union  hs_tmr1_intv_hi_reg
    {
      struct
      {
       unsigned hs_tmr1_intv_value_hi : 24;
       unsigned unused0 : 8;
      } b;
       unsigned long w;
    } HS_TMR1_INTV_HI_REG
       

  • 11) HS_TMR1_CURNT_LO_REG | 0x004C

    typedef union  hs_tmr1_curnt_lo_reg
    {
      struct
      {
       unsigned hs_tmr1_cur_value_lo : 32;
      } b;
       unsigned long w;
    } HS_TMR1_CURNT_LO_REG
       

  • 12) HS_TMR1_CURNT_HI_REG | 0x0050

    typedef union  hs_tmr1_curnt_hi_reg
    {
      struct
      {
       unsigned hs_tmr1_cur_value_hi : 24;
       unsigned unused0 : 8;
      } b;
       unsigned long w;
    } HS_TMR1_CURNT_HI_REG
       


  • Allwinner H616 Manual