/* Checks whether the specified CAN interrupt has occurred or not.  */
ITStatus CAN_GetITStatus(CAN_TypeDef *can, u32 it)
/* Checks whether the specified CAN interrupt has occurred or not.  */
ITStatus CAN_GetITStatus(CAN_TypeDef *can, u32 it)
{
    return (ITStatus)((can->IR & it) != it) ? RESET : SET;
}