![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
fork
Fork of LG by
Diff: vibro.h
- Revision:
- 124:9ae09249f842
- Parent:
- 122:fbacb932a30b
- Child:
- 127:6a7472d67804
diff -r 6dd1df6230e9 -r 9ae09249f842 vibro.h --- a/vibro.h Thu Apr 07 20:16:24 2016 +0000 +++ b/vibro.h Fri Apr 08 14:20:35 2016 +0000 @@ -19,11 +19,23 @@ extern int tempAMP; typedef struct _Gyro { - unsigned int OutMode; - #define Rate1 0x1<<0 - #define Rate2 0x1<<1 - #define Delta500 0x1<<2 - #define DeltaEXT 0x1<<3 + unsigned int ModeOut; + unsigned int Rate1_Flag; + unsigned int Rate1_Event; + unsigned int Rate2_Flag; + unsigned int Rate2_Event; + #define Rate1 0x01 + #define Rate2 0x02 + #define PRate1 0x81 + #define PRate2 0x82 + + + unsigned int DeltaEXT_Event; + unsigned int Delta500_Event; + #define Delta_500 0x0 + #define PDelta_500 0x80 + #define Delta_EXT 0x10 + #define PDelta_EXT 0x90 unsigned int RgConA; unsigned int RgConB;