change(hal): control PAU bus clock by hal layer

This commit is contained in:
wuzhenghui
2024-03-29 00:36:46 +08:00
parent 38fe4e136a
commit 4a64d2fe2c
15 changed files with 53 additions and 43 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ pau_context_t * __attribute__((weak)) IRAM_ATTR PAU_instance(void)
if (pau_hal.dev == NULL) {
pau_hal.dev = &PAU;
periph_module_enable(PERIPH_REGDMA_MODULE);
pau_hal_enable_bus_clock(true);
#if SOC_PAU_IN_TOP_DOMAIN
pau_hal_lp_sys_initialize();
#endif