ARMEBS4  revision-26.06.2015
ram_test.h
Go to the documentation of this file.
1 /**
2  * \file heivs/ram_test.h
3  * \brief RAM test
4  * \author marc dot pignat at hevs dot ch
5  * \ingroup libheivs_stm32_misc
6  * @{
7  ***************************************************************************/
8 #ifndef HEIVS_RAM_TEST_H
9 #define HEIVS_RAM_TEST_H
10 
11 #ifdef __cplusplus
12  extern "C" {
13 #endif
14 
15 #include <stdint.h>
16 #include <stddef.h>
17 #include "heivs/error.h"
18 
19 /**
20  * \brief Quickly test a RAM region
21  *
22  * \param base the base address where the RAM is mapped
23  * \param size the size of the RAM region
24  *
25  * This is a very basic test.
26  */
27 status_e ram_test_basic(uint32_t *base, size_t size);
28 
29 #ifdef __cplusplus
30  }
31 #endif
32 
33 /**
34  * @}
35  */
36 #endif /* HEIVS_RAM_TEST_H */
Errors definitions.
status_e ram_test_basic(uint32_t *base, size_t size)
Quickly test a RAM region.
Definition: ram_test.c:8
status_e
Known errors.
Definition: error.h:21