![](/media/cache/profiles/5f14615696649541a025d3d0f8e0447f.jpg.50x50_q85.jpg)
JBBoardに接続したモーター2つをRCBControllerでコントロールするテストです。
Dependencies: FatFileSystem TB6612FNG2 mbed
Fork of JBB_BTLE_Test by
uvc/usb_itd.h@0:1ed23ab1345f, 2012-06-26 (annotated)
- Committer:
- va009039
- Date:
- Tue Jun 26 14:27:45 2012 +0000
- Revision:
- 0:1ed23ab1345f
fix overflow spp_service_buffer
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
va009039 | 0:1ed23ab1345f | 1 | #ifndef USB_ITD_H |
va009039 | 0:1ed23ab1345f | 2 | #define USB_ITD_H |
va009039 | 0:1ed23ab1345f | 3 | #include "UsbInc.h" |
va009039 | 0:1ed23ab1345f | 4 | #include "usb_mem.h" |
va009039 | 0:1ed23ab1345f | 5 | |
va009039 | 0:1ed23ab1345f | 6 | class usb_itd { |
va009039 | 0:1ed23ab1345f | 7 | public: |
va009039 | 0:1ed23ab1345f | 8 | usb_itd(HCITD* itd); |
va009039 | 0:1ed23ab1345f | 9 | bool Done(); |
va009039 | 0:1ed23ab1345f | 10 | int ConditionCode(); |
va009039 | 0:1ed23ab1345f | 11 | int FrameCount(); |
va009039 | 0:1ed23ab1345f | 12 | int PacketStatus(int n); |
va009039 | 0:1ed23ab1345f | 13 | int Length(int n); |
va009039 | 0:1ed23ab1345f | 14 | uint8_t* BufferPage(int n, int size); |
va009039 | 0:1ed23ab1345f | 15 | uint16_t StartingFrame(); |
va009039 | 0:1ed23ab1345f | 16 | void free(); |
va009039 | 0:1ed23ab1345f | 17 | void debug(); |
va009039 | 0:1ed23ab1345f | 18 | private: |
va009039 | 0:1ed23ab1345f | 19 | uint16_t get_psw(int n); |
va009039 | 0:1ed23ab1345f | 20 | HCITD* m_itd; |
va009039 | 0:1ed23ab1345f | 21 | }; |
va009039 | 0:1ed23ab1345f | 22 | |
va009039 | 0:1ed23ab1345f | 23 | #endif //USB_ITD_H |