usb_hid_class.c File Reference

Pic Human Interface Device USB routines. More...

#include "config.h"
#include "pic_usb.h"
#include "pic_usb_buffer_mgt.h"
#include "pic_serial.h"
#include "usb_hid_class.h"
#include "memory.h"

Include dependency graph for usb_hid_class.c:

Go to the source code of this file.

Functions

void usb_handle_class_ctrl_read_callback ()
void usb_handle_class_ctrl_write_callback (uns8 *data, uns16 count)
void usb_handle_class_request_callback (setup_data_packet sdp)


Detailed Description

Human Interface Device USB routines

Ian Harris 2008 imharris [at] gmail.com

Released under the "do whatever you like with this but if it breaks, you get to keep both pieces" license

Definition in file usb_hid_class.c.


Function Documentation

void usb_handle_class_ctrl_read_callback (  ) 

Definition at line 29 of file usb_hid_class.c.

Referenced by usb_handle_transaction().

Here is the caller graph for this function:

void usb_handle_class_ctrl_write_callback ( uns8 *  data,
uns16  count 
)

Definition at line 32 of file usb_hid_class.c.

Referenced by usb_handle_transaction().

Here is the caller graph for this function:

void usb_handle_class_request_callback ( setup_data_packet  sdp  ) 

Definition at line 35 of file usb_hid_class.c.

References _setup_data_packet::bRequest, req_GET_IDLE, req_GET_PROTOCOL, req_GET_REPORT, req_SET_IDLE, req_SET_PROTOCOL, req_SET_REPORT, serial_print_int(), serial_print_str(), and usb_stall_ep0().

Referenced by usb_handle_transaction().

Here is the call graph for this function:

Here is the caller graph for this function:


Generated on Wed Dec 17 16:46:26 2008 for Pic Pack by  doxygen 1.5.7.1