ModusToolbox Safety Test Library
Loading...
Searching...
No Matches

General Description

API Reference

 Test selection bitmask values

Functions

uint8_t SelfTest_IPC_PPCA (uint8_t testMask)
 Tests selected PPCA IPC channel/interrupt-structure pairs in loopback mode.
uint32_t SelfTest_IPC_PPCA_GetFailChannel (void)
 Returns the PPCA IPC channel index (0-3) of the first failure detected in the last SelfTest_IPC_PPCA() run.
uint32_t SelfTest_IPC_PPCA_GetFailIntr (void)
 Returns the PPCA IPC interrupt structure index (0-3) of the first failure detected in the last SelfTest_IPC_PPCA() run.
uint8_t SelfTest_IPC_PPCA_GetFailSubtest (void)
 Returns the sub-test number (1-14) of the first failure detected in the last SelfTest_IPC_PPCA() run.

Function Documentation

◆ SelfTest_IPC_PPCA()

uint8_t SelfTest_IPC_PPCA ( uint8_t testMask)

Tests selected PPCA IPC channel/interrupt-structure pairs in loopback mode.

Parameters
testMaskBitmask selecting which sub-test groups to execute. Use any combination of SELFTEST_IPC_PPCA_LOCK, SELFTEST_IPC_PPCA_DATA, SELFTEST_IPC_PPCA_NOTIFY, SELFTEST_IPC_PPCA_INTR, SELFTEST_IPC_PPCA_RELEASE_EVT, SELFTEST_IPC_PPCA_SILENT_REL, or SELFTEST_IPC_PPCA_ALL to run all groups.
Returns
OK_STATUS (0) - All selected groups passed
ERROR_STATUS (1) - No valid group selected, or a sub-test failed

◆ SelfTest_IPC_PPCA_GetFailChannel()

uint32_t SelfTest_IPC_PPCA_GetFailChannel ( void )

Returns the PPCA IPC channel index (0-3) of the first failure detected in the last SelfTest_IPC_PPCA() run.

Valid only when ERROR_STATUS was returned.

Returns
Channel index (0-3) of the failing channel.

◆ SelfTest_IPC_PPCA_GetFailIntr()

uint32_t SelfTest_IPC_PPCA_GetFailIntr ( void )

Returns the PPCA IPC interrupt structure index (0-3) of the first failure detected in the last SelfTest_IPC_PPCA() run.

Valid only when ERROR_STATUS was returned.

Returns
Interrupt structure index (0-3) of the failing interrupt.

◆ SelfTest_IPC_PPCA_GetFailSubtest()

uint8_t SelfTest_IPC_PPCA_GetFailSubtest ( void )

Returns the sub-test number (1-14) of the first failure detected in the last SelfTest_IPC_PPCA() run.

Valid only when ERROR_STATUS was returned. See PPCA IPC (PPCA IPC STL module) for the sub-test reference table.

Returns
Sub-test number (1-14) of the failing sub-test.