Регистры Allwinner H616

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

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

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

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


Регистров: 17

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


  • 1) TMR_IRQ_EN_REG | 0x0000

    typedef union  tmr_irq_en_reg
    {
      struct
      {
       unsigned tmr0_irq_en : 1;
       unsigned tmr1_irq_en : 1;
       unsigned unused0 : 30;
      } b;
       unsigned long w;
    } TMR_IRQ_EN_REG
       

  • 2) TMR_IRQ_STA_REG | 0x0004

    typedef union  tmr_irq_sta_reg
    {
      struct
      {
       unsigned tmr0_irq_pend : 1;
       unsigned tmr1_irq_pend : 1;
       unsigned unused0 : 30;
      } b;
       unsigned long w;
    } TMR_IRQ_STA_REG
       

  • 3) TMR0_CTRL_REG | 0x0010

    typedef union  tmr0_ctrl_reg
    {
      struct
      {
       unsigned tmr0_en : 1;
       unsigned tmr0_reload : 1;
       unsigned tmr0_clk_src : 2;
       unsigned tmr0_clk_pres : 3;
       unsigned tmr0_mode : 1;
       unsigned unused0 : 24;
      } b;
       unsigned long w;
    } TMR0_CTRL_REG
       

  • 4) TMR0_INTV_VALUE_REG | 0x0014

    typedef union  tmr0_intv_value_reg
    {
      struct
      {
       unsigned tmr0_intv_value : 32;
      } b;
       unsigned long w;
    } TMR0_INTV_VALUE_REG
       

  • 5) TMR0_CUR_VALUE_REG | 0x0018

    typedef union  tmr0_cur_value_reg
    {
      struct
      {
       unsigned tmr0_cur_value : 32;
      } b;
       unsigned long w;
    } TMR0_CUR_VALUE_REG
       

  • 6) TMR1_CTRL_REG | 0x0020

    typedef union  tmr1_ctrl_reg
    {
      struct
      {
       unsigned tmr1_en : 1;
       unsigned tmr1_reload : 1;
       unsigned tmr1_clk_src : 2;
       unsigned tmr1_clk_pres : 3;
       unsigned tmr1_mode : 1;
       unsigned unused0 : 24;
      } b;
       unsigned long w;
    } TMR1_CTRL_REG
       

  • 7) TMR1_INTV_VALUE_REG | 0x0024

    typedef union  tmr1_intv_value_reg
    {
      struct
      {
       unsigned tmr1_intv_value : 32;
      } b;
       unsigned long w;
    } TMR1_INTV_VALUE_REG
       

  • 8) TMR1_CUR_VALUE_REG | 0x0028

    typedef union  tmr1_cur_value_reg
    {
      struct
      {
       unsigned tmr1_cur_value : 32;
      } b;
       unsigned long w;
    } TMR1_CUR_VALUE_REG
       

  • 9) WDOG_IRQ_EN_REG | 0x00A0

    typedef union  wdog_irq_en_reg
    {
      struct
      {
       unsigned wdog_irq_en : 1;
       unsigned unused0 : 31;
      } b;
       unsigned long w;
    } WDOG_IRQ_EN_REG
       

  • 10) WDOG_IRQ_STA_REG | 0x00A4

    typedef union  wdog_irq_sta_reg
    {
      struct
      {
       unsigned wdog_irq_pend : 1;
       unsigned unused0 : 31;
      } b;
       unsigned long w;
    } WDOG_IRQ_STA_REG
       

  • 11) WDOG_CTRL_REG | 0x00B0

    typedef union  wdog_ctrl_reg
    {
      struct
      {
       unsigned wdog_restart : 1;
       unsigned wdog_key_field : 12;
       unsigned unused0 : 19;
      } b;
       unsigned long w;
    } WDOG_CTRL_REG
       

  • 12) WDOG_CFG_REG | 0x00B4

    typedef union  wdog_cfg_reg
    {
      struct
      {
       unsigned wdog_config : 2;
       unsigned unused0 : 30;
      } b;
       unsigned long w;
    } WDOG_CFG_REG
       

  • 13) WDOG_MODE_REG | 0x00B8

    typedef union  wdog_mode_reg
    {
      struct
      {
       unsigned wdog_en : 1;
       unsigned unused0 : 3;
       unsigned wdog_intv_value : 4;
       unsigned unused1 : 24;
      } b;
       unsigned long w;
    } WDOG_MODE_REG
       

  • 14) AVS_CNT_CTL_REG | 0x00C0

    typedef union  avs_cnt_ctl_reg
    {
      struct
      {
       unsigned avs_cnt0_en : 1;
       unsigned avs_cnt1_en : 1;
       unsigned unused0 : 6;
       unsigned avs_cnt0_ps : 1;
       unsigned avs_cnt1_ps : 1;
       unsigned unused1 : 22;
      } b;
       unsigned long w;
    } AVS_CNT_CTL_REG
       

  • 15) AVS_CNT0_REG | 0x00C4

    typedef union  avs_cnt0_reg
    {
      struct
      {
       unsigned avs_cnt0 : 32;
      } b;
       unsigned long w;
    } AVS_CNT0_REG
       

  • 16) AVS_CNT1_REG | 0x00C8

    typedef union  avs_cnt1_reg
    {
      struct
      {
       unsigned avs_cnt1 : 32;
      } b;
       unsigned long w;
    } AVS_CNT1_REG
       

  • 17) AVS_CNT_DIV_REG | 0x00CC

    typedef union  avs_cnt_div_reg
    {
      struct
      {
       unsigned avs_cnt1 : 32;
      } b;
       unsigned long w;
    } AVS_CNT_DIV_REG
       


  • Allwinner H616 Manual