mbed official / mbed

Dependents:   hello SerialTestv11 SerialTestv12 Sierpinski ... more

Committer:
Kojto
Date:
Thu Jul 07 14:34:11 2016 +0100
Revision:
122:f9eeca106725
Parent:
116:c0f6e94411f5
Release 122 of the mbed library

Changes:
- new targets - Nucleo L432KC, Beetle, Nucleo F446ZE, Nucleo L011K4
- Thread safety addition - mbed API should contain a statement about thread safety
- critical section API addition
- CAS API (core_util_atomic_incr/decr)
- DEVICE_ are generated from targets.json file, device.h deprecated
- Callback replaces FunctionPointer to provide std like interface
- mbed HAL API docs improvements
- toolchain - prexif attributes with MBED_
- add new attributes - packed, weak, forcedinline, align
- target.json - contains targets definitions
- ST - L1XX - Cube update to 1.5
- SPI clock selection fix (clock from APB domain)
- F7 - Cube update v1.4.0
- L0 - baudrate init fix
- L1 - Cube update v1.5
- F3 - baudrate init fix, 3 targets CAN support
- F4 - Cube update v1.12.0, 3 targets CAN support
- L4XX - Cube update v1.5.1
- F0 - update Cube to v1.5.0
- L4 - 2 targets (L476RG/VG) CAN support
- NXP - pwm clock fix for KSDK2 MCU
- LPC2368 - remove ARM toolchain support - due to regression
- KSDK2 - fix SPI , I2C address and repeat start
- Silabs - some fixes backported from mbed 3
- Renesas - RZ_A1H - SystemCoreClockUpdate addition

Who changed what in which revision?

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