testcase WaitForBusIntegrationEvents()
{
long result;
resetCan();
result = TestWaitForBusIntegration(1, 10);
if(result == 1)
{
testStepPass("CAN1: TestWaitForBusIntegration event received in timeout time of 10 ms");
}
else
{
testStepFail("CAN1: TestWaitForBusIntegration event not received in timeout time of 10 ms");
}
result = TestWaitForBusIntegration(2, 10);
if(result == 1)
{
testStepPass("CAN2: TestWaitForBusIntegration event received in timeout time of 10 ms");
}
else
{
testStepFail("CAN2: TestWaitForBusIntegration event not received in timeout time of 10 ms");
}
}