3.1.1.2 DIAG_COMMON_SFRReset
Returns the status of the verification that SFR values have the correct default values after reset
DIAG_TEST_STATUS
DIAG_COMMON_SFRWriteRead
(
const SFR_PERIPH_TEST_DEF* periph,
uint32_t* results,
uint32_t results_size,
bool dump_regs
);
Operating Mode
- Interface can be used only at POST
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.
