DHT11

Committer:
jhon309
Date:
Thu Aug 13 00:21:57 2015 +0000
Revision:
0:c52df770855b
DHT11

Who changed what in which revision?

UserRevisionLine numberNew contents of line
jhon309 0:c52df770855b 1 /**
jhon309 0:c52df770855b 2 ******************************************************************************
jhon309 0:c52df770855b 3 * @file stm32f0xx_hal_smartcard_ex.h
jhon309 0:c52df770855b 4 * @author MCD Application Team
jhon309 0:c52df770855b 5 * @version V1.2.0
jhon309 0:c52df770855b 6 * @date 11-December-2014
jhon309 0:c52df770855b 7 * @brief Header file of SMARTCARD HAL module.
jhon309 0:c52df770855b 8 ******************************************************************************
jhon309 0:c52df770855b 9 * @attention
jhon309 0:c52df770855b 10 *
jhon309 0:c52df770855b 11 * <h2><center>&copy; COPYRIGHT(c) 2014 STMicroelectronics</center></h2>
jhon309 0:c52df770855b 12 *
jhon309 0:c52df770855b 13 * Redistribution and use in source and binary forms, with or without modification,
jhon309 0:c52df770855b 14 * are permitted provided that the following conditions are met:
jhon309 0:c52df770855b 15 * 1. Redistributions of source code must retain the above copyright notice,
jhon309 0:c52df770855b 16 * this list of conditions and the following disclaimer.
jhon309 0:c52df770855b 17 * 2. Redistributions in binary form must reproduce the above copyright notice,
jhon309 0:c52df770855b 18 * this list of conditions and the following disclaimer in the documentation
jhon309 0:c52df770855b 19 * and/or other materials provided with the distribution.
jhon309 0:c52df770855b 20 * 3. Neither the name of STMicroelectronics nor the names of its contributors
jhon309 0:c52df770855b 21 * may be used to endorse or promote products derived from this software
jhon309 0:c52df770855b 22 * without specific prior written permission.
jhon309 0:c52df770855b 23 *
jhon309 0:c52df770855b 24 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
jhon309 0:c52df770855b 25 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
jhon309 0:c52df770855b 26 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
jhon309 0:c52df770855b 27 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
jhon309 0:c52df770855b 28 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
jhon309 0:c52df770855b 29 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
jhon309 0:c52df770855b 30 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
jhon309 0:c52df770855b 31 * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
jhon309 0:c52df770855b 32 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
jhon309 0:c52df770855b 33 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
jhon309 0:c52df770855b 34 *
jhon309 0:c52df770855b 35 ******************************************************************************
jhon309 0:c52df770855b 36 */
jhon309 0:c52df770855b 37
jhon309 0:c52df770855b 38 /* Define to prevent recursive inclusion -------------------------------------*/
jhon309 0:c52df770855b 39 #ifndef __STM32F0xx_HAL_SMARTCARD_EX_H
jhon309 0:c52df770855b 40 #define __STM32F0xx_HAL_SMARTCARD_EX_H
jhon309 0:c52df770855b 41
jhon309 0:c52df770855b 42 #ifdef __cplusplus
jhon309 0:c52df770855b 43 extern "C" {
jhon309 0:c52df770855b 44 #endif
jhon309 0:c52df770855b 45
jhon309 0:c52df770855b 46 #if !defined(STM32F030x6) && !defined(STM32F030x8) && !defined(STM32F070x6) && !defined(STM32F070xB) && !defined(STM32F030xC)
jhon309 0:c52df770855b 47
jhon309 0:c52df770855b 48 /* Includes ------------------------------------------------------------------*/
jhon309 0:c52df770855b 49 #include "stm32f0xx_hal_def.h"
jhon309 0:c52df770855b 50
jhon309 0:c52df770855b 51 /** @addtogroup STM32F0xx_HAL_Driver
jhon309 0:c52df770855b 52 * @{
jhon309 0:c52df770855b 53 */
jhon309 0:c52df770855b 54
jhon309 0:c52df770855b 55 /** @addtogroup SMARTCARDEx
jhon309 0:c52df770855b 56 * @{
jhon309 0:c52df770855b 57 */
jhon309 0:c52df770855b 58
jhon309 0:c52df770855b 59 /* Exported types ------------------------------------------------------------*/
jhon309 0:c52df770855b 60 /* Exported constants --------------------------------------------------------*/
jhon309 0:c52df770855b 61 /* Exported macro ------------------------------------------------------------*/
jhon309 0:c52df770855b 62
jhon309 0:c52df770855b 63 /** @defgroup SMARTCARD_Extended_Exported_Macros SMARTCARDEx Exported Macros
jhon309 0:c52df770855b 64 * @{
jhon309 0:c52df770855b 65 */
jhon309 0:c52df770855b 66
jhon309 0:c52df770855b 67 /** @brief Reports the SMARTCARD clock source.
jhon309 0:c52df770855b 68 * @param __HANDLE__: specifies the SMARTCARD Handle
jhon309 0:c52df770855b 69 * @param __CLOCKSOURCE__ : output variable
jhon309 0:c52df770855b 70 * @retval the SMARTCARD clocking source, written in __CLOCKSOURCE__.
jhon309 0:c52df770855b 71 */
jhon309 0:c52df770855b 72 #if defined(STM32F031x6) || defined(STM32F038xx)
jhon309 0:c52df770855b 73 #define __HAL_SMARTCARD_GETCLOCKSOURCE(__HANDLE__,__CLOCKSOURCE__) \
jhon309 0:c52df770855b 74 do { \
jhon309 0:c52df770855b 75 switch(__HAL_RCC_GET_USART1_SOURCE()) \
jhon309 0:c52df770855b 76 { \
jhon309 0:c52df770855b 77 case RCC_USART1CLKSOURCE_PCLK1: \
jhon309 0:c52df770855b 78 (__CLOCKSOURCE__) = SMARTCARD_CLOCKSOURCE_PCLK1; \
jhon309 0:c52df770855b 79 break; \
jhon309 0:c52df770855b 80 case RCC_USART1CLKSOURCE_HSI: \
jhon309 0:c52df770855b 81 (__CLOCKSOURCE__) = SMARTCARD_CLOCKSOURCE_HSI; \
jhon309 0:c52df770855b 82 break; \
jhon309 0:c52df770855b 83 case RCC_USART1CLKSOURCE_SYSCLK: \
jhon309 0:c52df770855b 84 (__CLOCKSOURCE__) = SMARTCARD_CLOCKSOURCE_SYSCLK; \
jhon309 0:c52df770855b 85 break; \
jhon309 0:c52df770855b 86 case RCC_USART1CLKSOURCE_LSE: \
jhon309 0:c52df770855b 87 (__CLOCKSOURCE__) = SMARTCARD_CLOCKSOURCE_LSE; \
jhon309 0:c52df770855b 88 break; \
jhon309 0:c52df770855b 89 default: \
jhon309 0:c52df770855b 90 (__CLOCKSOURCE__) = SMARTCARD_CLOCKSOURCE_UNDEFINED; \
jhon309 0:c52df770855b 91 break; \
jhon309 0:c52df770855b 92 } \
jhon309 0:c52df770855b 93 } while(0)
jhon309 0:c52df770855b 94 #elif defined (STM32F030x8) || \
jhon309 0:c52df770855b 95 defined (STM32F042x6) || defined (STM32F048xx) || \
jhon309 0:c52df770855b 96 defined (STM32F051x8) || defined (STM32F058xx)
jhon309 0:c52df770855b 97 #define __HAL_SMARTCARD_GETCLOCKSOURCE(__HANDLE__,__CLOCKSOURCE__) \
jhon309 0:c52df770855b 98 do { \
jhon309 0:c52df770855b 99 if((__HANDLE__)->Instance == USART1) \
jhon309 0:c52df770855b 100 { \
jhon309 0:c52df770855b 101 switch(__HAL_RCC_GET_USART1_SOURCE()) \
jhon309 0:c52df770855b 102 { \
jhon309 0:c52df770855b 103 case RCC_USART1CLKSOURCE_PCLK1: \
jhon309 0:c52df770855b 104 (__CLOCKSOURCE__) = SMARTCARD_CLOCKSOURCE_PCLK1; \
jhon309 0:c52df770855b 105 break; \
jhon309 0:c52df770855b 106 case RCC_USART1CLKSOURCE_HSI: \
jhon309 0:c52df770855b 107 (__CLOCKSOURCE__) = SMARTCARD_CLOCKSOURCE_HSI; \
jhon309 0:c52df770855b 108 break; \
jhon309 0:c52df770855b 109 case RCC_USART1CLKSOURCE_SYSCLK: \
jhon309 0:c52df770855b 110 (__CLOCKSOURCE__) = SMARTCARD_CLOCKSOURCE_SYSCLK; \
jhon309 0:c52df770855b 111 break; \
jhon309 0:c52df770855b 112 case RCC_USART1CLKSOURCE_LSE: \
jhon309 0:c52df770855b 113 (__CLOCKSOURCE__) = SMARTCARD_CLOCKSOURCE_LSE; \
jhon309 0:c52df770855b 114 break; \
jhon309 0:c52df770855b 115 default: \
jhon309 0:c52df770855b 116 (__CLOCKSOURCE__) = SMARTCARD_CLOCKSOURCE_UNDEFINED; \
jhon309 0:c52df770855b 117 break; \
jhon309 0:c52df770855b 118 } \
jhon309 0:c52df770855b 119 } \
jhon309 0:c52df770855b 120 else if((__HANDLE__)->Instance == USART2) \
jhon309 0:c52df770855b 121 { \
jhon309 0:c52df770855b 122 (__CLOCKSOURCE__) = SMARTCARD_CLOCKSOURCE_PCLK1; \
jhon309 0:c52df770855b 123 } \
jhon309 0:c52df770855b 124 else \
jhon309 0:c52df770855b 125 { \
jhon309 0:c52df770855b 126 (__CLOCKSOURCE__) = SMARTCARD_CLOCKSOURCE_UNDEFINED; \
jhon309 0:c52df770855b 127 } \
jhon309 0:c52df770855b 128 } while(0)
jhon309 0:c52df770855b 129 #elif defined(STM32F071xB) || defined(STM32F072xB) || defined(STM32F078xx)
jhon309 0:c52df770855b 130 #define __HAL_SMARTCARD_GETCLOCKSOURCE(__HANDLE__,__CLOCKSOURCE__) \
jhon309 0:c52df770855b 131 do { \
jhon309 0:c52df770855b 132 if((__HANDLE__)->Instance == USART1) \
jhon309 0:c52df770855b 133 { \
jhon309 0:c52df770855b 134 switch(__HAL_RCC_GET_USART1_SOURCE()) \
jhon309 0:c52df770855b 135 { \
jhon309 0:c52df770855b 136 case RCC_USART1CLKSOURCE_PCLK1: \
jhon309 0:c52df770855b 137 (__CLOCKSOURCE__) = SMARTCARD_CLOCKSOURCE_PCLK1; \
jhon309 0:c52df770855b 138 break; \
jhon309 0:c52df770855b 139 case RCC_USART1CLKSOURCE_HSI: \
jhon309 0:c52df770855b 140 (__CLOCKSOURCE__) = SMARTCARD_CLOCKSOURCE_HSI; \
jhon309 0:c52df770855b 141 break; \
jhon309 0:c52df770855b 142 case RCC_USART1CLKSOURCE_SYSCLK: \
jhon309 0:c52df770855b 143 (__CLOCKSOURCE__) = SMARTCARD_CLOCKSOURCE_SYSCLK; \
jhon309 0:c52df770855b 144 break; \
jhon309 0:c52df770855b 145 case RCC_USART1CLKSOURCE_LSE: \
jhon309 0:c52df770855b 146 (__CLOCKSOURCE__) = SMARTCARD_CLOCKSOURCE_LSE; \
jhon309 0:c52df770855b 147 break; \
jhon309 0:c52df770855b 148 default: \
jhon309 0:c52df770855b 149 (__CLOCKSOURCE__) = SMARTCARD_CLOCKSOURCE_UNDEFINED; \
jhon309 0:c52df770855b 150 break; \
jhon309 0:c52df770855b 151 } \
jhon309 0:c52df770855b 152 } \
jhon309 0:c52df770855b 153 else if((__HANDLE__)->Instance == USART2) \
jhon309 0:c52df770855b 154 { \
jhon309 0:c52df770855b 155 switch(__HAL_RCC_GET_USART2_SOURCE()) \
jhon309 0:c52df770855b 156 { \
jhon309 0:c52df770855b 157 case RCC_USART2CLKSOURCE_PCLK1: \
jhon309 0:c52df770855b 158 (__CLOCKSOURCE__) = SMARTCARD_CLOCKSOURCE_PCLK1; \
jhon309 0:c52df770855b 159 break; \
jhon309 0:c52df770855b 160 case RCC_USART2CLKSOURCE_HSI: \
jhon309 0:c52df770855b 161 (__CLOCKSOURCE__) = SMARTCARD_CLOCKSOURCE_HSI; \
jhon309 0:c52df770855b 162 break; \
jhon309 0:c52df770855b 163 case RCC_USART2CLKSOURCE_SYSCLK: \
jhon309 0:c52df770855b 164 (__CLOCKSOURCE__) = SMARTCARD_CLOCKSOURCE_SYSCLK; \
jhon309 0:c52df770855b 165 break; \
jhon309 0:c52df770855b 166 case RCC_USART2CLKSOURCE_LSE: \
jhon309 0:c52df770855b 167 (__CLOCKSOURCE__) = SMARTCARD_CLOCKSOURCE_LSE; \
jhon309 0:c52df770855b 168 break; \
jhon309 0:c52df770855b 169 default: \
jhon309 0:c52df770855b 170 (__CLOCKSOURCE__) = SMARTCARD_CLOCKSOURCE_UNDEFINED; \
jhon309 0:c52df770855b 171 break; \
jhon309 0:c52df770855b 172 } \
jhon309 0:c52df770855b 173 } \
jhon309 0:c52df770855b 174 else if((__HANDLE__)->Instance == USART3) \
jhon309 0:c52df770855b 175 { \
jhon309 0:c52df770855b 176 (__CLOCKSOURCE__) = SMARTCARD_CLOCKSOURCE_PCLK1; \
jhon309 0:c52df770855b 177 } \
jhon309 0:c52df770855b 178 else if((__HANDLE__)->Instance == USART4) \
jhon309 0:c52df770855b 179 { \
jhon309 0:c52df770855b 180 (__CLOCKSOURCE__) = SMARTCARD_CLOCKSOURCE_PCLK1; \
jhon309 0:c52df770855b 181 } \
jhon309 0:c52df770855b 182 else \
jhon309 0:c52df770855b 183 { \
jhon309 0:c52df770855b 184 (__CLOCKSOURCE__) = SMARTCARD_CLOCKSOURCE_UNDEFINED; \
jhon309 0:c52df770855b 185 } \
jhon309 0:c52df770855b 186 } while(0)
jhon309 0:c52df770855b 187 #elif defined(STM32F091xC) || defined(STM32F098xx)
jhon309 0:c52df770855b 188 #define __HAL_SMARTCARD_GETCLOCKSOURCE(__HANDLE__,__CLOCKSOURCE__) \
jhon309 0:c52df770855b 189 do { \
jhon309 0:c52df770855b 190 if((__HANDLE__)->Instance == USART1) \
jhon309 0:c52df770855b 191 { \
jhon309 0:c52df770855b 192 switch(__HAL_RCC_GET_USART1_SOURCE()) \
jhon309 0:c52df770855b 193 { \
jhon309 0:c52df770855b 194 case RCC_USART1CLKSOURCE_PCLK1: \
jhon309 0:c52df770855b 195 (__CLOCKSOURCE__) = SMARTCARD_CLOCKSOURCE_PCLK1; \
jhon309 0:c52df770855b 196 break; \
jhon309 0:c52df770855b 197 case RCC_USART1CLKSOURCE_HSI: \
jhon309 0:c52df770855b 198 (__CLOCKSOURCE__) = SMARTCARD_CLOCKSOURCE_HSI; \
jhon309 0:c52df770855b 199 break; \
jhon309 0:c52df770855b 200 case RCC_USART1CLKSOURCE_SYSCLK: \
jhon309 0:c52df770855b 201 (__CLOCKSOURCE__) = SMARTCARD_CLOCKSOURCE_SYSCLK; \
jhon309 0:c52df770855b 202 break; \
jhon309 0:c52df770855b 203 case RCC_USART1CLKSOURCE_LSE: \
jhon309 0:c52df770855b 204 (__CLOCKSOURCE__) = SMARTCARD_CLOCKSOURCE_LSE; \
jhon309 0:c52df770855b 205 break; \
jhon309 0:c52df770855b 206 default: \
jhon309 0:c52df770855b 207 (__CLOCKSOURCE__) = SMARTCARD_CLOCKSOURCE_UNDEFINED; \
jhon309 0:c52df770855b 208 break; \
jhon309 0:c52df770855b 209 } \
jhon309 0:c52df770855b 210 } \
jhon309 0:c52df770855b 211 else if((__HANDLE__)->Instance == USART2) \
jhon309 0:c52df770855b 212 { \
jhon309 0:c52df770855b 213 switch(__HAL_RCC_GET_USART2_SOURCE()) \
jhon309 0:c52df770855b 214 { \
jhon309 0:c52df770855b 215 case RCC_USART2CLKSOURCE_PCLK1: \
jhon309 0:c52df770855b 216 (__CLOCKSOURCE__) = SMARTCARD_CLOCKSOURCE_PCLK1; \
jhon309 0:c52df770855b 217 break; \
jhon309 0:c52df770855b 218 case RCC_USART2CLKSOURCE_HSI: \
jhon309 0:c52df770855b 219 (__CLOCKSOURCE__) = SMARTCARD_CLOCKSOURCE_HSI; \
jhon309 0:c52df770855b 220 break; \
jhon309 0:c52df770855b 221 case RCC_USART2CLKSOURCE_SYSCLK: \
jhon309 0:c52df770855b 222 (__CLOCKSOURCE__) = SMARTCARD_CLOCKSOURCE_SYSCLK; \
jhon309 0:c52df770855b 223 break; \
jhon309 0:c52df770855b 224 case RCC_USART2CLKSOURCE_LSE: \
jhon309 0:c52df770855b 225 (__CLOCKSOURCE__) = SMARTCARD_CLOCKSOURCE_LSE; \
jhon309 0:c52df770855b 226 break; \
jhon309 0:c52df770855b 227 default: \
jhon309 0:c52df770855b 228 (__CLOCKSOURCE__) = SMARTCARD_CLOCKSOURCE_UNDEFINED; \
jhon309 0:c52df770855b 229 break; \
jhon309 0:c52df770855b 230 } \
jhon309 0:c52df770855b 231 } \
jhon309 0:c52df770855b 232 else if((__HANDLE__)->Instance == USART3) \
jhon309 0:c52df770855b 233 { \
jhon309 0:c52df770855b 234 switch(__HAL_RCC_GET_USART3_SOURCE()) \
jhon309 0:c52df770855b 235 { \
jhon309 0:c52df770855b 236 case RCC_USART3CLKSOURCE_PCLK1: \
jhon309 0:c52df770855b 237 (__CLOCKSOURCE__) = SMARTCARD_CLOCKSOURCE_PCLK1; \
jhon309 0:c52df770855b 238 break; \
jhon309 0:c52df770855b 239 case RCC_USART3CLKSOURCE_HSI: \
jhon309 0:c52df770855b 240 (__CLOCKSOURCE__) = SMARTCARD_CLOCKSOURCE_HSI; \
jhon309 0:c52df770855b 241 break; \
jhon309 0:c52df770855b 242 case RCC_USART3CLKSOURCE_SYSCLK: \
jhon309 0:c52df770855b 243 (__CLOCKSOURCE__) = SMARTCARD_CLOCKSOURCE_SYSCLK; \
jhon309 0:c52df770855b 244 break; \
jhon309 0:c52df770855b 245 case RCC_USART3CLKSOURCE_LSE: \
jhon309 0:c52df770855b 246 (__CLOCKSOURCE__) = SMARTCARD_CLOCKSOURCE_LSE; \
jhon309 0:c52df770855b 247 break; \
jhon309 0:c52df770855b 248 default: \
jhon309 0:c52df770855b 249 (__CLOCKSOURCE__) = SMARTCARD_CLOCKSOURCE_UNDEFINED; \
jhon309 0:c52df770855b 250 break; \
jhon309 0:c52df770855b 251 } \
jhon309 0:c52df770855b 252 } \
jhon309 0:c52df770855b 253 else if((__HANDLE__)->Instance == USART4) \
jhon309 0:c52df770855b 254 { \
jhon309 0:c52df770855b 255 (__CLOCKSOURCE__) = SMARTCARD_CLOCKSOURCE_PCLK1; \
jhon309 0:c52df770855b 256 } \
jhon309 0:c52df770855b 257 else if((__HANDLE__)->Instance == USART5) \
jhon309 0:c52df770855b 258 { \
jhon309 0:c52df770855b 259 (__CLOCKSOURCE__) = SMARTCARD_CLOCKSOURCE_PCLK1; \
jhon309 0:c52df770855b 260 } \
jhon309 0:c52df770855b 261 else if((__HANDLE__)->Instance == USART6) \
jhon309 0:c52df770855b 262 { \
jhon309 0:c52df770855b 263 (__CLOCKSOURCE__) = SMARTCARD_CLOCKSOURCE_PCLK1; \
jhon309 0:c52df770855b 264 } \
jhon309 0:c52df770855b 265 else if((__HANDLE__)->Instance == USART7) \
jhon309 0:c52df770855b 266 { \
jhon309 0:c52df770855b 267 (__CLOCKSOURCE__) = SMARTCARD_CLOCKSOURCE_PCLK1; \
jhon309 0:c52df770855b 268 } \
jhon309 0:c52df770855b 269 else if((__HANDLE__)->Instance == USART8) \
jhon309 0:c52df770855b 270 { \
jhon309 0:c52df770855b 271 (__CLOCKSOURCE__) = SMARTCARD_CLOCKSOURCE_PCLK1; \
jhon309 0:c52df770855b 272 } \
jhon309 0:c52df770855b 273 else \
jhon309 0:c52df770855b 274 { \
jhon309 0:c52df770855b 275 (__CLOCKSOURCE__) = SMARTCARD_CLOCKSOURCE_UNDEFINED; \
jhon309 0:c52df770855b 276 } \
jhon309 0:c52df770855b 277 } while(0)
jhon309 0:c52df770855b 278 #endif /* defined(STM32F031x6) || defined(STM32F038xx) */
jhon309 0:c52df770855b 279
jhon309 0:c52df770855b 280 /**
jhon309 0:c52df770855b 281 * @}
jhon309 0:c52df770855b 282 */
jhon309 0:c52df770855b 283
jhon309 0:c52df770855b 284 /* Exported functions --------------------------------------------------------*/
jhon309 0:c52df770855b 285
jhon309 0:c52df770855b 286 /* Initialization and de-initialization functions ****************************/
jhon309 0:c52df770855b 287 /* IO operation functions *****************************************************/
jhon309 0:c52df770855b 288
jhon309 0:c52df770855b 289 /** @addtogroup SMARTCARDEx_Exported_Functions
jhon309 0:c52df770855b 290 * @{
jhon309 0:c52df770855b 291 */
jhon309 0:c52df770855b 292
jhon309 0:c52df770855b 293 /** @addtogroup SMARTCARDEx_Exported_Functions_Group1
jhon309 0:c52df770855b 294 * @{
jhon309 0:c52df770855b 295 */
jhon309 0:c52df770855b 296
jhon309 0:c52df770855b 297 /* Peripheral Control functions ***********************************************/
jhon309 0:c52df770855b 298 void HAL_SMARTCARDEx_BlockLength_Config(SMARTCARD_HandleTypeDef *hsmartcard, uint8_t BlockLength);
jhon309 0:c52df770855b 299 void HAL_SMARTCARDEx_TimeOut_Config(SMARTCARD_HandleTypeDef *hsmartcard, uint32_t TimeOutValue);
jhon309 0:c52df770855b 300 HAL_StatusTypeDef HAL_SMARTCARDEx_EnableReceiverTimeOut(SMARTCARD_HandleTypeDef *hsmartcard);
jhon309 0:c52df770855b 301 HAL_StatusTypeDef HAL_SMARTCARDEx_DisableReceiverTimeOut(SMARTCARD_HandleTypeDef *hsmartcard);
jhon309 0:c52df770855b 302
jhon309 0:c52df770855b 303 /* Peripheral State and Error functions ***************************************/
jhon309 0:c52df770855b 304
jhon309 0:c52df770855b 305 /**
jhon309 0:c52df770855b 306 * @}
jhon309 0:c52df770855b 307 */
jhon309 0:c52df770855b 308
jhon309 0:c52df770855b 309 /**
jhon309 0:c52df770855b 310 * @}
jhon309 0:c52df770855b 311 */
jhon309 0:c52df770855b 312
jhon309 0:c52df770855b 313 /**
jhon309 0:c52df770855b 314 * @}
jhon309 0:c52df770855b 315 */
jhon309 0:c52df770855b 316
jhon309 0:c52df770855b 317 /**
jhon309 0:c52df770855b 318 * @}
jhon309 0:c52df770855b 319 */
jhon309 0:c52df770855b 320
jhon309 0:c52df770855b 321 #endif /* !defined(STM32F030x6) && !defined(STM32F030x8)&& !defined(STM32F070x6) && !defined(STM32F070xB) && !defined(STM32F030xC) */
jhon309 0:c52df770855b 322
jhon309 0:c52df770855b 323 #ifdef __cplusplus
jhon309 0:c52df770855b 324 }
jhon309 0:c52df770855b 325 #endif
jhon309 0:c52df770855b 326
jhon309 0:c52df770855b 327 #endif /* __STM32F0xx_HAL_SMARTCARD_EX_H */
jhon309 0:c52df770855b 328
jhon309 0:c52df770855b 329 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
jhon309 0:c52df770855b 330