Functions | |
| void | MEMS_GetPosition (s16 *pX, s16 *pY) |
| void | MEMS_GetRotation (Rotate_H12_V_Match_TypeDef *pH12) |
| void | MEMS_SetNeutral (void) |
| tMEMS_Info * | MEMS_GetInfo (void) |
| tMEMS_Info* MEMS_GetInfo | ( | void | ) |
| void MEMS_GetPosition | ( | s16 * | pX, | |
| s16 * | pY | |||
| ) |
Returns the current (relative) position of the Primer. Only X-Y axis are considered here.
| [out] | pX | Current horizontal coordinate. |
| [out] | pY | Current vertical coordinate. |
| void MEMS_GetRotation | ( | Rotate_H12_V_Match_TypeDef * | pH12 | ) |
Returns current screen orientation.
| [out] | pH12 | Current screen orientation. |
| void MEMS_SetNeutral | ( | void | ) |
Set current position as "neutral position".