/* Enables or disables the specified SAI Block interrupts.  */
void SAI_ITConfig(SAI_Block_TypeDef *SAI_Block_x, uint32_t SAI_IT, FunctionalState NewState)
/* Enables or disables the specified SAI Block interrupts.  */
void SAI_ITConfig(SAI_Block_TypeDef *SAI_Block_x, uint32_t SAI_IT, FunctionalState NewState)
{
  assert_param(IS_SAI_BLOCK_PERIPH(SAI_Block_x));
  assert_param(IS_FUNCTIONAL_STATE(NewState));
  assert_param(IS_SAI_BLOCK_CONFIG_IT(SAI_IT));
  if (NewState != DISABLE)
  {
    SAI_Block_x->IMR |= SAI_IT;
  }
  else
  {
    SAI_Block_x->IMR &= ~(SAI_IT);
  }
}