5.3.1 Functions

  • static diag_result_t Checkerboard_Global (void)

    This function runs the Checkerboard algorithm on the seven RAM addresses used to run the rest of the Checkerboard test.

  • static void DIAG_SRAM_CheckerboardStoreInFSR1 (void)

    This function stores DIAG_CheckerboardStartAddress into FSR1.

  • static void DIAG_SRAM_CheckerboardSave (void)

    This function saves the context of the SRAM test variables.

  • static void DIAG_SRAM_CheckerboardRestore (void)

    This function restores the context of the SRAM test variables.

  • static void DIAG_SRAM_RestoreFSR1x (void)

    This function re-stores DIAG_CheckerboardStartAddress into FSR1.

  • diag_result_t DIAG_SRAM_Checkerboard (uint16_t startAddress, uint8_t length, uint16_t bufferAddress)

    The Checkerboard RAM test writes the checkerboard patterns to a sequence of adjacent memory locations. This test is performed in units (memory chunks) of four bytes. This is a non-destructive memory test. This test performs the following major tasks: