Regulator driver for the regulators of the SF32LB52 PMUC.
More...
Regulator driver for the regulators of the SF32LB52 PMUC.
LDO18 supplies the memory in the package through VDD_SIP, on boards that do not supply that pin themselves. Disabled, it can pull its output down: a board whose own supply drives the pin leaves that off.
◆ pbl_sf32lb52_pmuc_regulator
| struct pbl_sf32lb52_pmuc_regulator |
◆ PBL_SF32LB52_PMUC_REGULATOR_DEFINE
| #define PBL_SF32LB52_PMUC_REGULATOR_DEFINE |
( |
|
sym, |
|
|
|
_name, |
|
|
|
_base, |
|
|
|
_id, |
|
|
|
_pull_down, |
|
|
|
_always_on |
|
) |
| |
Value:
.reg =
PBL_REGULATOR_INIT(sym, _name,
nullptr, &pbl_sf32lb52_pmuc_regulator_ops, _always_on), \
.base = (_base), .id = (_id), .pull_down = (_pull_down), \
}
SF32LB52 PMUC regulator.
Definition sf32lb52_pmuc.h:29
A power rail.
Definition regulator.h:48
#define PBL_REGULATOR_INIT(sym, _name, _parent, _ops, _always_on)
Initializer for the struct pbl_regulator of regulator sym.
Definition regulator.h:79
#define PBL_REGULATOR_STATE_DEFINE(sym)
Define the class state of regulator sym, for the PBL_*_REGULATOR_DEFINE() macro of a driver.
Definition regulator.h:65
Define an SF32LB52 PMUC regulator.
- Parameters
-
| sym | Symbol of the regulator. |
| _name | Name. |
| _base | PMUC base address. |
| _id | Which one, a pbl_sf32lb52_pmuc_regulator_id. |
| _pull_down | Pull the output down while disabled. |
| _always_on | Switched on at init and never off. |
◆ pbl_sf32lb52_pmuc_regulator_id
Regulators.
| Enumerator |
|---|
| PBL_SF32LB52_PMUC_LDO18 | 1.8 V LDO of the package memory.
|