Callisto4Bootloader: test/c4_qspi_test.h File Reference

Callisto4Bootloader

Functions
c4_qspi_test.h File Reference
`#include "c4_error_codes.h"`
`#include <stdint.h>`

Go to the source code of this file.

## Functions

exit_code_t | QSPI_test (void)
| Run through a set of read and write tests on QSPI Flash. More...

## Detailed Description

Copyright
  2020 Remsdaq Ltd.

Date
  : 24 Jul 2020

Author
  : dsmit

Definition in file c4_qspi_test.h.

## Function Documentation

## ◆ QSPI_test()

exit_code_t QSPI_test | ( | void |  | ) |

Run through a set of read and write tests on QSPI Flash.

Returns
  exit code

Return values

  ERR_OK | All tests passed

Definition at line 89 of file c4_qspi_test.c.

References C4_FLASH_SECTOR_SIZE, C4_PRINT, C4_QSPI_erase(), C4_QSPI_init(), C4_QSPI_read(), C4_QSPI_write(), doReadTest(), doWriteTest(), FLASH_INITIALISED, FlexSPI_AMBA_BASE, _flexspi_nor_config::memConfig, _FlexSPIConfig::sflashA1Size, and sFlashConfig.