The official Mbed 2 C/C++ SDK provides the software platform and libraries to build your applications.
Dependents: hello SerialTestv11 SerialTestv12 Sierpinski ... more
mbed 2
This is the mbed 2 library. If you'd like to learn about Mbed OS please see the mbed-os docs.
TARGET_MTS_MDOT_F405RG/stm32f4xx_hal.h@99:dbbf35b96557, 2015-05-13 (annotated)
- Committer:
- Kojto
- Date:
- Wed May 13 08:08:21 2015 +0200
- Revision:
- 99:dbbf35b96557
- Parent:
- 92:4fc01daae5a5
- Child:
- 106:ba1f97679dad
Release 99 of the mbed library
Changes:
- new targets - MAXWSNENV, DISCO_L053C8
- STM32F4xx - ST Cube driver
- KSDK mcu - SPI timing fix
- Nordic - update to softdevice s130
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
bogdanm | 92:4fc01daae5a5 | 1 | /** |
bogdanm | 92:4fc01daae5a5 | 2 | ****************************************************************************** |
bogdanm | 92:4fc01daae5a5 | 3 | * @file stm32f4xx_hal.h |
bogdanm | 92:4fc01daae5a5 | 4 | * @author MCD Application Team |
Kojto | 99:dbbf35b96557 | 5 | * @version V1.3.0 |
Kojto | 99:dbbf35b96557 | 6 | * @date 09-March-2015 |
bogdanm | 92:4fc01daae5a5 | 7 | * @brief This file contains all the functions prototypes for the HAL |
bogdanm | 92:4fc01daae5a5 | 8 | * module driver. |
bogdanm | 92:4fc01daae5a5 | 9 | ****************************************************************************** |
bogdanm | 92:4fc01daae5a5 | 10 | * @attention |
bogdanm | 92:4fc01daae5a5 | 11 | * |
Kojto | 99:dbbf35b96557 | 12 | * <h2><center>© COPYRIGHT(c) 2015 STMicroelectronics</center></h2> |
bogdanm | 92:4fc01daae5a5 | 13 | * |
bogdanm | 92:4fc01daae5a5 | 14 | * Redistribution and use in source and binary forms, with or without modification, |
bogdanm | 92:4fc01daae5a5 | 15 | * are permitted provided that the following conditions are met: |
bogdanm | 92:4fc01daae5a5 | 16 | * 1. Redistributions of source code must retain the above copyright notice, |
bogdanm | 92:4fc01daae5a5 | 17 | * this list of conditions and the following disclaimer. |
bogdanm | 92:4fc01daae5a5 | 18 | * 2. Redistributions in binary form must reproduce the above copyright notice, |
bogdanm | 92:4fc01daae5a5 | 19 | * this list of conditions and the following disclaimer in the documentation |
bogdanm | 92:4fc01daae5a5 | 20 | * and/or other materials provided with the distribution. |
bogdanm | 92:4fc01daae5a5 | 21 | * 3. Neither the name of STMicroelectronics nor the names of its contributors |
bogdanm | 92:4fc01daae5a5 | 22 | * may be used to endorse or promote products derived from this software |
bogdanm | 92:4fc01daae5a5 | 23 | * without specific prior written permission. |
bogdanm | 92:4fc01daae5a5 | 24 | * |
bogdanm | 92:4fc01daae5a5 | 25 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" |
bogdanm | 92:4fc01daae5a5 | 26 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
bogdanm | 92:4fc01daae5a5 | 27 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE |
bogdanm | 92:4fc01daae5a5 | 28 | * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE |
bogdanm | 92:4fc01daae5a5 | 29 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
bogdanm | 92:4fc01daae5a5 | 30 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR |
bogdanm | 92:4fc01daae5a5 | 31 | * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER |
bogdanm | 92:4fc01daae5a5 | 32 | * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, |
bogdanm | 92:4fc01daae5a5 | 33 | * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
bogdanm | 92:4fc01daae5a5 | 34 | * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
bogdanm | 92:4fc01daae5a5 | 35 | * |
bogdanm | 92:4fc01daae5a5 | 36 | ****************************************************************************** |
bogdanm | 92:4fc01daae5a5 | 37 | */ |
bogdanm | 92:4fc01daae5a5 | 38 | |
bogdanm | 92:4fc01daae5a5 | 39 | /* Define to prevent recursive inclusion -------------------------------------*/ |
bogdanm | 92:4fc01daae5a5 | 40 | #ifndef __STM32F4xx_HAL_H |
bogdanm | 92:4fc01daae5a5 | 41 | #define __STM32F4xx_HAL_H |
bogdanm | 92:4fc01daae5a5 | 42 | |
bogdanm | 92:4fc01daae5a5 | 43 | #ifdef __cplusplus |
bogdanm | 92:4fc01daae5a5 | 44 | extern "C" { |
bogdanm | 92:4fc01daae5a5 | 45 | #endif |
bogdanm | 92:4fc01daae5a5 | 46 | |
bogdanm | 92:4fc01daae5a5 | 47 | /* Includes ------------------------------------------------------------------*/ |
bogdanm | 92:4fc01daae5a5 | 48 | #include "stm32f4xx_hal_conf.h" |
bogdanm | 92:4fc01daae5a5 | 49 | |
bogdanm | 92:4fc01daae5a5 | 50 | /** @addtogroup STM32F4xx_HAL_Driver |
bogdanm | 92:4fc01daae5a5 | 51 | * @{ |
bogdanm | 92:4fc01daae5a5 | 52 | */ |
bogdanm | 92:4fc01daae5a5 | 53 | |
bogdanm | 92:4fc01daae5a5 | 54 | /** @addtogroup HAL |
bogdanm | 92:4fc01daae5a5 | 55 | * @{ |
bogdanm | 92:4fc01daae5a5 | 56 | */ |
bogdanm | 92:4fc01daae5a5 | 57 | |
bogdanm | 92:4fc01daae5a5 | 58 | /* Exported types ------------------------------------------------------------*/ |
bogdanm | 92:4fc01daae5a5 | 59 | /* Exported constants --------------------------------------------------------*/ |
bogdanm | 92:4fc01daae5a5 | 60 | /* Exported macro ------------------------------------------------------------*/ |
Kojto | 99:dbbf35b96557 | 61 | /** @defgroup HAL_Exported_Macros HAL Exported Macros |
Kojto | 99:dbbf35b96557 | 62 | * @{ |
Kojto | 99:dbbf35b96557 | 63 | */ |
bogdanm | 92:4fc01daae5a5 | 64 | |
bogdanm | 92:4fc01daae5a5 | 65 | /** @brief Freeze/Unfreeze Peripherals in Debug mode |
bogdanm | 92:4fc01daae5a5 | 66 | */ |
Kojto | 99:dbbf35b96557 | 67 | #define __HAL_DBGMCU_FREEZE_TIM2() (DBGMCU->APB1FZ |= (DBGMCU_APB1_FZ_DBG_TIM2_STOP)) |
Kojto | 99:dbbf35b96557 | 68 | #define __HAL_DBGMCU_FREEZE_TIM3() (DBGMCU->APB1FZ |= (DBGMCU_APB1_FZ_DBG_TIM3_STOP)) |
Kojto | 99:dbbf35b96557 | 69 | #define __HAL_DBGMCU_FREEZE_TIM4() (DBGMCU->APB1FZ |= (DBGMCU_APB1_FZ_DBG_TIM4_STOP)) |
Kojto | 99:dbbf35b96557 | 70 | #define __HAL_DBGMCU_FREEZE_TIM5() (DBGMCU->APB1FZ |= (DBGMCU_APB1_FZ_DBG_TIM5_STOP)) |
Kojto | 99:dbbf35b96557 | 71 | #define __HAL_DBGMCU_FREEZE_TIM6() (DBGMCU->APB1FZ |= (DBGMCU_APB1_FZ_DBG_TIM6_STOP)) |
Kojto | 99:dbbf35b96557 | 72 | #define __HAL_DBGMCU_FREEZE_TIM7() (DBGMCU->APB1FZ |= (DBGMCU_APB1_FZ_DBG_TIM7_STOP)) |
Kojto | 99:dbbf35b96557 | 73 | #define __HAL_DBGMCU_FREEZE_TIM12() (DBGMCU->APB1FZ |= (DBGMCU_APB1_FZ_DBG_TIM12_STOP)) |
Kojto | 99:dbbf35b96557 | 74 | #define __HAL_DBGMCU_FREEZE_TIM13() (DBGMCU->APB1FZ |= (DBGMCU_APB1_FZ_DBG_TIM13_STOP)) |
Kojto | 99:dbbf35b96557 | 75 | #define __HAL_DBGMCU_FREEZE_TIM14() (DBGMCU->APB1FZ |= (DBGMCU_APB1_FZ_DBG_TIM14_STOP)) |
Kojto | 99:dbbf35b96557 | 76 | #define __HAL_DBGMCU_FREEZE_RTC() (DBGMCU->APB1FZ |= (DBGMCU_APB1_FZ_DBG_RTC_STOP)) |
Kojto | 99:dbbf35b96557 | 77 | #define __HAL_DBGMCU_FREEZE_WWDG() (DBGMCU->APB1FZ |= (DBGMCU_APB1_FZ_DBG_WWDG_STOP)) |
Kojto | 99:dbbf35b96557 | 78 | #define __HAL_DBGMCU_FREEZE_IWDG() (DBGMCU->APB1FZ |= (DBGMCU_APB1_FZ_DBG_IWDG_STOP)) |
Kojto | 99:dbbf35b96557 | 79 | #define __HAL_DBGMCU_FREEZE_I2C1_TIMEOUT() (DBGMCU->APB1FZ |= (DBGMCU_APB1_FZ_DBG_I2C1_SMBUS_TIMEOUT)) |
Kojto | 99:dbbf35b96557 | 80 | #define __HAL_DBGMCU_FREEZE_I2C2_TIMEOUT() (DBGMCU->APB1FZ |= (DBGMCU_APB1_FZ_DBG_I2C2_SMBUS_TIMEOUT)) |
Kojto | 99:dbbf35b96557 | 81 | #define __HAL_DBGMCU_FREEZE_I2C3_TIMEOUT() (DBGMCU->APB1FZ |= (DBGMCU_APB1_FZ_DBG_I2C3_SMBUS_TIMEOUT)) |
Kojto | 99:dbbf35b96557 | 82 | #define __HAL_DBGMCU_FREEZE_CAN1() (DBGMCU->APB1FZ |= (DBGMCU_APB1_FZ_DBG_CAN1_STOP)) |
Kojto | 99:dbbf35b96557 | 83 | #define __HAL_DBGMCU_FREEZE_CAN2() (DBGMCU->APB1FZ |= (DBGMCU_APB1_FZ_DBG_CAN2_STOP)) |
Kojto | 99:dbbf35b96557 | 84 | #define __HAL_DBGMCU_FREEZE_TIM1() (DBGMCU->APB2FZ |= (DBGMCU_APB2_FZ_DBG_TIM1_STOP)) |
Kojto | 99:dbbf35b96557 | 85 | #define __HAL_DBGMCU_FREEZE_TIM8() (DBGMCU->APB2FZ |= (DBGMCU_APB2_FZ_DBG_TIM8_STOP)) |
Kojto | 99:dbbf35b96557 | 86 | #define __HAL_DBGMCU_FREEZE_TIM9() (DBGMCU->APB2FZ |= (DBGMCU_APB2_FZ_DBG_TIM9_STOP)) |
Kojto | 99:dbbf35b96557 | 87 | #define __HAL_DBGMCU_FREEZE_TIM10() (DBGMCU->APB2FZ |= (DBGMCU_APB2_FZ_DBG_TIM10_STOP)) |
Kojto | 99:dbbf35b96557 | 88 | #define __HAL_DBGMCU_FREEZE_TIM11() (DBGMCU->APB2FZ |= (DBGMCU_APB2_FZ_DBG_TIM11_STOP)) |
bogdanm | 92:4fc01daae5a5 | 89 | |
Kojto | 99:dbbf35b96557 | 90 | #define __HAL_DBGMCU_UNFREEZE_TIM2() (DBGMCU->APB1FZ &= ~(DBGMCU_APB1_FZ_DBG_TIM2_STOP)) |
Kojto | 99:dbbf35b96557 | 91 | #define __HAL_DBGMCU_UNFREEZE_TIM3() (DBGMCU->APB1FZ &= ~(DBGMCU_APB1_FZ_DBG_TIM3_STOP)) |
Kojto | 99:dbbf35b96557 | 92 | #define __HAL_DBGMCU_UNFREEZE_TIM4() (DBGMCU->APB1FZ &= ~(DBGMCU_APB1_FZ_DBG_TIM4_STOP)) |
Kojto | 99:dbbf35b96557 | 93 | #define __HAL_DBGMCU_UNFREEZE_TIM5() (DBGMCU->APB1FZ &= ~(DBGMCU_APB1_FZ_DBG_TIM5_STOP)) |
Kojto | 99:dbbf35b96557 | 94 | #define __HAL_DBGMCU_UNFREEZE_TIM6() (DBGMCU->APB1FZ &= ~(DBGMCU_APB1_FZ_DBG_TIM6_STOP)) |
Kojto | 99:dbbf35b96557 | 95 | #define __HAL_DBGMCU_UNFREEZE_TIM7() (DBGMCU->APB1FZ &= ~(DBGMCU_APB1_FZ_DBG_TIM7_STOP)) |
Kojto | 99:dbbf35b96557 | 96 | #define __HAL_DBGMCU_UNFREEZE_TIM12() (DBGMCU->APB1FZ &= ~(DBGMCU_APB1_FZ_DBG_TIM12_STOP)) |
Kojto | 99:dbbf35b96557 | 97 | #define __HAL_DBGMCU_UNFREEZE_TIM13() (DBGMCU->APB1FZ &= ~(DBGMCU_APB1_FZ_DBG_TIM13_STOP)) |
Kojto | 99:dbbf35b96557 | 98 | #define __HAL_DBGMCU_UNFREEZE_TIM14() (DBGMCU->APB1FZ &= ~(DBGMCU_APB1_FZ_DBG_TIM14_STOP)) |
Kojto | 99:dbbf35b96557 | 99 | #define __HAL_DBGMCU_UNFREEZE_RTC() (DBGMCU->APB1FZ &= ~(DBGMCU_APB1_FZ_DBG_RTC_STOP)) |
Kojto | 99:dbbf35b96557 | 100 | #define __HAL_DBGMCU_UNFREEZE_WWDG() (DBGMCU->APB1FZ &= ~(DBGMCU_APB1_FZ_DBG_WWDG_STOP)) |
Kojto | 99:dbbf35b96557 | 101 | #define __HAL_DBGMCU_UNFREEZE_IWDG() (DBGMCU->APB1FZ &= ~(DBGMCU_APB1_FZ_DBG_IWDG_STOP)) |
Kojto | 99:dbbf35b96557 | 102 | #define __HAL_DBGMCU_UNFREEZE_I2C1_TIMEOUT() (DBGMCU->APB1FZ &= ~(DBGMCU_APB1_FZ_DBG_I2C1_SMBUS_TIMEOUT)) |
Kojto | 99:dbbf35b96557 | 103 | #define __HAL_DBGMCU_UNFREEZE_I2C2_TIMEOUT() (DBGMCU->APB1FZ &= ~(DBGMCU_APB1_FZ_DBG_I2C2_SMBUS_TIMEOUT)) |
Kojto | 99:dbbf35b96557 | 104 | #define __HAL_DBGMCU_UNFREEZE_I2C3_TIMEOUT() (DBGMCU->APB1FZ &= ~(DBGMCU_APB1_FZ_DBG_I2C3_SMBUS_TIMEOUT)) |
Kojto | 99:dbbf35b96557 | 105 | #define __HAL_DBGMCU_UNFREEZE_CAN1() (DBGMCU->APB1FZ &= ~(DBGMCU_APB1_FZ_DBG_CAN1_STOP)) |
Kojto | 99:dbbf35b96557 | 106 | #define __HAL_DBGMCU_UNFREEZE_CAN2() (DBGMCU->APB1FZ &= ~(DBGMCU_APB1_FZ_DBG_CAN2_STOP)) |
Kojto | 99:dbbf35b96557 | 107 | #define __HAL_DBGMCU_UNFREEZE_TIM1() (DBGMCU->APB2FZ &= ~(DBGMCU_APB2_FZ_DBG_TIM1_STOP)) |
Kojto | 99:dbbf35b96557 | 108 | #define __HAL_DBGMCU_UNFREEZE_TIM8() (DBGMCU->APB2FZ &= ~(DBGMCU_APB2_FZ_DBG_TIM8_STOP)) |
Kojto | 99:dbbf35b96557 | 109 | #define __HAL_DBGMCU_UNFREEZE_TIM9() (DBGMCU->APB2FZ &= ~(DBGMCU_APB2_FZ_DBG_TIM9_STOP)) |
Kojto | 99:dbbf35b96557 | 110 | #define __HAL_DBGMCU_UNFREEZE_TIM10() (DBGMCU->APB2FZ &= ~(DBGMCU_APB2_FZ_DBG_TIM10_STOP)) |
Kojto | 99:dbbf35b96557 | 111 | #define __HAL_DBGMCU_UNFREEZE_TIM11() (DBGMCU->APB2FZ &= ~(DBGMCU_APB2_FZ_DBG_TIM11_STOP)) |
bogdanm | 92:4fc01daae5a5 | 112 | |
bogdanm | 92:4fc01daae5a5 | 113 | /** @brief Main Flash memory mapped at 0x00000000 |
bogdanm | 92:4fc01daae5a5 | 114 | */ |
Kojto | 99:dbbf35b96557 | 115 | #define __HAL_SYSCFG_REMAPMEMORY_FLASH() (SYSCFG->MEMRMP &= ~(SYSCFG_MEMRMP_MEM_MODE)) |
bogdanm | 92:4fc01daae5a5 | 116 | |
bogdanm | 92:4fc01daae5a5 | 117 | /** @brief System Flash memory mapped at 0x00000000 |
bogdanm | 92:4fc01daae5a5 | 118 | */ |
Kojto | 99:dbbf35b96557 | 119 | #define __HAL_SYSCFG_REMAPMEMORY_SYSTEMFLASH() do {SYSCFG->MEMRMP &= ~(SYSCFG_MEMRMP_MEM_MODE);\ |
Kojto | 99:dbbf35b96557 | 120 | SYSCFG->MEMRMP |= SYSCFG_MEMRMP_MEM_MODE_0;\ |
Kojto | 99:dbbf35b96557 | 121 | }while(0); |
bogdanm | 92:4fc01daae5a5 | 122 | |
bogdanm | 92:4fc01daae5a5 | 123 | /** @brief Embedded SRAM mapped at 0x00000000 |
bogdanm | 92:4fc01daae5a5 | 124 | */ |
Kojto | 99:dbbf35b96557 | 125 | #define __HAL_SYSCFG_REMAPMEMORY_SRAM() do {SYSCFG->MEMRMP &= ~(SYSCFG_MEMRMP_MEM_MODE);\ |
Kojto | 99:dbbf35b96557 | 126 | SYSCFG->MEMRMP |= (SYSCFG_MEMRMP_MEM_MODE_0 | SYSCFG_MEMRMP_MEM_MODE_1);\ |
Kojto | 99:dbbf35b96557 | 127 | }while(0); |
bogdanm | 92:4fc01daae5a5 | 128 | |
bogdanm | 92:4fc01daae5a5 | 129 | #if defined(STM32F405xx) || defined(STM32F415xx) || defined(STM32F407xx)|| defined(STM32F417xx) |
bogdanm | 92:4fc01daae5a5 | 130 | /** @brief FSMC Bank1 (NOR/PSRAM 1 and 2) mapped at 0x00000000 |
bogdanm | 92:4fc01daae5a5 | 131 | */ |
Kojto | 99:dbbf35b96557 | 132 | #define __HAL_SYSCFG_REMAPMEMORY_FSMC() do {SYSCFG->MEMRMP &= ~(SYSCFG_MEMRMP_MEM_MODE);\ |
Kojto | 99:dbbf35b96557 | 133 | SYSCFG->MEMRMP |= (SYSCFG_MEMRMP_MEM_MODE_1);\ |
Kojto | 99:dbbf35b96557 | 134 | }while(0); |
bogdanm | 92:4fc01daae5a5 | 135 | #endif /* STM32F405xx || STM32F415xx || STM32F407xx || STM32F417xx */ |
bogdanm | 92:4fc01daae5a5 | 136 | |
bogdanm | 92:4fc01daae5a5 | 137 | #if defined(STM32F427xx) || defined(STM32F437xx) || defined(STM32F429xx)|| defined(STM32F439xx) |
bogdanm | 92:4fc01daae5a5 | 138 | /** @brief FMC Bank1 (NOR/PSRAM 1 and 2) mapped at 0x00000000 |
bogdanm | 92:4fc01daae5a5 | 139 | */ |
Kojto | 99:dbbf35b96557 | 140 | #define __HAL_SYSCFG_REMAPMEMORY_FMC() do {SYSCFG->MEMRMP &= ~(SYSCFG_MEMRMP_MEM_MODE);\ |
Kojto | 99:dbbf35b96557 | 141 | SYSCFG->MEMRMP |= (SYSCFG_MEMRMP_MEM_MODE_1);\ |
Kojto | 99:dbbf35b96557 | 142 | }while(0); |
bogdanm | 92:4fc01daae5a5 | 143 | |
bogdanm | 92:4fc01daae5a5 | 144 | /** @brief FMC/SDRAM Bank 1 and 2 mapped at 0x00000000 |
bogdanm | 92:4fc01daae5a5 | 145 | */ |
Kojto | 99:dbbf35b96557 | 146 | #define __HAL_SYSCFG_REMAPMEMORY_FMC_SDRAM() do {SYSCFG->MEMRMP &= ~(SYSCFG_MEMRMP_MEM_MODE);\ |
Kojto | 99:dbbf35b96557 | 147 | SYSCFG->MEMRMP |= (SYSCFG_MEMRMP_MEM_MODE_2);\ |
Kojto | 99:dbbf35b96557 | 148 | }while(0); |
bogdanm | 92:4fc01daae5a5 | 149 | #endif /* STM32F427xx || STM32F437xx || STM32F429xx || STM32F439xx */ |
Kojto | 99:dbbf35b96557 | 150 | /** |
Kojto | 99:dbbf35b96557 | 151 | * @} |
Kojto | 99:dbbf35b96557 | 152 | */ |
bogdanm | 92:4fc01daae5a5 | 153 | |
bogdanm | 92:4fc01daae5a5 | 154 | /* Exported functions --------------------------------------------------------*/ |
Kojto | 99:dbbf35b96557 | 155 | /** @addtogroup HAL_Exported_Functions |
Kojto | 99:dbbf35b96557 | 156 | * @{ |
Kojto | 99:dbbf35b96557 | 157 | */ |
Kojto | 99:dbbf35b96557 | 158 | /** @addtogroup HAL_Exported_Functions_Group1 |
Kojto | 99:dbbf35b96557 | 159 | * @{ |
Kojto | 99:dbbf35b96557 | 160 | */ |
bogdanm | 92:4fc01daae5a5 | 161 | /* Initialization and de-initialization functions ******************************/ |
bogdanm | 92:4fc01daae5a5 | 162 | HAL_StatusTypeDef HAL_Init(void); |
bogdanm | 92:4fc01daae5a5 | 163 | HAL_StatusTypeDef HAL_DeInit(void); |
bogdanm | 92:4fc01daae5a5 | 164 | void HAL_MspInit(void); |
bogdanm | 92:4fc01daae5a5 | 165 | void HAL_MspDeInit(void); |
bogdanm | 92:4fc01daae5a5 | 166 | HAL_StatusTypeDef HAL_InitTick (uint32_t TickPriority); |
Kojto | 99:dbbf35b96557 | 167 | /** |
Kojto | 99:dbbf35b96557 | 168 | * @} |
Kojto | 99:dbbf35b96557 | 169 | */ |
bogdanm | 92:4fc01daae5a5 | 170 | |
Kojto | 99:dbbf35b96557 | 171 | /** @addtogroup HAL_Exported_Functions_Group2 |
Kojto | 99:dbbf35b96557 | 172 | * @{ |
Kojto | 99:dbbf35b96557 | 173 | */ |
bogdanm | 92:4fc01daae5a5 | 174 | /* Peripheral Control functions ************************************************/ |
bogdanm | 92:4fc01daae5a5 | 175 | void HAL_IncTick(void); |
bogdanm | 92:4fc01daae5a5 | 176 | void HAL_Delay(__IO uint32_t Delay); |
bogdanm | 92:4fc01daae5a5 | 177 | uint32_t HAL_GetTick(void); |
bogdanm | 92:4fc01daae5a5 | 178 | void HAL_SuspendTick(void); |
bogdanm | 92:4fc01daae5a5 | 179 | void HAL_ResumeTick(void); |
bogdanm | 92:4fc01daae5a5 | 180 | uint32_t HAL_GetHalVersion(void); |
bogdanm | 92:4fc01daae5a5 | 181 | uint32_t HAL_GetREVID(void); |
bogdanm | 92:4fc01daae5a5 | 182 | uint32_t HAL_GetDEVID(void); |
Kojto | 99:dbbf35b96557 | 183 | void HAL_DBGMCU_EnableDBGSleepMode(void); |
Kojto | 99:dbbf35b96557 | 184 | void HAL_DBGMCU_DisableDBGSleepMode(void); |
Kojto | 99:dbbf35b96557 | 185 | void HAL_DBGMCU_EnableDBGStopMode(void); |
Kojto | 99:dbbf35b96557 | 186 | void HAL_DBGMCU_DisableDBGStopMode(void); |
Kojto | 99:dbbf35b96557 | 187 | void HAL_DBGMCU_EnableDBGStandbyMode(void); |
Kojto | 99:dbbf35b96557 | 188 | void HAL_DBGMCU_DisableDBGStandbyMode(void); |
bogdanm | 92:4fc01daae5a5 | 189 | void HAL_EnableCompensationCell(void); |
bogdanm | 92:4fc01daae5a5 | 190 | void HAL_DisableCompensationCell(void); |
bogdanm | 92:4fc01daae5a5 | 191 | #if defined(STM32F427xx) || defined(STM32F437xx) || defined(STM32F429xx)|| defined(STM32F439xx) |
bogdanm | 92:4fc01daae5a5 | 192 | void HAL_EnableMemorySwappingBank(void); |
bogdanm | 92:4fc01daae5a5 | 193 | void HAL_DisableMemorySwappingBank(void); |
bogdanm | 92:4fc01daae5a5 | 194 | #endif /* STM32F427xx || STM32F437xx || STM32F429xx || STM32F439xx */ |
Kojto | 99:dbbf35b96557 | 195 | /** |
Kojto | 99:dbbf35b96557 | 196 | * @} |
Kojto | 99:dbbf35b96557 | 197 | */ |
bogdanm | 92:4fc01daae5a5 | 198 | |
bogdanm | 92:4fc01daae5a5 | 199 | /** |
bogdanm | 92:4fc01daae5a5 | 200 | * @} |
Kojto | 99:dbbf35b96557 | 201 | */ |
Kojto | 99:dbbf35b96557 | 202 | /* Private types -------------------------------------------------------------*/ |
Kojto | 99:dbbf35b96557 | 203 | /* Private variables ---------------------------------------------------------*/ |
Kojto | 99:dbbf35b96557 | 204 | /** @defgroup HAL_Private_Variables HAL Private Variables |
Kojto | 99:dbbf35b96557 | 205 | * @{ |
Kojto | 99:dbbf35b96557 | 206 | */ |
Kojto | 99:dbbf35b96557 | 207 | /** |
Kojto | 99:dbbf35b96557 | 208 | * @} |
Kojto | 99:dbbf35b96557 | 209 | */ |
Kojto | 99:dbbf35b96557 | 210 | /* Private constants ---------------------------------------------------------*/ |
Kojto | 99:dbbf35b96557 | 211 | /** @defgroup HAL_Private_Constants HAL Private Constants |
Kojto | 99:dbbf35b96557 | 212 | * @{ |
Kojto | 99:dbbf35b96557 | 213 | */ |
Kojto | 99:dbbf35b96557 | 214 | /** |
Kojto | 99:dbbf35b96557 | 215 | * @} |
Kojto | 99:dbbf35b96557 | 216 | */ |
Kojto | 99:dbbf35b96557 | 217 | /* Private macros ------------------------------------------------------------*/ |
Kojto | 99:dbbf35b96557 | 218 | /* Private functions ---------------------------------------------------------*/ |
Kojto | 99:dbbf35b96557 | 219 | /** |
Kojto | 99:dbbf35b96557 | 220 | * @} |
Kojto | 99:dbbf35b96557 | 221 | */ |
bogdanm | 92:4fc01daae5a5 | 222 | |
bogdanm | 92:4fc01daae5a5 | 223 | /** |
bogdanm | 92:4fc01daae5a5 | 224 | * @} |
bogdanm | 92:4fc01daae5a5 | 225 | */ |
bogdanm | 92:4fc01daae5a5 | 226 | |
bogdanm | 92:4fc01daae5a5 | 227 | #ifdef __cplusplus |
bogdanm | 92:4fc01daae5a5 | 228 | } |
bogdanm | 92:4fc01daae5a5 | 229 | #endif |
bogdanm | 92:4fc01daae5a5 | 230 | |
bogdanm | 92:4fc01daae5a5 | 231 | #endif /* __STM32F4xx_HAL_H */ |
bogdanm | 92:4fc01daae5a5 | 232 | |
bogdanm | 92:4fc01daae5a5 | 233 | /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ |