hsk-libs-dev
270
High Speed Karlsruhe XC878 library collection
|
These defines are used for returning the duty time of the latest pulse. More...
Macros | |
#define | PWC_UNIT_DUTYH_RAW 8 |
Latest high pulse in multiples of . More... | |
#define | PWC_UNIT_DUTYH_NS 9 |
Latest high pulse in multiples of . More... | |
#define | PWC_UNIT_DUTYH_US 10 |
Latest high pulse in multiples of . More... | |
#define | PWC_UNIT_DUTYH_MS 11 |
Latest high pulse in multiples of . More... | |
#define | PWC_UNIT_DUTYL_RAW 12 |
Latest low pulse in multiples of . More... | |
#define | PWC_UNIT_DUTYL_NS 13 |
Latest low pulse in multiples of . More... | |
#define | PWC_UNIT_DUTYL_US 14 |
Latest low pulse in multiples of . More... | |
#define | PWC_UNIT_DUTYL_MS 15 |
Latest low pulse in multiples of . More... | |
These defines are used for returning the duty time of the latest pulse.
In order to use this return type, the channel buffer must hold at least 2 values. I.e. the averageOver argument of hsk_pwc_port_open() must be 2 or greater (there is no benefit to a value above 2).
To produce correct results the channel must also be in edge mode PWC_EDGE_BOTH.
#define PWC_UNIT_DUTYH_MS 11 |
Latest high pulse in multiples of .
#define PWC_UNIT_DUTYH_NS 9 |
Latest high pulse in multiples of .
#define PWC_UNIT_DUTYH_RAW 8 |
Latest high pulse in multiples of .
#define PWC_UNIT_DUTYH_US 10 |
Latest high pulse in multiples of .
#define PWC_UNIT_DUTYL_MS 15 |
Latest low pulse in multiples of .
#define PWC_UNIT_DUTYL_NS 13 |
Latest low pulse in multiples of .
#define PWC_UNIT_DUTYL_RAW 12 |
Latest low pulse in multiples of .
#define PWC_UNIT_DUTYL_US 14 |
Latest low pulse in multiples of .