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