osxMotionCP Software Library: Middlewares/ST/STM32_OSX_MotionCP_Library/Inc/osx_motion_cp.h File Reference

osxMotionCP

osxMotionCP Software Library
osxMotionCP Software Library Documentation
osx_motion_cp.h File Reference
#include <stdint.h>

Go to the source code of this file.

Data Structures

struct  osx_MCP_input_t
 

Enumerations

enum  osx_MCP_output_t {
  OSX_MCP_UNKNOWN = 0x00, OSX_MCP_ONDESK = 0x01, OSX_MCP_INHAND = 0x02, OSX_MCP_NEARHEAD = 0x03,
  OSX_MCP_SHIRTPOCKET = 0x04, OSX_MCP_TROUSERPOCKET = 0x05, OSX_MCP_ARMSWING = 0x06
}
 
enum  osx_lm_result_t { OSX_FAILED = 0x00, OSX_SUCCESS = 0x01 }
 

Functions

uint8_t osx_MotionCP_Initialize (void)
 Initialize the MotionCP engine. More...
 
void osx_MotionCP_SetOrientation_Acc (const char *acc_orientation)
 Set the MotionCP Accelerometer data orientation. More...
 
osx_MCP_output_t osx_MotionCP_Update (osx_MCP_input_t *data_in)
 Run Carry Position Recognition Algorithm. More...
 
uint8_t osx_MotionCP_GetLibVersion (char *version)
 Get the library version. More...
 
Generated on Thu Oct 15 2015 15:17:20 for osxMotionCP Software Library by   doxygen 1.8.8