1.28.1.2 ACC_StatusGet Function

C

bool ACC_StatusGet (ACC_STATUS_SOURCE status);

Summary

Returns comparison status of the ACC

Description

This function returns the current comparison status based on input parameter either comparison edge or synchronized comparator output of ACC module.

Precondition

None.

Parameters

status Data structure of type ACC_STATUS_SOURCE which has the list of elements of Comparison status.

Returns

Returns the comparison status based on input parameter.

Example

bool status;
status = ACC_StatusGet(ACC_STATUS_SOURCE_COMPARATOR_OUTPUT);
if (status)
{
    // Application related tasks
}

Remarks

None.