.
TARGET_NUCLEO_F072RB/stm32f0xx_hal_pcd_ex.h@0:88e313c910d0, 2015-08-13 (annotated)
- Committer:
- jhon309
- Date:
- Thu Aug 13 00:20:09 2015 +0000
- Revision:
- 0:88e313c910d0
RTC Example
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
jhon309 | 0:88e313c910d0 | 1 | /** |
jhon309 | 0:88e313c910d0 | 2 | ****************************************************************************** |
jhon309 | 0:88e313c910d0 | 3 | * @file stm32f0xx_hal_pcd_ex.h |
jhon309 | 0:88e313c910d0 | 4 | * @author MCD Application Team |
jhon309 | 0:88e313c910d0 | 5 | * @version V1.2.0 |
jhon309 | 0:88e313c910d0 | 6 | * @date 11-December-2014 |
jhon309 | 0:88e313c910d0 | 7 | * @brief Header file of PCD HAL Extension module. |
jhon309 | 0:88e313c910d0 | 8 | ****************************************************************************** |
jhon309 | 0:88e313c910d0 | 9 | * @attention |
jhon309 | 0:88e313c910d0 | 10 | * |
jhon309 | 0:88e313c910d0 | 11 | * <h2><center>© COPYRIGHT(c) 2014 STMicroelectronics</center></h2> |
jhon309 | 0:88e313c910d0 | 12 | * |
jhon309 | 0:88e313c910d0 | 13 | * Redistribution and use in source and binary forms, with or without modification, |
jhon309 | 0:88e313c910d0 | 14 | * are permitted provided that the following conditions are met: |
jhon309 | 0:88e313c910d0 | 15 | * 1. Redistributions of source code must retain the above copyright notice, |
jhon309 | 0:88e313c910d0 | 16 | * this list of conditions and the following disclaimer. |
jhon309 | 0:88e313c910d0 | 17 | * 2. Redistributions in binary form must reproduce the above copyright notice, |
jhon309 | 0:88e313c910d0 | 18 | * this list of conditions and the following disclaimer in the documentation |
jhon309 | 0:88e313c910d0 | 19 | * and/or other materials provided with the distribution. |
jhon309 | 0:88e313c910d0 | 20 | * 3. Neither the name of STMicroelectronics nor the names of its contributors |
jhon309 | 0:88e313c910d0 | 21 | * may be used to endorse or promote products derived from this software |
jhon309 | 0:88e313c910d0 | 22 | * without specific prior written permission. |
jhon309 | 0:88e313c910d0 | 23 | * |
jhon309 | 0:88e313c910d0 | 24 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" |
jhon309 | 0:88e313c910d0 | 25 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
jhon309 | 0:88e313c910d0 | 26 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE |
jhon309 | 0:88e313c910d0 | 27 | * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE |
jhon309 | 0:88e313c910d0 | 28 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
jhon309 | 0:88e313c910d0 | 29 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR |
jhon309 | 0:88e313c910d0 | 30 | * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER |
jhon309 | 0:88e313c910d0 | 31 | * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, |
jhon309 | 0:88e313c910d0 | 32 | * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
jhon309 | 0:88e313c910d0 | 33 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
jhon309 | 0:88e313c910d0 | 34 | * |
jhon309 | 0:88e313c910d0 | 35 | ****************************************************************************** |
jhon309 | 0:88e313c910d0 | 36 | */ |
jhon309 | 0:88e313c910d0 | 37 | |
jhon309 | 0:88e313c910d0 | 38 | /* Define to prevent recursive inclusion -------------------------------------*/ |
jhon309 | 0:88e313c910d0 | 39 | #ifndef __STM32L0xx_HAL_PCD_EX_H |
jhon309 | 0:88e313c910d0 | 40 | #define __STM32L0xx_HAL_PCD_EX_H |
jhon309 | 0:88e313c910d0 | 41 | |
jhon309 | 0:88e313c910d0 | 42 | #ifdef __cplusplus |
jhon309 | 0:88e313c910d0 | 43 | extern "C" { |
jhon309 | 0:88e313c910d0 | 44 | #endif |
jhon309 | 0:88e313c910d0 | 45 | |
jhon309 | 0:88e313c910d0 | 46 | #if defined(STM32F042x6) || defined(STM32F048xx) || defined(STM32F072xB) || defined(STM32F078xx)|| defined(STM32F070xB)|| defined(STM32F070x6) |
jhon309 | 0:88e313c910d0 | 47 | |
jhon309 | 0:88e313c910d0 | 48 | /* Includes ------------------------------------------------------------------*/ |
jhon309 | 0:88e313c910d0 | 49 | #include "stm32f0xx_hal_def.h" |
jhon309 | 0:88e313c910d0 | 50 | |
jhon309 | 0:88e313c910d0 | 51 | /** @addtogroup STM32F0xx_HAL_Driver |
jhon309 | 0:88e313c910d0 | 52 | * @{ |
jhon309 | 0:88e313c910d0 | 53 | */ |
jhon309 | 0:88e313c910d0 | 54 | |
jhon309 | 0:88e313c910d0 | 55 | /** @addtogroup PCDEx |
jhon309 | 0:88e313c910d0 | 56 | * @{ |
jhon309 | 0:88e313c910d0 | 57 | */ |
jhon309 | 0:88e313c910d0 | 58 | |
jhon309 | 0:88e313c910d0 | 59 | /* Exported types ------------------------------------------------------------*/ |
jhon309 | 0:88e313c910d0 | 60 | /* Exported constants --------------------------------------------------------*/ |
jhon309 | 0:88e313c910d0 | 61 | /* Exported macros -----------------------------------------------------------*/ |
jhon309 | 0:88e313c910d0 | 62 | /* Internal macros -----------------------------------------------------------*/ |
jhon309 | 0:88e313c910d0 | 63 | /* Exported functions --------------------------------------------------------*/ |
jhon309 | 0:88e313c910d0 | 64 | |
jhon309 | 0:88e313c910d0 | 65 | /** @addtogroup PCDEx_Exported_Functions |
jhon309 | 0:88e313c910d0 | 66 | * @{ |
jhon309 | 0:88e313c910d0 | 67 | */ |
jhon309 | 0:88e313c910d0 | 68 | |
jhon309 | 0:88e313c910d0 | 69 | /** @addtogroup PCDEx_Exported_Functions_Group2 |
jhon309 | 0:88e313c910d0 | 70 | * @{ |
jhon309 | 0:88e313c910d0 | 71 | */ |
jhon309 | 0:88e313c910d0 | 72 | |
jhon309 | 0:88e313c910d0 | 73 | HAL_StatusTypeDef HAL_PCDEx_PMAConfig(PCD_HandleTypeDef *hpcd, |
jhon309 | 0:88e313c910d0 | 74 | uint16_t ep_addr, |
jhon309 | 0:88e313c910d0 | 75 | uint16_t ep_kind, |
jhon309 | 0:88e313c910d0 | 76 | uint32_t pmaadress); |
jhon309 | 0:88e313c910d0 | 77 | /** |
jhon309 | 0:88e313c910d0 | 78 | * @} |
jhon309 | 0:88e313c910d0 | 79 | */ |
jhon309 | 0:88e313c910d0 | 80 | |
jhon309 | 0:88e313c910d0 | 81 | /** |
jhon309 | 0:88e313c910d0 | 82 | * @} |
jhon309 | 0:88e313c910d0 | 83 | */ |
jhon309 | 0:88e313c910d0 | 84 | |
jhon309 | 0:88e313c910d0 | 85 | /** |
jhon309 | 0:88e313c910d0 | 86 | * @} |
jhon309 | 0:88e313c910d0 | 87 | */ |
jhon309 | 0:88e313c910d0 | 88 | |
jhon309 | 0:88e313c910d0 | 89 | /** |
jhon309 | 0:88e313c910d0 | 90 | * @} |
jhon309 | 0:88e313c910d0 | 91 | */ |
jhon309 | 0:88e313c910d0 | 92 | |
jhon309 | 0:88e313c910d0 | 93 | #endif /* STM32F042x6 || STM32F072xB || STM32F078xx || STM32F070xB || STM32F070x6*/ |
jhon309 | 0:88e313c910d0 | 94 | |
jhon309 | 0:88e313c910d0 | 95 | #ifdef __cplusplus |
jhon309 | 0:88e313c910d0 | 96 | } |
jhon309 | 0:88e313c910d0 | 97 | #endif |
jhon309 | 0:88e313c910d0 | 98 | |
jhon309 | 0:88e313c910d0 | 99 | |
jhon309 | 0:88e313c910d0 | 100 | #endif /* __STM32F0xx_HAL_PCD_EX_H */ |
jhon309 | 0:88e313c910d0 | 101 | |
jhon309 | 0:88e313c910d0 | 102 | /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ |
jhon309 | 0:88e313c910d0 | 103 |