O_HcRhDescriptorA Хост-контроллер USB2.0: список регистров 31 |•|•|•|•|•|•|•|•|•|•|•|•|•|•|•|•| 16 15 |•|•|•|•|•|•|•|•|•|•|•|•|•|•|•|•| 00 POTPGT Bits 31 : 24R/W (R) 0x2 Power On To Power Good Time Unused Bits 23 : 13NO_OVER_CURRENT_PROTECTION Bit 12R/W (R) 0x1 This bit describes how the overcurrent status for the Root Hub ports are reported. OVER_CURRENT_PROTECTION_MODE Bit 11R/W (R) 0x0 This bit describes how the overcurrent status for the Root Hub ports are reported. DEVICE_TYPE Bit 10R (R) 0x0 This bit specifies that the Root Hub is not a compound device. POWER_SWITCHING_MODE Bit 9R/W (R) 0x1 This bit is used to specify how the power switching of the Root Hub ports is controlled. NO_POWER_SWITCHING Bit 8R/W (R) 0x0 These bits are used to specify whether power switching is supported or ports are always powered. NUMBER_DOWN_STREAM_PORTS Bits 7 : 0R (R) 0x01 These bits specify the number of downstream ports supported by the Root Hub. Команда U-Boot для чтения регистра md 5200448 1md 5310448 1 md 5311448 1 Bit fields structuretypedef union o_hcrhdescriptora { struct { unsigned number_down_stream_ports : 8; unsigned no_power_switching : 1; unsigned power_switching_mode : 1; unsigned device_type : 1; unsigned over_current_protection_mode : 1; unsigned no_over_current_protection : 1; unsigned unused0 : 11; unsigned potpgt : 8; } b; unsigned long w; } O_HcRhDescriptorA |