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

Power control (Tables 135 to 137). More...

#include <pf1550_config.hpp>

Public Attributes

bool apply {false}
 Write the fields below whose own write_... flag is set in Configure().
 
bool write_standby {false}
 Write standby_delay and standby_inverted.
 
StandbyDelay standby_delay {StandbyDelay::Cycles1}
 STANDBYDLY.
 
bool standby_inverted
 STANDBYINV: 1 = the STANDBY pin is active low (flips the state).
 
bool write_debounce {false}
 Write both debounce times.
 
Debounce pwron_debounce {Debounce::Ms31}
 PWRONDBNC.
 
Debounce onkey_debounce {Debounce::Ms31}
 ONKEYDBNC.
 
bool write_regscp {false}
 Write ldo_off_on_current_limit.
 
bool ldo_off_on_current_limit {false}
 REGSCPEN.
 
bool write_low_sys_warn {false}
 Write low_sys_warn.
 
LowSysWarn low_sys_warn {LowSysWarn::Mv3300}
 LOW_SYS_WARN.
 
bool write_reset_paths {false}
 Also write the next four fields; needs hard_reset_paths.
 
bool pwron_long_press_reset {false}
 PWRONRSTEN.
 
bool restart_on_long_press {false}
 RESTARTEN.
 
bool onkey_reset {true}
 ONKEY_RST_EN.
 
GlobalReset global_reset {GlobalReset::S4}
 TGRESET.
 
bool write_uvdet {false}
 Also write uvdet; needs undervoltage_threshold.
 
Uvdet uvdet {Uvdet::Mv2650}
 UVDET.
 

Detailed Description

Power control (Tables 135 to 137).

Member Data Documentation

◆ standby_inverted

bool pf1550::PowerConfig::standby_inverted
Initial value:
{
false}

STANDBYINV: 1 = the STANDBY pin is active low (flips the state).


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