/* Misc low power initializations. 
This function performs low power initializations that aren't specifically handled elsewhere. */
void am_hal_pwrctrl_low_power_init(void)
/* Misc low power initializations. 
This function performs low power initializations that aren't specifically handled elsewhere. */
void am_hal_pwrctrl_low_power_init(void)
{
    AM_REG(PWRCTRL, SRAMCTRL) |=
        AM_REG_PWRCTRL_SRAMCTRL_SRAM_MASTER_CLKGATE_EN  |
        AM_REG_PWRCTRL_SRAMCTRL_SRAM_CLKGATE_EN         |
        AM_REG_PWRCTRL_SRAMCTRL_SRAM_LIGHT_SLEEP_DIS;
    AM_REG(PWRCTRL, SUPPLYSRC) &=
        ~AM_REG_PWRCTRL_SUPPLYSRC_SWITCH_LDO_IN_SLEEP_M;
}