|
MAX22200 Driver 0.1.0
API reference
|
The plunger-movement detection settings, CFG_DPM (global, for every channel with ChannelConfig::plunger_detect). DpmConfig{} is all zero.
More...
#include <max22200_types.hpp>
Public Attributes | |
| uint8_t | start {0} |
DPM_ISTART, 0 to 127: ISTART = code x IFS / 127 (DpmCurrentCode()). | |
| uint8_t | debounce {0} |
DPM_TDEB, 0 to 15: chopping periods (DebounceUs()). | |
| uint8_t | threshold {0} |
| DPM_IPTH, 0 to 15: dip threshold = code x IFS / 127. | |
Friends | |
| constexpr bool | operator== (const DpmConfig &lhs, const DpmConfig &rhs) noexcept=default |
The plunger-movement detection settings, CFG_DPM (global, for every channel with ChannelConfig::plunger_detect). DpmConfig{} is all zero.
| lhs | The first value. |
| rhs | The value to compare it with. |
lhs equals rhs's.