2.7.2.1 Library Overview
The Generic Function Driver features API to set application event handlers and transfer data over non-zero endpoints. The function driver is initialized by the Device Layer when a Set Configuration request is received by the device. This process does not require application intervention. As a part of this initialization process, all the endpoints belonging to the Generic Function Driver Interfaces will be enabled and configured. When the application receives the USB_DEVICE_EVENT_CONFIGURED, these endpoints are ready for data transfers.
The application design must ensure that the Generic Function Driver is registered in the Device Layer Function Driver Registration Table.