Subversion Repositories DashDisplay

Rev

Rev 61 | Go to most recent revision | Details | Last modification | View Log | RSS feed

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