In addition to maintaining data and buffer structures in system memory, the software reads and writes the control and status registers. The CPU environment that executes the software is described in USB Host, Device, and OTG Controller. The controller can generate interrupts cause by the DMA and Protocol engine activities, the PHY, and other controller functions. The interrupts are summarized in Table 1.
The system includes either a Host Controller Driver (HCD) or a Device Controller Driver (DCD). There might be additional of software to support the OTG functions.