// // Created by cfif on 27.09.22. // #ifndef POWERMANAGEMENT_H #define POWERMANAGEMENT_H #include "SerialPorts.h" #include "stdint.h" #include "GpioPin.h" typedef struct { tGpioPin pwrkey; tGpioPin reset; tGpioPin pwr_en; tGpioPin pwr_mon; } tSIM7682EPower; typedef struct { tGpioPin reset; tGpioPin pwr_en; tGpioPin ppc_mcu; } tSIM68Power; typedef struct { } tPower; typedef struct { tSIM7682EPower *SIM7682EPower; tSIM68Power *SIM68Power; tPower *Power; } tPowerManagement; void Pwm_Init( tPowerManagement *env, tPower *Power, tSIM7682EPower *SIM7682EPower, tSIM68Power *SIM68Power ); void Pwm_Power(tPowerManagement *env); void Pwm_SIM7682EStartup(tPowerManagement *env); void Pwm_SIM68Startup(tPowerManagement *env); #endif //POWERMANAGEMENT_H