Регистры Allwinner H616

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


LRADC_INTC
9.7.5. LRADC Interrupt Control Register - адрес: 0x5070804 (смещение: 0x0004)

Низкоскоростной АЦП: список регистров



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

  Unused

Bits 31 : 5

  ADC0_KEYUP_IRQ_EN

Bit 4
R/W
0x0

ADC0 Key Up IRQ Enable
0: Disable
1: Enable


  ADC0_ALRDY_HOLD_IRQ_EN

Bit 3
R/W
0x0

ADC0 Already Hold Key IRQ Enable
0: Disable
1: Enable


  ADC0_HOLD_IRQ_EN

Bit 2
R/W
0x0

ADC0 Hold Key IRQ Enable
0: Disable
1: Enable


  ADC0_KEYDOWN_EN

Bit 1
R/W
0x0

ADC0 Key Down Enable
0: Disable
1: Enable


  ADC0_DATA_IRQ_EN

Bit 0
R/W
0x0

ADC0 Data IRQ Enable
0: Disable
1: Enable



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

md 5070804 1



Bit fields structure

typedef union  lradc_intc
{
  struct
  {
   unsigned adc0_data_irq_en : 1;
   unsigned adc0_keydown_en : 1;
   unsigned adc0_hold_irq_en : 1;
   unsigned adc0_alrdy_hold_irq_en : 1;
   unsigned adc0_keyup_irq_en : 1;
   unsigned unused0 : 27;
  } b;
   unsigned long w;
} LRADC_INTC
   

Allwinner H616 Manual