usb-core.h

00001 #ifndef __USB_CORE_H__YIKJDA7S1X__
00002 #define __USB_CORE_H__YIKJDA7S1X__
00003 
00004 #include <stdint.h>
00005 
00006 struct USB_request_st usb_setup_buffer;
00007 
00008 void
00009 usb_send_ctrl_response(const uint8_t *data, unsigned int len);
00010 
00011 void
00012 usb_error_stall();
00013 
00014 void
00015 usb_send_ctrl_status();
00016 
00017 typedef void (*usb_ctrl_data_callback)(uint8_t *data, unsigned int length);
00018 
00019 void
00020 usb_get_ctrl_data(uint8_t *data, unsigned int length,
00021                   usb_ctrl_data_callback cb);
00022 
00023 #endif /* __USB_CORE_H__YIKJDA7S1X__ */

Generated on Mon Apr 11 14:23:35 2011 for Contiki 2.5 by  doxygen 1.6.1