STATUS as read (ReadStatus()): the channels that are on and the seven flags.
More...
#include <max22200_types.hpp>
|
| constexpr bool | AnyFlag () const noexcept |
| |
|
|
uint8_t | on_mask {0} |
| | ONCH[7:0]: bit n = channel n on.
|
| |
|
bool | overtemperature {false} |
| | OVT (cleared by this read).
|
| |
|
bool | overcurrent {false} |
| | OCP: some channel has an OCP flag in FAULT.
|
| |
|
bool | open_load {false} |
| | OLF: some channel has an OLF flag in FAULT.
|
| |
|
bool | hit_not_reached {false} |
| | HHF: some channel has an HHF flag in FAULT.
|
| |
|
bool | plunger {false} |
| | DPM: some channel has a DPM flag in FAULT.
|
| |
|
bool | communication {false} |
| | COMER: a write was ignored for its clock count.
|
| |
|
bool | undervoltage {false} |
| | UVM: VM fell below UVLO (cleared by this read).
|
| |
|
bool | active {false} |
| | ACTIVE.
|
| |
|
uint32_t | raw {0} |
| | The whole register.
|
| |
STATUS as read (ReadStatus()): the channels that are on and the seven flags.
◆ AnyFlag()
| constexpr bool max22200::Status::AnyFlag |
( |
| ) |
const |
|
inlineconstexprnoexcept |
- Returns
- true when any of the seven flags is set.
The documentation for this struct was generated from the following file: