void Core2ForAWS_Init(void)
Initializes the power chip with default values, enables battery charging, and initializes all enabled...
Definition: core2forAWS.c:32
Initializes the power chip with default values, enables battery charging, and initializes all enabled hardware features.
At minimum, this helper function initializes the AXP192 power management unit (PMU) with the green LED and vibration motor off, as well as initializing the following features (if enabled):
- Display — initializes the SPI bus, also powers the controller and backlight to ~50% brightness.
- The touch controller via the FT6336U.
- Virtual left, middle, right buttons using the touch controller.
- The SK6812 side LED bars.
- The 6-axis IMU via the MPU6886.
- The real-time clock via the BM8563 features.