mbed library sources

Dependents:   Encrypted my_mbed lklk CyaSSL_DTLS_Cellular ... more

Superseded

This library was superseded by mbed-dev - https://os.mbed.com/users/mbed_official/code/mbed-dev/.

Development branch of the mbed library sources. This library is kept in synch with the latest changes from the mbed SDK and it is not guaranteed to work.

If you are looking for a stable and tested release, please import one of the official mbed library releases:

Import librarymbed

The official Mbed 2 C/C++ SDK provides the software platform and libraries to build your applications.

Committer:
mbed_official
Date:
Thu Jul 02 16:30:08 2015 +0100
Revision:
581:39197bcd20f2
Parent:
489:119543c9f674
Synchronized with git revision ae2d3cdffe70184eb8736d94f76c45c93f4b7724

Full URL: https://github.com/mbedmicro/mbed/commit/ae2d3cdffe70184eb8736d94f76c45c93f4b7724/

Make it possible to build the core mbed library with yotta

Who changed what in which revision?

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