THS2_ALARM_CTRL Контроллер термодатчика: список регистров 31 |•|•|•|•|•|•|•|•|•|•|•|•|•|•|•|•| 16 15 |•|•|•|•|•|•|•|•|•|•|•|•|•|•|•|•| 00 Unused Bits 31 : 28ALARM2_T_HOT Bits 27 : 16R/W 0x5A0 Thermal Sensor2 alarm threshold for hot temperature Unused Bits 15 : 12ALARM2_T_HYST Bits 11 : 0R/W 0x684 Thermal Sensor2 alarm threshold for hysteresis temperature Команда U-Boot для чтения регистра md 5070448 1Bit fields structuretypedef union ths2_alarm_ctrl { struct { unsigned alarm2_t_hyst : 12; unsigned unused0 : 4; unsigned alarm2_t_hot : 12; unsigned unused1 : 4; } b; unsigned long w; } THS2_ALARM_CTRL |