| 281 | } |
| 282 | |
| 283 | void AXP192::SetSleep(void) { |
| 284 | Write1Byte(0x31, Read8bit(0x31) | (1 << 3)); |
| 285 | Write1Byte(0x90, 0x00); // GPIO0 voltage 0 |
| 286 | Write1Byte(0x12, 0x09); // CDC1, LDO3 |
| 287 | Write1Byte(0x12, Read8bit(0x12) & 0xA1); // Disable all outputs but DCDC1 |
| 288 | } |
| 289 | |
| 290 | void AXP192::WakeUpDisplayAfterLightSleep(void) { |
| 291 | // LDO2 is LCD Backlight |
nothing calls this directly
no outgoing calls
no test coverage detected