void Core2ForAWS_PMU_Init(uint16_t ldo2_volt, uint16_t ldo3_volt, uint16_t dc2_volt, uint16_t dc3_volt);
void Core2ForAWS_PMU_Init(uint16_t ldo2_volt, uint16_t ldo3_volt, uint16_t dc2_volt, uint16_t dc3_volt)
Initializes the AXP192 Power Management Unit (PMU).
Definition: core2forAWS.c:178
Initializes the AXP192 Power Management Unit (PMU).
Used to directly initialize the AXP192 LDO2, LDO3, DC2, and DC3 pins.
- Note
- The Core2ForAWS_Init() calls this function with parameters to initialize the vibration motor and display backlight. If the ILI9342u display hardware feature is enabled, it sets the brightness to ~55% brightness. The vibration motor is always initialized in the off state.
- Parameters
-
| [in] | ldo2_volt | low-dropout voltage of the display. |
| [in] | ldo3_volt | low-dropout voltage of the vibration motor. |
| [in] | dc2_volt | voltage of the vibration motor. |
| [in] | dc3_volt | voltage of the display. |