FX3 SDK: CyU3PUsbRegisterSetupCallback function, question about fastEnum parameter | Cypress Semiconductor
FX3 SDK: CyU3PUsbRegisterSetupCallback function, question about fastEnum parameter
Hello, I have a question about the CyU3PUsbRegisterSetupCallback function, fastEnum parameter:
When fastEnum is set to CyTrue, I understand all the setup requests are intercepted and the registered call-back function is called for each of them, what is not clear to me and I would like for somebody more knwlegeable to confirm is that if the function only treats some of those requests and return CyFalse for all the other, then they will be treated by the RTOS USB driver.
Practically if I make a dummy ApplnUSBSetupCB() function that just returns CyFalse it will be the same as I would have called CyU3PUsbRegisterSetupCallback with the fastEnum parameter = CyFalse ?
Oh dear God, who showed Doxygen junk to the management and told them that is such a cool solution in place of a properly written and proofread documentation should be fired on spot, this cr@p can eventually used to build a skeleton of documentation, ALL THE TIMES when I see that is some not really incorrect documentation but really incomplete, because it is written from the programmer point of view that inherintly will write as little as possible because he knows the program and just writes as little as possible, no use cases, no details, nothing .
I wish Cypress will hire somebody to write a real documentation of this API that is not bad but really not documented properly.