/* param base CMC peripheral base address. param mask Bitmap of the SRAM arrays to be powered off all modes.  */
void CMC_PowerOffSRAMAllMode(CMC_Type *base, uint32_t mask)
/* param base CMC peripheral base address. param mask Bitmap of the SRAM arrays to be powered off all modes.  */
void CMC_PowerOffSRAMAllMode(CMC_Type *base, uint32_t mask)
{
    uint32_t reg = base->SRAMDIS[0];
    reg &= ~CMC_SRAMDIS_DIS_MASK;
    reg |= CMC_SRAMDIS_DIS(mask);
    base->SRAMDIS[0] = reg;
}