hsk-libs-dev  270
High Speed Karlsruhe XC878 library collection
Modules | Macros
Pulse Width Detection Units

This group of defines is used to select return format of hsk_pwc_channel_getValue(). More...

Modules

 Pulse Width Times
 The defines are for returning average pulse width.
 
 Pulse Frequencies
 These defines are for returning average frequencies.
 
 Pulse Duty Times
 These defines are used for returning the duty time of the latest pulse.
 

Macros

#define PWC_UNIT_SUM_RAW   0
 Sum of buffered pulse widths in multiples of $ 1/48 * 10^{-6} s $. More...
 

Detailed Description

This group of defines is used to select return format of hsk_pwc_channel_getValue().

Macro Definition Documentation

§ PWC_UNIT_SUM_RAW

#define PWC_UNIT_SUM_RAW   0

Sum of buffered pulse widths in multiples of $ 1/48 * 10^{-6} s $.

This is the sum of the buffered values, not the average.

Use this if precision is of the utmost importance.