embkernel
 All Classes Functions Variables Typedefs Groups Pages
UsbInCallback.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_IN_CALLBACK_HPP_
7 #define USB_IN_CALLBACK_HPP_
8 
9 #include <stdint.h>
10 
11 class UsbInCallback {
12  friend class UsbDevice;
13 protected:
14  virtual void onDataInFree(uint8_t ep, uint16_t len)=0;
15 };
16 
17 #endif /* USB_IN_CALLBACK_HPP_ */