/* Checks if a bus off or bus heavy situation occurred.  */
bool CanIsBusError(void)
/* Checks if a bus off or bus heavy situation occurred.  */
bool CanIsBusError(void)
{
  bool result = false;
  assert(canIfPtr != NULL);
  if (canIfPtr != NULL)
  {
    if (canConnected)
    {
      result = canIfPtr->IsBusError();
    }
  }
  return result;
}