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