Регистры Allwinner H616

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


THS_ALARMO_INTS
3.10.5. THS Alarm off Interrupt Status Register - адрес: 0x5070428 (смещение: 0x0028)

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



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

  Unused

Bits 31 : 4

  ALARM_OFF3_STS

Bit 3
R/W1C
0x0

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


  ALARM_OFF2_STS

Bit 2
R/W1C
0x0

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


  ALARM_OFF1_STS

Bit 1
R/W1C
0x0

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


  ALARM_OFF0_STS

Bit 0
R/W1C
0x0

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



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

md 5070428 1



Bit fields structure

typedef union  ths_alarmo_ints
{
  struct
  {
   unsigned alarm_off0_sts : 1;
   unsigned alarm_off1_sts : 1;
   unsigned alarm_off2_sts : 1;
   unsigned alarm_off3_sts : 1;
   unsigned unused0 : 28;
  } b;
   unsigned long w;
} THS_ALARMO_INTS
   

Allwinner H616 Manual