Регистры Allwinner H616

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


E_TIMERINTERRUPT
9.5.3. EHCI Timer Configured And Standby Interrupt Status Register - адрес: 0x5200030 0x5310030 0x5311030 (смещение: 0x0030)

Хост-контроллер USB2.0: список регистров



31 ||||||||||||||||| 16
15 ||||||||||||||||| 00

  Unused

Bits 31 : 10

  TIMER_CFG

Bits 9 : 8
R/W
0x0

Timer value configured
00: 8ms
01: 16ms
10: 32ms
11: 64ms


  Unused

Bits 7 : 3

  STANDBY_IRQ_ENA

Bit 2
R/W
0x0

Standby irq enable, when usb in standby operation, open this bit, and close it after quitting standby mode, high active


  STANDBY_IRQ_STAT

Bit 1
R/WC
0x0

Standby irq status bit, write \"1\" to clear or timer auto clear when open timer enable bit, configured timer value see bit9:8.


  TIMER_ENA

Bit 0
R/W
0x0

Timer enable, high active



Команда U-Boot для чтения регистра

md 5200030 1
md 5310030 1
md 5311030 1



Bit fields structure

typedef union  e_timerinterrupt
{
  struct
  {
   unsigned timer_ena : 1;
   unsigned standby_irq_stat : 1;
   unsigned standby_irq_ena : 1;
   unsigned unused0 : 5;
   unsigned timer_cfg : 2;
   unsigned unused1 : 22;
  } b;
   unsigned long w;
} E_TIMERINTERRUPT
   

Allwinner H616 Manual