/* Returns the status of EN bit for the specified SAI Block x.  */
FunctionalState SAI_GetCmdStatus(SAI_Block_TypeDef *SAI_Block_x)
/* Returns the status of EN bit for the specified SAI Block x.  */
FunctionalState SAI_GetCmdStatus(SAI_Block_TypeDef *SAI_Block_x)
{
  FunctionalState state = DISABLE;
  assert_param(IS_SAI_BLOCK_PERIPH(SAI_Block_x));
  if ((SAI_Block_x->CR1 & (uint32_t)SAI_xCR1_SAIEN) != 0)
  {
    state = ENABLE;
  }
  else
  {
    state = DISABLE;
  }
  return state;
}