Abl-electronic PIC Microcontrollers PIC16 Manual do Utilizador Página 284

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 312
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 283
mikroC
- C Compiler for Microchip PIC microcontrollers
mikroC
making it simple...
276
MikroElektronika:
Development
tools
-
Books
-
Compilers
page
Prototype
unsigned short Hid_Read(void);
Returns Number of characters in Read Buffer received from Host.
Description Receives message from host and stores it in the Read Buffer. Function returns the num-
ber of characters received in Read Buffer.
Requires USB HID needs to be enabled before using this function. See Hid_Enable.
Example
get = Hid_Read();
Hid_Read
Prototype
void Hid_Write(unsigned *writebuff, unsigned short len);
Description Function sends data from wrbuff to host. Write Buffer is the same parameter as used in
initialization. Parameter len should specify a length of the data to be transmitted.
Requires USB HID needs to be enabled before using this function. See Hid_Enable.
Example
Hid_Write(&wr, len);
Hid_Write
Prototype
void Hid_Disable(void);
Description Disables USB HID communication.
Requires USB HID needs to be enabled before using this function. See Hid_Enable.
Example
Hid_Disable();
Hid_Disable
Vista de página 283
1 2 ... 279 280 281 282 283 284 285 286 287 288 289 ... 311 312

Comentários a estes Manuais

Sem comentários