osxMotionAR Software Library: Middlewares/ST/STM32_OSX_MotionAR_Library/Inc/osx_motion_ar.h Source File

osxMotionAR

osxMotionAR Software Library
osxMotionAR Software Library Documentation
osx_motion_ar.h
Go to the documentation of this file.
1 
44 /* Define to prevent recursive inclusion -------------------------------------*/
45 #ifndef _OSX_MOTION_AR_H_
46 #define _OSX_MOTION_AR_H_
47 
48 #ifdef __cplusplus
49 extern "C" {
50 #endif
51 
52 /* Includes ------------------------------------------------------------------*/
53 #include <stdint.h>
54 
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 typedef enum
76 {
85 
90 /* Exported constants --------------------------------------------------------*/
91 /* Exported variables --------------------------------------------------------*/
92 /* Exported macro ------------------------------------------------------------*/
93 
98 /* Exported functions ------------------------------------------------------- */
99 
100 
106 uint8_t osx_MotionAR_Initialize(void);
107 
108 
114 void osx_MotionAR_SetOrientation_Acc(const char *acc_orientation);
115 
116 
123 
129 uint8_t osx_MotionAR_GetLibVersion(char *version);
130 
131 
144 #ifdef __cplusplus
145 }
146 #endif
147 
148 #endif /* _OSX_MOTION_AR_H_ */
149 
150 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
osx_MAR_output_t osx_MotionAR_Update(osx_MAR_input_t *data_in)
Run Activity Recognition Algorithm.
void osx_MotionAR_SetOrientation_Acc(const char *acc_orientation)
Set the MotionAR Accelerometer data orientation.
uint8_t osx_MotionAR_GetLibVersion(char *version)
Get the library version.
osx_MAR_output_t
Definition: osx_motion_ar.h:75
uint8_t osx_MotionAR_Initialize(void)
Initialize the MotionAR engine.
Generated on Wed Apr 6 2016 13:07:45 for osxMotionAR Software Library by   doxygen 1.8.9.1