/* Controls peripheral clock gating in sleep and deep-sleep mode. */
void SysCtlPeripheralClockGating(bool bEnable)
/* Controls peripheral clock gating in sleep and deep-sleep mode. */
void SysCtlPeripheralClockGating(bool bEnable)
{
    if (bEnable)
    {
        HWREG(SYSCTL_RSCLKCFG) |= SYSCTL_RSCLKCFG_ACG;
    }
    else
    {
        HWREG(SYSCTL_RSCLKCFG) &= ~SYSCTL_RSCLKCFG_ACG;
    }
}