mirror of
https://github.com/espressif/esp-idf.git
synced 2025-10-09 22:21:10 +00:00
feat(ldo): add ldo regulator driver for public use
This commit is contained in:
@@ -18,7 +18,6 @@
|
||||
#include "hal/assert.h"
|
||||
#include "soc/pmu_struct.h"
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
@@ -28,6 +27,11 @@ extern "C" {
|
||||
*/
|
||||
#define LDO_LL_UNIT_NUM 4
|
||||
|
||||
#define LDO_LL_ADJUSTABLE_CHAN_MASK 0x0F // all the 4 channels can be adjustable
|
||||
|
||||
#define LDO_LL_MAX_VOLTAGE_MV 3300
|
||||
#define LDO_LL_MIN_VOLTAGE_MV 500
|
||||
|
||||
/**
|
||||
* LDO LL macros, these macros are in the unit of mV
|
||||
*/
|
||||
|
Reference in New Issue
Block a user