mbed(SerialHalfDuplex入り)

Fork of mbed by mbed official

Committer:
Kojto
Date:
Tue Mar 17 14:27:45 2015 +0000
Revision:
96:487b796308b0
Release 96 of the mbed library

Changes:
- IAR support for ble boards, lpc, ethernet stack
- RTC - attach function to redirect time functions
- Nucleo F103RB - cube driver
- k20xx - fixes for teensy and k20 platforms in sleep/deepsleep and usb
- STM32L0, Nucleo/Disco L053 - refactoring

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Kojto 96:487b796308b0 1 /**
Kojto 96:487b796308b0 2 ******************************************************************************
Kojto 96:487b796308b0 3 * @file stm32f1xx_hal.h
Kojto 96:487b796308b0 4 * @author MCD Application Team
Kojto 96:487b796308b0 5 * @version V1.0.0
Kojto 96:487b796308b0 6 * @date 15-December-2014
Kojto 96:487b796308b0 7 * @brief This file contains all the functions prototypes for the HAL
Kojto 96:487b796308b0 8 * module driver.
Kojto 96:487b796308b0 9 ******************************************************************************
Kojto 96:487b796308b0 10 * @attention
Kojto 96:487b796308b0 11 *
Kojto 96:487b796308b0 12 * <h2><center>&copy; COPYRIGHT(c) 2014 STMicroelectronics</center></h2>
Kojto 96:487b796308b0 13 *
Kojto 96:487b796308b0 14 * Redistribution and use in source and binary forms, with or without modification,
Kojto 96:487b796308b0 15 * are permitted provided that the following conditions are met:
Kojto 96:487b796308b0 16 * 1. Redistributions of source code must retain the above copyright notice,
Kojto 96:487b796308b0 17 * this list of conditions and the following disclaimer.
Kojto 96:487b796308b0 18 * 2. Redistributions in binary form must reproduce the above copyright notice,
Kojto 96:487b796308b0 19 * this list of conditions and the following disclaimer in the documentation
Kojto 96:487b796308b0 20 * and/or other materials provided with the distribution.
Kojto 96:487b796308b0 21 * 3. Neither the name of STMicroelectronics nor the names of its contributors
Kojto 96:487b796308b0 22 * may be used to endorse or promote products derived from this software
Kojto 96:487b796308b0 23 * without specific prior written permission.
Kojto 96:487b796308b0 24 *
Kojto 96:487b796308b0 25 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
Kojto 96:487b796308b0 26 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
Kojto 96:487b796308b0 27 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
Kojto 96:487b796308b0 28 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
Kojto 96:487b796308b0 29 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
Kojto 96:487b796308b0 30 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
Kojto 96:487b796308b0 31 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
Kojto 96:487b796308b0 32 * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
Kojto 96:487b796308b0 33 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
Kojto 96:487b796308b0 34 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Kojto 96:487b796308b0 35 *
Kojto 96:487b796308b0 36 ******************************************************************************
Kojto 96:487b796308b0 37 */
Kojto 96:487b796308b0 38
Kojto 96:487b796308b0 39 /* Define to prevent recursive inclusion -------------------------------------*/
Kojto 96:487b796308b0 40 #ifndef __STM32F1xx_HAL_H
Kojto 96:487b796308b0 41 #define __STM32F1xx_HAL_H
Kojto 96:487b796308b0 42
Kojto 96:487b796308b0 43 #ifdef __cplusplus
Kojto 96:487b796308b0 44 extern "C" {
Kojto 96:487b796308b0 45 #endif
Kojto 96:487b796308b0 46
Kojto 96:487b796308b0 47 /* Includes ------------------------------------------------------------------*/
Kojto 96:487b796308b0 48 #include "stm32f1xx_hal_conf.h"
Kojto 96:487b796308b0 49
Kojto 96:487b796308b0 50 /** @addtogroup STM32F1xx_HAL_Driver
Kojto 96:487b796308b0 51 * @{
Kojto 96:487b796308b0 52 */
Kojto 96:487b796308b0 53
Kojto 96:487b796308b0 54 /** @addtogroup HAL
Kojto 96:487b796308b0 55 * @{
Kojto 96:487b796308b0 56 */
Kojto 96:487b796308b0 57
Kojto 96:487b796308b0 58 /* Exported types ------------------------------------------------------------*/
Kojto 96:487b796308b0 59 /* Exported constants --------------------------------------------------------*/
Kojto 96:487b796308b0 60
Kojto 96:487b796308b0 61 /* Exported macro ------------------------------------------------------------*/
Kojto 96:487b796308b0 62
Kojto 96:487b796308b0 63 /** @defgroup HAL_Exported_Macros HAL Exported Macros
Kojto 96:487b796308b0 64 * @{
Kojto 96:487b796308b0 65 */
Kojto 96:487b796308b0 66
Kojto 96:487b796308b0 67 /** @defgroup DBGMCU_Freeze_Unfreeze Freeze Unfreeze Peripherals in Debug mode
Kojto 96:487b796308b0 68 * @brief Freeze/Unfreeze Peripherals in Debug mode
Kojto 96:487b796308b0 69 * Note: On devices STM32F10xx8 and STM32F10xxB,
Kojto 96:487b796308b0 70 * STM32F101xC/D/E and STM32F103xC/D/E,
Kojto 96:487b796308b0 71 * STM32F101xF/G and STM32F103xF/G
Kojto 96:487b796308b0 72 * STM32F10xx4 and STM32F10xx6
Kojto 96:487b796308b0 73 * Debug registers DBGMCU_IDCODE and DBGMCU_CR are accessible only in
Kojto 96:487b796308b0 74 * debug mode (not accessible by the user software in normal mode).
Kojto 96:487b796308b0 75 * Refer to errata sheet of these devices for more details.
Kojto 96:487b796308b0 76 * @{
Kojto 96:487b796308b0 77 */
Kojto 96:487b796308b0 78
Kojto 96:487b796308b0 79 /* Peripherals on APB1 */
Kojto 96:487b796308b0 80 /**
Kojto 96:487b796308b0 81 * @brief TIM2 Peripherals Debug mode
Kojto 96:487b796308b0 82 */
Kojto 96:487b796308b0 83 #define __HAL_DBGMCU_FREEZE_TIM2() SET_BIT(DBGMCU->CR, DBGMCU_CR_DBG_TIM2_STOP)
Kojto 96:487b796308b0 84 #define __HAL_DBGMCU_UNFREEZE_TIM2() CLEAR_BIT(DBGMCU->CR, DBGMCU_CR_DBG_TIM2_STOP)
Kojto 96:487b796308b0 85
Kojto 96:487b796308b0 86 /**
Kojto 96:487b796308b0 87 * @brief TIM3 Peripherals Debug mode
Kojto 96:487b796308b0 88 */
Kojto 96:487b796308b0 89 #define __HAL_DBGMCU_FREEZE_TIM3() SET_BIT(DBGMCU->CR, DBGMCU_CR_DBG_TIM3_STOP)
Kojto 96:487b796308b0 90 #define __HAL_DBGMCU_UNFREEZE_TIM3() CLEAR_BIT(DBGMCU->CR, DBGMCU_CR_DBG_TIM3_STOP)
Kojto 96:487b796308b0 91
Kojto 96:487b796308b0 92 #if defined (DBGMCU_CR_DBG_TIM4_STOP)
Kojto 96:487b796308b0 93 /**
Kojto 96:487b796308b0 94 * @brief TIM4 Peripherals Debug mode
Kojto 96:487b796308b0 95 */
Kojto 96:487b796308b0 96 #define __HAL_DBGMCU_FREEZE_TIM4() SET_BIT(DBGMCU->CR, DBGMCU_CR_DBG_TIM4_STOP)
Kojto 96:487b796308b0 97 #define __HAL_DBGMCU_UNFREEZE_TIM4() CLEAR_BIT(DBGMCU->CR, DBGMCU_CR_DBG_TIM4_STOP)
Kojto 96:487b796308b0 98 #endif
Kojto 96:487b796308b0 99
Kojto 96:487b796308b0 100 #if defined (DBGMCU_CR_DBG_TIM5_STOP)
Kojto 96:487b796308b0 101 /**
Kojto 96:487b796308b0 102 * @brief TIM5 Peripherals Debug mode
Kojto 96:487b796308b0 103 */
Kojto 96:487b796308b0 104 #define __HAL_DBGMCU_FREEZE_TIM5() SET_BIT(DBGMCU->CR, DBGMCU_CR_DBG_TIM5_STOP)
Kojto 96:487b796308b0 105 #define __HAL_DBGMCU_UNFREEZE_TIM5() CLEAR_BIT(DBGMCU->CR, DBGMCU_CR_DBG_TIM5_STOP)
Kojto 96:487b796308b0 106 #endif
Kojto 96:487b796308b0 107
Kojto 96:487b796308b0 108 #if defined (DBGMCU_CR_DBG_TIM6_STOP)
Kojto 96:487b796308b0 109 /**
Kojto 96:487b796308b0 110 * @brief TIM6 Peripherals Debug mode
Kojto 96:487b796308b0 111 */
Kojto 96:487b796308b0 112 #define __HAL_DBGMCU_FREEZE_TIM6() SET_BIT(DBGMCU->CR, DBGMCU_CR_DBG_TIM6_STOP)
Kojto 96:487b796308b0 113 #define __HAL_DBGMCU_UNFREEZE_TIM6() CLEAR_BIT(DBGMCU->CR, DBGMCU_CR_DBG_TIM6_STOP)
Kojto 96:487b796308b0 114 #endif
Kojto 96:487b796308b0 115
Kojto 96:487b796308b0 116 #if defined (DBGMCU_CR_DBG_TIM7_STOP)
Kojto 96:487b796308b0 117 /**
Kojto 96:487b796308b0 118 * @brief TIM7 Peripherals Debug mode
Kojto 96:487b796308b0 119 */
Kojto 96:487b796308b0 120 #define __HAL_DBGMCU_FREEZE_TIM7() SET_BIT(DBGMCU->CR, DBGMCU_CR_DBG_TIM7_STOP)
Kojto 96:487b796308b0 121 #define __HAL_DBGMCU_UNFREEZE_TIM7() CLEAR_BIT(DBGMCU->CR, DBGMCU_CR_DBG_TIM7_STOP)
Kojto 96:487b796308b0 122 #endif
Kojto 96:487b796308b0 123
Kojto 96:487b796308b0 124 #if defined (DBGMCU_CR_DBG_TIM12_STOP)
Kojto 96:487b796308b0 125 /**
Kojto 96:487b796308b0 126 * @brief TIM12 Peripherals Debug mode
Kojto 96:487b796308b0 127 */
Kojto 96:487b796308b0 128 #define __HAL_DBGMCU_FREEZE_TIM12() SET_BIT(DBGMCU->CR, DBGMCU_CR_DBG_TIM12_STOP)
Kojto 96:487b796308b0 129 #define __HAL_DBGMCU_UNFREEZE_TIM12() CLEAR_BIT(DBGMCU->CR, DBGMCU_CR_DBG_TIM12_STOP)
Kojto 96:487b796308b0 130 #endif
Kojto 96:487b796308b0 131
Kojto 96:487b796308b0 132 #if defined (DBGMCU_CR_DBG_TIM13_STOP)
Kojto 96:487b796308b0 133 /**
Kojto 96:487b796308b0 134 * @brief TIM13 Peripherals Debug mode
Kojto 96:487b796308b0 135 */
Kojto 96:487b796308b0 136 #define __HAL_DBGMCU_FREEZE_TIM13() SET_BIT(DBGMCU->CR, DBGMCU_CR_DBG_TIM13_STOP)
Kojto 96:487b796308b0 137 #define __HAL_DBGMCU_UNFREEZE_TIM13() CLEAR_BIT(DBGMCU->CR, DBGMCU_CR_DBG_TIM13_STOP)
Kojto 96:487b796308b0 138 #endif
Kojto 96:487b796308b0 139
Kojto 96:487b796308b0 140 #if defined (DBGMCU_CR_DBG_TIM14_STOP)
Kojto 96:487b796308b0 141 /**
Kojto 96:487b796308b0 142 * @brief TIM14 Peripherals Debug mode
Kojto 96:487b796308b0 143 */
Kojto 96:487b796308b0 144 #define __HAL_DBGMCU_FREEZE_TIM14() SET_BIT(DBGMCU->CR, DBGMCU_CR_DBG_TIM14_STOP)
Kojto 96:487b796308b0 145 #define __HAL_DBGMCU_UNFREEZE_TIM14() CLEAR_BIT(DBGMCU->CR, DBGMCU_CR_DBG_TIM14_STOP)
Kojto 96:487b796308b0 146 #endif
Kojto 96:487b796308b0 147
Kojto 96:487b796308b0 148 /**
Kojto 96:487b796308b0 149 * @brief WWDG Peripherals Debug mode
Kojto 96:487b796308b0 150 */
Kojto 96:487b796308b0 151 #define __HAL_DBGMCU_FREEZE_WWDG() SET_BIT(DBGMCU->CR, DBGMCU_CR_DBG_WWDG_STOP)
Kojto 96:487b796308b0 152 #define __HAL_DBGMCU_UNFREEZE_WWDG() CLEAR_BIT(DBGMCU->CR, DBGMCU_CR_DBG_WWDG_STOP)
Kojto 96:487b796308b0 153
Kojto 96:487b796308b0 154 /**
Kojto 96:487b796308b0 155 * @brief IWDG Peripherals Debug mode
Kojto 96:487b796308b0 156 */
Kojto 96:487b796308b0 157 #define __HAL_DBGMCU_FREEZE_IWDG() SET_BIT(DBGMCU->CR, DBGMCU_CR_DBG_IWDG_STOP)
Kojto 96:487b796308b0 158 #define __HAL_DBGMCU_UNFREEZE_IWDG() CLEAR_BIT(DBGMCU->CR, DBGMCU_CR_DBG_IWDG_STOP)
Kojto 96:487b796308b0 159
Kojto 96:487b796308b0 160 /**
Kojto 96:487b796308b0 161 * @brief I2C1 Peripherals Debug mode
Kojto 96:487b796308b0 162 */
Kojto 96:487b796308b0 163 #define __HAL_DBGMCU_FREEZE_I2C1_TIMEOUT() SET_BIT(DBGMCU->CR, DBGMCU_CR_DBG_I2C1_SMBUS_TIMEOUT)
Kojto 96:487b796308b0 164 #define __HAL_DBGMCU_UNFREEZE_I2C1_TIMEOUT() CLEAR_BIT(DBGMCU->CR, DBGMCU_CR_DBG_I2C1_SMBUS_TIMEOUT)
Kojto 96:487b796308b0 165
Kojto 96:487b796308b0 166 #if defined (DBGMCU_CR_DBG_I2C2_SMBUS_TIMEOUT)
Kojto 96:487b796308b0 167 /**
Kojto 96:487b796308b0 168 * @brief I2C2 Peripherals Debug mode
Kojto 96:487b796308b0 169 */
Kojto 96:487b796308b0 170 #define __HAL_DBGMCU_FREEZE_I2C2_TIMEOUT() SET_BIT(DBGMCU->CR, DBGMCU_CR_DBG_I2C2_SMBUS_TIMEOUT)
Kojto 96:487b796308b0 171 #define __HAL_DBGMCU_UNFREEZE_I2C2_TIMEOUT() CLEAR_BIT(DBGMCU->CR, DBGMCU_CR_DBG_I2C2_SMBUS_TIMEOUT)
Kojto 96:487b796308b0 172 #endif
Kojto 96:487b796308b0 173
Kojto 96:487b796308b0 174 #if defined (DBGMCU_CR_DBG_CAN1_STOP)
Kojto 96:487b796308b0 175 /**
Kojto 96:487b796308b0 176 * @brief CAN1 Peripherals Debug mode
Kojto 96:487b796308b0 177 */
Kojto 96:487b796308b0 178 #define __HAL_DBGMCU_FREEZE_CAN1() SET_BIT(DBGMCU->CR, DBGMCU_CR_DBG_CAN1_STOP)
Kojto 96:487b796308b0 179 #define __HAL_DBGMCU_UNFREEZE_CAN1() CLEAR_BIT(DBGMCU->CR, DBGMCU_CR_DBG_CAN1_STOP)
Kojto 96:487b796308b0 180 #endif
Kojto 96:487b796308b0 181
Kojto 96:487b796308b0 182 #if defined (DBGMCU_CR_DBG_CAN2_STOP)
Kojto 96:487b796308b0 183 /**
Kojto 96:487b796308b0 184 * @brief CAN2 Peripherals Debug mode
Kojto 96:487b796308b0 185 */
Kojto 96:487b796308b0 186 #define __HAL_DBGMCU_FREEZE_CAN2() SET_BIT(DBGMCU->CR, DBGMCU_CR_DBG_CAN2_STOP)
Kojto 96:487b796308b0 187 #define __HAL_DBGMCU_UNFREEZE_CAN2() CLEAR_BIT(DBGMCU->CR, DBGMCU_CR_DBG_CAN2_STOP)
Kojto 96:487b796308b0 188 #endif
Kojto 96:487b796308b0 189
Kojto 96:487b796308b0 190 /* Peripherals on APB2 */
Kojto 96:487b796308b0 191 #if defined (DBGMCU_CR_DBG_TIM1_STOP)
Kojto 96:487b796308b0 192 /**
Kojto 96:487b796308b0 193 * @brief TIM1 Peripherals Debug mode
Kojto 96:487b796308b0 194 */
Kojto 96:487b796308b0 195 #define __HAL_DBGMCU_FREEZE_TIM1() SET_BIT(DBGMCU->CR, DBGMCU_CR_DBG_TIM1_STOP)
Kojto 96:487b796308b0 196 #define __HAL_DBGMCU_UNFREEZE_TIM1() CLEAR_BIT(DBGMCU->CR, DBGMCU_CR_DBG_TIM1_STOP)
Kojto 96:487b796308b0 197 #endif
Kojto 96:487b796308b0 198
Kojto 96:487b796308b0 199 #if defined (DBGMCU_CR_DBG_TIM8_STOP)
Kojto 96:487b796308b0 200 /**
Kojto 96:487b796308b0 201 * @brief TIM8 Peripherals Debug mode
Kojto 96:487b796308b0 202 */
Kojto 96:487b796308b0 203 #define __HAL_DBGMCU_FREEZE_TIM8() SET_BIT(DBGMCU->CR, DBGMCU_CR_DBG_TIM8_STOP)
Kojto 96:487b796308b0 204 #define __HAL_DBGMCU_UNFREEZE_TIM8() CLEAR_BIT(DBGMCU->CR, DBGMCU_CR_DBG_TIM8_STOP)
Kojto 96:487b796308b0 205 #endif
Kojto 96:487b796308b0 206
Kojto 96:487b796308b0 207 #if defined (DBGMCU_CR_DBG_TIM9_STOP)
Kojto 96:487b796308b0 208 /**
Kojto 96:487b796308b0 209 * @brief TIM9 Peripherals Debug mode
Kojto 96:487b796308b0 210 */
Kojto 96:487b796308b0 211 #define __HAL_DBGMCU_FREEZE_TIM9() SET_BIT(DBGMCU->CR, DBGMCU_CR_DBG_TIM9_STOP)
Kojto 96:487b796308b0 212 #define __HAL_DBGMCU_UNFREEZE_TIM9() CLEAR_BIT(DBGMCU->CR, DBGMCU_CR_DBG_TIM9_STOP)
Kojto 96:487b796308b0 213 #endif
Kojto 96:487b796308b0 214
Kojto 96:487b796308b0 215 #if defined (DBGMCU_CR_DBG_TIM10_STOP)
Kojto 96:487b796308b0 216 /**
Kojto 96:487b796308b0 217 * @brief TIM10 Peripherals Debug mode
Kojto 96:487b796308b0 218 */
Kojto 96:487b796308b0 219 #define __HAL_DBGMCU_FREEZE_TIM10() SET_BIT(DBGMCU->CR, DBGMCU_CR_DBG_TIM10_STOP)
Kojto 96:487b796308b0 220 #define __HAL_DBGMCU_UNFREEZE_TIM10() CLEAR_BIT(DBGMCU->CR, DBGMCU_CR_DBG_TIM10_STOP)
Kojto 96:487b796308b0 221 #endif
Kojto 96:487b796308b0 222
Kojto 96:487b796308b0 223 #if defined (DBGMCU_CR_DBG_TIM11_STOP)
Kojto 96:487b796308b0 224 /**
Kojto 96:487b796308b0 225 * @brief TIM11 Peripherals Debug mode
Kojto 96:487b796308b0 226 */
Kojto 96:487b796308b0 227 #define __HAL_DBGMCU_FREEZE_TIM11() SET_BIT(DBGMCU->CR, DBGMCU_CR_DBG_TIM11_STOP)
Kojto 96:487b796308b0 228 #define __HAL_DBGMCU_UNFREEZE_TIM11() CLEAR_BIT(DBGMCU->CR, DBGMCU_CR_DBG_TIM11_STOP)
Kojto 96:487b796308b0 229 #endif
Kojto 96:487b796308b0 230
Kojto 96:487b796308b0 231
Kojto 96:487b796308b0 232 #if defined (DBGMCU_CR_DBG_TIM15_STOP)
Kojto 96:487b796308b0 233 /**
Kojto 96:487b796308b0 234 * @brief TIM15 Peripherals Debug mode
Kojto 96:487b796308b0 235 */
Kojto 96:487b796308b0 236 #define __HAL_DBGMCU_FREEZE_TIM15() SET_BIT(DBGMCU->CR, DBGMCU_CR_DBG_TIM15_STOP)
Kojto 96:487b796308b0 237 #define __HAL_DBGMCU_UNFREEZE_TIM15() CLEAR_BIT(DBGMCU->CR, DBGMCU_CR_DBG_TIM15_STOP)
Kojto 96:487b796308b0 238 #endif
Kojto 96:487b796308b0 239
Kojto 96:487b796308b0 240 #if defined (DBGMCU_CR_DBG_TIM16_STOP)
Kojto 96:487b796308b0 241 /**
Kojto 96:487b796308b0 242 * @brief TIM16 Peripherals Debug mode
Kojto 96:487b796308b0 243 */
Kojto 96:487b796308b0 244 #define __HAL_DBGMCU_FREEZE_TIM16() SET_BIT(DBGMCU->CR, DBGMCU_CR_DBG_TIM16_STOP)
Kojto 96:487b796308b0 245 #define __HAL_DBGMCU_UNFREEZE_TIM16() CLEAR_BIT(DBGMCU->CR, DBGMCU_CR_DBG_TIM16_STOP)
Kojto 96:487b796308b0 246 #endif
Kojto 96:487b796308b0 247
Kojto 96:487b796308b0 248 #if defined (DBGMCU_CR_DBG_TIM17_STOP)
Kojto 96:487b796308b0 249 /**
Kojto 96:487b796308b0 250 * @brief TIM17 Peripherals Debug mode
Kojto 96:487b796308b0 251 */
Kojto 96:487b796308b0 252 #define __HAL_DBGMCU_FREEZE_TIM17() SET_BIT(DBGMCU->CR, DBGMCU_CR_DBG_TIM17_STOP)
Kojto 96:487b796308b0 253 #define __HAL_DBGMCU_UNFREEZE_TIM17() CLEAR_BIT(DBGMCU->CR, DBGMCU_CR_DBG_TIM17_STOP)
Kojto 96:487b796308b0 254 #endif
Kojto 96:487b796308b0 255
Kojto 96:487b796308b0 256 /**
Kojto 96:487b796308b0 257 * @}
Kojto 96:487b796308b0 258 */
Kojto 96:487b796308b0 259
Kojto 96:487b796308b0 260 /**
Kojto 96:487b796308b0 261 * @}
Kojto 96:487b796308b0 262 */
Kojto 96:487b796308b0 263
Kojto 96:487b796308b0 264 /* Exported functions --------------------------------------------------------*/
Kojto 96:487b796308b0 265
Kojto 96:487b796308b0 266 /** @addtogroup HAL_Exported_Functions
Kojto 96:487b796308b0 267 * @{
Kojto 96:487b796308b0 268 */
Kojto 96:487b796308b0 269
Kojto 96:487b796308b0 270 /** @addtogroup HAL_Exported_Functions_Group1
Kojto 96:487b796308b0 271 * @{
Kojto 96:487b796308b0 272 */
Kojto 96:487b796308b0 273
Kojto 96:487b796308b0 274 /* Initialization and de-initialization functions ******************************/
Kojto 96:487b796308b0 275 HAL_StatusTypeDef HAL_Init(void);
Kojto 96:487b796308b0 276 HAL_StatusTypeDef HAL_DeInit(void);
Kojto 96:487b796308b0 277 void HAL_MspInit(void);
Kojto 96:487b796308b0 278 void HAL_MspDeInit(void);
Kojto 96:487b796308b0 279 HAL_StatusTypeDef HAL_InitTick (uint32_t TickPriority);
Kojto 96:487b796308b0 280
Kojto 96:487b796308b0 281 /**
Kojto 96:487b796308b0 282 * @}
Kojto 96:487b796308b0 283 */
Kojto 96:487b796308b0 284
Kojto 96:487b796308b0 285 /** @addtogroup HAL_Exported_Functions_Group2
Kojto 96:487b796308b0 286 * @{
Kojto 96:487b796308b0 287 */
Kojto 96:487b796308b0 288
Kojto 96:487b796308b0 289 /* Peripheral Control functions ************************************************/
Kojto 96:487b796308b0 290 void HAL_IncTick(void);
Kojto 96:487b796308b0 291 void HAL_Delay(__IO uint32_t Delay);
Kojto 96:487b796308b0 292 uint32_t HAL_GetTick(void);
Kojto 96:487b796308b0 293 void HAL_SuspendTick(void);
Kojto 96:487b796308b0 294 void HAL_ResumeTick(void);
Kojto 96:487b796308b0 295 uint32_t HAL_GetHalVersion(void);
Kojto 96:487b796308b0 296 uint32_t HAL_GetREVID(void);
Kojto 96:487b796308b0 297 uint32_t HAL_GetDEVID(void);
Kojto 96:487b796308b0 298 void HAL_DBGMCU_EnableDBGSleepMode(void);
Kojto 96:487b796308b0 299 void HAL_DBGMCU_DisableDBGSleepMode(void);
Kojto 96:487b796308b0 300 void HAL_DBGMCU_EnableDBGStopMode(void);
Kojto 96:487b796308b0 301 void HAL_DBGMCU_DisableDBGStopMode(void);
Kojto 96:487b796308b0 302 void HAL_DBGMCU_EnableDBGStandbyMode(void);
Kojto 96:487b796308b0 303 void HAL_DBGMCU_DisableDBGStandbyMode(void);
Kojto 96:487b796308b0 304
Kojto 96:487b796308b0 305 /**
Kojto 96:487b796308b0 306 * @}
Kojto 96:487b796308b0 307 */
Kojto 96:487b796308b0 308
Kojto 96:487b796308b0 309 /**
Kojto 96:487b796308b0 310 * @}
Kojto 96:487b796308b0 311 */
Kojto 96:487b796308b0 312
Kojto 96:487b796308b0 313
Kojto 96:487b796308b0 314 /**
Kojto 96:487b796308b0 315 * @}
Kojto 96:487b796308b0 316 */
Kojto 96:487b796308b0 317
Kojto 96:487b796308b0 318 /**
Kojto 96:487b796308b0 319 * @}
Kojto 96:487b796308b0 320 */
Kojto 96:487b796308b0 321
Kojto 96:487b796308b0 322 #ifdef __cplusplus
Kojto 96:487b796308b0 323 }
Kojto 96:487b796308b0 324 #endif
Kojto 96:487b796308b0 325
Kojto 96:487b796308b0 326 #endif /* __STM32F1xx_HAL_H */
Kojto 96:487b796308b0 327
Kojto 96:487b796308b0 328 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/