usbpsu: xusb_freertos_class_keyboard.c File Reference

| usbpsu Xilinx SDK Drivers API Documentation

- Overview
- Data Structures
- APIs
- File List
- Examples

Functions
xusb_freertos_class_keyboard.c File Reference

## Overview

This file contains the implementation of the HID specific class code for the example.

      MODIFICATION HISTORY:

      Ver   Who  Date     Changes

      1.0   rb   22/03/18 First release

    *

## Functions
void | Usb_ClassReq_Keyboard (struct Usb_DevData *InstancePtr, SetupPacket *SetupData)
| This function is class handler for HID and is called when Setup packet received is for Class request(not a Standard Device request) More...
void | prvKeyboardTask (void *pvParameters)
| This task implements keyboard functionality. More...

## Function Documentation

void prvKeyboardTask | ( | void * | pvParameters | ) |

This task implements keyboard functionality.

task will get host and act accordingly

Parameters

  pvParameters | private parameters.

Note
  None.

void Usb_ClassReq_Keyboard | ( | struct Usb_DevData * | InstancePtr,
|  | SetupPacket * | SetupData
| ) |  |

This function is class handler for HID and is called when Setup packet received is for Class request(not a Standard Device request)

Parameters

  InstancePtr | is pointer to Usb_DevData instance.
  SetupData | is pointer to SetupPacket received.

Returns
  None

Note
  None.

References USB_CMD_CLASSREQ.