![]() |
nRF Connect SDK API 3.3.99
|
| #define ACCEL_TO_ANGLE_CTX_DEFINE | ( | _instance_name, | |
| _filter ) |
#include <include/accel_to_angle/accel_to_angle.h>
Define a context instance that is described by the accel_to_angle_ctx structure.
The macro defines an accel_to_angle_ctx context instance with the specified filter. The context instance must be defined, as all API functions of this library require it.
The filter pointer can be NULL if filtering is not required. Use the ACCEL_TO_ANGLE_FILTER_DEFINE macro to define the filter instance.
| _instance_name | Name of the accel_to_angle_ctx context instance. |
| _filter | Pointer to the filter instance described by the accel_to_angle_filter structure. |