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

Dependents:   1-RenBuggyTimed RenBED_RGB RenBED_RGB_PWM RenBED_RGB

Fork of mbed by mbed official

Committer:
elijahorr
Date:
Thu Apr 14 07:28:54 2016 +0000
Revision:
121:672067c3ada4
Parent:
110:165afa46840b
.

Who changed what in which revision?

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