FreeRTOS port on GAP8/RISC-V
|
Data Structures | |
struct | pmu_state_t |
Macros | |
#define | PMU_MAX_LV_FREQUENCY |
#define | PMU_MAX_NV_FREQUENCY |
Functions | |
void | pi_pmu_init () |
Initializes the PMU. More... | |
int | pi_pmu_voltage_set (uint32_t voltage, uint32_t frequency_check) |
Set PUM voltage and check frequency at the same time . More... | |
void | pi_pmu_deinit (int retentive, int wakeup_state) |
De-Initializes and shut down the PMU. More... | |
void | pi_pmu_mram_poweron (void) |
void | pi_pmu_mram_poweroff (void) |
#define PMU_MAX_LV_FREQUENCY |
#define PMU_MAX_NV_FREQUENCY |
void pi_pmu_deinit | ( | int | retentive, |
int | wakeup_state | ||
) |
This function
void pi_pmu_init | ( | ) |
This function
References ARCHI_FREQ_INIT, FLL_ID_FC, FLL_ID_PERIPH, g_pmu_domain_state, hal_itc_mask_set(), hal_pmu_irq_flag_clear(), hal_pmu_irq_mask_set(), pi_fll_init(), PI_PMU_CHIP_ID, PI_PMU_STATE_ON, and POWER_MANAGER_DLCPD_IFR_SCU_OK_F.
Referenced by system_init().
void pi_pmu_mram_poweroff | ( | void | ) |
void pi_pmu_mram_poweron | ( | void | ) |
int pi_pmu_voltage_set | ( | uint32_t | voltage, |
uint32_t | frequency_check | ||
) |
This function