3.2.18.1 DIAG_PAC_Protection

Returns the status of the PAC_PROTECTION diagnostic

This function verifies correct protection of PAC peripherals indication within the structure.

DIAG_TEST_STATUS 
DIAG_PAC_Protection
(
     pac_periphs_t * pac_periphs
);

Diagnostic verifies the following faults do not exist

  • Protection settings not propagated to the others IP

Operating Mode

  • Interface can be used at POST and ‘On Demand’
  • The following SFRS are not tested
    • Intflaga [RSTC, PAC]
    • Intflagb [MTB]
    • Intflagc [CAN0, CAN1, PTC]
    • Intflagahb [all]
Precondition
  • none

Parameters

  • void

Returns

  • DIAG_TEST_PASSED if no faults were found, otherwise, DIAG_TEST_FAILED.