/* Enables or disables the specified SAI Block peripheral.  */
void SAI_Cmd(SAI_Block_TypeDef *SAI_Block_x, FunctionalState NewState)
/* Enables or disables the specified SAI Block peripheral.  */
void SAI_Cmd(SAI_Block_TypeDef *SAI_Block_x, FunctionalState NewState)
{
  assert_param(IS_SAI_BLOCK_PERIPH(SAI_Block_x));
  assert_param(IS_FUNCTIONAL_STATE(NewState));
  if (NewState != DISABLE)
  {
    SAI_Block_x->CR1 |= SAI_xCR1_SAIEN;
  }
  else
  {
    SAI_Block_x->CR1 &= ~(SAI_xCR1_SAIEN);
  }
}