You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

stm32l1xx_ll_fsmc.h 19KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562
  1. /**
  2. ******************************************************************************
  3. * @file stm32l1xx_ll_fsmc.h
  4. * @author MCD Application Team
  5. * @brief Header file of FSMC HAL module.
  6. ******************************************************************************
  7. * @attention
  8. *
  9. * <h2><center>&copy; Copyright (c) 2017 STMicroelectronics.
  10. * All rights reserved.</center></h2>
  11. *
  12. * This software component is licensed by ST under BSD 3-Clause license,
  13. * the "License"; You may not use this file except in compliance with the
  14. * License. You may obtain a copy of the License at:
  15. * opensource.org/licenses/BSD-3-Clause
  16. *
  17. ******************************************************************************
  18. */
  19. /* Define to prevent recursive inclusion -------------------------------------*/
  20. #ifndef __STM32L1xx_LL_FSMC_H
  21. #define __STM32L1xx_LL_FSMC_H
  22. #ifdef __cplusplus
  23. extern "C" {
  24. #endif
  25. /* Includes ------------------------------------------------------------------*/
  26. #include "stm32l1xx_hal_def.h"
  27. /** @addtogroup STM32L1xx_HAL_Driver
  28. * @{
  29. */
  30. #if defined(FSMC_BANK1)
  31. /** @addtogroup FSMC_LL
  32. * @{
  33. */
  34. /** @addtogroup FSMC_LL_Private_Macros
  35. * @{
  36. */
  37. #define IS_FSMC_NORSRAM_BANK(__BANK__) (((__BANK__) == FSMC_NORSRAM_BANK1) || \
  38. ((__BANK__) == FSMC_NORSRAM_BANK2) || \
  39. ((__BANK__) == FSMC_NORSRAM_BANK3) || \
  40. ((__BANK__) == FSMC_NORSRAM_BANK4))
  41. #define IS_FSMC_MUX(__MUX__) (((__MUX__) == FSMC_DATA_ADDRESS_MUX_DISABLE) || \
  42. ((__MUX__) == FSMC_DATA_ADDRESS_MUX_ENABLE))
  43. #define IS_FSMC_MEMORY(__MEMORY__) (((__MEMORY__) == FSMC_MEMORY_TYPE_SRAM) || \
  44. ((__MEMORY__) == FSMC_MEMORY_TYPE_PSRAM)|| \
  45. ((__MEMORY__) == FSMC_MEMORY_TYPE_NOR))
  46. #define IS_FSMC_NORSRAM_MEMORY_WIDTH(__WIDTH__) (((__WIDTH__) == FSMC_NORSRAM_MEM_BUS_WIDTH_8) || \
  47. ((__WIDTH__) == FSMC_NORSRAM_MEM_BUS_WIDTH_16) || \
  48. ((__WIDTH__) == FSMC_NORSRAM_MEM_BUS_WIDTH_32))
  49. #define IS_FSMC_WRITE_BURST(__BURST__) (((__BURST__) == FSMC_WRITE_BURST_DISABLE) || \
  50. ((__BURST__) == FSMC_WRITE_BURST_ENABLE))
  51. #define IS_FSMC_ACCESS_MODE(__MODE__) (((__MODE__) == FSMC_ACCESS_MODE_A) || \
  52. ((__MODE__) == FSMC_ACCESS_MODE_B) || \
  53. ((__MODE__) == FSMC_ACCESS_MODE_C) || \
  54. ((__MODE__) == FSMC_ACCESS_MODE_D))
  55. /** @defgroup FSMC_NORSRAM_Device_Instance FSMC NOR/SRAM Device Instance
  56. * @{
  57. */
  58. #define IS_FSMC_NORSRAM_DEVICE(__INSTANCE__) ((__INSTANCE__) == FSMC_NORSRAM_DEVICE)
  59. /**
  60. * @}
  61. */
  62. /** @defgroup FSMC_NORSRAM_EXTENDED_Device_Instance FSMC NOR/SRAM EXTENDED Device Instance
  63. * @{
  64. */
  65. #define IS_FSMC_NORSRAM_EXTENDED_DEVICE(__INSTANCE__) ((__INSTANCE__) == FSMC_NORSRAM_EXTENDED_DEVICE)
  66. /**
  67. * @}
  68. */
  69. #define IS_FSMC_BURSTMODE(__STATE__) (((__STATE__) == FSMC_BURST_ACCESS_MODE_DISABLE) || \
  70. ((__STATE__) == FSMC_BURST_ACCESS_MODE_ENABLE))
  71. #define IS_FSMC_WAIT_POLARITY(__POLARITY__) (((__POLARITY__) == FSMC_WAIT_SIGNAL_POLARITY_LOW) || \
  72. ((__POLARITY__) == FSMC_WAIT_SIGNAL_POLARITY_HIGH))
  73. #define IS_FSMC_WRAP_MODE(__MODE__) (((__MODE__) == FSMC_WRAP_MODE_DISABLE) || \
  74. ((__MODE__) == FSMC_WRAP_MODE_ENABLE))
  75. #define IS_FSMC_WAIT_SIGNAL_ACTIVE(__ACTIVE__) (((__ACTIVE__) == FSMC_WAIT_TIMING_BEFORE_WS) || \
  76. ((__ACTIVE__) == FSMC_WAIT_TIMING_DURING_WS))
  77. #define IS_FSMC_WRITE_OPERATION(__OPERATION__) (((__OPERATION__) == FSMC_WRITE_OPERATION_DISABLE) || \
  78. ((__OPERATION__) == FSMC_WRITE_OPERATION_ENABLE))
  79. #define IS_FSMC_WAITE_SIGNAL(__SIGNAL__) (((__SIGNAL__) == FSMC_WAIT_SIGNAL_DISABLE) || \
  80. ((__SIGNAL__) == FSMC_WAIT_SIGNAL_ENABLE))
  81. #define IS_FSMC_EXTENDED_MODE(__MODE__) (((__MODE__) == FSMC_EXTENDED_MODE_DISABLE) || \
  82. ((__MODE__) == FSMC_EXTENDED_MODE_ENABLE))
  83. #define IS_FSMC_ASYNWAIT(__STATE__) (((__STATE__) == FSMC_ASYNCHRONOUS_WAIT_DISABLE) || \
  84. ((__STATE__) == FSMC_ASYNCHRONOUS_WAIT_ENABLE))
  85. #define IS_FSMC_CLK_DIV(__DIV__) (((__DIV__) > 1) && ((__DIV__) <= 16))
  86. /** @defgroup FSMC_Data_Latency FSMC Data Latency
  87. * @{
  88. */
  89. #define IS_FSMC_DATA_LATENCY(__LATENCY__) (((__LATENCY__) > 1) && ((__LATENCY__) <= 17))
  90. /**
  91. * @}
  92. */
  93. /** @defgroup FSMC_Address_Setup_Time FSMC Address Setup Time
  94. * @{
  95. */
  96. #define IS_FSMC_ADDRESS_SETUP_TIME(__TIME__) ((__TIME__) <= 15)
  97. /**
  98. * @}
  99. */
  100. /** @defgroup FSMC_Address_Hold_Time FSMC Address Hold Time
  101. * @{
  102. */
  103. #define IS_FSMC_ADDRESS_HOLD_TIME(__TIME__) (((__TIME__) > 0) && ((__TIME__) <= 15))
  104. /**
  105. * @}
  106. */
  107. /** @defgroup FSMC_Data_Setup_Time FSMC Data Setup Time
  108. * @{
  109. */
  110. #define IS_FSMC_DATASETUP_TIME(__TIME__) (((__TIME__) > 0) && ((__TIME__) <= 255))
  111. /**
  112. * @}
  113. */
  114. /** @defgroup FSMC_Bus_Turn_around_Duration FSMC Bus Turn around Duration
  115. * @{
  116. */
  117. #define IS_FSMC_TURNAROUND_TIME(__TIME__) ((__TIME__) <= 15)
  118. /**
  119. * @}
  120. */
  121. /**
  122. * @}
  123. */
  124. /* Exported typedef ----------------------------------------------------------*/
  125. /** @defgroup FSMC_NORSRAM_Exported_typedef FSMC Low Layer Exported Types
  126. * @{
  127. */
  128. #define FSMC_NORSRAM_TypeDef FSMC_Bank1_TypeDef
  129. #define FSMC_NORSRAM_EXTENDED_TypeDef FSMC_Bank1E_TypeDef
  130. #define FSMC_NORSRAM_DEVICE FSMC_Bank1
  131. #define FSMC_NORSRAM_EXTENDED_DEVICE FSMC_Bank1E
  132. /**
  133. * @brief FSMC_NORSRAM Configuration Structure definition
  134. */
  135. typedef struct
  136. {
  137. uint32_t NSBank; /*!< Specifies the NORSRAM memory device that will be used.
  138. This parameter can be a value of @ref FSMC_NORSRAM_Bank */
  139. uint32_t DataAddressMux; /*!< Specifies whether the address and data values are
  140. multiplexed on the data bus or not.
  141. This parameter can be a value of @ref FSMC_Data_Address_Bus_Multiplexing */
  142. uint32_t MemoryType; /*!< Specifies the type of external memory attached to
  143. the corresponding memory device.
  144. This parameter can be a value of @ref FSMC_Memory_Type */
  145. uint32_t MemoryDataWidth; /*!< Specifies the external memory device width.
  146. This parameter can be a value of @ref FSMC_NORSRAM_Data_Width */
  147. uint32_t BurstAccessMode; /*!< Enables or disables the burst access mode for Flash memory,
  148. valid only with synchronous burst Flash memories.
  149. This parameter can be a value of @ref FSMC_Burst_Access_Mode */
  150. uint32_t WaitSignalPolarity; /*!< Specifies the wait signal polarity, valid only when accessing
  151. the Flash memory in burst mode.
  152. This parameter can be a value of @ref FSMC_Wait_Signal_Polarity */
  153. uint32_t WrapMode; /*!< Enables or disables the Wrapped burst access mode for Flash
  154. memory, valid only when accessing Flash memories in burst mode.
  155. This parameter can be a value of @ref FSMC_Wrap_Mode */
  156. uint32_t WaitSignalActive; /*!< Specifies if the wait signal is asserted by the memory one
  157. clock cycle before the wait state or during the wait state,
  158. valid only when accessing memories in burst mode.
  159. This parameter can be a value of @ref FSMC_Wait_Timing */
  160. uint32_t WriteOperation; /*!< Enables or disables the write operation in the selected device by the FSMC.
  161. This parameter can be a value of @ref FSMC_Write_Operation */
  162. uint32_t WaitSignal; /*!< Enables or disables the wait state insertion via wait
  163. signal, valid for Flash memory access in burst mode.
  164. This parameter can be a value of @ref FSMC_Wait_Signal */
  165. uint32_t ExtendedMode; /*!< Enables or disables the extended mode.
  166. This parameter can be a value of @ref FSMC_Extended_Mode */
  167. uint32_t AsynchronousWait; /*!< Enables or disables wait signal during asynchronous transfers,
  168. valid only with asynchronous Flash memories.
  169. This parameter can be a value of @ref FSMC_AsynchronousWait */
  170. uint32_t WriteBurst; /*!< Enables or disables the write burst operation.
  171. This parameter can be a value of @ref FSMC_Write_Burst */
  172. }FSMC_NORSRAM_InitTypeDef;
  173. /**
  174. * @brief FSMC_NORSRAM Timing parameters structure definition
  175. */
  176. typedef struct
  177. {
  178. uint32_t AddressSetupTime; /*!< Defines the number of HCLK cycles to configure
  179. the duration of the address setup time.
  180. This parameter can be a value between Min_Data = 0 and Max_Data = 15.
  181. @note This parameter is not used with synchronous NOR Flash memories. */
  182. uint32_t AddressHoldTime; /*!< Defines the number of HCLK cycles to configure
  183. the duration of the address hold time.
  184. This parameter can be a value between Min_Data = 1 and Max_Data = 15.
  185. @note This parameter is not used with synchronous NOR Flash memories. */
  186. uint32_t DataSetupTime; /*!< Defines the number of HCLK cycles to configure
  187. the duration of the data setup time.
  188. This parameter can be a value between Min_Data = 1 and Max_Data = 255.
  189. @note This parameter is used for SRAMs, ROMs and asynchronous multiplexed
  190. NOR Flash memories. */
  191. uint32_t BusTurnAroundDuration; /*!< Defines the number of HCLK cycles to configure
  192. the duration of the bus turnaround.
  193. This parameter can be a value between Min_Data = 0 and Max_Data = 15.
  194. @note This parameter is only used for multiplexed NOR Flash memories. */
  195. uint32_t CLKDivision; /*!< Defines the period of CLK clock output signal, expressed in number of
  196. HCLK cycles. This parameter can be a value between Min_Data = 2 and Max_Data = 16.
  197. @note This parameter is not used for asynchronous NOR Flash, SRAM or ROM
  198. accesses. */
  199. uint32_t DataLatency; /*!< Defines the number of memory clock cycles to issue
  200. to the memory before getting the first data.
  201. The parameter value depends on the memory type as shown below:
  202. - It must be set to 0 in case of a CRAM
  203. - It is don't care in asynchronous NOR, SRAM or ROM accesses
  204. - It may assume a value between Min_Data = 2 and Max_Data = 17 in NOR Flash memories
  205. with synchronous burst mode enable */
  206. uint32_t AccessMode; /*!< Specifies the asynchronous access mode.
  207. This parameter can be a value of @ref FSMC_Access_Mode */
  208. }FSMC_NORSRAM_TimingTypeDef;
  209. /**
  210. * @}
  211. */
  212. /* Exported constants --------------------------------------------------------*/
  213. /** @defgroup FSMC_Exported_Constants FSMC Low Layer Exported Constants
  214. * @{
  215. */
  216. /** @defgroup FSMC_NORSRAM_Exported_constants FSMC NOR/SRAM Exported constants
  217. * @{
  218. */
  219. /** @defgroup FSMC_NORSRAM_Bank FSMC NOR/SRAM Bank
  220. * @{
  221. */
  222. #define FSMC_NORSRAM_BANK1 (0x00000000U)
  223. #define FSMC_NORSRAM_BANK2 (0x00000002U)
  224. #define FSMC_NORSRAM_BANK3 (0x00000004U)
  225. #define FSMC_NORSRAM_BANK4 (0x00000006U)
  226. /**
  227. * @}
  228. */
  229. /** @defgroup FSMC_Data_Address_Bus_Multiplexing FSMC Data Address Bus Multiplexing
  230. * @{
  231. */
  232. #define FSMC_DATA_ADDRESS_MUX_DISABLE (0x00000000U)
  233. #define FSMC_DATA_ADDRESS_MUX_ENABLE ((uint32_t)FSMC_BCRx_MUXEN)
  234. /**
  235. * @}
  236. */
  237. /** @defgroup FSMC_Memory_Type FSMC Memory Type
  238. * @{
  239. */
  240. #define FSMC_MEMORY_TYPE_SRAM (0x00000000U)
  241. #define FSMC_MEMORY_TYPE_PSRAM ((uint32_t)FSMC_BCRx_MTYP_0)
  242. #define FSMC_MEMORY_TYPE_NOR ((uint32_t)FSMC_BCRx_MTYP_1)
  243. /**
  244. * @}
  245. */
  246. /** @defgroup FSMC_NORSRAM_Data_Width FSMC NOR/SRAM Data Width
  247. * @{
  248. */
  249. #define FSMC_NORSRAM_MEM_BUS_WIDTH_8 (0x00000000U)
  250. #define FSMC_NORSRAM_MEM_BUS_WIDTH_16 ((uint32_t)FSMC_BCRx_MWID_0)
  251. #define FSMC_NORSRAM_MEM_BUS_WIDTH_32 ((uint32_t)FSMC_BCRx_MWID_1)
  252. /**
  253. * @}
  254. */
  255. /** @defgroup FSMC_NORSRAM_Flash_Access FSMC NOR/SRAM Flash Access
  256. * @{
  257. */
  258. #define FSMC_NORSRAM_FLASH_ACCESS_ENABLE ((uint32_t)FSMC_BCRx_FACCEN)
  259. #define FSMC_NORSRAM_FLASH_ACCESS_DISABLE (0x00000000U)
  260. /**
  261. * @}
  262. */
  263. /** @defgroup FSMC_Burst_Access_Mode FSMC Burst Access Mode
  264. * @{
  265. */
  266. #define FSMC_BURST_ACCESS_MODE_DISABLE (0x00000000U)
  267. #define FSMC_BURST_ACCESS_MODE_ENABLE ((uint32_t)FSMC_BCRx_BURSTEN)
  268. /**
  269. * @}
  270. */
  271. /** @defgroup FSMC_Wait_Signal_Polarity FSMC Wait Signal Polarity
  272. * @{
  273. */
  274. #define FSMC_WAIT_SIGNAL_POLARITY_LOW (0x00000000U)
  275. #define FSMC_WAIT_SIGNAL_POLARITY_HIGH ((uint32_t)FSMC_BCRx_WAITPOL)
  276. /**
  277. * @}
  278. */
  279. /** @defgroup FSMC_Wrap_Mode FSMC Wrap Mode
  280. * @{
  281. */
  282. #define FSMC_WRAP_MODE_DISABLE (0x00000000U)
  283. #define FSMC_WRAP_MODE_ENABLE ((uint32_t)FSMC_BCRx_WRAPMOD)
  284. /**
  285. * @}
  286. */
  287. /** @defgroup FSMC_Wait_Timing FSMC Wait Timing
  288. * @{
  289. */
  290. #define FSMC_WAIT_TIMING_BEFORE_WS (0x00000000U)
  291. #define FSMC_WAIT_TIMING_DURING_WS ((uint32_t)FSMC_BCRx_WAITCFG)
  292. /**
  293. * @}
  294. */
  295. /** @defgroup FSMC_Write_Operation FSMC Write Operation
  296. * @{
  297. */
  298. #define FSMC_WRITE_OPERATION_DISABLE (0x00000000U)
  299. #define FSMC_WRITE_OPERATION_ENABLE ((uint32_t)FSMC_BCRx_WREN)
  300. /**
  301. * @}
  302. */
  303. /** @defgroup FSMC_Wait_Signal FSMC Wait Signal
  304. * @{
  305. */
  306. #define FSMC_WAIT_SIGNAL_DISABLE (0x00000000U)
  307. #define FSMC_WAIT_SIGNAL_ENABLE ((uint32_t)FSMC_BCRx_WAITEN)
  308. /**
  309. * @}
  310. */
  311. /** @defgroup FSMC_Extended_Mode FSMC Extended Mode
  312. * @{
  313. */
  314. #define FSMC_EXTENDED_MODE_DISABLE (0x00000000U)
  315. #define FSMC_EXTENDED_MODE_ENABLE ((uint32_t)FSMC_BCRx_EXTMOD)
  316. /**
  317. * @}
  318. */
  319. /** @defgroup FSMC_AsynchronousWait FSMC Asynchronous Wait
  320. * @{
  321. */
  322. #define FSMC_ASYNCHRONOUS_WAIT_DISABLE (0x00000000U)
  323. #define FSMC_ASYNCHRONOUS_WAIT_ENABLE ((uint32_t)FSMC_BCRx_ASYNCWAIT)
  324. /**
  325. * @}
  326. */
  327. /** @defgroup FSMC_Write_Burst FSMC Write Burst
  328. * @{
  329. */
  330. #define FSMC_WRITE_BURST_DISABLE (0x00000000U)
  331. #define FSMC_WRITE_BURST_ENABLE ((uint32_t)FSMC_BCRx_CBURSTRW)
  332. /**
  333. * @}
  334. */
  335. /** @defgroup FSMC_Access_Mode FSMC Access Mode
  336. * @{
  337. */
  338. #define FSMC_ACCESS_MODE_A (0x00000000U)
  339. #define FSMC_ACCESS_MODE_B ((uint32_t)FSMC_BTRx_ACCMOD_0)
  340. #define FSMC_ACCESS_MODE_C ((uint32_t)FSMC_BTRx_ACCMOD_1)
  341. #define FSMC_ACCESS_MODE_D ((uint32_t)(FSMC_BTRx_ACCMOD_0 | FSMC_BTRx_ACCMOD_1))
  342. /**
  343. * @}
  344. */
  345. /**
  346. * @}
  347. */
  348. /**
  349. * @}
  350. */
  351. /* Exported macro ------------------------------------------------------------*/
  352. /** @defgroup FSMC_Exported_Macros FSMC Low Layer Exported Macros
  353. * @{
  354. */
  355. /** @defgroup FSMC_NOR_Macros FSMC NOR/SRAM Exported Macros
  356. * @brief macros to handle NOR device enable/disable and read/write operations
  357. * @{
  358. */
  359. /**
  360. * @brief Enable the NORSRAM device access.
  361. * @param __INSTANCE__ FSMC_NORSRAM Instance
  362. * @param __BANK__ FSMC_NORSRAM Bank
  363. * @retval none
  364. */
  365. #define __FSMC_NORSRAM_ENABLE(__INSTANCE__, __BANK__) SET_BIT((__INSTANCE__)->BTCR[(__BANK__)], FSMC_BCRx_MBKEN)
  366. /**
  367. * @brief Disable the NORSRAM device access.
  368. * @param __INSTANCE__ FSMC_NORSRAM Instance
  369. * @param __BANK__ FSMC_NORSRAM Bank
  370. * @retval none
  371. */
  372. #define __FSMC_NORSRAM_DISABLE(__INSTANCE__, __BANK__) CLEAR_BIT((__INSTANCE__)->BTCR[(__BANK__)], FSMC_BCRx_MBKEN)
  373. /**
  374. * @}
  375. */
  376. /**
  377. * @}
  378. */
  379. /* Exported functions --------------------------------------------------------*/
  380. /** @addtogroup FSMC_LL_Exported_Functions
  381. * @{
  382. */
  383. /** @addtogroup FSMC_NORSRAM
  384. * @{
  385. */
  386. /** @addtogroup FSMC_NORSRAM_Group1
  387. * @{
  388. */
  389. /* FSMC_NORSRAM Controller functions ******************************************/
  390. /* Initialization/de-initialization functions */
  391. HAL_StatusTypeDef FSMC_NORSRAM_Init(FSMC_NORSRAM_TypeDef *Device, FSMC_NORSRAM_InitTypeDef *Init);
  392. HAL_StatusTypeDef FSMC_NORSRAM_Timing_Init(FSMC_NORSRAM_TypeDef *Device, FSMC_NORSRAM_TimingTypeDef *Timing, uint32_t Bank);
  393. HAL_StatusTypeDef FSMC_NORSRAM_Extended_Timing_Init(FSMC_NORSRAM_EXTENDED_TypeDef *Device, FSMC_NORSRAM_TimingTypeDef *Timing, uint32_t Bank, uint32_t ExtendedMode);
  394. HAL_StatusTypeDef FSMC_NORSRAM_DeInit(FSMC_NORSRAM_TypeDef *Device, FSMC_NORSRAM_EXTENDED_TypeDef *ExDevice, uint32_t Bank);
  395. /**
  396. * @}
  397. */
  398. /** @addtogroup FSMC_NORSRAM_Group2
  399. * @{
  400. */
  401. /* FSMC_NORSRAM Control functions */
  402. HAL_StatusTypeDef FSMC_NORSRAM_WriteOperation_Enable(FSMC_NORSRAM_TypeDef *Device, uint32_t Bank);
  403. HAL_StatusTypeDef FSMC_NORSRAM_WriteOperation_Disable(FSMC_NORSRAM_TypeDef *Device, uint32_t Bank);
  404. /**
  405. * @}
  406. */
  407. /**
  408. * @}
  409. */
  410. /**
  411. * @}
  412. */
  413. /**
  414. * @}
  415. */
  416. #endif /* FSMC_BANK1 */
  417. /**
  418. * @}
  419. */
  420. #ifdef __cplusplus
  421. }
  422. #endif
  423. #endif /* __STM32L1xx_LL_FSMC_H */
  424. /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/