osxMotionGR Software Library: Middlewares/ST/STM32_OSX_MotionGR_Library/Inc/osx_motion_gr.h Source File

osxMotionGR

osxMotionGR Software Library
osxMotionGR Software Library Documentation
osx_motion_gr.h
Go to the documentation of this file.
1 
44 /* Define to prevent recursive inclusion -------------------------------------*/
45 #ifndef _OSX_MOTION_GR_H_
46 #define _OSX_MOTION_GR_H_
47 
48 #ifdef __cplusplus
49 extern "C" {
50 #endif
51 
52 /* Includes ------------------------------------------------------------------*/
53 #include "stdint.h"
54 
63 /* Exported types ------------------------------------------------------------*/
67 /* Exported types ------------------------------------------------------------*/
68  typedef struct
69 {
70  float AccX; /* acc x axes [g] */
71  float AccY; /* acc y axes [g] */
72  float AccZ; /* acc z axes [g] */
74 
75 
76 typedef enum
77 {
83 
84 
89 /* Exported constants --------------------------------------------------------*/
90 /* Exported variables --------------------------------------------------------*/
91 /* Exported macro ------------------------------------------------------------*/
95 /* Exported functions ------------------------------------------------------- */
96 
102 uint8_t osx_MotionGR_Initialize(void);
103 
104 
110 void osx_MotionGR_SetOrientation_Acc(const char *acc_orientation);
111 
112 
119 
125 uint8_t osx_MotionGR_GetLibVersion(char *version);
126 
127 
140 #ifdef __cplusplus
141 }
142 #endif
143 
144 #endif /* _OSX_MOTION_GR_H_ */
145 
146 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
uint8_t osx_MotionGR_Initialize(void)
Initialize the MotionGR engine.
osx_MGR_output_t osx_MotionGR_Update(osx_MGR_input_t *data_in)
Run Gesture Recognition Algorithm.
uint8_t osx_MotionGR_GetLibVersion(char *version)
Get the library version.
void osx_MotionGR_SetOrientation_Acc(const char *acc_orientation)
Set the MotionGR Accelerometer data orientation.
osx_MGR_output_t
Definition: osx_motion_gr.h:76
Generated on Tue Jan 19 2016 10:38:09 for osxMotionGR Software Library by   doxygen 1.8.9.1