|
HF-MAX22200 Driver 0.1.0-dev
HF-MAX22200 C++ Driver
|
CFG_DPM register bit field definitions. More...
Variables | |
| constexpr uint32_t | DPM_ISTART_SHIFT = 8 |
| DPM_ISTART bit shift (bits 14:8) | |
| constexpr uint32_t | DPM_ISTART_MASK = (0x7Fu << 8) |
| DPM_ISTART mask (7-bit) | |
| constexpr uint32_t | DPM_TDEB_SHIFT = 4 |
| DPM_TDEB bit shift (bits 7:4) | |
| constexpr uint32_t | DPM_TDEB_MASK = (0x0Fu << 4) |
| DPM_TDEB mask (4-bit) | |
| constexpr uint32_t | DPM_IPTH_SHIFT = 0 |
| DPM_IPTH bit shift (bits 3:0) | |
| constexpr uint32_t | DPM_IPTH_MASK = 0x0Fu |
| DPM_IPTH mask (4-bit) | |
CFG_DPM register bit field definitions.
The CFG_DPM register configures the Detection of Plunger Movement (DPM) algorithm parameters. DPM settings are global and apply to all channels.
| Bits | Field | Description |
|---|---|---|
| 31:21 | RSVD | Reserved (write 0) |
| 20:16 | RSVD | Reserved (write 0) |
| 15 | RSVD | Reserved (write 0) |
| 14:8 | DPM_ISTART[6:0] | Starting current for DPM monitoring |
| 7:4 | DPM_TDEB[3:0] | DPM debounce time |
| 3:0 | DPM_IPTH[3:0] | DPM current dip threshold |
The DPM algorithm monitors current above ISTART until either:
A valid plunger movement is detected if:
If no valid dip is detected, a DPM fault is signaled (if DPM_EN is set for that channel and M_DPM is not masked).
DPM_IPTH mask (4-bit)
DPM_IPTH bit shift (bits 3:0)
DPM_ISTART mask (7-bit)
DPM_ISTART bit shift (bits 14:8)
DPM_TDEB mask (4-bit)
DPM_TDEB bit shift (bits 7:4)