|
HF-MAX22200 Driver 0.1.0-dev
HF-MAX22200 C++ Driver
|
DPM (Detection of Plunger Movement) algorithm configuration. More...
#include <max22200_types.hpp>
Public Member Functions | |
| DpmConfig () | |
| uint32_t | toRegister () const |
| void | fromRegister (uint32_t val) |
| uint8_t | getPlungerMovementStartCurrent () const |
| uint8_t | getPlungerMovementDebounceTime () const |
| uint8_t | getPlungerMovementCurrentThreshold () const |
Public Attributes | |
| uint8_t | plunger_movement_start_current |
| DPM_ISTART (0-127) — starting current for dip search. | |
| uint8_t | plunger_movement_debounce_time |
| DPM_TDEB (0-15) — min dip duration in chopping periods. | |
| uint8_t | plunger_movement_current_threshold |
| DPM_IPTH (0-15) — min dip amplitude threshold. | |
DPM (Detection of Plunger Movement) algorithm configuration.
Maps to the CFG_DPM register (0x0A). Settings are global and apply to all channels that have DPM_EN set. See datasheet "Detection of Plunger Movement Register Description (CFG_DPM)".
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| uint8_t max22200::DpmConfig::plunger_movement_current_threshold |
DPM_IPTH (0-15) — min dip amplitude threshold.
| uint8_t max22200::DpmConfig::plunger_movement_debounce_time |
DPM_TDEB (0-15) — min dip duration in chopping periods.
| uint8_t max22200::DpmConfig::plunger_movement_start_current |
DPM_ISTART (0-127) — starting current for dip search.