ARM GAS /tmp/ccZKwQMo.s page 1 1 .cpu cortex-m7 2 .arch armv7e-m 3 .fpu fpv5-d16 4 .eabi_attribute 28, 1 5 .eabi_attribute 20, 1 6 .eabi_attribute 21, 1 7 .eabi_attribute 23, 3 8 .eabi_attribute 24, 1 9 .eabi_attribute 25, 1 10 .eabi_attribute 26, 1 11 .eabi_attribute 30, 1 12 .eabi_attribute 34, 1 13 .eabi_attribute 18, 4 14 .file "stm32f7xx_ll_gpio.c" 15 .text 16 .Ltext0: 17 .cfi_sections .debug_frame 18 .file 1 "Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c" 19 .section .text.LL_GPIO_SetPinSpeed,"ax",%progbits 20 .align 1 21 .syntax unified 22 .thumb 23 .thumb_func 25 LL_GPIO_SetPinSpeed: 26 .LVL0: 27 .LFB145: 28 .file 2 "Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h" 1:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** /** 2:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** ****************************************************************************** 3:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @file stm32f7xx_ll_gpio.h 4:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @author MCD Application Team 5:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @brief Header file of GPIO LL module. 6:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** ****************************************************************************** 7:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @attention 8:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * 9:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * Copyright (c) 2017 STMicroelectronics. 10:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * All rights reserved. 11:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * 12:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * This software is licensed under terms that can be found in the LICENSE file 13:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * in the root directory of this software component. 14:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * If no LICENSE file comes with this software, it is provided AS-IS. 15:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * 16:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** ****************************************************************************** 17:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** */ 18:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** 19:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** /* Define to prevent recursive inclusion -------------------------------------*/ 20:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** #ifndef __STM32F7xx_LL_GPIO_H 21:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** #define __STM32F7xx_LL_GPIO_H 22:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** 23:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** #ifdef __cplusplus 24:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** extern "C" { 25:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** #endif 26:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** 27:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** /* Includes ------------------------------------------------------------------*/ 28:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** #include "stm32f7xx.h" 29:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** 30:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** /** @addtogroup STM32F7xx_LL_Driver ARM GAS /tmp/ccZKwQMo.s page 2 31:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @{ 32:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** */ 33:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** 34:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** #if defined (GPIOA) || defined (GPIOB) || defined (GPIOC) || defined (GPIOD) || defined (GPIOE) || 35:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** 36:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** /** @defgroup GPIO_LL GPIO 37:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @{ 38:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** */ 39:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** 40:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** /* Private types -------------------------------------------------------------*/ 41:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** /* Private variables ---------------------------------------------------------*/ 42:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** /* Private constants ---------------------------------------------------------*/ 43:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** /* Private macros ------------------------------------------------------------*/ 44:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** #if defined(USE_FULL_LL_DRIVER) 45:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** /** @defgroup GPIO_LL_Private_Macros GPIO Private Macros 46:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @{ 47:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** */ 48:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** 49:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** /** 50:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @} 51:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** */ 52:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** #endif /*USE_FULL_LL_DRIVER*/ 53:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** 54:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** /* Exported types ------------------------------------------------------------*/ 55:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** #if defined(USE_FULL_LL_DRIVER) 56:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** /** @defgroup GPIO_LL_ES_INIT GPIO Exported Init structures 57:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @{ 58:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** */ 59:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** 60:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** /** 61:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @brief LL GPIO Init Structure definition 62:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** */ 63:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** typedef struct 64:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** { 65:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** uint32_t Pin; /*!< Specifies the GPIO pins to be configured. 66:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** This parameter can be any value of @ref GPIO_LL_EC_PIN */ 67:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** 68:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** uint32_t Mode; /*!< Specifies the operating mode for the selected pins. 69:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** This parameter can be a value of @ref GPIO_LL_EC_MODE. 70:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** 71:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** GPIO HW configuration can be modified afterwards using unitary functi 72:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** 73:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** uint32_t Speed; /*!< Specifies the speed for the selected pins. 74:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** This parameter can be a value of @ref GPIO_LL_EC_SPEED. 75:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** 76:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** GPIO HW configuration can be modified afterwards using unitary functi 77:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** 78:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** uint32_t OutputType; /*!< Specifies the operating output type for the selected pins. 79:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** This parameter can be a value of @ref GPIO_LL_EC_OUTPUT. 80:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** 81:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** GPIO HW configuration can be modified afterwards using unitary functi 82:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** 83:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** uint32_t Pull; /*!< Specifies the operating Pull-up/Pull down for the selected pins. 84:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** This parameter can be a value of @ref GPIO_LL_EC_PULL. 85:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** 86:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** GPIO HW configuration can be modified afterwards using unitary functi 87:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** ARM GAS /tmp/ccZKwQMo.s page 3 88:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** uint32_t Alternate; /*!< Specifies the Peripheral to be connected to the selected pins. 89:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** This parameter can be a value of @ref GPIO_LL_EC_AF. 90:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** 91:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** GPIO HW configuration can be modified afterwards using unitary functi 92:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** } LL_GPIO_InitTypeDef; 93:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** 94:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** /** 95:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @} 96:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** */ 97:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** #endif /* USE_FULL_LL_DRIVER */ 98:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** 99:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** /* Exported constants --------------------------------------------------------*/ 100:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** /** @defgroup GPIO_LL_Exported_Constants GPIO Exported Constants 101:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @{ 102:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** */ 103:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** 104:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** /** @defgroup GPIO_LL_EC_PIN PIN 105:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @{ 106:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** */ 107:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** #define LL_GPIO_PIN_0 GPIO_BSRR_BS_0 /*!< Select pin 0 */ 108:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** #define LL_GPIO_PIN_1 GPIO_BSRR_BS_1 /*!< Select pin 1 */ 109:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** #define LL_GPIO_PIN_2 GPIO_BSRR_BS_2 /*!< Select pin 2 */ 110:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** #define LL_GPIO_PIN_3 GPIO_BSRR_BS_3 /*!< Select pin 3 */ 111:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** #define LL_GPIO_PIN_4 GPIO_BSRR_BS_4 /*!< Select pin 4 */ 112:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** #define LL_GPIO_PIN_5 GPIO_BSRR_BS_5 /*!< Select pin 5 */ 113:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** #define LL_GPIO_PIN_6 GPIO_BSRR_BS_6 /*!< Select pin 6 */ 114:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** #define LL_GPIO_PIN_7 GPIO_BSRR_BS_7 /*!< Select pin 7 */ 115:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** #define LL_GPIO_PIN_8 GPIO_BSRR_BS_8 /*!< Select pin 8 */ 116:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** #define LL_GPIO_PIN_9 GPIO_BSRR_BS_9 /*!< Select pin 9 */ 117:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** #define LL_GPIO_PIN_10 GPIO_BSRR_BS_10 /*!< Select pin 10 */ 118:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** #define LL_GPIO_PIN_11 GPIO_BSRR_BS_11 /*!< Select pin 11 */ 119:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** #define LL_GPIO_PIN_12 GPIO_BSRR_BS_12 /*!< Select pin 12 */ 120:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** #define LL_GPIO_PIN_13 GPIO_BSRR_BS_13 /*!< Select pin 13 */ 121:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** #define LL_GPIO_PIN_14 GPIO_BSRR_BS_14 /*!< Select pin 14 */ 122:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** #define LL_GPIO_PIN_15 GPIO_BSRR_BS_15 /*!< Select pin 15 */ 123:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** #define LL_GPIO_PIN_ALL (GPIO_BSRR_BS_0 | GPIO_BSRR_BS_1 | GPIO_BSRR_BS_2 | \ 124:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** GPIO_BSRR_BS_3 | GPIO_BSRR_BS_4 | GPIO_BSRR_BS_5 | \ 125:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** GPIO_BSRR_BS_6 | GPIO_BSRR_BS_7 | GPIO_BSRR_BS_8 | \ 126:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** GPIO_BSRR_BS_9 | GPIO_BSRR_BS_10 | GPIO_BSRR_BS_11 | \ 127:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** GPIO_BSRR_BS_12 | GPIO_BSRR_BS_13 | GPIO_BSRR_BS_14 | \ 128:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** GPIO_BSRR_BS_15) /*!< Select all pins */ 129:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** /** 130:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @} 131:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** */ 132:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** 133:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** /** @defgroup GPIO_LL_EC_MODE Mode 134:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @{ 135:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** */ 136:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** #define LL_GPIO_MODE_INPUT (0x00000000U) /*!< Select input mode */ 137:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** #define LL_GPIO_MODE_OUTPUT GPIO_MODER_MODER0_0 /*!< Select output mode */ 138:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** #define LL_GPIO_MODE_ALTERNATE GPIO_MODER_MODER0_1 /*!< Select alternate function mode 139:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** #define LL_GPIO_MODE_ANALOG GPIO_MODER_MODER0 /*!< Select analog mode */ 140:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** /** 141:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @} 142:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** */ 143:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** 144:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** /** @defgroup GPIO_LL_EC_OUTPUT Output Type ARM GAS /tmp/ccZKwQMo.s page 4 145:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @{ 146:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** */ 147:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** #define LL_GPIO_OUTPUT_PUSHPULL (0x00000000U) /*!< Select push-pull as output type */ 148:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** #define LL_GPIO_OUTPUT_OPENDRAIN GPIO_OTYPER_OT_0 /*!< Select open-drain as output type * 149:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** /** 150:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @} 151:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** */ 152:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** 153:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** /** @defgroup GPIO_LL_EC_SPEED Output Speed 154:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @{ 155:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** */ 156:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** #define LL_GPIO_SPEED_FREQ_LOW (0x00000000U) /*!< Select I/O low output speed */ 157:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** #define LL_GPIO_SPEED_FREQ_MEDIUM GPIO_OSPEEDER_OSPEEDR0_0 /*!< Select I/O medium output s 158:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** #define LL_GPIO_SPEED_FREQ_HIGH GPIO_OSPEEDER_OSPEEDR0_1 /*!< Select I/O fast output spe 159:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** #define LL_GPIO_SPEED_FREQ_VERY_HIGH GPIO_OSPEEDER_OSPEEDR0 /*!< Select I/O high output spe 160:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** /** 161:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @} 162:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** */ 163:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** 164:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** /** @defgroup GPIO_LL_EC_PULL Pull Up Pull Down 165:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @{ 166:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** */ 167:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** #define LL_GPIO_PULL_NO (0x00000000U) /*!< Select I/O no pull */ 168:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** #define LL_GPIO_PULL_UP GPIO_PUPDR_PUPDR0_0 /*!< Select I/O pull up */ 169:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** #define LL_GPIO_PULL_DOWN GPIO_PUPDR_PUPDR0_1 /*!< Select I/O pull down */ 170:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** /** 171:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @} 172:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** */ 173:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** 174:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** /** @defgroup GPIO_LL_EC_AF Alternate Function 175:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @{ 176:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** */ 177:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** #define LL_GPIO_AF_0 (0x0000000U) /*!< Select alternate function 0 */ 178:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** #define LL_GPIO_AF_1 (0x0000001U) /*!< Select alternate function 1 */ 179:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** #define LL_GPIO_AF_2 (0x0000002U) /*!< Select alternate function 2 */ 180:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** #define LL_GPIO_AF_3 (0x0000003U) /*!< Select alternate function 3 */ 181:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** #define LL_GPIO_AF_4 (0x0000004U) /*!< Select alternate function 4 */ 182:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** #define LL_GPIO_AF_5 (0x0000005U) /*!< Select alternate function 5 */ 183:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** #define LL_GPIO_AF_6 (0x0000006U) /*!< Select alternate function 6 */ 184:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** #define LL_GPIO_AF_7 (0x0000007U) /*!< Select alternate function 7 */ 185:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** #define LL_GPIO_AF_8 (0x0000008U) /*!< Select alternate function 8 */ 186:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** #define LL_GPIO_AF_9 (0x0000009U) /*!< Select alternate function 9 */ 187:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** #define LL_GPIO_AF_10 (0x000000AU) /*!< Select alternate function 10 */ 188:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** #define LL_GPIO_AF_11 (0x000000BU) /*!< Select alternate function 11 */ 189:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** #define LL_GPIO_AF_12 (0x000000CU) /*!< Select alternate function 12 */ 190:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** #define LL_GPIO_AF_13 (0x000000DU) /*!< Select alternate function 13 */ 191:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** #define LL_GPIO_AF_14 (0x000000EU) /*!< Select alternate function 14 */ 192:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** #define LL_GPIO_AF_15 (0x000000FU) /*!< Select alternate function 15 */ 193:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** /** 194:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @} 195:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** */ 196:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** 197:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** /** 198:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @} 199:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** */ 200:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** 201:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** /* Exported macro ------------------------------------------------------------*/ ARM GAS /tmp/ccZKwQMo.s page 5 202:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** /** @defgroup GPIO_LL_Exported_Macros GPIO Exported Macros 203:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @{ 204:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** */ 205:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** 206:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** /** @defgroup GPIO_LL_EM_WRITE_READ Common Write and read registers Macros 207:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @{ 208:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** */ 209:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** 210:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** /** 211:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @brief Write a value in GPIO register 212:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @param __INSTANCE__ GPIO Instance 213:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @param __REG__ Register to be written 214:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @param __VALUE__ Value to be written in the register 215:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @retval None 216:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** */ 217:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** #define LL_GPIO_WriteReg(__INSTANCE__, __REG__, __VALUE__) WRITE_REG(__INSTANCE__->__REG__, (__VALU 218:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** 219:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** /** 220:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @brief Read a value in GPIO register 221:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @param __INSTANCE__ GPIO Instance 222:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @param __REG__ Register to be read 223:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @retval Register value 224:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** */ 225:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** #define LL_GPIO_ReadReg(__INSTANCE__, __REG__) READ_REG(__INSTANCE__->__REG__) 226:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** /** 227:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @} 228:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** */ 229:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** 230:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** /** 231:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @} 232:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** */ 233:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** 234:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** /* Exported functions --------------------------------------------------------*/ 235:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** /** @defgroup GPIO_LL_Exported_Functions GPIO Exported Functions 236:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @{ 237:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** */ 238:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** 239:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** /** @defgroup GPIO_LL_EF_Port_Configuration Port Configuration 240:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @{ 241:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** */ 242:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** 243:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** /** 244:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @brief Configure gpio mode for a dedicated pin on dedicated port. 245:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @note I/O mode can be Input mode, General purpose output, Alternate function mode or Analog. 246:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @note Warning: only one pin can be passed as parameter. 247:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @rmtoll MODER MODEy LL_GPIO_SetPinMode 248:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @param GPIOx GPIO Port 249:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @param Pin This parameter can be one of the following values: 250:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_0 251:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_1 252:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_2 253:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_3 254:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_4 255:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_5 256:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_6 257:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_7 258:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_8 ARM GAS /tmp/ccZKwQMo.s page 6 259:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_9 260:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_10 261:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_11 262:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_12 263:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_13 264:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_14 265:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_15 266:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @param Mode This parameter can be one of the following values: 267:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_MODE_INPUT 268:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_MODE_OUTPUT 269:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_MODE_ALTERNATE 270:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_MODE_ANALOG 271:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @retval None 272:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** */ 273:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** __STATIC_INLINE void LL_GPIO_SetPinMode(GPIO_TypeDef *GPIOx, uint32_t Pin, uint32_t Mode) 274:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** { 275:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** MODIFY_REG(GPIOx->MODER, (GPIO_MODER_MODER0 << (POSITION_VAL(Pin) * 2U)), (Mode << (POSITION_VAL( 276:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** } 277:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** 278:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** /** 279:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @brief Return gpio mode for a dedicated pin on dedicated port. 280:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @note I/O mode can be Input mode, General purpose output, Alternate function mode or Analog. 281:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @note Warning: only one pin can be passed as parameter. 282:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @rmtoll MODER MODEy LL_GPIO_GetPinMode 283:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @param GPIOx GPIO Port 284:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @param Pin This parameter can be one of the following values: 285:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_0 286:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_1 287:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_2 288:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_3 289:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_4 290:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_5 291:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_6 292:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_7 293:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_8 294:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_9 295:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_10 296:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_11 297:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_12 298:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_13 299:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_14 300:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_15 301:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @retval Returned value can be one of the following values: 302:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_MODE_INPUT 303:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_MODE_OUTPUT 304:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_MODE_ALTERNATE 305:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_MODE_ANALOG 306:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** */ 307:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** __STATIC_INLINE uint32_t LL_GPIO_GetPinMode(GPIO_TypeDef *GPIOx, uint32_t Pin) 308:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** { 309:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** return (uint32_t)(READ_BIT(GPIOx->MODER, 310:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** (GPIO_MODER_MODER0 << (POSITION_VAL(Pin) * 2U))) >> (POSITION_VAL(Pin) 311:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** } 312:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** 313:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** /** 314:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @brief Configure gpio output type for several pins on dedicated port. 315:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @note Output type as to be set when gpio pin is in output or ARM GAS /tmp/ccZKwQMo.s page 7 316:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * alternate modes. Possible type are Push-pull or Open-drain. 317:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @rmtoll OTYPER OTy LL_GPIO_SetPinOutputType 318:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @param GPIOx GPIO Port 319:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @param PinMask This parameter can be a combination of the following values: 320:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_0 321:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_1 322:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_2 323:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_3 324:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_4 325:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_5 326:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_6 327:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_7 328:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_8 329:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_9 330:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_10 331:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_11 332:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_12 333:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_13 334:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_14 335:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_15 336:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_ALL 337:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @param OutputType This parameter can be one of the following values: 338:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_OUTPUT_PUSHPULL 339:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_OUTPUT_OPENDRAIN 340:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @retval None 341:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** */ 342:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** __STATIC_INLINE void LL_GPIO_SetPinOutputType(GPIO_TypeDef *GPIOx, uint32_t PinMask, uint32_t Outpu 343:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** { 344:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** MODIFY_REG(GPIOx->OTYPER, PinMask, (PinMask * OutputType)); 345:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** } 346:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** 347:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** /** 348:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @brief Return gpio output type for several pins on dedicated port. 349:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @note Output type as to be set when gpio pin is in output or 350:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * alternate modes. Possible type are Push-pull or Open-drain. 351:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @note Warning: only one pin can be passed as parameter. 352:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @rmtoll OTYPER OTy LL_GPIO_GetPinOutputType 353:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @param GPIOx GPIO Port 354:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @param Pin This parameter can be one of the following values: 355:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_0 356:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_1 357:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_2 358:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_3 359:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_4 360:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_5 361:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_6 362:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_7 363:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_8 364:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_9 365:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_10 366:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_11 367:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_12 368:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_13 369:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_14 370:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_15 371:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_ALL 372:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @retval Returned value can be one of the following values: ARM GAS /tmp/ccZKwQMo.s page 8 373:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_OUTPUT_PUSHPULL 374:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_OUTPUT_OPENDRAIN 375:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** */ 376:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** __STATIC_INLINE uint32_t LL_GPIO_GetPinOutputType(GPIO_TypeDef *GPIOx, uint32_t Pin) 377:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** { 378:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** return (uint32_t)(READ_BIT(GPIOx->OTYPER, Pin) >> POSITION_VAL(Pin)); 379:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** } 380:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** 381:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** /** 382:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @brief Configure gpio speed for a dedicated pin on dedicated port. 383:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @note I/O speed can be Low, Medium, Fast or High speed. 384:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @note Warning: only one pin can be passed as parameter. 385:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @note Refer to datasheet for frequency specifications and the power 386:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * supply and load conditions for each speed. 387:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @rmtoll OSPEEDR OSPEEDy LL_GPIO_SetPinSpeed 388:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @param GPIOx GPIO Port 389:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @param Pin This parameter can be one of the following values: 390:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_0 391:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_1 392:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_2 393:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_3 394:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_4 395:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_5 396:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_6 397:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_7 398:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_8 399:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_9 400:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_10 401:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_11 402:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_12 403:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_13 404:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_14 405:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_15 406:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @param Speed This parameter can be one of the following values: 407:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_SPEED_FREQ_LOW 408:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_SPEED_FREQ_MEDIUM 409:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_SPEED_FREQ_HIGH 410:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_SPEED_FREQ_VERY_HIGH 411:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @retval None 412:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** */ 413:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** __STATIC_INLINE void LL_GPIO_SetPinSpeed(GPIO_TypeDef *GPIOx, uint32_t Pin, uint32_t Speed) 414:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** { 29 .loc 2 414 1 view -0 30 .cfi_startproc 31 @ args = 0, pretend = 0, frame = 0 32 @ frame_needed = 0, uses_anonymous_args = 0 33 .loc 2 414 1 is_stmt 0 view .LVU1 34 0000 00B5 push {lr} 35 .LCFI0: 36 .cfi_def_cfa_offset 4 37 .cfi_offset 14, -4 415:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** MODIFY_REG(GPIOx->OSPEEDR, (GPIO_OSPEEDER_OSPEEDR0 << (POSITION_VAL(Pin) * 2U)), 38 .loc 2 415 3 is_stmt 1 view .LVU2 39 0002 8368 ldr r3, [r0, #8] 40 .LVL1: 41 .LBB76: 42 .LBI76: ARM GAS /tmp/ccZKwQMo.s page 9 43 .file 3 "Drivers/CMSIS/Include/cmsis_gcc.h" 1:Drivers/CMSIS/Include/cmsis_gcc.h **** /**************************************************************************//** 2:Drivers/CMSIS/Include/cmsis_gcc.h **** * @file cmsis_gcc.h 3:Drivers/CMSIS/Include/cmsis_gcc.h **** * @brief CMSIS compiler GCC header file 4:Drivers/CMSIS/Include/cmsis_gcc.h **** * @version V5.0.4 5:Drivers/CMSIS/Include/cmsis_gcc.h **** * @date 09. April 2018 6:Drivers/CMSIS/Include/cmsis_gcc.h **** ******************************************************************************/ 7:Drivers/CMSIS/Include/cmsis_gcc.h **** /* 8:Drivers/CMSIS/Include/cmsis_gcc.h **** * Copyright (c) 2009-2018 Arm Limited. All rights reserved. 9:Drivers/CMSIS/Include/cmsis_gcc.h **** * 10:Drivers/CMSIS/Include/cmsis_gcc.h **** * SPDX-License-Identifier: Apache-2.0 11:Drivers/CMSIS/Include/cmsis_gcc.h **** * 12:Drivers/CMSIS/Include/cmsis_gcc.h **** * Licensed under the Apache License, Version 2.0 (the License); you may 13:Drivers/CMSIS/Include/cmsis_gcc.h **** * not use this file except in compliance with the License. 14:Drivers/CMSIS/Include/cmsis_gcc.h **** * You may obtain a copy of the License at 15:Drivers/CMSIS/Include/cmsis_gcc.h **** * 16:Drivers/CMSIS/Include/cmsis_gcc.h **** * www.apache.org/licenses/LICENSE-2.0 17:Drivers/CMSIS/Include/cmsis_gcc.h **** * 18:Drivers/CMSIS/Include/cmsis_gcc.h **** * Unless required by applicable law or agreed to in writing, software 19:Drivers/CMSIS/Include/cmsis_gcc.h **** * distributed under the License is distributed on an AS IS BASIS, WITHOUT 20:Drivers/CMSIS/Include/cmsis_gcc.h **** * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 21:Drivers/CMSIS/Include/cmsis_gcc.h **** * See the License for the specific language governing permissions and 22:Drivers/CMSIS/Include/cmsis_gcc.h **** * limitations under the License. 23:Drivers/CMSIS/Include/cmsis_gcc.h **** */ 24:Drivers/CMSIS/Include/cmsis_gcc.h **** 25:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __CMSIS_GCC_H 26:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __CMSIS_GCC_H 27:Drivers/CMSIS/Include/cmsis_gcc.h **** 28:Drivers/CMSIS/Include/cmsis_gcc.h **** /* ignore some GCC warnings */ 29:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic push 30:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wsign-conversion" 31:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wconversion" 32:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wunused-parameter" 33:Drivers/CMSIS/Include/cmsis_gcc.h **** 34:Drivers/CMSIS/Include/cmsis_gcc.h **** /* Fallback for __has_builtin */ 35:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __has_builtin 36:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __has_builtin(x) (0) 37:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif 38:Drivers/CMSIS/Include/cmsis_gcc.h **** 39:Drivers/CMSIS/Include/cmsis_gcc.h **** /* CMSIS compiler specific defines */ 40:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __ASM 41:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __ASM __asm 42:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif 43:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __INLINE 44:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __INLINE inline 45:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif 46:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __STATIC_INLINE 47:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __STATIC_INLINE static inline 48:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif 49:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __STATIC_FORCEINLINE 50:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __STATIC_FORCEINLINE __attribute__((always_inline)) static inline 51:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif 52:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __NO_RETURN 53:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __NO_RETURN __attribute__((__noreturn__)) 54:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif 55:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __USED 56:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __USED __attribute__((used)) ARM GAS /tmp/ccZKwQMo.s page 10 57:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif 58:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __WEAK 59:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __WEAK __attribute__((weak)) 60:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif 61:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __PACKED 62:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __PACKED __attribute__((packed, aligned(1))) 63:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif 64:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __PACKED_STRUCT 65:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __PACKED_STRUCT struct __attribute__((packed, aligned(1))) 66:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif 67:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __PACKED_UNION 68:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __PACKED_UNION union __attribute__((packed, aligned(1))) 69:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif 70:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __UNALIGNED_UINT32 /* deprecated */ 71:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic push 72:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wpacked" 73:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wattributes" 74:Drivers/CMSIS/Include/cmsis_gcc.h **** struct __attribute__((packed)) T_UINT32 { uint32_t v; }; 75:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic pop 76:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __UNALIGNED_UINT32(x) (((struct T_UINT32 *)(x))->v) 77:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif 78:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __UNALIGNED_UINT16_WRITE 79:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic push 80:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wpacked" 81:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wattributes" 82:Drivers/CMSIS/Include/cmsis_gcc.h **** __PACKED_STRUCT T_UINT16_WRITE { uint16_t v; }; 83:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic pop 84:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __UNALIGNED_UINT16_WRITE(addr, val) (void)((((struct T_UINT16_WRITE *)(void *)(addr))- 85:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif 86:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __UNALIGNED_UINT16_READ 87:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic push 88:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wpacked" 89:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wattributes" 90:Drivers/CMSIS/Include/cmsis_gcc.h **** __PACKED_STRUCT T_UINT16_READ { uint16_t v; }; 91:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic pop 92:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __UNALIGNED_UINT16_READ(addr) (((const struct T_UINT16_READ *)(const void *)(add 93:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif 94:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __UNALIGNED_UINT32_WRITE 95:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic push 96:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wpacked" 97:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wattributes" 98:Drivers/CMSIS/Include/cmsis_gcc.h **** __PACKED_STRUCT T_UINT32_WRITE { uint32_t v; }; 99:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic pop 100:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __UNALIGNED_UINT32_WRITE(addr, val) (void)((((struct T_UINT32_WRITE *)(void *)(addr))- 101:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif 102:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __UNALIGNED_UINT32_READ 103:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic push 104:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wpacked" 105:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic ignored "-Wattributes" 106:Drivers/CMSIS/Include/cmsis_gcc.h **** __PACKED_STRUCT T_UINT32_READ { uint32_t v; }; 107:Drivers/CMSIS/Include/cmsis_gcc.h **** #pragma GCC diagnostic pop 108:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __UNALIGNED_UINT32_READ(addr) (((const struct T_UINT32_READ *)(const void *)(add 109:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif 110:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __ALIGNED 111:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __ALIGNED(x) __attribute__((aligned(x))) 112:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif 113:Drivers/CMSIS/Include/cmsis_gcc.h **** #ifndef __RESTRICT ARM GAS /tmp/ccZKwQMo.s page 11 114:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __RESTRICT __restrict 115:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif 116:Drivers/CMSIS/Include/cmsis_gcc.h **** 117:Drivers/CMSIS/Include/cmsis_gcc.h **** 118:Drivers/CMSIS/Include/cmsis_gcc.h **** /* ########################### Core Function Access ########################### */ 119:Drivers/CMSIS/Include/cmsis_gcc.h **** /** \ingroup CMSIS_Core_FunctionInterface 120:Drivers/CMSIS/Include/cmsis_gcc.h **** \defgroup CMSIS_Core_RegAccFunctions CMSIS Core Register Access Functions 121:Drivers/CMSIS/Include/cmsis_gcc.h **** @{ 122:Drivers/CMSIS/Include/cmsis_gcc.h **** */ 123:Drivers/CMSIS/Include/cmsis_gcc.h **** 124:Drivers/CMSIS/Include/cmsis_gcc.h **** /** 125:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Enable IRQ Interrupts 126:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Enables IRQ interrupts by clearing the I-bit in the CPSR. 127:Drivers/CMSIS/Include/cmsis_gcc.h **** Can only be executed in Privileged modes. 128:Drivers/CMSIS/Include/cmsis_gcc.h **** */ 129:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __enable_irq(void) 130:Drivers/CMSIS/Include/cmsis_gcc.h **** { 131:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("cpsie i" : : : "memory"); 132:Drivers/CMSIS/Include/cmsis_gcc.h **** } 133:Drivers/CMSIS/Include/cmsis_gcc.h **** 134:Drivers/CMSIS/Include/cmsis_gcc.h **** 135:Drivers/CMSIS/Include/cmsis_gcc.h **** /** 136:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Disable IRQ Interrupts 137:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Disables IRQ interrupts by setting the I-bit in the CPSR. 138:Drivers/CMSIS/Include/cmsis_gcc.h **** Can only be executed in Privileged modes. 139:Drivers/CMSIS/Include/cmsis_gcc.h **** */ 140:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __disable_irq(void) 141:Drivers/CMSIS/Include/cmsis_gcc.h **** { 142:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("cpsid i" : : : "memory"); 143:Drivers/CMSIS/Include/cmsis_gcc.h **** } 144:Drivers/CMSIS/Include/cmsis_gcc.h **** 145:Drivers/CMSIS/Include/cmsis_gcc.h **** 146:Drivers/CMSIS/Include/cmsis_gcc.h **** /** 147:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Control Register 148:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the content of the Control Register. 149:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Control Register value 150:Drivers/CMSIS/Include/cmsis_gcc.h **** */ 151:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_CONTROL(void) 152:Drivers/CMSIS/Include/cmsis_gcc.h **** { 153:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result; 154:Drivers/CMSIS/Include/cmsis_gcc.h **** 155:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, control" : "=r" (result) ); 156:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result); 157:Drivers/CMSIS/Include/cmsis_gcc.h **** } 158:Drivers/CMSIS/Include/cmsis_gcc.h **** 159:Drivers/CMSIS/Include/cmsis_gcc.h **** 160:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3)) 161:Drivers/CMSIS/Include/cmsis_gcc.h **** /** 162:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Control Register (non-secure) 163:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the content of the non-secure Control Register when in secure mode. 164:Drivers/CMSIS/Include/cmsis_gcc.h **** \return non-secure Control Register value 165:Drivers/CMSIS/Include/cmsis_gcc.h **** */ 166:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_CONTROL_NS(void) 167:Drivers/CMSIS/Include/cmsis_gcc.h **** { 168:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result; 169:Drivers/CMSIS/Include/cmsis_gcc.h **** 170:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, control_ns" : "=r" (result) ); ARM GAS /tmp/ccZKwQMo.s page 12 171:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result); 172:Drivers/CMSIS/Include/cmsis_gcc.h **** } 173:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif 174:Drivers/CMSIS/Include/cmsis_gcc.h **** 175:Drivers/CMSIS/Include/cmsis_gcc.h **** 176:Drivers/CMSIS/Include/cmsis_gcc.h **** /** 177:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Control Register 178:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Writes the given value to the Control Register. 179:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] control Control Register value to set 180:Drivers/CMSIS/Include/cmsis_gcc.h **** */ 181:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_CONTROL(uint32_t control) 182:Drivers/CMSIS/Include/cmsis_gcc.h **** { 183:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR control, %0" : : "r" (control) : "memory"); 184:Drivers/CMSIS/Include/cmsis_gcc.h **** } 185:Drivers/CMSIS/Include/cmsis_gcc.h **** 186:Drivers/CMSIS/Include/cmsis_gcc.h **** 187:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3)) 188:Drivers/CMSIS/Include/cmsis_gcc.h **** /** 189:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Control Register (non-secure) 190:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Writes the given value to the non-secure Control Register when in secure state. 191:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] control Control Register value to set 192:Drivers/CMSIS/Include/cmsis_gcc.h **** */ 193:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_CONTROL_NS(uint32_t control) 194:Drivers/CMSIS/Include/cmsis_gcc.h **** { 195:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR control_ns, %0" : : "r" (control) : "memory"); 196:Drivers/CMSIS/Include/cmsis_gcc.h **** } 197:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif 198:Drivers/CMSIS/Include/cmsis_gcc.h **** 199:Drivers/CMSIS/Include/cmsis_gcc.h **** 200:Drivers/CMSIS/Include/cmsis_gcc.h **** /** 201:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get IPSR Register 202:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the content of the IPSR Register. 203:Drivers/CMSIS/Include/cmsis_gcc.h **** \return IPSR Register value 204:Drivers/CMSIS/Include/cmsis_gcc.h **** */ 205:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_IPSR(void) 206:Drivers/CMSIS/Include/cmsis_gcc.h **** { 207:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result; 208:Drivers/CMSIS/Include/cmsis_gcc.h **** 209:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, ipsr" : "=r" (result) ); 210:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result); 211:Drivers/CMSIS/Include/cmsis_gcc.h **** } 212:Drivers/CMSIS/Include/cmsis_gcc.h **** 213:Drivers/CMSIS/Include/cmsis_gcc.h **** 214:Drivers/CMSIS/Include/cmsis_gcc.h **** /** 215:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get APSR Register 216:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the content of the APSR Register. 217:Drivers/CMSIS/Include/cmsis_gcc.h **** \return APSR Register value 218:Drivers/CMSIS/Include/cmsis_gcc.h **** */ 219:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_APSR(void) 220:Drivers/CMSIS/Include/cmsis_gcc.h **** { 221:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result; 222:Drivers/CMSIS/Include/cmsis_gcc.h **** 223:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, apsr" : "=r" (result) ); 224:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result); 225:Drivers/CMSIS/Include/cmsis_gcc.h **** } 226:Drivers/CMSIS/Include/cmsis_gcc.h **** 227:Drivers/CMSIS/Include/cmsis_gcc.h **** ARM GAS /tmp/ccZKwQMo.s page 13 228:Drivers/CMSIS/Include/cmsis_gcc.h **** /** 229:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get xPSR Register 230:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the content of the xPSR Register. 231:Drivers/CMSIS/Include/cmsis_gcc.h **** \return xPSR Register value 232:Drivers/CMSIS/Include/cmsis_gcc.h **** */ 233:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_xPSR(void) 234:Drivers/CMSIS/Include/cmsis_gcc.h **** { 235:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result; 236:Drivers/CMSIS/Include/cmsis_gcc.h **** 237:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, xpsr" : "=r" (result) ); 238:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result); 239:Drivers/CMSIS/Include/cmsis_gcc.h **** } 240:Drivers/CMSIS/Include/cmsis_gcc.h **** 241:Drivers/CMSIS/Include/cmsis_gcc.h **** 242:Drivers/CMSIS/Include/cmsis_gcc.h **** /** 243:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Process Stack Pointer 244:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the Process Stack Pointer (PSP). 245:Drivers/CMSIS/Include/cmsis_gcc.h **** \return PSP Register value 246:Drivers/CMSIS/Include/cmsis_gcc.h **** */ 247:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_PSP(void) 248:Drivers/CMSIS/Include/cmsis_gcc.h **** { 249:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result; 250:Drivers/CMSIS/Include/cmsis_gcc.h **** 251:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, psp" : "=r" (result) ); 252:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result); 253:Drivers/CMSIS/Include/cmsis_gcc.h **** } 254:Drivers/CMSIS/Include/cmsis_gcc.h **** 255:Drivers/CMSIS/Include/cmsis_gcc.h **** 256:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3)) 257:Drivers/CMSIS/Include/cmsis_gcc.h **** /** 258:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Process Stack Pointer (non-secure) 259:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the non-secure Process Stack Pointer (PSP) when in secure s 260:Drivers/CMSIS/Include/cmsis_gcc.h **** \return PSP Register value 261:Drivers/CMSIS/Include/cmsis_gcc.h **** */ 262:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_PSP_NS(void) 263:Drivers/CMSIS/Include/cmsis_gcc.h **** { 264:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result; 265:Drivers/CMSIS/Include/cmsis_gcc.h **** 266:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, psp_ns" : "=r" (result) ); 267:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result); 268:Drivers/CMSIS/Include/cmsis_gcc.h **** } 269:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif 270:Drivers/CMSIS/Include/cmsis_gcc.h **** 271:Drivers/CMSIS/Include/cmsis_gcc.h **** 272:Drivers/CMSIS/Include/cmsis_gcc.h **** /** 273:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Process Stack Pointer 274:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Process Stack Pointer (PSP). 275:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] topOfProcStack Process Stack Pointer value to set 276:Drivers/CMSIS/Include/cmsis_gcc.h **** */ 277:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_PSP(uint32_t topOfProcStack) 278:Drivers/CMSIS/Include/cmsis_gcc.h **** { 279:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR psp, %0" : : "r" (topOfProcStack) : ); 280:Drivers/CMSIS/Include/cmsis_gcc.h **** } 281:Drivers/CMSIS/Include/cmsis_gcc.h **** 282:Drivers/CMSIS/Include/cmsis_gcc.h **** 283:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3)) 284:Drivers/CMSIS/Include/cmsis_gcc.h **** /** ARM GAS /tmp/ccZKwQMo.s page 14 285:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Process Stack Pointer (non-secure) 286:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the non-secure Process Stack Pointer (PSP) when in secure sta 287:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] topOfProcStack Process Stack Pointer value to set 288:Drivers/CMSIS/Include/cmsis_gcc.h **** */ 289:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_PSP_NS(uint32_t topOfProcStack) 290:Drivers/CMSIS/Include/cmsis_gcc.h **** { 291:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR psp_ns, %0" : : "r" (topOfProcStack) : ); 292:Drivers/CMSIS/Include/cmsis_gcc.h **** } 293:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif 294:Drivers/CMSIS/Include/cmsis_gcc.h **** 295:Drivers/CMSIS/Include/cmsis_gcc.h **** 296:Drivers/CMSIS/Include/cmsis_gcc.h **** /** 297:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Main Stack Pointer 298:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the Main Stack Pointer (MSP). 299:Drivers/CMSIS/Include/cmsis_gcc.h **** \return MSP Register value 300:Drivers/CMSIS/Include/cmsis_gcc.h **** */ 301:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_MSP(void) 302:Drivers/CMSIS/Include/cmsis_gcc.h **** { 303:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result; 304:Drivers/CMSIS/Include/cmsis_gcc.h **** 305:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, msp" : "=r" (result) ); 306:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result); 307:Drivers/CMSIS/Include/cmsis_gcc.h **** } 308:Drivers/CMSIS/Include/cmsis_gcc.h **** 309:Drivers/CMSIS/Include/cmsis_gcc.h **** 310:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3)) 311:Drivers/CMSIS/Include/cmsis_gcc.h **** /** 312:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Main Stack Pointer (non-secure) 313:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the non-secure Main Stack Pointer (MSP) when in secure stat 314:Drivers/CMSIS/Include/cmsis_gcc.h **** \return MSP Register value 315:Drivers/CMSIS/Include/cmsis_gcc.h **** */ 316:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_MSP_NS(void) 317:Drivers/CMSIS/Include/cmsis_gcc.h **** { 318:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result; 319:Drivers/CMSIS/Include/cmsis_gcc.h **** 320:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, msp_ns" : "=r" (result) ); 321:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result); 322:Drivers/CMSIS/Include/cmsis_gcc.h **** } 323:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif 324:Drivers/CMSIS/Include/cmsis_gcc.h **** 325:Drivers/CMSIS/Include/cmsis_gcc.h **** 326:Drivers/CMSIS/Include/cmsis_gcc.h **** /** 327:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Main Stack Pointer 328:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Main Stack Pointer (MSP). 329:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] topOfMainStack Main Stack Pointer value to set 330:Drivers/CMSIS/Include/cmsis_gcc.h **** */ 331:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_MSP(uint32_t topOfMainStack) 332:Drivers/CMSIS/Include/cmsis_gcc.h **** { 333:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR msp, %0" : : "r" (topOfMainStack) : ); 334:Drivers/CMSIS/Include/cmsis_gcc.h **** } 335:Drivers/CMSIS/Include/cmsis_gcc.h **** 336:Drivers/CMSIS/Include/cmsis_gcc.h **** 337:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3)) 338:Drivers/CMSIS/Include/cmsis_gcc.h **** /** 339:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Main Stack Pointer (non-secure) 340:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the non-secure Main Stack Pointer (MSP) when in secure state. 341:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] topOfMainStack Main Stack Pointer value to set ARM GAS /tmp/ccZKwQMo.s page 15 342:Drivers/CMSIS/Include/cmsis_gcc.h **** */ 343:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_MSP_NS(uint32_t topOfMainStack) 344:Drivers/CMSIS/Include/cmsis_gcc.h **** { 345:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR msp_ns, %0" : : "r" (topOfMainStack) : ); 346:Drivers/CMSIS/Include/cmsis_gcc.h **** } 347:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif 348:Drivers/CMSIS/Include/cmsis_gcc.h **** 349:Drivers/CMSIS/Include/cmsis_gcc.h **** 350:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3)) 351:Drivers/CMSIS/Include/cmsis_gcc.h **** /** 352:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Stack Pointer (non-secure) 353:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the non-secure Stack Pointer (SP) when in secure state. 354:Drivers/CMSIS/Include/cmsis_gcc.h **** \return SP Register value 355:Drivers/CMSIS/Include/cmsis_gcc.h **** */ 356:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_SP_NS(void) 357:Drivers/CMSIS/Include/cmsis_gcc.h **** { 358:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result; 359:Drivers/CMSIS/Include/cmsis_gcc.h **** 360:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, sp_ns" : "=r" (result) ); 361:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result); 362:Drivers/CMSIS/Include/cmsis_gcc.h **** } 363:Drivers/CMSIS/Include/cmsis_gcc.h **** 364:Drivers/CMSIS/Include/cmsis_gcc.h **** 365:Drivers/CMSIS/Include/cmsis_gcc.h **** /** 366:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Stack Pointer (non-secure) 367:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the non-secure Stack Pointer (SP) when in secure state. 368:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] topOfStack Stack Pointer value to set 369:Drivers/CMSIS/Include/cmsis_gcc.h **** */ 370:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_SP_NS(uint32_t topOfStack) 371:Drivers/CMSIS/Include/cmsis_gcc.h **** { 372:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR sp_ns, %0" : : "r" (topOfStack) : ); 373:Drivers/CMSIS/Include/cmsis_gcc.h **** } 374:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif 375:Drivers/CMSIS/Include/cmsis_gcc.h **** 376:Drivers/CMSIS/Include/cmsis_gcc.h **** 377:Drivers/CMSIS/Include/cmsis_gcc.h **** /** 378:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Priority Mask 379:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current state of the priority mask bit from the Priority Mask Register. 380:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Priority Mask value 381:Drivers/CMSIS/Include/cmsis_gcc.h **** */ 382:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_PRIMASK(void) 383:Drivers/CMSIS/Include/cmsis_gcc.h **** { 384:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result; 385:Drivers/CMSIS/Include/cmsis_gcc.h **** 386:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, primask" : "=r" (result) :: "memory"); 387:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result); 388:Drivers/CMSIS/Include/cmsis_gcc.h **** } 389:Drivers/CMSIS/Include/cmsis_gcc.h **** 390:Drivers/CMSIS/Include/cmsis_gcc.h **** 391:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3)) 392:Drivers/CMSIS/Include/cmsis_gcc.h **** /** 393:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Priority Mask (non-secure) 394:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current state of the non-secure priority mask bit from the Priority Mask Reg 395:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Priority Mask value 396:Drivers/CMSIS/Include/cmsis_gcc.h **** */ 397:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_PRIMASK_NS(void) 398:Drivers/CMSIS/Include/cmsis_gcc.h **** { ARM GAS /tmp/ccZKwQMo.s page 16 399:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result; 400:Drivers/CMSIS/Include/cmsis_gcc.h **** 401:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, primask_ns" : "=r" (result) :: "memory"); 402:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result); 403:Drivers/CMSIS/Include/cmsis_gcc.h **** } 404:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif 405:Drivers/CMSIS/Include/cmsis_gcc.h **** 406:Drivers/CMSIS/Include/cmsis_gcc.h **** 407:Drivers/CMSIS/Include/cmsis_gcc.h **** /** 408:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Priority Mask 409:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Priority Mask Register. 410:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] priMask Priority Mask 411:Drivers/CMSIS/Include/cmsis_gcc.h **** */ 412:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_PRIMASK(uint32_t priMask) 413:Drivers/CMSIS/Include/cmsis_gcc.h **** { 414:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR primask, %0" : : "r" (priMask) : "memory"); 415:Drivers/CMSIS/Include/cmsis_gcc.h **** } 416:Drivers/CMSIS/Include/cmsis_gcc.h **** 417:Drivers/CMSIS/Include/cmsis_gcc.h **** 418:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3)) 419:Drivers/CMSIS/Include/cmsis_gcc.h **** /** 420:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Priority Mask (non-secure) 421:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the non-secure Priority Mask Register when in secure state. 422:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] priMask Priority Mask 423:Drivers/CMSIS/Include/cmsis_gcc.h **** */ 424:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_PRIMASK_NS(uint32_t priMask) 425:Drivers/CMSIS/Include/cmsis_gcc.h **** { 426:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR primask_ns, %0" : : "r" (priMask) : "memory"); 427:Drivers/CMSIS/Include/cmsis_gcc.h **** } 428:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif 429:Drivers/CMSIS/Include/cmsis_gcc.h **** 430:Drivers/CMSIS/Include/cmsis_gcc.h **** 431:Drivers/CMSIS/Include/cmsis_gcc.h **** #if ((defined (__ARM_ARCH_7M__ ) && (__ARM_ARCH_7M__ == 1)) || \ 432:Drivers/CMSIS/Include/cmsis_gcc.h **** (defined (__ARM_ARCH_7EM__ ) && (__ARM_ARCH_7EM__ == 1)) || \ 433:Drivers/CMSIS/Include/cmsis_gcc.h **** (defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)) ) 434:Drivers/CMSIS/Include/cmsis_gcc.h **** /** 435:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Enable FIQ 436:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Enables FIQ interrupts by clearing the F-bit in the CPSR. 437:Drivers/CMSIS/Include/cmsis_gcc.h **** Can only be executed in Privileged modes. 438:Drivers/CMSIS/Include/cmsis_gcc.h **** */ 439:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __enable_fault_irq(void) 440:Drivers/CMSIS/Include/cmsis_gcc.h **** { 441:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("cpsie f" : : : "memory"); 442:Drivers/CMSIS/Include/cmsis_gcc.h **** } 443:Drivers/CMSIS/Include/cmsis_gcc.h **** 444:Drivers/CMSIS/Include/cmsis_gcc.h **** 445:Drivers/CMSIS/Include/cmsis_gcc.h **** /** 446:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Disable FIQ 447:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Disables FIQ interrupts by setting the F-bit in the CPSR. 448:Drivers/CMSIS/Include/cmsis_gcc.h **** Can only be executed in Privileged modes. 449:Drivers/CMSIS/Include/cmsis_gcc.h **** */ 450:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __disable_fault_irq(void) 451:Drivers/CMSIS/Include/cmsis_gcc.h **** { 452:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("cpsid f" : : : "memory"); 453:Drivers/CMSIS/Include/cmsis_gcc.h **** } 454:Drivers/CMSIS/Include/cmsis_gcc.h **** 455:Drivers/CMSIS/Include/cmsis_gcc.h **** ARM GAS /tmp/ccZKwQMo.s page 17 456:Drivers/CMSIS/Include/cmsis_gcc.h **** /** 457:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Base Priority 458:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the Base Priority register. 459:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Base Priority register value 460:Drivers/CMSIS/Include/cmsis_gcc.h **** */ 461:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_BASEPRI(void) 462:Drivers/CMSIS/Include/cmsis_gcc.h **** { 463:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result; 464:Drivers/CMSIS/Include/cmsis_gcc.h **** 465:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, basepri" : "=r" (result) ); 466:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result); 467:Drivers/CMSIS/Include/cmsis_gcc.h **** } 468:Drivers/CMSIS/Include/cmsis_gcc.h **** 469:Drivers/CMSIS/Include/cmsis_gcc.h **** 470:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3)) 471:Drivers/CMSIS/Include/cmsis_gcc.h **** /** 472:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Base Priority (non-secure) 473:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the non-secure Base Priority register when in secure state. 474:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Base Priority register value 475:Drivers/CMSIS/Include/cmsis_gcc.h **** */ 476:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_BASEPRI_NS(void) 477:Drivers/CMSIS/Include/cmsis_gcc.h **** { 478:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result; 479:Drivers/CMSIS/Include/cmsis_gcc.h **** 480:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, basepri_ns" : "=r" (result) ); 481:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result); 482:Drivers/CMSIS/Include/cmsis_gcc.h **** } 483:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif 484:Drivers/CMSIS/Include/cmsis_gcc.h **** 485:Drivers/CMSIS/Include/cmsis_gcc.h **** 486:Drivers/CMSIS/Include/cmsis_gcc.h **** /** 487:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Base Priority 488:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Base Priority register. 489:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] basePri Base Priority value to set 490:Drivers/CMSIS/Include/cmsis_gcc.h **** */ 491:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_BASEPRI(uint32_t basePri) 492:Drivers/CMSIS/Include/cmsis_gcc.h **** { 493:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR basepri, %0" : : "r" (basePri) : "memory"); 494:Drivers/CMSIS/Include/cmsis_gcc.h **** } 495:Drivers/CMSIS/Include/cmsis_gcc.h **** 496:Drivers/CMSIS/Include/cmsis_gcc.h **** 497:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3)) 498:Drivers/CMSIS/Include/cmsis_gcc.h **** /** 499:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Base Priority (non-secure) 500:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the non-secure Base Priority register when in secure state. 501:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] basePri Base Priority value to set 502:Drivers/CMSIS/Include/cmsis_gcc.h **** */ 503:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_BASEPRI_NS(uint32_t basePri) 504:Drivers/CMSIS/Include/cmsis_gcc.h **** { 505:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR basepri_ns, %0" : : "r" (basePri) : "memory"); 506:Drivers/CMSIS/Include/cmsis_gcc.h **** } 507:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif 508:Drivers/CMSIS/Include/cmsis_gcc.h **** 509:Drivers/CMSIS/Include/cmsis_gcc.h **** 510:Drivers/CMSIS/Include/cmsis_gcc.h **** /** 511:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Base Priority with condition 512:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Base Priority register only if BASEPRI masking is disable ARM GAS /tmp/ccZKwQMo.s page 18 513:Drivers/CMSIS/Include/cmsis_gcc.h **** or the new value increases the BASEPRI priority level. 514:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] basePri Base Priority value to set 515:Drivers/CMSIS/Include/cmsis_gcc.h **** */ 516:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_BASEPRI_MAX(uint32_t basePri) 517:Drivers/CMSIS/Include/cmsis_gcc.h **** { 518:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR basepri_max, %0" : : "r" (basePri) : "memory"); 519:Drivers/CMSIS/Include/cmsis_gcc.h **** } 520:Drivers/CMSIS/Include/cmsis_gcc.h **** 521:Drivers/CMSIS/Include/cmsis_gcc.h **** 522:Drivers/CMSIS/Include/cmsis_gcc.h **** /** 523:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Fault Mask 524:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the Fault Mask register. 525:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Fault Mask register value 526:Drivers/CMSIS/Include/cmsis_gcc.h **** */ 527:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_FAULTMASK(void) 528:Drivers/CMSIS/Include/cmsis_gcc.h **** { 529:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result; 530:Drivers/CMSIS/Include/cmsis_gcc.h **** 531:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, faultmask" : "=r" (result) ); 532:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result); 533:Drivers/CMSIS/Include/cmsis_gcc.h **** } 534:Drivers/CMSIS/Include/cmsis_gcc.h **** 535:Drivers/CMSIS/Include/cmsis_gcc.h **** 536:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3)) 537:Drivers/CMSIS/Include/cmsis_gcc.h **** /** 538:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Fault Mask (non-secure) 539:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the non-secure Fault Mask register when in secure state. 540:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Fault Mask register value 541:Drivers/CMSIS/Include/cmsis_gcc.h **** */ 542:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_FAULTMASK_NS(void) 543:Drivers/CMSIS/Include/cmsis_gcc.h **** { 544:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result; 545:Drivers/CMSIS/Include/cmsis_gcc.h **** 546:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, faultmask_ns" : "=r" (result) ); 547:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result); 548:Drivers/CMSIS/Include/cmsis_gcc.h **** } 549:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif 550:Drivers/CMSIS/Include/cmsis_gcc.h **** 551:Drivers/CMSIS/Include/cmsis_gcc.h **** 552:Drivers/CMSIS/Include/cmsis_gcc.h **** /** 553:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Fault Mask 554:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Fault Mask register. 555:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] faultMask Fault Mask value to set 556:Drivers/CMSIS/Include/cmsis_gcc.h **** */ 557:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_FAULTMASK(uint32_t faultMask) 558:Drivers/CMSIS/Include/cmsis_gcc.h **** { 559:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR faultmask, %0" : : "r" (faultMask) : "memory"); 560:Drivers/CMSIS/Include/cmsis_gcc.h **** } 561:Drivers/CMSIS/Include/cmsis_gcc.h **** 562:Drivers/CMSIS/Include/cmsis_gcc.h **** 563:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3)) 564:Drivers/CMSIS/Include/cmsis_gcc.h **** /** 565:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Fault Mask (non-secure) 566:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the non-secure Fault Mask register when in secure state. 567:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] faultMask Fault Mask value to set 568:Drivers/CMSIS/Include/cmsis_gcc.h **** */ 569:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_FAULTMASK_NS(uint32_t faultMask) ARM GAS /tmp/ccZKwQMo.s page 19 570:Drivers/CMSIS/Include/cmsis_gcc.h **** { 571:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR faultmask_ns, %0" : : "r" (faultMask) : "memory"); 572:Drivers/CMSIS/Include/cmsis_gcc.h **** } 573:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif 574:Drivers/CMSIS/Include/cmsis_gcc.h **** 575:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif /* ((defined (__ARM_ARCH_7M__ ) && (__ARM_ARCH_7M__ == 1)) || \ 576:Drivers/CMSIS/Include/cmsis_gcc.h **** (defined (__ARM_ARCH_7EM__ ) && (__ARM_ARCH_7EM__ == 1)) || \ 577:Drivers/CMSIS/Include/cmsis_gcc.h **** (defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)) ) */ 578:Drivers/CMSIS/Include/cmsis_gcc.h **** 579:Drivers/CMSIS/Include/cmsis_gcc.h **** 580:Drivers/CMSIS/Include/cmsis_gcc.h **** #if ((defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)) || \ 581:Drivers/CMSIS/Include/cmsis_gcc.h **** (defined (__ARM_ARCH_8M_BASE__ ) && (__ARM_ARCH_8M_BASE__ == 1)) ) 582:Drivers/CMSIS/Include/cmsis_gcc.h **** 583:Drivers/CMSIS/Include/cmsis_gcc.h **** /** 584:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Process Stack Pointer Limit 585:Drivers/CMSIS/Include/cmsis_gcc.h **** Devices without ARMv8-M Main Extensions (i.e. Cortex-M23) lack the non-secure 586:Drivers/CMSIS/Include/cmsis_gcc.h **** Stack Pointer Limit register hence zero is returned always in non-secure 587:Drivers/CMSIS/Include/cmsis_gcc.h **** mode. 588:Drivers/CMSIS/Include/cmsis_gcc.h **** 589:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the Process Stack Pointer Limit (PSPLIM). 590:Drivers/CMSIS/Include/cmsis_gcc.h **** \return PSPLIM Register value 591:Drivers/CMSIS/Include/cmsis_gcc.h **** */ 592:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_PSPLIM(void) 593:Drivers/CMSIS/Include/cmsis_gcc.h **** { 594:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (!(defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)) && \ 595:Drivers/CMSIS/Include/cmsis_gcc.h **** (!defined (__ARM_FEATURE_CMSE) || (__ARM_FEATURE_CMSE < 3))) 596:Drivers/CMSIS/Include/cmsis_gcc.h **** // without main extensions, the non-secure PSPLIM is RAZ/WI 597:Drivers/CMSIS/Include/cmsis_gcc.h **** return 0U; 598:Drivers/CMSIS/Include/cmsis_gcc.h **** #else 599:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result; 600:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, psplim" : "=r" (result) ); 601:Drivers/CMSIS/Include/cmsis_gcc.h **** return result; 602:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif 603:Drivers/CMSIS/Include/cmsis_gcc.h **** } 604:Drivers/CMSIS/Include/cmsis_gcc.h **** 605:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE) && (__ARM_FEATURE_CMSE == 3)) 606:Drivers/CMSIS/Include/cmsis_gcc.h **** /** 607:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Process Stack Pointer Limit (non-secure) 608:Drivers/CMSIS/Include/cmsis_gcc.h **** Devices without ARMv8-M Main Extensions (i.e. Cortex-M23) lack the non-secure 609:Drivers/CMSIS/Include/cmsis_gcc.h **** Stack Pointer Limit register hence zero is returned always. 610:Drivers/CMSIS/Include/cmsis_gcc.h **** 611:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the non-secure Process Stack Pointer Limit (PSPLIM) when in 612:Drivers/CMSIS/Include/cmsis_gcc.h **** \return PSPLIM Register value 613:Drivers/CMSIS/Include/cmsis_gcc.h **** */ 614:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_PSPLIM_NS(void) 615:Drivers/CMSIS/Include/cmsis_gcc.h **** { 616:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (!(defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1))) 617:Drivers/CMSIS/Include/cmsis_gcc.h **** // without main extensions, the non-secure PSPLIM is RAZ/WI 618:Drivers/CMSIS/Include/cmsis_gcc.h **** return 0U; 619:Drivers/CMSIS/Include/cmsis_gcc.h **** #else 620:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result; 621:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, psplim_ns" : "=r" (result) ); 622:Drivers/CMSIS/Include/cmsis_gcc.h **** return result; 623:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif 624:Drivers/CMSIS/Include/cmsis_gcc.h **** } 625:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif 626:Drivers/CMSIS/Include/cmsis_gcc.h **** ARM GAS /tmp/ccZKwQMo.s page 20 627:Drivers/CMSIS/Include/cmsis_gcc.h **** 628:Drivers/CMSIS/Include/cmsis_gcc.h **** /** 629:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Process Stack Pointer Limit 630:Drivers/CMSIS/Include/cmsis_gcc.h **** Devices without ARMv8-M Main Extensions (i.e. Cortex-M23) lack the non-secure 631:Drivers/CMSIS/Include/cmsis_gcc.h **** Stack Pointer Limit register hence the write is silently ignored in non-secure 632:Drivers/CMSIS/Include/cmsis_gcc.h **** mode. 633:Drivers/CMSIS/Include/cmsis_gcc.h **** 634:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Process Stack Pointer Limit (PSPLIM). 635:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] ProcStackPtrLimit Process Stack Pointer Limit value to set 636:Drivers/CMSIS/Include/cmsis_gcc.h **** */ 637:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_PSPLIM(uint32_t ProcStackPtrLimit) 638:Drivers/CMSIS/Include/cmsis_gcc.h **** { 639:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (!(defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)) && \ 640:Drivers/CMSIS/Include/cmsis_gcc.h **** (!defined (__ARM_FEATURE_CMSE) || (__ARM_FEATURE_CMSE < 3))) 641:Drivers/CMSIS/Include/cmsis_gcc.h **** // without main extensions, the non-secure PSPLIM is RAZ/WI 642:Drivers/CMSIS/Include/cmsis_gcc.h **** (void)ProcStackPtrLimit; 643:Drivers/CMSIS/Include/cmsis_gcc.h **** #else 644:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR psplim, %0" : : "r" (ProcStackPtrLimit)); 645:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif 646:Drivers/CMSIS/Include/cmsis_gcc.h **** } 647:Drivers/CMSIS/Include/cmsis_gcc.h **** 648:Drivers/CMSIS/Include/cmsis_gcc.h **** 649:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3)) 650:Drivers/CMSIS/Include/cmsis_gcc.h **** /** 651:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Process Stack Pointer (non-secure) 652:Drivers/CMSIS/Include/cmsis_gcc.h **** Devices without ARMv8-M Main Extensions (i.e. Cortex-M23) lack the non-secure 653:Drivers/CMSIS/Include/cmsis_gcc.h **** Stack Pointer Limit register hence the write is silently ignored. 654:Drivers/CMSIS/Include/cmsis_gcc.h **** 655:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the non-secure Process Stack Pointer Limit (PSPLIM) when in s 656:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] ProcStackPtrLimit Process Stack Pointer Limit value to set 657:Drivers/CMSIS/Include/cmsis_gcc.h **** */ 658:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_PSPLIM_NS(uint32_t ProcStackPtrLimit) 659:Drivers/CMSIS/Include/cmsis_gcc.h **** { 660:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (!(defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1))) 661:Drivers/CMSIS/Include/cmsis_gcc.h **** // without main extensions, the non-secure PSPLIM is RAZ/WI 662:Drivers/CMSIS/Include/cmsis_gcc.h **** (void)ProcStackPtrLimit; 663:Drivers/CMSIS/Include/cmsis_gcc.h **** #else 664:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR psplim_ns, %0\n" : : "r" (ProcStackPtrLimit)); 665:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif 666:Drivers/CMSIS/Include/cmsis_gcc.h **** } 667:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif 668:Drivers/CMSIS/Include/cmsis_gcc.h **** 669:Drivers/CMSIS/Include/cmsis_gcc.h **** 670:Drivers/CMSIS/Include/cmsis_gcc.h **** /** 671:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Main Stack Pointer Limit 672:Drivers/CMSIS/Include/cmsis_gcc.h **** Devices without ARMv8-M Main Extensions (i.e. Cortex-M23) lack the non-secure 673:Drivers/CMSIS/Include/cmsis_gcc.h **** Stack Pointer Limit register hence zero is returned always in non-secure 674:Drivers/CMSIS/Include/cmsis_gcc.h **** mode. 675:Drivers/CMSIS/Include/cmsis_gcc.h **** 676:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the Main Stack Pointer Limit (MSPLIM). 677:Drivers/CMSIS/Include/cmsis_gcc.h **** \return MSPLIM Register value 678:Drivers/CMSIS/Include/cmsis_gcc.h **** */ 679:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_MSPLIM(void) 680:Drivers/CMSIS/Include/cmsis_gcc.h **** { 681:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (!(defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)) && \ 682:Drivers/CMSIS/Include/cmsis_gcc.h **** (!defined (__ARM_FEATURE_CMSE) || (__ARM_FEATURE_CMSE < 3))) 683:Drivers/CMSIS/Include/cmsis_gcc.h **** // without main extensions, the non-secure MSPLIM is RAZ/WI ARM GAS /tmp/ccZKwQMo.s page 21 684:Drivers/CMSIS/Include/cmsis_gcc.h **** return 0U; 685:Drivers/CMSIS/Include/cmsis_gcc.h **** #else 686:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result; 687:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, msplim" : "=r" (result) ); 688:Drivers/CMSIS/Include/cmsis_gcc.h **** return result; 689:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif 690:Drivers/CMSIS/Include/cmsis_gcc.h **** } 691:Drivers/CMSIS/Include/cmsis_gcc.h **** 692:Drivers/CMSIS/Include/cmsis_gcc.h **** 693:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3)) 694:Drivers/CMSIS/Include/cmsis_gcc.h **** /** 695:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get Main Stack Pointer Limit (non-secure) 696:Drivers/CMSIS/Include/cmsis_gcc.h **** Devices without ARMv8-M Main Extensions (i.e. Cortex-M23) lack the non-secure 697:Drivers/CMSIS/Include/cmsis_gcc.h **** Stack Pointer Limit register hence zero is returned always. 698:Drivers/CMSIS/Include/cmsis_gcc.h **** 699:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the non-secure Main Stack Pointer Limit(MSPLIM) when in sec 700:Drivers/CMSIS/Include/cmsis_gcc.h **** \return MSPLIM Register value 701:Drivers/CMSIS/Include/cmsis_gcc.h **** */ 702:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __TZ_get_MSPLIM_NS(void) 703:Drivers/CMSIS/Include/cmsis_gcc.h **** { 704:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (!(defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1))) 705:Drivers/CMSIS/Include/cmsis_gcc.h **** // without main extensions, the non-secure MSPLIM is RAZ/WI 706:Drivers/CMSIS/Include/cmsis_gcc.h **** return 0U; 707:Drivers/CMSIS/Include/cmsis_gcc.h **** #else 708:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result; 709:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MRS %0, msplim_ns" : "=r" (result) ); 710:Drivers/CMSIS/Include/cmsis_gcc.h **** return result; 711:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif 712:Drivers/CMSIS/Include/cmsis_gcc.h **** } 713:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif 714:Drivers/CMSIS/Include/cmsis_gcc.h **** 715:Drivers/CMSIS/Include/cmsis_gcc.h **** 716:Drivers/CMSIS/Include/cmsis_gcc.h **** /** 717:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Main Stack Pointer Limit 718:Drivers/CMSIS/Include/cmsis_gcc.h **** Devices without ARMv8-M Main Extensions (i.e. Cortex-M23) lack the non-secure 719:Drivers/CMSIS/Include/cmsis_gcc.h **** Stack Pointer Limit register hence the write is silently ignored in non-secure 720:Drivers/CMSIS/Include/cmsis_gcc.h **** mode. 721:Drivers/CMSIS/Include/cmsis_gcc.h **** 722:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Main Stack Pointer Limit (MSPLIM). 723:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] MainStackPtrLimit Main Stack Pointer Limit value to set 724:Drivers/CMSIS/Include/cmsis_gcc.h **** */ 725:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_MSPLIM(uint32_t MainStackPtrLimit) 726:Drivers/CMSIS/Include/cmsis_gcc.h **** { 727:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (!(defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)) && \ 728:Drivers/CMSIS/Include/cmsis_gcc.h **** (!defined (__ARM_FEATURE_CMSE) || (__ARM_FEATURE_CMSE < 3))) 729:Drivers/CMSIS/Include/cmsis_gcc.h **** // without main extensions, the non-secure MSPLIM is RAZ/WI 730:Drivers/CMSIS/Include/cmsis_gcc.h **** (void)MainStackPtrLimit; 731:Drivers/CMSIS/Include/cmsis_gcc.h **** #else 732:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR msplim, %0" : : "r" (MainStackPtrLimit)); 733:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif 734:Drivers/CMSIS/Include/cmsis_gcc.h **** } 735:Drivers/CMSIS/Include/cmsis_gcc.h **** 736:Drivers/CMSIS/Include/cmsis_gcc.h **** 737:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (defined (__ARM_FEATURE_CMSE ) && (__ARM_FEATURE_CMSE == 3)) 738:Drivers/CMSIS/Include/cmsis_gcc.h **** /** 739:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set Main Stack Pointer Limit (non-secure) 740:Drivers/CMSIS/Include/cmsis_gcc.h **** Devices without ARMv8-M Main Extensions (i.e. Cortex-M23) lack the non-secure ARM GAS /tmp/ccZKwQMo.s page 22 741:Drivers/CMSIS/Include/cmsis_gcc.h **** Stack Pointer Limit register hence the write is silently ignored. 742:Drivers/CMSIS/Include/cmsis_gcc.h **** 743:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the non-secure Main Stack Pointer Limit (MSPLIM) when in secu 744:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] MainStackPtrLimit Main Stack Pointer value to set 745:Drivers/CMSIS/Include/cmsis_gcc.h **** */ 746:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __TZ_set_MSPLIM_NS(uint32_t MainStackPtrLimit) 747:Drivers/CMSIS/Include/cmsis_gcc.h **** { 748:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (!(defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1))) 749:Drivers/CMSIS/Include/cmsis_gcc.h **** // without main extensions, the non-secure MSPLIM is RAZ/WI 750:Drivers/CMSIS/Include/cmsis_gcc.h **** (void)MainStackPtrLimit; 751:Drivers/CMSIS/Include/cmsis_gcc.h **** #else 752:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("MSR msplim_ns, %0" : : "r" (MainStackPtrLimit)); 753:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif 754:Drivers/CMSIS/Include/cmsis_gcc.h **** } 755:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif 756:Drivers/CMSIS/Include/cmsis_gcc.h **** 757:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif /* ((defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)) || \ 758:Drivers/CMSIS/Include/cmsis_gcc.h **** (defined (__ARM_ARCH_8M_BASE__ ) && (__ARM_ARCH_8M_BASE__ == 1)) ) */ 759:Drivers/CMSIS/Include/cmsis_gcc.h **** 760:Drivers/CMSIS/Include/cmsis_gcc.h **** 761:Drivers/CMSIS/Include/cmsis_gcc.h **** /** 762:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Get FPSCR 763:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Returns the current value of the Floating Point Status/Control register. 764:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Floating Point Status/Control register value 765:Drivers/CMSIS/Include/cmsis_gcc.h **** */ 766:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __get_FPSCR(void) 767:Drivers/CMSIS/Include/cmsis_gcc.h **** { 768:Drivers/CMSIS/Include/cmsis_gcc.h **** #if ((defined (__FPU_PRESENT) && (__FPU_PRESENT == 1U)) && \ 769:Drivers/CMSIS/Include/cmsis_gcc.h **** (defined (__FPU_USED ) && (__FPU_USED == 1U)) ) 770:Drivers/CMSIS/Include/cmsis_gcc.h **** #if __has_builtin(__builtin_arm_get_fpscr) 771:Drivers/CMSIS/Include/cmsis_gcc.h **** // Re-enable using built-in when GCC has been fixed 772:Drivers/CMSIS/Include/cmsis_gcc.h **** // || (__GNUC__ > 7) || (__GNUC__ == 7 && __GNUC_MINOR__ >= 2) 773:Drivers/CMSIS/Include/cmsis_gcc.h **** /* see https://gcc.gnu.org/ml/gcc-patches/2017-04/msg00443.html */ 774:Drivers/CMSIS/Include/cmsis_gcc.h **** return __builtin_arm_get_fpscr(); 775:Drivers/CMSIS/Include/cmsis_gcc.h **** #else 776:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result; 777:Drivers/CMSIS/Include/cmsis_gcc.h **** 778:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("VMRS %0, fpscr" : "=r" (result) ); 779:Drivers/CMSIS/Include/cmsis_gcc.h **** return(result); 780:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif 781:Drivers/CMSIS/Include/cmsis_gcc.h **** #else 782:Drivers/CMSIS/Include/cmsis_gcc.h **** return(0U); 783:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif 784:Drivers/CMSIS/Include/cmsis_gcc.h **** } 785:Drivers/CMSIS/Include/cmsis_gcc.h **** 786:Drivers/CMSIS/Include/cmsis_gcc.h **** 787:Drivers/CMSIS/Include/cmsis_gcc.h **** /** 788:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Set FPSCR 789:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Assigns the given value to the Floating Point Status/Control register. 790:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] fpscr Floating Point Status/Control value to set 791:Drivers/CMSIS/Include/cmsis_gcc.h **** */ 792:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __set_FPSCR(uint32_t fpscr) 793:Drivers/CMSIS/Include/cmsis_gcc.h **** { 794:Drivers/CMSIS/Include/cmsis_gcc.h **** #if ((defined (__FPU_PRESENT) && (__FPU_PRESENT == 1U)) && \ 795:Drivers/CMSIS/Include/cmsis_gcc.h **** (defined (__FPU_USED ) && (__FPU_USED == 1U)) ) 796:Drivers/CMSIS/Include/cmsis_gcc.h **** #if __has_builtin(__builtin_arm_set_fpscr) 797:Drivers/CMSIS/Include/cmsis_gcc.h **** // Re-enable using built-in when GCC has been fixed ARM GAS /tmp/ccZKwQMo.s page 23 798:Drivers/CMSIS/Include/cmsis_gcc.h **** // || (__GNUC__ > 7) || (__GNUC__ == 7 && __GNUC_MINOR__ >= 2) 799:Drivers/CMSIS/Include/cmsis_gcc.h **** /* see https://gcc.gnu.org/ml/gcc-patches/2017-04/msg00443.html */ 800:Drivers/CMSIS/Include/cmsis_gcc.h **** __builtin_arm_set_fpscr(fpscr); 801:Drivers/CMSIS/Include/cmsis_gcc.h **** #else 802:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("VMSR fpscr, %0" : : "r" (fpscr) : "vfpcc", "memory"); 803:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif 804:Drivers/CMSIS/Include/cmsis_gcc.h **** #else 805:Drivers/CMSIS/Include/cmsis_gcc.h **** (void)fpscr; 806:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif 807:Drivers/CMSIS/Include/cmsis_gcc.h **** } 808:Drivers/CMSIS/Include/cmsis_gcc.h **** 809:Drivers/CMSIS/Include/cmsis_gcc.h **** 810:Drivers/CMSIS/Include/cmsis_gcc.h **** /*@} end of CMSIS_Core_RegAccFunctions */ 811:Drivers/CMSIS/Include/cmsis_gcc.h **** 812:Drivers/CMSIS/Include/cmsis_gcc.h **** 813:Drivers/CMSIS/Include/cmsis_gcc.h **** /* ########################## Core Instruction Access ######################### */ 814:Drivers/CMSIS/Include/cmsis_gcc.h **** /** \defgroup CMSIS_Core_InstructionInterface CMSIS Core Instruction Interface 815:Drivers/CMSIS/Include/cmsis_gcc.h **** Access to dedicated instructions 816:Drivers/CMSIS/Include/cmsis_gcc.h **** @{ 817:Drivers/CMSIS/Include/cmsis_gcc.h **** */ 818:Drivers/CMSIS/Include/cmsis_gcc.h **** 819:Drivers/CMSIS/Include/cmsis_gcc.h **** /* Define macros for porting to both thumb1 and thumb2. 820:Drivers/CMSIS/Include/cmsis_gcc.h **** * For thumb1, use low register (r0-r7), specified by constraint "l" 821:Drivers/CMSIS/Include/cmsis_gcc.h **** * Otherwise, use general registers, specified by constraint "r" */ 822:Drivers/CMSIS/Include/cmsis_gcc.h **** #if defined (__thumb__) && !defined (__thumb2__) 823:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __CMSIS_GCC_OUT_REG(r) "=l" (r) 824:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __CMSIS_GCC_RW_REG(r) "+l" (r) 825:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __CMSIS_GCC_USE_REG(r) "l" (r) 826:Drivers/CMSIS/Include/cmsis_gcc.h **** #else 827:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __CMSIS_GCC_OUT_REG(r) "=r" (r) 828:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __CMSIS_GCC_RW_REG(r) "+r" (r) 829:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __CMSIS_GCC_USE_REG(r) "r" (r) 830:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif 831:Drivers/CMSIS/Include/cmsis_gcc.h **** 832:Drivers/CMSIS/Include/cmsis_gcc.h **** /** 833:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief No Operation 834:Drivers/CMSIS/Include/cmsis_gcc.h **** \details No Operation does nothing. This instruction can be used for code alignment purposes. 835:Drivers/CMSIS/Include/cmsis_gcc.h **** */ 836:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __NOP() __ASM volatile ("nop") 837:Drivers/CMSIS/Include/cmsis_gcc.h **** 838:Drivers/CMSIS/Include/cmsis_gcc.h **** /** 839:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Wait For Interrupt 840:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Wait For Interrupt is a hint instruction that suspends execution until one of a number o 841:Drivers/CMSIS/Include/cmsis_gcc.h **** */ 842:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __WFI() __ASM volatile ("wfi") 843:Drivers/CMSIS/Include/cmsis_gcc.h **** 844:Drivers/CMSIS/Include/cmsis_gcc.h **** 845:Drivers/CMSIS/Include/cmsis_gcc.h **** /** 846:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Wait For Event 847:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Wait For Event is a hint instruction that permits the processor to enter 848:Drivers/CMSIS/Include/cmsis_gcc.h **** a low-power state until one of a number of events occurs. 849:Drivers/CMSIS/Include/cmsis_gcc.h **** */ 850:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __WFE() __ASM volatile ("wfe") 851:Drivers/CMSIS/Include/cmsis_gcc.h **** 852:Drivers/CMSIS/Include/cmsis_gcc.h **** 853:Drivers/CMSIS/Include/cmsis_gcc.h **** /** 854:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Send Event ARM GAS /tmp/ccZKwQMo.s page 24 855:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Send Event is a hint instruction. It causes an event to be signaled to the CPU. 856:Drivers/CMSIS/Include/cmsis_gcc.h **** */ 857:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __SEV() __ASM volatile ("sev") 858:Drivers/CMSIS/Include/cmsis_gcc.h **** 859:Drivers/CMSIS/Include/cmsis_gcc.h **** 860:Drivers/CMSIS/Include/cmsis_gcc.h **** /** 861:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Instruction Synchronization Barrier 862:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Instruction Synchronization Barrier flushes the pipeline in the processor, 863:Drivers/CMSIS/Include/cmsis_gcc.h **** so that all instructions following the ISB are fetched from cache or memory, 864:Drivers/CMSIS/Include/cmsis_gcc.h **** after the instruction has been completed. 865:Drivers/CMSIS/Include/cmsis_gcc.h **** */ 866:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __ISB(void) 867:Drivers/CMSIS/Include/cmsis_gcc.h **** { 868:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("isb 0xF":::"memory"); 869:Drivers/CMSIS/Include/cmsis_gcc.h **** } 870:Drivers/CMSIS/Include/cmsis_gcc.h **** 871:Drivers/CMSIS/Include/cmsis_gcc.h **** 872:Drivers/CMSIS/Include/cmsis_gcc.h **** /** 873:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Data Synchronization Barrier 874:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Acts as a special kind of Data Memory Barrier. 875:Drivers/CMSIS/Include/cmsis_gcc.h **** It completes when all explicit memory accesses before this instruction complete. 876:Drivers/CMSIS/Include/cmsis_gcc.h **** */ 877:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __DSB(void) 878:Drivers/CMSIS/Include/cmsis_gcc.h **** { 879:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("dsb 0xF":::"memory"); 880:Drivers/CMSIS/Include/cmsis_gcc.h **** } 881:Drivers/CMSIS/Include/cmsis_gcc.h **** 882:Drivers/CMSIS/Include/cmsis_gcc.h **** 883:Drivers/CMSIS/Include/cmsis_gcc.h **** /** 884:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Data Memory Barrier 885:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Ensures the apparent order of the explicit memory operations before 886:Drivers/CMSIS/Include/cmsis_gcc.h **** and after the instruction, without ensuring their completion. 887:Drivers/CMSIS/Include/cmsis_gcc.h **** */ 888:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE void __DMB(void) 889:Drivers/CMSIS/Include/cmsis_gcc.h **** { 890:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("dmb 0xF":::"memory"); 891:Drivers/CMSIS/Include/cmsis_gcc.h **** } 892:Drivers/CMSIS/Include/cmsis_gcc.h **** 893:Drivers/CMSIS/Include/cmsis_gcc.h **** 894:Drivers/CMSIS/Include/cmsis_gcc.h **** /** 895:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Reverse byte order (32 bit) 896:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Reverses the byte order in unsigned integer value. For example, 0x12345678 becomes 0x785 897:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] value Value to reverse 898:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Reversed value 899:Drivers/CMSIS/Include/cmsis_gcc.h **** */ 900:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __REV(uint32_t value) 901:Drivers/CMSIS/Include/cmsis_gcc.h **** { 902:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (__GNUC__ > 4) || (__GNUC__ == 4 && __GNUC_MINOR__ >= 5) 903:Drivers/CMSIS/Include/cmsis_gcc.h **** return __builtin_bswap32(value); 904:Drivers/CMSIS/Include/cmsis_gcc.h **** #else 905:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result; 906:Drivers/CMSIS/Include/cmsis_gcc.h **** 907:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("rev %0, %1" : __CMSIS_GCC_OUT_REG (result) : __CMSIS_GCC_USE_REG (value) ); 908:Drivers/CMSIS/Include/cmsis_gcc.h **** return result; 909:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif 910:Drivers/CMSIS/Include/cmsis_gcc.h **** } 911:Drivers/CMSIS/Include/cmsis_gcc.h **** ARM GAS /tmp/ccZKwQMo.s page 25 912:Drivers/CMSIS/Include/cmsis_gcc.h **** 913:Drivers/CMSIS/Include/cmsis_gcc.h **** /** 914:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Reverse byte order (16 bit) 915:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Reverses the byte order within each halfword of a word. For example, 0x12345678 becomes 916:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] value Value to reverse 917:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Reversed value 918:Drivers/CMSIS/Include/cmsis_gcc.h **** */ 919:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __REV16(uint32_t value) 920:Drivers/CMSIS/Include/cmsis_gcc.h **** { 921:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result; 922:Drivers/CMSIS/Include/cmsis_gcc.h **** 923:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("rev16 %0, %1" : __CMSIS_GCC_OUT_REG (result) : __CMSIS_GCC_USE_REG (value) ); 924:Drivers/CMSIS/Include/cmsis_gcc.h **** return result; 925:Drivers/CMSIS/Include/cmsis_gcc.h **** } 926:Drivers/CMSIS/Include/cmsis_gcc.h **** 927:Drivers/CMSIS/Include/cmsis_gcc.h **** 928:Drivers/CMSIS/Include/cmsis_gcc.h **** /** 929:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Reverse byte order (16 bit) 930:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Reverses the byte order in a 16-bit value and returns the signed 16-bit result. For exam 931:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] value Value to reverse 932:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Reversed value 933:Drivers/CMSIS/Include/cmsis_gcc.h **** */ 934:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE int16_t __REVSH(int16_t value) 935:Drivers/CMSIS/Include/cmsis_gcc.h **** { 936:Drivers/CMSIS/Include/cmsis_gcc.h **** #if (__GNUC__ > 4) || (__GNUC__ == 4 && __GNUC_MINOR__ >= 8) 937:Drivers/CMSIS/Include/cmsis_gcc.h **** return (int16_t)__builtin_bswap16(value); 938:Drivers/CMSIS/Include/cmsis_gcc.h **** #else 939:Drivers/CMSIS/Include/cmsis_gcc.h **** int16_t result; 940:Drivers/CMSIS/Include/cmsis_gcc.h **** 941:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("revsh %0, %1" : __CMSIS_GCC_OUT_REG (result) : __CMSIS_GCC_USE_REG (value) ); 942:Drivers/CMSIS/Include/cmsis_gcc.h **** return result; 943:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif 944:Drivers/CMSIS/Include/cmsis_gcc.h **** } 945:Drivers/CMSIS/Include/cmsis_gcc.h **** 946:Drivers/CMSIS/Include/cmsis_gcc.h **** 947:Drivers/CMSIS/Include/cmsis_gcc.h **** /** 948:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Rotate Right in unsigned value (32 bit) 949:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Rotate Right (immediate) provides the value of the contents of a register rotated by a v 950:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] op1 Value to rotate 951:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] op2 Number of Bits to rotate 952:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Rotated value 953:Drivers/CMSIS/Include/cmsis_gcc.h **** */ 954:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __ROR(uint32_t op1, uint32_t op2) 955:Drivers/CMSIS/Include/cmsis_gcc.h **** { 956:Drivers/CMSIS/Include/cmsis_gcc.h **** op2 %= 32U; 957:Drivers/CMSIS/Include/cmsis_gcc.h **** if (op2 == 0U) 958:Drivers/CMSIS/Include/cmsis_gcc.h **** { 959:Drivers/CMSIS/Include/cmsis_gcc.h **** return op1; 960:Drivers/CMSIS/Include/cmsis_gcc.h **** } 961:Drivers/CMSIS/Include/cmsis_gcc.h **** return (op1 >> op2) | (op1 << (32U - op2)); 962:Drivers/CMSIS/Include/cmsis_gcc.h **** } 963:Drivers/CMSIS/Include/cmsis_gcc.h **** 964:Drivers/CMSIS/Include/cmsis_gcc.h **** 965:Drivers/CMSIS/Include/cmsis_gcc.h **** /** 966:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Breakpoint 967:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Causes the processor to enter Debug state. 968:Drivers/CMSIS/Include/cmsis_gcc.h **** Debug tools can use this to investigate system state when the instruction at a particula ARM GAS /tmp/ccZKwQMo.s page 26 969:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] value is ignored by the processor. 970:Drivers/CMSIS/Include/cmsis_gcc.h **** If required, a debugger can use it to store additional information about the break 971:Drivers/CMSIS/Include/cmsis_gcc.h **** */ 972:Drivers/CMSIS/Include/cmsis_gcc.h **** #define __BKPT(value) __ASM volatile ("bkpt "#value) 973:Drivers/CMSIS/Include/cmsis_gcc.h **** 974:Drivers/CMSIS/Include/cmsis_gcc.h **** 975:Drivers/CMSIS/Include/cmsis_gcc.h **** /** 976:Drivers/CMSIS/Include/cmsis_gcc.h **** \brief Reverse bit order of value 977:Drivers/CMSIS/Include/cmsis_gcc.h **** \details Reverses the bit order of the given value. 978:Drivers/CMSIS/Include/cmsis_gcc.h **** \param [in] value Value to reverse 979:Drivers/CMSIS/Include/cmsis_gcc.h **** \return Reversed value 980:Drivers/CMSIS/Include/cmsis_gcc.h **** */ 981:Drivers/CMSIS/Include/cmsis_gcc.h **** __STATIC_FORCEINLINE uint32_t __RBIT(uint32_t value) 44 .loc 3 981 31 view .LVU3 45 .LBB77: 982:Drivers/CMSIS/Include/cmsis_gcc.h **** { 983:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t result; 46 .loc 3 983 3 view .LVU4 984:Drivers/CMSIS/Include/cmsis_gcc.h **** 985:Drivers/CMSIS/Include/cmsis_gcc.h **** #if ((defined (__ARM_ARCH_7M__ ) && (__ARM_ARCH_7M__ == 1)) || \ 986:Drivers/CMSIS/Include/cmsis_gcc.h **** (defined (__ARM_ARCH_7EM__ ) && (__ARM_ARCH_7EM__ == 1)) || \ 987:Drivers/CMSIS/Include/cmsis_gcc.h **** (defined (__ARM_ARCH_8M_MAIN__ ) && (__ARM_ARCH_8M_MAIN__ == 1)) ) 988:Drivers/CMSIS/Include/cmsis_gcc.h **** __ASM volatile ("rbit %0, %1" : "=r" (result) : "r" (value) ); 47 .loc 3 988 4 view .LVU5 48 .syntax unified 49 @ 988 "Drivers/CMSIS/Include/cmsis_gcc.h" 1 50 0004 91FAA1FC rbit ip, r1 51 @ 0 "" 2 52 .LVL2: 989:Drivers/CMSIS/Include/cmsis_gcc.h **** #else 990:Drivers/CMSIS/Include/cmsis_gcc.h **** uint32_t s = (4U /*sizeof(v)*/ * 8U) - 1U; /* extra shift needed at end */ 991:Drivers/CMSIS/Include/cmsis_gcc.h **** 992:Drivers/CMSIS/Include/cmsis_gcc.h **** result = value; /* r will be reversed bits of v; first get LSB of v */ 993:Drivers/CMSIS/Include/cmsis_gcc.h **** for (value >>= 1U; value != 0U; value >>= 1U) 994:Drivers/CMSIS/Include/cmsis_gcc.h **** { 995:Drivers/CMSIS/Include/cmsis_gcc.h **** result <<= 1U; 996:Drivers/CMSIS/Include/cmsis_gcc.h **** result |= value & 1U; 997:Drivers/CMSIS/Include/cmsis_gcc.h **** s--; 998:Drivers/CMSIS/Include/cmsis_gcc.h **** } 999:Drivers/CMSIS/Include/cmsis_gcc.h **** result <<= s; /* shift when v's highest bits are zero */ 1000:Drivers/CMSIS/Include/cmsis_gcc.h **** #endif 1001:Drivers/CMSIS/Include/cmsis_gcc.h **** return result; 53 .loc 3 1001 3 view .LVU6 54 .loc 3 1001 3 is_stmt 0 view .LVU7 55 .thumb 56 .syntax unified 57 .LBE77: 58 .LBE76: 59 .loc 2 415 3 discriminator 2 view .LVU8 60 0008 BCFA8CFC clz ip, ip 61 000c 4FEA4C0C lsl ip, ip, #1 62 0010 4FF0030E mov lr, #3 63 0014 0EFA0CFC lsl ip, lr, ip 64 0018 23EA0C03 bic r3, r3, ip 65 .LVL3: 66 .LBB78: 67 .LBI78: ARM GAS /tmp/ccZKwQMo.s page 27 981:Drivers/CMSIS/Include/cmsis_gcc.h **** { 68 .loc 3 981 31 is_stmt 1 view .LVU9 69 .LBB79: 983:Drivers/CMSIS/Include/cmsis_gcc.h **** 70 .loc 3 983 3 view .LVU10 988:Drivers/CMSIS/Include/cmsis_gcc.h **** #else 71 .loc 3 988 4 view .LVU11 72 .syntax unified 73 @ 988 "Drivers/CMSIS/Include/cmsis_gcc.h" 1 74 001c 91FAA1F1 rbit r1, r1 75 @ 0 "" 2 76 .LVL4: 77 .loc 3 1001 3 view .LVU12 78 .loc 3 1001 3 is_stmt 0 view .LVU13 79 .thumb 80 .syntax unified 81 .LBE79: 82 .LBE78: 83 .loc 2 415 3 discriminator 4 view .LVU14 84 0020 B1FA81F1 clz r1, r1 85 0024 4900 lsls r1, r1, #1 86 0026 8A40 lsls r2, r2, r1 87 .LVL5: 88 .loc 2 415 3 discriminator 4 view .LVU15 89 0028 1343 orrs r3, r3, r2 90 002a 8360 str r3, [r0, #8] 416:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** (Speed << (POSITION_VAL(Pin) * 2U))); 417:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** } 91 .loc 2 417 1 view .LVU16 92 002c 5DF804FB ldr pc, [sp], #4 93 .cfi_endproc 94 .LFE145: 96 .section .text.LL_GPIO_SetPinPull,"ax",%progbits 97 .align 1 98 .syntax unified 99 .thumb 100 .thumb_func 102 LL_GPIO_SetPinPull: 103 .LVL6: 104 .LFB147: 418:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** 419:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** /** 420:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @brief Return gpio speed for a dedicated pin on dedicated port. 421:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @note I/O speed can be Low, Medium, Fast or High speed. 422:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @note Warning: only one pin can be passed as parameter. 423:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @note Refer to datasheet for frequency specifications and the power 424:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * supply and load conditions for each speed. 425:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @rmtoll OSPEEDR OSPEEDy LL_GPIO_GetPinSpeed 426:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @param GPIOx GPIO Port 427:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @param Pin This parameter can be one of the following values: 428:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_0 429:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_1 430:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_2 431:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_3 432:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_4 433:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_5 434:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_6 ARM GAS /tmp/ccZKwQMo.s page 28 435:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_7 436:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_8 437:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_9 438:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_10 439:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_11 440:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_12 441:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_13 442:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_14 443:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_15 444:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @retval Returned value can be one of the following values: 445:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_SPEED_FREQ_LOW 446:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_SPEED_FREQ_MEDIUM 447:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_SPEED_FREQ_HIGH 448:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_SPEED_FREQ_VERY_HIGH 449:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** */ 450:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** __STATIC_INLINE uint32_t LL_GPIO_GetPinSpeed(GPIO_TypeDef *GPIOx, uint32_t Pin) 451:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** { 452:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** return (uint32_t)(READ_BIT(GPIOx->OSPEEDR, 453:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** (GPIO_OSPEEDER_OSPEEDR0 << (POSITION_VAL(Pin) * 2U))) >> (POSITION_VAL 454:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** } 455:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** 456:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** /** 457:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @brief Configure gpio pull-up or pull-down for a dedicated pin on a dedicated port. 458:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @note Warning: only one pin can be passed as parameter. 459:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @rmtoll PUPDR PUPDy LL_GPIO_SetPinPull 460:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @param GPIOx GPIO Port 461:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @param Pin This parameter can be one of the following values: 462:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_0 463:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_1 464:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_2 465:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_3 466:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_4 467:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_5 468:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_6 469:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_7 470:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_8 471:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_9 472:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_10 473:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_11 474:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_12 475:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_13 476:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_14 477:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_15 478:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @param Pull This parameter can be one of the following values: 479:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PULL_NO 480:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PULL_UP 481:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PULL_DOWN 482:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @retval None 483:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** */ 484:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** __STATIC_INLINE void LL_GPIO_SetPinPull(GPIO_TypeDef *GPIOx, uint32_t Pin, uint32_t Pull) 485:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** { 105 .loc 2 485 1 is_stmt 1 view -0 106 .cfi_startproc 107 @ args = 0, pretend = 0, frame = 0 108 @ frame_needed = 0, uses_anonymous_args = 0 109 .loc 2 485 1 is_stmt 0 view .LVU18 110 0000 00B5 push {lr} ARM GAS /tmp/ccZKwQMo.s page 29 111 .LCFI1: 112 .cfi_def_cfa_offset 4 113 .cfi_offset 14, -4 486:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** MODIFY_REG(GPIOx->PUPDR, (GPIO_PUPDR_PUPDR0 << (POSITION_VAL(Pin) * 2U)), (Pull << (POSITION_VAL( 114 .loc 2 486 3 is_stmt 1 view .LVU19 115 0002 C368 ldr r3, [r0, #12] 116 .LVL7: 117 .LBB80: 118 .LBI80: 981:Drivers/CMSIS/Include/cmsis_gcc.h **** { 119 .loc 3 981 31 view .LVU20 120 .LBB81: 983:Drivers/CMSIS/Include/cmsis_gcc.h **** 121 .loc 3 983 3 view .LVU21 988:Drivers/CMSIS/Include/cmsis_gcc.h **** #else 122 .loc 3 988 4 view .LVU22 123 .syntax unified 124 @ 988 "Drivers/CMSIS/Include/cmsis_gcc.h" 1 125 0004 91FAA1FC rbit ip, r1 126 @ 0 "" 2 127 .LVL8: 128 .loc 3 1001 3 view .LVU23 129 .loc 3 1001 3 is_stmt 0 view .LVU24 130 .thumb 131 .syntax unified 132 .LBE81: 133 .LBE80: 134 .loc 2 486 3 discriminator 2 view .LVU25 135 0008 BCFA8CFC clz ip, ip 136 000c 4FEA4C0C lsl ip, ip, #1 137 0010 4FF0030E mov lr, #3 138 0014 0EFA0CFC lsl ip, lr, ip 139 0018 23EA0C03 bic r3, r3, ip 140 .LVL9: 141 .LBB82: 142 .LBI82: 981:Drivers/CMSIS/Include/cmsis_gcc.h **** { 143 .loc 3 981 31 is_stmt 1 view .LVU26 144 .LBB83: 983:Drivers/CMSIS/Include/cmsis_gcc.h **** 145 .loc 3 983 3 view .LVU27 988:Drivers/CMSIS/Include/cmsis_gcc.h **** #else 146 .loc 3 988 4 view .LVU28 147 .syntax unified 148 @ 988 "Drivers/CMSIS/Include/cmsis_gcc.h" 1 149 001c 91FAA1F1 rbit r1, r1 150 @ 0 "" 2 151 .LVL10: 152 .loc 3 1001 3 view .LVU29 153 .loc 3 1001 3 is_stmt 0 view .LVU30 154 .thumb 155 .syntax unified 156 .LBE83: 157 .LBE82: 158 .loc 2 486 3 discriminator 4 view .LVU31 159 0020 B1FA81F1 clz r1, r1 160 0024 4900 lsls r1, r1, #1 ARM GAS /tmp/ccZKwQMo.s page 30 161 0026 8A40 lsls r2, r2, r1 162 .LVL11: 163 .loc 2 486 3 discriminator 4 view .LVU32 164 0028 1343 orrs r3, r3, r2 165 002a C360 str r3, [r0, #12] 487:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** } 166 .loc 2 487 1 view .LVU33 167 002c 5DF804FB ldr pc, [sp], #4 168 .cfi_endproc 169 .LFE147: 171 .section .text.LL_GPIO_SetAFPin_0_7,"ax",%progbits 172 .align 1 173 .syntax unified 174 .thumb 175 .thumb_func 177 LL_GPIO_SetAFPin_0_7: 178 .LVL12: 179 .LFB149: 488:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** 489:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** /** 490:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @brief Return gpio pull-up or pull-down for a dedicated pin on a dedicated port 491:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @note Warning: only one pin can be passed as parameter. 492:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @rmtoll PUPDR PUPDy LL_GPIO_GetPinPull 493:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @param GPIOx GPIO Port 494:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @param Pin This parameter can be one of the following values: 495:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_0 496:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_1 497:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_2 498:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_3 499:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_4 500:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_5 501:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_6 502:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_7 503:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_8 504:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_9 505:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_10 506:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_11 507:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_12 508:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_13 509:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_14 510:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_15 511:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @retval Returned value can be one of the following values: 512:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PULL_NO 513:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PULL_UP 514:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PULL_DOWN 515:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** */ 516:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** __STATIC_INLINE uint32_t LL_GPIO_GetPinPull(GPIO_TypeDef *GPIOx, uint32_t Pin) 517:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** { 518:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** return (uint32_t)(READ_BIT(GPIOx->PUPDR, 519:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** (GPIO_PUPDR_PUPDR0 << (POSITION_VAL(Pin) * 2U))) >> (POSITION_VAL(Pin) 520:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** } 521:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** 522:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** /** 523:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @brief Configure gpio alternate function of a dedicated pin from 0 to 7 for a dedicated port. 524:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @note Possible values are from AF0 to AF15 depending on target. 525:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @note Warning: only one pin can be passed as parameter. 526:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @rmtoll AFRL AFSELy LL_GPIO_SetAFPin_0_7 ARM GAS /tmp/ccZKwQMo.s page 31 527:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @param GPIOx GPIO Port 528:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @param Pin This parameter can be one of the following values: 529:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_0 530:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_1 531:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_2 532:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_3 533:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_4 534:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_5 535:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_6 536:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_7 537:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @param Alternate This parameter can be one of the following values: 538:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_AF_0 539:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_AF_1 540:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_AF_2 541:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_AF_3 542:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_AF_4 543:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_AF_5 544:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_AF_6 545:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_AF_7 546:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_AF_8 547:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_AF_9 548:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_AF_10 549:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_AF_11 550:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_AF_12 551:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_AF_13 552:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_AF_14 553:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_AF_15 554:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @retval None 555:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** */ 556:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** __STATIC_INLINE void LL_GPIO_SetAFPin_0_7(GPIO_TypeDef *GPIOx, uint32_t Pin, uint32_t Alternate) 557:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** { 180 .loc 2 557 1 is_stmt 1 view -0 181 .cfi_startproc 182 @ args = 0, pretend = 0, frame = 0 183 @ frame_needed = 0, uses_anonymous_args = 0 184 .loc 2 557 1 is_stmt 0 view .LVU35 185 0000 00B5 push {lr} 186 .LCFI2: 187 .cfi_def_cfa_offset 4 188 .cfi_offset 14, -4 558:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** MODIFY_REG(GPIOx->AFR[0], (GPIO_AFRL_AFRL0 << (POSITION_VAL(Pin) * 4U)), 189 .loc 2 558 3 is_stmt 1 view .LVU36 190 0002 036A ldr r3, [r0, #32] 191 .LVL13: 192 .LBB84: 193 .LBI84: 981:Drivers/CMSIS/Include/cmsis_gcc.h **** { 194 .loc 3 981 31 view .LVU37 195 .LBB85: 983:Drivers/CMSIS/Include/cmsis_gcc.h **** 196 .loc 3 983 3 view .LVU38 988:Drivers/CMSIS/Include/cmsis_gcc.h **** #else 197 .loc 3 988 4 view .LVU39 198 .syntax unified 199 @ 988 "Drivers/CMSIS/Include/cmsis_gcc.h" 1 200 0004 91FAA1FC rbit ip, r1 201 @ 0 "" 2 ARM GAS /tmp/ccZKwQMo.s page 32 202 .LVL14: 203 .loc 3 1001 3 view .LVU40 204 .loc 3 1001 3 is_stmt 0 view .LVU41 205 .thumb 206 .syntax unified 207 .LBE85: 208 .LBE84: 209 .loc 2 558 3 discriminator 2 view .LVU42 210 0008 BCFA8CFC clz ip, ip 211 000c 4FEA8C0C lsl ip, ip, #2 212 0010 4FF00F0E mov lr, #15 213 0014 0EFA0CFC lsl ip, lr, ip 214 0018 23EA0C03 bic r3, r3, ip 215 .LVL15: 216 .LBB86: 217 .LBI86: 981:Drivers/CMSIS/Include/cmsis_gcc.h **** { 218 .loc 3 981 31 is_stmt 1 view .LVU43 219 .LBB87: 983:Drivers/CMSIS/Include/cmsis_gcc.h **** 220 .loc 3 983 3 view .LVU44 988:Drivers/CMSIS/Include/cmsis_gcc.h **** #else 221 .loc 3 988 4 view .LVU45 222 .syntax unified 223 @ 988 "Drivers/CMSIS/Include/cmsis_gcc.h" 1 224 001c 91FAA1F1 rbit r1, r1 225 @ 0 "" 2 226 .LVL16: 227 .loc 3 1001 3 view .LVU46 228 .loc 3 1001 3 is_stmt 0 view .LVU47 229 .thumb 230 .syntax unified 231 .LBE87: 232 .LBE86: 233 .loc 2 558 3 discriminator 4 view .LVU48 234 0020 B1FA81F1 clz r1, r1 235 0024 8900 lsls r1, r1, #2 236 0026 8A40 lsls r2, r2, r1 237 .LVL17: 238 .loc 2 558 3 discriminator 4 view .LVU49 239 0028 1343 orrs r3, r3, r2 240 002a 0362 str r3, [r0, #32] 559:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** (Alternate << (POSITION_VAL(Pin) * 4U))); 560:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** } 241 .loc 2 560 1 view .LVU50 242 002c 5DF804FB ldr pc, [sp], #4 243 .cfi_endproc 244 .LFE149: 246 .section .text.LL_GPIO_SetAFPin_8_15,"ax",%progbits 247 .align 1 248 .syntax unified 249 .thumb 250 .thumb_func 252 LL_GPIO_SetAFPin_8_15: 253 .LVL18: 254 .LFB151: 561:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** ARM GAS /tmp/ccZKwQMo.s page 33 562:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** /** 563:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @brief Return gpio alternate function of a dedicated pin from 0 to 7 for a dedicated port. 564:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @rmtoll AFRL AFSELy LL_GPIO_GetAFPin_0_7 565:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @param GPIOx GPIO Port 566:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @param Pin This parameter can be one of the following values: 567:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_0 568:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_1 569:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_2 570:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_3 571:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_4 572:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_5 573:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_6 574:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_7 575:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @retval Returned value can be one of the following values: 576:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_AF_0 577:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_AF_1 578:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_AF_2 579:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_AF_3 580:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_AF_4 581:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_AF_5 582:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_AF_6 583:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_AF_7 584:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_AF_8 585:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_AF_9 586:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_AF_10 587:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_AF_11 588:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_AF_12 589:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_AF_13 590:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_AF_14 591:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_AF_15 592:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** */ 593:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** __STATIC_INLINE uint32_t LL_GPIO_GetAFPin_0_7(GPIO_TypeDef *GPIOx, uint32_t Pin) 594:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** { 595:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** return (uint32_t)(READ_BIT(GPIOx->AFR[0], 596:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** (GPIO_AFRL_AFRL0 << (POSITION_VAL(Pin) * 4U))) >> (POSITION_VAL(Pin) * 597:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** } 598:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** 599:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** /** 600:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @brief Configure gpio alternate function of a dedicated pin from 8 to 15 for a dedicated port. 601:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @note Possible values are from AF0 to AF15 depending on target. 602:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @note Warning: only one pin can be passed as parameter. 603:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @rmtoll AFRH AFSELy LL_GPIO_SetAFPin_8_15 604:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @param GPIOx GPIO Port 605:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @param Pin This parameter can be one of the following values: 606:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_8 607:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_9 608:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_10 609:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_11 610:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_12 611:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_13 612:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_14 613:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_PIN_15 614:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @param Alternate This parameter can be one of the following values: 615:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_AF_0 616:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_AF_1 617:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_AF_2 618:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_AF_3 ARM GAS /tmp/ccZKwQMo.s page 34 619:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_AF_4 620:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_AF_5 621:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_AF_6 622:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_AF_7 623:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_AF_8 624:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_AF_9 625:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_AF_10 626:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_AF_11 627:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_AF_12 628:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_AF_13 629:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_AF_14 630:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @arg @ref LL_GPIO_AF_15 631:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** * @retval None 632:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** */ 633:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** __STATIC_INLINE void LL_GPIO_SetAFPin_8_15(GPIO_TypeDef *GPIOx, uint32_t Pin, uint32_t Alternate) 634:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** { 255 .loc 2 634 1 is_stmt 1 view -0 256 .cfi_startproc 257 @ args = 0, pretend = 0, frame = 0 258 @ frame_needed = 0, uses_anonymous_args = 0 259 .loc 2 634 1 is_stmt 0 view .LVU52 260 0000 00B5 push {lr} 261 .LCFI3: 262 .cfi_def_cfa_offset 4 263 .cfi_offset 14, -4 635:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** MODIFY_REG(GPIOx->AFR[1], (GPIO_AFRH_AFRH0 << (POSITION_VAL(Pin >> 8U) * 4U)), 264 .loc 2 635 3 is_stmt 1 view .LVU53 265 0002 436A ldr r3, [r0, #36] 266 0004 090A lsrs r1, r1, #8 267 .LVL19: 268 .LBB88: 269 .LBI88: 981:Drivers/CMSIS/Include/cmsis_gcc.h **** { 270 .loc 3 981 31 view .LVU54 271 .LBB89: 983:Drivers/CMSIS/Include/cmsis_gcc.h **** 272 .loc 3 983 3 view .LVU55 988:Drivers/CMSIS/Include/cmsis_gcc.h **** #else 273 .loc 3 988 4 view .LVU56 274 .syntax unified 275 @ 988 "Drivers/CMSIS/Include/cmsis_gcc.h" 1 276 0006 91FAA1FC rbit ip, r1 277 @ 0 "" 2 278 .LVL20: 279 .loc 3 1001 3 view .LVU57 280 .loc 3 1001 3 is_stmt 0 view .LVU58 281 .thumb 282 .syntax unified 283 .LBE89: 284 .LBE88: 285 .loc 2 635 3 discriminator 2 view .LVU59 286 000a BCFA8CFC clz ip, ip 287 000e 4FEA8C0C lsl ip, ip, #2 288 0012 4FF00F0E mov lr, #15 289 0016 0EFA0CFC lsl ip, lr, ip 290 001a 23EA0C03 bic r3, r3, ip 291 .LVL21: ARM GAS /tmp/ccZKwQMo.s page 35 292 .LBB90: 293 .LBI90: 981:Drivers/CMSIS/Include/cmsis_gcc.h **** { 294 .loc 3 981 31 is_stmt 1 view .LVU60 295 .LBB91: 983:Drivers/CMSIS/Include/cmsis_gcc.h **** 296 .loc 3 983 3 view .LVU61 988:Drivers/CMSIS/Include/cmsis_gcc.h **** #else 297 .loc 3 988 4 view .LVU62 298 .syntax unified 299 @ 988 "Drivers/CMSIS/Include/cmsis_gcc.h" 1 300 001e 91FAA1F1 rbit r1, r1 301 @ 0 "" 2 302 .LVL22: 303 .loc 3 1001 3 view .LVU63 304 .loc 3 1001 3 is_stmt 0 view .LVU64 305 .thumb 306 .syntax unified 307 .LBE91: 308 .LBE90: 309 .loc 2 635 3 discriminator 4 view .LVU65 310 0022 B1FA81F1 clz r1, r1 311 0026 8900 lsls r1, r1, #2 312 0028 8A40 lsls r2, r2, r1 313 .LVL23: 314 .loc 2 635 3 discriminator 4 view .LVU66 315 002a 1343 orrs r3, r3, r2 316 002c 4362 str r3, [r0, #36] 636:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** (Alternate << (POSITION_VAL(Pin >> 8U) * 4U))); 637:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** } 317 .loc 2 637 1 view .LVU67 318 002e 5DF804FB ldr pc, [sp], #4 319 .cfi_endproc 320 .LFE151: 322 .section .text.LL_GPIO_SetPinMode,"ax",%progbits 323 .align 1 324 .syntax unified 325 .thumb 326 .thumb_func 328 LL_GPIO_SetPinMode: 329 .LVL24: 330 .LFB141: 274:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** MODIFY_REG(GPIOx->MODER, (GPIO_MODER_MODER0 << (POSITION_VAL(Pin) * 2U)), (Mode << (POSITION_VAL( 331 .loc 2 274 1 is_stmt 1 view -0 332 .cfi_startproc 333 @ args = 0, pretend = 0, frame = 0 334 @ frame_needed = 0, uses_anonymous_args = 0 274:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** MODIFY_REG(GPIOx->MODER, (GPIO_MODER_MODER0 << (POSITION_VAL(Pin) * 2U)), (Mode << (POSITION_VAL( 335 .loc 2 274 1 is_stmt 0 view .LVU69 336 0000 00B5 push {lr} 337 .LCFI4: 338 .cfi_def_cfa_offset 4 339 .cfi_offset 14, -4 275:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** } 340 .loc 2 275 3 is_stmt 1 view .LVU70 341 0002 0368 ldr r3, [r0] 342 .LVL25: ARM GAS /tmp/ccZKwQMo.s page 36 343 .LBB92: 344 .LBI92: 981:Drivers/CMSIS/Include/cmsis_gcc.h **** { 345 .loc 3 981 31 view .LVU71 346 .LBB93: 983:Drivers/CMSIS/Include/cmsis_gcc.h **** 347 .loc 3 983 3 view .LVU72 988:Drivers/CMSIS/Include/cmsis_gcc.h **** #else 348 .loc 3 988 4 view .LVU73 349 .syntax unified 350 @ 988 "Drivers/CMSIS/Include/cmsis_gcc.h" 1 351 0004 91FAA1FC rbit ip, r1 352 @ 0 "" 2 353 .LVL26: 354 .loc 3 1001 3 view .LVU74 355 .loc 3 1001 3 is_stmt 0 view .LVU75 356 .thumb 357 .syntax unified 358 .LBE93: 359 .LBE92: 275:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** } 360 .loc 2 275 3 discriminator 2 view .LVU76 361 0008 BCFA8CFC clz ip, ip 362 000c 4FEA4C0C lsl ip, ip, #1 363 0010 4FF0030E mov lr, #3 364 0014 0EFA0CFC lsl ip, lr, ip 365 0018 23EA0C03 bic r3, r3, ip 366 .LVL27: 367 .LBB94: 368 .LBI94: 981:Drivers/CMSIS/Include/cmsis_gcc.h **** { 369 .loc 3 981 31 is_stmt 1 view .LVU77 370 .LBB95: 983:Drivers/CMSIS/Include/cmsis_gcc.h **** 371 .loc 3 983 3 view .LVU78 988:Drivers/CMSIS/Include/cmsis_gcc.h **** #else 372 .loc 3 988 4 view .LVU79 373 .syntax unified 374 @ 988 "Drivers/CMSIS/Include/cmsis_gcc.h" 1 375 001c 91FAA1F1 rbit r1, r1 376 @ 0 "" 2 377 .LVL28: 378 .loc 3 1001 3 view .LVU80 379 .loc 3 1001 3 is_stmt 0 view .LVU81 380 .thumb 381 .syntax unified 382 .LBE95: 383 .LBE94: 275:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** } 384 .loc 2 275 3 discriminator 4 view .LVU82 385 0020 B1FA81F1 clz r1, r1 386 0024 4900 lsls r1, r1, #1 387 0026 8A40 lsls r2, r2, r1 388 .LVL29: 275:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** } 389 .loc 2 275 3 discriminator 4 view .LVU83 390 0028 1343 orrs r3, r3, r2 ARM GAS /tmp/ccZKwQMo.s page 37 391 002a 0360 str r3, [r0] 276:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** 392 .loc 2 276 1 view .LVU84 393 002c 5DF804FB ldr pc, [sp], #4 394 .cfi_endproc 395 .LFE141: 397 .section .text.LL_GPIO_DeInit,"ax",%progbits 398 .align 1 399 .global LL_GPIO_DeInit 400 .syntax unified 401 .thumb 402 .thumb_func 404 LL_GPIO_DeInit: 405 .LVL30: 406 .LFB199: 1:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** /** 2:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** ****************************************************************************** 3:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** * @file stm32f7xx_ll_gpio.c 4:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** * @author MCD Application Team 5:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** * @brief GPIO LL module driver. 6:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** ****************************************************************************** 7:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** * @attention 8:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** * 9:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** * Copyright (c) 2017 STMicroelectronics. 10:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** * All rights reserved. 11:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** * 12:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** * This software is licensed under terms that can be found in the LICENSE file 13:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** * in the root directory of this software component. 14:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** * If no LICENSE file comes with this software, it is provided AS-IS. 15:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** * 16:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** ****************************************************************************** 17:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** */ 18:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** #if defined(USE_FULL_LL_DRIVER) 19:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** 20:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** /* Includes ------------------------------------------------------------------*/ 21:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** #include "stm32f7xx_ll_gpio.h" 22:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** #include "stm32f7xx_ll_bus.h" 23:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** #ifdef USE_FULL_ASSERT 24:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** #include "stm32_assert.h" 25:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** #else 26:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** #define assert_param(expr) ((void)0U) 27:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** #endif 28:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** 29:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** /** @addtogroup STM32F7xx_LL_Driver 30:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** * @{ 31:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** */ 32:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** 33:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** #if defined (GPIOA) || defined (GPIOB) || defined (GPIOC) || defined (GPIOD) || defined (GPIOE) || 34:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** 35:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** /** @addtogroup GPIO_LL 36:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** * @{ 37:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** */ 38:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** 39:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** /* Private types -------------------------------------------------------------*/ 40:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** /* Private variables ---------------------------------------------------------*/ 41:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** /* Private constants ---------------------------------------------------------*/ 42:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** /* Private macros ------------------------------------------------------------*/ ARM GAS /tmp/ccZKwQMo.s page 38 43:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** /** @addtogroup GPIO_LL_Private_Macros 44:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** * @{ 45:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** */ 46:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** #define IS_LL_GPIO_PIN(__VALUE__) (((0x00000000U) < (__VALUE__)) && ((__VALUE__) <= (LL_GP 47:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** 48:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** #define IS_LL_GPIO_MODE(__VALUE__) (((__VALUE__) == LL_GPIO_MODE_INPUT) ||\ 49:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** ((__VALUE__) == LL_GPIO_MODE_OUTPUT) ||\ 50:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** ((__VALUE__) == LL_GPIO_MODE_ALTERNATE) ||\ 51:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** ((__VALUE__) == LL_GPIO_MODE_ANALOG)) 52:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** 53:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** #define IS_LL_GPIO_OUTPUT_TYPE(__VALUE__) (((__VALUE__) == LL_GPIO_OUTPUT_PUSHPULL) ||\ 54:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** ((__VALUE__) == LL_GPIO_OUTPUT_OPENDRAIN)) 55:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** 56:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** #define IS_LL_GPIO_SPEED(__VALUE__) (((__VALUE__) == LL_GPIO_SPEED_FREQ_LOW) ||\ 57:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** ((__VALUE__) == LL_GPIO_SPEED_FREQ_MEDIUM) ||\ 58:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** ((__VALUE__) == LL_GPIO_SPEED_FREQ_HIGH) ||\ 59:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** ((__VALUE__) == LL_GPIO_SPEED_FREQ_VERY_HIGH)) 60:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** 61:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** #define IS_LL_GPIO_PULL(__VALUE__) (((__VALUE__) == LL_GPIO_PULL_NO) ||\ 62:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** ((__VALUE__) == LL_GPIO_PULL_UP) ||\ 63:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** ((__VALUE__) == LL_GPIO_PULL_DOWN)) 64:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** 65:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** #define IS_LL_GPIO_ALTERNATE(__VALUE__) (((__VALUE__) == LL_GPIO_AF_0 ) ||\ 66:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** ((__VALUE__) == LL_GPIO_AF_1 ) ||\ 67:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** ((__VALUE__) == LL_GPIO_AF_2 ) ||\ 68:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** ((__VALUE__) == LL_GPIO_AF_3 ) ||\ 69:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** ((__VALUE__) == LL_GPIO_AF_4 ) ||\ 70:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** ((__VALUE__) == LL_GPIO_AF_5 ) ||\ 71:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** ((__VALUE__) == LL_GPIO_AF_6 ) ||\ 72:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** ((__VALUE__) == LL_GPIO_AF_7 ) ||\ 73:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** ((__VALUE__) == LL_GPIO_AF_8 ) ||\ 74:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** ((__VALUE__) == LL_GPIO_AF_9 ) ||\ 75:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** ((__VALUE__) == LL_GPIO_AF_10 ) ||\ 76:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** ((__VALUE__) == LL_GPIO_AF_11 ) ||\ 77:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** ((__VALUE__) == LL_GPIO_AF_12 ) ||\ 78:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** ((__VALUE__) == LL_GPIO_AF_13 ) ||\ 79:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** ((__VALUE__) == LL_GPIO_AF_14 ) ||\ 80:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** ((__VALUE__) == LL_GPIO_AF_15 )) 81:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** /** 82:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** * @} 83:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** */ 84:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** 85:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** /* Private function prototypes -----------------------------------------------*/ 86:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** 87:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** /* Exported functions --------------------------------------------------------*/ 88:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** /** @addtogroup GPIO_LL_Exported_Functions 89:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** * @{ 90:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** */ 91:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** 92:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** /** @addtogroup GPIO_LL_EF_Init 93:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** * @{ 94:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** */ 95:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** 96:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** /** 97:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** * @brief De-initialize GPIO registers (Registers restored to their default values). 98:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** * @param GPIOx GPIO Port 99:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** * @retval An ErrorStatus enumeration value: ARM GAS /tmp/ccZKwQMo.s page 39 100:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** * - SUCCESS: GPIO registers are de-initialized 101:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** * - ERROR: Wrong GPIO Port 102:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** */ 103:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** ErrorStatus LL_GPIO_DeInit(GPIO_TypeDef *GPIOx) 104:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** { 407 .loc 1 104 1 is_stmt 1 view -0 408 .cfi_startproc 409 @ args = 0, pretend = 0, frame = 0 410 @ frame_needed = 0, uses_anonymous_args = 0 411 @ link register save eliminated. 105:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** ErrorStatus status = SUCCESS; 412 .loc 1 105 3 view .LVU86 106:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** 107:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** /* Check the parameters */ 108:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** assert_param(IS_GPIO_ALL_INSTANCE(GPIOx)); 413 .loc 1 108 3 view .LVU87 109:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** 110:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** /* Force and Release reset on clock of GPIOx Port */ 111:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** if (GPIOx == GPIOA) 414 .loc 1 111 3 view .LVU88 415 .loc 1 111 6 is_stmt 0 view .LVU89 416 0000 534B ldr r3, .L35 417 0002 9842 cmp r0, r3 418 0004 1FD0 beq .L24 112:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** { 113:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** LL_AHB1_GRP1_ForceReset(LL_AHB1_GRP1_PERIPH_GPIOA); 114:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** LL_AHB1_GRP1_ReleaseReset(LL_AHB1_GRP1_PERIPH_GPIOA); 115:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** } 116:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** else if (GPIOx == GPIOB) 419 .loc 1 116 8 is_stmt 1 view .LVU90 420 .loc 1 116 11 is_stmt 0 view .LVU91 421 0006 534B ldr r3, .L35+4 422 0008 9842 cmp r0, r3 423 000a 28D0 beq .L25 117:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** { 118:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** LL_AHB1_GRP1_ForceReset(LL_AHB1_GRP1_PERIPH_GPIOB); 119:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** LL_AHB1_GRP1_ReleaseReset(LL_AHB1_GRP1_PERIPH_GPIOB); 120:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** } 121:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** else if (GPIOx == GPIOC) 424 .loc 1 121 8 is_stmt 1 view .LVU92 425 .loc 1 121 11 is_stmt 0 view .LVU93 426 000c 524B ldr r3, .L35+8 427 000e 9842 cmp r0, r3 428 0010 31D0 beq .L26 122:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** { 123:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** LL_AHB1_GRP1_ForceReset(LL_AHB1_GRP1_PERIPH_GPIOC); 124:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** LL_AHB1_GRP1_ReleaseReset(LL_AHB1_GRP1_PERIPH_GPIOC); 125:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** } 126:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** #if defined(GPIOD) 127:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** else if (GPIOx == GPIOD) 429 .loc 1 127 8 is_stmt 1 view .LVU94 430 .loc 1 127 11 is_stmt 0 view .LVU95 431 0012 524B ldr r3, .L35+12 432 0014 9842 cmp r0, r3 433 0016 3AD0 beq .L27 128:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** { 129:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** LL_AHB1_GRP1_ForceReset(LL_AHB1_GRP1_PERIPH_GPIOD); ARM GAS /tmp/ccZKwQMo.s page 40 130:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** LL_AHB1_GRP1_ReleaseReset(LL_AHB1_GRP1_PERIPH_GPIOD); 131:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** } 132:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** #endif /* GPIOD */ 133:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** #if defined(GPIOE) 134:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** else if (GPIOx == GPIOE) 434 .loc 1 134 8 is_stmt 1 view .LVU96 435 .loc 1 134 11 is_stmt 0 view .LVU97 436 0018 514B ldr r3, .L35+16 437 001a 9842 cmp r0, r3 438 001c 43D0 beq .L28 135:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** { 136:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** LL_AHB1_GRP1_ForceReset(LL_AHB1_GRP1_PERIPH_GPIOE); 137:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** LL_AHB1_GRP1_ReleaseReset(LL_AHB1_GRP1_PERIPH_GPIOE); 138:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** } 139:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** #endif /* GPIOE */ 140:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** #if defined(GPIOF) 141:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** else if (GPIOx == GPIOF) 439 .loc 1 141 8 is_stmt 1 view .LVU98 440 .loc 1 141 11 is_stmt 0 view .LVU99 441 001e 514B ldr r3, .L35+20 442 0020 9842 cmp r0, r3 443 0022 4CD0 beq .L29 142:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** { 143:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** LL_AHB1_GRP1_ForceReset(LL_AHB1_GRP1_PERIPH_GPIOF); 144:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** LL_AHB1_GRP1_ReleaseReset(LL_AHB1_GRP1_PERIPH_GPIOF); 145:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** } 146:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** #endif /* GPIOF */ 147:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** #if defined(GPIOG) 148:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** else if (GPIOx == GPIOG) 444 .loc 1 148 8 is_stmt 1 view .LVU100 445 .loc 1 148 11 is_stmt 0 view .LVU101 446 0024 504B ldr r3, .L35+24 447 0026 9842 cmp r0, r3 448 0028 55D0 beq .L30 149:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** { 150:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** LL_AHB1_GRP1_ForceReset(LL_AHB1_GRP1_PERIPH_GPIOG); 151:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** LL_AHB1_GRP1_ReleaseReset(LL_AHB1_GRP1_PERIPH_GPIOG); 152:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** } 153:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** #endif /* GPIOG */ 154:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** #if defined(GPIOH) 155:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** else if (GPIOx == GPIOH) 449 .loc 1 155 8 is_stmt 1 view .LVU102 450 .loc 1 155 11 is_stmt 0 view .LVU103 451 002a 504B ldr r3, .L35+28 452 002c 9842 cmp r0, r3 453 002e 5ED0 beq .L31 156:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** { 157:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** LL_AHB1_GRP1_ForceReset(LL_AHB1_GRP1_PERIPH_GPIOH); 158:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** LL_AHB1_GRP1_ReleaseReset(LL_AHB1_GRP1_PERIPH_GPIOH); 159:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** } 160:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** #endif /* GPIOH */ 161:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** #if defined(GPIOI) 162:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** else if (GPIOx == GPIOI) 454 .loc 1 162 8 is_stmt 1 view .LVU104 455 .loc 1 162 11 is_stmt 0 view .LVU105 456 0030 4F4B ldr r3, .L35+32 457 0032 9842 cmp r0, r3 ARM GAS /tmp/ccZKwQMo.s page 41 458 0034 67D0 beq .L32 163:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** { 164:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** LL_AHB1_GRP1_ForceReset(LL_AHB1_GRP1_PERIPH_GPIOI); 165:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** LL_AHB1_GRP1_ReleaseReset(LL_AHB1_GRP1_PERIPH_GPIOI); 166:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** } 167:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** #endif /* GPIOI */ 168:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** #if defined(GPIOJ) 169:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** else if (GPIOx == GPIOJ) 459 .loc 1 169 8 is_stmt 1 view .LVU106 460 .loc 1 169 11 is_stmt 0 view .LVU107 461 0036 4F4B ldr r3, .L35+36 462 0038 9842 cmp r0, r3 463 003a 70D0 beq .L33 170:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** { 171:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** LL_AHB1_GRP1_ForceReset(LL_AHB1_GRP1_PERIPH_GPIOJ); 172:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** LL_AHB1_GRP1_ReleaseReset(LL_AHB1_GRP1_PERIPH_GPIOJ); 173:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** } 174:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** #endif /* GPIOJ */ 175:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** #if defined(GPIOK) 176:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** else if (GPIOx == GPIOK) 464 .loc 1 176 8 is_stmt 1 view .LVU108 465 .loc 1 176 11 is_stmt 0 view .LVU109 466 003c 4E4B ldr r3, .L35+40 467 003e 9842 cmp r0, r3 468 0040 79D0 beq .L34 177:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** { 178:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** LL_AHB1_GRP1_ForceReset(LL_AHB1_GRP1_PERIPH_GPIOK); 179:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** LL_AHB1_GRP1_ReleaseReset(LL_AHB1_GRP1_PERIPH_GPIOK); 180:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** } 181:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** #endif /* GPIOK */ 182:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** else 183:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** { 184:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** status = ERROR; 469 .loc 1 184 12 view .LVU110 470 0042 0120 movs r0, #1 471 .LVL31: 185:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** } 186:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** 187:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** return (status); 472 .loc 1 187 3 is_stmt 1 view .LVU111 188:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** } 473 .loc 1 188 1 is_stmt 0 view .LVU112 474 0044 7047 bx lr 475 .LVL32: 476 .L24: 113:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** LL_AHB1_GRP1_ReleaseReset(LL_AHB1_GRP1_PERIPH_GPIOA); 477 .loc 1 113 5 is_stmt 1 view .LVU113 478 .LBB96: 479 .LBI96: 480 .file 4 "Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h" 1:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** /** 2:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** ****************************************************************************** 3:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @file stm32f7xx_ll_bus.h 4:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @author MCD Application Team 5:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @brief Header file of BUS LL module. 6:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** 7:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** @verbatim ARM GAS /tmp/ccZKwQMo.s page 42 8:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** ##### RCC Limitations ##### 9:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** ============================================================================== 10:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** [..] 11:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** A delay between an RCC peripheral clock enable and the effective peripheral 12:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** enabling should be taken into account in order to manage the peripheral read/write 13:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** from/to registers. 14:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** (+) This delay depends on the peripheral mapping. 15:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** (++) AHB & APB peripherals, 1 dummy read is necessary 16:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** 17:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** [..] 18:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** Workarounds: 19:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** (#) For AHB & APB peripherals, a dummy read to the peripheral register has been 20:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** inserted in each LL_{BUS}_GRP{x}_EnableClock() function. 21:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** 22:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** @endverbatim 23:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** ****************************************************************************** 24:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @attention 25:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * 26:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * Copyright (c) 2017 STMicroelectronics. 27:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * All rights reserved. 28:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * 29:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * This software is licensed under terms that can be found in the LICENSE file in 30:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * the root directory of this software component. 31:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * If no LICENSE file comes with this software, it is provided AS-IS. 32:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** ****************************************************************************** 33:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** */ 34:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** 35:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** /* Define to prevent recursive inclusion -------------------------------------*/ 36:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #ifndef __STM32F7xx_LL_BUS_H 37:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #define __STM32F7xx_LL_BUS_H 38:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** 39:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #ifdef __cplusplus 40:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** extern "C" { 41:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #endif 42:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** 43:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** /* Includes ------------------------------------------------------------------*/ 44:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #include "stm32f7xx.h" 45:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** 46:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** /** @addtogroup STM32F7xx_LL_Driver 47:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @{ 48:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** */ 49:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** 50:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #if defined(RCC) 51:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** 52:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** /** @defgroup BUS_LL BUS 53:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @{ 54:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** */ 55:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** 56:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** /* Private types -------------------------------------------------------------*/ 57:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** /* Private variables ---------------------------------------------------------*/ 58:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** /* Private constants ---------------------------------------------------------*/ 59:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** /* Private macros ------------------------------------------------------------*/ 60:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** /* Exported types ------------------------------------------------------------*/ 61:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** /* Exported constants --------------------------------------------------------*/ 62:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** /** @defgroup BUS_LL_Exported_Constants BUS Exported Constants 63:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @{ 64:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** */ ARM GAS /tmp/ccZKwQMo.s page 43 65:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** 66:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** /** @defgroup BUS_LL_EC_AHB1_GRP1_PERIPH AHB1 GRP1 PERIPH 67:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @{ 68:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** */ 69:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #define LL_AHB1_GRP1_PERIPH_ALL 0xFFFFFFFFU 70:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #define LL_AHB1_GRP1_PERIPH_GPIOA RCC_AHB1ENR_GPIOAEN 71:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #define LL_AHB1_GRP1_PERIPH_GPIOB RCC_AHB1ENR_GPIOBEN 72:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #define LL_AHB1_GRP1_PERIPH_GPIOC RCC_AHB1ENR_GPIOCEN 73:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #define LL_AHB1_GRP1_PERIPH_GPIOD RCC_AHB1ENR_GPIODEN 74:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #define LL_AHB1_GRP1_PERIPH_GPIOE RCC_AHB1ENR_GPIOEEN 75:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #define LL_AHB1_GRP1_PERIPH_GPIOF RCC_AHB1ENR_GPIOFEN 76:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #define LL_AHB1_GRP1_PERIPH_GPIOG RCC_AHB1ENR_GPIOGEN 77:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #define LL_AHB1_GRP1_PERIPH_GPIOH RCC_AHB1ENR_GPIOHEN 78:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #define LL_AHB1_GRP1_PERIPH_GPIOI RCC_AHB1ENR_GPIOIEN 79:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #if defined(GPIOJ) 80:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #define LL_AHB1_GRP1_PERIPH_GPIOJ RCC_AHB1ENR_GPIOJEN 81:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #endif /* GPIOJ */ 82:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #if defined(GPIOK) 83:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #define LL_AHB1_GRP1_PERIPH_GPIOK RCC_AHB1ENR_GPIOKEN 84:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #endif /* GPIOK */ 85:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #define LL_AHB1_GRP1_PERIPH_CRC RCC_AHB1ENR_CRCEN 86:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #define LL_AHB1_GRP1_PERIPH_BKPSRAM RCC_AHB1ENR_BKPSRAMEN 87:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #define LL_AHB1_GRP1_PERIPH_DTCMRAM RCC_AHB1ENR_DTCMRAMEN 88:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #define LL_AHB1_GRP1_PERIPH_DMA1 RCC_AHB1ENR_DMA1EN 89:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #define LL_AHB1_GRP1_PERIPH_DMA2 RCC_AHB1ENR_DMA2EN 90:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #if defined(DMA2D) 91:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #define LL_AHB1_GRP1_PERIPH_DMA2D RCC_AHB1ENR_DMA2DEN 92:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #endif /* DMA2D */ 93:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #if defined(ETH) 94:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #define LL_AHB1_GRP1_PERIPH_ETHMAC RCC_AHB1ENR_ETHMACEN 95:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #define LL_AHB1_GRP1_PERIPH_ETHMACTX RCC_AHB1ENR_ETHMACTXEN 96:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #define LL_AHB1_GRP1_PERIPH_ETHMACRX RCC_AHB1ENR_ETHMACRXEN 97:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #define LL_AHB1_GRP1_PERIPH_ETHMACPTP RCC_AHB1ENR_ETHMACPTPEN 98:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #endif /* ETH */ 99:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #define LL_AHB1_GRP1_PERIPH_OTGHS RCC_AHB1ENR_OTGHSEN 100:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #define LL_AHB1_GRP1_PERIPH_OTGHSULPI RCC_AHB1ENR_OTGHSULPIEN 101:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #define LL_AHB1_GRP1_PERIPH_AXI RCC_AHB1LPENR_AXILPEN 102:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #define LL_AHB1_GRP1_PERIPH_FLITF RCC_AHB1LPENR_FLITFLPEN 103:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #define LL_AHB1_GRP1_PERIPH_SRAM1 RCC_AHB1LPENR_SRAM1LPEN 104:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #define LL_AHB1_GRP1_PERIPH_SRAM2 RCC_AHB1LPENR_SRAM2LPEN 105:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** /** 106:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @} 107:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** */ 108:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** 109:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** /** @defgroup BUS_LL_EC_AHB2_GRP1_PERIPH AHB2 GRP1 PERIPH 110:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @{ 111:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** */ 112:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #define LL_AHB2_GRP1_PERIPH_ALL 0xFFFFFFFFU 113:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #if defined(DCMI) 114:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #define LL_AHB2_GRP1_PERIPH_DCMI RCC_AHB2ENR_DCMIEN 115:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #endif /* DCMI */ 116:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #if defined(JPEG) 117:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #define LL_AHB2_GRP1_PERIPH_JPEG RCC_AHB2ENR_JPEGEN 118:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #endif /* JPEG */ 119:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #if defined(CRYP) 120:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #define LL_AHB2_GRP1_PERIPH_CRYP RCC_AHB2ENR_CRYPEN 121:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #endif /* CRYP */ ARM GAS /tmp/ccZKwQMo.s page 44 122:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #if defined(AES) 123:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #define LL_AHB2_GRP1_PERIPH_AES RCC_AHB2ENR_AESEN 124:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #endif /* AES */ 125:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #if defined(HASH) 126:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #define LL_AHB2_GRP1_PERIPH_HASH RCC_AHB2ENR_HASHEN 127:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #endif /* HASH */ 128:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #define LL_AHB2_GRP1_PERIPH_RNG RCC_AHB2ENR_RNGEN 129:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #define LL_AHB2_GRP1_PERIPH_OTGFS RCC_AHB2ENR_OTGFSEN 130:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** /** 131:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @} 132:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** */ 133:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** 134:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** /** @defgroup BUS_LL_EC_AHB3_GRP1_PERIPH AHB3 GRP1 PERIPH 135:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @{ 136:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** */ 137:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #define LL_AHB3_GRP1_PERIPH_ALL 0xFFFFFFFFU 138:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #define LL_AHB3_GRP1_PERIPH_FMC RCC_AHB3ENR_FMCEN 139:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #define LL_AHB3_GRP1_PERIPH_QSPI RCC_AHB3ENR_QSPIEN 140:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** /** 141:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @} 142:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** */ 143:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** 144:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** /** @defgroup BUS_LL_EC_APB1_GRP1_PERIPH APB1 GRP1 PERIPH 145:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @{ 146:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** */ 147:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_ALL 0xFFFFFFFFU 148:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_TIM2 RCC_APB1ENR_TIM2EN 149:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_TIM3 RCC_APB1ENR_TIM3EN 150:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_TIM4 RCC_APB1ENR_TIM4EN 151:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_TIM5 RCC_APB1ENR_TIM5EN 152:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_TIM6 RCC_APB1ENR_TIM6EN 153:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_TIM7 RCC_APB1ENR_TIM7EN 154:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_TIM12 RCC_APB1ENR_TIM12EN 155:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_TIM13 RCC_APB1ENR_TIM13EN 156:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_TIM14 RCC_APB1ENR_TIM14EN 157:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_LPTIM1 RCC_APB1ENR_LPTIM1EN 158:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_WWDG RCC_APB1ENR_WWDGEN 159:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_SPI2 RCC_APB1ENR_SPI2EN 160:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_SPI3 RCC_APB1ENR_SPI3EN 161:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #if defined(SPDIFRX) 162:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_SPDIFRX RCC_APB1ENR_SPDIFRXEN 163:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #endif /* SPDIFRX */ 164:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_USART2 RCC_APB1ENR_USART2EN 165:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_USART3 RCC_APB1ENR_USART3EN 166:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_UART4 RCC_APB1ENR_UART4EN 167:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_UART5 RCC_APB1ENR_UART5EN 168:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_I2C1 RCC_APB1ENR_I2C1EN 169:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_I2C2 RCC_APB1ENR_I2C2EN 170:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_I2C3 RCC_APB1ENR_I2C3EN 171:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #if defined(I2C4) 172:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_I2C4 RCC_APB1ENR_I2C4EN 173:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #endif /* I2C4 */ 174:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_CAN1 RCC_APB1ENR_CAN1EN 175:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #if defined(CAN2) 176:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_CAN2 RCC_APB1ENR_CAN2EN 177:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #endif /* CAN2 */ 178:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #if defined(CAN3) ARM GAS /tmp/ccZKwQMo.s page 45 179:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_CAN3 RCC_APB1ENR_CAN3EN 180:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #endif /* CAN3 */ 181:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #if defined(CEC) 182:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_CEC RCC_APB1ENR_CECEN 183:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #endif /* CEC */ 184:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_PWR RCC_APB1ENR_PWREN 185:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_DAC1 RCC_APB1ENR_DACEN 186:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_UART7 RCC_APB1ENR_UART7EN 187:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_UART8 RCC_APB1ENR_UART8EN 188:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #if defined(RCC_APB1ENR_RTCEN) 189:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #define LL_APB1_GRP1_PERIPH_RTCAPB RCC_APB1ENR_RTCEN 190:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #endif /* RCC_APB1ENR_RTCEN */ 191:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** /** 192:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @} 193:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** */ 194:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** 195:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** /** @defgroup BUS_LL_EC_APB2_GRP1_PERIPH APB2 GRP1 PERIPH 196:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @{ 197:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** */ 198:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_ALL 0xFFFFFFFFU 199:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_TIM1 RCC_APB2ENR_TIM1EN 200:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_TIM8 RCC_APB2ENR_TIM8EN 201:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_USART1 RCC_APB2ENR_USART1EN 202:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_USART6 RCC_APB2ENR_USART6EN 203:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_ADC1 RCC_APB2ENR_ADC1EN 204:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_ADC2 RCC_APB2ENR_ADC2EN 205:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_ADC3 RCC_APB2ENR_ADC3EN 206:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_SDMMC1 RCC_APB2ENR_SDMMC1EN 207:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #if defined(SDMMC2) 208:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_SDMMC2 RCC_APB2ENR_SDMMC2EN 209:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #endif /* SDMMC2 */ 210:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_SPI1 RCC_APB2ENR_SPI1EN 211:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_SPI4 RCC_APB2ENR_SPI4EN 212:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_SYSCFG RCC_APB2ENR_SYSCFGEN 213:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_TIM9 RCC_APB2ENR_TIM9EN 214:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_TIM10 RCC_APB2ENR_TIM10EN 215:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_TIM11 RCC_APB2ENR_TIM11EN 216:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_SPI5 RCC_APB2ENR_SPI5EN 217:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #if defined(SPI6) 218:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_SPI6 RCC_APB2ENR_SPI6EN 219:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #endif /* SPI6 */ 220:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_SAI1 RCC_APB2ENR_SAI1EN 221:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_SAI2 RCC_APB2ENR_SAI2EN 222:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #if defined(LTDC) 223:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_LTDC RCC_APB2ENR_LTDCEN 224:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #endif /* LTDC */ 225:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #if defined(DSI) 226:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_DSI RCC_APB2ENR_DSIEN 227:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #endif /* DSI */ 228:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #if defined(DFSDM1_Channel0) 229:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_DFSDM1 RCC_APB2ENR_DFSDM1EN 230:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #endif /* DFSDM1_Channel0 */ 231:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #if defined(MDIOS) 232:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_MDIO RCC_APB2ENR_MDIOEN 233:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #endif /* MDIOS */ 234:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #if defined(USB_HS_PHYC) 235:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_OTGPHYC RCC_APB2ENR_OTGPHYCEN ARM GAS /tmp/ccZKwQMo.s page 46 236:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #endif /* USB_HS_PHYC */ 237:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** #define LL_APB2_GRP1_PERIPH_ADC RCC_APB2RSTR_ADCRST 238:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** /** 239:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @} 240:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** */ 241:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** 242:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** /** 243:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @} 244:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** */ 245:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** 246:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** /* Exported macro ------------------------------------------------------------*/ 247:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** /* Exported functions --------------------------------------------------------*/ 248:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** /** @defgroup BUS_LL_Exported_Functions BUS Exported Functions 249:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @{ 250:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** */ 251:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** 252:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** /** @defgroup BUS_LL_EF_AHB1 AHB1 253:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @{ 254:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** */ 255:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** 256:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** /** 257:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @brief Enable AHB1 peripherals clock. 258:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @rmtoll AHB1ENR GPIOAEN LL_AHB1_GRP1_EnableClock\n 259:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * AHB1ENR GPIOBEN LL_AHB1_GRP1_EnableClock\n 260:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * AHB1ENR GPIOCEN LL_AHB1_GRP1_EnableClock\n 261:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * AHB1ENR GPIODEN LL_AHB1_GRP1_EnableClock\n 262:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * AHB1ENR GPIOEEN LL_AHB1_GRP1_EnableClock\n 263:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * AHB1ENR GPIOFEN LL_AHB1_GRP1_EnableClock\n 264:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * AHB1ENR GPIOGEN LL_AHB1_GRP1_EnableClock\n 265:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * AHB1ENR GPIOHEN LL_AHB1_GRP1_EnableClock\n 266:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * AHB1ENR GPIOIEN LL_AHB1_GRP1_EnableClock\n 267:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * AHB1ENR GPIOJEN LL_AHB1_GRP1_EnableClock\n 268:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * AHB1ENR GPIOKEN LL_AHB1_GRP1_EnableClock\n 269:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * AHB1ENR CRCEN LL_AHB1_GRP1_EnableClock\n 270:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * AHB1ENR BKPSRAMEN LL_AHB1_GRP1_EnableClock\n 271:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * AHB1ENR DTCMRAMEN LL_AHB1_GRP1_EnableClock\n 272:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * AHB1ENR DMA1EN LL_AHB1_GRP1_EnableClock\n 273:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * AHB1ENR DMA2EN LL_AHB1_GRP1_EnableClock\n 274:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * AHB1ENR DMA2DEN LL_AHB1_GRP1_EnableClock\n 275:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * AHB1ENR ETHMACEN LL_AHB1_GRP1_EnableClock\n 276:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * AHB1ENR ETHMACTXEN LL_AHB1_GRP1_EnableClock\n 277:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * AHB1ENR ETHMACRXEN LL_AHB1_GRP1_EnableClock\n 278:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * AHB1ENR ETHMACPTPEN LL_AHB1_GRP1_EnableClock\n 279:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * AHB1ENR OTGHSEN LL_AHB1_GRP1_EnableClock\n 280:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * AHB1ENR OTGHSULPIEN LL_AHB1_GRP1_EnableClock 281:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values: 282:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_GPIOA 283:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_GPIOB 284:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_GPIOC 285:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_GPIOD 286:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_GPIOE 287:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_GPIOF 288:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_GPIOG 289:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_GPIOH 290:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_GPIOI 291:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_GPIOJ (*) 292:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_GPIOK (*) ARM GAS /tmp/ccZKwQMo.s page 47 293:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_CRC 294:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_BKPSRAM 295:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_DTCMRAM 296:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_DMA1 297:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_DMA2 298:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_DMA2D (*) 299:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_ETHMAC (*) 300:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_ETHMACTX (*) 301:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_ETHMACRX (*) 302:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_ETHMACPTP (*) 303:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_OTGHS 304:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_OTGHSULPI 305:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * 306:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * (*) value not defined in all devices. 307:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @retval None 308:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** */ 309:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** __STATIC_INLINE void LL_AHB1_GRP1_EnableClock(uint32_t Periphs) 310:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** { 311:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** __IO uint32_t tmpreg; 312:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** SET_BIT(RCC->AHB1ENR, Periphs); 313:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** /* Delay after an RCC peripheral clock enabling */ 314:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** tmpreg = READ_BIT(RCC->AHB1ENR, Periphs); 315:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** (void)tmpreg; 316:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** } 317:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** 318:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** /** 319:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @brief Check if AHB1 peripheral clock is enabled or not 320:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @rmtoll AHB1ENR GPIOAEN LL_AHB1_GRP1_IsEnabledClock\n 321:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * AHB1ENR GPIOBEN LL_AHB1_GRP1_IsEnabledClock\n 322:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * AHB1ENR GPIOCEN LL_AHB1_GRP1_IsEnabledClock\n 323:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * AHB1ENR GPIODEN LL_AHB1_GRP1_IsEnabledClock\n 324:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * AHB1ENR GPIOEEN LL_AHB1_GRP1_IsEnabledClock\n 325:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * AHB1ENR GPIOFEN LL_AHB1_GRP1_IsEnabledClock\n 326:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * AHB1ENR GPIOGEN LL_AHB1_GRP1_IsEnabledClock\n 327:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * AHB1ENR GPIOHEN LL_AHB1_GRP1_IsEnabledClock\n 328:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * AHB1ENR GPIOIEN LL_AHB1_GRP1_IsEnabledClock\n 329:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * AHB1ENR GPIOJEN LL_AHB1_GRP1_IsEnabledClock\n 330:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * AHB1ENR GPIOKEN LL_AHB1_GRP1_IsEnabledClock\n 331:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * AHB1ENR CRCEN LL_AHB1_GRP1_IsEnabledClock\n 332:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * AHB1ENR BKPSRAMEN LL_AHB1_GRP1_IsEnabledClock\n 333:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * AHB1ENR DTCMRAMEN LL_AHB1_GRP1_IsEnabledClock\n 334:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * AHB1ENR DMA1EN LL_AHB1_GRP1_IsEnabledClock\n 335:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * AHB1ENR DMA2EN LL_AHB1_GRP1_IsEnabledClock\n 336:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * AHB1ENR DMA2DEN LL_AHB1_GRP1_IsEnabledClock\n 337:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * AHB1ENR ETHMACEN LL_AHB1_GRP1_IsEnabledClock\n 338:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * AHB1ENR ETHMACTXEN LL_AHB1_GRP1_IsEnabledClock\n 339:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * AHB1ENR ETHMACRXEN LL_AHB1_GRP1_IsEnabledClock\n 340:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * AHB1ENR ETHMACPTPEN LL_AHB1_GRP1_IsEnabledClock\n 341:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * AHB1ENR OTGHSEN LL_AHB1_GRP1_IsEnabledClock\n 342:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * AHB1ENR OTGHSULPIENDEN LL_AHB1_GRP1_IsEnabledClock 343:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values: 344:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_GPIOA 345:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_GPIOB 346:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_GPIOC 347:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_GPIOD 348:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_GPIOE 349:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_GPIOF ARM GAS /tmp/ccZKwQMo.s page 48 350:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_GPIOG 351:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_GPIOH 352:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_GPIOI 353:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_GPIOJ (*) 354:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_GPIOK (*) 355:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_CRC 356:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_BKPSRAM 357:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_DTCMRAM 358:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_DMA1 359:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_DMA2 360:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_DMA2D (*) 361:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_ETHMAC (*) 362:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_ETHMACTX (*) 363:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_ETHMACRX (*) 364:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_ETHMACPTP (*) 365:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_OTGHS 366:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_OTGHSULPI 367:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * 368:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * (*) value not defined in all devices. 369:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @retval State of Periphs (1 or 0). 370:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** */ 371:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** __STATIC_INLINE uint32_t LL_AHB1_GRP1_IsEnabledClock(uint32_t Periphs) 372:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** { 373:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** return (READ_BIT(RCC->AHB1ENR, Periphs) == Periphs); 374:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** } 375:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** 376:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** /** 377:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @brief Disable AHB1 peripherals clock. 378:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @rmtoll AHB1ENR GPIOAEN LL_AHB1_GRP1_DisableClock\n 379:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * AHB1ENR GPIOBEN LL_AHB1_GRP1_DisableClock\n 380:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * AHB1ENR GPIOCEN LL_AHB1_GRP1_DisableClock\n 381:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * AHB1ENR GPIODEN LL_AHB1_GRP1_DisableClock\n 382:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * AHB1ENR GPIOEEN LL_AHB1_GRP1_DisableClock\n 383:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * AHB1ENR GPIOFEN LL_AHB1_GRP1_DisableClock\n 384:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * AHB1ENR GPIOGEN LL_AHB1_GRP1_DisableClock\n 385:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * AHB1ENR GPIOHEN LL_AHB1_GRP1_DisableClock\n 386:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * AHB1ENR GPIOIEN LL_AHB1_GRP1_DisableClock\n 387:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * AHB1ENR GPIOJEN LL_AHB1_GRP1_DisableClock\n 388:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * AHB1ENR GPIOKEN LL_AHB1_GRP1_DisableClock\n 389:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * AHB1ENR CRCEN LL_AHB1_GRP1_DisableClock\n 390:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * AHB1ENR BKPSRAMEN LL_AHB1_GRP1_DisableClock\n 391:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * AHB1ENR DTCMRAMEN LL_AHB1_GRP1_DisableClock\n 392:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * AHB1ENR DMA1EN LL_AHB1_GRP1_DisableClock\n 393:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * AHB1ENR DMA2EN LL_AHB1_GRP1_DisableClock\n 394:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * AHB1ENR DMA2DEN LL_AHB1_GRP1_DisableClock\n 395:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * AHB1ENR ETHMACEN LL_AHB1_GRP1_DisableClock\n 396:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * AHB1ENR ETHMACTXEN LL_AHB1_GRP1_DisableClock\n 397:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * AHB1ENR ETHMACRXEN LL_AHB1_GRP1_DisableClock\n 398:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * AHB1ENR ETHMACPTPEN LL_AHB1_GRP1_DisableClock\n 399:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * AHB1ENR OTGHSEN LL_AHB1_GRP1_DisableClock\n 400:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * AHB1ENR OTGHSULPIENDEN LL_AHB1_GRP1_DisableClock 401:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values: 402:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_GPIOA 403:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_GPIOB 404:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_GPIOC 405:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_GPIOD 406:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_GPIOE ARM GAS /tmp/ccZKwQMo.s page 49 407:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_GPIOF 408:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_GPIOG 409:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_GPIOH 410:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_GPIOI 411:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_GPIOJ (*) 412:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_GPIOK (*) 413:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_CRC 414:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_BKPSRAM 415:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_DTCMRAM 416:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_DMA1 417:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_DMA2 418:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_DMA2D (*) 419:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_ETHMAC (*) 420:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_ETHMACTX (*) 421:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_ETHMACRX (*) 422:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_ETHMACPTP (*) 423:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_OTGHS 424:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_OTGHSULPI 425:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * 426:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * (*) value not defined in all devices. 427:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @retval None 428:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** */ 429:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** __STATIC_INLINE void LL_AHB1_GRP1_DisableClock(uint32_t Periphs) 430:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** { 431:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** CLEAR_BIT(RCC->AHB1ENR, Periphs); 432:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** } 433:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** 434:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** /** 435:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @brief Force AHB1 peripherals reset. 436:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @rmtoll AHB1RSTR GPIOARST LL_AHB1_GRP1_ForceReset\n 437:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * AHB1RSTR GPIOBRST LL_AHB1_GRP1_ForceReset\n 438:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * AHB1RSTR GPIOCRST LL_AHB1_GRP1_ForceReset\n 439:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * AHB1RSTR GPIODRST LL_AHB1_GRP1_ForceReset\n 440:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * AHB1RSTR GPIOERST LL_AHB1_GRP1_ForceReset\n 441:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * AHB1RSTR GPIOFRST LL_AHB1_GRP1_ForceReset\n 442:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * AHB1RSTR GPIOGRST LL_AHB1_GRP1_ForceReset\n 443:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * AHB1RSTR GPIOHRST LL_AHB1_GRP1_ForceReset\n 444:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * AHB1RSTR GPIOIRST LL_AHB1_GRP1_ForceReset\n 445:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * AHB1RSTR GPIOJRST LL_AHB1_GRP1_ForceReset\n 446:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * AHB1RSTR GPIOKRST LL_AHB1_GRP1_ForceReset\n 447:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * AHB1RSTR CRCRST LL_AHB1_GRP1_ForceReset\n 448:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * AHB1RSTR DMA1RST LL_AHB1_GRP1_ForceReset\n 449:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * AHB1RSTR DMA2RST LL_AHB1_GRP1_ForceReset\n 450:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * AHB1RSTR DMA2DRST LL_AHB1_GRP1_ForceReset\n 451:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * AHB1RSTR ETHMACRST LL_AHB1_GRP1_ForceReset\n 452:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * AHB1RSTR OTGHSRST LL_AHB1_GRP1_ForceReset 453:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values: 454:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_ALL 455:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_GPIOA 456:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_GPIOB 457:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_GPIOC 458:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_GPIOD 459:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_GPIOE 460:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_GPIOF 461:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_GPIOG 462:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_GPIOH 463:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_GPIOI ARM GAS /tmp/ccZKwQMo.s page 50 464:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_GPIOJ (*) 465:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_GPIOK (*) 466:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_CRC 467:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_DMA1 468:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_DMA2 469:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_DMA2D (*) 470:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_ETHMAC (*) 471:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_OTGHS 472:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * 473:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * (*) value not defined in all devices. 474:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @retval None 475:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** */ 476:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** __STATIC_INLINE void LL_AHB1_GRP1_ForceReset(uint32_t Periphs) 481 .loc 4 476 22 view .LVU114 482 .LBB97: 477:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** { 478:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** SET_BIT(RCC->AHB1RSTR, Periphs); 483 .loc 4 478 3 view .LVU115 484 0046 03F56053 add r3, r3, #14336 485 004a 1A69 ldr r2, [r3, #16] 486 004c 42F00102 orr r2, r2, #1 487 0050 1A61 str r2, [r3, #16] 488 .LVL33: 489 .loc 4 478 3 is_stmt 0 view .LVU116 490 .LBE97: 491 .LBE96: 114:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** } 492 .loc 1 114 5 is_stmt 1 view .LVU117 493 .LBB98: 494 .LBI98: 479:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** } 480:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** 481:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** /** 482:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @brief Release AHB1 peripherals reset. 483:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @rmtoll AHB1RSTR GPIOARST LL_AHB1_GRP1_ReleaseReset\n 484:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * AHB1RSTR GPIOBRST LL_AHB1_GRP1_ReleaseReset\n 485:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * AHB1RSTR GPIOCRST LL_AHB1_GRP1_ReleaseReset\n 486:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * AHB1RSTR GPIODRST LL_AHB1_GRP1_ReleaseReset\n 487:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * AHB1RSTR GPIOERST LL_AHB1_GRP1_ReleaseReset\n 488:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * AHB1RSTR GPIOFRST LL_AHB1_GRP1_ReleaseReset\n 489:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * AHB1RSTR GPIOGRST LL_AHB1_GRP1_ReleaseReset\n 490:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * AHB1RSTR GPIOHRST LL_AHB1_GRP1_ReleaseReset\n 491:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * AHB1RSTR GPIOIRST LL_AHB1_GRP1_ReleaseReset\n 492:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * AHB1RSTR GPIOJRST LL_AHB1_GRP1_ReleaseReset\n 493:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * AHB1RSTR GPIOKRST LL_AHB1_GRP1_ReleaseReset\n 494:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * AHB1RSTR CRCRST LL_AHB1_GRP1_ReleaseReset\n 495:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * AHB1RSTR DMA1RST LL_AHB1_GRP1_ReleaseReset\n 496:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * AHB1RSTR DMA2RST LL_AHB1_GRP1_ReleaseReset\n 497:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * AHB1RSTR DMA2DRST LL_AHB1_GRP1_ReleaseReset\n 498:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * AHB1RSTR ETHMACRST LL_AHB1_GRP1_ReleaseReset\n 499:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * AHB1RSTR OTGHSRST LL_AHB1_GRP1_ReleaseReset 500:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @param Periphs This parameter can be a combination of the following values: 501:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_ALL 502:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_GPIOA 503:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_GPIOB 504:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_GPIOC 505:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_GPIOD ARM GAS /tmp/ccZKwQMo.s page 51 506:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_GPIOE 507:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_GPIOF 508:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_GPIOG 509:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_GPIOH 510:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_GPIOI 511:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_GPIOJ (*) 512:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_GPIOK (*) 513:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_CRC 514:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_DMA1 515:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_DMA2 516:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_DMA2D (*) 517:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_ETHMAC (*) 518:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @arg @ref LL_AHB1_GRP1_PERIPH_OTGHS 519:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * 520:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * (*) value not defined in all devices. 521:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** * @retval None 522:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** */ 523:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** __STATIC_INLINE void LL_AHB1_GRP1_ReleaseReset(uint32_t Periphs) 495 .loc 4 523 22 view .LVU118 496 .LBB99: 524:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** { 525:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** CLEAR_BIT(RCC->AHB1RSTR, Periphs); 497 .loc 4 525 3 view .LVU119 498 0052 1A69 ldr r2, [r3, #16] 499 0054 22F00102 bic r2, r2, #1 500 0058 1A61 str r2, [r3, #16] 501 .LVL34: 502 .loc 4 525 3 is_stmt 0 view .LVU120 503 .LBE99: 504 .LBE98: 105:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** 505 .loc 1 105 15 view .LVU121 506 005a 0020 movs r0, #0 507 .LVL35: 508 .LBB101: 509 .LBB100: 526:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** } 510 .loc 4 526 1 view .LVU122 511 005c 7047 bx lr 512 .LVL36: 513 .L25: 514 .loc 4 526 1 view .LVU123 515 .LBE100: 516 .LBE101: 118:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** LL_AHB1_GRP1_ReleaseReset(LL_AHB1_GRP1_PERIPH_GPIOB); 517 .loc 1 118 5 is_stmt 1 view .LVU124 518 .LBB102: 519 .LBI102: 476:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** { 520 .loc 4 476 22 view .LVU125 521 .LBB103: 478:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** } 522 .loc 4 478 3 view .LVU126 523 005e 03F55053 add r3, r3, #13312 524 0062 1A69 ldr r2, [r3, #16] 525 0064 42F00202 orr r2, r2, #2 526 0068 1A61 str r2, [r3, #16] ARM GAS /tmp/ccZKwQMo.s page 52 527 .LVL37: 478:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** } 528 .loc 4 478 3 is_stmt 0 view .LVU127 529 .LBE103: 530 .LBE102: 119:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** } 531 .loc 1 119 5 is_stmt 1 view .LVU128 532 .LBB104: 533 .LBI104: 523:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** { 534 .loc 4 523 22 view .LVU129 535 .LBB105: 525:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** } 536 .loc 4 525 3 view .LVU130 537 006a 1A69 ldr r2, [r3, #16] 538 006c 22F00202 bic r2, r2, #2 539 0070 1A61 str r2, [r3, #16] 540 .LVL38: 525:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** } 541 .loc 4 525 3 is_stmt 0 view .LVU131 542 .LBE105: 543 .LBE104: 105:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** 544 .loc 1 105 15 view .LVU132 545 0072 0020 movs r0, #0 546 .LVL39: 547 .LBB107: 548 .LBB106: 549 .loc 4 526 1 view .LVU133 550 0074 7047 bx lr 551 .LVL40: 552 .L26: 553 .loc 4 526 1 view .LVU134 554 .LBE106: 555 .LBE107: 123:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** LL_AHB1_GRP1_ReleaseReset(LL_AHB1_GRP1_PERIPH_GPIOC); 556 .loc 1 123 5 is_stmt 1 view .LVU135 557 .LBB108: 558 .LBI108: 476:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** { 559 .loc 4 476 22 view .LVU136 560 .LBB109: 478:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** } 561 .loc 4 478 3 view .LVU137 562 0076 03F54053 add r3, r3, #12288 563 007a 1A69 ldr r2, [r3, #16] 564 007c 42F00402 orr r2, r2, #4 565 0080 1A61 str r2, [r3, #16] 566 .LVL41: 478:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** } 567 .loc 4 478 3 is_stmt 0 view .LVU138 568 .LBE109: 569 .LBE108: 124:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** } 570 .loc 1 124 5 is_stmt 1 view .LVU139 571 .LBB110: 572 .LBI110: ARM GAS /tmp/ccZKwQMo.s page 53 523:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** { 573 .loc 4 523 22 view .LVU140 574 .LBB111: 525:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** } 575 .loc 4 525 3 view .LVU141 576 0082 1A69 ldr r2, [r3, #16] 577 0084 22F00402 bic r2, r2, #4 578 0088 1A61 str r2, [r3, #16] 579 .LVL42: 525:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** } 580 .loc 4 525 3 is_stmt 0 view .LVU142 581 .LBE111: 582 .LBE110: 105:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** 583 .loc 1 105 15 view .LVU143 584 008a 0020 movs r0, #0 585 .LVL43: 586 .LBB113: 587 .LBB112: 588 .loc 4 526 1 view .LVU144 589 008c 7047 bx lr 590 .LVL44: 591 .L27: 592 .loc 4 526 1 view .LVU145 593 .LBE112: 594 .LBE113: 129:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** LL_AHB1_GRP1_ReleaseReset(LL_AHB1_GRP1_PERIPH_GPIOD); 595 .loc 1 129 5 is_stmt 1 view .LVU146 596 .LBB114: 597 .LBI114: 476:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** { 598 .loc 4 476 22 view .LVU147 599 .LBB115: 478:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** } 600 .loc 4 478 3 view .LVU148 601 008e 03F53053 add r3, r3, #11264 602 0092 1A69 ldr r2, [r3, #16] 603 0094 42F00802 orr r2, r2, #8 604 0098 1A61 str r2, [r3, #16] 605 .LVL45: 478:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** } 606 .loc 4 478 3 is_stmt 0 view .LVU149 607 .LBE115: 608 .LBE114: 130:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** } 609 .loc 1 130 5 is_stmt 1 view .LVU150 610 .LBB116: 611 .LBI116: 523:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** { 612 .loc 4 523 22 view .LVU151 613 .LBB117: 525:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** } 614 .loc 4 525 3 view .LVU152 615 009a 1A69 ldr r2, [r3, #16] 616 009c 22F00802 bic r2, r2, #8 617 00a0 1A61 str r2, [r3, #16] 618 .LVL46: ARM GAS /tmp/ccZKwQMo.s page 54 525:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** } 619 .loc 4 525 3 is_stmt 0 view .LVU153 620 .LBE117: 621 .LBE116: 105:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** 622 .loc 1 105 15 view .LVU154 623 00a2 0020 movs r0, #0 624 .LVL47: 625 .LBB119: 626 .LBB118: 627 .loc 4 526 1 view .LVU155 628 00a4 7047 bx lr 629 .LVL48: 630 .L28: 631 .loc 4 526 1 view .LVU156 632 .LBE118: 633 .LBE119: 136:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** LL_AHB1_GRP1_ReleaseReset(LL_AHB1_GRP1_PERIPH_GPIOE); 634 .loc 1 136 5 is_stmt 1 view .LVU157 635 .LBB120: 636 .LBI120: 476:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** { 637 .loc 4 476 22 view .LVU158 638 .LBB121: 478:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** } 639 .loc 4 478 3 view .LVU159 640 00a6 03F52053 add r3, r3, #10240 641 00aa 1A69 ldr r2, [r3, #16] 642 00ac 42F01002 orr r2, r2, #16 643 00b0 1A61 str r2, [r3, #16] 644 .LVL49: 478:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** } 645 .loc 4 478 3 is_stmt 0 view .LVU160 646 .LBE121: 647 .LBE120: 137:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** } 648 .loc 1 137 5 is_stmt 1 view .LVU161 649 .LBB122: 650 .LBI122: 523:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** { 651 .loc 4 523 22 view .LVU162 652 .LBB123: 525:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** } 653 .loc 4 525 3 view .LVU163 654 00b2 1A69 ldr r2, [r3, #16] 655 00b4 22F01002 bic r2, r2, #16 656 00b8 1A61 str r2, [r3, #16] 657 .LVL50: 525:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** } 658 .loc 4 525 3 is_stmt 0 view .LVU164 659 .LBE123: 660 .LBE122: 105:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** 661 .loc 1 105 15 view .LVU165 662 00ba 0020 movs r0, #0 663 .LVL51: 664 .LBB125: ARM GAS /tmp/ccZKwQMo.s page 55 665 .LBB124: 666 .loc 4 526 1 view .LVU166 667 00bc 7047 bx lr 668 .LVL52: 669 .L29: 670 .loc 4 526 1 view .LVU167 671 .LBE124: 672 .LBE125: 143:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** LL_AHB1_GRP1_ReleaseReset(LL_AHB1_GRP1_PERIPH_GPIOF); 673 .loc 1 143 5 is_stmt 1 view .LVU168 674 .LBB126: 675 .LBI126: 476:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** { 676 .loc 4 476 22 view .LVU169 677 .LBB127: 478:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** } 678 .loc 4 478 3 view .LVU170 679 00be 03F51053 add r3, r3, #9216 680 00c2 1A69 ldr r2, [r3, #16] 681 00c4 42F02002 orr r2, r2, #32 682 00c8 1A61 str r2, [r3, #16] 683 .LVL53: 478:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** } 684 .loc 4 478 3 is_stmt 0 view .LVU171 685 .LBE127: 686 .LBE126: 144:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** } 687 .loc 1 144 5 is_stmt 1 view .LVU172 688 .LBB128: 689 .LBI128: 523:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** { 690 .loc 4 523 22 view .LVU173 691 .LBB129: 525:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** } 692 .loc 4 525 3 view .LVU174 693 00ca 1A69 ldr r2, [r3, #16] 694 00cc 22F02002 bic r2, r2, #32 695 00d0 1A61 str r2, [r3, #16] 696 .LVL54: 525:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** } 697 .loc 4 525 3 is_stmt 0 view .LVU175 698 .LBE129: 699 .LBE128: 105:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** 700 .loc 1 105 15 view .LVU176 701 00d2 0020 movs r0, #0 702 .LVL55: 703 .LBB131: 704 .LBB130: 705 .loc 4 526 1 view .LVU177 706 00d4 7047 bx lr 707 .LVL56: 708 .L30: 709 .loc 4 526 1 view .LVU178 710 .LBE130: 711 .LBE131: 150:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** LL_AHB1_GRP1_ReleaseReset(LL_AHB1_GRP1_PERIPH_GPIOG); ARM GAS /tmp/ccZKwQMo.s page 56 712 .loc 1 150 5 is_stmt 1 view .LVU179 713 .LBB132: 714 .LBI132: 476:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** { 715 .loc 4 476 22 view .LVU180 716 .LBB133: 478:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** } 717 .loc 4 478 3 view .LVU181 718 00d6 03F50053 add r3, r3, #8192 719 00da 1A69 ldr r2, [r3, #16] 720 00dc 42F04002 orr r2, r2, #64 721 00e0 1A61 str r2, [r3, #16] 722 .LVL57: 478:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** } 723 .loc 4 478 3 is_stmt 0 view .LVU182 724 .LBE133: 725 .LBE132: 151:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** } 726 .loc 1 151 5 is_stmt 1 view .LVU183 727 .LBB134: 728 .LBI134: 523:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** { 729 .loc 4 523 22 view .LVU184 730 .LBB135: 525:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** } 731 .loc 4 525 3 view .LVU185 732 00e2 1A69 ldr r2, [r3, #16] 733 00e4 22F04002 bic r2, r2, #64 734 00e8 1A61 str r2, [r3, #16] 735 .LVL58: 525:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** } 736 .loc 4 525 3 is_stmt 0 view .LVU186 737 .LBE135: 738 .LBE134: 105:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** 739 .loc 1 105 15 view .LVU187 740 00ea 0020 movs r0, #0 741 .LVL59: 742 .LBB137: 743 .LBB136: 744 .loc 4 526 1 view .LVU188 745 00ec 7047 bx lr 746 .LVL60: 747 .L31: 748 .loc 4 526 1 view .LVU189 749 .LBE136: 750 .LBE137: 157:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** LL_AHB1_GRP1_ReleaseReset(LL_AHB1_GRP1_PERIPH_GPIOH); 751 .loc 1 157 5 is_stmt 1 view .LVU190 752 .LBB138: 753 .LBI138: 476:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** { 754 .loc 4 476 22 view .LVU191 755 .LBB139: 478:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** } 756 .loc 4 478 3 view .LVU192 757 00ee 03F5E053 add r3, r3, #7168 ARM GAS /tmp/ccZKwQMo.s page 57 758 00f2 1A69 ldr r2, [r3, #16] 759 00f4 42F08002 orr r2, r2, #128 760 00f8 1A61 str r2, [r3, #16] 761 .LVL61: 478:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** } 762 .loc 4 478 3 is_stmt 0 view .LVU193 763 .LBE139: 764 .LBE138: 158:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** } 765 .loc 1 158 5 is_stmt 1 view .LVU194 766 .LBB140: 767 .LBI140: 523:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** { 768 .loc 4 523 22 view .LVU195 769 .LBB141: 525:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** } 770 .loc 4 525 3 view .LVU196 771 00fa 1A69 ldr r2, [r3, #16] 772 00fc 22F08002 bic r2, r2, #128 773 0100 1A61 str r2, [r3, #16] 774 .LVL62: 525:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** } 775 .loc 4 525 3 is_stmt 0 view .LVU197 776 .LBE141: 777 .LBE140: 105:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** 778 .loc 1 105 15 view .LVU198 779 0102 0020 movs r0, #0 780 .LVL63: 781 .LBB143: 782 .LBB142: 783 .loc 4 526 1 view .LVU199 784 0104 7047 bx lr 785 .LVL64: 786 .L32: 787 .loc 4 526 1 view .LVU200 788 .LBE142: 789 .LBE143: 164:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** LL_AHB1_GRP1_ReleaseReset(LL_AHB1_GRP1_PERIPH_GPIOI); 790 .loc 1 164 5 is_stmt 1 view .LVU201 791 .LBB144: 792 .LBI144: 476:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** { 793 .loc 4 476 22 view .LVU202 794 .LBB145: 478:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** } 795 .loc 4 478 3 view .LVU203 796 0106 03F5C053 add r3, r3, #6144 797 010a 1A69 ldr r2, [r3, #16] 798 010c 42F48072 orr r2, r2, #256 799 0110 1A61 str r2, [r3, #16] 800 .LVL65: 478:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** } 801 .loc 4 478 3 is_stmt 0 view .LVU204 802 .LBE145: 803 .LBE144: 165:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** } ARM GAS /tmp/ccZKwQMo.s page 58 804 .loc 1 165 5 is_stmt 1 view .LVU205 805 .LBB146: 806 .LBI146: 523:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** { 807 .loc 4 523 22 view .LVU206 808 .LBB147: 525:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** } 809 .loc 4 525 3 view .LVU207 810 0112 1A69 ldr r2, [r3, #16] 811 0114 22F48072 bic r2, r2, #256 812 0118 1A61 str r2, [r3, #16] 813 .LVL66: 525:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** } 814 .loc 4 525 3 is_stmt 0 view .LVU208 815 .LBE147: 816 .LBE146: 105:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** 817 .loc 1 105 15 view .LVU209 818 011a 0020 movs r0, #0 819 .LVL67: 820 .LBB149: 821 .LBB148: 822 .loc 4 526 1 view .LVU210 823 011c 7047 bx lr 824 .LVL68: 825 .L33: 826 .loc 4 526 1 view .LVU211 827 .LBE148: 828 .LBE149: 171:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** LL_AHB1_GRP1_ReleaseReset(LL_AHB1_GRP1_PERIPH_GPIOJ); 829 .loc 1 171 5 is_stmt 1 view .LVU212 830 .LBB150: 831 .LBI150: 476:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** { 832 .loc 4 476 22 view .LVU213 833 .LBB151: 478:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** } 834 .loc 4 478 3 view .LVU214 835 011e 03F5A053 add r3, r3, #5120 836 0122 1A69 ldr r2, [r3, #16] 837 0124 42F40072 orr r2, r2, #512 838 0128 1A61 str r2, [r3, #16] 839 .LVL69: 478:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** } 840 .loc 4 478 3 is_stmt 0 view .LVU215 841 .LBE151: 842 .LBE150: 172:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** } 843 .loc 1 172 5 is_stmt 1 view .LVU216 844 .LBB152: 845 .LBI152: 523:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** { 846 .loc 4 523 22 view .LVU217 847 .LBB153: 525:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** } 848 .loc 4 525 3 view .LVU218 849 012a 1A69 ldr r2, [r3, #16] ARM GAS /tmp/ccZKwQMo.s page 59 850 012c 22F40072 bic r2, r2, #512 851 0130 1A61 str r2, [r3, #16] 852 .LVL70: 525:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** } 853 .loc 4 525 3 is_stmt 0 view .LVU219 854 .LBE153: 855 .LBE152: 105:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** 856 .loc 1 105 15 view .LVU220 857 0132 0020 movs r0, #0 858 .LVL71: 859 .LBB155: 860 .LBB154: 861 .loc 4 526 1 view .LVU221 862 0134 7047 bx lr 863 .LVL72: 864 .L34: 865 .loc 4 526 1 view .LVU222 866 .LBE154: 867 .LBE155: 178:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** LL_AHB1_GRP1_ReleaseReset(LL_AHB1_GRP1_PERIPH_GPIOK); 868 .loc 1 178 5 is_stmt 1 view .LVU223 869 .LBB156: 870 .LBI156: 476:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** { 871 .loc 4 476 22 view .LVU224 872 .LBB157: 478:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** } 873 .loc 4 478 3 view .LVU225 874 0136 03F58053 add r3, r3, #4096 875 013a 1A69 ldr r2, [r3, #16] 876 013c 42F48062 orr r2, r2, #1024 877 0140 1A61 str r2, [r3, #16] 878 .LVL73: 478:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** } 879 .loc 4 478 3 is_stmt 0 view .LVU226 880 .LBE157: 881 .LBE156: 179:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** } 882 .loc 1 179 5 is_stmt 1 view .LVU227 883 .LBB158: 884 .LBI158: 523:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** { 885 .loc 4 523 22 view .LVU228 886 .LBB159: 525:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** } 887 .loc 4 525 3 view .LVU229 888 0142 1A69 ldr r2, [r3, #16] 889 0144 22F48062 bic r2, r2, #1024 890 0148 1A61 str r2, [r3, #16] 891 .LVL74: 525:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_bus.h **** } 892 .loc 4 525 3 is_stmt 0 view .LVU230 893 .LBE159: 894 .LBE158: 105:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** 895 .loc 1 105 15 view .LVU231 ARM GAS /tmp/ccZKwQMo.s page 60 896 014a 0020 movs r0, #0 897 .LVL75: 898 .LBB161: 899 .LBB160: 900 .loc 4 526 1 view .LVU232 901 014c 7047 bx lr 902 .L36: 903 014e 00BF .align 2 904 .L35: 905 0150 00000240 .word 1073872896 906 0154 00040240 .word 1073873920 907 0158 00080240 .word 1073874944 908 015c 000C0240 .word 1073875968 909 0160 00100240 .word 1073876992 910 0164 00140240 .word 1073878016 911 0168 00180240 .word 1073879040 912 016c 001C0240 .word 1073880064 913 0170 00200240 .word 1073881088 914 0174 00240240 .word 1073882112 915 0178 00280240 .word 1073883136 916 .LBE160: 917 .LBE161: 918 .cfi_endproc 919 .LFE199: 921 .section .text.LL_GPIO_Init,"ax",%progbits 922 .align 1 923 .global LL_GPIO_Init 924 .syntax unified 925 .thumb 926 .thumb_func 928 LL_GPIO_Init: 929 .LVL76: 930 .LFB200: 189:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** 190:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** /** 191:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** * @brief Initialize GPIO registers according to the specified parameters in GPIO_InitStruct. 192:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** * @param GPIOx GPIO Port 193:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** * @param GPIO_InitStruct pointer to a @ref LL_GPIO_InitTypeDef structure 194:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** * that contains the configuration information for the specified GPIO peripheral. 195:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** * @retval An ErrorStatus enumeration value: 196:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** * - SUCCESS: GPIO registers are initialized according to GPIO_InitStruct content 197:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** * - ERROR: Not applicable 198:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** */ 199:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** ErrorStatus LL_GPIO_Init(GPIO_TypeDef *GPIOx, LL_GPIO_InitTypeDef *GPIO_InitStruct) 200:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** { 931 .loc 1 200 1 is_stmt 1 view -0 932 .cfi_startproc 933 @ args = 0, pretend = 0, frame = 0 934 @ frame_needed = 0, uses_anonymous_args = 0 935 .loc 1 200 1 is_stmt 0 view .LVU234 936 0000 F8B5 push {r3, r4, r5, r6, r7, lr} 937 .LCFI5: 938 .cfi_def_cfa_offset 24 939 .cfi_offset 3, -24 940 .cfi_offset 4, -20 941 .cfi_offset 5, -16 942 .cfi_offset 6, -12 ARM GAS /tmp/ccZKwQMo.s page 61 943 .cfi_offset 7, -8 944 .cfi_offset 14, -4 945 0002 0746 mov r7, r0 946 0004 0E46 mov r6, r1 201:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** uint32_t pinpos = 0x00000000U; 947 .loc 1 201 3 is_stmt 1 view .LVU235 948 .LVL77: 202:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** uint32_t currentpin = 0x00000000U; 949 .loc 1 202 3 view .LVU236 203:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** 204:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** /* Check the parameters */ 205:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** assert_param(IS_GPIO_ALL_INSTANCE(GPIOx)); 950 .loc 1 205 3 view .LVU237 206:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** assert_param(IS_LL_GPIO_PIN(GPIO_InitStruct->Pin)); 951 .loc 1 206 3 view .LVU238 207:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** assert_param(IS_LL_GPIO_MODE(GPIO_InitStruct->Mode)); 952 .loc 1 207 3 view .LVU239 208:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** assert_param(IS_LL_GPIO_PULL(GPIO_InitStruct->Pull)); 953 .loc 1 208 3 view .LVU240 209:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** 210:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** /* ------------------------- Configure the port pins ---------------- */ 211:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** /* Initialize pinpos on first pin set */ 212:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** pinpos = POSITION_VAL(GPIO_InitStruct->Pin); 954 .loc 1 212 3 view .LVU241 955 .loc 1 212 12 is_stmt 0 view .LVU242 956 0006 0D68 ldr r5, [r1] 957 .LVL78: 958 .LBB162: 959 .LBI162: 981:Drivers/CMSIS/Include/cmsis_gcc.h **** { 960 .loc 3 981 31 is_stmt 1 view .LVU243 961 .LBB163: 983:Drivers/CMSIS/Include/cmsis_gcc.h **** 962 .loc 3 983 3 view .LVU244 988:Drivers/CMSIS/Include/cmsis_gcc.h **** #else 963 .loc 3 988 4 view .LVU245 964 .syntax unified 965 @ 988 "Drivers/CMSIS/Include/cmsis_gcc.h" 1 966 0008 95FAA5F5 rbit r5, r5 967 @ 0 "" 2 968 .LVL79: 969 .loc 3 1001 3 view .LVU246 970 .loc 3 1001 3 is_stmt 0 view .LVU247 971 .thumb 972 .syntax unified 973 .LBE163: 974 .LBE162: 975 .loc 1 212 10 discriminator 2 view .LVU248 976 000c B5FA85F5 clz r5, r5 977 .LVL80: 213:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** 214:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** /* Configure the port pins */ 215:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** while (((GPIO_InitStruct->Pin) >> pinpos) != 0x00000000U) 978 .loc 1 215 3 is_stmt 1 view .LVU249 979 .loc 1 215 9 is_stmt 0 view .LVU250 980 0010 19E0 b .L38 981 .LVL81: ARM GAS /tmp/ccZKwQMo.s page 62 982 .L46: 216:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** { 217:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** /* Get current io position */ 218:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** currentpin = (GPIO_InitStruct->Pin) & (0x00000001U << pinpos); 219:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** 220:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** if (currentpin) 221:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** { 222:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** if ((GPIO_InitStruct->Mode == LL_GPIO_MODE_OUTPUT) || (GPIO_InitStruct->Mode == LL_GPIO_MODE_ 223:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** { 224:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** /* Check Speed mode parameters */ 225:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** assert_param(IS_LL_GPIO_SPEED(GPIO_InitStruct->Speed)); 983 .loc 1 225 9 is_stmt 1 view .LVU251 226:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** 227:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** /* Speed mode configuration */ 228:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** LL_GPIO_SetPinSpeed(GPIOx, currentpin, GPIO_InitStruct->Speed); 984 .loc 1 228 9 view .LVU252 985 0012 B268 ldr r2, [r6, #8] 986 0014 2146 mov r1, r4 987 0016 3846 mov r0, r7 988 0018 FFF7FEFF bl LL_GPIO_SetPinSpeed 989 .LVL82: 229:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** 230:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** /* Check Output mode parameters */ 231:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** assert_param(IS_LL_GPIO_OUTPUT_TYPE(GPIO_InitStruct->OutputType)); 990 .loc 1 231 9 view .LVU253 232:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** 233:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** /* Output mode configuration*/ 234:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** LL_GPIO_SetPinOutputType(GPIOx, GPIO_InitStruct->Pin, GPIO_InitStruct->OutputType); 991 .loc 1 234 9 view .LVU254 992 001c 3268 ldr r2, [r6] 993 001e F168 ldr r1, [r6, #12] 994 .LVL83: 995 .LBB164: 996 .LBI164: 342:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** { 997 .loc 2 342 22 view .LVU255 998 .LBB165: 344:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** } 999 .loc 2 344 3 view .LVU256 1000 0020 7B68 ldr r3, [r7, #4] 1001 0022 23EA0203 bic r3, r3, r2 1002 0026 01FB02F2 mul r2, r1, r2 1003 .LVL84: 344:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** } 1004 .loc 2 344 3 is_stmt 0 view .LVU257 1005 002a 1343 orrs r3, r3, r2 1006 002c 7B60 str r3, [r7, #4] 1007 .LVL85: 345:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** 1008 .loc 2 345 1 view .LVU258 1009 002e 16E0 b .L40 1010 .L42: 345:Drivers/STM32F7xx_HAL_Driver/Inc/stm32f7xx_ll_gpio.h **** 1011 .loc 2 345 1 view .LVU259 1012 .LBE165: 1013 .LBE164: 235:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** } ARM GAS /tmp/ccZKwQMo.s page 63 236:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** 237:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** /* Pull-up Pull down resistor configuration*/ 238:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** LL_GPIO_SetPinPull(GPIOx, currentpin, GPIO_InitStruct->Pull); 239:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** 240:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** if (GPIO_InitStruct->Mode == LL_GPIO_MODE_ALTERNATE) 241:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** { 242:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** /* Check Alternate parameter */ 243:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** assert_param(IS_LL_GPIO_ALTERNATE(GPIO_InitStruct->Alternate)); 244:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** 245:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** /* Speed mode configuration */ 246:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** if (POSITION_VAL(currentpin) < 0x00000008U) 247:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** { 248:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** LL_GPIO_SetAFPin_0_7(GPIOx, currentpin, GPIO_InitStruct->Alternate); 249:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** } 250:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** else 251:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** { 252:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** LL_GPIO_SetAFPin_8_15(GPIOx, currentpin, GPIO_InitStruct->Alternate); 1014 .loc 1 252 11 is_stmt 1 view .LVU260 1015 0030 7269 ldr r2, [r6, #20] 1016 0032 2146 mov r1, r4 1017 0034 3846 mov r0, r7 1018 0036 FFF7FEFF bl LL_GPIO_SetAFPin_8_15 1019 .LVL86: 1020 .L41: 253:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** } 254:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** } 255:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** /* Pin Mode configuration */ 256:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** LL_GPIO_SetPinMode(GPIOx, currentpin, GPIO_InitStruct->Mode); 1021 .loc 1 256 7 view .LVU261 1022 003a 7268 ldr r2, [r6, #4] 1023 003c 2146 mov r1, r4 1024 003e 3846 mov r0, r7 1025 0040 FFF7FEFF bl LL_GPIO_SetPinMode 1026 .LVL87: 1027 .L39: 257:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** } 258:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** pinpos++; 1028 .loc 1 258 5 view .LVU262 1029 .loc 1 258 11 is_stmt 0 view .LVU263 1030 0044 0135 adds r5, r5, #1 1031 .LVL88: 1032 .L38: 215:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** { 1033 .loc 1 215 45 is_stmt 1 view .LVU264 215:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** { 1034 .loc 1 215 27 is_stmt 0 view .LVU265 1035 0046 3468 ldr r4, [r6] 215:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** { 1036 .loc 1 215 45 view .LVU266 1037 0048 34FA05F2 lsrs r2, r4, r5 1038 004c 1BD0 beq .L45 218:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** 1039 .loc 1 218 5 is_stmt 1 view .LVU267 218:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** 1040 .loc 1 218 56 is_stmt 0 view .LVU268 1041 004e 0122 movs r2, #1 1042 0050 AA40 lsls r2, r2, r5 ARM GAS /tmp/ccZKwQMo.s page 64 1043 .LVL89: 220:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** { 1044 .loc 1 220 5 is_stmt 1 view .LVU269 220:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** { 1045 .loc 1 220 8 is_stmt 0 view .LVU270 1046 0052 1440 ands r4, r2, r4 1047 .LVL90: 220:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** { 1048 .loc 1 220 8 view .LVU271 1049 0054 F6D0 beq .L39 222:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** { 1050 .loc 1 222 7 is_stmt 1 view .LVU272 222:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** { 1051 .loc 1 222 27 is_stmt 0 view .LVU273 1052 0056 7368 ldr r3, [r6, #4] 222:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** { 1053 .loc 1 222 58 view .LVU274 1054 0058 013B subs r3, r3, #1 222:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** { 1055 .loc 1 222 10 view .LVU275 1056 005a 012B cmp r3, #1 1057 005c D9D9 bls .L46 1058 .L40: 238:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** 1059 .loc 1 238 7 is_stmt 1 view .LVU276 1060 005e 3269 ldr r2, [r6, #16] 1061 0060 2146 mov r1, r4 1062 0062 3846 mov r0, r7 1063 0064 FFF7FEFF bl LL_GPIO_SetPinPull 1064 .LVL91: 240:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** { 1065 .loc 1 240 7 view .LVU277 240:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** { 1066 .loc 1 240 26 is_stmt 0 view .LVU278 1067 0068 7368 ldr r3, [r6, #4] 240:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** { 1068 .loc 1 240 10 view .LVU279 1069 006a 022B cmp r3, #2 1070 006c E5D1 bne .L41 243:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** 1071 .loc 1 243 9 is_stmt 1 view .LVU280 246:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** { 1072 .loc 1 246 9 view .LVU281 1073 .LVL92: 1074 .LBB166: 1075 .LBI166: 981:Drivers/CMSIS/Include/cmsis_gcc.h **** { 1076 .loc 3 981 31 view .LVU282 1077 .LBB167: 983:Drivers/CMSIS/Include/cmsis_gcc.h **** 1078 .loc 3 983 3 view .LVU283 988:Drivers/CMSIS/Include/cmsis_gcc.h **** #else 1079 .loc 3 988 4 view .LVU284 1080 .syntax unified 1081 @ 988 "Drivers/CMSIS/Include/cmsis_gcc.h" 1 1082 006e 94FAA4F3 rbit r3, r4 1083 @ 0 "" 2 ARM GAS /tmp/ccZKwQMo.s page 65 1084 .LVL93: 1085 .loc 3 1001 3 view .LVU285 1086 .loc 3 1001 3 is_stmt 0 view .LVU286 1087 .thumb 1088 .syntax unified 1089 .LBE167: 1090 .LBE166: 246:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** { 1091 .loc 1 246 13 discriminator 2 view .LVU287 1092 0072 B3FA83F3 clz r3, r3 246:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** { 1093 .loc 1 246 12 discriminator 2 view .LVU288 1094 0076 072B cmp r3, #7 1095 0078 DAD8 bhi .L42 248:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** } 1096 .loc 1 248 11 is_stmt 1 view .LVU289 1097 007a 7269 ldr r2, [r6, #20] 1098 007c 2146 mov r1, r4 1099 007e 3846 mov r0, r7 1100 0080 FFF7FEFF bl LL_GPIO_SetAFPin_0_7 1101 .LVL94: 1102 0084 D9E7 b .L41 1103 .LVL95: 1104 .L45: 259:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** } 260:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** return (SUCCESS); 1105 .loc 1 260 3 view .LVU290 261:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** } 1106 .loc 1 261 1 is_stmt 0 view .LVU291 1107 0086 0020 movs r0, #0 1108 0088 F8BD pop {r3, r4, r5, r6, r7, pc} 1109 .loc 1 261 1 view .LVU292 1110 .cfi_endproc 1111 .LFE200: 1113 .section .text.LL_GPIO_StructInit,"ax",%progbits 1114 .align 1 1115 .global LL_GPIO_StructInit 1116 .syntax unified 1117 .thumb 1118 .thumb_func 1120 LL_GPIO_StructInit: 1121 .LVL96: 1122 .LFB201: 262:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** 263:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** /** 264:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** * @brief Set each @ref LL_GPIO_InitTypeDef field to default value. 265:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** * @param GPIO_InitStruct pointer to a @ref LL_GPIO_InitTypeDef structure 266:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** * whose fields will be set to default values. 267:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** * @retval None 268:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** */ 269:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** 270:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** void LL_GPIO_StructInit(LL_GPIO_InitTypeDef *GPIO_InitStruct) 271:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** { 1123 .loc 1 271 1 is_stmt 1 view -0 1124 .cfi_startproc 1125 @ args = 0, pretend = 0, frame = 0 1126 @ frame_needed = 0, uses_anonymous_args = 0 ARM GAS /tmp/ccZKwQMo.s page 66 1127 @ link register save eliminated. 272:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** /* Reset GPIO init structure parameters values */ 273:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** GPIO_InitStruct->Pin = LL_GPIO_PIN_ALL; 1128 .loc 1 273 3 view .LVU294 1129 .loc 1 273 31 is_stmt 0 view .LVU295 1130 0000 4FF6FF73 movw r3, #65535 1131 0004 0360 str r3, [r0] 274:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** GPIO_InitStruct->Mode = LL_GPIO_MODE_ANALOG; 1132 .loc 1 274 3 is_stmt 1 view .LVU296 1133 .loc 1 274 31 is_stmt 0 view .LVU297 1134 0006 0323 movs r3, #3 1135 0008 4360 str r3, [r0, #4] 275:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** GPIO_InitStruct->Speed = LL_GPIO_SPEED_FREQ_LOW; 1136 .loc 1 275 3 is_stmt 1 view .LVU298 1137 .loc 1 275 31 is_stmt 0 view .LVU299 1138 000a 0023 movs r3, #0 1139 000c 8360 str r3, [r0, #8] 276:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** GPIO_InitStruct->OutputType = LL_GPIO_OUTPUT_PUSHPULL; 1140 .loc 1 276 3 is_stmt 1 view .LVU300 1141 .loc 1 276 31 is_stmt 0 view .LVU301 1142 000e C360 str r3, [r0, #12] 277:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** GPIO_InitStruct->Pull = LL_GPIO_PULL_NO; 1143 .loc 1 277 3 is_stmt 1 view .LVU302 1144 .loc 1 277 31 is_stmt 0 view .LVU303 1145 0010 0361 str r3, [r0, #16] 278:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** GPIO_InitStruct->Alternate = LL_GPIO_AF_0; 1146 .loc 1 278 3 is_stmt 1 view .LVU304 1147 .loc 1 278 31 is_stmt 0 view .LVU305 1148 0012 4361 str r3, [r0, #20] 279:Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_ll_gpio.c **** } 1149 .loc 1 279 1 view .LVU306 1150 0014 7047 bx lr 1151 .cfi_endproc 1152 .LFE201: 1154 .text 1155 .Letext0: 1156 .file 5 "/usr/lib/gcc/arm-none-eabi/13.2.1/include/stdint.h" 1157 .file 6 "Drivers/CMSIS/Device/ST/STM32F7xx/Include/stm32f767xx.h" 1158 .file 7 "Drivers/CMSIS/Device/ST/STM32F7xx/Include/stm32f7xx.h" ARM GAS /tmp/ccZKwQMo.s page 67 DEFINED SYMBOLS *ABS*:00000000 stm32f7xx_ll_gpio.c /tmp/ccZKwQMo.s:20 .text.LL_GPIO_SetPinSpeed:00000000 $t /tmp/ccZKwQMo.s:25 .text.LL_GPIO_SetPinSpeed:00000000 LL_GPIO_SetPinSpeed /tmp/ccZKwQMo.s:97 .text.LL_GPIO_SetPinPull:00000000 $t /tmp/ccZKwQMo.s:102 .text.LL_GPIO_SetPinPull:00000000 LL_GPIO_SetPinPull /tmp/ccZKwQMo.s:172 .text.LL_GPIO_SetAFPin_0_7:00000000 $t /tmp/ccZKwQMo.s:177 .text.LL_GPIO_SetAFPin_0_7:00000000 LL_GPIO_SetAFPin_0_7 /tmp/ccZKwQMo.s:247 .text.LL_GPIO_SetAFPin_8_15:00000000 $t /tmp/ccZKwQMo.s:252 .text.LL_GPIO_SetAFPin_8_15:00000000 LL_GPIO_SetAFPin_8_15 /tmp/ccZKwQMo.s:323 .text.LL_GPIO_SetPinMode:00000000 $t /tmp/ccZKwQMo.s:328 .text.LL_GPIO_SetPinMode:00000000 LL_GPIO_SetPinMode /tmp/ccZKwQMo.s:398 .text.LL_GPIO_DeInit:00000000 $t /tmp/ccZKwQMo.s:404 .text.LL_GPIO_DeInit:00000000 LL_GPIO_DeInit /tmp/ccZKwQMo.s:905 .text.LL_GPIO_DeInit:00000150 $d /tmp/ccZKwQMo.s:922 .text.LL_GPIO_Init:00000000 $t /tmp/ccZKwQMo.s:928 .text.LL_GPIO_Init:00000000 LL_GPIO_Init /tmp/ccZKwQMo.s:1114 .text.LL_GPIO_StructInit:00000000 $t /tmp/ccZKwQMo.s:1120 .text.LL_GPIO_StructInit:00000000 LL_GPIO_StructInit NO UNDEFINED SYMBOLS