Subversion Repositories DashDisplay

Rev

Rev 2 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2 Rev 5
Line 1... Line 1...
1
/**
1
/**
2
  ******************************************************************************
2
  ******************************************************************************
3
  * @file    stm32f1xx_hal_sram.c
3
  * @file    stm32f1xx_hal_sram.c
4
  * @author  MCD Application Team
4
  * @author  MCD Application Team
5
  * @version V1.0.1
5
  * @version V1.0.4
6
  * @date    31-July-2015
6
  * @date    29-April-2016
7
  * @brief   SRAM HAL module driver.
7
  * @brief   SRAM HAL module driver.
8
  *          This file provides a generic firmware to drive SRAM memories  
8
  *          This file provides a generic firmware to drive SRAM memories  
9
  *          mounted as external device.
9
  *          mounted as external device.
10
  *        
10
  *        
11
  @verbatim
11
  @verbatim
Line 62... Line 62...
62
                             
62
                             
63
  @endverbatim
63
  @endverbatim
64
  ******************************************************************************
64
  ******************************************************************************
65
  * @attention
65
  * @attention
66
  *
66
  *
67
  * <h2><center>&copy; COPYRIGHT(c) 2015 STMicroelectronics</center></h2>
67
  * <h2><center>&copy; COPYRIGHT(c) 2016 STMicroelectronics</center></h2>
68
  *
68
  *
69
  * Redistribution and use in source and binary forms, with or without modification,
69
  * Redistribution and use in source and binary forms, with or without modification,
70
  * are permitted provided that the following conditions are met:
70
  * are permitted provided that the following conditions are met:
71
  *   1. Redistributions of source code must retain the above copyright notice,
71
  *   1. Redistributions of source code must retain the above copyright notice,
72
  *      this list of conditions and the following disclaimer.
72
  *      this list of conditions and the following disclaimer.
Line 199... Line 199...
199
  *                the configuration information for SRAM module.
199
  *                the configuration information for SRAM module.
200
  * @retval None
200
  * @retval None
201
  */
201
  */
202
__weak void HAL_SRAM_MspInit(SRAM_HandleTypeDef *hsram)
202
__weak void HAL_SRAM_MspInit(SRAM_HandleTypeDef *hsram)
203
{
203
{
-
 
204
  /* Prevent unused argument(s) compilation warning */
-
 
205
  UNUSED(hsram);
204
  /* NOTE : This function Should not be modified, when the callback is needed,
206
  /* NOTE : This function Should not be modified, when the callback is needed,
205
            the HAL_SRAM_MspInit could be implemented in the user file
207
            the HAL_SRAM_MspInit could be implemented in the user file
206
   */
208
   */
207
}
209
}
208
 
210
 
Line 212... Line 214...
212
  *                the configuration information for SRAM module.
214
  *                the configuration information for SRAM module.
213
  * @retval None
215
  * @retval None
214
  */
216
  */
215
__weak void HAL_SRAM_MspDeInit(SRAM_HandleTypeDef *hsram)
217
__weak void HAL_SRAM_MspDeInit(SRAM_HandleTypeDef *hsram)
216
{
218
{
-
 
219
  /* Prevent unused argument(s) compilation warning */
-
 
220
  UNUSED(hsram);
217
  /* NOTE : This function Should not be modified, when the callback is needed,
221
  /* NOTE : This function Should not be modified, when the callback is needed,
218
            the HAL_SRAM_MspDeInit could be implemented in the user file
222
            the HAL_SRAM_MspDeInit could be implemented in the user file
219
   */
223
   */
220
}
224
}
221
 
225
 
Line 225... Line 229...
225
  *                the configuration information for SRAM module.
229
  *                the configuration information for SRAM module.
226
  * @retval None
230
  * @retval None
227
  */
231
  */
228
__weak void HAL_SRAM_DMA_XferCpltCallback(DMA_HandleTypeDef *hdma)
232
__weak void HAL_SRAM_DMA_XferCpltCallback(DMA_HandleTypeDef *hdma)
229
{
233
{
-
 
234
  /* Prevent unused argument(s) compilation warning */
-
 
235
  UNUSED(hdma);
230
  /* NOTE : This function Should not be modified, when the callback is needed,
236
  /* NOTE : This function Should not be modified, when the callback is needed,
231
            the HAL_SRAM_DMA_XferCpltCallback could be implemented in the user file
237
            the HAL_SRAM_DMA_XferCpltCallback could be implemented in the user file
232
   */
238
   */
233
}
239
}
234
 
240
 
Line 238... Line 244...
238
  *                the configuration information for SRAM module.
244
  *                the configuration information for SRAM module.
239
  * @retval None
245
  * @retval None
240
  */
246
  */
241
__weak void HAL_SRAM_DMA_XferErrorCallback(DMA_HandleTypeDef *hdma)
247
__weak void HAL_SRAM_DMA_XferErrorCallback(DMA_HandleTypeDef *hdma)
242
{
248
{
-
 
249
  /* Prevent unused argument(s) compilation warning */
-
 
250
  UNUSED(hdma);
243
  /* NOTE : This function Should not be modified, when the callback is needed,
251
  /* NOTE : This function Should not be modified, when the callback is needed,
244
            the HAL_SRAM_DMA_XferErrorCallback could be implemented in the user file
252
            the HAL_SRAM_DMA_XferErrorCallback could be implemented in the user file
245
   */
253
   */
246
}
254
}
247
 
255