CyU3PUsbEpEvtControl in DMA manual example

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
WGT_4383351
Level 5
Level 5
First like received

There are four CyU3PUsbEpEvtControl calls in DMA manual example "C:\Program Files (x86)\Cypress\EZ-USB FX3 SDK\1.3\firmware\dma_examples\cyfxbulklpmanual"

But there is no such call in cyfxbulklpman_removal example.

What is the purpose of CyU3PUsbEpEvtControl in cyfxbulklpmanual, when is such calls required?

0 Likes
1 Solution
Hemanth
Moderator
Moderator
Moderator
First like given First question asked 750 replies posted

Hi,

It's just that the API CyU3PUsbEpEvtControl() calls are demonstrated in that example. This API is used to enable event masks for specific endpoints after ep-event callback is registered through CyU3PUsbRegisterEpEvtCallback(). In this example the API is used to disable/ re-enable the NAK event when necessary.

Regards,

Hemanth

Hemanth

View solution in original post

0 Likes
1 Reply
Hemanth
Moderator
Moderator
Moderator
First like given First question asked 750 replies posted

Hi,

It's just that the API CyU3PUsbEpEvtControl() calls are demonstrated in that example. This API is used to enable event masks for specific endpoints after ep-event callback is registered through CyU3PUsbRegisterEpEvtCallback(). In this example the API is used to disable/ re-enable the NAK event when necessary.

Regards,

Hemanth

Hemanth
0 Likes