mirror of
https://github.com/espressif/esp-idf.git
synced 2025-10-02 18:10:57 +02:00
feat(axi_icm): support esp32-p4 rev3.0
This commit is contained in:
@@ -24,6 +24,7 @@ PROVIDE ( AXI_ICM_QOS = 0x500A4400 );
|
|||||||
PROVIDE ( HP_PERI_PMS = 0x500A5000 );
|
PROVIDE ( HP_PERI_PMS = 0x500A5000 );
|
||||||
PROVIDE ( LP2HP_PERI_PMS = 0x500A5800 );
|
PROVIDE ( LP2HP_PERI_PMS = 0x500A5800 );
|
||||||
PROVIDE ( DMA_PMS = 0x500A6000 );
|
PROVIDE ( DMA_PMS = 0x500A6000 );
|
||||||
|
PROVIDE ( AXI_PERF_MON = 0x500A8000 );
|
||||||
PROVIDE ( LEDC = 0x500D3000 );
|
PROVIDE ( LEDC = 0x500D3000 );
|
||||||
PROVIDE ( LEDC_GAMMA_RAM = 0x500D3400 );
|
PROVIDE ( LEDC_GAMMA_RAM = 0x500D3400 );
|
||||||
PROVIDE ( TIMERG0 = 0x500C2000 );
|
PROVIDE ( TIMERG0 = 0x500C2000 );
|
||||||
|
@@ -144,12 +144,12 @@ typedef struct {
|
|||||||
volatile icm_axi_hw_cfg_reg_reg_t hw_cfg_reg;
|
volatile icm_axi_hw_cfg_reg_reg_t hw_cfg_reg;
|
||||||
volatile icm_axi_cmd_reg_t cmd;
|
volatile icm_axi_cmd_reg_t cmd;
|
||||||
volatile icm_axi_data_reg_t data;
|
volatile icm_axi_data_reg_t data;
|
||||||
} icm_axi_dev_t;
|
} axi_icm_qos_dev_t;
|
||||||
|
|
||||||
extern icm_axi_dev_t ICM_SYS;
|
extern axi_icm_qos_dev_t AXI_ICM_QOS;
|
||||||
|
|
||||||
#ifndef __cplusplus
|
#ifndef __cplusplus
|
||||||
_Static_assert(sizeof(icm_axi_dev_t) == 0x10, "Invalid size of icm_axi_dev_t structure");
|
_Static_assert(sizeof(axi_icm_qos_dev_t) == 0x10, "Invalid size of axi_icm_qos_dev_t structure");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
@@ -508,12 +508,12 @@ typedef struct {
|
|||||||
volatile icm_rdn_eco_cs_reg_t rdn_eco_cs;
|
volatile icm_rdn_eco_cs_reg_t rdn_eco_cs;
|
||||||
volatile icm_rdn_eco_low_reg_t rdn_eco_low;
|
volatile icm_rdn_eco_low_reg_t rdn_eco_low;
|
||||||
volatile icm_rdn_eco_high_reg_t rdn_eco_high;
|
volatile icm_rdn_eco_high_reg_t rdn_eco_high;
|
||||||
} icm_dev_t;
|
} axi_icm_dev_t;
|
||||||
|
|
||||||
extern icm_dev_t ICM_SYS;
|
extern axi_icm_dev_t AXI_ICM;
|
||||||
|
|
||||||
#ifndef __cplusplus
|
#ifndef __cplusplus
|
||||||
_Static_assert(sizeof(icm_dev_t) == 0x5c, "Invalid size of icm_dev_t structure");
|
_Static_assert(sizeof(axi_icm_dev_t) == 0x5c, "Invalid size of axi_icm_dev_t structure");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
Reference in New Issue
Block a user