|
PF1550 Driver 0.1.0
API 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. | |
Power control (Tables 135 to 137).
| bool pf1550::PowerConfig::standby_inverted |
STANDBYINV: 1 = the STANDBY pin is active low (flips the state).