MHZ19::PwmReader::Pulse Union Reference
Used internally to measure a high/low pulse pair. More...
#include <PwmReader.h>
Collaboration diagram for MHZ19::PwmReader::Pulse:
Public Member Functions | |
uint16_t | getCycleTime () const |
bool | isValid () const |
uint16_t | calculatePpm (DetectionRange range) |
Public Attributes | |
struct { | |
uint16_t low | |
uint16_t high | |
}; | |
uint32_t | value |
Detailed Description
Used internally to measure a high/low pulse pair.
Member Function Documentation
◆ calculatePpm()
|
inline |
◆ getCycleTime()
|
inline |
◆ isValid()
|
inline |
Member Data Documentation
◆ @89
struct { ... } |
◆ high
uint16_t MHZ19::PwmReader::Pulse::high |
◆ low
uint16_t MHZ19::PwmReader::Pulse::low |
◆ value
uint32_t MHZ19::PwmReader::Pulse::value |
The documentation for this union was generated from the following file: