6621PW部分IO口支持配置成1.8V,数据手册中能配置的IO口截图如下: 现举例说明使用方法 static void gpio_voltage_init(void) { //set 1.8v REGW(&HS_PMU->ANA_PD, MASK_1REG(PMU_ANA_PD_LDO_VDD18, 0)); //enable 37-42 gpio 1.8v REGW(&HS_PMU->ANA_PD_1, MASK_1REG(PMU_ENB_PSRAM_PWRSW, 2)); //enable 43-48 gpio 1.8v REGW(&HS_PMU->ANA_PD_1, MASK_1REG(PMU_ENB_AMOLED_PWRSW, 2)); } 2)在main函数调用 gpio_voltage_init();//set 1.8V |