refactor(rng): use adc_ll apis for ESP32-h4 and refactor rng_ll_enable/disable

This commit is contained in:
gaoxu
2026-05-26 19:02:41 +08:00
parent ad310ce681
commit 43317018d1
38 changed files with 533 additions and 418 deletions
@@ -19,6 +19,15 @@ static inline uint32_t rng_ll_read_data(void)
return REG_READ(LPPERI_RNG_DATA_SYNC_REG);
}
/* For compatibility. */
static inline void rng_ll_enable(void)
{
}
static inline void rng_ll_disable(void)
{
}
#ifdef __cplusplus
}
#endif