MAX22200 Driver 0.1.0
API reference
Loading...
Searching...
No Matches
Public Attributes | Friends | List of all members
max22200::FaultMask Struct Reference

The fault masks, STATUS[23:17]: a masked fault does not pull FAULT low (its flag is still set). FaultMask{} is the reset value: only COMER masked. More...

#include <max22200_types.hpp>

Public Attributes

bool overtemperature {false}
 M_OVT.
 
bool overcurrent {false}
 M_OCP.
 
bool open_load {false}
 M_OLF.
 
bool hit_not_reached {false}
 M_HHF.
 
bool plunger {false}
 M_DPM.
 
bool communication {true}
 M_COMF; masked at reset.
 
bool undervoltage {false}
 M_UVM.
 

Friends

constexpr bool operator== (const FaultMask &lhs, const FaultMask &rhs) noexcept=default
 

Detailed Description

The fault masks, STATUS[23:17]: a masked fault does not pull FAULT low (its flag is still set). FaultMask{} is the reset value: only COMER masked.

Friends And Related Symbol Documentation

◆ operator==

constexpr bool operator== ( const FaultMask &  lhs,
const FaultMask &  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: