MAX22200 Driver 0.1.0
API reference
Loading...
Searching...
No Matches
Public Attributes | Friends | List of all members
max22200::DpmConfig Struct 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
 

Detailed Description

The plunger-movement detection settings, CFG_DPM (global, for every channel with ChannelConfig::plunger_detect). DpmConfig{} is all zero.

Friends And Related Symbol Documentation

◆ operator==

constexpr bool operator== ( const DpmConfig &  lhs,
const DpmConfig &  rhs 
)
friend
Parameters
lhsThe first value.
rhsThe value to compare it with.
Returns
true when every field of lhs equals rhs's.

The documentation for this struct was generated from the following file: