Mercurial > ~darius > hgwebdir.cgi > stm32temp
comparison libs/STM32F10x_StdPeriph_Lib_V3.5.0/Utilities/STM32_EVAL/STM3210E_EVAL/stm3210e_eval_fsmc_sram.h @ 0:c59513fd84fb
Initial commit of STM32 test code.
author | Daniel O'Connor <darius@dons.net.au> |
---|---|
date | Mon, 03 Oct 2011 21:19:15 +1030 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:c59513fd84fb |
---|---|
1 /** | |
2 ****************************************************************************** | |
3 * @file stm3210e_eval_fsmc_sram.h | |
4 * @author MCD Application Team | |
5 * @version V4.5.0 | |
6 * @date 07-March-2011 | |
7 * @brief This file contains all the functions prototypes for the | |
8 * stm3210e_eval_fsmc_sram firmware driver. | |
9 ****************************************************************************** | |
10 * @attention | |
11 * | |
12 * THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS | |
13 * WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE | |
14 * TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY | |
15 * DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING | |
16 * FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE | |
17 * CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS. | |
18 * | |
19 * <h2><center>© COPYRIGHT 2011 STMicroelectronics</center></h2> | |
20 ****************************************************************************** | |
21 */ | |
22 | |
23 /* Define to prevent recursive inclusion -------------------------------------*/ | |
24 #ifndef __STM3210E_EVAL_FSMC_SRAM_H | |
25 #define __STM3210E_EVAL_FSMC_SRAM_H | |
26 | |
27 #ifdef __cplusplus | |
28 extern "C" { | |
29 #endif | |
30 | |
31 /* Includes ------------------------------------------------------------------*/ | |
32 #include "stm32f10x.h" | |
33 | |
34 /** @addtogroup Utilities | |
35 * @{ | |
36 */ | |
37 | |
38 /** @addtogroup STM32_EVAL | |
39 * @{ | |
40 */ | |
41 | |
42 /** @addtogroup STM3210E_EVAL | |
43 * @{ | |
44 */ | |
45 | |
46 /** @addtogroup STM3210E_EVAL_FSMC_SRAM | |
47 * @{ | |
48 */ | |
49 | |
50 /** @defgroup STM3210E_EVAL_FSMC_SRAM_Exported_Types | |
51 * @{ | |
52 */ | |
53 /** | |
54 * @} | |
55 */ | |
56 | |
57 /** @defgroup STM3210E_EVAL_FSMC_SRAM_Exported_Constants | |
58 * @{ | |
59 */ | |
60 /** | |
61 * @} | |
62 */ | |
63 | |
64 /** @defgroup STM3210E_EVAL_FSMC_SRAM_Exported_Macros | |
65 * @{ | |
66 */ | |
67 /** | |
68 * @} | |
69 */ | |
70 | |
71 /** @defgroup STM3210E_EVAL_FSMC_SRAM_Exported_Functions | |
72 * @{ | |
73 */ | |
74 | |
75 void SRAM_Init(void); | |
76 void SRAM_WriteBuffer(uint16_t* pBuffer, uint32_t WriteAddr, uint32_t NumHalfwordToWrite); | |
77 void SRAM_ReadBuffer(uint16_t* pBuffer, uint32_t ReadAddr, uint32_t NumHalfwordToRead); | |
78 | |
79 #ifdef __cplusplus | |
80 } | |
81 #endif | |
82 | |
83 #endif /* __STM3210E_EVAL_FSMC_SRAM_H */ | |
84 /** | |
85 * @} | |
86 */ | |
87 | |
88 /** | |
89 * @} | |
90 */ | |
91 | |
92 /** | |
93 * @} | |
94 */ | |
95 | |
96 /** | |
97 * @} | |
98 */ | |
99 | |
100 /** | |
101 * @} | |
102 */ | |
103 | |
104 /******************* (C) COPYRIGHT 2011 STMicroelectronics *****END OF FILE****/ |