Setup Host Controller. The Host Controller Driver should now save the contents of the HcFmInterval register and then issue a software reset by writing a one to the HostControllerReset bit in the HcCommandStatus register. After the software reset is complete (a maximum of 10 μs), the Host Controller Driver should restore the value of the HcFmInterval register. The Host Controller is now in the USPSUSPEND state; it must not stay in this state more than 2 ms or the USBRESUME state will need to be entered for the minimum time specified in the USB Specification for the assertion of resume on the USB. The Host Controller Driver should perform the following initializations: • Initialize the device data HCCA block to match the current device data state; i.e., all virtual queues are run and constructed into physical queues on the HCCA block and other fields initialized accordingly. • Initialize the Operational Registers to match the current device data state; i.e., all virtual queues are run and constructed into physical queues for HcControlHeadED and HcBulkHeadED • Set the HcHCCA to the physical address of the HCCA block. • Set HcInterruptEnable to have all interrupt enabled except SOF detect. • Set HcControl to have “all queues on”. • Set HcPeriodicStart to a value that is 90% of the value in FrameInterval field of the
Appears in 1 contract
Sources: Adopter’s Agreement for Open Host Controller Interface Reciprocal Covenant
Setup Host Controller. The Host Controller Driver should now save the contents of the HcFmInterval register and then issue a software reset by writing a one to the HostControllerReset bit in the HcCommandStatus register. After the software reset is complete (a maximum of 10 μs? s), the Host Controller Driver should restore the value of the HcFmInterval register. The Host Controller is now in the USPSUSPEND state; it must not stay in this state more than 2 ms or the USBRESUME state will need to be entered for the minimum time specified in the USB Specification for the assertion of resume on the USB. The Host Controller Driver should perform the following initializations: • ?? Initialize the device data HCCA block to match the current device data state; i.e., all virtual queues are run and constructed into physical queues on the HCCA block and other fields initialized accordingly. • ?? Initialize the Operational Registers to match the current device data state; i.e., all virtual queues are run and constructed into physical queues for HcControlHeadED and HcBulkHeadED • ?? Set the HcHCCA to the physical address of the HCCA block. • ?? Set HcInterruptEnable to have all interrupt enabled except SOF detect. • ?? Set HcControl to have “all queues on”. • ?? Set HcPeriodicStart to a value that is 90% of the value in FrameInterval field of the
Appears in 1 contract
Sources: Adopter’s Agreement for Open Host Controller Interface Reciprocal Covenant