Регистры Allwinner H616

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


THS_ALARM_INTS
3.10.5. THS Alarm Interrupt Status Register - адрес: 0x507042c (смещение: 0x002C)

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



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

  Unused

Bits 31 : 4

  ALARM_INT3_STS

Bit 3
R/W1C
0x0

Alarm interrupt pending for sensor3
Write 1 to clear this interrupt.


  ALARM_INT2_STS

Bit 2
R/W1C
0x0

Alarm interrupt pending for sensor2
Write 1 to clear this interrupt.


  ALARM_INT1_STS

Bit 1
R/W1C
0x0

Alarm interrupt pending for sensor1
Write 1 to clear this interrupt.


  ALARM_INT0_STS

Bit 0
R/W1C
0x0

Alarm interrupt pending for sensor0
Write 1 to clear this interrupt.



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

md 507042c 1



Bit fields structure

typedef union  ths_alarm_ints
{
  struct
  {
   unsigned alarm_int0_sts : 1;
   unsigned alarm_int1_sts : 1;
   unsigned alarm_int2_sts : 1;
   unsigned alarm_int3_sts : 1;
   unsigned unused0 : 28;
  } b;
   unsigned long w;
} THS_ALARM_INTS
   

Allwinner H616 Manual