/* CMU low frequency register synchronization freeze control. 
Another usage scenario of this feature, is when using an API (such as the CMU API) for modifying several bit fields consecutively in the same register. If freeze mode is enabled during this sequence, stalling can be avoided. */
void CMU_FreezeEnable(bool enable)
/* CMU low frequency register synchronization freeze control. 
Another usage scenario of this feature, is when using an API (such as the CMU API) for modifying several bit fields consecutively in the same register. If freeze mode is enabled during this sequence, stalling can be avoided. */
void CMU_FreezeEnable(bool enable)
{
  if (enable)
  {
    while (CMU->SYNCBUSY)
      ;
    CMU->FREEZE = CMU_FREEZE_REGFREEZE;
  }
  else
  {
    CMU->FREEZE = 0;
  }
}