3.1.1.3 DIAG_COMMON_SFRWriteRead
Returns the status of the SFR_WRITE_READ diagnostic
DIAG_TEST_STATUS
DIAG_COMMON_SFRWriteRead
(
const SFR_PERIPH_TEST_DEF* periph,
uint32_t* results,
uint32_t results_size,
bool dump_regs
);
Operating Mode
- Function can run at POST and OnDemand if the peripheral is not currently used.
Precondition
- none
Parameters
- periph - pointer to structure specifying the test to be run
- reg_results - optional array of results
- results_size - size of results array
- dump_regs
Returns
- DIAG_TEST_PASSED if no faults were found, otherwise, DIAG_TEST_FAILED.
