summaryrefslogtreecommitdiff
path: root/brnkl_motion.api
blob: ad4262ab46a643104b375e60a524c291b5c8efe8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
DEFINE N_CHANGE_BLOCKS = 200;

FUNCTION le_result_t getSuddenImpact(
  double x [N_CHANGE_BLOCKS] OUT,
  double y [N_CHANGE_BLOCKS] OUT,
  double z [N_CHANGE_BLOCKS] OUT,
  uint64 timestamps[N_CHANGE_BLOCKS] OUT
);
FUNCTION le_result_t getCurrentAcceleration(
  double x OUT,
  double y OUT,
  double z OUT
);