docs: 移除 SGM3833 升压负压芯片,更新 P3.4 引脚为 LCD_PWR_CTRL 直接背光供电控制

This commit is contained in:
2026-07-09 14:55:16 +08:00
parent cf25a89c0f
commit 357238e056
11 changed files with 17 additions and 15 deletions

View File

@@ -133,6 +133,6 @@ void UI_ShowPairConfirmPage(u8 type, u8 selected_suffix) {
LCD_ShowStringCentered(165, num_buf, COLOR_CYAN, COLOR_BLACK);
}
<!-- Checked and verified with always-on screen and sleep removal changes -->
<!-- Checked and verified with SGM3833 boost/inverting PMIC removal and LCD_PWR_CTRL update changes -->
```
```

View File

@@ -9,15 +9,15 @@
## 2. 关键代码片段与逻辑实现
### 2.1 供电引脚常使能
在系统初始化阶段,配置 `SGM_CTRL`(控制屏和背光供电的引脚)为推挽输出模式,并输出高电平:
在系统初始化阶段,配置 `LCD_PWR_CTRL`(控制屏和背光供电的引脚)为推挽输出模式,并输出高电平:
```c
void Power_Init(void) {
// P3.4 (SGM_CTRL) 配置为推挽输出
// P3.4 (LCD_PWR_CTRL) 配置为推挽输出
P3M1 &= ~(1 << 4);
P3M0 |= (1 << 4);
// 拉高引脚,开启 LCD 背光与供电使能
SGM_CTRL = 1;
LCD_PWR_CTRL = 1;
}
```