JBBoardに接続したモーター2つをRCBControllerでコントロールするテストです。
Dependencies: FatFileSystem TB6612FNG2 mbed
Fork of JBB_BTLE_Test by
uvc/usb_itd.h@7:3ed1e36587d4, 2014-05-12 (annotated)
- Committer:
- jksoft
- Date:
- Mon May 12 14:24:35 2014 +0000
- Revision:
- 7:3ed1e36587d4
- Parent:
- 0:1ed23ab1345f
First edition
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 |