USB_STBY_CTRL_REG Часы реального времени RTC: список регистров 31 |•|•|•|•|•|•|•|•|•|•|•|•|•|•|•|•| 16 15 |•|•|•|•|•|•|•|•|•|•|•|•|•|•|•|•| 00 VDD_USB Bit 31R/W 0x1 1: VDD_USB power from ldo USB2_LDO Bits 30 : 28R/W 0x1 000: 0.87V Unused Bits 27 : 26RC_CLK_EN_USB Bit 25R/W 0x0 0: Disable RC_CLK_SEL_USB Bit 24R/W 0x0 SCLK_USBPHY, EHCI_HCLK and OHCI_SCLK Clock Source Select. RC16M clock is selected only in USB standby mode if necessary Unused Bits 23 : 17USB_POWER_OFF_GATING Bit 16R/W 0x0 0: disable Unused Bits 15 : 9USB_STBY_IRQ_POWER_OFF_GATING Bit 8R/W 0x0 0: disable Unused Bits 7 : 6SYSTEM_STANDBY_IRQ_OUTPUT_GATING Bit 5R/W 0x0 0: disable irq output USB_STBY_IRQ_OUTPUT_GATING Bit 4R/W 0x0 0: disable irq output Unused Bits 3 : 0Команда U-Boot для чтения регистра md 7000200 1Bit fields structuretypedef union usb_stby_ctrl_reg { struct { unsigned unused0 : 4; unsigned usb_stby_irq_output_gating : 1; unsigned system_standby_irq_output_gating : 1; unsigned unused1 : 2; unsigned usb_stby_irq_power_off_gating : 1; unsigned unused2 : 7; unsigned usb_power_off_gating : 1; unsigned unused3 : 7; unsigned rc_clk_sel_usb : 1; unsigned rc_clk_en_usb : 1; unsigned unused4 : 2; unsigned usb2_ldo : 3; unsigned vdd_usb : 1; } b; unsigned long w; } USB_STBY_CTRL_REG |