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_dma.h
3
  * @file    stm32f1xx_hal_dma.h
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   Header file of DMA HAL module.
7
  * @brief   Header file of DMA HAL module.
8
  ******************************************************************************
8
  ******************************************************************************
9
  * @attention
9
  * @attention
10
  *
10
  *
11
  * <h2><center>&copy; COPYRIGHT(c) 2015 STMicroelectronics</center></h2>
11
  * <h2><center>&copy; COPYRIGHT(c) 2016 STMicroelectronics</center></h2>
12
  *
12
  *
13
  * Redistribution and use in source and binary forms, with or without modification,
13
  * Redistribution and use in source and binary forms, with or without modification,
14
  * are permitted provided that the following conditions are met:
14
  * are permitted provided that the following conditions are met:
15
  *   1. Redistributions of source code must retain the above copyright notice,
15
  *   1. Redistributions of source code must retain the above copyright notice,
16
  *      this list of conditions and the following disclaimer.
16
  *      this list of conditions and the following disclaimer.
Line 349... Line 349...
349
  * @retval The state of DMA_IT (SET or RESET).
349
  * @retval The state of DMA_IT (SET or RESET).
350
  */
350
  */
351
#define __HAL_DMA_GET_IT_SOURCE(__HANDLE__, __INTERRUPT__)  ((((__HANDLE__)->Instance->CCR & (__INTERRUPT__)) == (__INTERRUPT__)) ? SET : RESET)
351
#define __HAL_DMA_GET_IT_SOURCE(__HANDLE__, __INTERRUPT__)  ((((__HANDLE__)->Instance->CCR & (__INTERRUPT__)) == (__INTERRUPT__)) ? SET : RESET)
352
 
352
 
353
/**
353
/**
-
 
354
  * @brief  Returns the number of remaining data units in the current DMAy Channelx transfer.
-
 
355
  * @param  __HANDLE__: DMA handle
-
 
356
  *  
-
 
357
  * @retval The number of remaining data units in the current DMA Channel transfer.
-
 
358
  */
-
 
359
#define __HAL_DMA_GET_COUNTER(__HANDLE__) ((__HANDLE__)->Instance->CNDTR)
-
 
360
 
-
 
361
/**
354
  * @}
362
  * @}
355
  */
363
  */
356
 
364
 
357
/* Include DMA HAL Extension module */
365
/* Include DMA HAL Extension module */
358
#include "stm32f1xx_hal_dma_ex.h"   
366
#include "stm32f1xx_hal_dma_ex.h"