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:
Kojto
Date:
Wed Nov 25 13:21:40 2015 +0000
Revision:
110:165afa46840b
Parent:
106:ba1f97679dad
Release 110  of the mbed library

Changes:
- new platforms - STM32F410R, DISCO_F429ZI, DISCO_F469NI
- Nucleo L476 - gcc and uvision template
- k22,k64f targets - ADC channels A addition
- EFM32 - bugfixes in sleep, serial and spi
- Delta DFCM NNN40 - pinnames update

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Kojto 99:dbbf35b96557 1 /**
Kojto 99:dbbf35b96557 2 ******************************************************************************
Kojto 99:dbbf35b96557 3 * @file stm32_hal_legacy.h
Kojto 99:dbbf35b96557 4 * @author MCD Application Team
Kojto 110:165afa46840b 5 * @version V1.4.1
Kojto 110:165afa46840b 6 * @date 09-October-2015
Kojto 99:dbbf35b96557 7 * @brief This file contains aliases definition for the STM32Cube HAL constants
Kojto 99:dbbf35b96557 8 * macros and functions maintained for legacy purpose.
Kojto 99:dbbf35b96557 9 ******************************************************************************
Kojto 99:dbbf35b96557 10 * @attention
Kojto 99:dbbf35b96557 11 *
Kojto 99:dbbf35b96557 12 * <h2><center>&copy; COPYRIGHT(c) 2015 STMicroelectronics</center></h2>
Kojto 99:dbbf35b96557 13 *
Kojto 99:dbbf35b96557 14 * Redistribution and use in source and binary forms, with or without modification,
Kojto 99:dbbf35b96557 15 * are permitted provided that the following conditions are met:
Kojto 99:dbbf35b96557 16 * 1. Redistributions of source code must retain the above copyright notice,
Kojto 99:dbbf35b96557 17 * this list of conditions and the following disclaimer.
Kojto 99:dbbf35b96557 18 * 2. Redistributions in binary form must reproduce the above copyright notice,
Kojto 99:dbbf35b96557 19 * this list of conditions and the following disclaimer in the documentation
Kojto 99:dbbf35b96557 20 * and/or other materials provided with the distribution.
Kojto 99:dbbf35b96557 21 * 3. Neither the name of STMicroelectronics nor the names of its contributors
Kojto 99:dbbf35b96557 22 * may be used to endorse or promote products derived from this software
Kojto 99:dbbf35b96557 23 * without specific prior written permission.
Kojto 99:dbbf35b96557 24 *
Kojto 99:dbbf35b96557 25 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
Kojto 99:dbbf35b96557 26 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
Kojto 99:dbbf35b96557 27 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
Kojto 99:dbbf35b96557 28 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
Kojto 99:dbbf35b96557 29 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
Kojto 99:dbbf35b96557 30 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
Kojto 99:dbbf35b96557 31 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
Kojto 99:dbbf35b96557 32 * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
Kojto 106:ba1f97679dad 33 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
Kojto 99:dbbf35b96557 34 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Kojto 99:dbbf35b96557 35 *
Kojto 99:dbbf35b96557 36 ******************************************************************************
Kojto 99:dbbf35b96557 37 */
Kojto 99:dbbf35b96557 38
Kojto 99:dbbf35b96557 39 /* Define to prevent recursive inclusion -------------------------------------*/
Kojto 99:dbbf35b96557 40 #ifndef __STM32_HAL_LEGACY
Kojto 99:dbbf35b96557 41 #define __STM32_HAL_LEGACY
Kojto 99:dbbf35b96557 42
Kojto 99:dbbf35b96557 43 #ifdef __cplusplus
Kojto 99:dbbf35b96557 44 extern "C" {
Kojto 99:dbbf35b96557 45 #endif
Kojto 99:dbbf35b96557 46
Kojto 99:dbbf35b96557 47 /* Includes ------------------------------------------------------------------*/
Kojto 99:dbbf35b96557 48 /* Exported types ------------------------------------------------------------*/
Kojto 99:dbbf35b96557 49 /* Exported constants --------------------------------------------------------*/
Kojto 99:dbbf35b96557 50
Kojto 99:dbbf35b96557 51 /** @defgroup HAL_AES_Aliased_Defines HAL CRYP Aliased Defines maintained for legacy purpose
Kojto 99:dbbf35b96557 52 * @{
Kojto 99:dbbf35b96557 53 */
Kojto 106:ba1f97679dad 54 #define AES_FLAG_RDERR CRYP_FLAG_RDERR
Kojto 106:ba1f97679dad 55 #define AES_FLAG_WRERR CRYP_FLAG_WRERR
Kojto 99:dbbf35b96557 56 #define AES_CLEARFLAG_CCF CRYP_CLEARFLAG_CCF
Kojto 99:dbbf35b96557 57 #define AES_CLEARFLAG_RDERR CRYP_CLEARFLAG_RDERR
Kojto 99:dbbf35b96557 58 #define AES_CLEARFLAG_WRERR CRYP_CLEARFLAG_WRERR
Kojto 99:dbbf35b96557 59
Kojto 99:dbbf35b96557 60 /**
Kojto 99:dbbf35b96557 61 * @}
Kojto 99:dbbf35b96557 62 */
Kojto 99:dbbf35b96557 63
Kojto 99:dbbf35b96557 64 /** @defgroup HAL_ADC_Aliased_Defines HAL ADC Aliased Defines maintained for legacy purpose
Kojto 99:dbbf35b96557 65 * @{
Kojto 99:dbbf35b96557 66 */
Kojto 99:dbbf35b96557 67 #define ADC_RESOLUTION12b ADC_RESOLUTION_12B
Kojto 99:dbbf35b96557 68 #define ADC_RESOLUTION10b ADC_RESOLUTION_10B
Kojto 99:dbbf35b96557 69 #define ADC_RESOLUTION8b ADC_RESOLUTION_8B
Kojto 99:dbbf35b96557 70 #define ADC_RESOLUTION6b ADC_RESOLUTION_6B
Kojto 99:dbbf35b96557 71 #define OVR_DATA_OVERWRITTEN ADC_OVR_DATA_OVERWRITTEN
Kojto 99:dbbf35b96557 72 #define OVR_DATA_PRESERVED ADC_OVR_DATA_PRESERVED
Kojto 99:dbbf35b96557 73 #define EOC_SINGLE_CONV ADC_EOC_SINGLE_CONV
Kojto 99:dbbf35b96557 74 #define EOC_SEQ_CONV ADC_EOC_SEQ_CONV
Kojto 99:dbbf35b96557 75 #define EOC_SINGLE_SEQ_CONV ADC_EOC_SINGLE_SEQ_CONV
Kojto 99:dbbf35b96557 76 #define REGULAR_GROUP ADC_REGULAR_GROUP
Kojto 99:dbbf35b96557 77 #define INJECTED_GROUP ADC_INJECTED_GROUP
Kojto 99:dbbf35b96557 78 #define REGULAR_INJECTED_GROUP ADC_REGULAR_INJECTED_GROUP
Kojto 99:dbbf35b96557 79 #define AWD_EVENT ADC_AWD_EVENT
Kojto 99:dbbf35b96557 80 #define AWD1_EVENT ADC_AWD1_EVENT
Kojto 99:dbbf35b96557 81 #define AWD2_EVENT ADC_AWD2_EVENT
Kojto 99:dbbf35b96557 82 #define AWD3_EVENT ADC_AWD3_EVENT
Kojto 99:dbbf35b96557 83 #define OVR_EVENT ADC_OVR_EVENT
Kojto 99:dbbf35b96557 84 #define JQOVF_EVENT ADC_JQOVF_EVENT
Kojto 99:dbbf35b96557 85 #define ALL_CHANNELS ADC_ALL_CHANNELS
Kojto 99:dbbf35b96557 86 #define REGULAR_CHANNELS ADC_REGULAR_CHANNELS
Kojto 99:dbbf35b96557 87 #define INJECTED_CHANNELS ADC_INJECTED_CHANNELS
Kojto 99:dbbf35b96557 88 #define SYSCFG_FLAG_SENSOR_ADC ADC_FLAG_SENSOR
Kojto 99:dbbf35b96557 89 #define SYSCFG_FLAG_VREF_ADC ADC_FLAG_VREFINT
Kojto 110:165afa46840b 90 #define ADC_CLOCKPRESCALER_PCLK_DIV1 ADC_CLOCK_SYNC_PCLK_DIV1
Kojto 110:165afa46840b 91 #define ADC_CLOCKPRESCALER_PCLK_DIV2 ADC_CLOCK_SYNC_PCLK_DIV2
Kojto 110:165afa46840b 92 #define ADC_CLOCKPRESCALER_PCLK_DIV4 ADC_CLOCK_SYNC_PCLK_DIV4
Kojto 110:165afa46840b 93 #define ADC_CLOCKPRESCALER_PCLK_DIV6 ADC_CLOCK_SYNC_PCLK_DIV6
Kojto 110:165afa46840b 94 #define ADC_CLOCKPRESCALER_PCLK_DIV8 ADC_CLOCK_SYNC_PCLK_DIV8
Kojto 99:dbbf35b96557 95 #define ADC_EXTERNALTRIG0_T6_TRGO ADC_EXTERNALTRIGCONV_T6_TRGO
Kojto 99:dbbf35b96557 96 #define ADC_EXTERNALTRIG1_T21_CC2 ADC_EXTERNALTRIGCONV_T21_CC2
Kojto 99:dbbf35b96557 97 #define ADC_EXTERNALTRIG2_T2_TRGO ADC_EXTERNALTRIGCONV_T2_TRGO
Kojto 99:dbbf35b96557 98 #define ADC_EXTERNALTRIG3_T2_CC4 ADC_EXTERNALTRIGCONV_T2_CC4
Kojto 99:dbbf35b96557 99 #define ADC_EXTERNALTRIG4_T22_TRGO ADC_EXTERNALTRIGCONV_T22_TRGO
Kojto 99:dbbf35b96557 100 #define ADC_EXTERNALTRIG7_EXT_IT11 ADC_EXTERNALTRIGCONV_EXT_IT11
Kojto 99:dbbf35b96557 101 #define ADC_CLOCK_ASYNC ADC_CLOCK_ASYNC_DIV1
Kojto 99:dbbf35b96557 102 #define ADC_EXTERNALTRIG_EDGE_NONE ADC_EXTERNALTRIGCONVEDGE_NONE
Kojto 99:dbbf35b96557 103 #define ADC_EXTERNALTRIG_EDGE_RISING ADC_EXTERNALTRIGCONVEDGE_RISING
Kojto 99:dbbf35b96557 104 #define ADC_EXTERNALTRIG_EDGE_FALLING ADC_EXTERNALTRIGCONVEDGE_FALLING
Kojto 99:dbbf35b96557 105 #define ADC_EXTERNALTRIG_EDGE_RISINGFALLING ADC_EXTERNALTRIGCONVEDGE_RISINGFALLING
Kojto 99:dbbf35b96557 106 /**
Kojto 99:dbbf35b96557 107 * @}
Kojto 99:dbbf35b96557 108 */
Kojto 99:dbbf35b96557 109
Kojto 99:dbbf35b96557 110 /** @defgroup HAL_CEC_Aliased_Defines HAL CEC Aliased Defines maintained for legacy purpose
Kojto 99:dbbf35b96557 111 * @{
Kojto 99:dbbf35b96557 112 */
Kojto 99:dbbf35b96557 113
Kojto 99:dbbf35b96557 114 #define __HAL_CEC_GET_IT __HAL_CEC_GET_FLAG
Kojto 99:dbbf35b96557 115
Kojto 99:dbbf35b96557 116 /**
Kojto 99:dbbf35b96557 117 * @}
Kojto 99:dbbf35b96557 118 */
Kojto 99:dbbf35b96557 119
Kojto 99:dbbf35b96557 120 /** @defgroup HAL_COMP_Aliased_Defines HAL COMP Aliased Defines maintained for legacy purpose
Kojto 99:dbbf35b96557 121 * @{
Kojto 99:dbbf35b96557 122 */
Kojto 99:dbbf35b96557 123
Kojto 99:dbbf35b96557 124 #define COMP_WINDOWMODE_DISABLED COMP_WINDOWMODE_DISABLE
Kojto 99:dbbf35b96557 125 #define COMP_WINDOWMODE_ENABLED COMP_WINDOWMODE_ENABLE
Kojto 99:dbbf35b96557 126 #define COMP_EXTI_LINE_COMP1_EVENT COMP_EXTI_LINE_COMP1
Kojto 99:dbbf35b96557 127 #define COMP_EXTI_LINE_COMP2_EVENT COMP_EXTI_LINE_COMP2
Kojto 99:dbbf35b96557 128
Kojto 99:dbbf35b96557 129 /**
Kojto 99:dbbf35b96557 130 * @}
Kojto 99:dbbf35b96557 131 */
Kojto 99:dbbf35b96557 132
Kojto 99:dbbf35b96557 133 /** @defgroup HAL_CRC_Aliased_Defines HAL CRC Aliased Defines maintained for legacy purpose
Kojto 99:dbbf35b96557 134 * @{
Kojto 99:dbbf35b96557 135 */
Kojto 99:dbbf35b96557 136
Kojto 99:dbbf35b96557 137 #define CRC_OUTPUTDATA_INVERSION_DISABLED CRC_OUTPUTDATA_INVERSION_DISABLE
Kojto 99:dbbf35b96557 138 #define CRC_OUTPUTDATA_INVERSION_ENABLED CRC_OUTPUTDATA_INVERSION_ENABLE
Kojto 99:dbbf35b96557 139
Kojto 99:dbbf35b96557 140 /**
Kojto 99:dbbf35b96557 141 * @}
Kojto 99:dbbf35b96557 142 */
Kojto 99:dbbf35b96557 143
Kojto 99:dbbf35b96557 144 /** @defgroup HAL_DAC_Aliased_Defines HAL DAC Aliased Defines maintained for legacy purpose
Kojto 99:dbbf35b96557 145 * @{
Kojto 99:dbbf35b96557 146 */
Kojto 99:dbbf35b96557 147
Kojto 99:dbbf35b96557 148 #define DAC1_CHANNEL_1 DAC_CHANNEL_1
Kojto 99:dbbf35b96557 149 #define DAC1_CHANNEL_2 DAC_CHANNEL_2
Kojto 99:dbbf35b96557 150 #define DAC2_CHANNEL_1 DAC_CHANNEL_1
Kojto 99:dbbf35b96557 151 #define DAC_WAVE_NONE ((uint32_t)0x00000000)
Kojto 99:dbbf35b96557 152 #define DAC_WAVE_NOISE ((uint32_t)DAC_CR_WAVE1_0)
Kojto 99:dbbf35b96557 153 #define DAC_WAVE_TRIANGLE ((uint32_t)DAC_CR_WAVE1_1)
Kojto 99:dbbf35b96557 154 #define DAC_WAVEGENERATION_NONE DAC_WAVE_NONE
Kojto 99:dbbf35b96557 155 #define DAC_WAVEGENERATION_NOISE DAC_WAVE_NOISE
Kojto 99:dbbf35b96557 156 #define DAC_WAVEGENERATION_TRIANGLE DAC_WAVE_TRIANGLE
Kojto 99:dbbf35b96557 157
Kojto 99:dbbf35b96557 158 /**
Kojto 99:dbbf35b96557 159 * @}
Kojto 99:dbbf35b96557 160 */
Kojto 99:dbbf35b96557 161
Kojto 106:ba1f97679dad 162 /** @defgroup HAL_DMA_Aliased_Defines HAL DMA Aliased Defines maintained for legacy purpose
Kojto 106:ba1f97679dad 163 * @{
Kojto 106:ba1f97679dad 164 */
Kojto 106:ba1f97679dad 165 #define HAL_REMAPDMA_ADC_DMA_CH2 DMA_REMAP_ADC_DMA_CH2
Kojto 106:ba1f97679dad 166 #define HAL_REMAPDMA_USART1_TX_DMA_CH4 DMA_REMAP_USART1_TX_DMA_CH4
Kojto 106:ba1f97679dad 167 #define HAL_REMAPDMA_USART1_RX_DMA_CH5 DMA_REMAP_USART1_RX_DMA_CH5
Kojto 106:ba1f97679dad 168 #define HAL_REMAPDMA_TIM16_DMA_CH4 DMA_REMAP_TIM16_DMA_CH4
Kojto 106:ba1f97679dad 169 #define HAL_REMAPDMA_TIM17_DMA_CH2 DMA_REMAP_TIM17_DMA_CH2
Kojto 106:ba1f97679dad 170 #define HAL_REMAPDMA_USART3_DMA_CH32 DMA_REMAP_USART3_DMA_CH32
Kojto 106:ba1f97679dad 171 #define HAL_REMAPDMA_TIM16_DMA_CH6 DMA_REMAP_TIM16_DMA_CH6
Kojto 106:ba1f97679dad 172 #define HAL_REMAPDMA_TIM17_DMA_CH7 DMA_REMAP_TIM17_DMA_CH7
Kojto 106:ba1f97679dad 173 #define HAL_REMAPDMA_SPI2_DMA_CH67 DMA_REMAP_SPI2_DMA_CH67
Kojto 106:ba1f97679dad 174 #define HAL_REMAPDMA_USART2_DMA_CH67 DMA_REMAP_USART2_DMA_CH67
Kojto 106:ba1f97679dad 175 #define HAL_REMAPDMA_USART3_DMA_CH32 DMA_REMAP_USART3_DMA_CH32
Kojto 106:ba1f97679dad 176 #define HAL_REMAPDMA_I2C1_DMA_CH76 DMA_REMAP_I2C1_DMA_CH76
Kojto 106:ba1f97679dad 177 #define HAL_REMAPDMA_TIM1_DMA_CH6 DMA_REMAP_TIM1_DMA_CH6
Kojto 106:ba1f97679dad 178 #define HAL_REMAPDMA_TIM2_DMA_CH7 DMA_REMAP_TIM2_DMA_CH7
Kojto 106:ba1f97679dad 179 #define HAL_REMAPDMA_TIM3_DMA_CH6 DMA_REMAP_TIM3_DMA_CH6
Kojto 106:ba1f97679dad 180
Kojto 106:ba1f97679dad 181 #define IS_HAL_REMAPDMA IS_DMA_REMAP
Kojto 106:ba1f97679dad 182 #define __HAL_REMAPDMA_CHANNEL_ENABLE __HAL_DMA_REMAP_CHANNEL_ENABLE
Kojto 106:ba1f97679dad 183 #define __HAL_REMAPDMA_CHANNEL_DISABLE __HAL_DMA_REMAP_CHANNEL_DISABLE
Kojto 106:ba1f97679dad 184
Kojto 106:ba1f97679dad 185
Kojto 106:ba1f97679dad 186
Kojto 106:ba1f97679dad 187 /**
Kojto 106:ba1f97679dad 188 * @}
Kojto 106:ba1f97679dad 189 */
Kojto 99:dbbf35b96557 190
Kojto 99:dbbf35b96557 191 /** @defgroup HAL_FLASH_Aliased_Defines HAL FLASH Aliased Defines maintained for legacy purpose
Kojto 99:dbbf35b96557 192 * @{
Kojto 99:dbbf35b96557 193 */
Kojto 99:dbbf35b96557 194
Kojto 99:dbbf35b96557 195 #define TYPEPROGRAM_BYTE FLASH_TYPEPROGRAM_BYTE
Kojto 99:dbbf35b96557 196 #define TYPEPROGRAM_HALFWORD FLASH_TYPEPROGRAM_HALFWORD
Kojto 99:dbbf35b96557 197 #define TYPEPROGRAM_WORD FLASH_TYPEPROGRAM_WORD
Kojto 99:dbbf35b96557 198 #define TYPEPROGRAM_DOUBLEWORD FLASH_TYPEPROGRAM_DOUBLEWORD
Kojto 99:dbbf35b96557 199 #define TYPEERASE_SECTORS FLASH_TYPEERASE_SECTORS
Kojto 99:dbbf35b96557 200 #define TYPEERASE_PAGES FLASH_TYPEERASE_PAGES
Kojto 99:dbbf35b96557 201 #define TYPEERASE_PAGEERASE FLASH_TYPEERASE_PAGES
Kojto 99:dbbf35b96557 202 #define TYPEERASE_MASSERASE FLASH_TYPEERASE_MASSERASE
Kojto 99:dbbf35b96557 203 #define WRPSTATE_DISABLE OB_WRPSTATE_DISABLE
Kojto 99:dbbf35b96557 204 #define WRPSTATE_ENABLE OB_WRPSTATE_ENABLE
Kojto 99:dbbf35b96557 205 #define HAL_FLASH_TIMEOUT_VALUE FLASH_TIMEOUT_VALUE
Kojto 99:dbbf35b96557 206 #define OBEX_PCROP OPTIONBYTE_PCROP
Kojto 99:dbbf35b96557 207 #define OBEX_BOOTCONFIG OPTIONBYTE_BOOTCONFIG
Kojto 99:dbbf35b96557 208 #define PCROPSTATE_DISABLE OB_PCROP_STATE_DISABLE
Kojto 99:dbbf35b96557 209 #define PCROPSTATE_ENABLE OB_PCROP_STATE_ENABLE
Kojto 99:dbbf35b96557 210 #define TYPEERASEDATA_BYTE FLASH_TYPEERASEDATA_BYTE
Kojto 99:dbbf35b96557 211 #define TYPEERASEDATA_HALFWORD FLASH_TYPEERASEDATA_HALFWORD
Kojto 99:dbbf35b96557 212 #define TYPEERASEDATA_WORD FLASH_TYPEERASEDATA_WORD
Kojto 99:dbbf35b96557 213 #define TYPEPROGRAMDATA_BYTE FLASH_TYPEPROGRAMDATA_BYTE
Kojto 99:dbbf35b96557 214 #define TYPEPROGRAMDATA_HALFWORD FLASH_TYPEPROGRAMDATA_HALFWORD
Kojto 99:dbbf35b96557 215 #define TYPEPROGRAMDATA_WORD FLASH_TYPEPROGRAMDATA_WORD
Kojto 99:dbbf35b96557 216 #define TYPEPROGRAMDATA_FASTBYTE FLASH_TYPEPROGRAMDATA_FASTBYTE
Kojto 99:dbbf35b96557 217 #define TYPEPROGRAMDATA_FASTHALFWORD FLASH_TYPEPROGRAMDATA_FASTHALFWORD
Kojto 99:dbbf35b96557 218 #define TYPEPROGRAMDATA_FASTWORD FLASH_TYPEPROGRAMDATA_FASTWORD
Kojto 99:dbbf35b96557 219 #define PAGESIZE FLASH_PAGE_SIZE
Kojto 99:dbbf35b96557 220 #define TYPEPROGRAM_FASTBYTE FLASH_TYPEPROGRAM_BYTE
Kojto 99:dbbf35b96557 221 #define TYPEPROGRAM_FASTHALFWORD FLASH_TYPEPROGRAM_HALFWORD
Kojto 99:dbbf35b96557 222 #define TYPEPROGRAM_FASTWORD FLASH_TYPEPROGRAM_WORD
Kojto 99:dbbf35b96557 223 #define VOLTAGE_RANGE_1 FLASH_VOLTAGE_RANGE_1
Kojto 99:dbbf35b96557 224 #define VOLTAGE_RANGE_2 FLASH_VOLTAGE_RANGE_2
Kojto 99:dbbf35b96557 225 #define VOLTAGE_RANGE_3 FLASH_VOLTAGE_RANGE_3
Kojto 99:dbbf35b96557 226 #define VOLTAGE_RANGE_4 FLASH_VOLTAGE_RANGE_4
Kojto 99:dbbf35b96557 227 #define TYPEPROGRAM_FAST FLASH_TYPEPROGRAM_FAST
Kojto 99:dbbf35b96557 228 #define TYPEPROGRAM_FAST_AND_LAST FLASH_TYPEPROGRAM_FAST_AND_LAST
Kojto 99:dbbf35b96557 229 #define WRPAREA_BANK1_AREAA OB_WRPAREA_BANK1_AREAA
Kojto 99:dbbf35b96557 230 #define WRPAREA_BANK1_AREAB OB_WRPAREA_BANK1_AREAB
Kojto 99:dbbf35b96557 231 #define WRPAREA_BANK2_AREAA OB_WRPAREA_BANK2_AREAA
Kojto 99:dbbf35b96557 232 #define WRPAREA_BANK2_AREAB OB_WRPAREA_BANK2_AREAB
Kojto 99:dbbf35b96557 233 #define IWDG_STDBY_FREEZE OB_IWDG_STDBY_FREEZE
Kojto 99:dbbf35b96557 234 #define IWDG_STDBY_ACTIVE OB_IWDG_STDBY_RUN
Kojto 99:dbbf35b96557 235 #define IWDG_STOP_FREEZE OB_IWDG_STOP_FREEZE
Kojto 99:dbbf35b96557 236 #define IWDG_STOP_ACTIVE OB_IWDG_STOP_RUN
Kojto 99:dbbf35b96557 237 #define FLASH_ERROR_NONE HAL_FLASH_ERROR_NONE
Kojto 99:dbbf35b96557 238 #define FLASH_ERROR_RD HAL_FLASH_ERROR_RD
Kojto 99:dbbf35b96557 239 #define FLASH_ERROR_PG HAL_FLASH_ERROR_PROG
Kojto 99:dbbf35b96557 240 #define FLASH_ERROR_PGP HAL_FLASH_ERROR_PGS
Kojto 99:dbbf35b96557 241 #define FLASH_ERROR_WRP HAL_FLASH_ERROR_WRP
Kojto 99:dbbf35b96557 242 #define FLASH_ERROR_OPTV HAL_FLASH_ERROR_OPTV
Kojto 99:dbbf35b96557 243 #define FLASH_ERROR_OPTVUSR HAL_FLASH_ERROR_OPTVUSR
Kojto 99:dbbf35b96557 244 #define FLASH_ERROR_PROG HAL_FLASH_ERROR_PROG
Kojto 99:dbbf35b96557 245 #define FLASH_ERROR_OP HAL_FLASH_ERROR_OPERATION
Kojto 99:dbbf35b96557 246 #define FLASH_ERROR_PGA HAL_FLASH_ERROR_PGA
Kojto 99:dbbf35b96557 247 #define FLASH_ERROR_SIZE HAL_FLASH_ERROR_SIZE
Kojto 99:dbbf35b96557 248 #define FLASH_ERROR_SIZ HAL_FLASH_ERROR_SIZE
Kojto 99:dbbf35b96557 249 #define FLASH_ERROR_PGS HAL_FLASH_ERROR_PGS
Kojto 99:dbbf35b96557 250 #define FLASH_ERROR_MIS HAL_FLASH_ERROR_MIS
Kojto 99:dbbf35b96557 251 #define FLASH_ERROR_FAST HAL_FLASH_ERROR_FAST
Kojto 99:dbbf35b96557 252 #define FLASH_ERROR_FWWERR HAL_FLASH_ERROR_FWWERR
Kojto 99:dbbf35b96557 253 #define FLASH_ERROR_NOTZERO HAL_FLASH_ERROR_NOTZERO
Kojto 99:dbbf35b96557 254 #define FLASH_ERROR_OPERATION HAL_FLASH_ERROR_OPERATION
Kojto 99:dbbf35b96557 255 #define FLASH_ERROR_ERS HAL_FLASH_ERROR_ERS
Kojto 106:ba1f97679dad 256 #define OB_WDG_SW OB_IWDG_SW
Kojto 106:ba1f97679dad 257 #define OB_WDG_HW OB_IWDG_HW
Kojto 110:165afa46840b 258 #define OB_SDADC12_VDD_MONITOR_SET OB_SDACD_VDD_MONITOR_SET
Kojto 110:165afa46840b 259 #define OB_SDADC12_VDD_MONITOR_RESET OB_SDACD_VDD_MONITOR_RESET
Kojto 110:165afa46840b 260 #define OB_RAM_PARITY_CHECK_SET OB_SRAM_PARITY_SET
Kojto 110:165afa46840b 261 #define OB_RAM_PARITY_CHECK_RESET OB_SRAM_PARITY_RESET
Kojto 110:165afa46840b 262 #define IS_OB_SDADC12_VDD_MONITOR IS_OB_SDACD_VDD_MONITOR
Kojto 110:165afa46840b 263 #define OB_RDP_LEVEL0 OB_RDP_LEVEL_0
Kojto 110:165afa46840b 264 #define OB_RDP_LEVEL1 OB_RDP_LEVEL_1
Kojto 110:165afa46840b 265 #define OB_RDP_LEVEL2 OB_RDP_LEVEL_2
Kojto 99:dbbf35b96557 266 /**
Kojto 99:dbbf35b96557 267 * @}
Kojto 99:dbbf35b96557 268 */
Kojto 99:dbbf35b96557 269
Kojto 99:dbbf35b96557 270 /** @defgroup HAL_SYSCFG_Aliased_Defines HAL SYSCFG Aliased Defines maintained for legacy purpose
Kojto 99:dbbf35b96557 271 * @{
Kojto 99:dbbf35b96557 272 */
Kojto 99:dbbf35b96557 273
Kojto 110:165afa46840b 274 #define HAL_SYSCFG_FASTMODEPLUS_I2C_PA9 I2C_FASTMODEPLUS_PA9
Kojto 110:165afa46840b 275 #define HAL_SYSCFG_FASTMODEPLUS_I2C_PA10 I2C_FASTMODEPLUS_PA10
Kojto 110:165afa46840b 276 #define HAL_SYSCFG_FASTMODEPLUS_I2C_PB6 I2C_FASTMODEPLUS_PB6
Kojto 110:165afa46840b 277 #define HAL_SYSCFG_FASTMODEPLUS_I2C_PB7 I2C_FASTMODEPLUS_PB7
Kojto 110:165afa46840b 278 #define HAL_SYSCFG_FASTMODEPLUS_I2C_PB8 I2C_FASTMODEPLUS_PB8
Kojto 110:165afa46840b 279 #define HAL_SYSCFG_FASTMODEPLUS_I2C_PB9 I2C_FASTMODEPLUS_PB9
Kojto 110:165afa46840b 280 #define HAL_SYSCFG_FASTMODEPLUS_I2C1 I2C_FASTMODEPLUS_I2C1
Kojto 110:165afa46840b 281 #define HAL_SYSCFG_FASTMODEPLUS_I2C2 I2C_FASTMODEPLUS_I2C2
Kojto 110:165afa46840b 282 #define HAL_SYSCFG_FASTMODEPLUS_I2C3 I2C_FASTMODEPLUS_I2C3
Kojto 99:dbbf35b96557 283 /**
Kojto 99:dbbf35b96557 284 * @}
Kojto 99:dbbf35b96557 285 */
Kojto 99:dbbf35b96557 286
Kojto 99:dbbf35b96557 287
Kojto 106:ba1f97679dad 288 /** @defgroup LL_FMC_Aliased_Defines LL FMC Aliased Defines maintained for compatibility purpose
Kojto 106:ba1f97679dad 289 * @{
Kojto 106:ba1f97679dad 290 */
Kojto 106:ba1f97679dad 291 #if defined(STM32L4) || defined(STM32F7)
Kojto 106:ba1f97679dad 292 #define FMC_NAND_PCC_WAIT_FEATURE_DISABLE FMC_NAND_WAIT_FEATURE_DISABLE
Kojto 106:ba1f97679dad 293 #define FMC_NAND_PCC_WAIT_FEATURE_ENABLE FMC_NAND_WAIT_FEATURE_ENABLE
Kojto 106:ba1f97679dad 294 #define FMC_NAND_PCC_MEM_BUS_WIDTH_8 FMC_NAND_MEM_BUS_WIDTH_8
Kojto 106:ba1f97679dad 295 #define FMC_NAND_PCC_MEM_BUS_WIDTH_16 FMC_NAND_MEM_BUS_WIDTH_16
Kojto 106:ba1f97679dad 296 #else
Kojto 106:ba1f97679dad 297 #define FMC_NAND_WAIT_FEATURE_DISABLE FMC_NAND_PCC_WAIT_FEATURE_DISABLE
Kojto 106:ba1f97679dad 298 #define FMC_NAND_WAIT_FEATURE_ENABLE FMC_NAND_PCC_WAIT_FEATURE_ENABLE
Kojto 106:ba1f97679dad 299 #define FMC_NAND_MEM_BUS_WIDTH_8 FMC_NAND_PCC_MEM_BUS_WIDTH_8
Kojto 106:ba1f97679dad 300 #define FMC_NAND_MEM_BUS_WIDTH_16 FMC_NAND_PCC_MEM_BUS_WIDTH_16
Kojto 106:ba1f97679dad 301 #endif
Kojto 106:ba1f97679dad 302 /**
Kojto 106:ba1f97679dad 303 * @}
Kojto 106:ba1f97679dad 304 */
Kojto 106:ba1f97679dad 305
Kojto 99:dbbf35b96557 306 /** @defgroup LL_FSMC_Aliased_Defines LL FSMC Aliased Defines maintained for legacy purpose
Kojto 99:dbbf35b96557 307 * @{
Kojto 99:dbbf35b96557 308 */
Kojto 99:dbbf35b96557 309
Kojto 99:dbbf35b96557 310 #define FSMC_NORSRAM_TYPEDEF FSMC_NORSRAM_TypeDef
Kojto 99:dbbf35b96557 311 #define FSMC_NORSRAM_EXTENDED_TYPEDEF FSMC_NORSRAM_EXTENDED_TypeDef
Kojto 99:dbbf35b96557 312 /**
Kojto 99:dbbf35b96557 313 * @}
Kojto 99:dbbf35b96557 314 */
Kojto 99:dbbf35b96557 315
Kojto 99:dbbf35b96557 316 /** @defgroup HAL_GPIO_Aliased_Macros HAL GPIO Aliased Macros maintained for legacy purpose
Kojto 99:dbbf35b96557 317 * @{
Kojto 99:dbbf35b96557 318 */
Kojto 99:dbbf35b96557 319 #define GET_GPIO_SOURCE GPIO_GET_INDEX
Kojto 99:dbbf35b96557 320 #define GET_GPIO_INDEX GPIO_GET_INDEX
Kojto 106:ba1f97679dad 321
Kojto 106:ba1f97679dad 322 #if defined(STM32F4)
Kojto 106:ba1f97679dad 323 #define GPIO_AF12_SDMMC GPIO_AF12_SDIO
Kojto 106:ba1f97679dad 324 #define GPIO_AF12_SDMMC1 GPIO_AF12_SDIO
Kojto 106:ba1f97679dad 325 #endif
Kojto 106:ba1f97679dad 326
Kojto 106:ba1f97679dad 327 #if defined(STM32F7)
Kojto 106:ba1f97679dad 328 #define GPIO_AF12_SDIO GPIO_AF12_SDMMC1
Kojto 106:ba1f97679dad 329 #define GPIO_AF12_SDMMC GPIO_AF12_SDMMC1
Kojto 106:ba1f97679dad 330 #endif
Kojto 106:ba1f97679dad 331
Kojto 106:ba1f97679dad 332 #if defined(STM32L4)
Kojto 106:ba1f97679dad 333 #define GPIO_AF12_SDIO GPIO_AF12_SDMMC1
Kojto 106:ba1f97679dad 334 #define GPIO_AF12_SDMMC GPIO_AF12_SDMMC1
Kojto 106:ba1f97679dad 335 #endif
Kojto 106:ba1f97679dad 336
Kojto 106:ba1f97679dad 337 #define GPIO_AF0_LPTIM GPIO_AF0_LPTIM1
Kojto 106:ba1f97679dad 338 #define GPIO_AF1_LPTIM GPIO_AF1_LPTIM1
Kojto 106:ba1f97679dad 339 #define GPIO_AF2_LPTIM GPIO_AF2_LPTIM1
Kojto 106:ba1f97679dad 340
Kojto 110:165afa46840b 341 #if defined(STM32L0) || defined(STM32F4)
Kojto 110:165afa46840b 342 #define GPIO_SPEED_LOW GPIO_SPEED_FREQ_LOW
Kojto 110:165afa46840b 343 #define GPIO_SPEED_MEDIUM GPIO_SPEED_FREQ_MEDIUM
Kojto 110:165afa46840b 344 #define GPIO_SPEED_FAST GPIO_SPEED_FREQ_HIGH
Kojto 110:165afa46840b 345 #define GPIO_SPEED_HIGH GPIO_SPEED_FREQ_VERY_HIGH
Kojto 110:165afa46840b 346 #endif /* STM32L0 || STM32F4 */
Kojto 110:165afa46840b 347
Kojto 99:dbbf35b96557 348 /**
Kojto 99:dbbf35b96557 349 * @}
Kojto 99:dbbf35b96557 350 */
Kojto 99:dbbf35b96557 351
Kojto 106:ba1f97679dad 352 /** @defgroup HAL_HRTIM_Aliased_Macros HAL HRTIM Aliased Macros maintained for legacy purpose
Kojto 106:ba1f97679dad 353 * @{
Kojto 106:ba1f97679dad 354 */
Kojto 106:ba1f97679dad 355 #define HRTIM_TIMDELAYEDPROTECTION_DISABLED HRTIM_TIMER_A_B_C_DELAYEDPROTECTION_DISABLED
Kojto 106:ba1f97679dad 356 #define HRTIM_TIMDELAYEDPROTECTION_DELAYEDOUT1_EEV68 HRTIM_TIMER_A_B_C_DELAYEDPROTECTION_DELAYEDOUT1_EEV6
Kojto 106:ba1f97679dad 357 #define HRTIM_TIMDELAYEDPROTECTION_DELAYEDOUT2_EEV68 HRTIM_TIMER_A_B_C_DELAYEDPROTECTION_DELAYEDOUT2_EEV6
Kojto 106:ba1f97679dad 358 #define HRTIM_TIMDELAYEDPROTECTION_DELAYEDBOTH_EEV68 HRTIM_TIMER_A_B_C_DELAYEDPROTECTION_DELAYEDBOTH_EEV6
Kojto 106:ba1f97679dad 359 #define HRTIM_TIMDELAYEDPROTECTION_BALANCED_EEV68 HRTIM_TIMER_A_B_C_DELAYEDPROTECTION_BALANCED_EEV6
Kojto 106:ba1f97679dad 360 #define HRTIM_TIMDELAYEDPROTECTION_DELAYEDOUT1_DEEV79 HRTIM_TIMER_A_B_C_DELAYEDPROTECTION_DELAYEDOUT1_DEEV7
Kojto 106:ba1f97679dad 361 #define HRTIM_TIMDELAYEDPROTECTION_DELAYEDOUT2_DEEV79 HRTIM_TIMER_A_B_C_DELAYEDPROTECTION_DELAYEDOUT2_DEEV7
Kojto 106:ba1f97679dad 362 #define HRTIM_TIMDELAYEDPROTECTION_DELAYEDBOTH_EEV79 HRTIM_TIMER_A_B_C_DELAYEDPROTECTION_DELAYEDBOTH_EEV7
Kojto 106:ba1f97679dad 363 #define HRTIM_TIMDELAYEDPROTECTION_BALANCED_EEV79 HRTIM_TIMER_A_B_C_DELAYEDPROTECTION_BALANCED_EEV7
Kojto 106:ba1f97679dad 364 /**
Kojto 106:ba1f97679dad 365 * @}
Kojto 106:ba1f97679dad 366 */
Kojto 99:dbbf35b96557 367
Kojto 99:dbbf35b96557 368 /** @defgroup HAL_I2C_Aliased_Defines HAL I2C Aliased Defines maintained for legacy purpose
Kojto 99:dbbf35b96557 369 * @{
Kojto 99:dbbf35b96557 370 */
Kojto 99:dbbf35b96557 371 #define I2C_DUALADDRESS_DISABLED I2C_DUALADDRESS_DISABLE
Kojto 99:dbbf35b96557 372 #define I2C_DUALADDRESS_ENABLED I2C_DUALADDRESS_ENABLE
Kojto 99:dbbf35b96557 373 #define I2C_GENERALCALL_DISABLED I2C_GENERALCALL_DISABLE
Kojto 99:dbbf35b96557 374 #define I2C_GENERALCALL_ENABLED I2C_GENERALCALL_ENABLE
Kojto 99:dbbf35b96557 375 #define I2C_NOSTRETCH_DISABLED I2C_NOSTRETCH_DISABLE
Kojto 99:dbbf35b96557 376 #define I2C_NOSTRETCH_ENABLED I2C_NOSTRETCH_ENABLE
Kojto 99:dbbf35b96557 377 #define I2C_ANALOGFILTER_ENABLED I2C_ANALOGFILTER_ENABLE
Kojto 99:dbbf35b96557 378 #define I2C_ANALOGFILTER_DISABLED I2C_ANALOGFILTER_DISABLE
Kojto 99:dbbf35b96557 379 /**
Kojto 99:dbbf35b96557 380 * @}
Kojto 99:dbbf35b96557 381 */
Kojto 99:dbbf35b96557 382
Kojto 99:dbbf35b96557 383 /** @defgroup HAL_IRDA_Aliased_Defines HAL IRDA Aliased Defines maintained for legacy purpose
Kojto 99:dbbf35b96557 384 * @{
Kojto 99:dbbf35b96557 385 */
Kojto 99:dbbf35b96557 386 #define IRDA_ONE_BIT_SAMPLE_DISABLED IRDA_ONE_BIT_SAMPLE_DISABLE
Kojto 99:dbbf35b96557 387 #define IRDA_ONE_BIT_SAMPLE_ENABLED IRDA_ONE_BIT_SAMPLE_ENABLE
Kojto 99:dbbf35b96557 388
Kojto 99:dbbf35b96557 389 /**
Kojto 99:dbbf35b96557 390 * @}
Kojto 99:dbbf35b96557 391 */
Kojto 99:dbbf35b96557 392
Kojto 99:dbbf35b96557 393 /** @defgroup HAL_IWDG_Aliased_Defines HAL IWDG Aliased Defines maintained for legacy purpose
Kojto 99:dbbf35b96557 394 * @{
Kojto 99:dbbf35b96557 395 */
Kojto 99:dbbf35b96557 396 #define KR_KEY_RELOAD IWDG_KEY_RELOAD
Kojto 99:dbbf35b96557 397 #define KR_KEY_ENABLE IWDG_KEY_ENABLE
Kojto 99:dbbf35b96557 398 #define KR_KEY_EWA IWDG_KEY_WRITE_ACCESS_ENABLE
Kojto 99:dbbf35b96557 399 #define KR_KEY_DWA IWDG_KEY_WRITE_ACCESS_DISABLE
Kojto 99:dbbf35b96557 400 /**
Kojto 99:dbbf35b96557 401 * @}
Kojto 99:dbbf35b96557 402 */
Kojto 99:dbbf35b96557 403
Kojto 99:dbbf35b96557 404 /** @defgroup HAL_LPTIM_Aliased_Defines HAL LPTIM Aliased Defines maintained for legacy purpose
Kojto 99:dbbf35b96557 405 * @{
Kojto 99:dbbf35b96557 406 */
Kojto 99:dbbf35b96557 407
Kojto 99:dbbf35b96557 408 #define LPTIM_CLOCKSAMPLETIME_DIRECTTRANSISTION LPTIM_CLOCKSAMPLETIME_DIRECTTRANSITION
Kojto 99:dbbf35b96557 409 #define LPTIM_CLOCKSAMPLETIME_2TRANSISTIONS LPTIM_CLOCKSAMPLETIME_2TRANSITIONS
Kojto 99:dbbf35b96557 410 #define LPTIM_CLOCKSAMPLETIME_4TRANSISTIONS LPTIM_CLOCKSAMPLETIME_4TRANSITIONS
Kojto 99:dbbf35b96557 411 #define LPTIM_CLOCKSAMPLETIME_8TRANSISTIONS LPTIM_CLOCKSAMPLETIME_8TRANSITIONS
Kojto 99:dbbf35b96557 412
Kojto 99:dbbf35b96557 413 #define LPTIM_CLOCKPOLARITY_RISINGEDGE LPTIM_CLOCKPOLARITY_RISING
Kojto 99:dbbf35b96557 414 #define LPTIM_CLOCKPOLARITY_FALLINGEDGE LPTIM_CLOCKPOLARITY_FALLING
Kojto 99:dbbf35b96557 415 #define LPTIM_CLOCKPOLARITY_BOTHEDGES LPTIM_CLOCKPOLARITY_RISING_FALLING
Kojto 106:ba1f97679dad 416
Kojto 106:ba1f97679dad 417 #define LPTIM_TRIGSAMPLETIME_DIRECTTRANSISTION LPTIM_TRIGSAMPLETIME_DIRECTTRANSITION
Kojto 106:ba1f97679dad 418 #define LPTIM_TRIGSAMPLETIME_2TRANSISTIONS LPTIM_TRIGSAMPLETIME_2TRANSITIONS
Kojto 106:ba1f97679dad 419 #define LPTIM_TRIGSAMPLETIME_4TRANSISTIONS LPTIM_TRIGSAMPLETIME_4TRANSITIONS
Kojto 106:ba1f97679dad 420 #define LPTIM_TRIGSAMPLETIME_8TRANSISTIONS LPTIM_TRIGSAMPLETIME_8TRANSITIONS
Kojto 106:ba1f97679dad 421
Kojto 106:ba1f97679dad 422 /* The following 3 definition have also been present in a temporary version of lptim.h */
Kojto 106:ba1f97679dad 423 /* They need to be renamed also to the right name, just in case */
Kojto 106:ba1f97679dad 424 #define LPTIM_TRIGSAMPLETIME_2TRANSITION LPTIM_TRIGSAMPLETIME_2TRANSITIONS
Kojto 106:ba1f97679dad 425 #define LPTIM_TRIGSAMPLETIME_4TRANSITION LPTIM_TRIGSAMPLETIME_4TRANSITIONS
Kojto 106:ba1f97679dad 426 #define LPTIM_TRIGSAMPLETIME_8TRANSITION LPTIM_TRIGSAMPLETIME_8TRANSITIONS
Kojto 106:ba1f97679dad 427
Kojto 99:dbbf35b96557 428 /**
Kojto 99:dbbf35b96557 429 * @}
Kojto 99:dbbf35b96557 430 */
Kojto 99:dbbf35b96557 431
Kojto 99:dbbf35b96557 432 /** @defgroup HAL_NAND_Aliased_Defines HAL NAND Aliased Defines maintained for legacy purpose
Kojto 99:dbbf35b96557 433 * @{
Kojto 99:dbbf35b96557 434 */
Kojto 99:dbbf35b96557 435 #define NAND_AddressTypedef NAND_AddressTypeDef
Kojto 99:dbbf35b96557 436
Kojto 99:dbbf35b96557 437 #define __ARRAY_ADDRESS ARRAY_ADDRESS
Kojto 99:dbbf35b96557 438 #define __ADDR_1st_CYCLE ADDR_1ST_CYCLE
Kojto 99:dbbf35b96557 439 #define __ADDR_2nd_CYCLE ADDR_2ND_CYCLE
Kojto 99:dbbf35b96557 440 #define __ADDR_3rd_CYCLE ADDR_3RD_CYCLE
Kojto 99:dbbf35b96557 441 #define __ADDR_4th_CYCLE ADDR_4TH_CYCLE
Kojto 99:dbbf35b96557 442 /**
Kojto 99:dbbf35b96557 443 * @}
Kojto 99:dbbf35b96557 444 */
Kojto 99:dbbf35b96557 445
Kojto 99:dbbf35b96557 446 /** @defgroup HAL_NOR_Aliased_Defines HAL NOR Aliased Defines maintained for legacy purpose
Kojto 99:dbbf35b96557 447 * @{
Kojto 99:dbbf35b96557 448 */
Kojto 99:dbbf35b96557 449 #define NOR_StatusTypedef HAL_NOR_StatusTypeDef
Kojto 99:dbbf35b96557 450 #define NOR_SUCCESS HAL_NOR_STATUS_SUCCESS
Kojto 99:dbbf35b96557 451 #define NOR_ONGOING HAL_NOR_STATUS_ONGOING
Kojto 99:dbbf35b96557 452 #define NOR_ERROR HAL_NOR_STATUS_ERROR
Kojto 99:dbbf35b96557 453 #define NOR_TIMEOUT HAL_NOR_STATUS_TIMEOUT
Kojto 99:dbbf35b96557 454
Kojto 99:dbbf35b96557 455 #define __NOR_WRITE NOR_WRITE
Kojto 99:dbbf35b96557 456 #define __NOR_ADDR_SHIFT NOR_ADDR_SHIFT
Kojto 99:dbbf35b96557 457 /**
Kojto 99:dbbf35b96557 458 * @}
Kojto 99:dbbf35b96557 459 */
Kojto 99:dbbf35b96557 460
Kojto 99:dbbf35b96557 461 /** @defgroup HAL_OPAMP_Aliased_Defines HAL OPAMP Aliased Defines maintained for legacy purpose
Kojto 99:dbbf35b96557 462 * @{
Kojto 99:dbbf35b96557 463 */
Kojto 99:dbbf35b96557 464
Kojto 99:dbbf35b96557 465 #define OPAMP_NONINVERTINGINPUT_VP0 OPAMP_NONINVERTINGINPUT_IO0
Kojto 99:dbbf35b96557 466 #define OPAMP_NONINVERTINGINPUT_VP1 OPAMP_NONINVERTINGINPUT_IO1
Kojto 99:dbbf35b96557 467 #define OPAMP_NONINVERTINGINPUT_VP2 OPAMP_NONINVERTINGINPUT_IO2
Kojto 99:dbbf35b96557 468 #define OPAMP_NONINVERTINGINPUT_VP3 OPAMP_NONINVERTINGINPUT_IO3
Kojto 99:dbbf35b96557 469
Kojto 99:dbbf35b96557 470 #define OPAMP_SEC_NONINVERTINGINPUT_VP0 OPAMP_SEC_NONINVERTINGINPUT_IO0
Kojto 99:dbbf35b96557 471 #define OPAMP_SEC_NONINVERTINGINPUT_VP1 OPAMP_SEC_NONINVERTINGINPUT_IO1
Kojto 99:dbbf35b96557 472 #define OPAMP_SEC_NONINVERTINGINPUT_VP2 OPAMP_SEC_NONINVERTINGINPUT_IO2
Kojto 99:dbbf35b96557 473 #define OPAMP_SEC_NONINVERTINGINPUT_VP3 OPAMP_SEC_NONINVERTINGINPUT_IO3
Kojto 99:dbbf35b96557 474
Kojto 99:dbbf35b96557 475 #define OPAMP_INVERTINGINPUT_VM0 OPAMP_INVERTINGINPUT_IO0
Kojto 99:dbbf35b96557 476 #define OPAMP_INVERTINGINPUT_VM1 OPAMP_INVERTINGINPUT_IO1
Kojto 99:dbbf35b96557 477
Kojto 99:dbbf35b96557 478 #define IOPAMP_INVERTINGINPUT_VM0 OPAMP_INVERTINGINPUT_IO0
Kojto 99:dbbf35b96557 479 #define IOPAMP_INVERTINGINPUT_VM1 OPAMP_INVERTINGINPUT_IO1
Kojto 99:dbbf35b96557 480
Kojto 99:dbbf35b96557 481 #define OPAMP_SEC_INVERTINGINPUT_VM0 OPAMP_SEC_INVERTINGINPUT_IO0
Kojto 99:dbbf35b96557 482 #define OPAMP_SEC_INVERTINGINPUT_VM1 OPAMP_SEC_INVERTINGINPUT_IO1
Kojto 99:dbbf35b96557 483
Kojto 99:dbbf35b96557 484 #define OPAMP_INVERTINGINPUT_VINM OPAMP_SEC_INVERTINGINPUT_IO1
Kojto 99:dbbf35b96557 485
Kojto 99:dbbf35b96557 486 #define OPAMP_PGACONNECT_NO OPAMP_PGA_CONNECT_INVERTINGINPUT_NO
Kojto 99:dbbf35b96557 487 #define OPAMP_PGACONNECT_VM0 OPAMP_PGA_CONNECT_INVERTINGINPUT_IO0
Kojto 99:dbbf35b96557 488 #define OPAMP_PGACONNECT_VM1 OPAMP_PGA_CONNECT_INVERTINGINPUT_IO1
Kojto 99:dbbf35b96557 489
Kojto 99:dbbf35b96557 490 /**
Kojto 99:dbbf35b96557 491 * @}
Kojto 99:dbbf35b96557 492 */
Kojto 99:dbbf35b96557 493
Kojto 99:dbbf35b96557 494 /** @defgroup HAL_I2S_Aliased_Defines HAL I2S Aliased Defines maintained for legacy purpose
Kojto 99:dbbf35b96557 495 * @{
Kojto 99:dbbf35b96557 496 */
Kojto 99:dbbf35b96557 497 #define I2S_STANDARD_PHILLIPS I2S_STANDARD_PHILIPS
Kojto 99:dbbf35b96557 498 /**
Kojto 99:dbbf35b96557 499 * @}
Kojto 99:dbbf35b96557 500 */
Kojto 99:dbbf35b96557 501
Kojto 99:dbbf35b96557 502 /** @defgroup HAL_PCCARD_Aliased_Defines HAL PCCARD Aliased Defines maintained for legacy purpose
Kojto 99:dbbf35b96557 503 * @{
Kojto 99:dbbf35b96557 504 */
Kojto 99:dbbf35b96557 505
Kojto 99:dbbf35b96557 506 /* Compact Flash-ATA registers description */
Kojto 99:dbbf35b96557 507 #define CF_DATA ATA_DATA
Kojto 99:dbbf35b96557 508 #define CF_SECTOR_COUNT ATA_SECTOR_COUNT
Kojto 99:dbbf35b96557 509 #define CF_SECTOR_NUMBER ATA_SECTOR_NUMBER
Kojto 99:dbbf35b96557 510 #define CF_CYLINDER_LOW ATA_CYLINDER_LOW
Kojto 99:dbbf35b96557 511 #define CF_CYLINDER_HIGH ATA_CYLINDER_HIGH
Kojto 99:dbbf35b96557 512 #define CF_CARD_HEAD ATA_CARD_HEAD
Kojto 99:dbbf35b96557 513 #define CF_STATUS_CMD ATA_STATUS_CMD
Kojto 99:dbbf35b96557 514 #define CF_STATUS_CMD_ALTERNATE ATA_STATUS_CMD_ALTERNATE
Kojto 99:dbbf35b96557 515 #define CF_COMMON_DATA_AREA ATA_COMMON_DATA_AREA
Kojto 99:dbbf35b96557 516
Kojto 99:dbbf35b96557 517 /* Compact Flash-ATA commands */
Kojto 99:dbbf35b96557 518 #define CF_READ_SECTOR_CMD ATA_READ_SECTOR_CMD
Kojto 99:dbbf35b96557 519 #define CF_WRITE_SECTOR_CMD ATA_WRITE_SECTOR_CMD
Kojto 99:dbbf35b96557 520 #define CF_ERASE_SECTOR_CMD ATA_ERASE_SECTOR_CMD
Kojto 99:dbbf35b96557 521 #define CF_IDENTIFY_CMD ATA_IDENTIFY_CMD
Kojto 99:dbbf35b96557 522
Kojto 99:dbbf35b96557 523 #define PCCARD_StatusTypedef HAL_PCCARD_StatusTypeDef
Kojto 99:dbbf35b96557 524 #define PCCARD_SUCCESS HAL_PCCARD_STATUS_SUCCESS
Kojto 99:dbbf35b96557 525 #define PCCARD_ONGOING HAL_PCCARD_STATUS_ONGOING
Kojto 99:dbbf35b96557 526 #define PCCARD_ERROR HAL_PCCARD_STATUS_ERROR
Kojto 99:dbbf35b96557 527 #define PCCARD_TIMEOUT HAL_PCCARD_STATUS_TIMEOUT
Kojto 99:dbbf35b96557 528 /**
Kojto 99:dbbf35b96557 529 * @}
Kojto 99:dbbf35b96557 530 */
Kojto 99:dbbf35b96557 531
Kojto 99:dbbf35b96557 532 /** @defgroup HAL_RTC_Aliased_Defines HAL RTC Aliased Defines maintained for legacy purpose
Kojto 99:dbbf35b96557 533 * @{
Kojto 99:dbbf35b96557 534 */
Kojto 99:dbbf35b96557 535
Kojto 99:dbbf35b96557 536 #define FORMAT_BIN RTC_FORMAT_BIN
Kojto 99:dbbf35b96557 537 #define FORMAT_BCD RTC_FORMAT_BCD
Kojto 99:dbbf35b96557 538
Kojto 99:dbbf35b96557 539 #define RTC_ALARMSUBSECONDMASK_None RTC_ALARMSUBSECONDMASK_NONE
Kojto 99:dbbf35b96557 540 #define RTC_TAMPERERASEBACKUP_ENABLED RTC_TAMPER_ERASE_BACKUP_ENABLE
Kojto 99:dbbf35b96557 541 #define RTC_TAMPERERASEBACKUP_DISABLED RTC_TAMPER_ERASE_BACKUP_DISABLE
Kojto 99:dbbf35b96557 542 #define RTC_TAMPERMASK_FLAG_DISABLED RTC_TAMPERMASK_FLAG_DISABLE
Kojto 99:dbbf35b96557 543 #define RTC_TAMPERMASK_FLAG_ENABLED RTC_TAMPERMASK_FLAG_ENABLE
Kojto 99:dbbf35b96557 544
Kojto 106:ba1f97679dad 545 #define RTC_MASKTAMPERFLAG_DISABLED RTC_TAMPERMASK_FLAG_DISABLE
Kojto 99:dbbf35b96557 546 #define RTC_MASKTAMPERFLAG_ENABLED RTC_TAMPERMASK_FLAG_ENABLE
Kojto 106:ba1f97679dad 547 #define RTC_TAMPERERASEBACKUP_ENABLED RTC_TAMPER_ERASE_BACKUP_ENABLE
Kojto 106:ba1f97679dad 548 #define RTC_TAMPERERASEBACKUP_DISABLED RTC_TAMPER_ERASE_BACKUP_DISABLE
Kojto 106:ba1f97679dad 549 #define RTC_MASKTAMPERFLAG_DISABLED RTC_TAMPERMASK_FLAG_DISABLE
Kojto 99:dbbf35b96557 550 #define RTC_MASKTAMPERFLAG_ENABLED RTC_TAMPERMASK_FLAG_ENABLE
Kojto 106:ba1f97679dad 551 #define RTC_TAMPER1_2_INTERRUPT RTC_ALL_TAMPER_INTERRUPT
Kojto 106:ba1f97679dad 552 #define RTC_TAMPER1_2_3_INTERRUPT RTC_ALL_TAMPER_INTERRUPT
Kojto 106:ba1f97679dad 553
Kojto 106:ba1f97679dad 554 #define RTC_TIMESTAMPPIN_PC13 RTC_TIMESTAMPPIN_DEFAULT
Kojto 106:ba1f97679dad 555 #define RTC_TIMESTAMPPIN_PA0 RTC_TIMESTAMPPIN_POS1
Kojto 106:ba1f97679dad 556 #define RTC_TIMESTAMPPIN_PI8 RTC_TIMESTAMPPIN_POS1
Kojto 106:ba1f97679dad 557 #define RTC_TIMESTAMPPIN_PC1 RTC_TIMESTAMPPIN_POS2
Kojto 106:ba1f97679dad 558
Kojto 106:ba1f97679dad 559 #define RTC_OUTPUT_REMAP_PC13 RTC_OUTPUT_REMAP_NONE
Kojto 106:ba1f97679dad 560 #define RTC_OUTPUT_REMAP_PB14 RTC_OUTPUT_REMAP_POS1
Kojto 106:ba1f97679dad 561 #define RTC_OUTPUT_REMAP_PB2 RTC_OUTPUT_REMAP_POS1
Kojto 106:ba1f97679dad 562
Kojto 106:ba1f97679dad 563 #define RTC_TAMPERPIN_PC13 RTC_TAMPERPIN_DEFAULT
Kojto 106:ba1f97679dad 564 #define RTC_TAMPERPIN_PA0 RTC_TAMPERPIN_POS1
Kojto 106:ba1f97679dad 565 #define RTC_TAMPERPIN_PI8 RTC_TAMPERPIN_POS1
Kojto 99:dbbf35b96557 566
Kojto 99:dbbf35b96557 567 /**
Kojto 99:dbbf35b96557 568 * @}
Kojto 99:dbbf35b96557 569 */
Kojto 99:dbbf35b96557 570
Kojto 99:dbbf35b96557 571
Kojto 99:dbbf35b96557 572 /** @defgroup HAL_SMARTCARD_Aliased_Defines HAL SMARTCARD Aliased Defines maintained for legacy purpose
Kojto 99:dbbf35b96557 573 * @{
Kojto 99:dbbf35b96557 574 */
Kojto 99:dbbf35b96557 575 #define SMARTCARD_NACK_ENABLED SMARTCARD_NACK_ENABLE
Kojto 99:dbbf35b96557 576 #define SMARTCARD_NACK_DISABLED SMARTCARD_NACK_DISABLE
Kojto 99:dbbf35b96557 577
Kojto 99:dbbf35b96557 578 #define SMARTCARD_ONEBIT_SAMPLING_DISABLED SMARTCARD_ONE_BIT_SAMPLE_DISABLE
Kojto 99:dbbf35b96557 579 #define SMARTCARD_ONEBIT_SAMPLING_ENABLED SMARTCARD_ONE_BIT_SAMPLE_ENABLE
Kojto 99:dbbf35b96557 580 #define SMARTCARD_ONEBIT_SAMPLING_DISABLE SMARTCARD_ONE_BIT_SAMPLE_DISABLE
Kojto 99:dbbf35b96557 581 #define SMARTCARD_ONEBIT_SAMPLING_ENABLE SMARTCARD_ONE_BIT_SAMPLE_ENABLE
Kojto 99:dbbf35b96557 582
Kojto 99:dbbf35b96557 583 #define SMARTCARD_TIMEOUT_DISABLED SMARTCARD_TIMEOUT_DISABLE
Kojto 99:dbbf35b96557 584 #define SMARTCARD_TIMEOUT_ENABLED SMARTCARD_TIMEOUT_ENABLE
Kojto 99:dbbf35b96557 585
Kojto 99:dbbf35b96557 586 #define SMARTCARD_LASTBIT_DISABLED SMARTCARD_LASTBIT_DISABLE
Kojto 99:dbbf35b96557 587 #define SMARTCARD_LASTBIT_ENABLED SMARTCARD_LASTBIT_ENABLE
Kojto 99:dbbf35b96557 588 /**
Kojto 99:dbbf35b96557 589 * @}
Kojto 99:dbbf35b96557 590 */
Kojto 99:dbbf35b96557 591
Kojto 99:dbbf35b96557 592
Kojto 99:dbbf35b96557 593 /** @defgroup HAL_SMBUS_Aliased_Defines HAL SMBUS Aliased Defines maintained for legacy purpose
Kojto 99:dbbf35b96557 594 * @{
Kojto 99:dbbf35b96557 595 */
Kojto 99:dbbf35b96557 596 #define SMBUS_DUALADDRESS_DISABLED SMBUS_DUALADDRESS_DISABLE
Kojto 99:dbbf35b96557 597 #define SMBUS_DUALADDRESS_ENABLED SMBUS_DUALADDRESS_ENABLE
Kojto 99:dbbf35b96557 598 #define SMBUS_GENERALCALL_DISABLED SMBUS_GENERALCALL_DISABLE
Kojto 99:dbbf35b96557 599 #define SMBUS_GENERALCALL_ENABLED SMBUS_GENERALCALL_ENABLE
Kojto 99:dbbf35b96557 600 #define SMBUS_NOSTRETCH_DISABLED SMBUS_NOSTRETCH_DISABLE
Kojto 99:dbbf35b96557 601 #define SMBUS_NOSTRETCH_ENABLED SMBUS_NOSTRETCH_ENABLE
Kojto 99:dbbf35b96557 602 #define SMBUS_ANALOGFILTER_ENABLED SMBUS_ANALOGFILTER_ENABLE
Kojto 99:dbbf35b96557 603 #define SMBUS_ANALOGFILTER_DISABLED SMBUS_ANALOGFILTER_DISABLE
Kojto 106:ba1f97679dad 604 #define SMBUS_PEC_DISABLED SMBUS_PEC_DISABLE
Kojto 106:ba1f97679dad 605 #define SMBUS_PEC_ENABLED SMBUS_PEC_ENABLE
Kojto 99:dbbf35b96557 606 #define HAL_SMBUS_STATE_SLAVE_LISTEN HAL_SMBUS_STATE_LISTEN
Kojto 99:dbbf35b96557 607 /**
Kojto 99:dbbf35b96557 608 * @}
Kojto 99:dbbf35b96557 609 */
Kojto 99:dbbf35b96557 610
Kojto 99:dbbf35b96557 611 /** @defgroup HAL_SPI_Aliased_Defines HAL SPI Aliased Defines maintained for legacy purpose
Kojto 99:dbbf35b96557 612 * @{
Kojto 99:dbbf35b96557 613 */
Kojto 99:dbbf35b96557 614 #define SPI_TIMODE_DISABLED SPI_TIMODE_DISABLE
Kojto 99:dbbf35b96557 615 #define SPI_TIMODE_ENABLED SPI_TIMODE_ENABLE
Kojto 99:dbbf35b96557 616
Kojto 99:dbbf35b96557 617 #define SPI_CRCCALCULATION_DISABLED SPI_CRCCALCULATION_DISABLE
Kojto 99:dbbf35b96557 618 #define SPI_CRCCALCULATION_ENABLED SPI_CRCCALCULATION_ENABLE
Kojto 99:dbbf35b96557 619
Kojto 99:dbbf35b96557 620 #define SPI_NSS_PULSE_DISABLED SPI_NSS_PULSE_DISABLE
Kojto 99:dbbf35b96557 621 #define SPI_NSS_PULSE_ENABLED SPI_NSS_PULSE_ENABLE
Kojto 99:dbbf35b96557 622
Kojto 99:dbbf35b96557 623 /**
Kojto 99:dbbf35b96557 624 * @}
Kojto 99:dbbf35b96557 625 */
Kojto 99:dbbf35b96557 626
Kojto 99:dbbf35b96557 627 /** @defgroup HAL_TIM_Aliased_Defines HAL TIM Aliased Defines maintained for legacy purpose
Kojto 99:dbbf35b96557 628 * @{
Kojto 99:dbbf35b96557 629 */
Kojto 99:dbbf35b96557 630 #define CCER_CCxE_MASK TIM_CCER_CCxE_MASK
Kojto 99:dbbf35b96557 631 #define CCER_CCxNE_MASK TIM_CCER_CCxNE_MASK
Kojto 99:dbbf35b96557 632
Kojto 99:dbbf35b96557 633 #define TIM_DMABase_CR1 TIM_DMABASE_CR1
Kojto 99:dbbf35b96557 634 #define TIM_DMABase_CR2 TIM_DMABASE_CR2
Kojto 99:dbbf35b96557 635 #define TIM_DMABase_SMCR TIM_DMABASE_SMCR
Kojto 99:dbbf35b96557 636 #define TIM_DMABase_DIER TIM_DMABASE_DIER
Kojto 99:dbbf35b96557 637 #define TIM_DMABase_SR TIM_DMABASE_SR
Kojto 99:dbbf35b96557 638 #define TIM_DMABase_EGR TIM_DMABASE_EGR
Kojto 99:dbbf35b96557 639 #define TIM_DMABase_CCMR1 TIM_DMABASE_CCMR1
Kojto 99:dbbf35b96557 640 #define TIM_DMABase_CCMR2 TIM_DMABASE_CCMR2
Kojto 99:dbbf35b96557 641 #define TIM_DMABase_CCER TIM_DMABASE_CCER
Kojto 99:dbbf35b96557 642 #define TIM_DMABase_CNT TIM_DMABASE_CNT
Kojto 99:dbbf35b96557 643 #define TIM_DMABase_PSC TIM_DMABASE_PSC
Kojto 99:dbbf35b96557 644 #define TIM_DMABase_ARR TIM_DMABASE_ARR
Kojto 99:dbbf35b96557 645 #define TIM_DMABase_RCR TIM_DMABASE_RCR
Kojto 99:dbbf35b96557 646 #define TIM_DMABase_CCR1 TIM_DMABASE_CCR1
Kojto 99:dbbf35b96557 647 #define TIM_DMABase_CCR2 TIM_DMABASE_CCR2
Kojto 99:dbbf35b96557 648 #define TIM_DMABase_CCR3 TIM_DMABASE_CCR3
Kojto 99:dbbf35b96557 649 #define TIM_DMABase_CCR4 TIM_DMABASE_CCR4
Kojto 99:dbbf35b96557 650 #define TIM_DMABase_BDTR TIM_DMABASE_BDTR
Kojto 99:dbbf35b96557 651 #define TIM_DMABase_DCR TIM_DMABASE_DCR
Kojto 99:dbbf35b96557 652 #define TIM_DMABase_DMAR TIM_DMABASE_DMAR
Kojto 99:dbbf35b96557 653 #define TIM_DMABase_OR1 TIM_DMABASE_OR1
Kojto 99:dbbf35b96557 654 #define TIM_DMABase_CCMR3 TIM_DMABASE_CCMR3
Kojto 99:dbbf35b96557 655 #define TIM_DMABase_CCR5 TIM_DMABASE_CCR5
Kojto 99:dbbf35b96557 656 #define TIM_DMABase_CCR6 TIM_DMABASE_CCR6
Kojto 99:dbbf35b96557 657 #define TIM_DMABase_OR2 TIM_DMABASE_OR2
Kojto 99:dbbf35b96557 658 #define TIM_DMABase_OR3 TIM_DMABASE_OR3
Kojto 99:dbbf35b96557 659 #define TIM_DMABase_OR TIM_DMABASE_OR
Kojto 99:dbbf35b96557 660
Kojto 99:dbbf35b96557 661 #define TIM_EventSource_Update TIM_EVENTSOURCE_UPDATE
Kojto 99:dbbf35b96557 662 #define TIM_EventSource_CC1 TIM_EVENTSOURCE_CC1
Kojto 99:dbbf35b96557 663 #define TIM_EventSource_CC2 TIM_EVENTSOURCE_CC2
Kojto 99:dbbf35b96557 664 #define TIM_EventSource_CC3 TIM_EVENTSOURCE_CC3
Kojto 99:dbbf35b96557 665 #define TIM_EventSource_CC4 TIM_EVENTSOURCE_CC4
Kojto 99:dbbf35b96557 666 #define TIM_EventSource_COM TIM_EVENTSOURCE_COM
Kojto 99:dbbf35b96557 667 #define TIM_EventSource_Trigger TIM_EVENTSOURCE_TRIGGER
Kojto 99:dbbf35b96557 668 #define TIM_EventSource_Break TIM_EVENTSOURCE_BREAK
Kojto 99:dbbf35b96557 669 #define TIM_EventSource_Break2 TIM_EVENTSOURCE_BREAK2
Kojto 99:dbbf35b96557 670
Kojto 99:dbbf35b96557 671 #define TIM_DMABurstLength_1Transfer TIM_DMABURSTLENGTH_1TRANSFER
Kojto 99:dbbf35b96557 672 #define TIM_DMABurstLength_2Transfers TIM_DMABURSTLENGTH_2TRANSFERS
Kojto 99:dbbf35b96557 673 #define TIM_DMABurstLength_3Transfers TIM_DMABURSTLENGTH_3TRANSFERS
Kojto 99:dbbf35b96557 674 #define TIM_DMABurstLength_4Transfers TIM_DMABURSTLENGTH_4TRANSFERS
Kojto 99:dbbf35b96557 675 #define TIM_DMABurstLength_5Transfers TIM_DMABURSTLENGTH_5TRANSFERS
Kojto 99:dbbf35b96557 676 #define TIM_DMABurstLength_6Transfers TIM_DMABURSTLENGTH_6TRANSFERS
Kojto 99:dbbf35b96557 677 #define TIM_DMABurstLength_7Transfers TIM_DMABURSTLENGTH_7TRANSFERS
Kojto 99:dbbf35b96557 678 #define TIM_DMABurstLength_8Transfers TIM_DMABURSTLENGTH_8TRANSFERS
Kojto 99:dbbf35b96557 679 #define TIM_DMABurstLength_9Transfers TIM_DMABURSTLENGTH_9TRANSFERS
Kojto 99:dbbf35b96557 680 #define TIM_DMABurstLength_10Transfers TIM_DMABURSTLENGTH_10TRANSFERS
Kojto 99:dbbf35b96557 681 #define TIM_DMABurstLength_11Transfers TIM_DMABURSTLENGTH_11TRANSFERS
Kojto 99:dbbf35b96557 682 #define TIM_DMABurstLength_12Transfers TIM_DMABURSTLENGTH_12TRANSFERS
Kojto 99:dbbf35b96557 683 #define TIM_DMABurstLength_13Transfers TIM_DMABURSTLENGTH_13TRANSFERS
Kojto 99:dbbf35b96557 684 #define TIM_DMABurstLength_14Transfers TIM_DMABURSTLENGTH_14TRANSFERS
Kojto 99:dbbf35b96557 685 #define TIM_DMABurstLength_15Transfers TIM_DMABURSTLENGTH_15TRANSFERS
Kojto 99:dbbf35b96557 686 #define TIM_DMABurstLength_16Transfers TIM_DMABURSTLENGTH_16TRANSFERS
Kojto 99:dbbf35b96557 687 #define TIM_DMABurstLength_17Transfers TIM_DMABURSTLENGTH_17TRANSFERS
Kojto 99:dbbf35b96557 688 #define TIM_DMABurstLength_18Transfers TIM_DMABURSTLENGTH_18TRANSFERS
Kojto 99:dbbf35b96557 689
Kojto 99:dbbf35b96557 690 /**
Kojto 99:dbbf35b96557 691 * @}
Kojto 99:dbbf35b96557 692 */
Kojto 99:dbbf35b96557 693
Kojto 99:dbbf35b96557 694 /** @defgroup HAL_TSC_Aliased_Defines HAL TSC Aliased Defines maintained for legacy purpose
Kojto 99:dbbf35b96557 695 * @{
Kojto 99:dbbf35b96557 696 */
Kojto 99:dbbf35b96557 697 #define TSC_SYNC_POL_FALL TSC_SYNC_POLARITY_FALLING
Kojto 99:dbbf35b96557 698 #define TSC_SYNC_POL_RISE_HIGH TSC_SYNC_POLARITY_RISING
Kojto 99:dbbf35b96557 699 /**
Kojto 99:dbbf35b96557 700 * @}
Kojto 99:dbbf35b96557 701 */
Kojto 99:dbbf35b96557 702
Kojto 99:dbbf35b96557 703 /** @defgroup HAL_UART_Aliased_Defines HAL UART Aliased Defines maintained for legacy purpose
Kojto 99:dbbf35b96557 704 * @{
Kojto 99:dbbf35b96557 705 */
Kojto 99:dbbf35b96557 706 #define UART_ONEBIT_SAMPLING_DISABLED UART_ONE_BIT_SAMPLE_DISABLE
Kojto 99:dbbf35b96557 707 #define UART_ONEBIT_SAMPLING_ENABLED UART_ONE_BIT_SAMPLE_ENABLE
Kojto 99:dbbf35b96557 708 #define UART_ONE_BIT_SAMPLE_DISABLED UART_ONE_BIT_SAMPLE_DISABLE
Kojto 99:dbbf35b96557 709 #define UART_ONE_BIT_SAMPLE_ENABLED UART_ONE_BIT_SAMPLE_ENABLE
Kojto 99:dbbf35b96557 710
Kojto 99:dbbf35b96557 711 #define __HAL_UART_ONEBIT_ENABLE __HAL_UART_ONE_BIT_SAMPLE_ENABLE
Kojto 99:dbbf35b96557 712 #define __HAL_UART_ONEBIT_DISABLE __HAL_UART_ONE_BIT_SAMPLE_DISABLE
Kojto 99:dbbf35b96557 713
Kojto 99:dbbf35b96557 714 #define __DIV_SAMPLING16 UART_DIV_SAMPLING16
Kojto 99:dbbf35b96557 715 #define __DIVMANT_SAMPLING16 UART_DIVMANT_SAMPLING16
Kojto 99:dbbf35b96557 716 #define __DIVFRAQ_SAMPLING16 UART_DIVFRAQ_SAMPLING16
Kojto 99:dbbf35b96557 717 #define __UART_BRR_SAMPLING16 UART_BRR_SAMPLING16
Kojto 99:dbbf35b96557 718
Kojto 99:dbbf35b96557 719 #define __DIV_SAMPLING8 UART_DIV_SAMPLING8
Kojto 99:dbbf35b96557 720 #define __DIVMANT_SAMPLING8 UART_DIVMANT_SAMPLING8
Kojto 99:dbbf35b96557 721 #define __DIVFRAQ_SAMPLING8 UART_DIVFRAQ_SAMPLING8
Kojto 99:dbbf35b96557 722 #define __UART_BRR_SAMPLING8 UART_BRR_SAMPLING8
Kojto 99:dbbf35b96557 723
Kojto 99:dbbf35b96557 724 #define UART_WAKEUPMETHODE_IDLELINE UART_WAKEUPMETHOD_IDLELINE
Kojto 99:dbbf35b96557 725 #define UART_WAKEUPMETHODE_ADDRESSMARK UART_WAKEUPMETHOD_ADDRESSMARK
Kojto 99:dbbf35b96557 726
Kojto 99:dbbf35b96557 727 /**
Kojto 99:dbbf35b96557 728 * @}
Kojto 99:dbbf35b96557 729 */
Kojto 99:dbbf35b96557 730
Kojto 99:dbbf35b96557 731
Kojto 99:dbbf35b96557 732 /** @defgroup HAL_USART_Aliased_Defines HAL USART Aliased Defines maintained for legacy purpose
Kojto 99:dbbf35b96557 733 * @{
Kojto 99:dbbf35b96557 734 */
Kojto 99:dbbf35b96557 735
Kojto 99:dbbf35b96557 736 #define USART_CLOCK_DISABLED USART_CLOCK_DISABLE
Kojto 99:dbbf35b96557 737 #define USART_CLOCK_ENABLED USART_CLOCK_ENABLE
Kojto 99:dbbf35b96557 738
Kojto 99:dbbf35b96557 739 #define USARTNACK_ENABLED USART_NACK_ENABLE
Kojto 99:dbbf35b96557 740 #define USARTNACK_DISABLED USART_NACK_DISABLE
Kojto 99:dbbf35b96557 741 /**
Kojto 99:dbbf35b96557 742 * @}
Kojto 99:dbbf35b96557 743 */
Kojto 99:dbbf35b96557 744
Kojto 99:dbbf35b96557 745 /** @defgroup HAL_WWDG_Aliased_Defines HAL WWDG Aliased Defines maintained for legacy purpose
Kojto 99:dbbf35b96557 746 * @{
Kojto 99:dbbf35b96557 747 */
Kojto 99:dbbf35b96557 748 #define CFR_BASE WWDG_CFR_BASE
Kojto 99:dbbf35b96557 749
Kojto 99:dbbf35b96557 750 /**
Kojto 99:dbbf35b96557 751 * @}
Kojto 99:dbbf35b96557 752 */
Kojto 99:dbbf35b96557 753
Kojto 99:dbbf35b96557 754 /** @defgroup HAL_CAN_Aliased_Defines HAL CAN Aliased Defines maintained for legacy purpose
Kojto 99:dbbf35b96557 755 * @{
Kojto 99:dbbf35b96557 756 */
Kojto 99:dbbf35b96557 757 #define CAN_FilterFIFO0 CAN_FILTER_FIFO0
Kojto 99:dbbf35b96557 758 #define CAN_FilterFIFO1 CAN_FILTER_FIFO1
Kojto 99:dbbf35b96557 759 #define CAN_IT_RQCP0 CAN_IT_TME
Kojto 99:dbbf35b96557 760 #define CAN_IT_RQCP1 CAN_IT_TME
Kojto 99:dbbf35b96557 761 #define CAN_IT_RQCP2 CAN_IT_TME
Kojto 99:dbbf35b96557 762 #define INAK_TIMEOUT CAN_TIMEOUT_VALUE
Kojto 99:dbbf35b96557 763 #define SLAK_TIMEOUT CAN_TIMEOUT_VALUE
Kojto 99:dbbf35b96557 764 #define CAN_TXSTATUS_FAILED ((uint8_t)0x00)
Kojto 99:dbbf35b96557 765 #define CAN_TXSTATUS_OK ((uint8_t)0x01)
Kojto 99:dbbf35b96557 766 #define CAN_TXSTATUS_PENDING ((uint8_t)0x02)
Kojto 99:dbbf35b96557 767
Kojto 99:dbbf35b96557 768 /**
Kojto 99:dbbf35b96557 769 * @}
Kojto 99:dbbf35b96557 770 */
Kojto 99:dbbf35b96557 771
Kojto 99:dbbf35b96557 772 /** @defgroup HAL_ETH_Aliased_Defines HAL ETH Aliased Defines maintained for legacy purpose
Kojto 99:dbbf35b96557 773 * @{
Kojto 99:dbbf35b96557 774 */
Kojto 99:dbbf35b96557 775
Kojto 99:dbbf35b96557 776 #define VLAN_TAG ETH_VLAN_TAG
Kojto 99:dbbf35b96557 777 #define MIN_ETH_PAYLOAD ETH_MIN_ETH_PAYLOAD
Kojto 99:dbbf35b96557 778 #define MAX_ETH_PAYLOAD ETH_MAX_ETH_PAYLOAD
Kojto 99:dbbf35b96557 779 #define JUMBO_FRAME_PAYLOAD ETH_JUMBO_FRAME_PAYLOAD
Kojto 99:dbbf35b96557 780 #define MACMIIAR_CR_MASK ETH_MACMIIAR_CR_MASK
Kojto 99:dbbf35b96557 781 #define MACCR_CLEAR_MASK ETH_MACCR_CLEAR_MASK
Kojto 99:dbbf35b96557 782 #define MACFCR_CLEAR_MASK ETH_MACFCR_CLEAR_MASK
Kojto 99:dbbf35b96557 783 #define DMAOMR_CLEAR_MASK ETH_DMAOMR_CLEAR_MASK
Kojto 99:dbbf35b96557 784
Kojto 99:dbbf35b96557 785 #define ETH_MMCCR ((uint32_t)0x00000100)
Kojto 99:dbbf35b96557 786 #define ETH_MMCRIR ((uint32_t)0x00000104)
Kojto 99:dbbf35b96557 787 #define ETH_MMCTIR ((uint32_t)0x00000108)
Kojto 99:dbbf35b96557 788 #define ETH_MMCRIMR ((uint32_t)0x0000010C)
Kojto 99:dbbf35b96557 789 #define ETH_MMCTIMR ((uint32_t)0x00000110)
Kojto 99:dbbf35b96557 790 #define ETH_MMCTGFSCCR ((uint32_t)0x0000014C)
Kojto 99:dbbf35b96557 791 #define ETH_MMCTGFMSCCR ((uint32_t)0x00000150)
Kojto 99:dbbf35b96557 792 #define ETH_MMCTGFCR ((uint32_t)0x00000168)
Kojto 99:dbbf35b96557 793 #define ETH_MMCRFCECR ((uint32_t)0x00000194)
Kojto 99:dbbf35b96557 794 #define ETH_MMCRFAECR ((uint32_t)0x00000198)
Kojto 99:dbbf35b96557 795 #define ETH_MMCRGUFCR ((uint32_t)0x000001C4)
Kojto 99:dbbf35b96557 796
Kojto 99:dbbf35b96557 797 /**
Kojto 99:dbbf35b96557 798 * @}
Kojto 99:dbbf35b96557 799 */
Kojto 99:dbbf35b96557 800
Kojto 99:dbbf35b96557 801 /** @defgroup HAL_PPP_Aliased_Defines HAL PPP Aliased Defines maintained for legacy purpose
Kojto 99:dbbf35b96557 802 * @{
Kojto 99:dbbf35b96557 803 */
Kojto 99:dbbf35b96557 804
Kojto 99:dbbf35b96557 805 /**
Kojto 99:dbbf35b96557 806 * @}
Kojto 99:dbbf35b96557 807 */
Kojto 99:dbbf35b96557 808
Kojto 99:dbbf35b96557 809 /* Exported functions --------------------------------------------------------*/
Kojto 99:dbbf35b96557 810
Kojto 99:dbbf35b96557 811 /** @defgroup HAL_CRYP_Aliased_Functions HAL CRYP Aliased Functions maintained for legacy purpose
Kojto 99:dbbf35b96557 812 * @{
Kojto 99:dbbf35b96557 813 */
Kojto 99:dbbf35b96557 814 #define HAL_CRYP_ComputationCpltCallback HAL_CRYPEx_ComputationCpltCallback
Kojto 99:dbbf35b96557 815 /**
Kojto 99:dbbf35b96557 816 * @}
Kojto 99:dbbf35b96557 817 */
Kojto 99:dbbf35b96557 818
Kojto 99:dbbf35b96557 819 /** @defgroup HAL_HASH_Aliased_Functions HAL HASH Aliased Functions maintained for legacy purpose
Kojto 99:dbbf35b96557 820 * @{
Kojto 99:dbbf35b96557 821 */
Kojto 99:dbbf35b96557 822
Kojto 99:dbbf35b96557 823 #define HAL_HMAC_MD5_Finish HAL_HASH_MD5_Finish
Kojto 99:dbbf35b96557 824 #define HAL_HMAC_SHA1_Finish HAL_HASH_SHA1_Finish
Kojto 99:dbbf35b96557 825 #define HAL_HMAC_SHA224_Finish HAL_HASH_SHA224_Finish
Kojto 99:dbbf35b96557 826 #define HAL_HMAC_SHA256_Finish HAL_HASH_SHA256_Finish
Kojto 99:dbbf35b96557 827
Kojto 99:dbbf35b96557 828 /*HASH Algorithm Selection*/
Kojto 99:dbbf35b96557 829
Kojto 99:dbbf35b96557 830 #define HASH_AlgoSelection_SHA1 HASH_ALGOSELECTION_SHA1
Kojto 99:dbbf35b96557 831 #define HASH_AlgoSelection_SHA224 HASH_ALGOSELECTION_SHA224
Kojto 99:dbbf35b96557 832 #define HASH_AlgoSelection_SHA256 HASH_ALGOSELECTION_SHA256
Kojto 99:dbbf35b96557 833 #define HASH_AlgoSelection_MD5 HASH_ALGOSELECTION_MD5
Kojto 99:dbbf35b96557 834
Kojto 99:dbbf35b96557 835 #define HASH_AlgoMode_HASH HASH_ALGOMODE_HASH
Kojto 99:dbbf35b96557 836 #define HASH_AlgoMode_HMAC HASH_ALGOMODE_HMAC
Kojto 99:dbbf35b96557 837
Kojto 99:dbbf35b96557 838 #define HASH_HMACKeyType_ShortKey HASH_HMAC_KEYTYPE_SHORTKEY
Kojto 99:dbbf35b96557 839 #define HASH_HMACKeyType_LongKey HASH_HMAC_KEYTYPE_LONGKEY
Kojto 99:dbbf35b96557 840 /**
Kojto 99:dbbf35b96557 841 * @}
Kojto 99:dbbf35b96557 842 */
Kojto 99:dbbf35b96557 843
Kojto 99:dbbf35b96557 844 /** @defgroup HAL_Aliased_Functions HAL Generic Aliased Functions maintained for legacy purpose
Kojto 99:dbbf35b96557 845 * @{
Kojto 99:dbbf35b96557 846 */
Kojto 99:dbbf35b96557 847 #define HAL_EnableDBGSleepMode HAL_DBGMCU_EnableDBGSleepMode
Kojto 99:dbbf35b96557 848 #define HAL_DisableDBGSleepMode HAL_DBGMCU_DisableDBGSleepMode
Kojto 99:dbbf35b96557 849 #define HAL_EnableDBGStopMode HAL_DBGMCU_EnableDBGStopMode
Kojto 99:dbbf35b96557 850 #define HAL_DisableDBGStopMode HAL_DBGMCU_DisableDBGStopMode
Kojto 99:dbbf35b96557 851 #define HAL_EnableDBGStandbyMode HAL_DBGMCU_EnableDBGStandbyMode
Kojto 99:dbbf35b96557 852 #define HAL_DisableDBGStandbyMode HAL_DBGMCU_DisableDBGStandbyMode
Kojto 99:dbbf35b96557 853 #define HAL_DBG_LowPowerConfig(Periph, cmd) (((cmd)==ENABLE)? HAL_DBGMCU_DBG_EnableLowPowerConfig(Periph) : HAL_DBGMCU_DBG_DisableLowPowerConfig(Periph))
Kojto 99:dbbf35b96557 854 #define HAL_VREFINT_OutputSelect HAL_SYSCFG_VREFINT_OutputSelect
Kojto 99:dbbf35b96557 855 #define HAL_Lock_Cmd(cmd) (((cmd)==ENABLE) ? HAL_SYSCFG_Enable_Lock_VREFINT() : HAL_SYSCFG_Disable_Lock_VREFINT())
Kojto 99:dbbf35b96557 856 #define HAL_VREFINT_Cmd(cmd) (((cmd)==ENABLE)? HAL_SYSCFG_EnableVREFINT() : HAL_SYSCFG_DisableVREFINT())
Kojto 99:dbbf35b96557 857 #define HAL_ADC_EnableBuffer_Cmd(cmd) (((cmd)==ENABLE) ? HAL_ADCEx_EnableVREFINT() : HAL_ADCEx_DisableVREFINT())
Kojto 99:dbbf35b96557 858 #define HAL_ADC_EnableBufferSensor_Cmd(cmd) (((cmd)==ENABLE) ? HAL_ADCEx_EnableVREFINTTempSensor() : HAL_ADCEx_DisableVREFINTTempSensor())
Kojto 99:dbbf35b96557 859 /**
Kojto 99:dbbf35b96557 860 * @}
Kojto 99:dbbf35b96557 861 */
Kojto 99:dbbf35b96557 862
Kojto 99:dbbf35b96557 863 /** @defgroup HAL_FLASH_Aliased_Functions HAL FLASH Aliased Functions maintained for legacy purpose
Kojto 99:dbbf35b96557 864 * @{
Kojto 99:dbbf35b96557 865 */
Kojto 99:dbbf35b96557 866 #define FLASH_HalfPageProgram HAL_FLASHEx_HalfPageProgram
Kojto 99:dbbf35b96557 867 #define FLASH_EnableRunPowerDown HAL_FLASHEx_EnableRunPowerDown
Kojto 99:dbbf35b96557 868 #define FLASH_DisableRunPowerDown HAL_FLASHEx_DisableRunPowerDown
Kojto 99:dbbf35b96557 869 #define HAL_DATA_EEPROMEx_Unlock HAL_FLASHEx_DATAEEPROM_Unlock
Kojto 99:dbbf35b96557 870 #define HAL_DATA_EEPROMEx_Lock HAL_FLASHEx_DATAEEPROM_Lock
Kojto 99:dbbf35b96557 871 #define HAL_DATA_EEPROMEx_Erase HAL_FLASHEx_DATAEEPROM_Erase
Kojto 99:dbbf35b96557 872 #define HAL_DATA_EEPROMEx_Program HAL_FLASHEx_DATAEEPROM_Program
Kojto 99:dbbf35b96557 873
Kojto 99:dbbf35b96557 874 /**
Kojto 99:dbbf35b96557 875 * @}
Kojto 99:dbbf35b96557 876 */
Kojto 99:dbbf35b96557 877
Kojto 99:dbbf35b96557 878 /** @defgroup HAL_I2C_Aliased_Functions HAL I2C Aliased Functions maintained for legacy purpose
Kojto 99:dbbf35b96557 879 * @{
Kojto 99:dbbf35b96557 880 */
Kojto 99:dbbf35b96557 881 #define HAL_I2CEx_AnalogFilter_Config HAL_I2CEx_ConfigAnalogFilter
Kojto 99:dbbf35b96557 882 #define HAL_I2CEx_DigitalFilter_Config HAL_I2CEx_ConfigDigitalFilter
Kojto 99:dbbf35b96557 883
Kojto 99:dbbf35b96557 884 #define HAL_I2CFastModePlusConfig(SYSCFG_I2CFastModePlus, cmd) (((cmd)==ENABLE)? HAL_I2CEx_EnableFastModePlus(SYSCFG_I2CFastModePlus): HAL_I2CEx_DisableFastModePlus(SYSCFG_I2CFastModePlus))
Kojto 99:dbbf35b96557 885 /**
Kojto 99:dbbf35b96557 886 * @}
Kojto 99:dbbf35b96557 887 */
Kojto 99:dbbf35b96557 888
Kojto 99:dbbf35b96557 889 /** @defgroup HAL_PWR_Aliased HAL PWR Aliased maintained for legacy purpose
Kojto 99:dbbf35b96557 890 * @{
Kojto 99:dbbf35b96557 891 */
Kojto 99:dbbf35b96557 892 #define HAL_PWR_PVDConfig HAL_PWR_ConfigPVD
Kojto 99:dbbf35b96557 893 #define HAL_PWR_DisableBkUpReg HAL_PWREx_DisableBkUpReg
Kojto 99:dbbf35b96557 894 #define HAL_PWR_DisableFlashPowerDown HAL_PWREx_DisableFlashPowerDown
Kojto 99:dbbf35b96557 895 #define HAL_PWR_DisableVddio2Monitor HAL_PWREx_DisableVddio2Monitor
Kojto 99:dbbf35b96557 896 #define HAL_PWR_EnableBkUpReg HAL_PWREx_EnableBkUpReg
Kojto 99:dbbf35b96557 897 #define HAL_PWR_EnableFlashPowerDown HAL_PWREx_EnableFlashPowerDown
Kojto 99:dbbf35b96557 898 #define HAL_PWR_EnableVddio2Monitor HAL_PWREx_EnableVddio2Monitor
Kojto 99:dbbf35b96557 899 #define HAL_PWR_PVD_PVM_IRQHandler HAL_PWREx_PVD_PVM_IRQHandler
Kojto 99:dbbf35b96557 900 #define HAL_PWR_PVDLevelConfig HAL_PWR_ConfigPVD
Kojto 99:dbbf35b96557 901 #define HAL_PWR_Vddio2Monitor_IRQHandler HAL_PWREx_Vddio2Monitor_IRQHandler
Kojto 99:dbbf35b96557 902 #define HAL_PWR_Vddio2MonitorCallback HAL_PWREx_Vddio2MonitorCallback
Kojto 99:dbbf35b96557 903 #define HAL_PWREx_ActivateOverDrive HAL_PWREx_EnableOverDrive
Kojto 99:dbbf35b96557 904 #define HAL_PWREx_DeactivateOverDrive HAL_PWREx_DisableOverDrive
Kojto 99:dbbf35b96557 905 #define HAL_PWREx_DisableSDADCAnalog HAL_PWREx_DisableSDADC
Kojto 99:dbbf35b96557 906 #define HAL_PWREx_EnableSDADCAnalog HAL_PWREx_EnableSDADC
Kojto 99:dbbf35b96557 907 #define HAL_PWREx_PVMConfig HAL_PWREx_ConfigPVM
Kojto 99:dbbf35b96557 908
Kojto 99:dbbf35b96557 909 #define PWR_MODE_NORMAL PWR_PVD_MODE_NORMAL
Kojto 99:dbbf35b96557 910 #define PWR_MODE_IT_RISING PWR_PVD_MODE_IT_RISING
Kojto 99:dbbf35b96557 911 #define PWR_MODE_IT_FALLING PWR_PVD_MODE_IT_FALLING
Kojto 99:dbbf35b96557 912 #define PWR_MODE_IT_RISING_FALLING PWR_PVD_MODE_IT_RISING_FALLING
Kojto 99:dbbf35b96557 913 #define PWR_MODE_EVENT_RISING PWR_PVD_MODE_EVENT_RISING
Kojto 99:dbbf35b96557 914 #define PWR_MODE_EVENT_FALLING PWR_PVD_MODE_EVENT_FALLING
Kojto 99:dbbf35b96557 915 #define PWR_MODE_EVENT_RISING_FALLING PWR_PVD_MODE_EVENT_RISING_FALLING
Kojto 99:dbbf35b96557 916
Kojto 99:dbbf35b96557 917 #define CR_OFFSET_BB PWR_CR_OFFSET_BB
Kojto 99:dbbf35b96557 918 #define CSR_OFFSET_BB PWR_CSR_OFFSET_BB
Kojto 99:dbbf35b96557 919
Kojto 99:dbbf35b96557 920 #define DBP_BitNumber DBP_BIT_NUMBER
Kojto 99:dbbf35b96557 921 #define PVDE_BitNumber PVDE_BIT_NUMBER
Kojto 99:dbbf35b96557 922 #define PMODE_BitNumber PMODE_BIT_NUMBER
Kojto 99:dbbf35b96557 923 #define EWUP_BitNumber EWUP_BIT_NUMBER
Kojto 99:dbbf35b96557 924 #define FPDS_BitNumber FPDS_BIT_NUMBER
Kojto 99:dbbf35b96557 925 #define ODEN_BitNumber ODEN_BIT_NUMBER
Kojto 99:dbbf35b96557 926 #define ODSWEN_BitNumber ODSWEN_BIT_NUMBER
Kojto 99:dbbf35b96557 927 #define MRLVDS_BitNumber MRLVDS_BIT_NUMBER
Kojto 99:dbbf35b96557 928 #define LPLVDS_BitNumber LPLVDS_BIT_NUMBER
Kojto 99:dbbf35b96557 929 #define BRE_BitNumber BRE_BIT_NUMBER
Kojto 99:dbbf35b96557 930
Kojto 99:dbbf35b96557 931 #define PWR_MODE_EVT PWR_PVD_MODE_NORMAL
Kojto 106:ba1f97679dad 932
Kojto 99:dbbf35b96557 933 /**
Kojto 99:dbbf35b96557 934 * @}
Kojto 99:dbbf35b96557 935 */
Kojto 99:dbbf35b96557 936
Kojto 99:dbbf35b96557 937 /** @defgroup HAL_SMBUS_Aliased_Functions HAL SMBUS Aliased Functions maintained for legacy purpose
Kojto 99:dbbf35b96557 938 * @{
Kojto 99:dbbf35b96557 939 */
Kojto 99:dbbf35b96557 940 #define HAL_SMBUS_Slave_Listen_IT HAL_SMBUS_EnableListen_IT
Kojto 99:dbbf35b96557 941 #define HAL_SMBUS_SlaveAddrCallback HAL_SMBUS_AddrCallback
Kojto 99:dbbf35b96557 942 #define HAL_SMBUS_SlaveListenCpltCallback HAL_SMBUS_ListenCpltCallback
Kojto 99:dbbf35b96557 943 /**
Kojto 99:dbbf35b96557 944 * @}
Kojto 99:dbbf35b96557 945 */
Kojto 99:dbbf35b96557 946
Kojto 99:dbbf35b96557 947 /** @defgroup HAL_SPI_Aliased_Functions HAL SPI Aliased Functions maintained for legacy purpose
Kojto 99:dbbf35b96557 948 * @{
Kojto 99:dbbf35b96557 949 */
Kojto 99:dbbf35b96557 950 #define HAL_SPI_FlushRxFifo HAL_SPIEx_FlushRxFifo
Kojto 99:dbbf35b96557 951 /**
Kojto 99:dbbf35b96557 952 * @}
Kojto 99:dbbf35b96557 953 */
Kojto 99:dbbf35b96557 954
Kojto 99:dbbf35b96557 955 /** @defgroup HAL_TIM_Aliased_Functions HAL TIM Aliased Functions maintained for legacy purpose
Kojto 99:dbbf35b96557 956 * @{
Kojto 99:dbbf35b96557 957 */
Kojto 99:dbbf35b96557 958 #define HAL_TIM_DMADelayPulseCplt TIM_DMADelayPulseCplt
Kojto 99:dbbf35b96557 959 #define HAL_TIM_DMAError TIM_DMAError
Kojto 99:dbbf35b96557 960 #define HAL_TIM_DMACaptureCplt TIM_DMACaptureCplt
Kojto 99:dbbf35b96557 961 #define HAL_TIMEx_DMACommutationCplt TIMEx_DMACommutationCplt
Kojto 99:dbbf35b96557 962 /**
Kojto 99:dbbf35b96557 963 * @}
Kojto 99:dbbf35b96557 964 */
Kojto 99:dbbf35b96557 965
Kojto 99:dbbf35b96557 966 /** @defgroup HAL_UART_Aliased_Functions HAL UART Aliased Functions maintained for legacy purpose
Kojto 99:dbbf35b96557 967 * @{
Kojto 99:dbbf35b96557 968 */
Kojto 99:dbbf35b96557 969 #define HAL_UART_WakeupCallback HAL_UARTEx_WakeupCallback
Kojto 99:dbbf35b96557 970 /**
Kojto 99:dbbf35b96557 971 * @}
Kojto 99:dbbf35b96557 972 */
Kojto 106:ba1f97679dad 973
Kojto 106:ba1f97679dad 974 /** @defgroup HAL_LTDC_Aliased_Functions HAL LTDC Aliased Functions maintained for legacy purpose
Kojto 106:ba1f97679dad 975 * @{
Kojto 106:ba1f97679dad 976 */
Kojto 106:ba1f97679dad 977 #define HAL_LTDC_LineEvenCallback HAL_LTDC_LineEventCallback
Kojto 106:ba1f97679dad 978 /**
Kojto 106:ba1f97679dad 979 * @}
Kojto 106:ba1f97679dad 980 */
Kojto 99:dbbf35b96557 981
Kojto 99:dbbf35b96557 982
Kojto 99:dbbf35b96557 983 /** @defgroup HAL_PPP_Aliased_Functions HAL PPP Aliased Functions maintained for legacy purpose
Kojto 99:dbbf35b96557 984 * @{
Kojto 99:dbbf35b96557 985 */
Kojto 99:dbbf35b96557 986
Kojto 99:dbbf35b96557 987 /**
Kojto 99:dbbf35b96557 988 * @}
Kojto 99:dbbf35b96557 989 */
Kojto 99:dbbf35b96557 990
Kojto 99:dbbf35b96557 991 /* Exported macros ------------------------------------------------------------*/
Kojto 99:dbbf35b96557 992
Kojto 99:dbbf35b96557 993 /** @defgroup HAL_AES_Aliased_Macros HAL CRYP Aliased Macros maintained for legacy purpose
Kojto 99:dbbf35b96557 994 * @{
Kojto 99:dbbf35b96557 995 */
Kojto 99:dbbf35b96557 996 #define AES_IT_CC CRYP_IT_CC
Kojto 99:dbbf35b96557 997 #define AES_IT_ERR CRYP_IT_ERR
Kojto 99:dbbf35b96557 998 #define AES_FLAG_CCF CRYP_FLAG_CCF
Kojto 99:dbbf35b96557 999 /**
Kojto 99:dbbf35b96557 1000 * @}
Kojto 99:dbbf35b96557 1001 */
Kojto 99:dbbf35b96557 1002
Kojto 99:dbbf35b96557 1003 /** @defgroup HAL_Aliased_Macros HAL Generic Aliased Macros maintained for legacy purpose
Kojto 99:dbbf35b96557 1004 * @{
Kojto 99:dbbf35b96557 1005 */
Kojto 99:dbbf35b96557 1006 #define __HAL_GET_BOOT_MODE __HAL_SYSCFG_GET_BOOT_MODE
Kojto 99:dbbf35b96557 1007 #define __HAL_REMAPMEMORY_FLASH __HAL_SYSCFG_REMAPMEMORY_FLASH
Kojto 99:dbbf35b96557 1008 #define __HAL_REMAPMEMORY_SYSTEMFLASH __HAL_SYSCFG_REMAPMEMORY_SYSTEMFLASH
Kojto 99:dbbf35b96557 1009 #define __HAL_REMAPMEMORY_SRAM __HAL_SYSCFG_REMAPMEMORY_SRAM
Kojto 99:dbbf35b96557 1010 #define __HAL_REMAPMEMORY_FMC __HAL_SYSCFG_REMAPMEMORY_FMC
Kojto 99:dbbf35b96557 1011 #define __HAL_REMAPMEMORY_FMC_SDRAM __HAL_SYSCFG_REMAPMEMORY_FMC_SDRAM
Kojto 99:dbbf35b96557 1012 #define __HAL_REMAPMEMORY_FSMC __HAL_SYSCFG_REMAPMEMORY_FSMC
Kojto 99:dbbf35b96557 1013 #define __HAL_REMAPMEMORY_QUADSPI __HAL_SYSCFG_REMAPMEMORY_QUADSPI
Kojto 99:dbbf35b96557 1014 #define __HAL_FMC_BANK __HAL_SYSCFG_FMC_BANK
Kojto 99:dbbf35b96557 1015 #define __HAL_GET_FLAG __HAL_SYSCFG_GET_FLAG
Kojto 99:dbbf35b96557 1016 #define __HAL_CLEAR_FLAG __HAL_SYSCFG_CLEAR_FLAG
Kojto 99:dbbf35b96557 1017 #define __HAL_VREFINT_OUT_ENABLE __HAL_SYSCFG_VREFINT_OUT_ENABLE
Kojto 99:dbbf35b96557 1018 #define __HAL_VREFINT_OUT_DISABLE __HAL_SYSCFG_VREFINT_OUT_DISABLE
Kojto 99:dbbf35b96557 1019
Kojto 99:dbbf35b96557 1020 #define SYSCFG_FLAG_VREF_READY SYSCFG_FLAG_VREFINT_READY
Kojto 99:dbbf35b96557 1021 #define SYSCFG_FLAG_RC48 RCC_FLAG_HSI48
Kojto 99:dbbf35b96557 1022 #define IS_SYSCFG_FASTMODEPLUS_CONFIG IS_I2C_FASTMODEPLUS
Kojto 99:dbbf35b96557 1023 #define UFB_MODE_BitNumber UFB_MODE_BIT_NUMBER
Kojto 99:dbbf35b96557 1024 #define CMP_PD_BitNumber CMP_PD_BIT_NUMBER
Kojto 99:dbbf35b96557 1025
Kojto 99:dbbf35b96557 1026 /**
Kojto 99:dbbf35b96557 1027 * @}
Kojto 99:dbbf35b96557 1028 */
Kojto 99:dbbf35b96557 1029
Kojto 99:dbbf35b96557 1030
Kojto 99:dbbf35b96557 1031 /** @defgroup HAL_ADC_Aliased_Macros HAL ADC Aliased Macros maintained for legacy purpose
Kojto 99:dbbf35b96557 1032 * @{
Kojto 99:dbbf35b96557 1033 */
Kojto 99:dbbf35b96557 1034 #define __ADC_ENABLE __HAL_ADC_ENABLE
Kojto 99:dbbf35b96557 1035 #define __ADC_DISABLE __HAL_ADC_DISABLE
Kojto 99:dbbf35b96557 1036 #define __HAL_ADC_ENABLING_CONDITIONS ADC_ENABLING_CONDITIONS
Kojto 99:dbbf35b96557 1037 #define __HAL_ADC_DISABLING_CONDITIONS ADC_DISABLING_CONDITIONS
Kojto 99:dbbf35b96557 1038 #define __HAL_ADC_IS_ENABLED ADC_IS_ENABLE
Kojto 99:dbbf35b96557 1039 #define __ADC_IS_ENABLED ADC_IS_ENABLE
Kojto 99:dbbf35b96557 1040 #define __HAL_ADC_IS_SOFTWARE_START_REGULAR ADC_IS_SOFTWARE_START_REGULAR
Kojto 99:dbbf35b96557 1041 #define __HAL_ADC_IS_SOFTWARE_START_INJECTED ADC_IS_SOFTWARE_START_INJECTED
Kojto 99:dbbf35b96557 1042 #define __HAL_ADC_IS_CONVERSION_ONGOING_REGULAR_INJECTED ADC_IS_CONVERSION_ONGOING_REGULAR_INJECTED
Kojto 99:dbbf35b96557 1043 #define __HAL_ADC_IS_CONVERSION_ONGOING_REGULAR ADC_IS_CONVERSION_ONGOING_REGULAR
Kojto 99:dbbf35b96557 1044 #define __HAL_ADC_IS_CONVERSION_ONGOING_INJECTED ADC_IS_CONVERSION_ONGOING_INJECTED
Kojto 99:dbbf35b96557 1045 #define __HAL_ADC_IS_CONVERSION_ONGOING ADC_IS_CONVERSION_ONGOING
Kojto 99:dbbf35b96557 1046 #define __HAL_ADC_CLEAR_ERRORCODE ADC_CLEAR_ERRORCODE
Kojto 99:dbbf35b96557 1047
Kojto 99:dbbf35b96557 1048 #define __HAL_ADC_GET_RESOLUTION ADC_GET_RESOLUTION
Kojto 99:dbbf35b96557 1049 #define __HAL_ADC_JSQR_RK ADC_JSQR_RK
Kojto 99:dbbf35b96557 1050 #define __HAL_ADC_CFGR_AWD1CH ADC_CFGR_AWD1CH_SHIFT
Kojto 99:dbbf35b96557 1051 #define __HAL_ADC_CFGR_AWD23CR ADC_CFGR_AWD23CR
Kojto 99:dbbf35b96557 1052 #define __HAL_ADC_CFGR_INJECT_AUTO_CONVERSION ADC_CFGR_INJECT_AUTO_CONVERSION
Kojto 99:dbbf35b96557 1053 #define __HAL_ADC_CFGR_INJECT_CONTEXT_QUEUE ADC_CFGR_INJECT_CONTEXT_QUEUE
Kojto 99:dbbf35b96557 1054 #define __HAL_ADC_CFGR_INJECT_DISCCONTINUOUS ADC_CFGR_INJECT_DISCCONTINUOUS
Kojto 99:dbbf35b96557 1055 #define __HAL_ADC_CFGR_REG_DISCCONTINUOUS ADC_CFGR_REG_DISCCONTINUOUS
Kojto 99:dbbf35b96557 1056 #define __HAL_ADC_CFGR_DISCONTINUOUS_NUM ADC_CFGR_DISCONTINUOUS_NUM
Kojto 99:dbbf35b96557 1057 #define __HAL_ADC_CFGR_AUTOWAIT ADC_CFGR_AUTOWAIT
Kojto 99:dbbf35b96557 1058 #define __HAL_ADC_CFGR_CONTINUOUS ADC_CFGR_CONTINUOUS
Kojto 99:dbbf35b96557 1059 #define __HAL_ADC_CFGR_OVERRUN ADC_CFGR_OVERRUN
Kojto 99:dbbf35b96557 1060 #define __HAL_ADC_CFGR_DMACONTREQ ADC_CFGR_DMACONTREQ
Kojto 99:dbbf35b96557 1061 #define __HAL_ADC_CFGR_EXTSEL ADC_CFGR_EXTSEL_SET
Kojto 99:dbbf35b96557 1062 #define __HAL_ADC_JSQR_JEXTSEL ADC_JSQR_JEXTSEL_SET
Kojto 99:dbbf35b96557 1063 #define __HAL_ADC_OFR_CHANNEL ADC_OFR_CHANNEL
Kojto 99:dbbf35b96557 1064 #define __HAL_ADC_DIFSEL_CHANNEL ADC_DIFSEL_CHANNEL
Kojto 99:dbbf35b96557 1065 #define __HAL_ADC_CALFACT_DIFF_SET ADC_CALFACT_DIFF_SET
Kojto 99:dbbf35b96557 1066 #define __HAL_ADC_CALFACT_DIFF_GET ADC_CALFACT_DIFF_GET
Kojto 99:dbbf35b96557 1067 #define __HAL_ADC_TRX_HIGHTHRESHOLD ADC_TRX_HIGHTHRESHOLD
Kojto 99:dbbf35b96557 1068
Kojto 99:dbbf35b96557 1069 #define __HAL_ADC_OFFSET_SHIFT_RESOLUTION ADC_OFFSET_SHIFT_RESOLUTION
Kojto 99:dbbf35b96557 1070 #define __HAL_ADC_AWD1THRESHOLD_SHIFT_RESOLUTION ADC_AWD1THRESHOLD_SHIFT_RESOLUTION
Kojto 99:dbbf35b96557 1071 #define __HAL_ADC_AWD23THRESHOLD_SHIFT_RESOLUTION ADC_AWD23THRESHOLD_SHIFT_RESOLUTION
Kojto 99:dbbf35b96557 1072 #define __HAL_ADC_COMMON_REGISTER ADC_COMMON_REGISTER
Kojto 99:dbbf35b96557 1073 #define __HAL_ADC_COMMON_CCR_MULTI ADC_COMMON_CCR_MULTI
Kojto 99:dbbf35b96557 1074 #define __HAL_ADC_MULTIMODE_IS_ENABLED ADC_MULTIMODE_IS_ENABLE
Kojto 99:dbbf35b96557 1075 #define __ADC_MULTIMODE_IS_ENABLED ADC_MULTIMODE_IS_ENABLE
Kojto 99:dbbf35b96557 1076 #define __HAL_ADC_NONMULTIMODE_OR_MULTIMODEMASTER ADC_NONMULTIMODE_OR_MULTIMODEMASTER
Kojto 99:dbbf35b96557 1077 #define __HAL_ADC_COMMON_ADC_OTHER ADC_COMMON_ADC_OTHER
Kojto 99:dbbf35b96557 1078 #define __HAL_ADC_MULTI_SLAVE ADC_MULTI_SLAVE
Kojto 99:dbbf35b96557 1079
Kojto 99:dbbf35b96557 1080 #define __HAL_ADC_SQR1_L ADC_SQR1_L_SHIFT
Kojto 99:dbbf35b96557 1081 #define __HAL_ADC_JSQR_JL ADC_JSQR_JL_SHIFT
Kojto 99:dbbf35b96557 1082 #define __HAL_ADC_JSQR_RK_JL ADC_JSQR_RK_JL
Kojto 99:dbbf35b96557 1083 #define __HAL_ADC_CR1_DISCONTINUOUS_NUM ADC_CR1_DISCONTINUOUS_NUM
Kojto 99:dbbf35b96557 1084 #define __HAL_ADC_CR1_SCAN ADC_CR1_SCAN_SET
Kojto 99:dbbf35b96557 1085 #define __HAL_ADC_CONVCYCLES_MAX_RANGE ADC_CONVCYCLES_MAX_RANGE
Kojto 99:dbbf35b96557 1086 #define __HAL_ADC_CLOCK_PRESCALER_RANGE ADC_CLOCK_PRESCALER_RANGE
Kojto 99:dbbf35b96557 1087 #define __HAL_ADC_GET_CLOCK_PRESCALER ADC_GET_CLOCK_PRESCALER
Kojto 99:dbbf35b96557 1088
Kojto 99:dbbf35b96557 1089 #define __HAL_ADC_SQR1 ADC_SQR1
Kojto 99:dbbf35b96557 1090 #define __HAL_ADC_SMPR1 ADC_SMPR1
Kojto 99:dbbf35b96557 1091 #define __HAL_ADC_SMPR2 ADC_SMPR2
Kojto 99:dbbf35b96557 1092 #define __HAL_ADC_SQR3_RK ADC_SQR3_RK
Kojto 99:dbbf35b96557 1093 #define __HAL_ADC_SQR2_RK ADC_SQR2_RK
Kojto 99:dbbf35b96557 1094 #define __HAL_ADC_SQR1_RK ADC_SQR1_RK
Kojto 99:dbbf35b96557 1095 #define __HAL_ADC_CR2_CONTINUOUS ADC_CR2_CONTINUOUS
Kojto 99:dbbf35b96557 1096 #define __HAL_ADC_CR1_DISCONTINUOUS ADC_CR1_DISCONTINUOUS
Kojto 99:dbbf35b96557 1097 #define __HAL_ADC_CR1_SCANCONV ADC_CR1_SCANCONV
Kojto 99:dbbf35b96557 1098 #define __HAL_ADC_CR2_EOCSelection ADC_CR2_EOCSelection
Kojto 99:dbbf35b96557 1099 #define __HAL_ADC_CR2_DMAContReq ADC_CR2_DMAContReq
Kojto 99:dbbf35b96557 1100 #define __HAL_ADC_GET_RESOLUTION ADC_GET_RESOLUTION
Kojto 99:dbbf35b96557 1101 #define __HAL_ADC_JSQR ADC_JSQR
Kojto 99:dbbf35b96557 1102
Kojto 99:dbbf35b96557 1103 #define __HAL_ADC_CHSELR_CHANNEL ADC_CHSELR_CHANNEL
Kojto 99:dbbf35b96557 1104 #define __HAL_ADC_CFGR1_REG_DISCCONTINUOUS ADC_CFGR1_REG_DISCCONTINUOUS
Kojto 99:dbbf35b96557 1105 #define __HAL_ADC_CFGR1_AUTOOFF ADC_CFGR1_AUTOOFF
Kojto 99:dbbf35b96557 1106 #define __HAL_ADC_CFGR1_AUTOWAIT ADC_CFGR1_AUTOWAIT
Kojto 99:dbbf35b96557 1107 #define __HAL_ADC_CFGR1_CONTINUOUS ADC_CFGR1_CONTINUOUS
Kojto 99:dbbf35b96557 1108 #define __HAL_ADC_CFGR1_OVERRUN ADC_CFGR1_OVERRUN
Kojto 99:dbbf35b96557 1109 #define __HAL_ADC_CFGR1_SCANDIR ADC_CFGR1_SCANDIR
Kojto 99:dbbf35b96557 1110 #define __HAL_ADC_CFGR1_DMACONTREQ ADC_CFGR1_DMACONTREQ
Kojto 99:dbbf35b96557 1111
Kojto 99:dbbf35b96557 1112 /**
Kojto 99:dbbf35b96557 1113 * @}
Kojto 99:dbbf35b96557 1114 */
Kojto 99:dbbf35b96557 1115
Kojto 99:dbbf35b96557 1116 /** @defgroup HAL_DAC_Aliased_Macros HAL DAC Aliased Macros maintained for legacy purpose
Kojto 99:dbbf35b96557 1117 * @{
Kojto 99:dbbf35b96557 1118 */
Kojto 99:dbbf35b96557 1119 #define __HAL_DHR12R1_ALIGNEMENT DAC_DHR12R1_ALIGNMENT
Kojto 99:dbbf35b96557 1120 #define __HAL_DHR12R2_ALIGNEMENT DAC_DHR12R2_ALIGNMENT
Kojto 99:dbbf35b96557 1121 #define __HAL_DHR12RD_ALIGNEMENT DAC_DHR12RD_ALIGNMENT
Kojto 99:dbbf35b96557 1122 #define IS_DAC_GENERATE_WAVE IS_DAC_WAVE
Kojto 99:dbbf35b96557 1123
Kojto 99:dbbf35b96557 1124 /**
Kojto 99:dbbf35b96557 1125 * @}
Kojto 99:dbbf35b96557 1126 */
Kojto 99:dbbf35b96557 1127
Kojto 99:dbbf35b96557 1128 /** @defgroup HAL_DBGMCU_Aliased_Macros HAL DBGMCU Aliased Macros maintained for legacy purpose
Kojto 99:dbbf35b96557 1129 * @{
Kojto 99:dbbf35b96557 1130 */
Kojto 99:dbbf35b96557 1131 #define __HAL_FREEZE_TIM1_DBGMCU __HAL_DBGMCU_FREEZE_TIM1
Kojto 99:dbbf35b96557 1132 #define __HAL_UNFREEZE_TIM1_DBGMCU __HAL_DBGMCU_UNFREEZE_TIM1
Kojto 99:dbbf35b96557 1133 #define __HAL_FREEZE_TIM2_DBGMCU __HAL_DBGMCU_FREEZE_TIM2
Kojto 99:dbbf35b96557 1134 #define __HAL_UNFREEZE_TIM2_DBGMCU __HAL_DBGMCU_UNFREEZE_TIM2
Kojto 99:dbbf35b96557 1135 #define __HAL_FREEZE_TIM3_DBGMCU __HAL_DBGMCU_FREEZE_TIM3
Kojto 99:dbbf35b96557 1136 #define __HAL_UNFREEZE_TIM3_DBGMCU __HAL_DBGMCU_UNFREEZE_TIM3
Kojto 99:dbbf35b96557 1137 #define __HAL_FREEZE_TIM4_DBGMCU __HAL_DBGMCU_FREEZE_TIM4
Kojto 99:dbbf35b96557 1138 #define __HAL_UNFREEZE_TIM4_DBGMCU __HAL_DBGMCU_UNFREEZE_TIM4
Kojto 99:dbbf35b96557 1139 #define __HAL_FREEZE_TIM5_DBGMCU __HAL_DBGMCU_FREEZE_TIM5
Kojto 99:dbbf35b96557 1140 #define __HAL_UNFREEZE_TIM5_DBGMCU __HAL_DBGMCU_UNFREEZE_TIM5
Kojto 99:dbbf35b96557 1141 #define __HAL_FREEZE_TIM6_DBGMCU __HAL_DBGMCU_FREEZE_TIM6
Kojto 99:dbbf35b96557 1142 #define __HAL_UNFREEZE_TIM6_DBGMCU __HAL_DBGMCU_UNFREEZE_TIM6
Kojto 99:dbbf35b96557 1143 #define __HAL_FREEZE_TIM7_DBGMCU __HAL_DBGMCU_FREEZE_TIM7
Kojto 99:dbbf35b96557 1144 #define __HAL_UNFREEZE_TIM7_DBGMCU __HAL_DBGMCU_UNFREEZE_TIM7
Kojto 99:dbbf35b96557 1145 #define __HAL_FREEZE_TIM8_DBGMCU __HAL_DBGMCU_FREEZE_TIM8
Kojto 99:dbbf35b96557 1146 #define __HAL_UNFREEZE_TIM8_DBGMCU __HAL_DBGMCU_UNFREEZE_TIM8
Kojto 99:dbbf35b96557 1147
Kojto 99:dbbf35b96557 1148 #define __HAL_FREEZE_TIM9_DBGMCU __HAL_DBGMCU_FREEZE_TIM9
Kojto 99:dbbf35b96557 1149 #define __HAL_UNFREEZE_TIM9_DBGMCU __HAL_DBGMCU_UNFREEZE_TIM9
Kojto 99:dbbf35b96557 1150 #define __HAL_FREEZE_TIM10_DBGMCU __HAL_DBGMCU_FREEZE_TIM10
Kojto 99:dbbf35b96557 1151 #define __HAL_UNFREEZE_TIM10_DBGMCU __HAL_DBGMCU_UNFREEZE_TIM10
Kojto 99:dbbf35b96557 1152 #define __HAL_FREEZE_TIM11_DBGMCU __HAL_DBGMCU_FREEZE_TIM11
Kojto 99:dbbf35b96557 1153 #define __HAL_UNFREEZE_TIM11_DBGMCU __HAL_DBGMCU_UNFREEZE_TIM11
Kojto 99:dbbf35b96557 1154 #define __HAL_FREEZE_TIM12_DBGMCU __HAL_DBGMCU_FREEZE_TIM12
Kojto 99:dbbf35b96557 1155 #define __HAL_UNFREEZE_TIM12_DBGMCU __HAL_DBGMCU_UNFREEZE_TIM12
Kojto 99:dbbf35b96557 1156 #define __HAL_FREEZE_TIM13_DBGMCU __HAL_DBGMCU_FREEZE_TIM13
Kojto 99:dbbf35b96557 1157 #define __HAL_UNFREEZE_TIM13_DBGMCU __HAL_DBGMCU_UNFREEZE_TIM13
Kojto 99:dbbf35b96557 1158 #define __HAL_FREEZE_TIM14_DBGMCU __HAL_DBGMCU_FREEZE_TIM14
Kojto 99:dbbf35b96557 1159 #define __HAL_UNFREEZE_TIM14_DBGMCU __HAL_DBGMCU_UNFREEZE_TIM14
Kojto 99:dbbf35b96557 1160 #define __HAL_FREEZE_CAN2_DBGMCU __HAL_DBGMCU_FREEZE_CAN2
Kojto 99:dbbf35b96557 1161 #define __HAL_UNFREEZE_CAN2_DBGMCU __HAL_DBGMCU_UNFREEZE_CAN2
Kojto 99:dbbf35b96557 1162
Kojto 99:dbbf35b96557 1163
Kojto 99:dbbf35b96557 1164 #define __HAL_FREEZE_TIM15_DBGMCU __HAL_DBGMCU_FREEZE_TIM15
Kojto 99:dbbf35b96557 1165 #define __HAL_UNFREEZE_TIM15_DBGMCU __HAL_DBGMCU_UNFREEZE_TIM15
Kojto 99:dbbf35b96557 1166 #define __HAL_FREEZE_TIM16_DBGMCU __HAL_DBGMCU_FREEZE_TIM16
Kojto 99:dbbf35b96557 1167 #define __HAL_UNFREEZE_TIM16_DBGMCU __HAL_DBGMCU_UNFREEZE_TIM16
Kojto 99:dbbf35b96557 1168 #define __HAL_FREEZE_TIM17_DBGMCU __HAL_DBGMCU_FREEZE_TIM17
Kojto 99:dbbf35b96557 1169 #define __HAL_UNFREEZE_TIM17_DBGMCU __HAL_DBGMCU_UNFREEZE_TIM17
Kojto 99:dbbf35b96557 1170 #define __HAL_FREEZE_RTC_DBGMCU __HAL_DBGMCU_FREEZE_RTC
Kojto 99:dbbf35b96557 1171 #define __HAL_UNFREEZE_RTC_DBGMCU __HAL_DBGMCU_UNFREEZE_RTC
Kojto 99:dbbf35b96557 1172 #define __HAL_FREEZE_WWDG_DBGMCU __HAL_DBGMCU_FREEZE_WWDG
Kojto 99:dbbf35b96557 1173 #define __HAL_UNFREEZE_WWDG_DBGMCU __HAL_DBGMCU_UNFREEZE_WWDG
Kojto 99:dbbf35b96557 1174 #define __HAL_FREEZE_IWDG_DBGMCU __HAL_DBGMCU_FREEZE_IWDG
Kojto 99:dbbf35b96557 1175 #define __HAL_UNFREEZE_IWDG_DBGMCU __HAL_DBGMCU_UNFREEZE_IWDG
Kojto 99:dbbf35b96557 1176 #define __HAL_FREEZE_I2C1_TIMEOUT_DBGMCU __HAL_DBGMCU_FREEZE_I2C1_TIMEOUT
Kojto 99:dbbf35b96557 1177 #define __HAL_UNFREEZE_I2C1_TIMEOUT_DBGMCU __HAL_DBGMCU_UNFREEZE_I2C1_TIMEOUT
Kojto 99:dbbf35b96557 1178 #define __HAL_FREEZE_I2C2_TIMEOUT_DBGMCU __HAL_DBGMCU_FREEZE_I2C2_TIMEOUT
Kojto 99:dbbf35b96557 1179 #define __HAL_UNFREEZE_I2C2_TIMEOUT_DBGMCU __HAL_DBGMCU_UNFREEZE_I2C2_TIMEOUT
Kojto 99:dbbf35b96557 1180 #define __HAL_FREEZE_I2C3_TIMEOUT_DBGMCU __HAL_DBGMCU_FREEZE_I2C3_TIMEOUT
Kojto 99:dbbf35b96557 1181 #define __HAL_UNFREEZE_I2C3_TIMEOUT_DBGMCU __HAL_DBGMCU_UNFREEZE_I2C3_TIMEOUT
Kojto 99:dbbf35b96557 1182 #define __HAL_FREEZE_CAN1_DBGMCU __HAL_DBGMCU_FREEZE_CAN1
Kojto 99:dbbf35b96557 1183 #define __HAL_UNFREEZE_CAN1_DBGMCU __HAL_DBGMCU_UNFREEZE_CAN1
Kojto 99:dbbf35b96557 1184 #define __HAL_FREEZE_LPTIM1_DBGMCU __HAL_DBGMCU_FREEZE_LPTIM1
Kojto 99:dbbf35b96557 1185 #define __HAL_UNFREEZE_LPTIM1_DBGMCU __HAL_DBGMCU_UNFREEZE_LPTIM1
Kojto 99:dbbf35b96557 1186 #define __HAL_FREEZE_LPTIM2_DBGMCU __HAL_DBGMCU_FREEZE_LPTIM2
Kojto 99:dbbf35b96557 1187 #define __HAL_UNFREEZE_LPTIM2_DBGMCU __HAL_DBGMCU_UNFREEZE_LPTIM2
Kojto 99:dbbf35b96557 1188
Kojto 99:dbbf35b96557 1189 /**
Kojto 99:dbbf35b96557 1190 * @}
Kojto 99:dbbf35b96557 1191 */
Kojto 99:dbbf35b96557 1192
Kojto 99:dbbf35b96557 1193 /** @defgroup HAL_COMP_Aliased_Macros HAL COMP Aliased Macros maintained for legacy purpose
Kojto 99:dbbf35b96557 1194 * @{
Kojto 99:dbbf35b96557 1195 */
Kojto 99:dbbf35b96557 1196
Kojto 99:dbbf35b96557 1197 #define __HAL_COMP_EXTI_RISING_IT_ENABLE(__EXTILINE__) (((__EXTILINE__) == COMP_EXTI_LINE_COMP1) ? __HAL_COMP_COMP1_EXTI_ENABLE_RISING_EDGE() : \
Kojto 99:dbbf35b96557 1198 __HAL_COMP_COMP2_EXTI_ENABLE_RISING_EDGE())
Kojto 99:dbbf35b96557 1199 #define __HAL_COMP_EXTI_RISING_IT_DISABLE(__EXTILINE__) (((__EXTILINE__) == COMP_EXTI_LINE_COMP1) ? __HAL_COMP_COMP1_EXTI_ENABLE_RISING_EDGE() : \
Kojto 99:dbbf35b96557 1200 __HAL_COMP_COMP2_EXTI_DISABLE_RISING_EDGE())
Kojto 99:dbbf35b96557 1201 #define __HAL_COMP_EXTI_FALLING_IT_ENABLE(__EXTILINE__) (((__EXTILINE__) == COMP_EXTI_LINE_COMP1) ? __HAL_COMP_COMP1_EXTI_ENABLE_FALLING_EDGE() : \
Kojto 99:dbbf35b96557 1202 __HAL_COMP_COMP2_EXTI_ENABLE_FALLING_EDGE())
Kojto 99:dbbf35b96557 1203 #define __HAL_COMP_EXTI_FALLING_IT_DISABLE(__EXTILINE__) (((__EXTILINE__) == COMP_EXTI_LINE_COMP1) ? __HAL_COMP_COMP1_EXTI_ENABLE_FALLING_EDGE() : \
Kojto 99:dbbf35b96557 1204 __HAL_COMP_COMP2_EXTI_DISABLE_FALLING_EDGE())
Kojto 99:dbbf35b96557 1205 #define __HAL_COMP_EXTI_ENABLE_IT(__EXTILINE__) (((__EXTILINE__) == COMP_EXTI_LINE_COMP1) ? __HAL_COMP_COMP1_EXTI_ENABLE_IT() : \
Kojto 99:dbbf35b96557 1206 __HAL_COMP_COMP2_EXTI_ENABLE_IT())
Kojto 99:dbbf35b96557 1207 #define __HAL_COMP_EXTI_DISABLE_IT(__EXTILINE__) (((__EXTILINE__) == COMP_EXTI_LINE_COMP1) ? __HAL_COMP_COMP1_EXTI_DISABLE_IT() : \
Kojto 99:dbbf35b96557 1208 __HAL_COMP_COMP2_EXTI_DISABLE_IT())
Kojto 99:dbbf35b96557 1209 #define __HAL_COMP_EXTI_GET_FLAG(__FLAG__) (((__FLAG__) == COMP_EXTI_LINE_COMP1) ? __HAL_COMP_COMP1_EXTI_GET_FLAG() : \
Kojto 99:dbbf35b96557 1210 __HAL_COMP_COMP2_EXTI_GET_FLAG())
Kojto 99:dbbf35b96557 1211 #define __HAL_COMP_EXTI_CLEAR_FLAG(__FLAG__) (((__FLAG__) == COMP_EXTI_LINE_COMP1) ? __HAL_COMP_COMP1_EXTI_CLEAR_FLAG() : \
Kojto 99:dbbf35b96557 1212 __HAL_COMP_COMP2_EXTI_CLEAR_FLAG())
Kojto 99:dbbf35b96557 1213 #define __HAL_COMP_GET_EXTI_LINE COMP_GET_EXTI_LINE
Kojto 99:dbbf35b96557 1214
Kojto 99:dbbf35b96557 1215 /**
Kojto 99:dbbf35b96557 1216 * @}
Kojto 99:dbbf35b96557 1217 */
Kojto 99:dbbf35b96557 1218
Kojto 99:dbbf35b96557 1219 /** @defgroup HAL_DAC_Aliased_Macros HAL DAC Aliased Macros maintained for legacy purpose
Kojto 99:dbbf35b96557 1220 * @{
Kojto 99:dbbf35b96557 1221 */
Kojto 99:dbbf35b96557 1222
Kojto 99:dbbf35b96557 1223 #define IS_DAC_WAVE(WAVE) (((WAVE) == DAC_WAVE_NONE) || \
Kojto 99:dbbf35b96557 1224 ((WAVE) == DAC_WAVE_NOISE)|| \
Kojto 99:dbbf35b96557 1225 ((WAVE) == DAC_WAVE_TRIANGLE))
Kojto 99:dbbf35b96557 1226
Kojto 99:dbbf35b96557 1227 /**
Kojto 99:dbbf35b96557 1228 * @}
Kojto 99:dbbf35b96557 1229 */
Kojto 99:dbbf35b96557 1230
Kojto 99:dbbf35b96557 1231 /** @defgroup HAL_FLASH_Aliased_Macros HAL FLASH Aliased Macros maintained for legacy purpose
Kojto 99:dbbf35b96557 1232 * @{
Kojto 99:dbbf35b96557 1233 */
Kojto 99:dbbf35b96557 1234
Kojto 99:dbbf35b96557 1235 #define IS_WRPAREA IS_OB_WRPAREA
Kojto 99:dbbf35b96557 1236 #define IS_TYPEPROGRAM IS_FLASH_TYPEPROGRAM
Kojto 99:dbbf35b96557 1237 #define IS_TYPEPROGRAMFLASH IS_FLASH_TYPEPROGRAM
Kojto 99:dbbf35b96557 1238 #define IS_TYPEERASE IS_FLASH_TYPEERASE
Kojto 106:ba1f97679dad 1239 #define IS_NBSECTORS IS_FLASH_NBSECTORS
Kojto 106:ba1f97679dad 1240 #define IS_OB_WDG_SOURCE IS_OB_IWDG_SOURCE
Kojto 99:dbbf35b96557 1241
Kojto 99:dbbf35b96557 1242 /**
Kojto 99:dbbf35b96557 1243 * @}
Kojto 99:dbbf35b96557 1244 */
Kojto 99:dbbf35b96557 1245
Kojto 99:dbbf35b96557 1246 /** @defgroup HAL_I2C_Aliased_Macros HAL I2C Aliased Macros maintained for legacy purpose
Kojto 99:dbbf35b96557 1247 * @{
Kojto 99:dbbf35b96557 1248 */
Kojto 99:dbbf35b96557 1249
Kojto 99:dbbf35b96557 1250 #define __HAL_I2C_RESET_CR2 I2C_RESET_CR2
Kojto 99:dbbf35b96557 1251 #define __HAL_I2C_GENERATE_START I2C_GENERATE_START
Kojto 99:dbbf35b96557 1252 #define __HAL_I2C_FREQ_RANGE I2C_FREQ_RANGE
Kojto 99:dbbf35b96557 1253 #define __HAL_I2C_RISE_TIME I2C_RISE_TIME
Kojto 99:dbbf35b96557 1254 #define __HAL_I2C_SPEED_STANDARD I2C_SPEED_STANDARD
Kojto 99:dbbf35b96557 1255 #define __HAL_I2C_SPEED_FAST I2C_SPEED_FAST
Kojto 99:dbbf35b96557 1256 #define __HAL_I2C_SPEED I2C_SPEED
Kojto 99:dbbf35b96557 1257 #define __HAL_I2C_7BIT_ADD_WRITE I2C_7BIT_ADD_WRITE
Kojto 99:dbbf35b96557 1258 #define __HAL_I2C_7BIT_ADD_READ I2C_7BIT_ADD_READ
Kojto 99:dbbf35b96557 1259 #define __HAL_I2C_10BIT_ADDRESS I2C_10BIT_ADDRESS
Kojto 99:dbbf35b96557 1260 #define __HAL_I2C_10BIT_HEADER_WRITE I2C_10BIT_HEADER_WRITE
Kojto 99:dbbf35b96557 1261 #define __HAL_I2C_10BIT_HEADER_READ I2C_10BIT_HEADER_READ
Kojto 99:dbbf35b96557 1262 #define __HAL_I2C_MEM_ADD_MSB I2C_MEM_ADD_MSB
Kojto 99:dbbf35b96557 1263 #define __HAL_I2C_MEM_ADD_LSB I2C_MEM_ADD_LSB
Kojto 99:dbbf35b96557 1264 #define __HAL_I2C_FREQRANGE I2C_FREQRANGE
Kojto 99:dbbf35b96557 1265 /**
Kojto 99:dbbf35b96557 1266 * @}
Kojto 99:dbbf35b96557 1267 */
Kojto 99:dbbf35b96557 1268
Kojto 99:dbbf35b96557 1269 /** @defgroup HAL_I2S_Aliased_Macros HAL I2S Aliased Macros maintained for legacy purpose
Kojto 99:dbbf35b96557 1270 * @{
Kojto 99:dbbf35b96557 1271 */
Kojto 99:dbbf35b96557 1272
Kojto 99:dbbf35b96557 1273 #define IS_I2S_INSTANCE IS_I2S_ALL_INSTANCE
Kojto 99:dbbf35b96557 1274 #define IS_I2S_INSTANCE_EXT IS_I2S_ALL_INSTANCE_EXT
Kojto 99:dbbf35b96557 1275
Kojto 99:dbbf35b96557 1276 /**
Kojto 99:dbbf35b96557 1277 * @}
Kojto 99:dbbf35b96557 1278 */
Kojto 99:dbbf35b96557 1279
Kojto 99:dbbf35b96557 1280 /** @defgroup HAL_IRDA_Aliased_Macros HAL IRDA Aliased Macros maintained for legacy purpose
Kojto 99:dbbf35b96557 1281 * @{
Kojto 99:dbbf35b96557 1282 */
Kojto 99:dbbf35b96557 1283
Kojto 99:dbbf35b96557 1284 #define __IRDA_DISABLE __HAL_IRDA_DISABLE
Kojto 99:dbbf35b96557 1285 #define __IRDA_ENABLE __HAL_IRDA_ENABLE
Kojto 99:dbbf35b96557 1286
Kojto 99:dbbf35b96557 1287 #define __HAL_IRDA_GETCLOCKSOURCE IRDA_GETCLOCKSOURCE
Kojto 99:dbbf35b96557 1288 #define __HAL_IRDA_MASK_COMPUTATION IRDA_MASK_COMPUTATION
Kojto 99:dbbf35b96557 1289 #define __IRDA_GETCLOCKSOURCE IRDA_GETCLOCKSOURCE
Kojto 99:dbbf35b96557 1290 #define __IRDA_MASK_COMPUTATION IRDA_MASK_COMPUTATION
Kojto 99:dbbf35b96557 1291
Kojto 99:dbbf35b96557 1292 #define IS_IRDA_ONEBIT_SAMPLE IS_IRDA_ONE_BIT_SAMPLE
Kojto 99:dbbf35b96557 1293
Kojto 99:dbbf35b96557 1294
Kojto 99:dbbf35b96557 1295 /**
Kojto 99:dbbf35b96557 1296 * @}
Kojto 99:dbbf35b96557 1297 */
Kojto 99:dbbf35b96557 1298
Kojto 99:dbbf35b96557 1299
Kojto 99:dbbf35b96557 1300 /** @defgroup HAL_IWDG_Aliased_Macros HAL IWDG Aliased Macros maintained for legacy purpose
Kojto 99:dbbf35b96557 1301 * @{
Kojto 99:dbbf35b96557 1302 */
Kojto 99:dbbf35b96557 1303 #define __HAL_IWDG_ENABLE_WRITE_ACCESS IWDG_ENABLE_WRITE_ACCESS
Kojto 99:dbbf35b96557 1304 #define __HAL_IWDG_DISABLE_WRITE_ACCESS IWDG_DISABLE_WRITE_ACCESS
Kojto 99:dbbf35b96557 1305 /**
Kojto 99:dbbf35b96557 1306 * @}
Kojto 99:dbbf35b96557 1307 */
Kojto 99:dbbf35b96557 1308
Kojto 99:dbbf35b96557 1309
Kojto 99:dbbf35b96557 1310 /** @defgroup HAL_LPTIM_Aliased_Macros HAL LPTIM Aliased Macros maintained for legacy purpose
Kojto 99:dbbf35b96557 1311 * @{
Kojto 99:dbbf35b96557 1312 */
Kojto 99:dbbf35b96557 1313
Kojto 99:dbbf35b96557 1314 #define __HAL_LPTIM_ENABLE_INTERRUPT __HAL_LPTIM_ENABLE_IT
Kojto 99:dbbf35b96557 1315 #define __HAL_LPTIM_DISABLE_INTERRUPT __HAL_LPTIM_DISABLE_IT
Kojto 99:dbbf35b96557 1316 #define __HAL_LPTIM_GET_ITSTATUS __HAL_LPTIM_GET_IT_SOURCE
Kojto 99:dbbf35b96557 1317
Kojto 99:dbbf35b96557 1318 /**
Kojto 99:dbbf35b96557 1319 * @}
Kojto 99:dbbf35b96557 1320 */
Kojto 99:dbbf35b96557 1321
Kojto 99:dbbf35b96557 1322
Kojto 99:dbbf35b96557 1323 /** @defgroup HAL_OPAMP_Aliased_Macros HAL OPAMP Aliased Macros maintained for legacy purpose
Kojto 99:dbbf35b96557 1324 * @{
Kojto 99:dbbf35b96557 1325 */
Kojto 99:dbbf35b96557 1326 #define __OPAMP_CSR_OPAXPD OPAMP_CSR_OPAXPD
Kojto 99:dbbf35b96557 1327 #define __OPAMP_CSR_S3SELX OPAMP_CSR_S3SELX
Kojto 99:dbbf35b96557 1328 #define __OPAMP_CSR_S4SELX OPAMP_CSR_S4SELX
Kojto 99:dbbf35b96557 1329 #define __OPAMP_CSR_S5SELX OPAMP_CSR_S5SELX
Kojto 99:dbbf35b96557 1330 #define __OPAMP_CSR_S6SELX OPAMP_CSR_S6SELX
Kojto 99:dbbf35b96557 1331 #define __OPAMP_CSR_OPAXCAL_L OPAMP_CSR_OPAXCAL_L
Kojto 99:dbbf35b96557 1332 #define __OPAMP_CSR_OPAXCAL_H OPAMP_CSR_OPAXCAL_H
Kojto 99:dbbf35b96557 1333 #define __OPAMP_CSR_OPAXLPM OPAMP_CSR_OPAXLPM
Kojto 99:dbbf35b96557 1334 #define __OPAMP_CSR_ALL_SWITCHES OPAMP_CSR_ALL_SWITCHES
Kojto 99:dbbf35b96557 1335 #define __OPAMP_CSR_ANAWSELX OPAMP_CSR_ANAWSELX
Kojto 99:dbbf35b96557 1336 #define __OPAMP_CSR_OPAXCALOUT OPAMP_CSR_OPAXCALOUT
Kojto 99:dbbf35b96557 1337 #define __OPAMP_OFFSET_TRIM_BITSPOSITION OPAMP_OFFSET_TRIM_BITSPOSITION
Kojto 99:dbbf35b96557 1338 #define __OPAMP_OFFSET_TRIM_SET OPAMP_OFFSET_TRIM_SET
Kojto 99:dbbf35b96557 1339
Kojto 99:dbbf35b96557 1340 /**
Kojto 99:dbbf35b96557 1341 * @}
Kojto 99:dbbf35b96557 1342 */
Kojto 99:dbbf35b96557 1343
Kojto 99:dbbf35b96557 1344
Kojto 99:dbbf35b96557 1345 /** @defgroup HAL_PWR_Aliased_Macros HAL PWR Aliased Macros maintained for legacy purpose
Kojto 99:dbbf35b96557 1346 * @{
Kojto 99:dbbf35b96557 1347 */
Kojto 99:dbbf35b96557 1348 #define __HAL_PVD_EVENT_DISABLE __HAL_PWR_PVD_EXTI_DISABLE_EVENT
Kojto 99:dbbf35b96557 1349 #define __HAL_PVD_EVENT_ENABLE __HAL_PWR_PVD_EXTI_ENABLE_EVENT
Kojto 99:dbbf35b96557 1350 #define __HAL_PVD_EXTI_FALLINGTRIGGER_DISABLE __HAL_PWR_PVD_EXTI_DISABLE_FALLING_EDGE
Kojto 99:dbbf35b96557 1351 #define __HAL_PVD_EXTI_FALLINGTRIGGER_ENABLE __HAL_PWR_PVD_EXTI_ENABLE_FALLING_EDGE
Kojto 99:dbbf35b96557 1352 #define __HAL_PVD_EXTI_RISINGTRIGGER_DISABLE __HAL_PWR_PVD_EXTI_DISABLE_RISING_EDGE
Kojto 99:dbbf35b96557 1353 #define __HAL_PVD_EXTI_RISINGTRIGGER_ENABLE __HAL_PWR_PVD_EXTI_ENABLE_RISING_EDGE
Kojto 99:dbbf35b96557 1354 #define __HAL_PVM_EVENT_DISABLE __HAL_PWR_PVM_EVENT_DISABLE
Kojto 99:dbbf35b96557 1355 #define __HAL_PVM_EVENT_ENABLE __HAL_PWR_PVM_EVENT_ENABLE
Kojto 99:dbbf35b96557 1356 #define __HAL_PVM_EXTI_FALLINGTRIGGER_DISABLE __HAL_PWR_PVM_EXTI_FALLINGTRIGGER_DISABLE
Kojto 99:dbbf35b96557 1357 #define __HAL_PVM_EXTI_FALLINGTRIGGER_ENABLE __HAL_PWR_PVM_EXTI_FALLINGTRIGGER_ENABLE
Kojto 99:dbbf35b96557 1358 #define __HAL_PVM_EXTI_RISINGTRIGGER_DISABLE __HAL_PWR_PVM_EXTI_RISINGTRIGGER_DISABLE
Kojto 99:dbbf35b96557 1359 #define __HAL_PVM_EXTI_RISINGTRIGGER_ENABLE __HAL_PWR_PVM_EXTI_RISINGTRIGGER_ENABLE
Kojto 99:dbbf35b96557 1360 #define __HAL_PWR_INTERNALWAKEUP_DISABLE HAL_PWREx_DisableInternalWakeUpLine
Kojto 99:dbbf35b96557 1361 #define __HAL_PWR_INTERNALWAKEUP_ENABLE HAL_PWREx_EnableInternalWakeUpLine
Kojto 99:dbbf35b96557 1362 #define __HAL_PWR_PULL_UP_DOWN_CONFIG_DISABLE HAL_PWREx_DisablePullUpPullDownConfig
Kojto 99:dbbf35b96557 1363 #define __HAL_PWR_PULL_UP_DOWN_CONFIG_ENABLE HAL_PWREx_EnablePullUpPullDownConfig
Kojto 99:dbbf35b96557 1364 #define __HAL_PWR_PVD_EXTI_CLEAR_EGDE_TRIGGER() __HAL_PWR_PVD_EXTI_DISABLE_RISING_EDGE();__HAL_PWR_PVD_EXTI_DISABLE_FALLING_EDGE()
Kojto 99:dbbf35b96557 1365 #define __HAL_PWR_PVD_EXTI_EVENT_DISABLE __HAL_PWR_PVD_EXTI_DISABLE_EVENT
Kojto 99:dbbf35b96557 1366 #define __HAL_PWR_PVD_EXTI_EVENT_ENABLE __HAL_PWR_PVD_EXTI_ENABLE_EVENT
Kojto 99:dbbf35b96557 1367 #define __HAL_PWR_PVD_EXTI_FALLINGTRIGGER_DISABLE __HAL_PWR_PVD_EXTI_DISABLE_FALLING_EDGE
Kojto 99:dbbf35b96557 1368 #define __HAL_PWR_PVD_EXTI_FALLINGTRIGGER_ENABLE __HAL_PWR_PVD_EXTI_ENABLE_FALLING_EDGE
Kojto 99:dbbf35b96557 1369 #define __HAL_PWR_PVD_EXTI_RISINGTRIGGER_DISABLE __HAL_PWR_PVD_EXTI_DISABLE_RISING_EDGE
Kojto 99:dbbf35b96557 1370 #define __HAL_PWR_PVD_EXTI_RISINGTRIGGER_ENABLE __HAL_PWR_PVD_EXTI_ENABLE_RISING_EDGE
Kojto 99:dbbf35b96557 1371 #define __HAL_PWR_PVD_EXTI_SET_FALLING_EGDE_TRIGGER __HAL_PWR_PVD_EXTI_ENABLE_FALLING_EDGE
Kojto 99:dbbf35b96557 1372 #define __HAL_PWR_PVD_EXTI_SET_RISING_EDGE_TRIGGER __HAL_PWR_PVD_EXTI_ENABLE_RISING_EDGE
Kojto 99:dbbf35b96557 1373 #define __HAL_PWR_PVM_DISABLE() HAL_PWREx_DisablePVM1();HAL_PWREx_DisablePVM2();HAL_PWREx_DisablePVM3();HAL_PWREx_DisablePVM4()
Kojto 99:dbbf35b96557 1374 #define __HAL_PWR_PVM_ENABLE() HAL_PWREx_EnablePVM1();HAL_PWREx_EnablePVM2();HAL_PWREx_EnablePVM3();HAL_PWREx_EnablePVM4()
Kojto 99:dbbf35b96557 1375 #define __HAL_PWR_SRAM2CONTENT_PRESERVE_DISABLE HAL_PWREx_DisableSRAM2ContentRetention
Kojto 99:dbbf35b96557 1376 #define __HAL_PWR_SRAM2CONTENT_PRESERVE_ENABLE HAL_PWREx_EnableSRAM2ContentRetention
Kojto 99:dbbf35b96557 1377 #define __HAL_PWR_VDDIO2_DISABLE HAL_PWREx_DisableVddIO2
Kojto 99:dbbf35b96557 1378 #define __HAL_PWR_VDDIO2_ENABLE HAL_PWREx_EnableVddIO2
Kojto 99:dbbf35b96557 1379 #define __HAL_PWR_VDDIO2_EXTI_CLEAR_EGDE_TRIGGER __HAL_PWR_VDDIO2_EXTI_DISABLE_FALLING_EDGE
Kojto 99:dbbf35b96557 1380 #define __HAL_PWR_VDDIO2_EXTI_SET_FALLING_EGDE_TRIGGER __HAL_PWR_VDDIO2_EXTI_ENABLE_FALLING_EDGE
Kojto 99:dbbf35b96557 1381 #define __HAL_PWR_VDDUSB_DISABLE HAL_PWREx_DisableVddUSB
Kojto 99:dbbf35b96557 1382 #define __HAL_PWR_VDDUSB_ENABLE HAL_PWREx_EnableVddUSB
Kojto 99:dbbf35b96557 1383
Kojto 99:dbbf35b96557 1384 #if defined (STM32F4)
Kojto 99:dbbf35b96557 1385 #define __HAL_PVD_EXTI_ENABLE_IT(PWR_EXTI_LINE_PVD) __HAL_PWR_PVD_EXTI_ENABLE_IT()
Kojto 99:dbbf35b96557 1386 #define __HAL_PVD_EXTI_DISABLE_IT(PWR_EXTI_LINE_PVD) __HAL_PWR_PVD_EXTI_DISABLE_IT()
Kojto 99:dbbf35b96557 1387 #define __HAL_PVD_EXTI_GET_FLAG(PWR_EXTI_LINE_PVD) __HAL_PWR_PVD_EXTI_GET_FLAG()
Kojto 99:dbbf35b96557 1388 #define __HAL_PVD_EXTI_CLEAR_FLAG(PWR_EXTI_LINE_PVD) __HAL_PWR_PVD_EXTI_CLEAR_FLAG()
Kojto 99:dbbf35b96557 1389 #define __HAL_PVD_EXTI_GENERATE_SWIT(PWR_EXTI_LINE_PVD) __HAL_PWR_PVD_EXTI_GENERATE_SWIT()
Kojto 99:dbbf35b96557 1390 #else
Kojto 99:dbbf35b96557 1391 #define __HAL_PVD_EXTI_CLEAR_FLAG __HAL_PWR_PVD_EXTI_CLEAR_FLAG
Kojto 99:dbbf35b96557 1392 #define __HAL_PVD_EXTI_DISABLE_IT __HAL_PWR_PVD_EXTI_DISABLE_IT
Kojto 99:dbbf35b96557 1393 #define __HAL_PVD_EXTI_ENABLE_IT __HAL_PWR_PVD_EXTI_ENABLE_IT
Kojto 99:dbbf35b96557 1394 #define __HAL_PVD_EXTI_GENERATE_SWIT __HAL_PWR_PVD_EXTI_GENERATE_SWIT
Kojto 99:dbbf35b96557 1395 #define __HAL_PVD_EXTI_GET_FLAG __HAL_PWR_PVD_EXTI_GET_FLAG
Kojto 99:dbbf35b96557 1396 #endif /* STM32F4 */
Kojto 99:dbbf35b96557 1397 /**
Kojto 99:dbbf35b96557 1398 * @}
Kojto 99:dbbf35b96557 1399 */
Kojto 99:dbbf35b96557 1400
Kojto 99:dbbf35b96557 1401
Kojto 99:dbbf35b96557 1402 /** @defgroup HAL_RCC_Aliased HAL RCC Aliased maintained for legacy purpose
Kojto 99:dbbf35b96557 1403 * @{
Kojto 99:dbbf35b96557 1404 */
Kojto 99:dbbf35b96557 1405
Kojto 99:dbbf35b96557 1406 #define RCC_StopWakeUpClock_MSI RCC_STOP_WAKEUPCLOCK_MSI
Kojto 99:dbbf35b96557 1407 #define RCC_StopWakeUpClock_HSI RCC_STOP_WAKEUPCLOCK_HSI
Kojto 99:dbbf35b96557 1408
Kojto 99:dbbf35b96557 1409 #define HAL_RCC_CCSCallback HAL_RCC_CSSCallback
Kojto 99:dbbf35b96557 1410 #define HAL_RC48_EnableBuffer_Cmd(cmd) (((cmd)==ENABLE) ? HAL_RCCEx_EnableHSI48_VREFINT() : HAL_RCCEx_DisableHSI48_VREFINT())
Kojto 99:dbbf35b96557 1411
Kojto 99:dbbf35b96557 1412 #define __ADC_CLK_DISABLE __HAL_RCC_ADC_CLK_DISABLE
Kojto 99:dbbf35b96557 1413 #define __ADC_CLK_ENABLE __HAL_RCC_ADC_CLK_ENABLE
Kojto 99:dbbf35b96557 1414 #define __ADC_CLK_SLEEP_DISABLE __HAL_RCC_ADC_CLK_SLEEP_DISABLE
Kojto 99:dbbf35b96557 1415 #define __ADC_CLK_SLEEP_ENABLE __HAL_RCC_ADC_CLK_SLEEP_ENABLE
Kojto 99:dbbf35b96557 1416 #define __ADC_FORCE_RESET __HAL_RCC_ADC_FORCE_RESET
Kojto 99:dbbf35b96557 1417 #define __ADC_RELEASE_RESET __HAL_RCC_ADC_RELEASE_RESET
Kojto 99:dbbf35b96557 1418 #define __ADC1_CLK_DISABLE __HAL_RCC_ADC1_CLK_DISABLE
Kojto 99:dbbf35b96557 1419 #define __ADC1_CLK_ENABLE __HAL_RCC_ADC1_CLK_ENABLE
Kojto 99:dbbf35b96557 1420 #define __ADC1_FORCE_RESET __HAL_RCC_ADC1_FORCE_RESET
Kojto 99:dbbf35b96557 1421 #define __ADC1_RELEASE_RESET __HAL_RCC_ADC1_RELEASE_RESET
Kojto 99:dbbf35b96557 1422 #define __ADC1_CLK_SLEEP_ENABLE __HAL_RCC_ADC1_CLK_SLEEP_ENABLE
Kojto 99:dbbf35b96557 1423 #define __ADC1_CLK_SLEEP_DISABLE __HAL_RCC_ADC1_CLK_SLEEP_DISABLE
Kojto 99:dbbf35b96557 1424 #define __ADC2_CLK_DISABLE __HAL_RCC_ADC2_CLK_DISABLE
Kojto 99:dbbf35b96557 1425 #define __ADC2_CLK_ENABLE __HAL_RCC_ADC2_CLK_ENABLE
Kojto 99:dbbf35b96557 1426 #define __ADC2_FORCE_RESET __HAL_RCC_ADC2_FORCE_RESET
Kojto 99:dbbf35b96557 1427 #define __ADC2_RELEASE_RESET __HAL_RCC_ADC2_RELEASE_RESET
Kojto 99:dbbf35b96557 1428 #define __ADC3_CLK_DISABLE __HAL_RCC_ADC3_CLK_DISABLE
Kojto 99:dbbf35b96557 1429 #define __ADC3_CLK_ENABLE __HAL_RCC_ADC3_CLK_ENABLE
Kojto 99:dbbf35b96557 1430 #define __ADC3_FORCE_RESET __HAL_RCC_ADC3_FORCE_RESET
Kojto 99:dbbf35b96557 1431 #define __ADC3_RELEASE_RESET __HAL_RCC_ADC3_RELEASE_RESET
Kojto 99:dbbf35b96557 1432 #define __AES_CLK_DISABLE __HAL_RCC_AES_CLK_DISABLE
Kojto 99:dbbf35b96557 1433 #define __AES_CLK_ENABLE __HAL_RCC_AES_CLK_ENABLE
Kojto 99:dbbf35b96557 1434 #define __AES_CLK_SLEEP_DISABLE __HAL_RCC_AES_CLK_SLEEP_DISABLE
Kojto 99:dbbf35b96557 1435 #define __AES_CLK_SLEEP_ENABLE __HAL_RCC_AES_CLK_SLEEP_ENABLE
Kojto 99:dbbf35b96557 1436 #define __AES_FORCE_RESET __HAL_RCC_AES_FORCE_RESET
Kojto 99:dbbf35b96557 1437 #define __AES_RELEASE_RESET __HAL_RCC_AES_RELEASE_RESET
Kojto 99:dbbf35b96557 1438 #define __CRYP_CLK_SLEEP_ENABLE __HAL_RCC_CRYP_CLK_SLEEP_ENABLE
Kojto 99:dbbf35b96557 1439 #define __CRYP_CLK_SLEEP_DISABLE __HAL_RCC_CRYP_CLK_SLEEP_DISABLE
Kojto 99:dbbf35b96557 1440 #define __CRYP_CLK_ENABLE __HAL_RCC_CRYP_CLK_ENABLE
Kojto 99:dbbf35b96557 1441 #define __CRYP_CLK_DISABLE __HAL_RCC_CRYP_CLK_DISABLE
Kojto 99:dbbf35b96557 1442 #define __CRYP_FORCE_RESET __HAL_RCC_CRYP_FORCE_RESET
Kojto 99:dbbf35b96557 1443 #define __CRYP_RELEASE_RESET __HAL_RCC_CRYP_RELEASE_RESET
Kojto 99:dbbf35b96557 1444 #define __AFIO_CLK_DISABLE __HAL_RCC_AFIO_CLK_DISABLE
Kojto 99:dbbf35b96557 1445 #define __AFIO_CLK_ENABLE __HAL_RCC_AFIO_CLK_ENABLE
Kojto 99:dbbf35b96557 1446 #define __AFIO_FORCE_RESET __HAL_RCC_AFIO_FORCE_RESET
Kojto 99:dbbf35b96557 1447 #define __AFIO_RELEASE_RESET __HAL_RCC_AFIO_RELEASE_RESET
Kojto 99:dbbf35b96557 1448 #define __AHB_FORCE_RESET __HAL_RCC_AHB_FORCE_RESET
Kojto 99:dbbf35b96557 1449 #define __AHB_RELEASE_RESET __HAL_RCC_AHB_RELEASE_RESET
Kojto 99:dbbf35b96557 1450 #define __AHB1_FORCE_RESET __HAL_RCC_AHB1_FORCE_RESET
Kojto 99:dbbf35b96557 1451 #define __AHB1_RELEASE_RESET __HAL_RCC_AHB1_RELEASE_RESET
Kojto 99:dbbf35b96557 1452 #define __AHB2_FORCE_RESET __HAL_RCC_AHB2_FORCE_RESET
Kojto 99:dbbf35b96557 1453 #define __AHB2_RELEASE_RESET __HAL_RCC_AHB2_RELEASE_RESET
Kojto 99:dbbf35b96557 1454 #define __AHB3_FORCE_RESET __HAL_RCC_AHB3_FORCE_RESET
Kojto 99:dbbf35b96557 1455 #define __AHB3_RELEASE_RESET __HAL_RCC_AHB3_RELEASE_RESET
Kojto 99:dbbf35b96557 1456 #define __APB1_FORCE_RESET __HAL_RCC_APB1_FORCE_RESET
Kojto 99:dbbf35b96557 1457 #define __APB1_RELEASE_RESET __HAL_RCC_APB1_RELEASE_RESET
Kojto 99:dbbf35b96557 1458 #define __APB2_FORCE_RESET __HAL_RCC_APB2_FORCE_RESET
Kojto 99:dbbf35b96557 1459 #define __APB2_RELEASE_RESET __HAL_RCC_APB2_RELEASE_RESET
Kojto 99:dbbf35b96557 1460 #define __BKP_CLK_DISABLE __HAL_RCC_BKP_CLK_DISABLE
Kojto 99:dbbf35b96557 1461 #define __BKP_CLK_ENABLE __HAL_RCC_BKP_CLK_ENABLE
Kojto 99:dbbf35b96557 1462 #define __BKP_FORCE_RESET __HAL_RCC_BKP_FORCE_RESET
Kojto 99:dbbf35b96557 1463 #define __BKP_RELEASE_RESET __HAL_RCC_BKP_RELEASE_RESET
Kojto 99:dbbf35b96557 1464 #define __CAN1_CLK_DISABLE __HAL_RCC_CAN1_CLK_DISABLE
Kojto 99:dbbf35b96557 1465 #define __CAN1_CLK_ENABLE __HAL_RCC_CAN1_CLK_ENABLE
Kojto 99:dbbf35b96557 1466 #define __CAN1_CLK_SLEEP_DISABLE __HAL_RCC_CAN1_CLK_SLEEP_DISABLE
Kojto 99:dbbf35b96557 1467 #define __CAN1_CLK_SLEEP_ENABLE __HAL_RCC_CAN1_CLK_SLEEP_ENABLE
Kojto 99:dbbf35b96557 1468 #define __CAN1_FORCE_RESET __HAL_RCC_CAN1_FORCE_RESET
Kojto 99:dbbf35b96557 1469 #define __CAN1_RELEASE_RESET __HAL_RCC_CAN1_RELEASE_RESET
Kojto 99:dbbf35b96557 1470 #define __CAN_CLK_DISABLE __HAL_RCC_CAN1_CLK_DISABLE
Kojto 99:dbbf35b96557 1471 #define __CAN_CLK_ENABLE __HAL_RCC_CAN1_CLK_ENABLE
Kojto 99:dbbf35b96557 1472 #define __CAN_FORCE_RESET __HAL_RCC_CAN1_FORCE_RESET
Kojto 99:dbbf35b96557 1473 #define __CAN_RELEASE_RESET __HAL_RCC_CAN1_RELEASE_RESET
Kojto 99:dbbf35b96557 1474 #define __CAN2_CLK_DISABLE __HAL_RCC_CAN2_CLK_DISABLE
Kojto 99:dbbf35b96557 1475 #define __CAN2_CLK_ENABLE __HAL_RCC_CAN2_CLK_ENABLE
Kojto 99:dbbf35b96557 1476 #define __CAN2_FORCE_RESET __HAL_RCC_CAN2_FORCE_RESET
Kojto 99:dbbf35b96557 1477 #define __CAN2_RELEASE_RESET __HAL_RCC_CAN2_RELEASE_RESET
Kojto 99:dbbf35b96557 1478 #define __CEC_CLK_DISABLE __HAL_RCC_CEC_CLK_DISABLE
Kojto 99:dbbf35b96557 1479 #define __CEC_CLK_ENABLE __HAL_RCC_CEC_CLK_ENABLE
Kojto 99:dbbf35b96557 1480 #define __COMP_CLK_DISABLE __HAL_RCC_COMP_CLK_DISABLE
Kojto 99:dbbf35b96557 1481 #define __COMP_CLK_ENABLE __HAL_RCC_COMP_CLK_ENABLE
Kojto 99:dbbf35b96557 1482 #define __COMP_FORCE_RESET __HAL_RCC_COMP_FORCE_RESET
Kojto 99:dbbf35b96557 1483 #define __COMP_RELEASE_RESET __HAL_RCC_COMP_RELEASE_RESET
Kojto 99:dbbf35b96557 1484 #define __COMP_CLK_SLEEP_ENABLE __HAL_RCC_COMP_CLK_SLEEP_ENABLE
Kojto 99:dbbf35b96557 1485 #define __COMP_CLK_SLEEP_DISABLE __HAL_RCC_COMP_CLK_SLEEP_DISABLE
Kojto 99:dbbf35b96557 1486 #define __CEC_FORCE_RESET __HAL_RCC_CEC_FORCE_RESET
Kojto 99:dbbf35b96557 1487 #define __CEC_RELEASE_RESET __HAL_RCC_CEC_RELEASE_RESET
Kojto 99:dbbf35b96557 1488 #define __CRC_CLK_DISABLE __HAL_RCC_CRC_CLK_DISABLE
Kojto 99:dbbf35b96557 1489 #define __CRC_CLK_ENABLE __HAL_RCC_CRC_CLK_ENABLE
Kojto 99:dbbf35b96557 1490 #define __CRC_CLK_SLEEP_DISABLE __HAL_RCC_CRC_CLK_SLEEP_DISABLE
Kojto 99:dbbf35b96557 1491 #define __CRC_CLK_SLEEP_ENABLE __HAL_RCC_CRC_CLK_SLEEP_ENABLE
Kojto 99:dbbf35b96557 1492 #define __CRC_FORCE_RESET __HAL_RCC_CRC_FORCE_RESET
Kojto 99:dbbf35b96557 1493 #define __CRC_RELEASE_RESET __HAL_RCC_CRC_RELEASE_RESET
Kojto 99:dbbf35b96557 1494 #define __DAC_CLK_DISABLE __HAL_RCC_DAC_CLK_DISABLE
Kojto 99:dbbf35b96557 1495 #define __DAC_CLK_ENABLE __HAL_RCC_DAC_CLK_ENABLE
Kojto 99:dbbf35b96557 1496 #define __DAC_FORCE_RESET __HAL_RCC_DAC_FORCE_RESET
Kojto 99:dbbf35b96557 1497 #define __DAC_RELEASE_RESET __HAL_RCC_DAC_RELEASE_RESET
Kojto 99:dbbf35b96557 1498 #define __DAC1_CLK_DISABLE __HAL_RCC_DAC1_CLK_DISABLE
Kojto 99:dbbf35b96557 1499 #define __DAC1_CLK_ENABLE __HAL_RCC_DAC1_CLK_ENABLE
Kojto 99:dbbf35b96557 1500 #define __DAC1_CLK_SLEEP_DISABLE __HAL_RCC_DAC1_CLK_SLEEP_DISABLE
Kojto 99:dbbf35b96557 1501 #define __DAC1_CLK_SLEEP_ENABLE __HAL_RCC_DAC1_CLK_SLEEP_ENABLE
Kojto 99:dbbf35b96557 1502 #define __DAC1_FORCE_RESET __HAL_RCC_DAC1_FORCE_RESET
Kojto 99:dbbf35b96557 1503 #define __DAC1_RELEASE_RESET __HAL_RCC_DAC1_RELEASE_RESET
Kojto 99:dbbf35b96557 1504 #define __DBGMCU_CLK_ENABLE __HAL_RCC_DBGMCU_CLK_ENABLE
Kojto 99:dbbf35b96557 1505 #define __DBGMCU_CLK_DISABLE __HAL_RCC_DBGMCU_CLK_DISABLE
Kojto 99:dbbf35b96557 1506 #define __DBGMCU_FORCE_RESET __HAL_RCC_DBGMCU_FORCE_RESET
Kojto 99:dbbf35b96557 1507 #define __DBGMCU_RELEASE_RESET __HAL_RCC_DBGMCU_RELEASE_RESET
Kojto 99:dbbf35b96557 1508 #define __DFSDM_CLK_DISABLE __HAL_RCC_DFSDM_CLK_DISABLE
Kojto 99:dbbf35b96557 1509 #define __DFSDM_CLK_ENABLE __HAL_RCC_DFSDM_CLK_ENABLE
Kojto 99:dbbf35b96557 1510 #define __DFSDM_CLK_SLEEP_DISABLE __HAL_RCC_DFSDM_CLK_SLEEP_DISABLE
Kojto 99:dbbf35b96557 1511 #define __DFSDM_CLK_SLEEP_ENABLE __HAL_RCC_DFSDM_CLK_SLEEP_ENABLE
Kojto 99:dbbf35b96557 1512 #define __DFSDM_FORCE_RESET __HAL_RCC_DFSDM_FORCE_RESET
Kojto 99:dbbf35b96557 1513 #define __DFSDM_RELEASE_RESET __HAL_RCC_DFSDM_RELEASE_RESET
Kojto 99:dbbf35b96557 1514 #define __DMA1_CLK_DISABLE __HAL_RCC_DMA1_CLK_DISABLE
Kojto 99:dbbf35b96557 1515 #define __DMA1_CLK_ENABLE __HAL_RCC_DMA1_CLK_ENABLE
Kojto 99:dbbf35b96557 1516 #define __DMA1_CLK_SLEEP_DISABLE __HAL_RCC_DMA1_CLK_SLEEP_DISABLE
Kojto 99:dbbf35b96557 1517 #define __DMA1_CLK_SLEEP_ENABLE __HAL_RCC_DMA1_CLK_SLEEP_ENABLE
Kojto 99:dbbf35b96557 1518 #define __DMA1_FORCE_RESET __HAL_RCC_DMA1_FORCE_RESET
Kojto 99:dbbf35b96557 1519 #define __DMA1_RELEASE_RESET __HAL_RCC_DMA1_RELEASE_RESET
Kojto 99:dbbf35b96557 1520 #define __DMA2_CLK_DISABLE __HAL_RCC_DMA2_CLK_DISABLE
Kojto 99:dbbf35b96557 1521 #define __DMA2_CLK_ENABLE __HAL_RCC_DMA2_CLK_ENABLE
Kojto 99:dbbf35b96557 1522 #define __DMA2_CLK_SLEEP_DISABLE __HAL_RCC_DMA2_CLK_SLEEP_DISABLE
Kojto 99:dbbf35b96557 1523 #define __DMA2_CLK_SLEEP_ENABLE __HAL_RCC_DMA2_CLK_SLEEP_ENABLE
Kojto 99:dbbf35b96557 1524 #define __DMA2_FORCE_RESET __HAL_RCC_DMA2_FORCE_RESET
Kojto 99:dbbf35b96557 1525 #define __DMA2_RELEASE_RESET __HAL_RCC_DMA2_RELEASE_RESET
Kojto 99:dbbf35b96557 1526 #define __ETHMAC_CLK_DISABLE __HAL_RCC_ETHMAC_CLK_DISABLE
Kojto 99:dbbf35b96557 1527 #define __ETHMAC_CLK_ENABLE __HAL_RCC_ETHMAC_CLK_ENABLE
Kojto 99:dbbf35b96557 1528 #define __ETHMAC_FORCE_RESET __HAL_RCC_ETHMAC_FORCE_RESET
Kojto 99:dbbf35b96557 1529 #define __ETHMAC_RELEASE_RESET __HAL_RCC_ETHMAC_RELEASE_RESET
Kojto 99:dbbf35b96557 1530 #define __ETHMACRX_CLK_DISABLE __HAL_RCC_ETHMACRX_CLK_DISABLE
Kojto 99:dbbf35b96557 1531 #define __ETHMACRX_CLK_ENABLE __HAL_RCC_ETHMACRX_CLK_ENABLE
Kojto 99:dbbf35b96557 1532 #define __ETHMACTX_CLK_DISABLE __HAL_RCC_ETHMACTX_CLK_DISABLE
Kojto 99:dbbf35b96557 1533 #define __ETHMACTX_CLK_ENABLE __HAL_RCC_ETHMACTX_CLK_ENABLE
Kojto 99:dbbf35b96557 1534 #define __FIREWALL_CLK_DISABLE __HAL_RCC_FIREWALL_CLK_DISABLE
Kojto 99:dbbf35b96557 1535 #define __FIREWALL_CLK_ENABLE __HAL_RCC_FIREWALL_CLK_ENABLE
Kojto 99:dbbf35b96557 1536 #define __FLASH_CLK_DISABLE __HAL_RCC_FLASH_CLK_DISABLE
Kojto 99:dbbf35b96557 1537 #define __FLASH_CLK_ENABLE __HAL_RCC_FLASH_CLK_ENABLE
Kojto 99:dbbf35b96557 1538 #define __FLASH_CLK_SLEEP_DISABLE __HAL_RCC_FLASH_CLK_SLEEP_DISABLE
Kojto 99:dbbf35b96557 1539 #define __FLASH_CLK_SLEEP_ENABLE __HAL_RCC_FLASH_CLK_SLEEP_ENABLE
Kojto 99:dbbf35b96557 1540 #define __FLASH_FORCE_RESET __HAL_RCC_FLASH_FORCE_RESET
Kojto 99:dbbf35b96557 1541 #define __FLASH_RELEASE_RESET __HAL_RCC_FLASH_RELEASE_RESET
Kojto 99:dbbf35b96557 1542 #define __FLITF_CLK_DISABLE __HAL_RCC_FLITF_CLK_DISABLE
Kojto 99:dbbf35b96557 1543 #define __FLITF_CLK_ENABLE __HAL_RCC_FLITF_CLK_ENABLE
Kojto 99:dbbf35b96557 1544 #define __FLITF_FORCE_RESET __HAL_RCC_FLITF_FORCE_RESET
Kojto 99:dbbf35b96557 1545 #define __FLITF_RELEASE_RESET __HAL_RCC_FLITF_RELEASE_RESET
Kojto 99:dbbf35b96557 1546 #define __FLITF_CLK_SLEEP_ENABLE __HAL_RCC_FLITF_CLK_SLEEP_ENABLE
Kojto 99:dbbf35b96557 1547 #define __FLITF_CLK_SLEEP_DISABLE __HAL_RCC_FLITF_CLK_SLEEP_DISABLE
Kojto 99:dbbf35b96557 1548 #define __FMC_CLK_DISABLE __HAL_RCC_FMC_CLK_DISABLE
Kojto 99:dbbf35b96557 1549 #define __FMC_CLK_ENABLE __HAL_RCC_FMC_CLK_ENABLE
Kojto 99:dbbf35b96557 1550 #define __FMC_CLK_SLEEP_DISABLE __HAL_RCC_FMC_CLK_SLEEP_DISABLE
Kojto 99:dbbf35b96557 1551 #define __FMC_CLK_SLEEP_ENABLE __HAL_RCC_FMC_CLK_SLEEP_ENABLE
Kojto 99:dbbf35b96557 1552 #define __FMC_FORCE_RESET __HAL_RCC_FMC_FORCE_RESET
Kojto 99:dbbf35b96557 1553 #define __FMC_RELEASE_RESET __HAL_RCC_FMC_RELEASE_RESET
Kojto 99:dbbf35b96557 1554 #define __FSMC_CLK_DISABLE __HAL_RCC_FSMC_CLK_DISABLE
Kojto 99:dbbf35b96557 1555 #define __FSMC_CLK_ENABLE __HAL_RCC_FSMC_CLK_ENABLE
Kojto 99:dbbf35b96557 1556 #define __GPIOA_CLK_DISABLE __HAL_RCC_GPIOA_CLK_DISABLE
Kojto 99:dbbf35b96557 1557 #define __GPIOA_CLK_ENABLE __HAL_RCC_GPIOA_CLK_ENABLE
Kojto 99:dbbf35b96557 1558 #define __GPIOA_CLK_SLEEP_DISABLE __HAL_RCC_GPIOA_CLK_SLEEP_DISABLE
Kojto 99:dbbf35b96557 1559 #define __GPIOA_CLK_SLEEP_ENABLE __HAL_RCC_GPIOA_CLK_SLEEP_ENABLE
Kojto 99:dbbf35b96557 1560 #define __GPIOA_FORCE_RESET __HAL_RCC_GPIOA_FORCE_RESET
Kojto 99:dbbf35b96557 1561 #define __GPIOA_RELEASE_RESET __HAL_RCC_GPIOA_RELEASE_RESET
Kojto 99:dbbf35b96557 1562 #define __GPIOB_CLK_DISABLE __HAL_RCC_GPIOB_CLK_DISABLE
Kojto 99:dbbf35b96557 1563 #define __GPIOB_CLK_ENABLE __HAL_RCC_GPIOB_CLK_ENABLE
Kojto 99:dbbf35b96557 1564 #define __GPIOB_CLK_SLEEP_DISABLE __HAL_RCC_GPIOB_CLK_SLEEP_DISABLE
Kojto 99:dbbf35b96557 1565 #define __GPIOB_CLK_SLEEP_ENABLE __HAL_RCC_GPIOB_CLK_SLEEP_ENABLE
Kojto 99:dbbf35b96557 1566 #define __GPIOB_FORCE_RESET __HAL_RCC_GPIOB_FORCE_RESET
Kojto 99:dbbf35b96557 1567 #define __GPIOB_RELEASE_RESET __HAL_RCC_GPIOB_RELEASE_RESET
Kojto 99:dbbf35b96557 1568 #define __GPIOC_CLK_DISABLE __HAL_RCC_GPIOC_CLK_DISABLE
Kojto 99:dbbf35b96557 1569 #define __GPIOC_CLK_ENABLE __HAL_RCC_GPIOC_CLK_ENABLE
Kojto 99:dbbf35b96557 1570 #define __GPIOC_CLK_SLEEP_DISABLE __HAL_RCC_GPIOC_CLK_SLEEP_DISABLE
Kojto 99:dbbf35b96557 1571 #define __GPIOC_CLK_SLEEP_ENABLE __HAL_RCC_GPIOC_CLK_SLEEP_ENABLE
Kojto 99:dbbf35b96557 1572 #define __GPIOC_FORCE_RESET __HAL_RCC_GPIOC_FORCE_RESET
Kojto 99:dbbf35b96557 1573 #define __GPIOC_RELEASE_RESET __HAL_RCC_GPIOC_RELEASE_RESET
Kojto 99:dbbf35b96557 1574 #define __GPIOD_CLK_DISABLE __HAL_RCC_GPIOD_CLK_DISABLE
Kojto 99:dbbf35b96557 1575 #define __GPIOD_CLK_ENABLE __HAL_RCC_GPIOD_CLK_ENABLE
Kojto 99:dbbf35b96557 1576 #define __GPIOD_CLK_SLEEP_DISABLE __HAL_RCC_GPIOD_CLK_SLEEP_DISABLE
Kojto 99:dbbf35b96557 1577 #define __GPIOD_CLK_SLEEP_ENABLE __HAL_RCC_GPIOD_CLK_SLEEP_ENABLE
Kojto 99:dbbf35b96557 1578 #define __GPIOD_FORCE_RESET __HAL_RCC_GPIOD_FORCE_RESET
Kojto 99:dbbf35b96557 1579 #define __GPIOD_RELEASE_RESET __HAL_RCC_GPIOD_RELEASE_RESET
Kojto 99:dbbf35b96557 1580 #define __GPIOE_CLK_DISABLE __HAL_RCC_GPIOE_CLK_DISABLE
Kojto 99:dbbf35b96557 1581 #define __GPIOE_CLK_ENABLE __HAL_RCC_GPIOE_CLK_ENABLE
Kojto 99:dbbf35b96557 1582 #define __GPIOE_CLK_SLEEP_DISABLE __HAL_RCC_GPIOE_CLK_SLEEP_DISABLE
Kojto 99:dbbf35b96557 1583 #define __GPIOE_CLK_SLEEP_ENABLE __HAL_RCC_GPIOE_CLK_SLEEP_ENABLE
Kojto 99:dbbf35b96557 1584 #define __GPIOE_FORCE_RESET __HAL_RCC_GPIOE_FORCE_RESET
Kojto 99:dbbf35b96557 1585 #define __GPIOE_RELEASE_RESET __HAL_RCC_GPIOE_RELEASE_RESET
Kojto 99:dbbf35b96557 1586 #define __GPIOF_CLK_DISABLE __HAL_RCC_GPIOF_CLK_DISABLE
Kojto 99:dbbf35b96557 1587 #define __GPIOF_CLK_ENABLE __HAL_RCC_GPIOF_CLK_ENABLE
Kojto 99:dbbf35b96557 1588 #define __GPIOF_CLK_SLEEP_DISABLE __HAL_RCC_GPIOF_CLK_SLEEP_DISABLE
Kojto 99:dbbf35b96557 1589 #define __GPIOF_CLK_SLEEP_ENABLE __HAL_RCC_GPIOF_CLK_SLEEP_ENABLE
Kojto 99:dbbf35b96557 1590 #define __GPIOF_FORCE_RESET __HAL_RCC_GPIOF_FORCE_RESET
Kojto 99:dbbf35b96557 1591 #define __GPIOF_RELEASE_RESET __HAL_RCC_GPIOF_RELEASE_RESET
Kojto 99:dbbf35b96557 1592 #define __GPIOG_CLK_DISABLE __HAL_RCC_GPIOG_CLK_DISABLE
Kojto 99:dbbf35b96557 1593 #define __GPIOG_CLK_ENABLE __HAL_RCC_GPIOG_CLK_ENABLE
Kojto 99:dbbf35b96557 1594 #define __GPIOG_CLK_SLEEP_DISABLE __HAL_RCC_GPIOG_CLK_SLEEP_DISABLE
Kojto 99:dbbf35b96557 1595 #define __GPIOG_CLK_SLEEP_ENABLE __HAL_RCC_GPIOG_CLK_SLEEP_ENABLE
Kojto 99:dbbf35b96557 1596 #define __GPIOG_FORCE_RESET __HAL_RCC_GPIOG_FORCE_RESET
Kojto 99:dbbf35b96557 1597 #define __GPIOG_RELEASE_RESET __HAL_RCC_GPIOG_RELEASE_RESET
Kojto 99:dbbf35b96557 1598 #define __GPIOH_CLK_DISABLE __HAL_RCC_GPIOH_CLK_DISABLE
Kojto 99:dbbf35b96557 1599 #define __GPIOH_CLK_ENABLE __HAL_RCC_GPIOH_CLK_ENABLE
Kojto 99:dbbf35b96557 1600 #define __GPIOH_CLK_SLEEP_DISABLE __HAL_RCC_GPIOH_CLK_SLEEP_DISABLE
Kojto 99:dbbf35b96557 1601 #define __GPIOH_CLK_SLEEP_ENABLE __HAL_RCC_GPIOH_CLK_SLEEP_ENABLE
Kojto 99:dbbf35b96557 1602 #define __GPIOH_FORCE_RESET __HAL_RCC_GPIOH_FORCE_RESET
Kojto 99:dbbf35b96557 1603 #define __GPIOH_RELEASE_RESET __HAL_RCC_GPIOH_RELEASE_RESET
Kojto 99:dbbf35b96557 1604 #define __I2C1_CLK_DISABLE __HAL_RCC_I2C1_CLK_DISABLE
Kojto 99:dbbf35b96557 1605 #define __I2C1_CLK_ENABLE __HAL_RCC_I2C1_CLK_ENABLE
Kojto 99:dbbf35b96557 1606 #define __I2C1_CLK_SLEEP_DISABLE __HAL_RCC_I2C1_CLK_SLEEP_DISABLE
Kojto 99:dbbf35b96557 1607 #define __I2C1_CLK_SLEEP_ENABLE __HAL_RCC_I2C1_CLK_SLEEP_ENABLE
Kojto 99:dbbf35b96557 1608 #define __I2C1_FORCE_RESET __HAL_RCC_I2C1_FORCE_RESET
Kojto 99:dbbf35b96557 1609 #define __I2C1_RELEASE_RESET __HAL_RCC_I2C1_RELEASE_RESET
Kojto 99:dbbf35b96557 1610 #define __I2C2_CLK_DISABLE __HAL_RCC_I2C2_CLK_DISABLE
Kojto 99:dbbf35b96557 1611 #define __I2C2_CLK_ENABLE __HAL_RCC_I2C2_CLK_ENABLE
Kojto 99:dbbf35b96557 1612 #define __I2C2_CLK_SLEEP_DISABLE __HAL_RCC_I2C2_CLK_SLEEP_DISABLE
Kojto 99:dbbf35b96557 1613 #define __I2C2_CLK_SLEEP_ENABLE __HAL_RCC_I2C2_CLK_SLEEP_ENABLE
Kojto 99:dbbf35b96557 1614 #define __I2C2_FORCE_RESET __HAL_RCC_I2C2_FORCE_RESET
Kojto 99:dbbf35b96557 1615 #define __I2C2_RELEASE_RESET __HAL_RCC_I2C2_RELEASE_RESET
Kojto 99:dbbf35b96557 1616 #define __I2C3_CLK_DISABLE __HAL_RCC_I2C3_CLK_DISABLE
Kojto 99:dbbf35b96557 1617 #define __I2C3_CLK_ENABLE __HAL_RCC_I2C3_CLK_ENABLE
Kojto 99:dbbf35b96557 1618 #define __I2C3_CLK_SLEEP_DISABLE __HAL_RCC_I2C3_CLK_SLEEP_DISABLE
Kojto 99:dbbf35b96557 1619 #define __I2C3_CLK_SLEEP_ENABLE __HAL_RCC_I2C3_CLK_SLEEP_ENABLE
Kojto 99:dbbf35b96557 1620 #define __I2C3_FORCE_RESET __HAL_RCC_I2C3_FORCE_RESET
Kojto 99:dbbf35b96557 1621 #define __I2C3_RELEASE_RESET __HAL_RCC_I2C3_RELEASE_RESET
Kojto 99:dbbf35b96557 1622 #define __LCD_CLK_DISABLE __HAL_RCC_LCD_CLK_DISABLE
Kojto 99:dbbf35b96557 1623 #define __LCD_CLK_ENABLE __HAL_RCC_LCD_CLK_ENABLE
Kojto 99:dbbf35b96557 1624 #define __LCD_CLK_SLEEP_DISABLE __HAL_RCC_LCD_CLK_SLEEP_DISABLE
Kojto 99:dbbf35b96557 1625 #define __LCD_CLK_SLEEP_ENABLE __HAL_RCC_LCD_CLK_SLEEP_ENABLE
Kojto 99:dbbf35b96557 1626 #define __LCD_FORCE_RESET __HAL_RCC_LCD_FORCE_RESET
Kojto 99:dbbf35b96557 1627 #define __LCD_RELEASE_RESET __HAL_RCC_LCD_RELEASE_RESET
Kojto 99:dbbf35b96557 1628 #define __LPTIM1_CLK_DISABLE __HAL_RCC_LPTIM1_CLK_DISABLE
Kojto 99:dbbf35b96557 1629 #define __LPTIM1_CLK_ENABLE __HAL_RCC_LPTIM1_CLK_ENABLE
Kojto 99:dbbf35b96557 1630 #define __LPTIM1_CLK_SLEEP_DISABLE __HAL_RCC_LPTIM1_CLK_SLEEP_DISABLE
Kojto 99:dbbf35b96557 1631 #define __LPTIM1_CLK_SLEEP_ENABLE __HAL_RCC_LPTIM1_CLK_SLEEP_ENABLE
Kojto 99:dbbf35b96557 1632 #define __LPTIM1_FORCE_RESET __HAL_RCC_LPTIM1_FORCE_RESET
Kojto 99:dbbf35b96557 1633 #define __LPTIM1_RELEASE_RESET __HAL_RCC_LPTIM1_RELEASE_RESET
Kojto 99:dbbf35b96557 1634 #define __LPTIM2_CLK_DISABLE __HAL_RCC_LPTIM2_CLK_DISABLE
Kojto 99:dbbf35b96557 1635 #define __LPTIM2_CLK_ENABLE __HAL_RCC_LPTIM2_CLK_ENABLE
Kojto 99:dbbf35b96557 1636 #define __LPTIM2_CLK_SLEEP_DISABLE __HAL_RCC_LPTIM2_CLK_SLEEP_DISABLE
Kojto 99:dbbf35b96557 1637 #define __LPTIM2_CLK_SLEEP_ENABLE __HAL_RCC_LPTIM2_CLK_SLEEP_ENABLE
Kojto 99:dbbf35b96557 1638 #define __LPTIM2_FORCE_RESET __HAL_RCC_LPTIM2_FORCE_RESET
Kojto 99:dbbf35b96557 1639 #define __LPTIM2_RELEASE_RESET __HAL_RCC_LPTIM2_RELEASE_RESET
Kojto 99:dbbf35b96557 1640 #define __LPUART1_CLK_DISABLE __HAL_RCC_LPUART1_CLK_DISABLE
Kojto 99:dbbf35b96557 1641 #define __LPUART1_CLK_ENABLE __HAL_RCC_LPUART1_CLK_ENABLE
Kojto 99:dbbf35b96557 1642 #define __LPUART1_CLK_SLEEP_DISABLE __HAL_RCC_LPUART1_CLK_SLEEP_DISABLE
Kojto 99:dbbf35b96557 1643 #define __LPUART1_CLK_SLEEP_ENABLE __HAL_RCC_LPUART1_CLK_SLEEP_ENABLE
Kojto 99:dbbf35b96557 1644 #define __LPUART1_FORCE_RESET __HAL_RCC_LPUART1_FORCE_RESET
Kojto 99:dbbf35b96557 1645 #define __LPUART1_RELEASE_RESET __HAL_RCC_LPUART1_RELEASE_RESET
Kojto 99:dbbf35b96557 1646 #define __OPAMP_CLK_DISABLE __HAL_RCC_OPAMP_CLK_DISABLE
Kojto 99:dbbf35b96557 1647 #define __OPAMP_CLK_ENABLE __HAL_RCC_OPAMP_CLK_ENABLE
Kojto 99:dbbf35b96557 1648 #define __OPAMP_CLK_SLEEP_DISABLE __HAL_RCC_OPAMP_CLK_SLEEP_DISABLE
Kojto 99:dbbf35b96557 1649 #define __OPAMP_CLK_SLEEP_ENABLE __HAL_RCC_OPAMP_CLK_SLEEP_ENABLE
Kojto 99:dbbf35b96557 1650 #define __OPAMP_FORCE_RESET __HAL_RCC_OPAMP_FORCE_RESET
Kojto 99:dbbf35b96557 1651 #define __OPAMP_RELEASE_RESET __HAL_RCC_OPAMP_RELEASE_RESET
Kojto 99:dbbf35b96557 1652 #define __OTGFS_CLK_DISABLE __HAL_RCC_OTGFS_CLK_DISABLE
Kojto 99:dbbf35b96557 1653 #define __OTGFS_CLK_ENABLE __HAL_RCC_OTGFS_CLK_ENABLE
Kojto 99:dbbf35b96557 1654 #define __OTGFS_CLK_SLEEP_DISABLE __HAL_RCC_OTGFS_CLK_SLEEP_DISABLE
Kojto 99:dbbf35b96557 1655 #define __OTGFS_CLK_SLEEP_ENABLE __HAL_RCC_OTGFS_CLK_SLEEP_ENABLE
Kojto 99:dbbf35b96557 1656 #define __OTGFS_FORCE_RESET __HAL_RCC_OTGFS_FORCE_RESET
Kojto 99:dbbf35b96557 1657 #define __OTGFS_RELEASE_RESET __HAL_RCC_OTGFS_RELEASE_RESET
Kojto 99:dbbf35b96557 1658 #define __PWR_CLK_DISABLE __HAL_RCC_PWR_CLK_DISABLE
Kojto 99:dbbf35b96557 1659 #define __PWR_CLK_ENABLE __HAL_RCC_PWR_CLK_ENABLE
Kojto 99:dbbf35b96557 1660 #define __PWR_CLK_SLEEP_DISABLE __HAL_RCC_PWR_CLK_SLEEP_DISABLE
Kojto 99:dbbf35b96557 1661 #define __PWR_CLK_SLEEP_ENABLE __HAL_RCC_PWR_CLK_SLEEP_ENABLE
Kojto 99:dbbf35b96557 1662 #define __PWR_FORCE_RESET __HAL_RCC_PWR_FORCE_RESET
Kojto 99:dbbf35b96557 1663 #define __PWR_RELEASE_RESET __HAL_RCC_PWR_RELEASE_RESET
Kojto 99:dbbf35b96557 1664 #define __QSPI_CLK_DISABLE __HAL_RCC_QSPI_CLK_DISABLE
Kojto 99:dbbf35b96557 1665 #define __QSPI_CLK_ENABLE __HAL_RCC_QSPI_CLK_ENABLE
Kojto 99:dbbf35b96557 1666 #define __QSPI_CLK_SLEEP_DISABLE __HAL_RCC_QSPI_CLK_SLEEP_DISABLE
Kojto 99:dbbf35b96557 1667 #define __QSPI_CLK_SLEEP_ENABLE __HAL_RCC_QSPI_CLK_SLEEP_ENABLE
Kojto 99:dbbf35b96557 1668 #define __QSPI_FORCE_RESET __HAL_RCC_QSPI_FORCE_RESET
Kojto 99:dbbf35b96557 1669 #define __QSPI_RELEASE_RESET __HAL_RCC_QSPI_RELEASE_RESET
Kojto 99:dbbf35b96557 1670 #define __RNG_CLK_DISABLE __HAL_RCC_RNG_CLK_DISABLE
Kojto 99:dbbf35b96557 1671 #define __RNG_CLK_ENABLE __HAL_RCC_RNG_CLK_ENABLE
Kojto 99:dbbf35b96557 1672 #define __RNG_CLK_SLEEP_DISABLE __HAL_RCC_RNG_CLK_SLEEP_DISABLE
Kojto 99:dbbf35b96557 1673 #define __RNG_CLK_SLEEP_ENABLE __HAL_RCC_RNG_CLK_SLEEP_ENABLE
Kojto 99:dbbf35b96557 1674 #define __RNG_FORCE_RESET __HAL_RCC_RNG_FORCE_RESET
Kojto 99:dbbf35b96557 1675 #define __RNG_RELEASE_RESET __HAL_RCC_RNG_RELEASE_RESET
Kojto 99:dbbf35b96557 1676 #define __SAI1_CLK_DISABLE __HAL_RCC_SAI1_CLK_DISABLE
Kojto 99:dbbf35b96557 1677 #define __SAI1_CLK_ENABLE __HAL_RCC_SAI1_CLK_ENABLE
Kojto 99:dbbf35b96557 1678 #define __SAI1_CLK_SLEEP_DISABLE __HAL_RCC_SAI1_CLK_SLEEP_DISABLE
Kojto 99:dbbf35b96557 1679 #define __SAI1_CLK_SLEEP_ENABLE __HAL_RCC_SAI1_CLK_SLEEP_ENABLE
Kojto 99:dbbf35b96557 1680 #define __SAI1_FORCE_RESET __HAL_RCC_SAI1_FORCE_RESET
Kojto 99:dbbf35b96557 1681 #define __SAI1_RELEASE_RESET __HAL_RCC_SAI1_RELEASE_RESET
Kojto 99:dbbf35b96557 1682 #define __SAI2_CLK_DISABLE __HAL_RCC_SAI2_CLK_DISABLE
Kojto 99:dbbf35b96557 1683 #define __SAI2_CLK_ENABLE __HAL_RCC_SAI2_CLK_ENABLE
Kojto 99:dbbf35b96557 1684 #define __SAI2_CLK_SLEEP_DISABLE __HAL_RCC_SAI2_CLK_SLEEP_DISABLE
Kojto 99:dbbf35b96557 1685 #define __SAI2_CLK_SLEEP_ENABLE __HAL_RCC_SAI2_CLK_SLEEP_ENABLE
Kojto 99:dbbf35b96557 1686 #define __SAI2_FORCE_RESET __HAL_RCC_SAI2_FORCE_RESET
Kojto 99:dbbf35b96557 1687 #define __SAI2_RELEASE_RESET __HAL_RCC_SAI2_RELEASE_RESET
Kojto 99:dbbf35b96557 1688 #define __SDIO_CLK_DISABLE __HAL_RCC_SDIO_CLK_DISABLE
Kojto 99:dbbf35b96557 1689 #define __SDIO_CLK_ENABLE __HAL_RCC_SDIO_CLK_ENABLE
Kojto 99:dbbf35b96557 1690 #define __SDMMC_CLK_DISABLE __HAL_RCC_SDMMC_CLK_DISABLE
Kojto 99:dbbf35b96557 1691 #define __SDMMC_CLK_ENABLE __HAL_RCC_SDMMC_CLK_ENABLE
Kojto 99:dbbf35b96557 1692 #define __SDMMC_CLK_SLEEP_DISABLE __HAL_RCC_SDMMC_CLK_SLEEP_DISABLE
Kojto 99:dbbf35b96557 1693 #define __SDMMC_CLK_SLEEP_ENABLE __HAL_RCC_SDMMC_CLK_SLEEP_ENABLE
Kojto 99:dbbf35b96557 1694 #define __SDMMC_FORCE_RESET __HAL_RCC_SDMMC_FORCE_RESET
Kojto 99:dbbf35b96557 1695 #define __SDMMC_RELEASE_RESET __HAL_RCC_SDMMC_RELEASE_RESET
Kojto 99:dbbf35b96557 1696 #define __SPI1_CLK_DISABLE __HAL_RCC_SPI1_CLK_DISABLE
Kojto 99:dbbf35b96557 1697 #define __SPI1_CLK_ENABLE __HAL_RCC_SPI1_CLK_ENABLE
Kojto 99:dbbf35b96557 1698 #define __SPI1_CLK_SLEEP_DISABLE __HAL_RCC_SPI1_CLK_SLEEP_DISABLE
Kojto 99:dbbf35b96557 1699 #define __SPI1_CLK_SLEEP_ENABLE __HAL_RCC_SPI1_CLK_SLEEP_ENABLE
Kojto 99:dbbf35b96557 1700 #define __SPI1_FORCE_RESET __HAL_RCC_SPI1_FORCE_RESET
Kojto 99:dbbf35b96557 1701 #define __SPI1_RELEASE_RESET __HAL_RCC_SPI1_RELEASE_RESET
Kojto 99:dbbf35b96557 1702 #define __SPI2_CLK_DISABLE __HAL_RCC_SPI2_CLK_DISABLE
Kojto 99:dbbf35b96557 1703 #define __SPI2_CLK_ENABLE __HAL_RCC_SPI2_CLK_ENABLE
Kojto 99:dbbf35b96557 1704 #define __SPI2_CLK_SLEEP_DISABLE __HAL_RCC_SPI2_CLK_SLEEP_DISABLE
Kojto 99:dbbf35b96557 1705 #define __SPI2_CLK_SLEEP_ENABLE __HAL_RCC_SPI2_CLK_SLEEP_ENABLE
Kojto 99:dbbf35b96557 1706 #define __SPI2_FORCE_RESET __HAL_RCC_SPI2_FORCE_RESET
Kojto 99:dbbf35b96557 1707 #define __SPI2_RELEASE_RESET __HAL_RCC_SPI2_RELEASE_RESET
Kojto 99:dbbf35b96557 1708 #define __SPI3_CLK_DISABLE __HAL_RCC_SPI3_CLK_DISABLE
Kojto 99:dbbf35b96557 1709 #define __SPI3_CLK_ENABLE __HAL_RCC_SPI3_CLK_ENABLE
Kojto 99:dbbf35b96557 1710 #define __SPI3_CLK_SLEEP_DISABLE __HAL_RCC_SPI3_CLK_SLEEP_DISABLE
Kojto 99:dbbf35b96557 1711 #define __SPI3_CLK_SLEEP_ENABLE __HAL_RCC_SPI3_CLK_SLEEP_ENABLE
Kojto 99:dbbf35b96557 1712 #define __SPI3_FORCE_RESET __HAL_RCC_SPI3_FORCE_RESET
Kojto 99:dbbf35b96557 1713 #define __SPI3_RELEASE_RESET __HAL_RCC_SPI3_RELEASE_RESET
Kojto 99:dbbf35b96557 1714 #define __SRAM_CLK_DISABLE __HAL_RCC_SRAM_CLK_DISABLE
Kojto 99:dbbf35b96557 1715 #define __SRAM_CLK_ENABLE __HAL_RCC_SRAM_CLK_ENABLE
Kojto 99:dbbf35b96557 1716 #define __SRAM1_CLK_SLEEP_DISABLE __HAL_RCC_SRAM1_CLK_SLEEP_DISABLE
Kojto 99:dbbf35b96557 1717 #define __SRAM1_CLK_SLEEP_ENABLE __HAL_RCC_SRAM1_CLK_SLEEP_ENABLE
Kojto 99:dbbf35b96557 1718 #define __SRAM2_CLK_SLEEP_DISABLE __HAL_RCC_SRAM2_CLK_SLEEP_DISABLE
Kojto 99:dbbf35b96557 1719 #define __SRAM2_CLK_SLEEP_ENABLE __HAL_RCC_SRAM2_CLK_SLEEP_ENABLE
Kojto 99:dbbf35b96557 1720 #define __SWPMI1_CLK_DISABLE __HAL_RCC_SWPMI1_CLK_DISABLE
Kojto 99:dbbf35b96557 1721 #define __SWPMI1_CLK_ENABLE __HAL_RCC_SWPMI1_CLK_ENABLE
Kojto 99:dbbf35b96557 1722 #define __SWPMI1_CLK_SLEEP_DISABLE __HAL_RCC_SWPMI1_CLK_SLEEP_DISABLE
Kojto 99:dbbf35b96557 1723 #define __SWPMI1_CLK_SLEEP_ENABLE __HAL_RCC_SWPMI1_CLK_SLEEP_ENABLE
Kojto 99:dbbf35b96557 1724 #define __SWPMI1_FORCE_RESET __HAL_RCC_SWPMI1_FORCE_RESET
Kojto 99:dbbf35b96557 1725 #define __SWPMI1_RELEASE_RESET __HAL_RCC_SWPMI1_RELEASE_RESET
Kojto 99:dbbf35b96557 1726 #define __SYSCFG_CLK_DISABLE __HAL_RCC_SYSCFG_CLK_DISABLE
Kojto 99:dbbf35b96557 1727 #define __SYSCFG_CLK_ENABLE __HAL_RCC_SYSCFG_CLK_ENABLE
Kojto 99:dbbf35b96557 1728 #define __SYSCFG_CLK_SLEEP_DISABLE __HAL_RCC_SYSCFG_CLK_SLEEP_DISABLE
Kojto 99:dbbf35b96557 1729 #define __SYSCFG_CLK_SLEEP_ENABLE __HAL_RCC_SYSCFG_CLK_SLEEP_ENABLE
Kojto 99:dbbf35b96557 1730 #define __SYSCFG_FORCE_RESET __HAL_RCC_SYSCFG_FORCE_RESET
Kojto 99:dbbf35b96557 1731 #define __SYSCFG_RELEASE_RESET __HAL_RCC_SYSCFG_RELEASE_RESET
Kojto 99:dbbf35b96557 1732 #define __TIM1_CLK_DISABLE __HAL_RCC_TIM1_CLK_DISABLE
Kojto 99:dbbf35b96557 1733 #define __TIM1_CLK_ENABLE __HAL_RCC_TIM1_CLK_ENABLE
Kojto 99:dbbf35b96557 1734 #define __TIM1_CLK_SLEEP_DISABLE __HAL_RCC_TIM1_CLK_SLEEP_DISABLE
Kojto 99:dbbf35b96557 1735 #define __TIM1_CLK_SLEEP_ENABLE __HAL_RCC_TIM1_CLK_SLEEP_ENABLE
Kojto 99:dbbf35b96557 1736 #define __TIM1_FORCE_RESET __HAL_RCC_TIM1_FORCE_RESET
Kojto 99:dbbf35b96557 1737 #define __TIM1_RELEASE_RESET __HAL_RCC_TIM1_RELEASE_RESET
Kojto 99:dbbf35b96557 1738 #define __TIM10_CLK_DISABLE __HAL_RCC_TIM10_CLK_DISABLE
Kojto 99:dbbf35b96557 1739 #define __TIM10_CLK_ENABLE __HAL_RCC_TIM10_CLK_ENABLE
Kojto 99:dbbf35b96557 1740 #define __TIM10_FORCE_RESET __HAL_RCC_TIM10_FORCE_RESET
Kojto 99:dbbf35b96557 1741 #define __TIM10_RELEASE_RESET __HAL_RCC_TIM10_RELEASE_RESET
Kojto 99:dbbf35b96557 1742 #define __TIM11_CLK_DISABLE __HAL_RCC_TIM11_CLK_DISABLE
Kojto 99:dbbf35b96557 1743 #define __TIM11_CLK_ENABLE __HAL_RCC_TIM11_CLK_ENABLE
Kojto 99:dbbf35b96557 1744 #define __TIM11_FORCE_RESET __HAL_RCC_TIM11_FORCE_RESET
Kojto 99:dbbf35b96557 1745 #define __TIM11_RELEASE_RESET __HAL_RCC_TIM11_RELEASE_RESET
Kojto 99:dbbf35b96557 1746 #define __TIM12_CLK_DISABLE __HAL_RCC_TIM12_CLK_DISABLE
Kojto 99:dbbf35b96557 1747 #define __TIM12_CLK_ENABLE __HAL_RCC_TIM12_CLK_ENABLE
Kojto 99:dbbf35b96557 1748 #define __TIM12_FORCE_RESET __HAL_RCC_TIM12_FORCE_RESET
Kojto 99:dbbf35b96557 1749 #define __TIM12_RELEASE_RESET __HAL_RCC_TIM12_RELEASE_RESET
Kojto 99:dbbf35b96557 1750 #define __TIM13_CLK_DISABLE __HAL_RCC_TIM13_CLK_DISABLE
Kojto 99:dbbf35b96557 1751 #define __TIM13_CLK_ENABLE __HAL_RCC_TIM13_CLK_ENABLE
Kojto 99:dbbf35b96557 1752 #define __TIM13_FORCE_RESET __HAL_RCC_TIM13_FORCE_RESET
Kojto 99:dbbf35b96557 1753 #define __TIM13_RELEASE_RESET __HAL_RCC_TIM13_RELEASE_RESET
Kojto 99:dbbf35b96557 1754 #define __TIM14_CLK_DISABLE __HAL_RCC_TIM14_CLK_DISABLE
Kojto 99:dbbf35b96557 1755 #define __TIM14_CLK_ENABLE __HAL_RCC_TIM14_CLK_ENABLE
Kojto 99:dbbf35b96557 1756 #define __TIM14_FORCE_RESET __HAL_RCC_TIM14_FORCE_RESET
Kojto 99:dbbf35b96557 1757 #define __TIM14_RELEASE_RESET __HAL_RCC_TIM14_RELEASE_RESET
Kojto 99:dbbf35b96557 1758 #define __TIM15_CLK_DISABLE __HAL_RCC_TIM15_CLK_DISABLE
Kojto 99:dbbf35b96557 1759 #define __TIM15_CLK_ENABLE __HAL_RCC_TIM15_CLK_ENABLE
Kojto 99:dbbf35b96557 1760 #define __TIM15_CLK_SLEEP_DISABLE __HAL_RCC_TIM15_CLK_SLEEP_DISABLE
Kojto 99:dbbf35b96557 1761 #define __TIM15_CLK_SLEEP_ENABLE __HAL_RCC_TIM15_CLK_SLEEP_ENABLE
Kojto 99:dbbf35b96557 1762 #define __TIM15_FORCE_RESET __HAL_RCC_TIM15_FORCE_RESET
Kojto 99:dbbf35b96557 1763 #define __TIM15_RELEASE_RESET __HAL_RCC_TIM15_RELEASE_RESET
Kojto 99:dbbf35b96557 1764 #define __TIM16_CLK_DISABLE __HAL_RCC_TIM16_CLK_DISABLE
Kojto 99:dbbf35b96557 1765 #define __TIM16_CLK_ENABLE __HAL_RCC_TIM16_CLK_ENABLE
Kojto 99:dbbf35b96557 1766 #define __TIM16_CLK_SLEEP_DISABLE __HAL_RCC_TIM16_CLK_SLEEP_DISABLE
Kojto 99:dbbf35b96557 1767 #define __TIM16_CLK_SLEEP_ENABLE __HAL_RCC_TIM16_CLK_SLEEP_ENABLE
Kojto 99:dbbf35b96557 1768 #define __TIM16_FORCE_RESET __HAL_RCC_TIM16_FORCE_RESET
Kojto 99:dbbf35b96557 1769 #define __TIM16_RELEASE_RESET __HAL_RCC_TIM16_RELEASE_RESET
Kojto 99:dbbf35b96557 1770 #define __TIM17_CLK_DISABLE __HAL_RCC_TIM17_CLK_DISABLE
Kojto 99:dbbf35b96557 1771 #define __TIM17_CLK_ENABLE __HAL_RCC_TIM17_CLK_ENABLE
Kojto 99:dbbf35b96557 1772 #define __TIM17_CLK_SLEEP_DISABLE __HAL_RCC_TIM17_CLK_SLEEP_DISABLE
Kojto 99:dbbf35b96557 1773 #define __TIM17_CLK_SLEEP_ENABLE __HAL_RCC_TIM17_CLK_SLEEP_ENABLE
Kojto 99:dbbf35b96557 1774 #define __TIM17_FORCE_RESET __HAL_RCC_TIM17_FORCE_RESET
Kojto 99:dbbf35b96557 1775 #define __TIM17_RELEASE_RESET __HAL_RCC_TIM17_RELEASE_RESET
Kojto 99:dbbf35b96557 1776 #define __TIM2_CLK_DISABLE __HAL_RCC_TIM2_CLK_DISABLE
Kojto 99:dbbf35b96557 1777 #define __TIM2_CLK_ENABLE __HAL_RCC_TIM2_CLK_ENABLE
Kojto 99:dbbf35b96557 1778 #define __TIM2_CLK_SLEEP_DISABLE __HAL_RCC_TIM2_CLK_SLEEP_DISABLE
Kojto 99:dbbf35b96557 1779 #define __TIM2_CLK_SLEEP_ENABLE __HAL_RCC_TIM2_CLK_SLEEP_ENABLE
Kojto 99:dbbf35b96557 1780 #define __TIM2_FORCE_RESET __HAL_RCC_TIM2_FORCE_RESET
Kojto 99:dbbf35b96557 1781 #define __TIM2_RELEASE_RESET __HAL_RCC_TIM2_RELEASE_RESET
Kojto 99:dbbf35b96557 1782 #define __TIM3_CLK_DISABLE __HAL_RCC_TIM3_CLK_DISABLE
Kojto 99:dbbf35b96557 1783 #define __TIM3_CLK_ENABLE __HAL_RCC_TIM3_CLK_ENABLE
Kojto 99:dbbf35b96557 1784 #define __TIM3_CLK_SLEEP_DISABLE __HAL_RCC_TIM3_CLK_SLEEP_DISABLE
Kojto 99:dbbf35b96557 1785 #define __TIM3_CLK_SLEEP_ENABLE __HAL_RCC_TIM3_CLK_SLEEP_ENABLE
Kojto 99:dbbf35b96557 1786 #define __TIM3_FORCE_RESET __HAL_RCC_TIM3_FORCE_RESET
Kojto 99:dbbf35b96557 1787 #define __TIM3_RELEASE_RESET __HAL_RCC_TIM3_RELEASE_RESET
Kojto 99:dbbf35b96557 1788 #define __TIM4_CLK_DISABLE __HAL_RCC_TIM4_CLK_DISABLE
Kojto 99:dbbf35b96557 1789 #define __TIM4_CLK_ENABLE __HAL_RCC_TIM4_CLK_ENABLE
Kojto 99:dbbf35b96557 1790 #define __TIM4_CLK_SLEEP_DISABLE __HAL_RCC_TIM4_CLK_SLEEP_DISABLE
Kojto 99:dbbf35b96557 1791 #define __TIM4_CLK_SLEEP_ENABLE __HAL_RCC_TIM4_CLK_SLEEP_ENABLE
Kojto 99:dbbf35b96557 1792 #define __TIM4_FORCE_RESET __HAL_RCC_TIM4_FORCE_RESET
Kojto 99:dbbf35b96557 1793 #define __TIM4_RELEASE_RESET __HAL_RCC_TIM4_RELEASE_RESET
Kojto 99:dbbf35b96557 1794 #define __TIM5_CLK_DISABLE __HAL_RCC_TIM5_CLK_DISABLE
Kojto 99:dbbf35b96557 1795 #define __TIM5_CLK_ENABLE __HAL_RCC_TIM5_CLK_ENABLE
Kojto 99:dbbf35b96557 1796 #define __TIM5_CLK_SLEEP_DISABLE __HAL_RCC_TIM5_CLK_SLEEP_DISABLE
Kojto 99:dbbf35b96557 1797 #define __TIM5_CLK_SLEEP_ENABLE __HAL_RCC_TIM5_CLK_SLEEP_ENABLE
Kojto 99:dbbf35b96557 1798 #define __TIM5_FORCE_RESET __HAL_RCC_TIM5_FORCE_RESET
Kojto 99:dbbf35b96557 1799 #define __TIM5_RELEASE_RESET __HAL_RCC_TIM5_RELEASE_RESET
Kojto 99:dbbf35b96557 1800 #define __TIM6_CLK_DISABLE __HAL_RCC_TIM6_CLK_DISABLE
Kojto 99:dbbf35b96557 1801 #define __TIM6_CLK_ENABLE __HAL_RCC_TIM6_CLK_ENABLE
Kojto 99:dbbf35b96557 1802 #define __TIM6_CLK_SLEEP_DISABLE __HAL_RCC_TIM6_CLK_SLEEP_DISABLE
Kojto 99:dbbf35b96557 1803 #define __TIM6_CLK_SLEEP_ENABLE __HAL_RCC_TIM6_CLK_SLEEP_ENABLE
Kojto 99:dbbf35b96557 1804 #define __TIM6_FORCE_RESET __HAL_RCC_TIM6_FORCE_RESET
Kojto 99:dbbf35b96557 1805 #define __TIM6_RELEASE_RESET __HAL_RCC_TIM6_RELEASE_RESET
Kojto 99:dbbf35b96557 1806 #define __TIM7_CLK_DISABLE __HAL_RCC_TIM7_CLK_DISABLE
Kojto 99:dbbf35b96557 1807 #define __TIM7_CLK_ENABLE __HAL_RCC_TIM7_CLK_ENABLE
Kojto 99:dbbf35b96557 1808 #define __TIM7_CLK_SLEEP_DISABLE __HAL_RCC_TIM7_CLK_SLEEP_DISABLE
Kojto 99:dbbf35b96557 1809 #define __TIM7_CLK_SLEEP_ENABLE __HAL_RCC_TIM7_CLK_SLEEP_ENABLE
Kojto 99:dbbf35b96557 1810 #define __TIM7_FORCE_RESET __HAL_RCC_TIM7_FORCE_RESET
Kojto 99:dbbf35b96557 1811 #define __TIM7_RELEASE_RESET __HAL_RCC_TIM7_RELEASE_RESET
Kojto 99:dbbf35b96557 1812 #define __TIM8_CLK_DISABLE __HAL_RCC_TIM8_CLK_DISABLE
Kojto 99:dbbf35b96557 1813 #define __TIM8_CLK_ENABLE __HAL_RCC_TIM8_CLK_ENABLE
Kojto 99:dbbf35b96557 1814 #define __TIM8_CLK_SLEEP_DISABLE __HAL_RCC_TIM8_CLK_SLEEP_DISABLE
Kojto 99:dbbf35b96557 1815 #define __TIM8_CLK_SLEEP_ENABLE __HAL_RCC_TIM8_CLK_SLEEP_ENABLE
Kojto 99:dbbf35b96557 1816 #define __TIM8_FORCE_RESET __HAL_RCC_TIM8_FORCE_RESET
Kojto 99:dbbf35b96557 1817 #define __TIM8_RELEASE_RESET __HAL_RCC_TIM8_RELEASE_RESET
Kojto 99:dbbf35b96557 1818 #define __TIM9_CLK_DISABLE __HAL_RCC_TIM9_CLK_DISABLE
Kojto 99:dbbf35b96557 1819 #define __TIM9_CLK_ENABLE __HAL_RCC_TIM9_CLK_ENABLE
Kojto 99:dbbf35b96557 1820 #define __TIM9_FORCE_RESET __HAL_RCC_TIM9_FORCE_RESET
Kojto 99:dbbf35b96557 1821 #define __TIM9_RELEASE_RESET __HAL_RCC_TIM9_RELEASE_RESET
Kojto 99:dbbf35b96557 1822 #define __TSC_CLK_DISABLE __HAL_RCC_TSC_CLK_DISABLE
Kojto 99:dbbf35b96557 1823 #define __TSC_CLK_ENABLE __HAL_RCC_TSC_CLK_ENABLE
Kojto 99:dbbf35b96557 1824 #define __TSC_CLK_SLEEP_DISABLE __HAL_RCC_TSC_CLK_SLEEP_DISABLE
Kojto 99:dbbf35b96557 1825 #define __TSC_CLK_SLEEP_ENABLE __HAL_RCC_TSC_CLK_SLEEP_ENABLE
Kojto 99:dbbf35b96557 1826 #define __TSC_FORCE_RESET __HAL_RCC_TSC_FORCE_RESET
Kojto 99:dbbf35b96557 1827 #define __TSC_RELEASE_RESET __HAL_RCC_TSC_RELEASE_RESET
Kojto 99:dbbf35b96557 1828 #define __UART4_CLK_DISABLE __HAL_RCC_UART4_CLK_DISABLE
Kojto 99:dbbf35b96557 1829 #define __UART4_CLK_ENABLE __HAL_RCC_UART4_CLK_ENABLE
Kojto 99:dbbf35b96557 1830 #define __UART4_CLK_SLEEP_DISABLE __HAL_RCC_UART4_CLK_SLEEP_DISABLE
Kojto 99:dbbf35b96557 1831 #define __UART4_CLK_SLEEP_ENABLE __HAL_RCC_UART4_CLK_SLEEP_ENABLE
Kojto 99:dbbf35b96557 1832 #define __UART4_FORCE_RESET __HAL_RCC_UART4_FORCE_RESET
Kojto 99:dbbf35b96557 1833 #define __UART4_RELEASE_RESET __HAL_RCC_UART4_RELEASE_RESET
Kojto 99:dbbf35b96557 1834 #define __UART5_CLK_DISABLE __HAL_RCC_UART5_CLK_DISABLE
Kojto 99:dbbf35b96557 1835 #define __UART5_CLK_ENABLE __HAL_RCC_UART5_CLK_ENABLE
Kojto 99:dbbf35b96557 1836 #define __UART5_CLK_SLEEP_DISABLE __HAL_RCC_UART5_CLK_SLEEP_DISABLE
Kojto 99:dbbf35b96557 1837 #define __UART5_CLK_SLEEP_ENABLE __HAL_RCC_UART5_CLK_SLEEP_ENABLE
Kojto 99:dbbf35b96557 1838 #define __UART5_FORCE_RESET __HAL_RCC_UART5_FORCE_RESET
Kojto 99:dbbf35b96557 1839 #define __UART5_RELEASE_RESET __HAL_RCC_UART5_RELEASE_RESET
Kojto 99:dbbf35b96557 1840 #define __USART1_CLK_DISABLE __HAL_RCC_USART1_CLK_DISABLE
Kojto 99:dbbf35b96557 1841 #define __USART1_CLK_ENABLE __HAL_RCC_USART1_CLK_ENABLE
Kojto 99:dbbf35b96557 1842 #define __USART1_CLK_SLEEP_DISABLE __HAL_RCC_USART1_CLK_SLEEP_DISABLE
Kojto 99:dbbf35b96557 1843 #define __USART1_CLK_SLEEP_ENABLE __HAL_RCC_USART1_CLK_SLEEP_ENABLE
Kojto 99:dbbf35b96557 1844 #define __USART1_FORCE_RESET __HAL_RCC_USART1_FORCE_RESET
Kojto 99:dbbf35b96557 1845 #define __USART1_RELEASE_RESET __HAL_RCC_USART1_RELEASE_RESET
Kojto 99:dbbf35b96557 1846 #define __USART2_CLK_DISABLE __HAL_RCC_USART2_CLK_DISABLE
Kojto 99:dbbf35b96557 1847 #define __USART2_CLK_ENABLE __HAL_RCC_USART2_CLK_ENABLE
Kojto 99:dbbf35b96557 1848 #define __USART2_CLK_SLEEP_DISABLE __HAL_RCC_USART2_CLK_SLEEP_DISABLE
Kojto 99:dbbf35b96557 1849 #define __USART2_CLK_SLEEP_ENABLE __HAL_RCC_USART2_CLK_SLEEP_ENABLE
Kojto 99:dbbf35b96557 1850 #define __USART2_FORCE_RESET __HAL_RCC_USART2_FORCE_RESET
Kojto 99:dbbf35b96557 1851 #define __USART2_RELEASE_RESET __HAL_RCC_USART2_RELEASE_RESET
Kojto 99:dbbf35b96557 1852 #define __USART3_CLK_DISABLE __HAL_RCC_USART3_CLK_DISABLE
Kojto 99:dbbf35b96557 1853 #define __USART3_CLK_ENABLE __HAL_RCC_USART3_CLK_ENABLE
Kojto 99:dbbf35b96557 1854 #define __USART3_CLK_SLEEP_DISABLE __HAL_RCC_USART3_CLK_SLEEP_DISABLE
Kojto 99:dbbf35b96557 1855 #define __USART3_CLK_SLEEP_ENABLE __HAL_RCC_USART3_CLK_SLEEP_ENABLE
Kojto 99:dbbf35b96557 1856 #define __USART3_FORCE_RESET __HAL_RCC_USART3_FORCE_RESET
Kojto 99:dbbf35b96557 1857 #define __USART3_RELEASE_RESET __HAL_RCC_USART3_RELEASE_RESET
Kojto 99:dbbf35b96557 1858 #define __USART4_CLK_DISABLE __HAL_RCC_USART4_CLK_DISABLE
Kojto 99:dbbf35b96557 1859 #define __USART4_CLK_ENABLE __HAL_RCC_USART4_CLK_ENABLE
Kojto 99:dbbf35b96557 1860 #define __USART4_CLK_SLEEP_ENABLE __HAL_RCC_USART4_CLK_SLEEP_ENABLE
Kojto 99:dbbf35b96557 1861 #define __USART4_CLK_SLEEP_DISABLE __HAL_RCC_USART4_CLK_SLEEP_DISABLE
Kojto 99:dbbf35b96557 1862 #define __USART4_FORCE_RESET __HAL_RCC_USART4_FORCE_RESET
Kojto 99:dbbf35b96557 1863 #define __USART4_RELEASE_RESET __HAL_RCC_USART4_RELEASE_RESET
Kojto 99:dbbf35b96557 1864 #define __USART5_CLK_DISABLE __HAL_RCC_USART5_CLK_DISABLE
Kojto 99:dbbf35b96557 1865 #define __USART5_CLK_ENABLE __HAL_RCC_USART5_CLK_ENABLE
Kojto 99:dbbf35b96557 1866 #define __USART5_CLK_SLEEP_ENABLE __HAL_RCC_USART5_CLK_SLEEP_ENABLE
Kojto 99:dbbf35b96557 1867 #define __USART5_CLK_SLEEP_DISABLE __HAL_RCC_USART5_CLK_SLEEP_DISABLE
Kojto 99:dbbf35b96557 1868 #define __USART5_FORCE_RESET __HAL_RCC_USART5_FORCE_RESET
Kojto 99:dbbf35b96557 1869 #define __USART5_RELEASE_RESET __HAL_RCC_USART5_RELEASE_RESET
Kojto 99:dbbf35b96557 1870 #define __USART7_CLK_DISABLE __HAL_RCC_USART7_CLK_DISABLE
Kojto 99:dbbf35b96557 1871 #define __USART7_CLK_ENABLE __HAL_RCC_USART7_CLK_ENABLE
Kojto 99:dbbf35b96557 1872 #define __USART7_FORCE_RESET __HAL_RCC_USART7_FORCE_RESET
Kojto 99:dbbf35b96557 1873 #define __USART7_RELEASE_RESET __HAL_RCC_USART7_RELEASE_RESET
Kojto 99:dbbf35b96557 1874 #define __USART8_CLK_DISABLE __HAL_RCC_USART8_CLK_DISABLE
Kojto 99:dbbf35b96557 1875 #define __USART8_CLK_ENABLE __HAL_RCC_USART8_CLK_ENABLE
Kojto 99:dbbf35b96557 1876 #define __USART8_FORCE_RESET __HAL_RCC_USART8_FORCE_RESET
Kojto 99:dbbf35b96557 1877 #define __USART8_RELEASE_RESET __HAL_RCC_USART8_RELEASE_RESET
Kojto 99:dbbf35b96557 1878 #define __USB_CLK_DISABLE __HAL_RCC_USB_CLK_DISABLE
Kojto 99:dbbf35b96557 1879 #define __USB_CLK_ENABLE __HAL_RCC_USB_CLK_ENABLE
Kojto 99:dbbf35b96557 1880 #define __USB_FORCE_RESET __HAL_RCC_USB_FORCE_RESET
Kojto 99:dbbf35b96557 1881 #define __USB_CLK_SLEEP_ENABLE __HAL_RCC_USB_CLK_SLEEP_ENABLE
Kojto 99:dbbf35b96557 1882 #define __USB_CLK_SLEEP_DISABLE __HAL_RCC_USB_CLK_SLEEP_DISABLE
Kojto 99:dbbf35b96557 1883 #define __USB_OTG_FS_CLK_DISABLE __HAL_RCC_USB_OTG_FS_CLK_DISABLE
Kojto 99:dbbf35b96557 1884 #define __USB_OTG_FS_CLK_ENABLE __HAL_RCC_USB_OTG_FS_CLK_ENABLE
Kojto 99:dbbf35b96557 1885 #define __USB_RELEASE_RESET __HAL_RCC_USB_RELEASE_RESET
Kojto 99:dbbf35b96557 1886 #define __WWDG_CLK_DISABLE __HAL_RCC_WWDG_CLK_DISABLE
Kojto 99:dbbf35b96557 1887 #define __WWDG_CLK_ENABLE __HAL_RCC_WWDG_CLK_ENABLE
Kojto 99:dbbf35b96557 1888 #define __WWDG_CLK_SLEEP_DISABLE __HAL_RCC_WWDG_CLK_SLEEP_DISABLE
Kojto 99:dbbf35b96557 1889 #define __WWDG_CLK_SLEEP_ENABLE __HAL_RCC_WWDG_CLK_SLEEP_ENABLE
Kojto 99:dbbf35b96557 1890 #define __WWDG_FORCE_RESET __HAL_RCC_WWDG_FORCE_RESET
Kojto 99:dbbf35b96557 1891 #define __WWDG_RELEASE_RESET __HAL_RCC_WWDG_RELEASE_RESET
Kojto 99:dbbf35b96557 1892 #define __TIM21_CLK_ENABLE __HAL_RCC_TIM21_CLK_ENABLE
Kojto 99:dbbf35b96557 1893 #define __TIM21_CLK_DISABLE __HAL_RCC_TIM21_CLK_DISABLE
Kojto 99:dbbf35b96557 1894 #define __TIM21_FORCE_RESET __HAL_RCC_TIM21_FORCE_RESET
Kojto 99:dbbf35b96557 1895 #define __TIM21_RELEASE_RESET __HAL_RCC_TIM21_RELEASE_RESET
Kojto 99:dbbf35b96557 1896 #define __TIM21_CLK_SLEEP_ENABLE __HAL_RCC_TIM21_CLK_SLEEP_ENABLE
Kojto 99:dbbf35b96557 1897 #define __TIM21_CLK_SLEEP_DISABLE __HAL_RCC_TIM21_CLK_SLEEP_DISABLE
Kojto 99:dbbf35b96557 1898 #define __TIM22_CLK_ENABLE __HAL_RCC_TIM22_CLK_ENABLE
Kojto 99:dbbf35b96557 1899 #define __TIM22_CLK_DISABLE __HAL_RCC_TIM22_CLK_DISABLE
Kojto 99:dbbf35b96557 1900 #define __TIM22_FORCE_RESET __HAL_RCC_TIM22_FORCE_RESET
Kojto 99:dbbf35b96557 1901 #define __TIM22_RELEASE_RESET __HAL_RCC_TIM22_RELEASE_RESET
Kojto 99:dbbf35b96557 1902 #define __TIM22_CLK_SLEEP_ENABLE __HAL_RCC_TIM22_CLK_SLEEP_ENABLE
Kojto 99:dbbf35b96557 1903 #define __TIM22_CLK_SLEEP_DISABLE __HAL_RCC_TIM22_CLK_SLEEP_DISABLE
Kojto 99:dbbf35b96557 1904 #define __CRS_CLK_DISABLE __HAL_RCC_CRS_CLK_DISABLE
Kojto 99:dbbf35b96557 1905 #define __CRS_CLK_ENABLE __HAL_RCC_CRS_CLK_ENABLE
Kojto 99:dbbf35b96557 1906 #define __CRS_CLK_SLEEP_DISABLE __HAL_RCC_CRS_CLK_SLEEP_DISABLE
Kojto 99:dbbf35b96557 1907 #define __CRS_CLK_SLEEP_ENABLE __HAL_RCC_CRS_CLK_SLEEP_ENABLE
Kojto 99:dbbf35b96557 1908 #define __CRS_FORCE_RESET __HAL_RCC_CRS_FORCE_RESET
Kojto 99:dbbf35b96557 1909 #define __CRS_RELEASE_RESET __HAL_RCC_CRS_RELEASE_RESET
Kojto 99:dbbf35b96557 1910 #define __RCC_BACKUPRESET_FORCE __HAL_RCC_BACKUPRESET_FORCE
Kojto 99:dbbf35b96557 1911 #define __RCC_BACKUPRESET_RELEASE __HAL_RCC_BACKUPRESET_RELEASE
Kojto 99:dbbf35b96557 1912
Kojto 99:dbbf35b96557 1913 #define __USB_OTG_FS_FORCE_RESET __HAL_RCC_USB_OTG_FS_FORCE_RESET
Kojto 99:dbbf35b96557 1914 #define __USB_OTG_FS_RELEASE_RESET __HAL_RCC_USB_OTG_FS_RELEASE_RESET
Kojto 99:dbbf35b96557 1915 #define __USB_OTG_FS_CLK_SLEEP_ENABLE __HAL_RCC_USB_OTG_FS_CLK_SLEEP_ENABLE
Kojto 99:dbbf35b96557 1916 #define __USB_OTG_FS_CLK_SLEEP_DISABLE __HAL_RCC_USB_OTG_FS_CLK_SLEEP_DISABLE
Kojto 99:dbbf35b96557 1917 #define __USB_OTG_HS_CLK_DISABLE __HAL_RCC_USB_OTG_HS_CLK_DISABLE
Kojto 99:dbbf35b96557 1918 #define __USB_OTG_HS_CLK_ENABLE __HAL_RCC_USB_OTG_HS_CLK_ENABLE
Kojto 99:dbbf35b96557 1919 #define __USB_OTG_HS_ULPI_CLK_ENABLE __HAL_RCC_USB_OTG_HS_ULPI_CLK_ENABLE
Kojto 99:dbbf35b96557 1920 #define __USB_OTG_HS_ULPI_CLK_DISABLE __HAL_RCC_USB_OTG_HS_ULPI_CLK_DISABLE
Kojto 99:dbbf35b96557 1921 #define __TIM9_CLK_SLEEP_ENABLE __HAL_RCC_TIM9_CLK_SLEEP_ENABLE
Kojto 99:dbbf35b96557 1922 #define __TIM9_CLK_SLEEP_DISABLE __HAL_RCC_TIM9_CLK_SLEEP_DISABLE
Kojto 99:dbbf35b96557 1923 #define __TIM10_CLK_SLEEP_ENABLE __HAL_RCC_TIM10_CLK_SLEEP_ENABLE
Kojto 99:dbbf35b96557 1924 #define __TIM10_CLK_SLEEP_DISABLE __HAL_RCC_TIM10_CLK_SLEEP_DISABLE
Kojto 99:dbbf35b96557 1925 #define __TIM11_CLK_SLEEP_ENABLE __HAL_RCC_TIM11_CLK_SLEEP_ENABLE
Kojto 99:dbbf35b96557 1926 #define __TIM11_CLK_SLEEP_DISABLE __HAL_RCC_TIM11_CLK_SLEEP_DISABLE
Kojto 99:dbbf35b96557 1927 #define __ETHMACPTP_CLK_SLEEP_ENABLE __HAL_RCC_ETHMACPTP_CLK_SLEEP_ENABLE
Kojto 99:dbbf35b96557 1928 #define __ETHMACPTP_CLK_SLEEP_DISABLE __HAL_RCC_ETHMACPTP_CLK_SLEEP_DISABLE
Kojto 99:dbbf35b96557 1929 #define __ETHMACPTP_CLK_ENABLE __HAL_RCC_ETHMACPTP_CLK_ENABLE
Kojto 99:dbbf35b96557 1930 #define __ETHMACPTP_CLK_DISABLE __HAL_RCC_ETHMACPTP_CLK_DISABLE
Kojto 99:dbbf35b96557 1931 #define __HASH_CLK_ENABLE __HAL_RCC_HASH_CLK_ENABLE
Kojto 99:dbbf35b96557 1932 #define __HASH_FORCE_RESET __HAL_RCC_HASH_FORCE_RESET
Kojto 99:dbbf35b96557 1933 #define __HASH_RELEASE_RESET __HAL_RCC_HASH_RELEASE_RESET
Kojto 99:dbbf35b96557 1934 #define __HASH_CLK_SLEEP_ENABLE __HAL_RCC_HASH_CLK_SLEEP_ENABLE
Kojto 99:dbbf35b96557 1935 #define __HASH_CLK_SLEEP_DISABLE __HAL_RCC_HASH_CLK_SLEEP_DISABLE
Kojto 99:dbbf35b96557 1936 #define __HASH_CLK_DISABLE __HAL_RCC_HASH_CLK_DISABLE
Kojto 99:dbbf35b96557 1937 #define __SPI5_CLK_ENABLE __HAL_RCC_SPI5_CLK_ENABLE
Kojto 99:dbbf35b96557 1938 #define __SPI5_CLK_DISABLE __HAL_RCC_SPI5_CLK_DISABLE
Kojto 99:dbbf35b96557 1939 #define __SPI5_FORCE_RESET __HAL_RCC_SPI5_FORCE_RESET
Kojto 99:dbbf35b96557 1940 #define __SPI5_RELEASE_RESET __HAL_RCC_SPI5_RELEASE_RESET
Kojto 99:dbbf35b96557 1941 #define __SPI5_CLK_SLEEP_ENABLE __HAL_RCC_SPI5_CLK_SLEEP_ENABLE
Kojto 99:dbbf35b96557 1942 #define __SPI5_CLK_SLEEP_DISABLE __HAL_RCC_SPI5_CLK_SLEEP_DISABLE
Kojto 99:dbbf35b96557 1943 #define __SPI6_CLK_ENABLE __HAL_RCC_SPI6_CLK_ENABLE
Kojto 99:dbbf35b96557 1944 #define __SPI6_CLK_DISABLE __HAL_RCC_SPI6_CLK_DISABLE
Kojto 99:dbbf35b96557 1945 #define __SPI6_FORCE_RESET __HAL_RCC_SPI6_FORCE_RESET
Kojto 99:dbbf35b96557 1946 #define __SPI6_RELEASE_RESET __HAL_RCC_SPI6_RELEASE_RESET
Kojto 99:dbbf35b96557 1947 #define __SPI6_CLK_SLEEP_ENABLE __HAL_RCC_SPI6_CLK_SLEEP_ENABLE
Kojto 99:dbbf35b96557 1948 #define __SPI6_CLK_SLEEP_DISABLE __HAL_RCC_SPI6_CLK_SLEEP_DISABLE
Kojto 99:dbbf35b96557 1949 #define __LTDC_CLK_ENABLE __HAL_RCC_LTDC_CLK_ENABLE
Kojto 99:dbbf35b96557 1950 #define __LTDC_CLK_DISABLE __HAL_RCC_LTDC_CLK_DISABLE
Kojto 99:dbbf35b96557 1951 #define __LTDC_FORCE_RESET __HAL_RCC_LTDC_FORCE_RESET
Kojto 99:dbbf35b96557 1952 #define __LTDC_RELEASE_RESET __HAL_RCC_LTDC_RELEASE_RESET
Kojto 99:dbbf35b96557 1953 #define __LTDC_CLK_SLEEP_ENABLE __HAL_RCC_LTDC_CLK_SLEEP_ENABLE
Kojto 99:dbbf35b96557 1954 #define __ETHMAC_CLK_SLEEP_ENABLE __HAL_RCC_ETHMAC_CLK_SLEEP_ENABLE
Kojto 99:dbbf35b96557 1955 #define __ETHMAC_CLK_SLEEP_DISABLE __HAL_RCC_ETHMAC_CLK_SLEEP_DISABLE
Kojto 99:dbbf35b96557 1956 #define __ETHMACTX_CLK_SLEEP_ENABLE __HAL_RCC_ETHMACTX_CLK_SLEEP_ENABLE
Kojto 99:dbbf35b96557 1957 #define __ETHMACTX_CLK_SLEEP_DISABLE __HAL_RCC_ETHMACTX_CLK_SLEEP_DISABLE
Kojto 99:dbbf35b96557 1958 #define __ETHMACRX_CLK_SLEEP_ENABLE __HAL_RCC_ETHMACRX_CLK_SLEEP_ENABLE
Kojto 99:dbbf35b96557 1959 #define __ETHMACRX_CLK_SLEEP_DISABLE __HAL_RCC_ETHMACRX_CLK_SLEEP_DISABLE
Kojto 99:dbbf35b96557 1960 #define __TIM12_CLK_SLEEP_ENABLE __HAL_RCC_TIM12_CLK_SLEEP_ENABLE
Kojto 99:dbbf35b96557 1961 #define __TIM12_CLK_SLEEP_DISABLE __HAL_RCC_TIM12_CLK_SLEEP_DISABLE
Kojto 99:dbbf35b96557 1962 #define __TIM13_CLK_SLEEP_ENABLE __HAL_RCC_TIM13_CLK_SLEEP_ENABLE
Kojto 99:dbbf35b96557 1963 #define __TIM13_CLK_SLEEP_DISABLE __HAL_RCC_TIM13_CLK_SLEEP_DISABLE
Kojto 99:dbbf35b96557 1964 #define __TIM14_CLK_SLEEP_ENABLE __HAL_RCC_TIM14_CLK_SLEEP_ENABLE
Kojto 99:dbbf35b96557 1965 #define __TIM14_CLK_SLEEP_DISABLE __HAL_RCC_TIM14_CLK_SLEEP_DISABLE
Kojto 99:dbbf35b96557 1966 #define __BKPSRAM_CLK_ENABLE __HAL_RCC_BKPSRAM_CLK_ENABLE
Kojto 99:dbbf35b96557 1967 #define __BKPSRAM_CLK_DISABLE __HAL_RCC_BKPSRAM_CLK_DISABLE
Kojto 99:dbbf35b96557 1968 #define __BKPSRAM_CLK_SLEEP_ENABLE __HAL_RCC_BKPSRAM_CLK_SLEEP_ENABLE
Kojto 99:dbbf35b96557 1969 #define __BKPSRAM_CLK_SLEEP_DISABLE __HAL_RCC_BKPSRAM_CLK_SLEEP_DISABLE
Kojto 99:dbbf35b96557 1970 #define __CCMDATARAMEN_CLK_ENABLE __HAL_RCC_CCMDATARAMEN_CLK_ENABLE
Kojto 99:dbbf35b96557 1971 #define __CCMDATARAMEN_CLK_DISABLE __HAL_RCC_CCMDATARAMEN_CLK_DISABLE
Kojto 99:dbbf35b96557 1972 #define __USART6_CLK_ENABLE __HAL_RCC_USART6_CLK_ENABLE
Kojto 99:dbbf35b96557 1973 #define __USART6_CLK_DISABLE __HAL_RCC_USART6_CLK_DISABLE
Kojto 99:dbbf35b96557 1974 #define __USART6_FORCE_RESET __HAL_RCC_USART6_FORCE_RESET
Kojto 99:dbbf35b96557 1975 #define __USART6_RELEASE_RESET __HAL_RCC_USART6_RELEASE_RESET
Kojto 99:dbbf35b96557 1976 #define __USART6_CLK_SLEEP_ENABLE __HAL_RCC_USART6_CLK_SLEEP_ENABLE
Kojto 99:dbbf35b96557 1977 #define __USART6_CLK_SLEEP_DISABLE __HAL_RCC_USART6_CLK_SLEEP_DISABLE
Kojto 99:dbbf35b96557 1978 #define __SPI4_CLK_ENABLE __HAL_RCC_SPI4_CLK_ENABLE
Kojto 99:dbbf35b96557 1979 #define __SPI4_CLK_DISABLE __HAL_RCC_SPI4_CLK_DISABLE
Kojto 99:dbbf35b96557 1980 #define __SPI4_FORCE_RESET __HAL_RCC_SPI4_FORCE_RESET
Kojto 99:dbbf35b96557 1981 #define __SPI4_RELEASE_RESET __HAL_RCC_SPI4_RELEASE_RESET
Kojto 99:dbbf35b96557 1982 #define __SPI4_CLK_SLEEP_ENABLE __HAL_RCC_SPI4_CLK_SLEEP_ENABLE
Kojto 99:dbbf35b96557 1983 #define __SPI4_CLK_SLEEP_DISABLE __HAL_RCC_SPI4_CLK_SLEEP_DISABLE
Kojto 99:dbbf35b96557 1984 #define __GPIOI_CLK_ENABLE __HAL_RCC_GPIOI_CLK_ENABLE
Kojto 99:dbbf35b96557 1985 #define __GPIOI_CLK_DISABLE __HAL_RCC_GPIOI_CLK_DISABLE
Kojto 99:dbbf35b96557 1986 #define __GPIOI_FORCE_RESET __HAL_RCC_GPIOI_FORCE_RESET
Kojto 99:dbbf35b96557 1987 #define __GPIOI_RELEASE_RESET __HAL_RCC_GPIOI_RELEASE_RESET
Kojto 99:dbbf35b96557 1988 #define __GPIOI_CLK_SLEEP_ENABLE __HAL_RCC_GPIOI_CLK_SLEEP_ENABLE
Kojto 99:dbbf35b96557 1989 #define __GPIOI_CLK_SLEEP_DISABLE __HAL_RCC_GPIOI_CLK_SLEEP_DISABLE
Kojto 99:dbbf35b96557 1990 #define __GPIOJ_CLK_ENABLE __HAL_RCC_GPIOJ_CLK_ENABLE
Kojto 99:dbbf35b96557 1991 #define __GPIOJ_CLK_DISABLE __HAL_RCC_GPIOJ_CLK_DISABLE
Kojto 99:dbbf35b96557 1992 #define __GPIOJ_FORCE_RESET __HAL_RCC_GPIOJ_FORCE_RESET
Kojto 99:dbbf35b96557 1993 #define __GPIOJ_RELEASE_RESET __HAL_RCC_GPIOJ_RELEASE_RESET
Kojto 99:dbbf35b96557 1994 #define __GPIOJ_CLK_SLEEP_ENABLE __HAL_RCC_GPIOJ_CLK_SLEEP_ENABLE
Kojto 99:dbbf35b96557 1995 #define __GPIOJ_CLK_SLEEP_DISABLE __HAL_RCC_GPIOJ_CLK_SLEEP_DISABLE
Kojto 99:dbbf35b96557 1996 #define __GPIOK_CLK_ENABLE __HAL_RCC_GPIOK_CLK_ENABLE
Kojto 99:dbbf35b96557 1997 #define __GPIOK_CLK_DISABLE __HAL_RCC_GPIOK_CLK_DISABLE
Kojto 99:dbbf35b96557 1998 #define __GPIOK_RELEASE_RESET __HAL_RCC_GPIOK_RELEASE_RESET
Kojto 99:dbbf35b96557 1999 #define __GPIOK_CLK_SLEEP_ENABLE __HAL_RCC_GPIOK_CLK_SLEEP_ENABLE
Kojto 99:dbbf35b96557 2000 #define __GPIOK_CLK_SLEEP_DISABLE __HAL_RCC_GPIOK_CLK_SLEEP_DISABLE
Kojto 99:dbbf35b96557 2001 #define __ETH_CLK_ENABLE __HAL_RCC_ETH_CLK_ENABLE
Kojto 99:dbbf35b96557 2002 #define __ETH_CLK_DISABLE __HAL_RCC_ETH_CLK_DISABLE
Kojto 99:dbbf35b96557 2003 #define __DCMI_CLK_ENABLE __HAL_RCC_DCMI_CLK_ENABLE
Kojto 99:dbbf35b96557 2004 #define __DCMI_CLK_DISABLE __HAL_RCC_DCMI_CLK_DISABLE
Kojto 99:dbbf35b96557 2005 #define __DCMI_FORCE_RESET __HAL_RCC_DCMI_FORCE_RESET
Kojto 99:dbbf35b96557 2006 #define __DCMI_RELEASE_RESET __HAL_RCC_DCMI_RELEASE_RESET
Kojto 99:dbbf35b96557 2007 #define __DCMI_CLK_SLEEP_ENABLE __HAL_RCC_DCMI_CLK_SLEEP_ENABLE
Kojto 99:dbbf35b96557 2008 #define __DCMI_CLK_SLEEP_DISABLE __HAL_RCC_DCMI_CLK_SLEEP_DISABLE
Kojto 99:dbbf35b96557 2009 #define __UART7_CLK_ENABLE __HAL_RCC_UART7_CLK_ENABLE
Kojto 99:dbbf35b96557 2010 #define __UART7_CLK_DISABLE __HAL_RCC_UART7_CLK_DISABLE
Kojto 99:dbbf35b96557 2011 #define __UART7_RELEASE_RESET __HAL_RCC_UART7_RELEASE_RESET
Kojto 99:dbbf35b96557 2012 #define __UART7_FORCE_RESET __HAL_RCC_UART7_FORCE_RESET
Kojto 99:dbbf35b96557 2013 #define __UART7_CLK_SLEEP_ENABLE __HAL_RCC_UART7_CLK_SLEEP_ENABLE
Kojto 99:dbbf35b96557 2014 #define __UART7_CLK_SLEEP_DISABLE __HAL_RCC_UART7_CLK_SLEEP_DISABLE
Kojto 99:dbbf35b96557 2015 #define __UART8_CLK_ENABLE __HAL_RCC_UART8_CLK_ENABLE
Kojto 99:dbbf35b96557 2016 #define __UART8_CLK_DISABLE __HAL_RCC_UART8_CLK_DISABLE
Kojto 99:dbbf35b96557 2017 #define __UART8_FORCE_RESET __HAL_RCC_UART8_FORCE_RESET
Kojto 99:dbbf35b96557 2018 #define __UART8_RELEASE_RESET __HAL_RCC_UART8_RELEASE_RESET
Kojto 99:dbbf35b96557 2019 #define __UART8_CLK_SLEEP_ENABLE __HAL_RCC_UART8_CLK_SLEEP_ENABLE
Kojto 99:dbbf35b96557 2020 #define __UART8_CLK_SLEEP_DISABLE __HAL_RCC_UART8_CLK_SLEEP_DISABLE
Kojto 99:dbbf35b96557 2021 #define __OTGHS_CLK_SLEEP_ENABLE __HAL_RCC_USB_OTG_HS_CLK_SLEEP_ENABLE
Kojto 99:dbbf35b96557 2022 #define __OTGHS_CLK_SLEEP_DISABLE __HAL_RCC_USB_OTG_HS_CLK_SLEEP_DISABLE
Kojto 99:dbbf35b96557 2023 #define __OTGHS_FORCE_RESET __HAL_RCC_USB_OTG_HS_FORCE_RESET
Kojto 99:dbbf35b96557 2024 #define __OTGHS_RELEASE_RESET __HAL_RCC_USB_OTG_HS_RELEASE_RESET
Kojto 99:dbbf35b96557 2025 #define __OTGHSULPI_CLK_SLEEP_ENABLE __HAL_RCC_USB_OTG_HS_ULPI_CLK_SLEEP_ENABLE
Kojto 99:dbbf35b96557 2026 #define __OTGHSULPI_CLK_SLEEP_DISABLE __HAL_RCC_USB_OTG_HS_ULPI_CLK_SLEEP_DISABLE
Kojto 99:dbbf35b96557 2027 #define __HAL_RCC_OTGHS_CLK_SLEEP_ENABLE __HAL_RCC_USB_OTG_HS_CLK_SLEEP_ENABLE
Kojto 99:dbbf35b96557 2028 #define __HAL_RCC_OTGHS_CLK_SLEEP_DISABLE __HAL_RCC_USB_OTG_HS_CLK_SLEEP_DISABLE
Kojto 106:ba1f97679dad 2029 #define __HAL_RCC_OTGHS_IS_CLK_SLEEP_ENABLED __HAL_RCC_USB_OTG_HS_IS_CLK_SLEEP_ENABLED
Kojto 106:ba1f97679dad 2030 #define __HAL_RCC_OTGHS_IS_CLK_SLEEP_DISABLED __HAL_RCC_USB_OTG_HS_IS_CLK_SLEEP_DISABLED
Kojto 99:dbbf35b96557 2031 #define __HAL_RCC_OTGHS_FORCE_RESET __HAL_RCC_USB_OTG_HS_FORCE_RESET
Kojto 99:dbbf35b96557 2032 #define __HAL_RCC_OTGHS_RELEASE_RESET __HAL_RCC_USB_OTG_HS_RELEASE_RESET
Kojto 110:165afa46840b 2033 #define __HAL_RCC_OTGHSULPI_CLK_SLEEP_ENABLE __HAL_RCC_USB_OTG_HS_ULPI_CLK_SLEEP_ENABLE
Kojto 110:165afa46840b 2034 #define __HAL_RCC_OTGHSULPI_CLK_SLEEP_DISABLE __HAL_RCC_USB_OTG_HS_ULPI_CLK_SLEEP_DISABLE
Kojto 110:165afa46840b 2035 #define __HAL_RCC_OTGHSULPI_IS_CLK_SLEEP_ENABLED __HAL_RCC_USB_OTG_HS_ULPI_IS_CLK_SLEEP_ENABLED
Kojto 106:ba1f97679dad 2036 #define __HAL_RCC_OTGHSULPI_IS_CLK_SLEEP_DISABLED __HAL_RCC_USB_OTG_HS_ULPI_IS_CLK_SLEEP_DISABLED
Kojto 110:165afa46840b 2037 #define __CRYP_FORCE_RESET __HAL_RCC_CRYP_FORCE_RESET
Kojto 110:165afa46840b 2038 #define __SRAM3_CLK_SLEEP_ENABLE __HAL_RCC_SRAM3_CLK_SLEEP_ENABLE
Kojto 110:165afa46840b 2039 #define __CAN2_CLK_SLEEP_ENABLE __HAL_RCC_CAN2_CLK_SLEEP_ENABLE
Kojto 110:165afa46840b 2040 #define __CAN2_CLK_SLEEP_DISABLE __HAL_RCC_CAN2_CLK_SLEEP_DISABLE
Kojto 110:165afa46840b 2041 #define __DAC_CLK_SLEEP_ENABLE __HAL_RCC_DAC_CLK_SLEEP_ENABLE
Kojto 110:165afa46840b 2042 #define __DAC_CLK_SLEEP_DISABLE __HAL_RCC_DAC_CLK_SLEEP_DISABLE
Kojto 110:165afa46840b 2043 #define __ADC2_CLK_SLEEP_ENABLE __HAL_RCC_ADC2_CLK_SLEEP_ENABLE
Kojto 110:165afa46840b 2044 #define __ADC2_CLK_SLEEP_DISABLE __HAL_RCC_ADC2_CLK_SLEEP_DISABLE
Kojto 110:165afa46840b 2045 #define __ADC3_CLK_SLEEP_ENABLE __HAL_RCC_ADC3_CLK_SLEEP_ENABLE
Kojto 110:165afa46840b 2046 #define __ADC3_CLK_SLEEP_DISABLE __HAL_RCC_ADC3_CLK_SLEEP_DISABLE
Kojto 110:165afa46840b 2047 #define __FSMC_FORCE_RESET __HAL_RCC_FSMC_FORCE_RESET
Kojto 110:165afa46840b 2048 #define __FSMC_RELEASE_RESET __HAL_RCC_FSMC_RELEASE_RESET
Kojto 110:165afa46840b 2049 #define __FSMC_CLK_SLEEP_ENABLE __HAL_RCC_FSMC_CLK_SLEEP_ENABLE
Kojto 110:165afa46840b 2050 #define __FSMC_CLK_SLEEP_DISABLE __HAL_RCC_FSMC_CLK_SLEEP_DISABLE
Kojto 110:165afa46840b 2051 #define __SDIO_FORCE_RESET __HAL_RCC_SDIO_FORCE_RESET
Kojto 110:165afa46840b 2052 #define __SDIO_RELEASE_RESET __HAL_RCC_SDIO_RELEASE_RESET
Kojto 110:165afa46840b 2053 #define __SDIO_CLK_SLEEP_DISABLE __HAL_RCC_SDIO_CLK_SLEEP_DISABLE
Kojto 110:165afa46840b 2054 #define __SDIO_CLK_SLEEP_ENABLE __HAL_RCC_SDIO_CLK_SLEEP_ENABLE
Kojto 110:165afa46840b 2055 #define __DMA2D_CLK_ENABLE __HAL_RCC_DMA2D_CLK_ENABLE
Kojto 110:165afa46840b 2056 #define __DMA2D_CLK_DISABLE __HAL_RCC_DMA2D_CLK_DISABLE
Kojto 110:165afa46840b 2057 #define __DMA2D_FORCE_RESET __HAL_RCC_DMA2D_FORCE_RESET
Kojto 99:dbbf35b96557 2058 #define __DMA2D_RELEASE_RESET __HAL_RCC_DMA2D_RELEASE_RESET
Kojto 110:165afa46840b 2059 #define __DMA2D_CLK_SLEEP_ENABLE __HAL_RCC_DMA2D_CLK_SLEEP_ENABLE
Kojto 110:165afa46840b 2060 #define __DMA2D_CLK_SLEEP_DISABLE __HAL_RCC_DMA2D_CLK_SLEEP_DISABLE
Kojto 99:dbbf35b96557 2061
Kojto 99:dbbf35b96557 2062 /* alias define maintained for legacy */
Kojto 99:dbbf35b96557 2063 #define __HAL_RCC_OTGFS_FORCE_RESET __HAL_RCC_USB_OTG_FS_FORCE_RESET
Kojto 99:dbbf35b96557 2064 #define __HAL_RCC_OTGFS_RELEASE_RESET __HAL_RCC_USB_OTG_FS_RELEASE_RESET
Kojto 99:dbbf35b96557 2065
Kojto 110:165afa46840b 2066 #define __ADC12_CLK_ENABLE __HAL_RCC_ADC12_CLK_ENABLE
Kojto 110:165afa46840b 2067 #define __ADC12_CLK_DISABLE __HAL_RCC_ADC12_CLK_DISABLE
Kojto 110:165afa46840b 2068 #define __ADC34_CLK_ENABLE __HAL_RCC_ADC34_CLK_ENABLE
Kojto 110:165afa46840b 2069 #define __ADC34_CLK_DISABLE __HAL_RCC_ADC34_CLK_DISABLE
Kojto 110:165afa46840b 2070 #define __ADC12_CLK_ENABLE __HAL_RCC_ADC12_CLK_ENABLE
Kojto 110:165afa46840b 2071 #define __ADC12_CLK_DISABLE __HAL_RCC_ADC12_CLK_DISABLE
Kojto 110:165afa46840b 2072 #define __DAC2_CLK_ENABLE __HAL_RCC_DAC2_CLK_ENABLE
Kojto 110:165afa46840b 2073 #define __DAC2_CLK_DISABLE __HAL_RCC_DAC2_CLK_DISABLE
Kojto 110:165afa46840b 2074 #define __TIM18_CLK_ENABLE __HAL_RCC_TIM18_CLK_ENABLE
Kojto 110:165afa46840b 2075 #define __TIM18_CLK_DISABLE __HAL_RCC_TIM18_CLK_DISABLE
Kojto 110:165afa46840b 2076 #define __TIM19_CLK_ENABLE __HAL_RCC_TIM19_CLK_ENABLE
Kojto 110:165afa46840b 2077 #define __TIM19_CLK_DISABLE __HAL_RCC_TIM19_CLK_DISABLE
Kojto 110:165afa46840b 2078 #define __TIM20_CLK_ENABLE __HAL_RCC_TIM20_CLK_ENABLE
Kojto 110:165afa46840b 2079 #define __TIM20_CLK_DISABLE __HAL_RCC_TIM20_CLK_DISABLE
Kojto 110:165afa46840b 2080 #define __HRTIM1_CLK_ENABLE __HAL_RCC_HRTIM1_CLK_ENABLE
Kojto 110:165afa46840b 2081 #define __HRTIM1_CLK_DISABLE __HAL_RCC_HRTIM1_CLK_DISABLE
Kojto 110:165afa46840b 2082 #define __SDADC1_CLK_ENABLE __HAL_RCC_SDADC1_CLK_ENABLE
Kojto 110:165afa46840b 2083 #define __SDADC2_CLK_ENABLE __HAL_RCC_SDADC2_CLK_ENABLE
Kojto 110:165afa46840b 2084 #define __SDADC3_CLK_ENABLE __HAL_RCC_SDADC3_CLK_ENABLE
Kojto 110:165afa46840b 2085 #define __SDADC1_CLK_DISABLE __HAL_RCC_SDADC1_CLK_DISABLE
Kojto 110:165afa46840b 2086 #define __SDADC2_CLK_DISABLE __HAL_RCC_SDADC2_CLK_DISABLE
Kojto 110:165afa46840b 2087 #define __SDADC3_CLK_DISABLE __HAL_RCC_SDADC3_CLK_DISABLE
Kojto 110:165afa46840b 2088
Kojto 110:165afa46840b 2089 #define __ADC12_FORCE_RESET __HAL_RCC_ADC12_FORCE_RESET
Kojto 110:165afa46840b 2090 #define __ADC12_RELEASE_RESET __HAL_RCC_ADC12_RELEASE_RESET
Kojto 110:165afa46840b 2091 #define __ADC34_FORCE_RESET __HAL_RCC_ADC34_FORCE_RESET
Kojto 110:165afa46840b 2092 #define __ADC34_RELEASE_RESET __HAL_RCC_ADC34_RELEASE_RESET
Kojto 110:165afa46840b 2093 #define __ADC12_FORCE_RESET __HAL_RCC_ADC12_FORCE_RESET
Kojto 110:165afa46840b 2094 #define __ADC12_RELEASE_RESET __HAL_RCC_ADC12_RELEASE_RESET
Kojto 110:165afa46840b 2095 #define __DAC2_FORCE_RESET __HAL_RCC_DAC2_FORCE_RESET
Kojto 110:165afa46840b 2096 #define __DAC2_RELEASE_RESET __HAL_RCC_DAC2_RELEASE_RESET
Kojto 110:165afa46840b 2097 #define __TIM18_FORCE_RESET __HAL_RCC_TIM18_FORCE_RESET
Kojto 110:165afa46840b 2098 #define __TIM18_RELEASE_RESET __HAL_RCC_TIM18_RELEASE_RESET
Kojto 110:165afa46840b 2099 #define __TIM19_FORCE_RESET __HAL_RCC_TIM19_FORCE_RESET
Kojto 110:165afa46840b 2100 #define __TIM19_RELEASE_RESET __HAL_RCC_TIM19_RELEASE_RESET
Kojto 110:165afa46840b 2101 #define __TIM20_FORCE_RESET __HAL_RCC_TIM20_FORCE_RESET
Kojto 110:165afa46840b 2102 #define __TIM20_RELEASE_RESET __HAL_RCC_TIM20_RELEASE_RESET
Kojto 110:165afa46840b 2103 #define __HRTIM1_FORCE_RESET __HAL_RCC_HRTIM1_FORCE_RESET
Kojto 110:165afa46840b 2104 #define __HRTIM1_RELEASE_RESET __HAL_RCC_HRTIM1_RELEASE_RESET
Kojto 110:165afa46840b 2105 #define __SDADC1_FORCE_RESET __HAL_RCC_SDADC1_FORCE_RESET
Kojto 110:165afa46840b 2106 #define __SDADC2_FORCE_RESET __HAL_RCC_SDADC2_FORCE_RESET
Kojto 110:165afa46840b 2107 #define __SDADC3_FORCE_RESET __HAL_RCC_SDADC3_FORCE_RESET
Kojto 110:165afa46840b 2108 #define __SDADC1_RELEASE_RESET __HAL_RCC_SDADC1_RELEASE_RESET
Kojto 110:165afa46840b 2109 #define __SDADC2_RELEASE_RESET __HAL_RCC_SDADC2_RELEASE_RESET
Kojto 110:165afa46840b 2110 #define __SDADC3_RELEASE_RESET __HAL_RCC_SDADC3_RELEASE_RESET
Kojto 110:165afa46840b 2111
Kojto 110:165afa46840b 2112 #define __ADC1_IS_CLK_ENABLED __HAL_RCC_ADC1_IS_CLK_ENABLED
Kojto 110:165afa46840b 2113 #define __ADC1_IS_CLK_DISABLED __HAL_RCC_ADC1_IS_CLK_DISABLED
Kojto 110:165afa46840b 2114 #define __ADC12_IS_CLK_ENABLED __HAL_RCC_ADC12_IS_CLK_ENABLED
Kojto 110:165afa46840b 2115 #define __ADC12_IS_CLK_DISABLED __HAL_RCC_ADC12_IS_CLK_DISABLED
Kojto 110:165afa46840b 2116 #define __ADC34_IS_CLK_ENABLED __HAL_RCC_ADC34_IS_CLK_ENABLED
Kojto 110:165afa46840b 2117 #define __ADC34_IS_CLK_DISABLED __HAL_RCC_ADC34_IS_CLK_DISABLED
Kojto 110:165afa46840b 2118 #define __CEC_IS_CLK_ENABLED __HAL_RCC_CEC_IS_CLK_ENABLED
Kojto 110:165afa46840b 2119 #define __CEC_IS_CLK_DISABLED __HAL_RCC_CEC_IS_CLK_DISABLED
Kojto 110:165afa46840b 2120 #define __CRC_IS_CLK_ENABLED __HAL_RCC_CRC_IS_CLK_ENABLED
Kojto 110:165afa46840b 2121 #define __CRC_IS_CLK_DISABLED __HAL_RCC_CRC_IS_CLK_DISABLED
Kojto 110:165afa46840b 2122 #define __DAC1_IS_CLK_ENABLED __HAL_RCC_DAC1_IS_CLK_ENABLED
Kojto 110:165afa46840b 2123 #define __DAC1_IS_CLK_DISABLED __HAL_RCC_DAC1_IS_CLK_DISABLED
Kojto 110:165afa46840b 2124 #define __DAC2_IS_CLK_ENABLED __HAL_RCC_DAC2_IS_CLK_ENABLED
Kojto 110:165afa46840b 2125 #define __DAC2_IS_CLK_DISABLED __HAL_RCC_DAC2_IS_CLK_DISABLED
Kojto 110:165afa46840b 2126 #define __DMA1_IS_CLK_ENABLED __HAL_RCC_DMA1_IS_CLK_ENABLED
Kojto 110:165afa46840b 2127 #define __DMA1_IS_CLK_DISABLED __HAL_RCC_DMA1_IS_CLK_DISABLED
Kojto 110:165afa46840b 2128 #define __DMA2_IS_CLK_ENABLED __HAL_RCC_DMA2_IS_CLK_ENABLED
Kojto 110:165afa46840b 2129 #define __DMA2_IS_CLK_DISABLED __HAL_RCC_DMA2_IS_CLK_DISABLED
Kojto 110:165afa46840b 2130 #define __FLITF_IS_CLK_ENABLED __HAL_RCC_FLITF_IS_CLK_ENABLED
Kojto 110:165afa46840b 2131 #define __FLITF_IS_CLK_DISABLED __HAL_RCC_FLITF_IS_CLK_DISABLED
Kojto 110:165afa46840b 2132 #define __FMC_IS_CLK_ENABLED __HAL_RCC_FMC_IS_CLK_ENABLED
Kojto 110:165afa46840b 2133 #define __FMC_IS_CLK_DISABLED __HAL_RCC_FMC_IS_CLK_DISABLED
Kojto 110:165afa46840b 2134 #define __GPIOA_IS_CLK_ENABLED __HAL_RCC_GPIOA_IS_CLK_ENABLED
Kojto 110:165afa46840b 2135 #define __GPIOA_IS_CLK_DISABLED __HAL_RCC_GPIOA_IS_CLK_DISABLED
Kojto 110:165afa46840b 2136 #define __GPIOB_IS_CLK_ENABLED __HAL_RCC_GPIOB_IS_CLK_ENABLED
Kojto 110:165afa46840b 2137 #define __GPIOB_IS_CLK_DISABLED __HAL_RCC_GPIOB_IS_CLK_DISABLED
Kojto 110:165afa46840b 2138 #define __GPIOC_IS_CLK_ENABLED __HAL_RCC_GPIOC_IS_CLK_ENABLED
Kojto 110:165afa46840b 2139 #define __GPIOC_IS_CLK_DISABLED __HAL_RCC_GPIOC_IS_CLK_DISABLED
Kojto 110:165afa46840b 2140 #define __GPIOD_IS_CLK_ENABLED __HAL_RCC_GPIOD_IS_CLK_ENABLED
Kojto 110:165afa46840b 2141 #define __GPIOD_IS_CLK_DISABLED __HAL_RCC_GPIOD_IS_CLK_DISABLED
Kojto 110:165afa46840b 2142 #define __GPIOE_IS_CLK_ENABLED __HAL_RCC_GPIOE_IS_CLK_ENABLED
Kojto 110:165afa46840b 2143 #define __GPIOE_IS_CLK_DISABLED __HAL_RCC_GPIOE_IS_CLK_DISABLED
Kojto 110:165afa46840b 2144 #define __GPIOF_IS_CLK_ENABLED __HAL_RCC_GPIOF_IS_CLK_ENABLED
Kojto 110:165afa46840b 2145 #define __GPIOF_IS_CLK_DISABLED __HAL_RCC_GPIOF_IS_CLK_DISABLED
Kojto 110:165afa46840b 2146 #define __GPIOG_IS_CLK_ENABLED __HAL_RCC_GPIOG_IS_CLK_ENABLED
Kojto 110:165afa46840b 2147 #define __GPIOG_IS_CLK_DISABLED __HAL_RCC_GPIOG_IS_CLK_DISABLED
Kojto 110:165afa46840b 2148 #define __GPIOH_IS_CLK_ENABLED __HAL_RCC_GPIOH_IS_CLK_ENABLED
Kojto 110:165afa46840b 2149 #define __GPIOH_IS_CLK_DISABLED __HAL_RCC_GPIOH_IS_CLK_DISABLED
Kojto 110:165afa46840b 2150 #define __HRTIM1_IS_CLK_ENABLED __HAL_RCC_HRTIM1_IS_CLK_ENABLED
Kojto 110:165afa46840b 2151 #define __HRTIM1_IS_CLK_DISABLED __HAL_RCC_HRTIM1_IS_CLK_DISABLED
Kojto 110:165afa46840b 2152 #define __I2C1_IS_CLK_ENABLED __HAL_RCC_I2C1_IS_CLK_ENABLED
Kojto 110:165afa46840b 2153 #define __I2C1_IS_CLK_DISABLED __HAL_RCC_I2C1_IS_CLK_DISABLED
Kojto 110:165afa46840b 2154 #define __I2C2_IS_CLK_ENABLED __HAL_RCC_I2C2_IS_CLK_ENABLED
Kojto 110:165afa46840b 2155 #define __I2C2_IS_CLK_DISABLED __HAL_RCC_I2C2_IS_CLK_DISABLED
Kojto 110:165afa46840b 2156 #define __I2C3_IS_CLK_ENABLED __HAL_RCC_I2C3_IS_CLK_ENABLED
Kojto 110:165afa46840b 2157 #define __I2C3_IS_CLK_DISABLED __HAL_RCC_I2C3_IS_CLK_DISABLED
Kojto 110:165afa46840b 2158 #define __PWR_IS_CLK_ENABLED __HAL_RCC_PWR_IS_CLK_ENABLED
Kojto 110:165afa46840b 2159 #define __PWR_IS_CLK_DISABLED __HAL_RCC_PWR_IS_CLK_DISABLED
Kojto 110:165afa46840b 2160 #define __SYSCFG_IS_CLK_ENABLED __HAL_RCC_SYSCFG_IS_CLK_ENABLED
Kojto 110:165afa46840b 2161 #define __SYSCFG_IS_CLK_DISABLED __HAL_RCC_SYSCFG_IS_CLK_DISABLED
Kojto 110:165afa46840b 2162 #define __SPI1_IS_CLK_ENABLED __HAL_RCC_SPI1_IS_CLK_ENABLED
Kojto 110:165afa46840b 2163 #define __SPI1_IS_CLK_DISABLED __HAL_RCC_SPI1_IS_CLK_DISABLED
Kojto 110:165afa46840b 2164 #define __SPI2_IS_CLK_ENABLED __HAL_RCC_SPI2_IS_CLK_ENABLED
Kojto 110:165afa46840b 2165 #define __SPI2_IS_CLK_DISABLED __HAL_RCC_SPI2_IS_CLK_DISABLED
Kojto 110:165afa46840b 2166 #define __SPI3_IS_CLK_ENABLED __HAL_RCC_SPI3_IS_CLK_ENABLED
Kojto 110:165afa46840b 2167 #define __SPI3_IS_CLK_DISABLED __HAL_RCC_SPI3_IS_CLK_DISABLED
Kojto 110:165afa46840b 2168 #define __SPI4_IS_CLK_ENABLED __HAL_RCC_SPI4_IS_CLK_ENABLED
Kojto 110:165afa46840b 2169 #define __SPI4_IS_CLK_DISABLED __HAL_RCC_SPI4_IS_CLK_DISABLED
Kojto 110:165afa46840b 2170 #define __SDADC1_IS_CLK_ENABLED __HAL_RCC_SDADC1_IS_CLK_ENABLED
Kojto 110:165afa46840b 2171 #define __SDADC1_IS_CLK_DISABLED __HAL_RCC_SDADC1_IS_CLK_DISABLED
Kojto 110:165afa46840b 2172 #define __SDADC2_IS_CLK_ENABLED __HAL_RCC_SDADC2_IS_CLK_ENABLED
Kojto 110:165afa46840b 2173 #define __SDADC2_IS_CLK_DISABLED __HAL_RCC_SDADC2_IS_CLK_DISABLED
Kojto 110:165afa46840b 2174 #define __SDADC3_IS_CLK_ENABLED __HAL_RCC_SDADC3_IS_CLK_ENABLED
Kojto 110:165afa46840b 2175 #define __SDADC3_IS_CLK_DISABLED __HAL_RCC_SDADC3_IS_CLK_DISABLED
Kojto 110:165afa46840b 2176 #define __SRAM_IS_CLK_ENABLED __HAL_RCC_SRAM_IS_CLK_ENABLED
Kojto 110:165afa46840b 2177 #define __SRAM_IS_CLK_DISABLED __HAL_RCC_SRAM_IS_CLK_DISABLED
Kojto 110:165afa46840b 2178 #define __TIM1_IS_CLK_ENABLED __HAL_RCC_TIM1_IS_CLK_ENABLED
Kojto 110:165afa46840b 2179 #define __TIM1_IS_CLK_DISABLED __HAL_RCC_TIM1_IS_CLK_DISABLED
Kojto 110:165afa46840b 2180 #define __TIM2_IS_CLK_ENABLED __HAL_RCC_TIM2_IS_CLK_ENABLED
Kojto 110:165afa46840b 2181 #define __TIM2_IS_CLK_DISABLED __HAL_RCC_TIM2_IS_CLK_DISABLED
Kojto 110:165afa46840b 2182 #define __TIM3_IS_CLK_ENABLED __HAL_RCC_TIM3_IS_CLK_ENABLED
Kojto 110:165afa46840b 2183 #define __TIM3_IS_CLK_DISABLED __HAL_RCC_TIM3_IS_CLK_DISABLED
Kojto 110:165afa46840b 2184 #define __TIM4_IS_CLK_ENABLED __HAL_RCC_TIM4_IS_CLK_ENABLED
Kojto 110:165afa46840b 2185 #define __TIM4_IS_CLK_DISABLED __HAL_RCC_TIM4_IS_CLK_DISABLED
Kojto 110:165afa46840b 2186 #define __TIM5_IS_CLK_ENABLED __HAL_RCC_TIM5_IS_CLK_ENABLED
Kojto 110:165afa46840b 2187 #define __TIM5_IS_CLK_DISABLED __HAL_RCC_TIM5_IS_CLK_DISABLED
Kojto 110:165afa46840b 2188 #define __TIM6_IS_CLK_ENABLED __HAL_RCC_TIM6_IS_CLK_ENABLED
Kojto 110:165afa46840b 2189 #define __TIM6_IS_CLK_DISABLED __HAL_RCC_TIM6_IS_CLK_DISABLED
Kojto 110:165afa46840b 2190 #define __TIM7_IS_CLK_ENABLED __HAL_RCC_TIM7_IS_CLK_ENABLED
Kojto 110:165afa46840b 2191 #define __TIM7_IS_CLK_DISABLED __HAL_RCC_TIM7_IS_CLK_DISABLED
Kojto 110:165afa46840b 2192 #define __TIM8_IS_CLK_ENABLED __HAL_RCC_TIM8_IS_CLK_ENABLED
Kojto 110:165afa46840b 2193 #define __TIM8_IS_CLK_DISABLED __HAL_RCC_TIM8_IS_CLK_DISABLED
Kojto 110:165afa46840b 2194 #define __TIM12_IS_CLK_ENABLED __HAL_RCC_TIM12_IS_CLK_ENABLED
Kojto 110:165afa46840b 2195 #define __TIM12_IS_CLK_DISABLED __HAL_RCC_TIM12_IS_CLK_DISABLED
Kojto 110:165afa46840b 2196 #define __TIM13_IS_CLK_ENABLED __HAL_RCC_TIM13_IS_CLK_ENABLED
Kojto 110:165afa46840b 2197 #define __TIM13_IS_CLK_DISABLED __HAL_RCC_TIM13_IS_CLK_DISABLED
Kojto 110:165afa46840b 2198 #define __TIM14_IS_CLK_ENABLED __HAL_RCC_TIM14_IS_CLK_ENABLED
Kojto 110:165afa46840b 2199 #define __TIM14_IS_CLK_DISABLED __HAL_RCC_TIM14_IS_CLK_DISABLED
Kojto 110:165afa46840b 2200 #define __TIM15_IS_CLK_ENABLED __HAL_RCC_TIM15_IS_CLK_ENABLED
Kojto 110:165afa46840b 2201 #define __TIM15_IS_CLK_DISABLED __HAL_RCC_TIM15_IS_CLK_DISABLED
Kojto 110:165afa46840b 2202 #define __TIM16_IS_CLK_ENABLED __HAL_RCC_TIM16_IS_CLK_ENABLED
Kojto 110:165afa46840b 2203 #define __TIM16_IS_CLK_DISABLED __HAL_RCC_TIM16_IS_CLK_DISABLED
Kojto 110:165afa46840b 2204 #define __TIM17_IS_CLK_ENABLED __HAL_RCC_TIM17_IS_CLK_ENABLED
Kojto 110:165afa46840b 2205 #define __TIM17_IS_CLK_DISABLED __HAL_RCC_TIM17_IS_CLK_DISABLED
Kojto 110:165afa46840b 2206 #define __TIM18_IS_CLK_ENABLED __HAL_RCC_TIM18_IS_CLK_ENABLED
Kojto 110:165afa46840b 2207 #define __TIM18_IS_CLK_DISABLED __HAL_RCC_TIM18_IS_CLK_DISABLED
Kojto 110:165afa46840b 2208 #define __TIM19_IS_CLK_ENABLED __HAL_RCC_TIM19_IS_CLK_ENABLED
Kojto 110:165afa46840b 2209 #define __TIM19_IS_CLK_DISABLED __HAL_RCC_TIM19_IS_CLK_DISABLED
Kojto 110:165afa46840b 2210 #define __TIM20_IS_CLK_ENABLED __HAL_RCC_TIM20_IS_CLK_ENABLED
Kojto 110:165afa46840b 2211 #define __TIM20_IS_CLK_DISABLED __HAL_RCC_TIM20_IS_CLK_DISABLED
Kojto 110:165afa46840b 2212 #define __TSC_IS_CLK_ENABLED __HAL_RCC_TSC_IS_CLK_ENABLED
Kojto 110:165afa46840b 2213 #define __TSC_IS_CLK_DISABLED __HAL_RCC_TSC_IS_CLK_DISABLED
Kojto 110:165afa46840b 2214 #define __UART4_IS_CLK_ENABLED __HAL_RCC_UART4_IS_CLK_ENABLED
Kojto 110:165afa46840b 2215 #define __UART4_IS_CLK_DISABLED __HAL_RCC_UART4_IS_CLK_DISABLED
Kojto 110:165afa46840b 2216 #define __UART5_IS_CLK_ENABLED __HAL_RCC_UART5_IS_CLK_ENABLED
Kojto 110:165afa46840b 2217 #define __UART5_IS_CLK_DISABLED __HAL_RCC_UART5_IS_CLK_DISABLED
Kojto 110:165afa46840b 2218 #define __USART1_IS_CLK_ENABLED __HAL_RCC_USART1_IS_CLK_ENABLED
Kojto 110:165afa46840b 2219 #define __USART1_IS_CLK_DISABLED __HAL_RCC_USART1_IS_CLK_DISABLED
Kojto 110:165afa46840b 2220 #define __USART2_IS_CLK_ENABLED __HAL_RCC_USART2_IS_CLK_ENABLED
Kojto 110:165afa46840b 2221 #define __USART2_IS_CLK_DISABLED __HAL_RCC_USART2_IS_CLK_DISABLED
Kojto 110:165afa46840b 2222 #define __USART3_IS_CLK_ENABLED __HAL_RCC_USART3_IS_CLK_ENABLED
Kojto 110:165afa46840b 2223 #define __USART3_IS_CLK_DISABLED __HAL_RCC_USART3_IS_CLK_DISABLED
Kojto 110:165afa46840b 2224 #define __USB_IS_CLK_ENABLED __HAL_RCC_USB_IS_CLK_ENABLED
Kojto 110:165afa46840b 2225 #define __USB_IS_CLK_DISABLED __HAL_RCC_USB_IS_CLK_DISABLED
Kojto 110:165afa46840b 2226 #define __WWDG_IS_CLK_ENABLED __HAL_RCC_WWDG_IS_CLK_ENABLED
Kojto 110:165afa46840b 2227 #define __WWDG_IS_CLK_DISABLED __HAL_RCC_WWDG_IS_CLK_DISABLED
Kojto 110:165afa46840b 2228
Kojto 106:ba1f97679dad 2229 #if defined(STM32F4)
Kojto 106:ba1f97679dad 2230 #define __HAL_RCC_SDMMC1_CLK_ENABLE __HAL_RCC_SDIO_CLK_ENABLE
Kojto 106:ba1f97679dad 2231 #define __HAL_RCC_SDMMC1_FORCE_RESET __HAL_RCC_SDIO_FORCE_RESET
Kojto 106:ba1f97679dad 2232 #define __HAL_RCC_SDMMC1_RELEASE_RESET __HAL_RCC_SDIO_RELEASE_RESET
Kojto 106:ba1f97679dad 2233 #define __HAL_RCC_SDMMC1_CLK_SLEEP_ENABLE __HAL_RCC_SDIO_CLK_SLEEP_ENABLE
Kojto 106:ba1f97679dad 2234 #define __HAL_RCC_SDMMC1_CLK_SLEEP_DISABLE __HAL_RCC_SDIO_CLK_SLEEP_DISABLE
Kojto 106:ba1f97679dad 2235 #define __HAL_RCC_SDMMC1_CLK_ENABLE __HAL_RCC_SDIO_CLK_ENABLE
Kojto 106:ba1f97679dad 2236 #define __HAL_RCC_SDMMC1_CLK_DISABLE __HAL_RCC_SDIO_CLK_DISABLE
Kojto 106:ba1f97679dad 2237 #define Sdmmc1ClockSelection SdioClockSelection
Kojto 106:ba1f97679dad 2238 #define RCC_PERIPHCLK_SDMMC1 RCC_PERIPHCLK_SDIO
Kojto 106:ba1f97679dad 2239 #define RCC_SDMMC1CLKSOURCE_CLK48 RCC_SDIOCLKSOURCE_CK48
Kojto 106:ba1f97679dad 2240 #define RCC_SDMMC1CLKSOURCE_SYSCLK RCC_SDIOCLKSOURCE_SYSCLK
Kojto 106:ba1f97679dad 2241 #define __HAL_RCC_SDMMC1_CONFIG __HAL_RCC_SDIO_CONFIG
Kojto 106:ba1f97679dad 2242 #define __HAL_RCC_GET_SDMMC1_SOURCE __HAL_RCC_GET_SDIO_SOURCE
Kojto 106:ba1f97679dad 2243 #endif
Kojto 106:ba1f97679dad 2244
Kojto 106:ba1f97679dad 2245 #if defined(STM32F7) || defined(STM32L4)
Kojto 106:ba1f97679dad 2246 #define __HAL_RCC_SDIO_CLK_ENABLE __HAL_RCC_SDMMC1_CLK_ENABLE
Kojto 106:ba1f97679dad 2247 #define __HAL_RCC_SDIO_FORCE_RESET __HAL_RCC_SDMMC1_FORCE_RESET
Kojto 106:ba1f97679dad 2248 #define __HAL_RCC_SDIO_RELEASE_RESET __HAL_RCC_SDMMC1_RELEASE_RESET
Kojto 106:ba1f97679dad 2249 #define __HAL_RCC_SDIO_CLK_SLEEP_ENABLE __HAL_RCC_SDMMC1_CLK_SLEEP_ENABLE
Kojto 106:ba1f97679dad 2250 #define __HAL_RCC_SDIO_CLK_SLEEP_DISABLE __HAL_RCC_SDMMC1_CLK_SLEEP_DISABLE
Kojto 106:ba1f97679dad 2251 #define __HAL_RCC_SDIO_CLK_ENABLE __HAL_RCC_SDMMC1_CLK_ENABLE
Kojto 106:ba1f97679dad 2252 #define __HAL_RCC_SDIO_CLK_DISABLE __HAL_RCC_SDMMC1_CLK_DISABLE
Kojto 106:ba1f97679dad 2253 #define SdioClockSelection Sdmmc1ClockSelection
Kojto 106:ba1f97679dad 2254 #define RCC_PERIPHCLK_SDIO RCC_PERIPHCLK_SDMMC1
Kojto 106:ba1f97679dad 2255 #define __HAL_RCC_SDIO_CONFIG __HAL_RCC_SDMMC1_CONFIG
Kojto 106:ba1f97679dad 2256 #define __HAL_RCC_GET_SDIO_SOURCE __HAL_RCC_GET_SDMMC1_SOURCE
Kojto 106:ba1f97679dad 2257 #endif
Kojto 106:ba1f97679dad 2258
Kojto 106:ba1f97679dad 2259 #if defined(STM32F7)
Kojto 106:ba1f97679dad 2260 #define RCC_SDIOCLKSOURCE_CK48 RCC_SDMMC1CLKSOURCE_CLK48
Kojto 106:ba1f97679dad 2261 #define RCC_SDIOCLKSOURCE_SYSCLK RCC_SDMMC1CLKSOURCE_SYSCLK
Kojto 106:ba1f97679dad 2262 #endif
Kojto 106:ba1f97679dad 2263
Kojto 99:dbbf35b96557 2264 #define __HAL_RCC_I2SCLK __HAL_RCC_I2S_CONFIG
Kojto 99:dbbf35b96557 2265 #define __HAL_RCC_I2SCLK_CONFIG __HAL_RCC_I2S_CONFIG
Kojto 99:dbbf35b96557 2266
Kojto 110:165afa46840b 2267 #define __RCC_PLLSRC RCC_GET_PLL_OSCSOURCE
Kojto 110:165afa46840b 2268
Kojto 110:165afa46840b 2269 #define IS_RCC_MSIRANGE IS_RCC_MSI_CLOCK_RANGE
Kojto 110:165afa46840b 2270 #define IS_RCC_RTCCLK_SOURCE IS_RCC_RTCCLKSOURCE
Kojto 110:165afa46840b 2271 #define IS_RCC_SYSCLK_DIV IS_RCC_HCLK
Kojto 110:165afa46840b 2272 #define IS_RCC_HCLK_DIV IS_RCC_PCLK
Kojto 110:165afa46840b 2273
Kojto 110:165afa46840b 2274 #define RCC_IT_HSI14 RCC_IT_HSI14RDY
Kojto 99:dbbf35b96557 2275
Kojto 110:165afa46840b 2276 #define IS_RCC_MCOSOURCE IS_RCC_MCO1SOURCE
Kojto 110:165afa46840b 2277 #define __HAL_RCC_MCO_CONFIG __HAL_RCC_MCO1_CONFIG
Kojto 110:165afa46840b 2278 #define RCC_MCO_NODIV RCC_MCODIV_1
Kojto 110:165afa46840b 2279 #define RCC_MCO_DIV1 RCC_MCODIV_1
Kojto 110:165afa46840b 2280 #define RCC_MCO_DIV2 RCC_MCODIV_2
Kojto 110:165afa46840b 2281 #define RCC_MCO_DIV4 RCC_MCODIV_4
Kojto 110:165afa46840b 2282 #define RCC_MCO_DIV8 RCC_MCODIV_8
Kojto 110:165afa46840b 2283 #define RCC_MCO_DIV16 RCC_MCODIV_16
Kojto 110:165afa46840b 2284 #define RCC_MCO_DIV32 RCC_MCODIV_32
Kojto 110:165afa46840b 2285 #define RCC_MCO_DIV64 RCC_MCODIV_64
Kojto 110:165afa46840b 2286 #define RCC_MCO_DIV128 RCC_MCODIV_128
Kojto 110:165afa46840b 2287 #define RCC_MCOSOURCE_NONE RCC_MCO1SOURCE_NOCLOCK
Kojto 110:165afa46840b 2288 #define RCC_MCOSOURCE_LSI RCC_MCO1SOURCE_LSI
Kojto 110:165afa46840b 2289 #define RCC_MCOSOURCE_LSE RCC_MCO1SOURCE_LSE
Kojto 110:165afa46840b 2290 #define RCC_MCOSOURCE_SYSCLK RCC_MCO1SOURCE_SYSCLK
Kojto 110:165afa46840b 2291 #define RCC_MCOSOURCE_HSI RCC_MCO1SOURCE_HSI
Kojto 110:165afa46840b 2292 #define RCC_MCOSOURCE_HSI14 RCC_MCO1SOURCE_HSI14
Kojto 110:165afa46840b 2293 #define RCC_MCOSOURCE_HSI48 RCC_MCO1SOURCE_HSI48
Kojto 110:165afa46840b 2294 #define RCC_MCOSOURCE_HSE RCC_MCO1SOURCE_HSE
Kojto 110:165afa46840b 2295 #define RCC_MCOSOURCE_PLLCLK_DIV1 RCC_MCO1SOURCE_PLLCLK
Kojto 110:165afa46840b 2296 #define RCC_MCOSOURCE_PLLCLK_NODIV RCC_MCO1SOURCE_PLLCLK
Kojto 110:165afa46840b 2297 #define RCC_MCOSOURCE_PLLCLK_DIV2 RCC_MCO1SOURCE_PLLCLK_DIV2
Kojto 99:dbbf35b96557 2298
Kojto 110:165afa46840b 2299 #define RCC_RTCCLKSOURCE_NONE RCC_RTCCLKSOURCE_NO_CLK
Kojto 110:165afa46840b 2300
Kojto 110:165afa46840b 2301 #define RCC_USBCLK_PLLSAI1 RCC_USBCLKSOURCE_PLLSAI1
Kojto 110:165afa46840b 2302 #define RCC_USBCLK_PLL RCC_USBCLKSOURCE_PLL
Kojto 110:165afa46840b 2303 #define RCC_USBCLK_MSI RCC_USBCLKSOURCE_MSI
Kojto 110:165afa46840b 2304 #define RCC_USBCLKSOURCE_PLLCLK RCC_USBCLKSOURCE_PLL
Kojto 110:165afa46840b 2305 #define RCC_USBPLLCLK_DIV1 RCC_USBCLKSOURCE_PLL
Kojto 110:165afa46840b 2306 #define RCC_USBPLLCLK_DIV1_5 RCC_USBCLKSOURCE_PLL_DIV1_5
Kojto 110:165afa46840b 2307 #define RCC_USBPLLCLK_DIV2 RCC_USBCLKSOURCE_PLL_DIV2
Kojto 110:165afa46840b 2308 #define RCC_USBPLLCLK_DIV3 RCC_USBCLKSOURCE_PLL_DIV3
Kojto 99:dbbf35b96557 2309
Kojto 99:dbbf35b96557 2310 #define HSION_BitNumber RCC_HSION_BIT_NUMBER
Kojto 110:165afa46840b 2311 #define HSION_BITNUMBER RCC_HSION_BIT_NUMBER
Kojto 110:165afa46840b 2312 #define HSEON_BitNumber RCC_HSEON_BIT_NUMBER
Kojto 110:165afa46840b 2313 #define HSEON_BITNUMBER RCC_HSEON_BIT_NUMBER
Kojto 110:165afa46840b 2314 #define MSION_BITNUMBER RCC_MSION_BIT_NUMBER
Kojto 99:dbbf35b96557 2315 #define CSSON_BitNumber RCC_CSSON_BIT_NUMBER
Kojto 110:165afa46840b 2316 #define CSSON_BITNUMBER RCC_CSSON_BIT_NUMBER
Kojto 99:dbbf35b96557 2317 #define PLLON_BitNumber RCC_PLLON_BIT_NUMBER
Kojto 110:165afa46840b 2318 #define PLLON_BITNUMBER RCC_PLLON_BIT_NUMBER
Kojto 99:dbbf35b96557 2319 #define PLLI2SON_BitNumber RCC_PLLI2SON_BIT_NUMBER
Kojto 99:dbbf35b96557 2320 #define I2SSRC_BitNumber RCC_I2SSRC_BIT_NUMBER
Kojto 99:dbbf35b96557 2321 #define RTCEN_BitNumber RCC_RTCEN_BIT_NUMBER
Kojto 110:165afa46840b 2322 #define RTCEN_BITNUMBER RCC_RTCEN_BIT_NUMBER
Kojto 99:dbbf35b96557 2323 #define BDRST_BitNumber RCC_BDRST_BIT_NUMBER
Kojto 110:165afa46840b 2324 #define BDRST_BITNUMBER RCC_BDRST_BIT_NUMBER
Kojto 110:165afa46840b 2325 #define RTCRST_BITNUMBER RCC_RTCRST_BIT_NUMBER
Kojto 99:dbbf35b96557 2326 #define LSION_BitNumber RCC_LSION_BIT_NUMBER
Kojto 110:165afa46840b 2327 #define LSION_BITNUMBER RCC_LSION_BIT_NUMBER
Kojto 110:165afa46840b 2328 #define LSEON_BitNumber RCC_LSEON_BIT_NUMBER
Kojto 110:165afa46840b 2329 #define LSEON_BITNUMBER RCC_LSEON_BIT_NUMBER
Kojto 110:165afa46840b 2330 #define LSEBYP_BITNUMBER RCC_LSEBYP_BIT_NUMBER
Kojto 99:dbbf35b96557 2331 #define PLLSAION_BitNumber RCC_PLLSAION_BIT_NUMBER
Kojto 99:dbbf35b96557 2332 #define TIMPRE_BitNumber RCC_TIMPRE_BIT_NUMBER
Kojto 110:165afa46840b 2333 #define RMVF_BitNumber RCC_RMVF_BIT_NUMBER
Kojto 110:165afa46840b 2334 #define RMVF_BITNUMBER RCC_RMVF_BIT_NUMBER
Kojto 110:165afa46840b 2335 #define RCC_CR2_HSI14TRIM_BitNumber RCC_HSI14TRIM_BIT_NUMBER
Kojto 99:dbbf35b96557 2336 #define CR_BYTE2_ADDRESS RCC_CR_BYTE2_ADDRESS
Kojto 99:dbbf35b96557 2337 #define CIR_BYTE1_ADDRESS RCC_CIR_BYTE1_ADDRESS
Kojto 99:dbbf35b96557 2338 #define CIR_BYTE2_ADDRESS RCC_CIR_BYTE2_ADDRESS
Kojto 99:dbbf35b96557 2339 #define BDCR_BYTE0_ADDRESS RCC_BDCR_BYTE0_ADDRESS
Kojto 99:dbbf35b96557 2340 #define DBP_TIMEOUT_VALUE RCC_DBP_TIMEOUT_VALUE
Kojto 99:dbbf35b96557 2341 #define LSE_TIMEOUT_VALUE RCC_LSE_TIMEOUT_VALUE
Kojto 99:dbbf35b96557 2342
Kojto 99:dbbf35b96557 2343 #define CR_HSION_BB RCC_CR_HSION_BB
Kojto 99:dbbf35b96557 2344 #define CR_CSSON_BB RCC_CR_CSSON_BB
Kojto 99:dbbf35b96557 2345 #define CR_PLLON_BB RCC_CR_PLLON_BB
Kojto 99:dbbf35b96557 2346 #define CR_PLLI2SON_BB RCC_CR_PLLI2SON_BB
Kojto 99:dbbf35b96557 2347 #define CR_MSION_BB RCC_CR_MSION_BB
Kojto 99:dbbf35b96557 2348 #define CSR_LSION_BB RCC_CSR_LSION_BB
Kojto 99:dbbf35b96557 2349 #define CSR_LSEON_BB RCC_CSR_LSEON_BB
Kojto 99:dbbf35b96557 2350 #define CSR_LSEBYP_BB RCC_CSR_LSEBYP_BB
Kojto 99:dbbf35b96557 2351 #define CSR_RTCEN_BB RCC_CSR_RTCEN_BB
Kojto 99:dbbf35b96557 2352 #define CSR_RTCRST_BB RCC_CSR_RTCRST_BB
Kojto 99:dbbf35b96557 2353 #define CFGR_I2SSRC_BB RCC_CFGR_I2SSRC_BB
Kojto 99:dbbf35b96557 2354 #define BDCR_RTCEN_BB RCC_BDCR_RTCEN_BB
Kojto 99:dbbf35b96557 2355 #define BDCR_BDRST_BB RCC_BDCR_BDRST_BB
Kojto 110:165afa46840b 2356 #define CR_HSEON_BB RCC_CR_HSEON_BB
Kojto 110:165afa46840b 2357 #define CSR_RMVF_BB RCC_CSR_RMVF_BB
Kojto 99:dbbf35b96557 2358 #define CR_PLLSAION_BB RCC_CR_PLLSAION_BB
Kojto 99:dbbf35b96557 2359 #define DCKCFGR_TIMPRE_BB RCC_DCKCFGR_TIMPRE_BB
Kojto 99:dbbf35b96557 2360
Kojto 99:dbbf35b96557 2361 /**
Kojto 99:dbbf35b96557 2362 * @}
Kojto 99:dbbf35b96557 2363 */
Kojto 99:dbbf35b96557 2364
Kojto 99:dbbf35b96557 2365 /** @defgroup HAL_RNG_Aliased_Macros HAL RNG Aliased Macros maintained for legacy purpose
Kojto 99:dbbf35b96557 2366 * @{
Kojto 99:dbbf35b96557 2367 */
Kojto 99:dbbf35b96557 2368 #define HAL_RNG_ReadyCallback(__HANDLE__) HAL_RNG_ReadyDataCallback((__HANDLE__), uint32_t random32bit)
Kojto 99:dbbf35b96557 2369
Kojto 99:dbbf35b96557 2370 /**
Kojto 99:dbbf35b96557 2371 * @}
Kojto 99:dbbf35b96557 2372 */
Kojto 99:dbbf35b96557 2373
Kojto 99:dbbf35b96557 2374 /** @defgroup HAL_RTC_Aliased_Macros HAL RTC Aliased Macros maintained for legacy purpose
Kojto 99:dbbf35b96557 2375 * @{
Kojto 99:dbbf35b96557 2376 */
Kojto 99:dbbf35b96557 2377
Kojto 99:dbbf35b96557 2378 #define __HAL_RTC_CLEAR_FLAG __HAL_RTC_EXTI_CLEAR_FLAG
Kojto 99:dbbf35b96557 2379 #define __HAL_RTC_DISABLE_IT __HAL_RTC_EXTI_DISABLE_IT
Kojto 99:dbbf35b96557 2380 #define __HAL_RTC_ENABLE_IT __HAL_RTC_EXTI_ENABLE_IT
Kojto 106:ba1f97679dad 2381
Kojto 99:dbbf35b96557 2382 #if defined (STM32F1)
Kojto 99:dbbf35b96557 2383 #define __HAL_RTC_EXTI_CLEAR_FLAG(RTC_EXTI_LINE_ALARM_EVENT) __HAL_RTC_ALARM_EXTI_CLEAR_FLAG()
Kojto 99:dbbf35b96557 2384
Kojto 99:dbbf35b96557 2385 #define __HAL_RTC_EXTI_ENABLE_IT(RTC_EXTI_LINE_ALARM_EVENT) __HAL_RTC_ALARM_EXTI_ENABLE_IT()
Kojto 99:dbbf35b96557 2386
Kojto 99:dbbf35b96557 2387 #define __HAL_RTC_EXTI_DISABLE_IT(RTC_EXTI_LINE_ALARM_EVENT) __HAL_RTC_ALARM_EXTI_DISABLE_IT()
Kojto 99:dbbf35b96557 2388
Kojto 99:dbbf35b96557 2389 #define __HAL_RTC_EXTI_GET_FLAG(RTC_EXTI_LINE_ALARM_EVENT) __HAL_RTC_ALARM_EXTI_GET_FLAG()
Kojto 99:dbbf35b96557 2390
Kojto 99:dbbf35b96557 2391 #define __HAL_RTC_EXTI_GENERATE_SWIT(RTC_EXTI_LINE_ALARM_EVENT) __HAL_RTC_ALARM_EXTI_GENERATE_SWIT()
Kojto 99:dbbf35b96557 2392 #else
Kojto 99:dbbf35b96557 2393 #define __HAL_RTC_EXTI_CLEAR_FLAG(__EXTI_LINE__) (((__EXTI_LINE__) == RTC_EXTI_LINE_ALARM_EVENT) ? __HAL_RTC_ALARM_EXTI_CLEAR_FLAG() : \
Kojto 99:dbbf35b96557 2394 (((__EXTI_LINE__) == RTC_EXTI_LINE_WAKEUPTIMER_EVENT) ? __HAL_RTC_WAKEUPTIMER_EXTI_CLEAR_FLAG() : \
Kojto 99:dbbf35b96557 2395 __HAL_RTC_TAMPER_TIMESTAMP_EXTI_CLEAR_FLAG()))
Kojto 99:dbbf35b96557 2396 #define __HAL_RTC_EXTI_ENABLE_IT(__EXTI_LINE__) (((__EXTI_LINE__) == RTC_EXTI_LINE_ALARM_EVENT) ? __HAL_RTC_ALARM_EXTI_ENABLE_IT() : \
Kojto 99:dbbf35b96557 2397 (((__EXTI_LINE__) == RTC_EXTI_LINE_WAKEUPTIMER_EVENT) ? __HAL_RTC_WAKEUPTIMER_EXTI_ENABLE_IT() : \
Kojto 99:dbbf35b96557 2398 __HAL_RTC_TAMPER_TIMESTAMP_EXTI_ENABLE_IT()))
Kojto 99:dbbf35b96557 2399 #define __HAL_RTC_EXTI_DISABLE_IT(__EXTI_LINE__) (((__EXTI_LINE__) == RTC_EXTI_LINE_ALARM_EVENT) ? __HAL_RTC_ALARM_EXTI_DISABLE_IT() : \
Kojto 99:dbbf35b96557 2400 (((__EXTI_LINE__) == RTC_EXTI_LINE_WAKEUPTIMER_EVENT) ? __HAL_RTC_WAKEUPTIMER_EXTI_DISABLE_IT() : \
Kojto 99:dbbf35b96557 2401 __HAL_RTC_TAMPER_TIMESTAMP_EXTI_DISABLE_IT()))
Kojto 99:dbbf35b96557 2402 #define __HAL_RTC_EXTI_GET_FLAG(__EXTI_LINE__) (((__EXTI_LINE__) == RTC_EXTI_LINE_ALARM_EVENT) ? __HAL_RTC_ALARM_EXTI_GET_FLAG() : \
Kojto 99:dbbf35b96557 2403 (((__EXTI_LINE__) == RTC_EXTI_LINE_WAKEUPTIMER_EVENT) ? __HAL_RTC_WAKEUPTIMER_EXTI_GET_FLAG() : \
Kojto 99:dbbf35b96557 2404 __HAL_RTC_TAMPER_TIMESTAMP_EXTI_GET_FLAG()))
Kojto 99:dbbf35b96557 2405 #define __HAL_RTC_EXTI_GENERATE_SWIT(__EXTI_LINE__) (((__EXTI_LINE__) == RTC_EXTI_LINE_ALARM_EVENT) ? __HAL_RTC_ALARM_EXTI_GENERATE_SWIT() : \
Kojto 99:dbbf35b96557 2406 (((__EXTI_LINE__) == RTC_EXTI_LINE_WAKEUPTIMER_EVENT) ? __HAL_RTC_WAKEUPTIMER_EXTI_GENERATE_SWIT() : \
Kojto 99:dbbf35b96557 2407 __HAL_RTC_TAMPER_TIMESTAMP_EXTI_GENERATE_SWIT()))
Kojto 99:dbbf35b96557 2408 #endif /* STM32F1 */
Kojto 99:dbbf35b96557 2409
Kojto 99:dbbf35b96557 2410 #define IS_ALARM IS_RTC_ALARM
Kojto 99:dbbf35b96557 2411 #define IS_ALARM_MASK IS_RTC_ALARM_MASK
Kojto 99:dbbf35b96557 2412 #define IS_TAMPER IS_RTC_TAMPER
Kojto 99:dbbf35b96557 2413 #define IS_TAMPER_ERASE_MODE IS_RTC_TAMPER_ERASE_MODE
Kojto 99:dbbf35b96557 2414 #define IS_TAMPER_FILTER IS_RTC_TAMPER_FILTER
Kojto 99:dbbf35b96557 2415 #define IS_TAMPER_INTERRUPT IS_RTC_TAMPER_INTERRUPT
Kojto 99:dbbf35b96557 2416 #define IS_TAMPER_MASKFLAG_STATE IS_RTC_TAMPER_MASKFLAG_STATE
Kojto 99:dbbf35b96557 2417 #define IS_TAMPER_PRECHARGE_DURATION IS_RTC_TAMPER_PRECHARGE_DURATION
Kojto 99:dbbf35b96557 2418 #define IS_TAMPER_PULLUP_STATE IS_RTC_TAMPER_PULLUP_STATE
Kojto 99:dbbf35b96557 2419 #define IS_TAMPER_SAMPLING_FREQ IS_RTC_TAMPER_SAMPLING_FREQ
Kojto 99:dbbf35b96557 2420 #define IS_TAMPER_TIMESTAMPONTAMPER_DETECTION IS_RTC_TAMPER_TIMESTAMPONTAMPER_DETECTION
Kojto 99:dbbf35b96557 2421 #define IS_TAMPER_TRIGGER IS_RTC_TAMPER_TRIGGER
Kojto 99:dbbf35b96557 2422 #define IS_WAKEUP_CLOCK IS_RTC_WAKEUP_CLOCK
Kojto 99:dbbf35b96557 2423 #define IS_WAKEUP_COUNTER IS_RTC_WAKEUP_COUNTER
Kojto 99:dbbf35b96557 2424
Kojto 99:dbbf35b96557 2425 #define __RTC_WRITEPROTECTION_ENABLE __HAL_RTC_WRITEPROTECTION_ENABLE
Kojto 99:dbbf35b96557 2426 #define __RTC_WRITEPROTECTION_DISABLE __HAL_RTC_WRITEPROTECTION_DISABLE
Kojto 99:dbbf35b96557 2427
Kojto 99:dbbf35b96557 2428 /**
Kojto 99:dbbf35b96557 2429 * @}
Kojto 99:dbbf35b96557 2430 */
Kojto 99:dbbf35b96557 2431
Kojto 99:dbbf35b96557 2432 /** @defgroup HAL_SD_Aliased_Macros HAL SD Aliased Macros maintained for legacy purpose
Kojto 99:dbbf35b96557 2433 * @{
Kojto 99:dbbf35b96557 2434 */
Kojto 99:dbbf35b96557 2435
Kojto 99:dbbf35b96557 2436 #define SD_OCR_CID_CSD_OVERWRIETE SD_OCR_CID_CSD_OVERWRITE
Kojto 99:dbbf35b96557 2437 #define SD_CMD_SD_APP_STAUS SD_CMD_SD_APP_STATUS
Kojto 106:ba1f97679dad 2438
Kojto 106:ba1f97679dad 2439 #if defined(STM32F4)
Kojto 106:ba1f97679dad 2440 #define SD_SDMMC_DISABLED SD_SDIO_DISABLED
Kojto 106:ba1f97679dad 2441 #define SD_SDMMC_FUNCTION_BUSY SD_SDIO_FUNCTION_BUSY
Kojto 106:ba1f97679dad 2442 #define SD_SDMMC_FUNCTION_FAILED SD_SDIO_FUNCTION_FAILED
Kojto 106:ba1f97679dad 2443 #define SD_SDMMC_UNKNOWN_FUNCTION SD_SDIO_UNKNOWN_FUNCTION
Kojto 106:ba1f97679dad 2444 #define SD_CMD_SDMMC_SEN_OP_COND SD_CMD_SDIO_SEN_OP_COND
Kojto 106:ba1f97679dad 2445 #define SD_CMD_SDMMC_RW_DIRECT SD_CMD_SDIO_RW_DIRECT
Kojto 106:ba1f97679dad 2446 #define SD_CMD_SDMMC_RW_EXTENDED SD_CMD_SDIO_RW_EXTENDED
Kojto 106:ba1f97679dad 2447 #define __HAL_SD_SDMMC_ENABLE __HAL_SD_SDIO_ENABLE
Kojto 106:ba1f97679dad 2448 #define __HAL_SD_SDMMC_DISABLE __HAL_SD_SDIO_DISABLE
Kojto 106:ba1f97679dad 2449 #define __HAL_SD_SDMMC_DMA_ENABLE __HAL_SD_SDIO_DMA_ENABLE
Kojto 106:ba1f97679dad 2450 #define __HAL_SD_SDMMC_DMA_DISABLE __HAL_SD_SDIO_DMA_DISABL
Kojto 106:ba1f97679dad 2451 #define __HAL_SD_SDMMC_ENABLE_IT __HAL_SD_SDIO_ENABLE_IT
Kojto 106:ba1f97679dad 2452 #define __HAL_SD_SDMMC_DISABLE_IT __HAL_SD_SDIO_DISABLE_IT
Kojto 106:ba1f97679dad 2453 #define __HAL_SD_SDMMC_GET_FLAG __HAL_SD_SDIO_GET_FLAG
Kojto 106:ba1f97679dad 2454 #define __HAL_SD_SDMMC_CLEAR_FLAG __HAL_SD_SDIO_CLEAR_FLAG
Kojto 106:ba1f97679dad 2455 #define __HAL_SD_SDMMC_GET_IT __HAL_SD_SDIO_GET_IT
Kojto 106:ba1f97679dad 2456 #define __HAL_SD_SDMMC_CLEAR_IT __HAL_SD_SDIO_CLEAR_IT
Kojto 106:ba1f97679dad 2457 #define SDMMC_STATIC_FLAGS SDIO_STATIC_FLAGS
Kojto 106:ba1f97679dad 2458 #define SDMMC_CMD0TIMEOUT SDIO_CMD0TIMEOUT
Kojto 106:ba1f97679dad 2459 #define SD_SDMMC_SEND_IF_COND SD_SDIO_SEND_IF_COND
Kojto 106:ba1f97679dad 2460 /* alias CMSIS */
Kojto 106:ba1f97679dad 2461 #define SDMMC1_IRQn SDIO_IRQn
Kojto 106:ba1f97679dad 2462 #define SDMMC1_IRQHandler SDIO_IRQHandler
Kojto 106:ba1f97679dad 2463 #endif
Kojto 106:ba1f97679dad 2464
Kojto 106:ba1f97679dad 2465 #if defined(STM32F7) || defined(STM32L4)
Kojto 106:ba1f97679dad 2466 #define SD_SDIO_DISABLED SD_SDMMC_DISABLED
Kojto 106:ba1f97679dad 2467 #define SD_SDIO_FUNCTION_BUSY SD_SDMMC_FUNCTION_BUSY
Kojto 106:ba1f97679dad 2468 #define SD_SDIO_FUNCTION_FAILED SD_SDMMC_FUNCTION_FAILED
Kojto 106:ba1f97679dad 2469 #define SD_SDIO_UNKNOWN_FUNCTION SD_SDMMC_UNKNOWN_FUNCTION
Kojto 106:ba1f97679dad 2470 #define SD_CMD_SDIO_SEN_OP_COND SD_CMD_SDMMC_SEN_OP_COND
Kojto 106:ba1f97679dad 2471 #define SD_CMD_SDIO_RW_DIRECT SD_CMD_SDMMC_RW_DIRECT
Kojto 106:ba1f97679dad 2472 #define SD_CMD_SDIO_RW_EXTENDED SD_CMD_SDMMC_RW_EXTENDED
Kojto 106:ba1f97679dad 2473 #define __HAL_SD_SDIO_ENABLE __HAL_SD_SDMMC_ENABLE
Kojto 106:ba1f97679dad 2474 #define __HAL_SD_SDIO_DISABLE __HAL_SD_SDMMC_DISABLE
Kojto 106:ba1f97679dad 2475 #define __HAL_SD_SDIO_DMA_ENABLE __HAL_SD_SDMMC_DMA_ENABLE
Kojto 106:ba1f97679dad 2476 #define __HAL_SD_SDIO_DMA_DISABL __HAL_SD_SDMMC_DMA_DISABLE
Kojto 106:ba1f97679dad 2477 #define __HAL_SD_SDIO_ENABLE_IT __HAL_SD_SDMMC_ENABLE_IT
Kojto 106:ba1f97679dad 2478 #define __HAL_SD_SDIO_DISABLE_IT __HAL_SD_SDMMC_DISABLE_IT
Kojto 106:ba1f97679dad 2479 #define __HAL_SD_SDIO_GET_FLAG __HAL_SD_SDMMC_GET_FLAG
Kojto 106:ba1f97679dad 2480 #define __HAL_SD_SDIO_CLEAR_FLAG __HAL_SD_SDMMC_CLEAR_FLAG
Kojto 106:ba1f97679dad 2481 #define __HAL_SD_SDIO_GET_IT __HAL_SD_SDMMC_GET_IT
Kojto 106:ba1f97679dad 2482 #define __HAL_SD_SDIO_CLEAR_IT __HAL_SD_SDMMC_CLEAR_IT
Kojto 106:ba1f97679dad 2483 #define SDIO_STATIC_FLAGS SDMMC_STATIC_FLAGS
Kojto 106:ba1f97679dad 2484 #define SDIO_CMD0TIMEOUT SDMMC_CMD0TIMEOUT
Kojto 106:ba1f97679dad 2485 #define SD_SDIO_SEND_IF_COND SD_SDMMC_SEND_IF_COND
Kojto 106:ba1f97679dad 2486 /* alias CMSIS for compatibilities */
Kojto 106:ba1f97679dad 2487 #define SDIO_IRQn SDMMC1_IRQn
Kojto 106:ba1f97679dad 2488 #define SDIO_IRQHandler SDMMC1_IRQHandler
Kojto 106:ba1f97679dad 2489 #endif
Kojto 99:dbbf35b96557 2490 /**
Kojto 99:dbbf35b96557 2491 * @}
Kojto 99:dbbf35b96557 2492 */
Kojto 99:dbbf35b96557 2493
Kojto 99:dbbf35b96557 2494 /** @defgroup HAL_SMARTCARD_Aliased_Macros HAL SMARTCARD Aliased Macros maintained for legacy purpose
Kojto 99:dbbf35b96557 2495 * @{
Kojto 99:dbbf35b96557 2496 */
Kojto 99:dbbf35b96557 2497
Kojto 99:dbbf35b96557 2498 #define __SMARTCARD_ENABLE_IT __HAL_SMARTCARD_ENABLE_IT
Kojto 99:dbbf35b96557 2499 #define __SMARTCARD_DISABLE_IT __HAL_SMARTCARD_DISABLE_IT
Kojto 99:dbbf35b96557 2500 #define __SMARTCARD_ENABLE __HAL_SMARTCARD_ENABLE
Kojto 99:dbbf35b96557 2501 #define __SMARTCARD_DISABLE __HAL_SMARTCARD_DISABLE
Kojto 99:dbbf35b96557 2502 #define __SMARTCARD_DMA_REQUEST_ENABLE __HAL_SMARTCARD_DMA_REQUEST_ENABLE
Kojto 99:dbbf35b96557 2503 #define __SMARTCARD_DMA_REQUEST_DISABLE __HAL_SMARTCARD_DMA_REQUEST_DISABLE
Kojto 99:dbbf35b96557 2504
Kojto 99:dbbf35b96557 2505 #define __HAL_SMARTCARD_GETCLOCKSOURCE SMARTCARD_GETCLOCKSOURCE
Kojto 99:dbbf35b96557 2506 #define __SMARTCARD_GETCLOCKSOURCE SMARTCARD_GETCLOCKSOURCE
Kojto 99:dbbf35b96557 2507
Kojto 106:ba1f97679dad 2508 #define IS_SMARTCARD_ONEBIT_SAMPLING IS_SMARTCARD_ONE_BIT_SAMPLE
Kojto 99:dbbf35b96557 2509
Kojto 99:dbbf35b96557 2510 /**
Kojto 99:dbbf35b96557 2511 * @}
Kojto 99:dbbf35b96557 2512 */
Kojto 99:dbbf35b96557 2513
Kojto 99:dbbf35b96557 2514 /** @defgroup HAL_SMBUS_Aliased_Macros HAL SMBUS Aliased Macros maintained for legacy purpose
Kojto 99:dbbf35b96557 2515 * @{
Kojto 99:dbbf35b96557 2516 */
Kojto 99:dbbf35b96557 2517 #define __HAL_SMBUS_RESET_CR1 SMBUS_RESET_CR1
Kojto 99:dbbf35b96557 2518 #define __HAL_SMBUS_RESET_CR2 SMBUS_RESET_CR2
Kojto 99:dbbf35b96557 2519 #define __HAL_SMBUS_GENERATE_START SMBUS_GENERATE_START
Kojto 99:dbbf35b96557 2520 #define __HAL_SMBUS_GET_ADDR_MATCH SMBUS_GET_ADDR_MATCH
Kojto 99:dbbf35b96557 2521 #define __HAL_SMBUS_GET_DIR SMBUS_GET_DIR
Kojto 99:dbbf35b96557 2522 #define __HAL_SMBUS_GET_STOP_MODE SMBUS_GET_STOP_MODE
Kojto 99:dbbf35b96557 2523 #define __HAL_SMBUS_GET_PEC_MODE SMBUS_GET_PEC_MODE
Kojto 99:dbbf35b96557 2524 #define __HAL_SMBUS_GET_ALERT_ENABLED SMBUS_GET_ALERT_ENABLED
Kojto 99:dbbf35b96557 2525 /**
Kojto 99:dbbf35b96557 2526 * @}
Kojto 99:dbbf35b96557 2527 */
Kojto 99:dbbf35b96557 2528
Kojto 99:dbbf35b96557 2529 /** @defgroup HAL_SPI_Aliased_Macros HAL SPI Aliased Macros maintained for legacy purpose
Kojto 99:dbbf35b96557 2530 * @{
Kojto 99:dbbf35b96557 2531 */
Kojto 99:dbbf35b96557 2532
Kojto 99:dbbf35b96557 2533 #define __HAL_SPI_1LINE_TX SPI_1LINE_TX
Kojto 99:dbbf35b96557 2534 #define __HAL_SPI_1LINE_RX SPI_1LINE_RX
Kojto 99:dbbf35b96557 2535 #define __HAL_SPI_RESET_CRC SPI_RESET_CRC
Kojto 99:dbbf35b96557 2536
Kojto 99:dbbf35b96557 2537 /**
Kojto 99:dbbf35b96557 2538 * @}
Kojto 99:dbbf35b96557 2539 */
Kojto 99:dbbf35b96557 2540
Kojto 99:dbbf35b96557 2541 /** @defgroup HAL_UART_Aliased_Macros HAL UART Aliased Macros maintained for legacy purpose
Kojto 99:dbbf35b96557 2542 * @{
Kojto 99:dbbf35b96557 2543 */
Kojto 99:dbbf35b96557 2544
Kojto 99:dbbf35b96557 2545 #define __HAL_UART_GETCLOCKSOURCE UART_GETCLOCKSOURCE
Kojto 99:dbbf35b96557 2546 #define __HAL_UART_MASK_COMPUTATION UART_MASK_COMPUTATION
Kojto 99:dbbf35b96557 2547 #define __UART_GETCLOCKSOURCE UART_GETCLOCKSOURCE
Kojto 99:dbbf35b96557 2548 #define __UART_MASK_COMPUTATION UART_MASK_COMPUTATION
Kojto 99:dbbf35b96557 2549
Kojto 99:dbbf35b96557 2550 #define IS_UART_WAKEUPMETHODE IS_UART_WAKEUPMETHOD
Kojto 99:dbbf35b96557 2551
Kojto 99:dbbf35b96557 2552 #define IS_UART_ONEBIT_SAMPLE IS_UART_ONE_BIT_SAMPLE
Kojto 99:dbbf35b96557 2553 #define IS_UART_ONEBIT_SAMPLING IS_UART_ONE_BIT_SAMPLE
Kojto 99:dbbf35b96557 2554
Kojto 99:dbbf35b96557 2555 /**
Kojto 99:dbbf35b96557 2556 * @}
Kojto 99:dbbf35b96557 2557 */
Kojto 99:dbbf35b96557 2558
Kojto 99:dbbf35b96557 2559
Kojto 99:dbbf35b96557 2560 /** @defgroup HAL_USART_Aliased_Macros HAL USART Aliased Macros maintained for legacy purpose
Kojto 99:dbbf35b96557 2561 * @{
Kojto 99:dbbf35b96557 2562 */
Kojto 99:dbbf35b96557 2563
Kojto 99:dbbf35b96557 2564 #define __USART_ENABLE_IT __HAL_USART_ENABLE_IT
Kojto 99:dbbf35b96557 2565 #define __USART_DISABLE_IT __HAL_USART_DISABLE_IT
Kojto 99:dbbf35b96557 2566 #define __USART_ENABLE __HAL_USART_ENABLE
Kojto 99:dbbf35b96557 2567 #define __USART_DISABLE __HAL_USART_DISABLE
Kojto 99:dbbf35b96557 2568
Kojto 99:dbbf35b96557 2569 #define __HAL_USART_GETCLOCKSOURCE USART_GETCLOCKSOURCE
Kojto 99:dbbf35b96557 2570 #define __USART_GETCLOCKSOURCE USART_GETCLOCKSOURCE
Kojto 99:dbbf35b96557 2571
Kojto 99:dbbf35b96557 2572 /**
Kojto 99:dbbf35b96557 2573 * @}
Kojto 99:dbbf35b96557 2574 */
Kojto 99:dbbf35b96557 2575
Kojto 99:dbbf35b96557 2576 /** @defgroup HAL_USB_Aliased_Macros HAL USB Aliased Macros maintained for legacy purpose
Kojto 99:dbbf35b96557 2577 * @{
Kojto 99:dbbf35b96557 2578 */
Kojto 99:dbbf35b96557 2579 #define USB_EXTI_LINE_WAKEUP USB_WAKEUP_EXTI_LINE
Kojto 99:dbbf35b96557 2580
Kojto 99:dbbf35b96557 2581 #define USB_FS_EXTI_TRIGGER_RISING_EDGE USB_OTG_FS_WAKEUP_EXTI_RISING_EDGE
Kojto 99:dbbf35b96557 2582 #define USB_FS_EXTI_TRIGGER_FALLING_EDGE USB_OTG_FS_WAKEUP_EXTI_FALLING_EDGE
Kojto 99:dbbf35b96557 2583 #define USB_FS_EXTI_TRIGGER_BOTH_EDGE USB_OTG_FS_WAKEUP_EXTI_RISING_FALLING_EDGE
Kojto 99:dbbf35b96557 2584 #define USB_FS_EXTI_LINE_WAKEUP USB_OTG_FS_WAKEUP_EXTI_LINE
Kojto 99:dbbf35b96557 2585
Kojto 99:dbbf35b96557 2586 #define USB_HS_EXTI_TRIGGER_RISING_EDGE USB_OTG_HS_WAKEUP_EXTI_RISING_EDGE
Kojto 99:dbbf35b96557 2587 #define USB_HS_EXTI_TRIGGER_FALLING_EDGE USB_OTG_HS_WAKEUP_EXTI_FALLING_EDGE
Kojto 99:dbbf35b96557 2588 #define USB_HS_EXTI_TRIGGER_BOTH_EDGE USB_OTG_HS_WAKEUP_EXTI_RISING_FALLING_EDGE
Kojto 99:dbbf35b96557 2589 #define USB_HS_EXTI_LINE_WAKEUP USB_OTG_HS_WAKEUP_EXTI_LINE
Kojto 99:dbbf35b96557 2590
Kojto 99:dbbf35b96557 2591 #define __HAL_USB_EXTI_ENABLE_IT __HAL_USB_WAKEUP_EXTI_ENABLE_IT
Kojto 99:dbbf35b96557 2592 #define __HAL_USB_EXTI_DISABLE_IT __HAL_USB_WAKEUP_EXTI_DISABLE_IT
Kojto 99:dbbf35b96557 2593 #define __HAL_USB_EXTI_GET_FLAG __HAL_USB_WAKEUP_EXTI_GET_FLAG
Kojto 99:dbbf35b96557 2594 #define __HAL_USB_EXTI_CLEAR_FLAG __HAL_USB_WAKEUP_EXTI_CLEAR_FLAG
Kojto 99:dbbf35b96557 2595 #define __HAL_USB_EXTI_SET_RISING_EDGE_TRIGGER __HAL_USB_WAKEUP_EXTI_ENABLE_RISING_EDGE
Kojto 99:dbbf35b96557 2596 #define __HAL_USB_EXTI_SET_FALLING_EDGE_TRIGGER __HAL_USB_WAKEUP_EXTI_ENABLE_FALLING_EDGE
Kojto 99:dbbf35b96557 2597 #define __HAL_USB_EXTI_SET_FALLINGRISING_TRIGGER __HAL_USB_WAKEUP_EXTI_ENABLE_RISING_FALLING_EDGE
Kojto 99:dbbf35b96557 2598
Kojto 99:dbbf35b96557 2599 #define __HAL_USB_FS_EXTI_ENABLE_IT __HAL_USB_OTG_FS_WAKEUP_EXTI_ENABLE_IT
Kojto 99:dbbf35b96557 2600 #define __HAL_USB_FS_EXTI_DISABLE_IT __HAL_USB_OTG_FS_WAKEUP_EXTI_DISABLE_IT
Kojto 99:dbbf35b96557 2601 #define __HAL_USB_FS_EXTI_GET_FLAG __HAL_USB_OTG_FS_WAKEUP_EXTI_GET_FLAG
Kojto 99:dbbf35b96557 2602 #define __HAL_USB_FS_EXTI_CLEAR_FLAG __HAL_USB_OTG_FS_WAKEUP_EXTI_CLEAR_FLAG
Kojto 99:dbbf35b96557 2603 #define __HAL_USB_FS_EXTI_SET_RISING_EGDE_TRIGGER __HAL_USB_OTG_FS_WAKEUP_EXTI_ENABLE_RISING_EDGE
Kojto 99:dbbf35b96557 2604 #define __HAL_USB_FS_EXTI_SET_FALLING_EGDE_TRIGGER __HAL_USB_OTG_FS_WAKEUP_EXTI_ENABLE_FALLING_EDGE
Kojto 99:dbbf35b96557 2605 #define __HAL_USB_FS_EXTI_SET_FALLINGRISING_TRIGGER __HAL_USB_OTG_FS_WAKEUP_EXTI_ENABLE_RISING_FALLING_EDGE
Kojto 99:dbbf35b96557 2606 #define __HAL_USB_FS_EXTI_GENERATE_SWIT __HAL_USB_OTG_FS_WAKEUP_EXTI_GENERATE_SWIT
Kojto 99:dbbf35b96557 2607
Kojto 99:dbbf35b96557 2608 #define __HAL_USB_HS_EXTI_ENABLE_IT __HAL_USB_OTG_HS_WAKEUP_EXTI_ENABLE_IT
Kojto 99:dbbf35b96557 2609 #define __HAL_USB_HS_EXTI_DISABLE_IT __HAL_USB_OTG_HS_WAKEUP_EXTI_DISABLE_IT
Kojto 99:dbbf35b96557 2610 #define __HAL_USB_HS_EXTI_GET_FLAG __HAL_USB_OTG_HS_WAKEUP_EXTI_GET_FLAG
Kojto 99:dbbf35b96557 2611 #define __HAL_USB_HS_EXTI_CLEAR_FLAG __HAL_USB_OTG_HS_WAKEUP_EXTI_CLEAR_FLAG
Kojto 99:dbbf35b96557 2612 #define __HAL_USB_HS_EXTI_SET_RISING_EGDE_TRIGGER __HAL_USB_OTG_HS_WAKEUP_EXTI_ENABLE_RISING_EDGE
Kojto 99:dbbf35b96557 2613 #define __HAL_USB_HS_EXTI_SET_FALLING_EGDE_TRIGGER __HAL_USB_OTG_HS_WAKEUP_EXTI_ENABLE_FALLING_EDGE
Kojto 99:dbbf35b96557 2614 #define __HAL_USB_HS_EXTI_SET_FALLINGRISING_TRIGGER __HAL_USB_OTG_HS_WAKEUP_EXTI_ENABLE_RISING_FALLING_EDGE
Kojto 99:dbbf35b96557 2615 #define __HAL_USB_HS_EXTI_GENERATE_SWIT __HAL_USB_OTG_HS_WAKEUP_EXTI_GENERATE_SWIT
Kojto 99:dbbf35b96557 2616
Kojto 99:dbbf35b96557 2617 #define HAL_PCD_ActiveRemoteWakeup HAL_PCD_ActivateRemoteWakeup
Kojto 99:dbbf35b96557 2618 #define HAL_PCD_DeActiveRemoteWakeup HAL_PCD_DeActivateRemoteWakeup
Kojto 99:dbbf35b96557 2619
Kojto 99:dbbf35b96557 2620 #define HAL_PCD_SetTxFiFo HAL_PCDEx_SetTxFiFo
Kojto 99:dbbf35b96557 2621 #define HAL_PCD_SetRxFiFo HAL_PCDEx_SetRxFiFo
Kojto 99:dbbf35b96557 2622 /**
Kojto 99:dbbf35b96557 2623 * @}
Kojto 99:dbbf35b96557 2624 */
Kojto 99:dbbf35b96557 2625
Kojto 99:dbbf35b96557 2626 /** @defgroup HAL_TIM_Aliased_Macros HAL TIM Aliased Macros maintained for legacy purpose
Kojto 99:dbbf35b96557 2627 * @{
Kojto 99:dbbf35b96557 2628 */
Kojto 99:dbbf35b96557 2629 #define __HAL_TIM_SetICPrescalerValue TIM_SET_ICPRESCALERVALUE
Kojto 99:dbbf35b96557 2630 #define __HAL_TIM_ResetICPrescalerValue TIM_RESET_ICPRESCALERVALUE
Kojto 99:dbbf35b96557 2631
Kojto 99:dbbf35b96557 2632 #define TIM_GET_ITSTATUS __HAL_TIM_GET_IT_SOURCE
Kojto 99:dbbf35b96557 2633 #define TIM_GET_CLEAR_IT __HAL_TIM_CLEAR_IT
Kojto 99:dbbf35b96557 2634
Kojto 99:dbbf35b96557 2635 #define __HAL_TIM_GET_ITSTATUS __HAL_TIM_GET_IT_SOURCE
Kojto 99:dbbf35b96557 2636
Kojto 99:dbbf35b96557 2637 #define __HAL_TIM_DIRECTION_STATUS __HAL_TIM_IS_TIM_COUNTING_DOWN
Kojto 99:dbbf35b96557 2638 #define __HAL_TIM_PRESCALER __HAL_TIM_SET_PRESCALER
Kojto 99:dbbf35b96557 2639 #define __HAL_TIM_SetCounter __HAL_TIM_SET_COUNTER
Kojto 99:dbbf35b96557 2640 #define __HAL_TIM_GetCounter __HAL_TIM_GET_COUNTER
Kojto 99:dbbf35b96557 2641 #define __HAL_TIM_SetAutoreload __HAL_TIM_SET_AUTORELOAD
Kojto 99:dbbf35b96557 2642 #define __HAL_TIM_GetAutoreload __HAL_TIM_GET_AUTORELOAD
Kojto 99:dbbf35b96557 2643 #define __HAL_TIM_SetClockDivision __HAL_TIM_SET_CLOCKDIVISION
Kojto 99:dbbf35b96557 2644 #define __HAL_TIM_GetClockDivision __HAL_TIM_GET_CLOCKDIVISION
Kojto 99:dbbf35b96557 2645 #define __HAL_TIM_SetICPrescaler __HAL_TIM_SET_ICPRESCALER
Kojto 99:dbbf35b96557 2646 #define __HAL_TIM_GetICPrescaler __HAL_TIM_GET_ICPRESCALER
Kojto 99:dbbf35b96557 2647 #define __HAL_TIM_SetCompare __HAL_TIM_SET_COMPARE
Kojto 99:dbbf35b96557 2648 #define __HAL_TIM_GetCompare __HAL_TIM_GET_COMPARE
Kojto 99:dbbf35b96557 2649
Kojto 99:dbbf35b96557 2650 #define TIM_TS_ITR0 ((uint32_t)0x0000)
Kojto 99:dbbf35b96557 2651 #define TIM_TS_ITR1 ((uint32_t)0x0010)
Kojto 99:dbbf35b96557 2652 #define TIM_TS_ITR2 ((uint32_t)0x0020)
Kojto 99:dbbf35b96557 2653 #define TIM_TS_ITR3 ((uint32_t)0x0030)
Kojto 99:dbbf35b96557 2654 #define IS_TIM_INTERNAL_TRIGGER_SELECTION(SELECTION) (((SELECTION) == TIM_TS_ITR0) || \
Kojto 99:dbbf35b96557 2655 ((SELECTION) == TIM_TS_ITR1) || \
Kojto 99:dbbf35b96557 2656 ((SELECTION) == TIM_TS_ITR2) || \
Kojto 99:dbbf35b96557 2657 ((SELECTION) == TIM_TS_ITR3))
Kojto 99:dbbf35b96557 2658
Kojto 99:dbbf35b96557 2659 #define TIM_CHANNEL_1 ((uint32_t)0x0000)
Kojto 99:dbbf35b96557 2660 #define TIM_CHANNEL_2 ((uint32_t)0x0004)
Kojto 99:dbbf35b96557 2661 #define IS_TIM_PWMI_CHANNELS(CHANNEL) (((CHANNEL) == TIM_CHANNEL_1) || \
Kojto 99:dbbf35b96557 2662 ((CHANNEL) == TIM_CHANNEL_2))
Kojto 99:dbbf35b96557 2663
Kojto 99:dbbf35b96557 2664 #define TIM_OUTPUTNSTATE_DISABLE ((uint32_t)0x0000)
Kojto 99:dbbf35b96557 2665 #define TIM_OUTPUTNSTATE_ENABLE (TIM_CCER_CC1NE)
Kojto 99:dbbf35b96557 2666
Kojto 99:dbbf35b96557 2667 #define IS_TIM_OUTPUTN_STATE(STATE) (((STATE) == TIM_OUTPUTNSTATE_DISABLE) || \
Kojto 99:dbbf35b96557 2668 ((STATE) == TIM_OUTPUTNSTATE_ENABLE))
Kojto 99:dbbf35b96557 2669
Kojto 99:dbbf35b96557 2670 #define TIM_OUTPUTSTATE_DISABLE ((uint32_t)0x0000)
Kojto 99:dbbf35b96557 2671 #define TIM_OUTPUTSTATE_ENABLE (TIM_CCER_CC1E)
Kojto 99:dbbf35b96557 2672
Kojto 99:dbbf35b96557 2673 #define IS_TIM_OUTPUT_STATE(STATE) (((STATE) == TIM_OUTPUTSTATE_DISABLE) || \
Kojto 99:dbbf35b96557 2674 ((STATE) == TIM_OUTPUTSTATE_ENABLE))
Kojto 99:dbbf35b96557 2675 /**
Kojto 99:dbbf35b96557 2676 * @}
Kojto 99:dbbf35b96557 2677 */
Kojto 99:dbbf35b96557 2678
Kojto 99:dbbf35b96557 2679 /** @defgroup HAL_ETH_Aliased_Macros HAL ETH Aliased Macros maintained for legacy purpose
Kojto 99:dbbf35b96557 2680 * @{
Kojto 99:dbbf35b96557 2681 */
Kojto 99:dbbf35b96557 2682
Kojto 99:dbbf35b96557 2683 #define __HAL_ETH_EXTI_ENABLE_IT __HAL_ETH_WAKEUP_EXTI_ENABLE_IT
Kojto 99:dbbf35b96557 2684 #define __HAL_ETH_EXTI_DISABLE_IT __HAL_ETH_WAKEUP_EXTI_DISABLE_IT
Kojto 99:dbbf35b96557 2685 #define __HAL_ETH_EXTI_GET_FLAG __HAL_ETH_WAKEUP_EXTI_GET_FLAG
Kojto 99:dbbf35b96557 2686 #define __HAL_ETH_EXTI_CLEAR_FLAG __HAL_ETH_WAKEUP_EXTI_CLEAR_FLAG
Kojto 99:dbbf35b96557 2687 #define __HAL_ETH_EXTI_SET_RISING_EGDE_TRIGGER __HAL_ETH_WAKEUP_EXTI_ENABLE_RISING_EDGE_TRIGGER
Kojto 99:dbbf35b96557 2688 #define __HAL_ETH_EXTI_SET_FALLING_EGDE_TRIGGER __HAL_ETH_WAKEUP_EXTI_ENABLE_FALLING_EDGE_TRIGGER
Kojto 99:dbbf35b96557 2689 #define __HAL_ETH_EXTI_SET_FALLINGRISING_TRIGGER __HAL_ETH_WAKEUP_EXTI_ENABLE_FALLINGRISING_TRIGGER
Kojto 99:dbbf35b96557 2690
Kojto 99:dbbf35b96557 2691 #define ETH_PROMISCIOUSMODE_ENABLE ETH_PROMISCUOUS_MODE_ENABLE
Kojto 99:dbbf35b96557 2692 #define ETH_PROMISCIOUSMODE_DISABLE ETH_PROMISCUOUS_MODE_DISABLE
Kojto 99:dbbf35b96557 2693 #define IS_ETH_PROMISCIOUS_MODE IS_ETH_PROMISCUOUS_MODE
Kojto 99:dbbf35b96557 2694 /**
Kojto 99:dbbf35b96557 2695 * @}
Kojto 99:dbbf35b96557 2696 */
Kojto 99:dbbf35b96557 2697
Kojto 99:dbbf35b96557 2698 /** @defgroup HAL_LTDC_Aliased_Macros HAL LTDC Aliased Macros maintained for legacy purpose
Kojto 99:dbbf35b96557 2699 * @{
Kojto 99:dbbf35b96557 2700 */
Kojto 99:dbbf35b96557 2701 #define __HAL_LTDC_LAYER LTDC_LAYER
Kojto 99:dbbf35b96557 2702 /**
Kojto 99:dbbf35b96557 2703 * @}
Kojto 99:dbbf35b96557 2704 */
Kojto 99:dbbf35b96557 2705
Kojto 99:dbbf35b96557 2706 /** @defgroup HAL_SAI_Aliased_Macros HAL SAI Aliased Macros maintained for legacy purpose
Kojto 99:dbbf35b96557 2707 * @{
Kojto 99:dbbf35b96557 2708 */
Kojto 99:dbbf35b96557 2709 #define SAI_OUTPUTDRIVE_DISABLED SAI_OUTPUTDRIVE_DISABLE
Kojto 99:dbbf35b96557 2710 #define SAI_OUTPUTDRIVE_ENABLED SAI_OUTPUTDRIVE_ENABLE
Kojto 99:dbbf35b96557 2711 #define SAI_MASTERDIVIDER_ENABLED SAI_MASTERDIVIDER_ENABLE
Kojto 99:dbbf35b96557 2712 #define SAI_MASTERDIVIDER_DISABLED SAI_MASTERDIVIDER_DISABLE
Kojto 99:dbbf35b96557 2713 #define SAI_STREOMODE SAI_STEREOMODE
Kojto 99:dbbf35b96557 2714 #define SAI_FIFOStatus_Empty SAI_FIFOSTATUS_EMPTY
Kojto 99:dbbf35b96557 2715 #define SAI_FIFOStatus_Less1QuarterFull SAI_FIFOSTATUS_LESS1QUARTERFULL
Kojto 99:dbbf35b96557 2716 #define SAI_FIFOStatus_1QuarterFull SAI_FIFOSTATUS_1QUARTERFULL
Kojto 99:dbbf35b96557 2717 #define SAI_FIFOStatus_HalfFull SAI_FIFOSTATUS_HALFFULL
Kojto 99:dbbf35b96557 2718 #define SAI_FIFOStatus_3QuartersFull SAI_FIFOSTATUS_3QUARTERFULL
Kojto 99:dbbf35b96557 2719 #define SAI_FIFOStatus_Full SAI_FIFOSTATUS_FULL
Kojto 99:dbbf35b96557 2720 #define IS_SAI_BLOCK_MONO_STREO_MODE IS_SAI_BLOCK_MONO_STEREO_MODE
Kojto 99:dbbf35b96557 2721
Kojto 99:dbbf35b96557 2722 /**
Kojto 99:dbbf35b96557 2723 * @}
Kojto 99:dbbf35b96557 2724 */
Kojto 99:dbbf35b96557 2725
Kojto 99:dbbf35b96557 2726
Kojto 99:dbbf35b96557 2727 /** @defgroup HAL_PPP_Aliased_Macros HAL PPP Aliased Macros maintained for legacy purpose
Kojto 99:dbbf35b96557 2728 * @{
Kojto 99:dbbf35b96557 2729 */
Kojto 99:dbbf35b96557 2730
Kojto 99:dbbf35b96557 2731 /**
Kojto 99:dbbf35b96557 2732 * @}
Kojto 99:dbbf35b96557 2733 */
Kojto 99:dbbf35b96557 2734
Kojto 99:dbbf35b96557 2735 #ifdef __cplusplus
Kojto 99:dbbf35b96557 2736 }
Kojto 99:dbbf35b96557 2737 #endif
Kojto 99:dbbf35b96557 2738
Kojto 99:dbbf35b96557 2739 #endif /* ___STM32_HAL_LEGACY */
Kojto 99:dbbf35b96557 2740
Kojto 99:dbbf35b96557 2741 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
Kojto 99:dbbf35b96557 2742