Abl-electronic PIC Microcontrollers PIC16 Manuel d'utilisateur Page 283

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 312
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 282
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
275
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
Vue de la page 282
1 2 ... 278 279 280 281 282 283 284 285 286 287 288 ... 311 312

Commentaires sur ces manuels

Pas de commentaire