Gocator API

- Home
- Topics
- Types
- Files

All Classes Files Functions Variables Typedefs Macros Modules Pages

kSize GoAcceleratorMgr_AccelSensorCount | ( | GoAcceleratorMgr | manager | ) |

Get the number of sensors which the accelerator manager has been configured to accelerate.

The count includes sensors whose acceleration may have failed for whatever reason. This is a convenient interface to find out how many sensors have been configured without having to get the list of sensors. This count should match the number of successful calls to GoAcceleratorMgr_Accelerate() less successful calls to GoAcceleratorMgr_Decelerate().

Version
  Introduced in firmware 5.2.18.3

Parameters

  manager | GoAcceleratorMgr object.

Returns
  Number of sensors configured for acceleration.