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

Everything the driver writes. The constructor stores it with no I/O. More...

#include <pf1550_config.hpp>

Public Attributes

Limits limits {}
 Mandatory.
 
Acknowledgements ack {}
 Explicit downgrades.
 
ChargerConfig charger {}
 The charger.
 
BuckConfig sw1 {}
 Buck 1.
 
BuckConfig sw2 {}
 Buck 2.
 
BuckConfig sw3 {}
 Buck 3 (voltage read only).
 
LdoConfig ldo1 {}
 LDO1.
 
LdoConfig ldo2 {}
 LDO2.
 
LdoConfig ldo3 {}
 LDO3.
 
VrefDdrConfig vrefddr {}
 VREFDDR.
 
VsnvsConfig vsnvs {}
 VSNVS.
 
CoinCell coin {}
 Coin cell charger.
 
UsbPhyConfig usbphy {}
 USBPHY LDO.
 
LedConfig led {}
 LED.
 
PowerConfig power {}
 Power control.
 
PowerDownConfig power_down {}
 Power-down order.
 
bool apply_irq_mask {false}
 Write irq_mask in Configure().
 
IrqMask irq_mask {}
 
std::array< Rail, kRailCount > rail_order
 The order in which Configure() writes the rails: a buck that feeds an LDO goes first.
 
AsFoundPolicy as_found_policy
 What to do with an unsafe charger found on.
 

Detailed Description

Everything the driver writes. The constructor stores it with no I/O.

Member Data Documentation

◆ as_found_policy

AsFoundPolicy pf1550::Config::as_found_policy
Initial value:
{
@ Report
Return the error and write nothing (default).

What to do with an unsafe charger found on.

◆ irq_mask

IrqMask pf1550::Config::irq_mask {}

1 masks a source; default masks all.

◆ rail_order

std::array<Rail, kRailCount> pf1550::Config::rail_order
Initial value:
@ Ldo3
LDO3, 300 mA, load switch capable.
@ Sw2
Buck 2, 1.0 A, DVS.
@ VrefDdr
DDR reference, 10 mA, fixed voltage.
@ Sw3
Buck 3, 1.0 A, voltage read only.
@ Ldo2
LDO2, 400 mA.
@ Sw1
Buck 1, 1.0 A, DVS.
@ Ldo1
LDO1, 300 mA, load switch capable.

The order in which Configure() writes the rails: a buck that feeds an LDO goes first.


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