ABL electronic PIC16 Personal Computer User Manual


 
Universal Serial Bus (USB) provides a serial bus standard for connecting a wide
variety of devices, including computers, cell phones, game consoles, PDAs, etc.
mikroC includes a library for working with human interface devices via Universal
Serial Bus. A human interface device or HID is a type of computer device that
interacts directly with and takes input from humans, such as the keyboard, mouse,
graphics tablet, and the like.
Hid_Enable
Hid_Read
Hid_Write
Hid_Disable
MikroElektronika:
Development
tools
-
Books
-
Compilers
27 5
page
mikroC
- C Compiler for Microchip PIC microcontrollers
mikroC
making it simple...
USB HID Library
Library Routines
Prototype
void Hid_Enable(unsigned *readbuff, unsigned *writebuff);
Description Enables USB HID communication. Parameters readbuff and writebuff are the Read
Buffer and the Write Buffer, respectively, which are used for HID communication.
This function needs to be called before using other routines of USB HID Library.
Example
Hid_Enable(&rd, &wr);
Hid_Enable