Fork of the official mbed C/C SDK provides the software platform and libraries to build your applications for RenBED.

Dependents:   1-RenBuggyTimed RenBED_RGB RenBED_RGB_PWM RenBED_RGB

Fork of mbed by mbed official

Committer:
elijahorr
Date:
Thu Apr 14 07:28:54 2016 +0000
Revision:
121:672067c3ada4
Parent:
112:6f327212ef96
.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Kojto 112:6f327212ef96 1 /**
Kojto 112:6f327212ef96 2 ******************************************************************************
Kojto 112:6f327212ef96 3 * @file stm32f4xx_hal.h
Kojto 112:6f327212ef96 4 * @author MCD Application Team
Kojto 112:6f327212ef96 5 * @version V1.4.1
Kojto 112:6f327212ef96 6 * @date 09-October-2015
Kojto 112:6f327212ef96 7 * @brief This file contains all the functions prototypes for the HAL
Kojto 112:6f327212ef96 8 * module driver.
Kojto 112:6f327212ef96 9 ******************************************************************************
Kojto 112:6f327212ef96 10 * @attention
Kojto 112:6f327212ef96 11 *
Kojto 112:6f327212ef96 12 * <h2><center>&copy; COPYRIGHT(c) 2015 STMicroelectronics</center></h2>
Kojto 112:6f327212ef96 13 *
Kojto 112:6f327212ef96 14 * Redistribution and use in source and binary forms, with or without modification,
Kojto 112:6f327212ef96 15 * are permitted provided that the following conditions are met:
Kojto 112:6f327212ef96 16 * 1. Redistributions of source code must retain the above copyright notice,
Kojto 112:6f327212ef96 17 * this list of conditions and the following disclaimer.
Kojto 112:6f327212ef96 18 * 2. Redistributions in binary form must reproduce the above copyright notice,
Kojto 112:6f327212ef96 19 * this list of conditions and the following disclaimer in the documentation
Kojto 112:6f327212ef96 20 * and/or other materials provided with the distribution.
Kojto 112:6f327212ef96 21 * 3. Neither the name of STMicroelectronics nor the names of its contributors
Kojto 112:6f327212ef96 22 * may be used to endorse or promote products derived from this software
Kojto 112:6f327212ef96 23 * without specific prior written permission.
Kojto 112:6f327212ef96 24 *
Kojto 112:6f327212ef96 25 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
Kojto 112:6f327212ef96 26 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
Kojto 112:6f327212ef96 27 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
Kojto 112:6f327212ef96 28 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
Kojto 112:6f327212ef96 29 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
Kojto 112:6f327212ef96 30 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
Kojto 112:6f327212ef96 31 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
Kojto 112:6f327212ef96 32 * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
Kojto 112:6f327212ef96 33 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
Kojto 112:6f327212ef96 34 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Kojto 112:6f327212ef96 35 *
Kojto 112:6f327212ef96 36 ******************************************************************************
Kojto 112:6f327212ef96 37 */
Kojto 112:6f327212ef96 38
Kojto 112:6f327212ef96 39 /* Define to prevent recursive inclusion -------------------------------------*/
Kojto 112:6f327212ef96 40 #ifndef __STM32F4xx_HAL_H
Kojto 112:6f327212ef96 41 #define __STM32F4xx_HAL_H
Kojto 112:6f327212ef96 42
Kojto 112:6f327212ef96 43 #ifdef __cplusplus
Kojto 112:6f327212ef96 44 extern "C" {
Kojto 112:6f327212ef96 45 #endif
Kojto 112:6f327212ef96 46
Kojto 112:6f327212ef96 47 /* Includes ------------------------------------------------------------------*/
Kojto 112:6f327212ef96 48 #include "stm32f4xx_hal_conf.h"
Kojto 112:6f327212ef96 49
Kojto 112:6f327212ef96 50 /** @addtogroup STM32F4xx_HAL_Driver
Kojto 112:6f327212ef96 51 * @{
Kojto 112:6f327212ef96 52 */
Kojto 112:6f327212ef96 53
Kojto 112:6f327212ef96 54 /** @addtogroup HAL
Kojto 112:6f327212ef96 55 * @{
Kojto 112:6f327212ef96 56 */
Kojto 112:6f327212ef96 57
Kojto 112:6f327212ef96 58 /* Exported types ------------------------------------------------------------*/
Kojto 112:6f327212ef96 59 /* Exported constants --------------------------------------------------------*/
Kojto 112:6f327212ef96 60 /* Exported macro ------------------------------------------------------------*/
Kojto 112:6f327212ef96 61 /** @defgroup HAL_Exported_Macros HAL Exported Macros
Kojto 112:6f327212ef96 62 * @{
Kojto 112:6f327212ef96 63 */
Kojto 112:6f327212ef96 64
Kojto 112:6f327212ef96 65 /** @brief Freeze/Unfreeze Peripherals in Debug mode
Kojto 112:6f327212ef96 66 */
Kojto 112:6f327212ef96 67 #define __HAL_DBGMCU_FREEZE_TIM2() (DBGMCU->APB1FZ |= (DBGMCU_APB1_FZ_DBG_TIM2_STOP))
Kojto 112:6f327212ef96 68 #define __HAL_DBGMCU_FREEZE_TIM3() (DBGMCU->APB1FZ |= (DBGMCU_APB1_FZ_DBG_TIM3_STOP))
Kojto 112:6f327212ef96 69 #define __HAL_DBGMCU_FREEZE_TIM4() (DBGMCU->APB1FZ |= (DBGMCU_APB1_FZ_DBG_TIM4_STOP))
Kojto 112:6f327212ef96 70 #define __HAL_DBGMCU_FREEZE_TIM5() (DBGMCU->APB1FZ |= (DBGMCU_APB1_FZ_DBG_TIM5_STOP))
Kojto 112:6f327212ef96 71 #define __HAL_DBGMCU_FREEZE_TIM6() (DBGMCU->APB1FZ |= (DBGMCU_APB1_FZ_DBG_TIM6_STOP))
Kojto 112:6f327212ef96 72 #define __HAL_DBGMCU_FREEZE_TIM7() (DBGMCU->APB1FZ |= (DBGMCU_APB1_FZ_DBG_TIM7_STOP))
Kojto 112:6f327212ef96 73 #define __HAL_DBGMCU_FREEZE_TIM12() (DBGMCU->APB1FZ |= (DBGMCU_APB1_FZ_DBG_TIM12_STOP))
Kojto 112:6f327212ef96 74 #define __HAL_DBGMCU_FREEZE_TIM13() (DBGMCU->APB1FZ |= (DBGMCU_APB1_FZ_DBG_TIM13_STOP))
Kojto 112:6f327212ef96 75 #define __HAL_DBGMCU_FREEZE_TIM14() (DBGMCU->APB1FZ |= (DBGMCU_APB1_FZ_DBG_TIM14_STOP))
Kojto 112:6f327212ef96 76 #define __HAL_DBGMCU_FREEZE_RTC() (DBGMCU->APB1FZ |= (DBGMCU_APB1_FZ_DBG_RTC_STOP))
Kojto 112:6f327212ef96 77 #define __HAL_DBGMCU_FREEZE_WWDG() (DBGMCU->APB1FZ |= (DBGMCU_APB1_FZ_DBG_WWDG_STOP))
Kojto 112:6f327212ef96 78 #define __HAL_DBGMCU_FREEZE_IWDG() (DBGMCU->APB1FZ |= (DBGMCU_APB1_FZ_DBG_IWDG_STOP))
Kojto 112:6f327212ef96 79 #define __HAL_DBGMCU_FREEZE_I2C1_TIMEOUT() (DBGMCU->APB1FZ |= (DBGMCU_APB1_FZ_DBG_I2C1_SMBUS_TIMEOUT))
Kojto 112:6f327212ef96 80 #define __HAL_DBGMCU_FREEZE_I2C2_TIMEOUT() (DBGMCU->APB1FZ |= (DBGMCU_APB1_FZ_DBG_I2C2_SMBUS_TIMEOUT))
Kojto 112:6f327212ef96 81 #define __HAL_DBGMCU_FREEZE_I2C3_TIMEOUT() (DBGMCU->APB1FZ |= (DBGMCU_APB1_FZ_DBG_I2C3_SMBUS_TIMEOUT))
Kojto 112:6f327212ef96 82 #define __HAL_DBGMCU_FREEZE_CAN1() (DBGMCU->APB1FZ |= (DBGMCU_APB1_FZ_DBG_CAN1_STOP))
Kojto 112:6f327212ef96 83 #define __HAL_DBGMCU_FREEZE_CAN2() (DBGMCU->APB1FZ |= (DBGMCU_APB1_FZ_DBG_CAN2_STOP))
Kojto 112:6f327212ef96 84 #define __HAL_DBGMCU_FREEZE_TIM1() (DBGMCU->APB2FZ |= (DBGMCU_APB2_FZ_DBG_TIM1_STOP))
Kojto 112:6f327212ef96 85 #define __HAL_DBGMCU_FREEZE_TIM8() (DBGMCU->APB2FZ |= (DBGMCU_APB2_FZ_DBG_TIM8_STOP))
Kojto 112:6f327212ef96 86 #define __HAL_DBGMCU_FREEZE_TIM9() (DBGMCU->APB2FZ |= (DBGMCU_APB2_FZ_DBG_TIM9_STOP))
Kojto 112:6f327212ef96 87 #define __HAL_DBGMCU_FREEZE_TIM10() (DBGMCU->APB2FZ |= (DBGMCU_APB2_FZ_DBG_TIM10_STOP))
Kojto 112:6f327212ef96 88 #define __HAL_DBGMCU_FREEZE_TIM11() (DBGMCU->APB2FZ |= (DBGMCU_APB2_FZ_DBG_TIM11_STOP))
Kojto 112:6f327212ef96 89
Kojto 112:6f327212ef96 90 #define __HAL_DBGMCU_UNFREEZE_TIM2() (DBGMCU->APB1FZ &= ~(DBGMCU_APB1_FZ_DBG_TIM2_STOP))
Kojto 112:6f327212ef96 91 #define __HAL_DBGMCU_UNFREEZE_TIM3() (DBGMCU->APB1FZ &= ~(DBGMCU_APB1_FZ_DBG_TIM3_STOP))
Kojto 112:6f327212ef96 92 #define __HAL_DBGMCU_UNFREEZE_TIM4() (DBGMCU->APB1FZ &= ~(DBGMCU_APB1_FZ_DBG_TIM4_STOP))
Kojto 112:6f327212ef96 93 #define __HAL_DBGMCU_UNFREEZE_TIM5() (DBGMCU->APB1FZ &= ~(DBGMCU_APB1_FZ_DBG_TIM5_STOP))
Kojto 112:6f327212ef96 94 #define __HAL_DBGMCU_UNFREEZE_TIM6() (DBGMCU->APB1FZ &= ~(DBGMCU_APB1_FZ_DBG_TIM6_STOP))
Kojto 112:6f327212ef96 95 #define __HAL_DBGMCU_UNFREEZE_TIM7() (DBGMCU->APB1FZ &= ~(DBGMCU_APB1_FZ_DBG_TIM7_STOP))
Kojto 112:6f327212ef96 96 #define __HAL_DBGMCU_UNFREEZE_TIM12() (DBGMCU->APB1FZ &= ~(DBGMCU_APB1_FZ_DBG_TIM12_STOP))
Kojto 112:6f327212ef96 97 #define __HAL_DBGMCU_UNFREEZE_TIM13() (DBGMCU->APB1FZ &= ~(DBGMCU_APB1_FZ_DBG_TIM13_STOP))
Kojto 112:6f327212ef96 98 #define __HAL_DBGMCU_UNFREEZE_TIM14() (DBGMCU->APB1FZ &= ~(DBGMCU_APB1_FZ_DBG_TIM14_STOP))
Kojto 112:6f327212ef96 99 #define __HAL_DBGMCU_UNFREEZE_RTC() (DBGMCU->APB1FZ &= ~(DBGMCU_APB1_FZ_DBG_RTC_STOP))
Kojto 112:6f327212ef96 100 #define __HAL_DBGMCU_UNFREEZE_WWDG() (DBGMCU->APB1FZ &= ~(DBGMCU_APB1_FZ_DBG_WWDG_STOP))
Kojto 112:6f327212ef96 101 #define __HAL_DBGMCU_UNFREEZE_IWDG() (DBGMCU->APB1FZ &= ~(DBGMCU_APB1_FZ_DBG_IWDG_STOP))
Kojto 112:6f327212ef96 102 #define __HAL_DBGMCU_UNFREEZE_I2C1_TIMEOUT() (DBGMCU->APB1FZ &= ~(DBGMCU_APB1_FZ_DBG_I2C1_SMBUS_TIMEOUT))
Kojto 112:6f327212ef96 103 #define __HAL_DBGMCU_UNFREEZE_I2C2_TIMEOUT() (DBGMCU->APB1FZ &= ~(DBGMCU_APB1_FZ_DBG_I2C2_SMBUS_TIMEOUT))
Kojto 112:6f327212ef96 104 #define __HAL_DBGMCU_UNFREEZE_I2C3_TIMEOUT() (DBGMCU->APB1FZ &= ~(DBGMCU_APB1_FZ_DBG_I2C3_SMBUS_TIMEOUT))
Kojto 112:6f327212ef96 105 #define __HAL_DBGMCU_UNFREEZE_CAN1() (DBGMCU->APB1FZ &= ~(DBGMCU_APB1_FZ_DBG_CAN1_STOP))
Kojto 112:6f327212ef96 106 #define __HAL_DBGMCU_UNFREEZE_CAN2() (DBGMCU->APB1FZ &= ~(DBGMCU_APB1_FZ_DBG_CAN2_STOP))
Kojto 112:6f327212ef96 107 #define __HAL_DBGMCU_UNFREEZE_TIM1() (DBGMCU->APB2FZ &= ~(DBGMCU_APB2_FZ_DBG_TIM1_STOP))
Kojto 112:6f327212ef96 108 #define __HAL_DBGMCU_UNFREEZE_TIM8() (DBGMCU->APB2FZ &= ~(DBGMCU_APB2_FZ_DBG_TIM8_STOP))
Kojto 112:6f327212ef96 109 #define __HAL_DBGMCU_UNFREEZE_TIM9() (DBGMCU->APB2FZ &= ~(DBGMCU_APB2_FZ_DBG_TIM9_STOP))
Kojto 112:6f327212ef96 110 #define __HAL_DBGMCU_UNFREEZE_TIM10() (DBGMCU->APB2FZ &= ~(DBGMCU_APB2_FZ_DBG_TIM10_STOP))
Kojto 112:6f327212ef96 111 #define __HAL_DBGMCU_UNFREEZE_TIM11() (DBGMCU->APB2FZ &= ~(DBGMCU_APB2_FZ_DBG_TIM11_STOP))
Kojto 112:6f327212ef96 112
Kojto 112:6f327212ef96 113 /** @brief Main Flash memory mapped at 0x00000000
Kojto 112:6f327212ef96 114 */
Kojto 112:6f327212ef96 115 #define __HAL_SYSCFG_REMAPMEMORY_FLASH() (SYSCFG->MEMRMP &= ~(SYSCFG_MEMRMP_MEM_MODE))
Kojto 112:6f327212ef96 116
Kojto 112:6f327212ef96 117 /** @brief System Flash memory mapped at 0x00000000
Kojto 112:6f327212ef96 118 */
Kojto 112:6f327212ef96 119 #define __HAL_SYSCFG_REMAPMEMORY_SYSTEMFLASH() do {SYSCFG->MEMRMP &= ~(SYSCFG_MEMRMP_MEM_MODE);\
Kojto 112:6f327212ef96 120 SYSCFG->MEMRMP |= SYSCFG_MEMRMP_MEM_MODE_0;\
Kojto 112:6f327212ef96 121 }while(0);
Kojto 112:6f327212ef96 122
Kojto 112:6f327212ef96 123 /** @brief Embedded SRAM mapped at 0x00000000
Kojto 112:6f327212ef96 124 */
Kojto 112:6f327212ef96 125 #define __HAL_SYSCFG_REMAPMEMORY_SRAM() do {SYSCFG->MEMRMP &= ~(SYSCFG_MEMRMP_MEM_MODE);\
Kojto 112:6f327212ef96 126 SYSCFG->MEMRMP |= (SYSCFG_MEMRMP_MEM_MODE_0 | SYSCFG_MEMRMP_MEM_MODE_1);\
Kojto 112:6f327212ef96 127 }while(0);
Kojto 112:6f327212ef96 128
Kojto 112:6f327212ef96 129 #if defined(STM32F405xx) || defined(STM32F415xx) || defined(STM32F407xx)|| defined(STM32F417xx)
Kojto 112:6f327212ef96 130 /** @brief FSMC Bank1 (NOR/PSRAM 1 and 2) mapped at 0x00000000
Kojto 112:6f327212ef96 131 */
Kojto 112:6f327212ef96 132 #define __HAL_SYSCFG_REMAPMEMORY_FSMC() do {SYSCFG->MEMRMP &= ~(SYSCFG_MEMRMP_MEM_MODE);\
Kojto 112:6f327212ef96 133 SYSCFG->MEMRMP |= (SYSCFG_MEMRMP_MEM_MODE_1);\
Kojto 112:6f327212ef96 134 }while(0);
Kojto 112:6f327212ef96 135 #endif /* STM32F405xx || STM32F415xx || STM32F407xx || STM32F417xx */
Kojto 112:6f327212ef96 136
Kojto 112:6f327212ef96 137 #if defined(STM32F427xx) || defined(STM32F437xx) || defined(STM32F429xx)|| defined(STM32F439xx) ||\
Kojto 112:6f327212ef96 138 defined(STM32F469xx) || defined(STM32F479xx)
Kojto 112:6f327212ef96 139 /** @brief FMC Bank1 (NOR/PSRAM 1 and 2) mapped at 0x00000000
Kojto 112:6f327212ef96 140 */
Kojto 112:6f327212ef96 141 #define __HAL_SYSCFG_REMAPMEMORY_FMC() do {SYSCFG->MEMRMP &= ~(SYSCFG_MEMRMP_MEM_MODE);\
Kojto 112:6f327212ef96 142 SYSCFG->MEMRMP |= (SYSCFG_MEMRMP_MEM_MODE_1);\
Kojto 112:6f327212ef96 143 }while(0);
Kojto 112:6f327212ef96 144
Kojto 112:6f327212ef96 145 /** @brief FMC/SDRAM Bank 1 and 2 mapped at 0x00000000
Kojto 112:6f327212ef96 146 */
Kojto 112:6f327212ef96 147 #define __HAL_SYSCFG_REMAPMEMORY_FMC_SDRAM() do {SYSCFG->MEMRMP &= ~(SYSCFG_MEMRMP_MEM_MODE);\
Kojto 112:6f327212ef96 148 SYSCFG->MEMRMP |= (SYSCFG_MEMRMP_MEM_MODE_2);\
Kojto 112:6f327212ef96 149 }while(0);
Kojto 112:6f327212ef96 150 #endif /* STM32F427xx || STM32F437xx || STM32F429xx || STM32F439xx || STM32F469xx || STM32F479xx */
Kojto 112:6f327212ef96 151
Kojto 112:6f327212ef96 152 #if defined(STM32F410Tx) || defined(STM32F410Cx) || defined(STM32F410Rx)
Kojto 112:6f327212ef96 153 /** @defgroup Cortex_Lockup_Enable Cortex Lockup Enable
Kojto 112:6f327212ef96 154 * @{
Kojto 112:6f327212ef96 155 */
Kojto 112:6f327212ef96 156 /** @brief SYSCFG Break Lockup lock
Kojto 112:6f327212ef96 157 * Enables and locks the connection of Cortex-M4 LOCKUP (Hardfault) output to TIM1/8 input
Kojto 112:6f327212ef96 158 * @note The selected configuration is locked and can be unlocked by system reset
Kojto 112:6f327212ef96 159 */
Kojto 112:6f327212ef96 160 #define __HAL_SYSCFG_BREAK_PVD_LOCK() do {SYSCFG->CFGR2 &= ~(SYSCFG_CFGR2_PVD_LOCK); \
Kojto 112:6f327212ef96 161 SYSCFG->CFGR2 |= SYSCFG_CFGR2_PVD_LOCK; \
Kojto 112:6f327212ef96 162 }while(0)
Kojto 112:6f327212ef96 163 /**
Kojto 112:6f327212ef96 164 * @}
Kojto 112:6f327212ef96 165 */
Kojto 112:6f327212ef96 166
Kojto 112:6f327212ef96 167 /** @defgroup PVD_Lock_Enable PVD Lock
Kojto 112:6f327212ef96 168 * @{
Kojto 112:6f327212ef96 169 */
Kojto 112:6f327212ef96 170 /** @brief SYSCFG Break PVD lock
Kojto 112:6f327212ef96 171 * Enables and locks the PVD connection with Timer1/8 Break Input, , as well as the PVDE and PLS[2:0] in the PWR_CR register
Kojto 112:6f327212ef96 172 * @note The selected configuration is locked and can be unlocked by system reset
Kojto 112:6f327212ef96 173 */
Kojto 112:6f327212ef96 174 #define __HAL_SYSCFG_BREAK_LOCKUP_LOCK() do {SYSCFG->CFGR2 &= ~(SYSCFG_CFGR2_LOCKUP_LOCK); \
Kojto 112:6f327212ef96 175 SYSCFG->CFGR2 |= SYSCFG_CFGR2_LOCKUP_LOCK; \
Kojto 112:6f327212ef96 176 }while(0)
Kojto 112:6f327212ef96 177 /**
Kojto 112:6f327212ef96 178 * @}
Kojto 112:6f327212ef96 179 */
Kojto 112:6f327212ef96 180 #endif /* STM32F410Tx || STM32F410Cx || STM32F410Rx */
Kojto 112:6f327212ef96 181 /**
Kojto 112:6f327212ef96 182 * @}
Kojto 112:6f327212ef96 183 */
Kojto 112:6f327212ef96 184
Kojto 112:6f327212ef96 185 /* Exported functions --------------------------------------------------------*/
Kojto 112:6f327212ef96 186 /** @addtogroup HAL_Exported_Functions
Kojto 112:6f327212ef96 187 * @{
Kojto 112:6f327212ef96 188 */
Kojto 112:6f327212ef96 189 /** @addtogroup HAL_Exported_Functions_Group1
Kojto 112:6f327212ef96 190 * @{
Kojto 112:6f327212ef96 191 */
Kojto 112:6f327212ef96 192 /* Initialization and de-initialization functions ******************************/
Kojto 112:6f327212ef96 193 HAL_StatusTypeDef HAL_Init(void);
Kojto 112:6f327212ef96 194 HAL_StatusTypeDef HAL_DeInit(void);
Kojto 112:6f327212ef96 195 void HAL_MspInit(void);
Kojto 112:6f327212ef96 196 void HAL_MspDeInit(void);
Kojto 112:6f327212ef96 197 HAL_StatusTypeDef HAL_InitTick (uint32_t TickPriority);
Kojto 112:6f327212ef96 198 /**
Kojto 112:6f327212ef96 199 * @}
Kojto 112:6f327212ef96 200 */
Kojto 112:6f327212ef96 201
Kojto 112:6f327212ef96 202 /** @addtogroup HAL_Exported_Functions_Group2
Kojto 112:6f327212ef96 203 * @{
Kojto 112:6f327212ef96 204 */
Kojto 112:6f327212ef96 205 /* Peripheral Control functions ************************************************/
Kojto 112:6f327212ef96 206 void HAL_IncTick(void);
Kojto 112:6f327212ef96 207 void HAL_Delay(__IO uint32_t Delay);
Kojto 112:6f327212ef96 208 uint32_t HAL_GetTick(void);
Kojto 112:6f327212ef96 209 void HAL_SuspendTick(void);
Kojto 112:6f327212ef96 210 void HAL_ResumeTick(void);
Kojto 112:6f327212ef96 211 uint32_t HAL_GetHalVersion(void);
Kojto 112:6f327212ef96 212 uint32_t HAL_GetREVID(void);
Kojto 112:6f327212ef96 213 uint32_t HAL_GetDEVID(void);
Kojto 112:6f327212ef96 214 void HAL_DBGMCU_EnableDBGSleepMode(void);
Kojto 112:6f327212ef96 215 void HAL_DBGMCU_DisableDBGSleepMode(void);
Kojto 112:6f327212ef96 216 void HAL_DBGMCU_EnableDBGStopMode(void);
Kojto 112:6f327212ef96 217 void HAL_DBGMCU_DisableDBGStopMode(void);
Kojto 112:6f327212ef96 218 void HAL_DBGMCU_EnableDBGStandbyMode(void);
Kojto 112:6f327212ef96 219 void HAL_DBGMCU_DisableDBGStandbyMode(void);
Kojto 112:6f327212ef96 220 void HAL_EnableCompensationCell(void);
Kojto 112:6f327212ef96 221 void HAL_DisableCompensationCell(void);
Kojto 112:6f327212ef96 222 #if defined(STM32F427xx) || defined(STM32F437xx) || defined(STM32F429xx)|| defined(STM32F439xx) ||\
Kojto 112:6f327212ef96 223 defined(STM32F469xx) || defined(STM32F479xx)
Kojto 112:6f327212ef96 224 void HAL_EnableMemorySwappingBank(void);
Kojto 112:6f327212ef96 225 void HAL_DisableMemorySwappingBank(void);
Kojto 112:6f327212ef96 226 #endif /* STM32F427xx || STM32F437xx || STM32F429xx || STM32F439xx || STM32F469xx || STM32F479xx */
Kojto 112:6f327212ef96 227 /**
Kojto 112:6f327212ef96 228 * @}
Kojto 112:6f327212ef96 229 */
Kojto 112:6f327212ef96 230
Kojto 112:6f327212ef96 231 /**
Kojto 112:6f327212ef96 232 * @}
Kojto 112:6f327212ef96 233 */
Kojto 112:6f327212ef96 234 /* Private types -------------------------------------------------------------*/
Kojto 112:6f327212ef96 235 /* Private variables ---------------------------------------------------------*/
Kojto 112:6f327212ef96 236 /** @defgroup HAL_Private_Variables HAL Private Variables
Kojto 112:6f327212ef96 237 * @{
Kojto 112:6f327212ef96 238 */
Kojto 112:6f327212ef96 239 /**
Kojto 112:6f327212ef96 240 * @}
Kojto 112:6f327212ef96 241 */
Kojto 112:6f327212ef96 242 /* Private constants ---------------------------------------------------------*/
Kojto 112:6f327212ef96 243 /** @defgroup HAL_Private_Constants HAL Private Constants
Kojto 112:6f327212ef96 244 * @{
Kojto 112:6f327212ef96 245 */
Kojto 112:6f327212ef96 246 /**
Kojto 112:6f327212ef96 247 * @}
Kojto 112:6f327212ef96 248 */
Kojto 112:6f327212ef96 249 /* Private macros ------------------------------------------------------------*/
Kojto 112:6f327212ef96 250 /* Private functions ---------------------------------------------------------*/
Kojto 112:6f327212ef96 251 /**
Kojto 112:6f327212ef96 252 * @}
Kojto 112:6f327212ef96 253 */
Kojto 112:6f327212ef96 254
Kojto 112:6f327212ef96 255 /**
Kojto 112:6f327212ef96 256 * @}
Kojto 112:6f327212ef96 257 */
Kojto 112:6f327212ef96 258
Kojto 112:6f327212ef96 259 #ifdef __cplusplus
Kojto 112:6f327212ef96 260 }
Kojto 112:6f327212ef96 261 #endif
Kojto 112:6f327212ef96 262
Kojto 112:6f327212ef96 263 #endif /* __STM32F4xx_HAL_H */
Kojto 112:6f327212ef96 264
Kojto 112:6f327212ef96 265 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/