Mateusz Kowalik / Application_danix

Fork of Application by Daniel Sygut

Committer:
Zaitsev
Date:
Tue Jan 10 20:42:26 2017 +0000
Revision:
10:41552d038a69
USB Serial bi-directional bridge

Who changed what in which revision?

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