PF1550 Driver
API reference
Loading...
Searching...
No Matches
Public Attributes | List of all members
pf1550::RailDiagnostics Struct Reference

Per-rail status snapshot (latched + live + control byte). More...

#include <pf1550_diagnostics.hpp>

Public Attributes

uint8_t ctrl_reg {0}
 Raw SWn_CTRL, LDOn_CTRL or (VSNVS) VSNVS_CTRL byte.
 
uint8_t volt_reg {0}
 Raw voltage register byte (RUN mode); 0 for VSNVS, which has none.
 
uint16_t set_voltage_mv {0}
 Decoded target voltage in mV.
 
bool enabled_run {false}
 EN bit set.
 
bool enabled_stby {false}
 STBY_EN bit set.
 
bool stat_latched {false}
 Any latched fault on this rail since last clear.
 
bool sense_live {false}
 Live current-limit / fault sense bit set.
 

Detailed Description

Per-rail status snapshot (latched + live + control byte).

Member Data Documentation

◆ ctrl_reg

uint8_t pf1550::RailDiagnostics::ctrl_reg {0}

Raw SWn_CTRL, LDOn_CTRL or (VSNVS) VSNVS_CTRL byte.

◆ enabled_run

bool pf1550::RailDiagnostics::enabled_run {false}

EN bit set.

◆ enabled_stby

bool pf1550::RailDiagnostics::enabled_stby {false}

STBY_EN bit set.

◆ sense_live

bool pf1550::RailDiagnostics::sense_live {false}

Live current-limit / fault sense bit set.

◆ set_voltage_mv

uint16_t pf1550::RailDiagnostics::set_voltage_mv {0}

Decoded target voltage in mV.

◆ stat_latched

bool pf1550::RailDiagnostics::stat_latched {false}

Any latched fault on this rail since last clear.

◆ volt_reg

uint8_t pf1550::RailDiagnostics::volt_reg {0}

Raw voltage register byte (RUN mode); 0 for VSNVS, which has none.


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