embkernel
 All Classes Functions Variables Typedefs Groups Pages
UsbOutCallback.hpp
1 //------------------------------------------------------------------------------
2 //This file is part of milkLib.
3 //See license.txt for the full license governing this code.
4 //------------------------------------------------------------------------------
5 
6 #ifndef USB_OUT_CALLBACK_HPP_
7 #define USB_OUT_CALLBACK_HPP_
8 
9 #include <stdint.h>
10 #include "UsbDefs.hpp"
11 
12 class UsbOutCallback {
13  friend class UsbDevice;
14 protected:
15  virtual int onDataOut(UsbDefs::PKT* pkt)=0;
16 };
17 
18 #endif /* USB_OUT_CALLBACK_HPP_ */