試作テストバージョン
Dependencies: BLE_API TB6612FNG mbed
Fork of BLE_RCBController2 by
RCBController.h@0:8c643bfe55b7, 2014-07-10 (annotated)
- Committer:
- jksoft
- Date:
- Thu Jul 10 14:21:52 2014 +0000
- Revision:
- 0:8c643bfe55b7
- Child:
- 1:48f6e08a3ac2
??
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
jksoft | 0:8c643bfe55b7 | 1 | typedef union |
jksoft | 0:8c643bfe55b7 | 2 | { |
jksoft | 0:8c643bfe55b7 | 3 | struct { |
jksoft | 0:8c643bfe55b7 | 4 | unsigned UP : 1; |
jksoft | 0:8c643bfe55b7 | 5 | unsigned DOWN : 1; |
jksoft | 0:8c643bfe55b7 | 6 | unsigned RIGHT : 1; |
jksoft | 0:8c643bfe55b7 | 7 | unsigned LEFT : 1; |
jksoft | 0:8c643bfe55b7 | 8 | unsigned Y : 1; |
jksoft | 0:8c643bfe55b7 | 9 | unsigned A : 1; |
jksoft | 0:8c643bfe55b7 | 10 | unsigned B : 1; |
jksoft | 0:8c643bfe55b7 | 11 | unsigned X : 1; |
jksoft | 0:8c643bfe55b7 | 12 | unsigned L1 : 1; |
jksoft | 0:8c643bfe55b7 | 13 | unsigned L2 : 1; |
jksoft | 0:8c643bfe55b7 | 14 | unsigned R1 : 1; |
jksoft | 0:8c643bfe55b7 | 15 | unsigned R2 : 1; |
jksoft | 0:8c643bfe55b7 | 16 | unsigned START : 1; |
jksoft | 0:8c643bfe55b7 | 17 | unsigned SERECT : 1; |
jksoft | 0:8c643bfe55b7 | 18 | unsigned space : 2; |
jksoft | 0:8c643bfe55b7 | 19 | unsigned LeftAnalogLR:8; |
jksoft | 0:8c643bfe55b7 | 20 | unsigned LeftAnalogUD:8; |
jksoft | 0:8c643bfe55b7 | 21 | unsigned RightAnalogLR:8; |
jksoft | 0:8c643bfe55b7 | 22 | unsigned RightAnalogUD:8; |
jksoft | 0:8c643bfe55b7 | 23 | unsigned AcceleX:8; |
jksoft | 0:8c643bfe55b7 | 24 | unsigned AcceleY:8; |
jksoft | 0:8c643bfe55b7 | 25 | unsigned AcceleZ:8; |
jksoft | 0:8c643bfe55b7 | 26 | unsigned DEV_DIR:4; |
jksoft | 0:8c643bfe55b7 | 27 | unsigned RIGHT_ANALOG:1; |
jksoft | 0:8c643bfe55b7 | 28 | unsigned LEFT_ANALOG:1; |
jksoft | 0:8c643bfe55b7 | 29 | unsigned ACCELE_SETTING:2; |
jksoft | 0:8c643bfe55b7 | 30 | }status; |
jksoft | 0:8c643bfe55b7 | 31 | unsigned char data[10]; |
jksoft | 0:8c643bfe55b7 | 32 | }RCBController; |