Mems Initialization and management. More...
Go to the source code of this file.
Functions | |
| void | MEMS_GetPosition (coord_t *pX, coord_t *pY) |
| void | MEMS_GetRotation (Rotate_H12_V_Match_TypeDef *pH12) |
| void | MEMS_SetNeutral (void) |
| tMEMS_Info * | MEMS_GetInfo (void) |
Definition in file mems_spe.c.
| tMEMS_Info* MEMS_GetInfo | ( | void | ) |
Return the current MEMS information (state, absolute position...).
Definition at line 588 of file mems_spe.c.
| void MEMS_GetPosition | ( | coord_t * | pX, | |
| coord_t * | 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. |
Definition at line 508 of file mems_spe.c.
| void MEMS_GetRotation | ( | Rotate_H12_V_Match_TypeDef * | pH12 | ) |
Returns current screen orientation.
| [out] | pH12 | Current screen orientation. |
Definition at line 527 of file mems_spe.c.
| void MEMS_SetNeutral | ( | void | ) |
Set current position as "neutral position".
Definition at line 569 of file mems_spe.c.