mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-15 06:26:49 +00:00
Merge branch 'bugfix/c5_mpi_ecc_power_mode_v5.2' into 'release/v5.2'
fix(hal): correct mpi/ecc peripheral power up sequence for ESP32-C5 (v5.2) See merge request espressif/esp-idf!31863
This commit is contained in:
@@ -57,6 +57,9 @@ static inline void ecc_ll_reset_register(void)
|
||||
/// the critical section needs to declare the __DECLARE_RCC_ATOMIC_ENV variable in advance
|
||||
#define ecc_ll_reset_register(...) (void)__DECLARE_RCC_ATOMIC_ENV; ecc_ll_reset_register(__VA_ARGS__)
|
||||
|
||||
static inline void ecc_ll_power_up(void) {}
|
||||
static inline void ecc_ll_power_down(void) {}
|
||||
|
||||
static inline void ecc_ll_enable_interrupt(void)
|
||||
{
|
||||
REG_SET_FIELD(ECC_MULT_INT_ENA_REG, ECC_MULT_CALC_DONE_INT_ENA, 1);
|
||||
|
Reference in New Issue
Block a user