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