Contains the BSP driver for the B-L475E-IOT01 board.

Dependents:   mbed-os-example-ble-Thermometer DISCO_L475VG_IOT01-Telegram-BOT DISCO_L475VG_IOT01-sche_cheveux DISCO_L475VG_IOT01-QSPI_FLASH_FILE_SYSTEM ... more

https://os.mbed.com/platforms/ST-Discovery-L475E-IOT01A/

Committer:
bcostm
Date:
Fri Jan 19 14:27:51 2018 +0100
Revision:
6:9dfa42666f03
Parent:
5:0c70bc6d2dc0
Child:
7:bfe8272ced90
Update BSP files with STM32Cube L4 V1.11.0

Who changed what in which revision?

UserRevisionLine numberNew contents of line
bcostm 4:137bb367ba50 1 /**
bcostm 4:137bb367ba50 2 ******************************************************************************
bcostm 4:137bb367ba50 3 * @file stm32l475e_iot01.h
bcostm 4:137bb367ba50 4 * @author MCD Application Team
bcostm 4:137bb367ba50 5 * @brief STM32L475E IOT01 board support package
bcostm 4:137bb367ba50 6 ******************************************************************************
bcostm 4:137bb367ba50 7 * @attention
bcostm 4:137bb367ba50 8 *
bcostm 4:137bb367ba50 9 * <h2><center>&copy; Copyright (c) 2017 STMicroelectronics International N.V.
bcostm 4:137bb367ba50 10 * All rights reserved.</center></h2>
bcostm 4:137bb367ba50 11 *
bcostm 4:137bb367ba50 12 * Redistribution and use in source and binary forms, with or without
bcostm 4:137bb367ba50 13 * modification, are permitted, provided that the following conditions are met:
bcostm 4:137bb367ba50 14 *
bcostm 4:137bb367ba50 15 * 1. Redistribution of source code must retain the above copyright notice,
bcostm 4:137bb367ba50 16 * this list of conditions and the following disclaimer.
bcostm 4:137bb367ba50 17 * 2. Redistributions in binary form must reproduce the above copyright notice,
bcostm 4:137bb367ba50 18 * this list of conditions and the following disclaimer in the documentation
bcostm 4:137bb367ba50 19 * and/or other materials provided with the distribution.
bcostm 4:137bb367ba50 20 * 3. Neither the name of STMicroelectronics nor the names of other
bcostm 4:137bb367ba50 21 * contributors to this software may be used to endorse or promote products
bcostm 4:137bb367ba50 22 * derived from this software without specific written permission.
bcostm 4:137bb367ba50 23 * 4. This software, including modifications and/or derivative works of this
bcostm 4:137bb367ba50 24 * software, must execute solely and exclusively on microcontroller or
bcostm 4:137bb367ba50 25 * microprocessor devices manufactured by or for STMicroelectronics.
bcostm 4:137bb367ba50 26 * 5. Redistribution and use of this software other than as permitted under
bcostm 4:137bb367ba50 27 * this license is void and will automatically terminate your rights under
bcostm 4:137bb367ba50 28 * this license.
bcostm 4:137bb367ba50 29 *
bcostm 4:137bb367ba50 30 * THIS SOFTWARE IS PROVIDED BY STMICROELECTRONICS AND CONTRIBUTORS "AS IS"
bcostm 4:137bb367ba50 31 * AND ANY EXPRESS, IMPLIED OR STATUTORY WARRANTIES, INCLUDING, BUT NOT
bcostm 4:137bb367ba50 32 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
bcostm 4:137bb367ba50 33 * PARTICULAR PURPOSE AND NON-INFRINGEMENT OF THIRD PARTY INTELLECTUAL PROPERTY
bcostm 4:137bb367ba50 34 * RIGHTS ARE DISCLAIMED TO THE FULLEST EXTENT PERMITTED BY LAW. IN NO EVENT
bcostm 4:137bb367ba50 35 * SHALL STMICROELECTRONICS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
bcostm 4:137bb367ba50 36 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
bcostm 4:137bb367ba50 37 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
bcostm 4:137bb367ba50 38 * OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
bcostm 4:137bb367ba50 39 * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
bcostm 4:137bb367ba50 40 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
bcostm 4:137bb367ba50 41 * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
bcostm 4:137bb367ba50 42 *
bcostm 4:137bb367ba50 43 ******************************************************************************
bcostm 4:137bb367ba50 44 */
bcostm 4:137bb367ba50 45
bcostm 4:137bb367ba50 46 /* Define to prevent recursive inclusion -------------------------------------*/
bcostm 4:137bb367ba50 47 #ifndef __STM32L475E_IOT01_H
bcostm 4:137bb367ba50 48 #define __STM32L475E_IOT01_H
bcostm 4:137bb367ba50 49
bcostm 4:137bb367ba50 50 #ifdef __cplusplus
bcostm 4:137bb367ba50 51 extern "C" {
bcostm 4:137bb367ba50 52 #endif
bcostm 4:137bb367ba50 53
bcostm 4:137bb367ba50 54 /* Includes ------------------------------------------------------------------*/
bcostm 4:137bb367ba50 55 #include "stm32l4xx_hal.h"
bcostm 4:137bb367ba50 56
bcostm 4:137bb367ba50 57 /** @addtogroup BSP
bcostm 4:137bb367ba50 58 * @{
bcostm 4:137bb367ba50 59 */
bcostm 4:137bb367ba50 60
bcostm 4:137bb367ba50 61 /** @addtogroup STM32L475E_IOT01
bcostm 4:137bb367ba50 62 * @{
bcostm 4:137bb367ba50 63 */
bcostm 4:137bb367ba50 64
bcostm 4:137bb367ba50 65 /** @addtogroup STM32L475E_IOT01_LOW_LEVEL
bcostm 4:137bb367ba50 66 * @{
bcostm 4:137bb367ba50 67 */
bcostm 4:137bb367ba50 68
bcostm 4:137bb367ba50 69 /** @defgroup STM32L475E_IOT01_LOW_LEVEL_Exported_Types LOW LEVEL Exported Types
bcostm 4:137bb367ba50 70 * @{
bcostm 4:137bb367ba50 71 */
bcostm 4:137bb367ba50 72 typedef enum
bcostm 4:137bb367ba50 73 {
bcostm 5:0c70bc6d2dc0 74 DISCO_LED2 = 0,
bcostm 5:0c70bc6d2dc0 75 DISCO_LED_GREEN = DISCO_LED2,
bcostm 4:137bb367ba50 76 }Led_TypeDef;
bcostm 4:137bb367ba50 77
bcostm 4:137bb367ba50 78
bcostm 4:137bb367ba50 79 typedef enum
bcostm 4:137bb367ba50 80 {
bcostm 4:137bb367ba50 81 BUTTON_USER = 0
bcostm 4:137bb367ba50 82 }Button_TypeDef;
bcostm 4:137bb367ba50 83
bcostm 4:137bb367ba50 84 typedef enum
bcostm 4:137bb367ba50 85 {
bcostm 4:137bb367ba50 86 BUTTON_MODE_GPIO = 0,
bcostm 4:137bb367ba50 87 BUTTON_MODE_EXTI = 1
bcostm 4:137bb367ba50 88 }ButtonMode_TypeDef;
bcostm 4:137bb367ba50 89
bcostm 4:137bb367ba50 90 typedef enum
bcostm 4:137bb367ba50 91 {
bcostm 4:137bb367ba50 92 COM1 = 0,
bcostm 4:137bb367ba50 93 COM2 = 0,
bcostm 4:137bb367ba50 94 }COM_TypeDef;
bcostm 4:137bb367ba50 95 /**
bcostm 4:137bb367ba50 96 * @}
bcostm 4:137bb367ba50 97 */
bcostm 4:137bb367ba50 98
bcostm 4:137bb367ba50 99 /** @defgroup STM32L475E_IOT01_LOW_LEVEL_Exported_Constants LOW LEVEL Exported Constants
bcostm 4:137bb367ba50 100 * @{
bcostm 4:137bb367ba50 101 */
bcostm 4:137bb367ba50 102
bcostm 4:137bb367ba50 103 /**
bcostm 4:137bb367ba50 104 * @brief Define for STM32L475E_IOT01 board
bcostm 4:137bb367ba50 105 */
bcostm 4:137bb367ba50 106 #if !defined (USE_STM32L475E_IOT01)
bcostm 4:137bb367ba50 107 #define USE_STM32L475E_IOT01
bcostm 4:137bb367ba50 108 #endif
bcostm 4:137bb367ba50 109
bcostm 4:137bb367ba50 110 #define LEDn ((uint8_t)1)
bcostm 4:137bb367ba50 111
bcostm 4:137bb367ba50 112 #define LED2_PIN GPIO_PIN_14
bcostm 4:137bb367ba50 113 #define LED2_GPIO_PORT GPIOB
bcostm 4:137bb367ba50 114 #define LED2_GPIO_CLK_ENABLE() __HAL_RCC_GPIOB_CLK_ENABLE()
bcostm 4:137bb367ba50 115 #define LED2_GPIO_CLK_DISABLE() __HAL_RCC_GPIOB_CLK_DISABLE()
bcostm 4:137bb367ba50 116
bcostm 4:137bb367ba50 117
bcostm 4:137bb367ba50 118
bcostm 4:137bb367ba50 119 #define LEDx_GPIO_CLK_ENABLE(__INDEX__) do{if((__INDEX__) == 0) LED2_GPIO_CLK_ENABLE();}while(0)
bcostm 4:137bb367ba50 120
bcostm 4:137bb367ba50 121 #define LEDx_GPIO_CLK_DISABLE(__INDEX__) do{if((__INDEX__) == 0) LED2_GPIO_CLK_DISABLE();}while(0)
bcostm 4:137bb367ba50 122
bcostm 4:137bb367ba50 123 /* Only one User/Wakeup button */
bcostm 4:137bb367ba50 124 #define BUTTONn ((uint8_t)1)
bcostm 4:137bb367ba50 125
bcostm 4:137bb367ba50 126 /**
bcostm 4:137bb367ba50 127 * @brief Wakeup push-button
bcostm 4:137bb367ba50 128 */
bcostm 4:137bb367ba50 129 #define USER_BUTTON_PIN GPIO_PIN_13
bcostm 4:137bb367ba50 130 #define USER_BUTTON_GPIO_PORT GPIOC
bcostm 4:137bb367ba50 131 #define USER_BUTTON_GPIO_CLK_ENABLE() __HAL_RCC_GPIOC_CLK_ENABLE()
bcostm 4:137bb367ba50 132 #define USER_BUTTON_GPIO_CLK_DISABLE() __HAL_RCC_GPIOC_CLK_DISABLE()
bcostm 4:137bb367ba50 133 #define USER_BUTTON_EXTI_IRQn EXTI15_10_IRQn
bcostm 4:137bb367ba50 134
bcostm 5:0c70bc6d2dc0 135 /**
bcostm 5:0c70bc6d2dc0 136 * @brief NFC Gpio PINs
bcostm 5:0c70bc6d2dc0 137 */
bcostm 5:0c70bc6d2dc0 138 #define NFC_GPIO_GPO_PIN GPIO_PIN_4
bcostm 5:0c70bc6d2dc0 139 #define NFC_GPIO_GPO_PIN_PORT GPIOE
bcostm 5:0c70bc6d2dc0 140 #define NFC_GPIO_RFDISABLE_PIN GPIO_PIN_2
bcostm 5:0c70bc6d2dc0 141 #define NFC_GPIO_RFDISABLE_PIN_PORT GPIOE
bcostm 5:0c70bc6d2dc0 142 #define NFC_GPIO_CLK_ENABLE() __HAL_RCC_GPIOE_CLK_ENABLE();
bcostm 5:0c70bc6d2dc0 143 #define NFC_GPIO_CLK_DISABLE() __HAL_RCC_GPIOE_CLK_DISABLE();
bcostm 4:137bb367ba50 144
bcostm 4:137bb367ba50 145
bcostm 4:137bb367ba50 146 #define COMn ((uint8_t)1)
bcostm 4:137bb367ba50 147
bcostm 4:137bb367ba50 148 /**
bcostm 4:137bb367ba50 149 * @brief Definition for COM port1, connected to USART1
bcostm 4:137bb367ba50 150 */
bcostm 4:137bb367ba50 151 #define DISCOVERY_COM1 USART1
bcostm 4:137bb367ba50 152 #define DISCOVERY_COM1_CLK_ENABLE() __HAL_RCC_USART1_CLK_ENABLE()
bcostm 4:137bb367ba50 153 #define DISCOVERY_COM1_CLK_DISABLE() __HAL_RCC_USART1_CLK_DISABLE()
bcostm 4:137bb367ba50 154
bcostm 4:137bb367ba50 155 #define DISCOVERY_COM1_TX_PIN GPIO_PIN_6
bcostm 4:137bb367ba50 156 #define DISCOVERY_COM1_TX_GPIO_PORT GPIOB
bcostm 4:137bb367ba50 157 #define DISCOVERY_COM1_TX_GPIO_CLK_ENABLE() __HAL_RCC_GPIOB_CLK_ENABLE()
bcostm 4:137bb367ba50 158 #define DISCOVERY_COM1_TX_GPIO_CLK_DISABLE() __HAL_RCC_GPIOB_CLK_DISABLE()
bcostm 4:137bb367ba50 159 #define DISCOVERY_COM1_TX_AF GPIO_AF7_USART1
bcostm 4:137bb367ba50 160
bcostm 4:137bb367ba50 161 #define DISCOVERY_COM1_RX_PIN GPIO_PIN_7
bcostm 4:137bb367ba50 162 #define DISCOVERY_COM1_RX_GPIO_PORT GPIOB
bcostm 4:137bb367ba50 163 #define DISCOVERY_COM1_RX_GPIO_CLK_ENABLE() __HAL_RCC_GPIOB_CLK_ENABLE()
bcostm 4:137bb367ba50 164 #define DISCOVERY_COM1_RX_GPIO_CLK_DISABLE() __HAL_RCC_GPIOB_CLK_DISABLE()
bcostm 4:137bb367ba50 165 #define DISCOVERY_COM1_RX_AF GPIO_AF7_USART1
bcostm 4:137bb367ba50 166
bcostm 4:137bb367ba50 167 #define DISCOVERY_COM1_IRQn USART1_IRQn
bcostm 4:137bb367ba50 168
bcostm 4:137bb367ba50 169
bcostm 4:137bb367ba50 170 #define DISCOVERY_COMx_CLK_ENABLE(__INDEX__) do { if((__INDEX__) == COM1) {DISCOVERY_COM1_CLK_ENABLE();}} while(0)
bcostm 4:137bb367ba50 171 #define DISCOVERY_COMx_CLK_DISABLE(__INDEX__) do { if((__INDEX__) == COM1) {DISCOVERY_COM1_CLK_DISABLE();}} while(0)
bcostm 4:137bb367ba50 172
bcostm 4:137bb367ba50 173 #define DISCOVERY_COMx_TX_GPIO_CLK_ENABLE(__INDEX__) do { if((__INDEX__) == COM1) {DISCOVERY_COM1_TX_GPIO_CLK_ENABLE();}} while(0)
bcostm 4:137bb367ba50 174 #define DISCOVERY_COMx_TX_GPIO_CLK_DISABLE(__INDEX__) do { if((__INDEX__) == COM1) {DISCOVERY_COM1_TX_GPIO_CLK_DISABLE();}} while(0)
bcostm 4:137bb367ba50 175
bcostm 4:137bb367ba50 176 #define DISCOVERY_COMx_RX_GPIO_CLK_ENABLE(__INDEX__) do { if((__INDEX__) == COM1) {DISCOVERY_COM1_RX_GPIO_CLK_ENABLE();}} while(0)
bcostm 4:137bb367ba50 177 #define DISCOVERY_COMx_RX_GPIO_CLK_DISABLE(__INDEX__) do { if((__INDEX__) == COM1) {DISCOVERY_COM1_RX_GPIO_CLK_DISABLE();}} while(0)
bcostm 4:137bb367ba50 178
bcostm 4:137bb367ba50 179
bcostm 4:137bb367ba50 180 /* User can use this section to tailor I2Cx instance used and associated resources */
bcostm 4:137bb367ba50 181 /* Definition for I2Cx resources */
bcostm 4:137bb367ba50 182 #define DISCOVERY_I2Cx I2C2
bcostm 4:137bb367ba50 183 #define DISCOVERY_I2Cx_CLK_ENABLE() __HAL_RCC_I2C2_CLK_ENABLE()
bcostm 4:137bb367ba50 184 #define DISCOVERY_I2Cx_CLK_DISABLE() __HAL_RCC_I2C2_CLK_DISABLE()
bcostm 4:137bb367ba50 185 #define DISCOVERY_DMAx_CLK_ENABLE() __HAL_RCC_DMA1_CLK_ENABLE()
bcostm 4:137bb367ba50 186 #define DISCOVERY_I2Cx_SCL_SDA_GPIO_CLK_ENABLE() __HAL_RCC_GPIOB_CLK_ENABLE()
bcostm 4:137bb367ba50 187 #define DISCOVERY_I2Cx_SCL_SDA_GPIO_CLK_DISABLE() __HAL_RCC_GPIOB_CLK_DISABLE()
bcostm 4:137bb367ba50 188
bcostm 4:137bb367ba50 189 #define DISCOVERY_I2Cx_FORCE_RESET() __HAL_RCC_I2C2_FORCE_RESET()
bcostm 4:137bb367ba50 190 #define DISCOVERY_I2Cx_RELEASE_RESET() __HAL_RCC_I2C2_RELEASE_RESET()
bcostm 4:137bb367ba50 191
bcostm 4:137bb367ba50 192 /* Definition for I2Cx Pins */
bcostm 4:137bb367ba50 193 #define DISCOVERY_I2Cx_SCL_PIN GPIO_PIN_10
bcostm 4:137bb367ba50 194 #define DISCOVERY_I2Cx_SDA_PIN GPIO_PIN_11
bcostm 4:137bb367ba50 195 #define DISCOVERY_I2Cx_SCL_SDA_GPIO_PORT GPIOB
bcostm 4:137bb367ba50 196 #define DISCOVERY_I2Cx_SCL_SDA_AF GPIO_AF4_I2C2
bcostm 4:137bb367ba50 197
bcostm 4:137bb367ba50 198 /* I2C interrupt requests */
bcostm 4:137bb367ba50 199 #define DISCOVERY_I2Cx_EV_IRQn I2C2_EV_IRQn
bcostm 4:137bb367ba50 200 #define DISCOVERY_I2Cx_ER_IRQn I2C2_ER_IRQn
bcostm 4:137bb367ba50 201
bcostm 4:137bb367ba50 202 /* I2C clock speed configuration (in Hz)
bcostm 4:137bb367ba50 203 WARNING:
bcostm 4:137bb367ba50 204 Make sure that this define is not already declared in other files.
bcostm 4:137bb367ba50 205 It can be used in parallel by other modules. */
bcostm 4:137bb367ba50 206 #ifndef DISCOVERY_I2C_SPEED
bcostm 4:137bb367ba50 207 #define DISCOVERY_I2C_SPEED 100000
bcostm 4:137bb367ba50 208 #endif /* DISCOVERY_I2C_SPEED */
bcostm 4:137bb367ba50 209
bcostm 4:137bb367ba50 210 #ifndef DISCOVERY_I2Cx_TIMING
bcostm 4:137bb367ba50 211 #define DISCOVERY_I2Cx_TIMING ((uint32_t)0x00702681)
bcostm 4:137bb367ba50 212 #endif /* DISCOVERY_I2Cx_TIMING */
bcostm 4:137bb367ba50 213
bcostm 4:137bb367ba50 214
bcostm 4:137bb367ba50 215 /* I2C Sensors address */
bcostm 4:137bb367ba50 216 /* LPS22HB (Pressure) I2C Address */
bcostm 4:137bb367ba50 217 #define LPS22HB_I2C_ADDRESS (uint8_t)0xBA
bcostm 4:137bb367ba50 218 /* HTS221 (Humidity) I2C Address */
bcostm 4:137bb367ba50 219 #define HTS221_I2C_ADDRESS (uint8_t)0xBE
bcostm 4:137bb367ba50 220
bcostm 4:137bb367ba50 221 #ifdef USE_LPS22HB_TEMP
bcostm 4:137bb367ba50 222 /* LPS22HB Sensor hardware I2C address */
bcostm 4:137bb367ba50 223 #define TSENSOR_I2C_ADDRESS LPS22HB_I2C_ADDRESS
bcostm 4:137bb367ba50 224 #else /* USE_HTS221_TEMP */
bcostm 4:137bb367ba50 225 /* HTS221 Sensor hardware I2C address */
bcostm 4:137bb367ba50 226 #define TSENSOR_I2C_ADDRESS HTS221_I2C_ADDRESS
bcostm 4:137bb367ba50 227 #endif
bcostm 5:0c70bc6d2dc0 228
bcostm 5:0c70bc6d2dc0 229 /* NFC I2C address and specific config parameters */
bcostm 5:0c70bc6d2dc0 230 #define M24SR_I2C_ADDR (uint8_t) 0xAC /*!< M24SR address */
bcostm 5:0c70bc6d2dc0 231 #define NFC_I2C_STATUS_SUCCESS (uint16_t) 0x0000
bcostm 5:0c70bc6d2dc0 232 #define NFC_I2C_ERROR_TIMEOUT (uint16_t) 0x0011
bcostm 5:0c70bc6d2dc0 233 #define NFC_I2C_TIMEOUT_STD (uint32_t) 8 /* I2C Time out (ms), used to call Transmit/Receive HAL functions */
bcostm 5:0c70bc6d2dc0 234 #define NFC_I2C_TIMEOUT_MAX (uint32_t) 200 /* I2C Time out (ms), this is the maximum time needed by M24SR to complete any command */
bcostm 5:0c70bc6d2dc0 235 #define NFC_I2C_TRIALS (uint32_t) 1 /* In case M24SR will reply ACK failed allow to perform retry before returning error (HAL option not used) */
bcostm 5:0c70bc6d2dc0 236
bcostm 5:0c70bc6d2dc0 237
bcostm 4:137bb367ba50 238 /**
bcostm 4:137bb367ba50 239 * @}
bcostm 4:137bb367ba50 240 */
bcostm 4:137bb367ba50 241
bcostm 4:137bb367ba50 242 /* Exported types ------------------------------------------------------------*/
bcostm 4:137bb367ba50 243 /* Exported constants --------------------------------------------------------*/
bcostm 4:137bb367ba50 244 /* Exported macros -----------------------------------------------------------*/
bcostm 4:137bb367ba50 245 /* Private macros ------------------------------------------------------------*/
bcostm 4:137bb367ba50 246 /* Exported functions --------------------------------------------------------*/
bcostm 4:137bb367ba50 247
bcostm 4:137bb367ba50 248 /** @defgroup STM32L475E_IOT01_LOW_LEVEL_Exported_Functions LOW LEVEL Exported Functions
bcostm 4:137bb367ba50 249 * @{
bcostm 4:137bb367ba50 250 */
bcostm 4:137bb367ba50 251 uint32_t BSP_GetVersion(void);
bcostm 4:137bb367ba50 252 void BSP_LED_Init(Led_TypeDef Led);
bcostm 4:137bb367ba50 253 void BSP_LED_DeInit(Led_TypeDef Led);
bcostm 4:137bb367ba50 254 void BSP_LED_On(Led_TypeDef Led);
bcostm 4:137bb367ba50 255 void BSP_LED_Off(Led_TypeDef Led);
bcostm 4:137bb367ba50 256 void BSP_LED_Toggle(Led_TypeDef Led);
bcostm 4:137bb367ba50 257 void BSP_PB_Init(Button_TypeDef Button, ButtonMode_TypeDef ButtonMode);
bcostm 4:137bb367ba50 258 void BSP_PB_DeInit(Button_TypeDef Button);
bcostm 4:137bb367ba50 259 uint32_t BSP_PB_GetState(Button_TypeDef Button);
bcostm 4:137bb367ba50 260 void BSP_COM_Init(COM_TypeDef COM, UART_HandleTypeDef *husart);
bcostm 4:137bb367ba50 261 void BSP_COM_DeInit(COM_TypeDef COM, UART_HandleTypeDef *huart);
bcostm 4:137bb367ba50 262 /**
bcostm 4:137bb367ba50 263 * @}
bcostm 4:137bb367ba50 264 */
bcostm 4:137bb367ba50 265
bcostm 4:137bb367ba50 266 /**
bcostm 4:137bb367ba50 267 * @}
bcostm 4:137bb367ba50 268 */
bcostm 4:137bb367ba50 269
bcostm 4:137bb367ba50 270 /**
bcostm 4:137bb367ba50 271 * @}
bcostm 4:137bb367ba50 272 */
bcostm 4:137bb367ba50 273
bcostm 4:137bb367ba50 274 /**
bcostm 4:137bb367ba50 275 * @}
bcostm 4:137bb367ba50 276 */
bcostm 4:137bb367ba50 277 #ifdef __cplusplus
bcostm 4:137bb367ba50 278 }
bcostm 4:137bb367ba50 279 #endif
bcostm 4:137bb367ba50 280
bcostm 4:137bb367ba50 281 #endif /* __STM32L475E_IOT01_H */
bcostm 4:137bb367ba50 282
bcostm 4:137bb367ba50 283 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/