Device and Device Controller Driver Configuration
In order to finalize the configuration of your device, you need to declare two structures: one will contain information about your device (Vendor ID, Product ID, etc.) and another will contain information useful to the device controller driver. A reference to both of these structures needs to be passed to the USBD_DevAdd()
function, which allocates a device controller.
For more information on how to modify device and device controller driver configuration, see the Copying and Modifying Template Files page.