|
1 | 1 | /* |
2 | | - * SPDX-FileCopyrightText: 2022 Espressif Systems (Shanghai) CO LTD |
| 2 | + * SPDX-FileCopyrightText: 2022-2024 Espressif Systems (Shanghai) CO LTD |
3 | 3 | * |
4 | 4 | * SPDX-License-Identifier: Apache-2.0 |
5 | 5 | */ |
6 | | -#pragma once |
7 | 6 |
|
8 | | -#define PMU_ICG_APB_ENA_CAN0 18 |
9 | | -#define PMU_ICG_APB_ENA_CAN1 19 |
| 7 | +#pragma once |
| 8 | +#define PMU_ICG_APB_ENA_SEC 0 |
10 | 9 | #define PMU_ICG_APB_ENA_GDMA 1 |
11 | | -#define PMU_ICG_APB_ENA_I2C 13 |
12 | | -#define PMU_ICG_APB_ENA_I2S 4 |
| 10 | +#define PMU_ICG_APB_ENA_SPI2 2 |
13 | 11 | #define PMU_ICG_APB_ENA_INTMTX 3 |
14 | | -#define PMU_ICG_APB_ENA_IOMUX 26 |
15 | | -#define PMU_ICG_APB_ENA_LEDC 14 |
16 | | -#define PMU_ICG_APB_ENA_MEM_MONITOR 25 |
| 12 | +#define PMU_ICG_APB_ENA_I2S 4 |
17 | 13 | #define PMU_ICG_APB_ENA_MSPI 5 |
18 | | -#define PMU_ICG_APB_ENA_PARL 23 |
19 | | -#define PMU_ICG_APB_ENA_PCNT 20 |
20 | | -#define PMU_ICG_APB_ENA_PVT_MONITOR 27 |
21 | | -#define PMU_ICG_APB_ENA_PWM 21 |
22 | | -#define PMU_ICG_APB_ENA_REGDMA 24 |
23 | | -#define PMU_ICG_APB_ENA_RMT 15 |
24 | | -#define PMU_ICG_APB_ENA_SARADC 9 |
25 | | -#define PMU_ICG_APB_ENA_SEC 0 |
26 | | -#define PMU_ICG_APB_ENA_SOC_ETM 22 |
27 | | -#define PMU_ICG_APB_ENA_SPI2 2 |
28 | | -#define PMU_ICG_APB_ENA_SYSTIMER 16 |
29 | | -#define PMU_ICG_APB_ENA_TG0 11 |
30 | | -#define PMU_ICG_APB_ENA_TG1 12 |
31 | 14 | #define PMU_ICG_APB_ENA_UART0 6 |
32 | 15 | #define PMU_ICG_APB_ENA_UART1 7 |
33 | 16 | #define PMU_ICG_APB_ENA_UHCI 8 |
| 17 | +#define PMU_ICG_APB_ENA_SARADC 9 |
| 18 | +#define PMU_ICG_APB_ENA_TG0 11 |
| 19 | +#define PMU_ICG_APB_ENA_TG1 12 |
| 20 | +#define PMU_ICG_APB_ENA_I2C 13 |
| 21 | +#define PMU_ICG_APB_ENA_LEDC 14 |
| 22 | +#define PMU_ICG_APB_ENA_RMT 15 |
| 23 | +#define PMU_ICG_APB_ENA_SYSTIMER 16 |
34 | 24 | #define PMU_ICG_APB_ENA_USB_DEVICE 17 |
35 | | -#define PMU_ICG_FUNC_ENA_CAN0 31 |
36 | | -#define PMU_ICG_FUNC_ENA_CAN1 30 |
37 | | -#define PMU_ICG_FUNC_ENA_I2C 29 |
38 | | -#define PMU_ICG_FUNC_ENA_I2S_RX 2 |
39 | | -#define PMU_ICG_FUNC_ENA_I2S_TX 7 |
40 | | -#define PMU_ICG_FUNC_ENA_IOMUX 28 |
41 | | -#define PMU_ICG_FUNC_ENA_LEDC 27 |
42 | | -#define PMU_ICG_FUNC_ENA_MEM_MONITOR 10 |
43 | | -#define PMU_ICG_FUNC_ENA_MSPI 26 |
44 | | -#define PMU_ICG_FUNC_ENA_PARL_RX 25 |
45 | | -#define PMU_ICG_FUNC_ENA_PARL_TX 24 |
46 | | -#define PMU_ICG_FUNC_ENA_PVT_MONITOR 23 |
47 | | -#define PMU_ICG_FUNC_ENA_PWM 22 |
48 | | -#define PMU_ICG_FUNC_ENA_RMT 21 |
49 | | -#define PMU_ICG_FUNC_ENA_SARADC 20 |
50 | | -#define PMU_ICG_FUNC_ENA_SEC 19 |
| 25 | +#define PMU_ICG_APB_ENA_TWAI 18 |
| 26 | +#define PMU_ICG_APB_ENA_PCNT 20 |
| 27 | +#define PMU_ICG_APB_ENA_PWM 21 |
| 28 | +#define PMU_ICG_APB_ENA_SOC_ETM 22 |
| 29 | +#define PMU_ICG_APB_ENA_PARL 23 |
| 30 | +#define PMU_ICG_APB_ENA_REGDMA 24 |
| 31 | +#define PMU_ICG_APB_ENA_MEM_MONITOR 25 |
| 32 | +#define PMU_ICG_APB_ENA_IOMUX 26 |
| 33 | +#define PMU_ICG_APB_ENA_PVT_MONITOR 27 |
| 34 | +#define PMU_ICG_FUNC_ENA_GDMA 0 |
51 | 35 | #define PMU_ICG_FUNC_ENA_SPI2 1 |
52 | | -#define PMU_ICG_FUNC_ENA_SYSTIMER 18 |
53 | | -#define PMU_ICG_FUNC_ENA_TG0 14 |
54 | | -#define PMU_ICG_FUNC_ENA_TG1 13 |
55 | | -#define PMU_ICG_FUNC_ENA_TSENS 12 |
| 36 | +#define PMU_ICG_FUNC_ENA_I2S_RX 2 |
56 | 37 | #define PMU_ICG_FUNC_ENA_UART0 3 |
57 | 38 | #define PMU_ICG_FUNC_ENA_UART1 4 |
| 39 | +#define PMU_ICG_FUNC_ENA_UHCI 5 |
58 | 40 | #define PMU_ICG_FUNC_ENA_USB_DEVICE 6 |
59 | | -#define PMU_ICG_FUNC_ENA_GDMA 0 |
60 | | -#define PMU_ICG_FUNC_ENA_SOC_ETM 16 |
| 41 | +#define PMU_ICG_FUNC_ENA_I2S_TX 7 |
61 | 42 | #define PMU_ICG_FUNC_ENA_REGDMA 8 |
62 | | -#define PMU_ICG_FUNC_ENA_RETENTION 9 |
63 | | -#define PMU_ICG_FUNC_ENA_SDIO_SLAVE 11 |
64 | | -#define PMU_ICG_FUNC_ENA_UHCI 5 |
65 | | -#define PMU_ICG_FUNC_ENA_HPCORE 17 |
| 43 | +#define PMU_ICG_FUNC_ENA_MEM_MONITOR 10 |
| 44 | +#define PMU_ICG_FUNC_ENA_TSENS 12 |
| 45 | +#define PMU_ICG_FUNC_ENA_TG1 13 |
| 46 | +#define PMU_ICG_FUNC_ENA_TG0 14 |
66 | 47 | #define PMU_ICG_FUNC_ENA_HPBUS 15 |
| 48 | +#define PMU_ICG_FUNC_ENA_HPMEM 15 |
| 49 | +#define PMU_ICG_FUNC_ENA_SOC_ETM 16 |
| 50 | +#define PMU_ICG_FUNC_ENA_HPCORE 17 |
| 51 | +#define PMU_ICG_FUNC_ENA_SYSTIMER 18 |
| 52 | +#define PMU_ICG_FUNC_ENA_SEC 19 |
| 53 | +#define PMU_ICG_FUNC_ENA_SARADC 20 |
| 54 | +#define PMU_ICG_FUNC_ENA_RMT 21 |
| 55 | +#define PMU_ICG_FUNC_ENA_PWM 22 |
| 56 | +#define PMU_ICG_FUNC_ENA_PVT_MONITOR 23 |
| 57 | +#define PMU_ICG_FUNC_ENA_PARL_TX 24 |
| 58 | +#define PMU_ICG_FUNC_ENA_PARL_RX 25 |
| 59 | +#define PMU_ICG_FUNC_ENA_MSPI 26 |
| 60 | +#define PMU_ICG_FUNC_ENA_LEDC 27 |
| 61 | +#define PMU_ICG_FUNC_ENA_IOMUX 28 |
| 62 | +#define PMU_ICG_FUNC_ENA_I2C 29 |
| 63 | +#define PMU_ICG_FUNC_ENA_TWAI 31 |
0 commit comments