LOSC_CTRL_REG Часы реального времени RTC: список регистров 31 |•|•|•|•|•|•|•|•|•|•|•|•|•|•|•|•| 16 15 |•|•|•|•|•|•|•|•|•|•|•|•|•|•|•|•| 00 RESERV_1 Bits 31 : 16W 0x0 Reserved RESERV_2 Bit 15R/W 0x0 Reserved RESERV_3 Bit 14R/W 0x1 Reserved Unused Bits 13 : 9RTC_HHMMSS_ACCE Bit 8R/W 0x0 RTC HH-MM-SS access RTC_DAY_ACCE Bit 7R/W 0x0 RTC DAY access Unused Bits 6 : 5RESERV_4 Bit 4R/W 0x1 Reserved RESERV_5 Bits 3 : 2R/W 0x0 Reserved Unused Bit 1RESERV_6 Bit 0R/W 0x0 Reserved Команда U-Boot для чтения регистра md 7000000 1Bit fields structuretypedef union losc_ctrl_reg { struct { unsigned reserv_6 : 1; unsigned unused0 : 1; unsigned reserv_5 : 2; unsigned reserv_4 : 1; unsigned unused1 : 2; unsigned rtc_day_acce : 1; unsigned rtc_hhmmss_acce : 1; unsigned unused2 : 5; unsigned reserv_3 : 1; unsigned reserv_2 : 1; unsigned reserv_1 : 16; } b; unsigned long w; } LOSC_CTRL_REG |