mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 03:00:34 +03:00
feat(ldo): Add ldo support for psram on esp32s31
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
/*
|
||||
* SPDX-FileCopyrightText: 2026 Espressif Systems (Shanghai) CO LTD
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief Configuration for PSRAM domain LDO supply initialization
|
||||
*/
|
||||
typedef struct {
|
||||
uint32_t voltage_mv; /*!< PSRAM supply voltage in mV */
|
||||
} esp_psram_power_cfg_t;
|
||||
|
||||
/**
|
||||
* @brief Initialize the PSRAM supply (LDO voltage and power switch)
|
||||
*
|
||||
* @param config Configuration for the PSRAM supply
|
||||
*/
|
||||
void esp_psram_power_init(const esp_psram_power_cfg_t *config);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
Reference in New Issue
Block a user