Merge branch 'bugfix/update_naming_style_for_mpi_power_related_api' into 'master'

fix(hal): updated naming style for power up and down api for mpi peripheral

See merge request espressif/esp-idf!31693
This commit is contained in:
Mahavir Jain
2024-07-05 14:29:58 +08:00
9 changed files with 18 additions and 18 deletions

View File

@@ -47,14 +47,14 @@ static inline size_t mpi_ll_calculate_hardware_words(size_t words)
return words;
}
static inline void mpi_ll_clear_power_control_bit(void)
static inline void mpi_ll_power_up(void)
{
/* Power up the MPI peripheral */
REG_CLR_BIT(PCR_RSA_PD_CTRL_REG, PCR_RSA_MEM_PD);
REG_CLR_BIT(PCR_RSA_PD_CTRL_REG, PCR_RSA_MEM_FORCE_PD);
}
static inline void mpi_ll_set_power_control_bit(void)
static inline void mpi_ll_power_down(void)
{
/* Power down the MPI peripheral */
REG_CLR_BIT(PCR_RSA_PD_CTRL_REG, PCR_RSA_MEM_FORCE_PU);