Bicycle Power profile utilities

nRF5 SDK v14.2.0

This module implements utilities for the Bicycle Power profile. More...

Macros

#define ANT_BPWR_TORQUE_PERIOD_UNIT_REVERSAL 2048
#define ANT_BPWR_TORQUE_PERIOD_DISP_PRECISION 1000
#define ANT_BPWR_TORQUE_PERIOD_RESCALE (VALUE)
#define ANT_BPWR_ACC_TORQUE_UNIT_REVERSAL 32
#define ANT_BPWR_ACC_TORQUE_DISP_PRECISION 10
#define ANT_BPWR_ACC_TORQUE_RESCALE (VALUE)

Detailed Description

This module implements utilities for the Bicycle Power profile.

Macro Definition Documentation

#define ANT_BPWR_ACC_TORQUE_RESCALE ( VALUE )
Value:
value_rescale ((VALUE), ANT_BPWR_ACC_TORQUE_UNIT_REVERSAL, \
ANT_BPWR_ACC_TORQUE_DISP_PRECISION)
#define ANT_BPWR_TORQUE_PERIOD_RESCALE ( VALUE )
Value:
value_rescale ((VALUE), ANT_BPWR_TORQUE_PERIOD_UNIT_REVERSAL, \
ANT_BPWR_TORQUE_PERIOD_DISP_PRECISION)