User manual

Table Of Contents
602
mikoC PRO for PIC32
MikroElektronika
HID_Disable
Prototype
void HID_Disable(void);
Description Disables USB HID communication.
Parameters None.
Returns Nothing.
Requires USB HID needs to be enabled before using this function. See HID_Enable.
Example
HID_Disable();
Notes None.
USB_Interrupt_Proc
Prototype
void USB_Interrupt_Proc(void);
Description This routine is used for servicing various USB bus events. Should be called inside USB interrupt
routine.
Parameters None.
Returns Nothing.
Requires Nothing.
Example
void USB1Interrupt() iv IVT_ADDR_USB1INTERRUPT {
USB_Interrupt_Proc();
}
Notes Do not use this function with USB_Polling_Proc, only one should be used. To enable servicing through
interrupt, USB_INTERRUPT constant should be set (it is set by default in descriptor le).