/* param base CMC peripheral base address. param mask Bitmap of the SRAM arrays to be power off during low power mode only.  */
void CMC_PowerOffSRAMLowPowerOnly(CMC_Type *base, uint32_t mask)
/* param base CMC peripheral base address. param mask Bitmap of the SRAM arrays to be power off during low power mode only.  */
void CMC_PowerOffSRAMLowPowerOnly(CMC_Type *base, uint32_t mask)
{
    uint32_t reg = base->SRAMRET[0];
    reg &= ~CMC_SRAMRET_RET_MASK;
    reg |= CMC_SRAMRET_RET(mask);
    base->SRAMRET[0] = reg;
}