Embedded Xinu Operating System
An ongoing research project and educational operating system.
 All Data Structures Files Functions Variables Typedefs Enumerations Macros Groups Pages
Functions | Variables
usbKbdInit.c File Reference
#include <usb_core_driver.h>
#include <usbkbd.h>

Functions

devcall usbKbdInit (device *devptr)
 

Variables

struct usbkbd usbkbds [NUSBKBD]
 

Function Documentation

devcall usbKbdInit ( device *  devptr)

Initializes the specified USB keyboard.

This actually only prepares the corresponding keyboard structure for use and does not depend on a physical keyboard being attached. The physical keyboard is recognized only when it is attached, and any read requests to the device will block until that point.

Variable Documentation

struct usbkbd usbkbds[NUSBKBD]

Table of USB keyboard control blocks