About the HIDRxHandleBusy function in USB communication

Status
Not open for further replies.

maniac84

Full Member level 6
Joined
Mar 4, 2012
Messages
337
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,298
Visit site
Activity points
3,661
Hi guys,

I'm using PIC18F25K50 for my project here. And I'm using the HIDRxHandleBusy to receive data from a host.

When there data is received: HIDRxHandleBusy(USBOutHandle)=0;
When data is cleared: HIDRxHandleBusy(USBOutHandle)=1;

Is this a correct assumption?

Just want to know in what condition, my PIC won't received any data even though the host indicate that it had sent the data?
I'm using "if(!HIDRxHandleBusy(USBOutHandle))" to check but there's no data coming in.
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…