
USB_CTRL Хост-контроллер USB2.0: список регистров 31 |•|•|•|•|•|•|•|•|•|•|•|•|•|•|•|•| 16 15 |•|•|•|•|•|•|•|•|•|•|•|•|•|•|•|•| 00 Unused Bits 31 : 29DMA_TRANSF_STAT_ENA Bit 28R 0x1 DMA Transfer Status Enable Unused Bits 27 : 26OHCI_COUNT_SELECT Bit 25R/W 0x0 1: Simulation mode, the counters will be much shorter then real time SIMULATION_MODE Bit 24R/W 0x0 1: Set PHY in a non-driving mode so the EHCI can detect device connection, this is used only for simulation Unused Bits 23 : 21EHCI_HS_FORCE Bit 20R/W 0x0 Set 1 to this field force the ehci enter the high speed mode during bus reset. Unused Bit 19RESUME_SE0_TRANS Bit 18R/W 0x0 1: within 2us of the resume-K to SE0 transition Unused Bits 17 : 13PP2VBUS Bit 12R/W 0x0 1: ULPI wrapper interface will automatically set or clear DrvVbus register in INCR16_ENA Bit 11R/W 0x0 AHB Master interface INCR16 enable INCR8_ENA Bit 10R/W 0x0 AHB Master interface INCR8 enable INCR4_ENA Bit 9R/W 0x0 AHB Master interface burst type INCR4 enable INCRX_ALIGN_ENA Bit 8R/W 0x0 AHB Master interface INCRX align enable Unused Bits 7 : 3RC16M_CLK_ENABLE Bit 2R/W 0x0 0: disable Unused Bit 1ULPI_BYPASS_ENABLE Bit 0R/W 0x0 1: Enable UTMI interface, disable ULPI interface Команда U-Boot для чтения регистра md 5200800 1md 5310800 1 md 5311800 1 Bit fields structure
typedef union usb_ctrl
{
struct
{
unsigned ulpi_bypass_enable : 1;
unsigned unused0 : 1;
unsigned rc16m_clk_enable : 1;
unsigned unused1 : 5;
unsigned incrx_align_ena : 1;
unsigned incr4_ena : 1;
unsigned incr8_ena : 1;
unsigned incr16_ena : 1;
unsigned pp2vbus : 1;
unsigned unused2 : 5;
unsigned resume_se0_trans : 1;
unsigned unused3 : 1;
unsigned ehci_hs_force : 1;
unsigned unused4 : 3;
unsigned simulation_mode : 1;
unsigned ohci_count_select : 1;
unsigned unused5 : 2;
unsigned dma_transf_stat_ena : 1;
unsigned unused6 : 3;
} b;
unsigned long w;
} USB_CTRL
|
![]() |