The PSOC4200 has a USB Controller. So it can only receive SET_IDLE request from the host. This device has to handle the request appropriately.
This is handled in our source code. To see the part where this code is handled.
1) Open USBFS_HID example project in PSoC Creator. Build the project.
2) On the project explorer tab on the left, go to Generated Source/PSOC4/USBFS/USBFS_hid.c
3) in this USBFS_hid.c file, you can see that the USBFS_HID_SET_IDLE request is handled in the USBFS_DispatchHIDClassRqst function.
- Madhu Sudhan