Регистры Allwinner H616

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


THS_DATA_INTS
3.10.5. THS Data Interrupt Status Register - адрес: 0x5070420 (смещение: 0x0020)

Контроллер термодатчика: список регистров



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

  Unused

Bits 31 : 4

  THS3_DATA_IRQ_STS

Bit 3
R/W1C
0x0

Data interrupt status for sensor3
Write 1 to clear this interrupt.


  THS2_DATA_IRQ_STS

Bit 2
R/W1C
0x0

Data interrupt status for sensor2
Write 1 to clear this interrupt.


  THS1_DATA_IRQ_STS

Bit 1
R/W1C
0x0

Data interrupt status for sensor1
Write 1 to clear this interrupt.


  THS0_DATA_IRQ_STS

Bit 0
R/W1C
0x0

Data interrupt status for sensor0
Write 1 to clear this interrupt.



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

md 5070420 1



Bit fields structure

typedef union  ths_data_ints
{
  struct
  {
   unsigned ths0_data_irq_sts : 1;
   unsigned ths1_data_irq_sts : 1;
   unsigned ths2_data_irq_sts : 1;
   unsigned ths3_data_irq_sts : 1;
   unsigned unused0 : 28;
  } b;
   unsigned long w;
} THS_DATA_INTS
   

Allwinner H616 Manual