Example

Loading...
Searching...
No Matches
Functions
CPPGTimedData.h File Reference
`#include "Capsule/CDefinesPrivate.h"`
Include dependency graph for CPPGTimedData.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Functions
| CLC_STRUCT_WNN (PPGTimedData, clCPPGTimedData, cardio)
| Array of PPG data with timepoints.
CL_DLL int32_t | clCPPGTimedData_GetCount (clCPPGTimedData ppgTimedData) NOEXCEPT
| Get total number of PPG values.
CL_DLL float | clCPPGTimedData_GetValue (clCPPGTimedData ppgTimedData, int32_t index) NOEXCEPT
| Get PPG value by index.
CL_DLL uint64_t | clCPPGTimedData_GetTimepoint (clCPPGTimedData ppgTimedData, int32_t index) NOEXCEPT
| Get PPG time point by index.

## Function Documentation

## ◆ CLC_STRUCT_WNN()

CLC_STRUCT_WNN | ( | PPGTimedData | ,
|  | clCPPGTimedData | ,
|  | cardio |
| ) |  |

Array of PPG data with timepoints.

Contains samples of PPG sensor and their timestamps

## ◆ clCPPGTimedData_GetCount()

CL_DLL int32_t clCPPGTimedData_GetCount | ( | clCPPGTimedData | ppgTimedData | ) |

Get total number of PPG values.

Parameters

  ppgTimedData | PPG values

Returns
  number of values

## ◆ clCPPGTimedData_GetTimepoint()

CL_DLL uint64_t clCPPGTimedData_GetTimepoint | ( | clCPPGTimedData | ppgTimedData,
|  | int32_t | index
| ) |  |

Get PPG time point by index.

Parameters

  ppgTimedData | PPG values
  index | index

Returns
  time point in microseconds

## ◆ clCPPGTimedData_GetValue()

CL_DLL float clCPPGTimedData_GetValue | ( | clCPPGTimedData | ppgTimedData,
|  | int32_t | index
| ) |  |

Get PPG value by index.

Parameters

  ppgTimedData | PPG values
  index | index

Returns
  ppg value