| nRF5 SDK v12.0.0 |

Choose documentation: | nRF5 SDK | S130 SoftDevice API | S132 SoftDevice API | S212 SoftDevice API | S332 SoftDevice API

All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
Macros
Stride Based Speed and Distance Monitor profile utilities
Stride Based Speed and Distance Monitor profile

This module implements utilities for the Stride Based Speed and Distance Monitor profile. More...

## Macros
#define | ANT_SDM_TIME_UNIT_REVERSAL 200
#define | ANT_SDM_TIME_DISP_PRECISION 1000
#define | ANT_SDM_TIME_RESCALE(VALUE)
#define | ANT_SDM_DISTANCE_UNIT_REVERSAL 16
#define | ANT_SDM_DISTANCE_DISP_PRECISION 10
#define | ANT_SDM_DISTANCE_RESCALE(VALUE)
#define | ANT_SDM_SPEED_UNIT_REVERSAL 256
#define | ANT_SDM_SPEED_DISP_PRECISION 100
#define | ANT_SDM_SPEED_RESCALE(VALUE)
#define | ANT_SDM_UPDATE_LATENCY_UNIT_REVERSAL 32
#define | ANT_SDM_UPDATE_LATENCY_DISP_PRECISION 1000
#define | ANT_SDM_UPDATE_LATENCY_RESCALE(VALUE)
#define | ANT_SDM_CADENCE_UNIT_REVERSAL 16
#define | ANT_SDM_CADENCE_DISP_PRECISION 10
#define | ANT_SDM_CADENCE_RESCALE(VALUE)

## Detailed Description

This module implements utilities for the Stride Based Speed and Distance Monitor profile.

## Macro Definition Documentation

#define ANT_SDM_CADENCE_RESCALE | ( |  | VALUE | ) |

Value:
value_rescale((VALUE), ANT_SDM_CADENCE_UNIT_REVERSAL, \
ANT_SDM_CADENCE_DISP_PRECISION)

#define ANT_SDM_DISTANCE_RESCALE | ( |  | VALUE | ) |

Value:
value_rescale((VALUE), ANT_SDM_DISTANCE_UNIT_REVERSAL, \
ANT_SDM_DISTANCE_DISP_PRECISION)

#define ANT_SDM_SPEED_RESCALE | ( |  | VALUE | ) |

Value:
value_rescale((VALUE), ANT_SDM_SPEED_UNIT_REVERSAL, \
ANT_SDM_SPEED_DISP_PRECISION)

#define ANT_SDM_TIME_RESCALE | ( |  | VALUE | ) |

Value:
value_rescale((VALUE), ANT_SDM_TIME_UNIT_REVERSAL, \
ANT_SDM_TIME_DISP_PRECISION)

#define ANT_SDM_UPDATE_LATENCY_RESCALE | ( |  | VALUE | ) |

Value:
value_rescale((VALUE), ANT_SDM_UPDATE_LATENCY_UNIT_REVERSAL, \
ANT_SDM_UPDATE_LATENCY_DISP_PRECISION)