/* Checks whether the specified CEC interrupt has occurred or not.  */
ITStatus CEC_GetITStatus(uint16_t CEC_IT)
/* Checks whether the specified CEC interrupt has occurred or not.  */
ITStatus CEC_GetITStatus(uint16_t CEC_IT)
{
  ITStatus bitstatus = RESET;
  uint32_t enablestatus = 0;
  assert_param(IS_CEC_GET_IT(CEC_IT));
  enablestatus = (CEC->IER & CEC_IT);
  if (((CEC->ISR & CEC_IT) != (uint32_t)RESET) && enablestatus)
  {
    bitstatus = SET;
  }
  else
  {
    bitstatus = RESET;
  }
  return  bitstatus;
}