Usb Hid Library - mikroElektronika PIC Microcontrollers PIC12 User Manual

Mikroc user's manual
Table of Contents

Advertisement

mikroC
making it simple...

USB HID Library

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.
Library Routines
Hid_Enable
Hid_Read
Hid_Write
Hid_Disable
Hid_Enable
Prototype
void Hid_Enable(unsigned *readbuff, unsigned *writebuff);
Description
Enables USB HID communication. Parameters
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);
MikroElektronika: Development tools - Books - Compilers
mikroC - C Compiler for Microchip PIC microcontrollers
readbuff
and
are the Read
writebuff
page
275

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the PIC Microcontrollers PIC12 and is the answer not in the manual?

This manual is also suitable for:

Pic microcontrollers pic16Pic microcontrollers pic18

Table of Contents