| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495 |
- ARM GAS C:\Users\zl835\AppData\Local\Temp\ccd3ZBta.s page 1
- 1 .cpu cortex-m4
- 2 .arch armv7e-m
- 3 .fpu fpv4-sp-d16
- 4 .eabi_attribute 27, 1
- 5 .eabi_attribute 28, 1
- 6 .eabi_attribute 20, 1
- 7 .eabi_attribute 21, 1
- 8 .eabi_attribute 23, 3
- 9 .eabi_attribute 24, 1
- 10 .eabi_attribute 25, 1
- 11 .eabi_attribute 26, 1
- 12 .eabi_attribute 30, 2
- 13 .eabi_attribute 34, 1
- 14 .eabi_attribute 18, 4
- 15 .file "stm32f3xx_hal_timebase_tim.c"
- 16 .text
- 17 .Ltext0:
- 18 .cfi_sections .debug_frame
- 19 .section .text.HAL_InitTick,"ax",%progbits
- 20 .align 1
- 21 .p2align 2,,3
- 22 .global HAL_InitTick
- 23 .syntax unified
- 24 .thumb
- 25 .thumb_func
- 27 HAL_InitTick:
- 28 .LVL0:
- 29 .LFB130:
- 30 .file 1 "Core/Src/stm32f3xx_hal_timebase_tim.c"
- 1:Core/Src/stm32f3xx_hal_timebase_tim.c **** /* USER CODE BEGIN Header */
- 2:Core/Src/stm32f3xx_hal_timebase_tim.c **** /**
- 3:Core/Src/stm32f3xx_hal_timebase_tim.c **** ******************************************************************************
- 4:Core/Src/stm32f3xx_hal_timebase_tim.c **** * @file stm32f3xx_hal_timebase_tim.c
- 5:Core/Src/stm32f3xx_hal_timebase_tim.c **** * @brief HAL time base based on the hardware TIM.
- 6:Core/Src/stm32f3xx_hal_timebase_tim.c **** ******************************************************************************
- 7:Core/Src/stm32f3xx_hal_timebase_tim.c **** * @attention
- 8:Core/Src/stm32f3xx_hal_timebase_tim.c **** *
- 9:Core/Src/stm32f3xx_hal_timebase_tim.c **** * Copyright (c) 2025 STMicroelectronics.
- 10:Core/Src/stm32f3xx_hal_timebase_tim.c **** * All rights reserved.
- 11:Core/Src/stm32f3xx_hal_timebase_tim.c **** *
- 12:Core/Src/stm32f3xx_hal_timebase_tim.c **** * This software is licensed under terms that can be found in the LICENSE file
- 13:Core/Src/stm32f3xx_hal_timebase_tim.c **** * in the root directory of this software component.
- 14:Core/Src/stm32f3xx_hal_timebase_tim.c **** * If no LICENSE file comes with this software, it is provided AS-IS.
- 15:Core/Src/stm32f3xx_hal_timebase_tim.c **** *
- 16:Core/Src/stm32f3xx_hal_timebase_tim.c **** ******************************************************************************
- 17:Core/Src/stm32f3xx_hal_timebase_tim.c **** */
- 18:Core/Src/stm32f3xx_hal_timebase_tim.c **** /* USER CODE END Header */
- 19:Core/Src/stm32f3xx_hal_timebase_tim.c ****
- 20:Core/Src/stm32f3xx_hal_timebase_tim.c **** /* Includes ------------------------------------------------------------------*/
- 21:Core/Src/stm32f3xx_hal_timebase_tim.c **** #include "stm32f3xx_hal.h"
- 22:Core/Src/stm32f3xx_hal_timebase_tim.c **** #include "stm32f3xx_hal_tim.h"
- 23:Core/Src/stm32f3xx_hal_timebase_tim.c ****
- 24:Core/Src/stm32f3xx_hal_timebase_tim.c **** /* Private typedef -----------------------------------------------------------*/
- 25:Core/Src/stm32f3xx_hal_timebase_tim.c **** /* Private define ------------------------------------------------------------*/
- 26:Core/Src/stm32f3xx_hal_timebase_tim.c **** /* Private macro -------------------------------------------------------------*/
- 27:Core/Src/stm32f3xx_hal_timebase_tim.c **** /* Private variables ---------------------------------------------------------*/
- 28:Core/Src/stm32f3xx_hal_timebase_tim.c **** TIM_HandleTypeDef htim1;
- ARM GAS C:\Users\zl835\AppData\Local\Temp\ccd3ZBta.s page 2
- 29:Core/Src/stm32f3xx_hal_timebase_tim.c **** /* Private function prototypes -----------------------------------------------*/
- 30:Core/Src/stm32f3xx_hal_timebase_tim.c **** /* Private functions ---------------------------------------------------------*/
- 31:Core/Src/stm32f3xx_hal_timebase_tim.c ****
- 32:Core/Src/stm32f3xx_hal_timebase_tim.c **** /**
- 33:Core/Src/stm32f3xx_hal_timebase_tim.c **** * @brief This function configures the TIM1 as a time base source.
- 34:Core/Src/stm32f3xx_hal_timebase_tim.c **** * The time source is configured to have 1ms time base with a dedicated
- 35:Core/Src/stm32f3xx_hal_timebase_tim.c **** * Tick interrupt priority.
- 36:Core/Src/stm32f3xx_hal_timebase_tim.c **** * @note This function is called automatically at the beginning of program after
- 37:Core/Src/stm32f3xx_hal_timebase_tim.c **** * reset by HAL_Init() or at any time when clock is configured, by HAL_RCC_ClockConfig().
- 38:Core/Src/stm32f3xx_hal_timebase_tim.c **** * @param TickPriority: Tick interrupt priority.
- 39:Core/Src/stm32f3xx_hal_timebase_tim.c **** * @retval HAL status
- 40:Core/Src/stm32f3xx_hal_timebase_tim.c **** */
- 41:Core/Src/stm32f3xx_hal_timebase_tim.c **** HAL_StatusTypeDef HAL_InitTick(uint32_t TickPriority)
- 42:Core/Src/stm32f3xx_hal_timebase_tim.c **** {
- 31 .loc 1 42 1 view -0
- 32 .cfi_startproc
- 33 @ args = 0, pretend = 0, frame = 32
- 34 @ frame_needed = 0, uses_anonymous_args = 0
- 43:Core/Src/stm32f3xx_hal_timebase_tim.c **** RCC_ClkInitTypeDef clkconfig;
- 35 .loc 1 43 3 view .LVU1
- 44:Core/Src/stm32f3xx_hal_timebase_tim.c **** uint32_t uwTimclock = 0U;
- 36 .loc 1 44 3 view .LVU2
- 45:Core/Src/stm32f3xx_hal_timebase_tim.c ****
- 46:Core/Src/stm32f3xx_hal_timebase_tim.c **** uint32_t uwPrescalerValue = 0U;
- 37 .loc 1 46 3 view .LVU3
- 47:Core/Src/stm32f3xx_hal_timebase_tim.c **** uint32_t pFLatency;
- 38 .loc 1 47 3 view .LVU4
- 48:Core/Src/stm32f3xx_hal_timebase_tim.c ****
- 49:Core/Src/stm32f3xx_hal_timebase_tim.c **** HAL_StatusTypeDef status;
- 39 .loc 1 49 3 view .LVU5
- 50:Core/Src/stm32f3xx_hal_timebase_tim.c ****
- 51:Core/Src/stm32f3xx_hal_timebase_tim.c **** /* Enable TIM1 clock */
- 52:Core/Src/stm32f3xx_hal_timebase_tim.c **** __HAL_RCC_TIM1_CLK_ENABLE();
- 40 .loc 1 52 3 view .LVU6
- 41 .LBB2:
- 42 .loc 1 52 3 view .LVU7
- 43 .loc 1 52 3 view .LVU8
- 44 0000 1F4B ldr r3, .L8
- 45 .LBE2:
- 42:Core/Src/stm32f3xx_hal_timebase_tim.c **** RCC_ClkInitTypeDef clkconfig;
- 46 .loc 1 42 1 is_stmt 0 view .LVU9
- 47 0002 70B5 push {r4, r5, r6, lr}
- 48 .LCFI0:
- 49 .cfi_def_cfa_offset 16
- 50 .cfi_offset 4, -16
- 51 .cfi_offset 5, -12
- 52 .cfi_offset 6, -8
- 53 .cfi_offset 14, -4
- 54 .LBB3:
- 55 .loc 1 52 3 view .LVU10
- 56 0004 9A69 ldr r2, [r3, #24]
- 57 .LBE3:
- 53:Core/Src/stm32f3xx_hal_timebase_tim.c ****
- 54:Core/Src/stm32f3xx_hal_timebase_tim.c **** /* Get clock configuration */
- 55:Core/Src/stm32f3xx_hal_timebase_tim.c **** HAL_RCC_GetClockConfig(&clkconfig, &pFLatency);
- 56:Core/Src/stm32f3xx_hal_timebase_tim.c ****
- 57:Core/Src/stm32f3xx_hal_timebase_tim.c **** /* Compute TIM1 clock */
- ARM GAS C:\Users\zl835\AppData\Local\Temp\ccd3ZBta.s page 3
- 58:Core/Src/stm32f3xx_hal_timebase_tim.c **** uwTimclock = HAL_RCC_GetPCLK2Freq();
- 59:Core/Src/stm32f3xx_hal_timebase_tim.c ****
- 60:Core/Src/stm32f3xx_hal_timebase_tim.c **** /* Compute the prescaler value to have TIM1 counter clock equal to 1MHz */
- 61:Core/Src/stm32f3xx_hal_timebase_tim.c **** uwPrescalerValue = (uint32_t) ((uwTimclock / 1000000U) - 1U);
- 62:Core/Src/stm32f3xx_hal_timebase_tim.c ****
- 63:Core/Src/stm32f3xx_hal_timebase_tim.c **** /* Initialize TIM1 */
- 64:Core/Src/stm32f3xx_hal_timebase_tim.c **** htim1.Instance = TIM1;
- 58 .loc 1 64 18 view .LVU11
- 59 0006 1F4C ldr r4, .L8+4
- 60 .LBB4:
- 52:Core/Src/stm32f3xx_hal_timebase_tim.c ****
- 61 .loc 1 52 3 view .LVU12
- 62 0008 42F40062 orr r2, r2, #2048
- 63 000c 9A61 str r2, [r3, #24]
- 52:Core/Src/stm32f3xx_hal_timebase_tim.c ****
- 64 .loc 1 52 3 is_stmt 1 view .LVU13
- 65 000e 9B69 ldr r3, [r3, #24]
- 66 .LBE4:
- 42:Core/Src/stm32f3xx_hal_timebase_tim.c **** RCC_ClkInitTypeDef clkconfig;
- 67 .loc 1 42 1 is_stmt 0 view .LVU14
- 68 0010 88B0 sub sp, sp, #32
- 69 .LCFI1:
- 70 .cfi_def_cfa_offset 48
- 71 .LBB5:
- 52:Core/Src/stm32f3xx_hal_timebase_tim.c ****
- 72 .loc 1 52 3 view .LVU15
- 73 0012 03F40063 and r3, r3, #2048
- 74 .LBE5:
- 55:Core/Src/stm32f3xx_hal_timebase_tim.c ****
- 75 .loc 1 55 3 view .LVU16
- 76 0016 01A9 add r1, sp, #4
- 77 .LBB6:
- 52:Core/Src/stm32f3xx_hal_timebase_tim.c ****
- 78 .loc 1 52 3 view .LVU17
- 79 0018 0293 str r3, [sp, #8]
- 52:Core/Src/stm32f3xx_hal_timebase_tim.c ****
- 80 .loc 1 52 3 is_stmt 1 view .LVU18
- 81 .LBE6:
- 42:Core/Src/stm32f3xx_hal_timebase_tim.c **** RCC_ClkInitTypeDef clkconfig;
- 82 .loc 1 42 1 is_stmt 0 view .LVU19
- 83 001a 0646 mov r6, r0
- 55:Core/Src/stm32f3xx_hal_timebase_tim.c ****
- 84 .loc 1 55 3 view .LVU20
- 85 001c 03A8 add r0, sp, #12
- 86 .LVL1:
- 87 .LBB7:
- 52:Core/Src/stm32f3xx_hal_timebase_tim.c ****
- 88 .loc 1 52 3 view .LVU21
- 89 001e 029B ldr r3, [sp, #8]
- 90 .LBE7:
- 52:Core/Src/stm32f3xx_hal_timebase_tim.c ****
- 91 .loc 1 52 3 is_stmt 1 view .LVU22
- 55:Core/Src/stm32f3xx_hal_timebase_tim.c ****
- 92 .loc 1 55 3 view .LVU23
- 93 0020 FFF7FEFF bl HAL_RCC_GetClockConfig
- 94 .LVL2:
- 58:Core/Src/stm32f3xx_hal_timebase_tim.c ****
- ARM GAS C:\Users\zl835\AppData\Local\Temp\ccd3ZBta.s page 4
- 95 .loc 1 58 7 view .LVU24
- 58:Core/Src/stm32f3xx_hal_timebase_tim.c ****
- 96 .loc 1 58 20 is_stmt 0 view .LVU25
- 97 0024 FFF7FEFF bl HAL_RCC_GetPCLK2Freq
- 98 .LVL3:
- 61:Core/Src/stm32f3xx_hal_timebase_tim.c ****
- 99 .loc 1 61 46 view .LVU26
- 100 0028 174A ldr r2, .L8+8
- 101 .LVL4:
- 61:Core/Src/stm32f3xx_hal_timebase_tim.c ****
- 102 .loc 1 61 3 is_stmt 1 view .LVU27
- 103 .loc 1 64 3 view .LVU28
- 104 .loc 1 64 18 is_stmt 0 view .LVU29
- 105 002a 1849 ldr r1, .L8+12
- 61:Core/Src/stm32f3xx_hal_timebase_tim.c ****
- 106 .loc 1 61 46 view .LVU30
- 107 002c A2FB0023 umull r2, r3, r2, r0
- 108 0030 9B0C lsrs r3, r3, #18
- 61:Core/Src/stm32f3xx_hal_timebase_tim.c ****
- 109 .loc 1 61 20 view .LVU31
- 110 0032 013B subs r3, r3, #1
- 65:Core/Src/stm32f3xx_hal_timebase_tim.c ****
- 66:Core/Src/stm32f3xx_hal_timebase_tim.c **** /* Initialize TIMx peripheral as follow:
- 67:Core/Src/stm32f3xx_hal_timebase_tim.c **** * Period = [(TIM1CLK/1000) - 1]. to have a (1/1000) s time base.
- 68:Core/Src/stm32f3xx_hal_timebase_tim.c **** * Prescaler = (uwTimclock/1000000 - 1) to have a 1MHz counter clock.
- 69:Core/Src/stm32f3xx_hal_timebase_tim.c **** * ClockDivision = 0
- 70:Core/Src/stm32f3xx_hal_timebase_tim.c **** * Counter direction = Up
- 71:Core/Src/stm32f3xx_hal_timebase_tim.c **** */
- 72:Core/Src/stm32f3xx_hal_timebase_tim.c **** htim1.Init.Period = (1000000U / 1000U) - 1U;
- 73:Core/Src/stm32f3xx_hal_timebase_tim.c **** htim1.Init.Prescaler = uwPrescalerValue;
- 74:Core/Src/stm32f3xx_hal_timebase_tim.c **** htim1.Init.ClockDivision = 0;
- 111 .loc 1 74 28 view .LVU32
- 112 0034 0022 movs r2, #0
- 73:Core/Src/stm32f3xx_hal_timebase_tim.c **** htim1.Init.ClockDivision = 0;
- 113 .loc 1 73 24 view .LVU33
- 114 0036 C4E90013 strd r1, r3, [r4]
- 75:Core/Src/stm32f3xx_hal_timebase_tim.c **** htim1.Init.CounterMode = TIM_COUNTERMODE_UP;
- 76:Core/Src/stm32f3xx_hal_timebase_tim.c **** htim1.Init.AutoReloadPreload = TIM_AUTORELOAD_PRELOAD_DISABLE;
- 77:Core/Src/stm32f3xx_hal_timebase_tim.c ****
- 78:Core/Src/stm32f3xx_hal_timebase_tim.c **** status = HAL_TIM_Base_Init(&htim1);
- 115 .loc 1 78 12 view .LVU34
- 116 003a 2046 mov r0, r4
- 117 .LVL5:
- 72:Core/Src/stm32f3xx_hal_timebase_tim.c **** htim1.Init.Prescaler = uwPrescalerValue;
- 118 .loc 1 72 21 view .LVU35
- 119 003c 40F2E733 movw r3, #999
- 74:Core/Src/stm32f3xx_hal_timebase_tim.c **** htim1.Init.CounterMode = TIM_COUNTERMODE_UP;
- 120 .loc 1 74 28 view .LVU36
- 121 0040 2261 str r2, [r4, #16]
- 75:Core/Src/stm32f3xx_hal_timebase_tim.c **** htim1.Init.CounterMode = TIM_COUNTERMODE_UP;
- 122 .loc 1 75 26 view .LVU37
- 123 0042 A260 str r2, [r4, #8]
- 76:Core/Src/stm32f3xx_hal_timebase_tim.c ****
- 124 .loc 1 76 32 view .LVU38
- 125 0044 A261 str r2, [r4, #24]
- 72:Core/Src/stm32f3xx_hal_timebase_tim.c **** htim1.Init.Prescaler = uwPrescalerValue;
- 126 .loc 1 72 21 view .LVU39
- ARM GAS C:\Users\zl835\AppData\Local\Temp\ccd3ZBta.s page 5
- 127 0046 E360 str r3, [r4, #12]
- 73:Core/Src/stm32f3xx_hal_timebase_tim.c **** htim1.Init.ClockDivision = 0;
- 128 .loc 1 73 3 is_stmt 1 view .LVU40
- 74:Core/Src/stm32f3xx_hal_timebase_tim.c **** htim1.Init.CounterMode = TIM_COUNTERMODE_UP;
- 129 .loc 1 74 3 view .LVU41
- 75:Core/Src/stm32f3xx_hal_timebase_tim.c **** htim1.Init.AutoReloadPreload = TIM_AUTORELOAD_PRELOAD_DISABLE;
- 130 .loc 1 75 3 view .LVU42
- 76:Core/Src/stm32f3xx_hal_timebase_tim.c ****
- 131 .loc 1 76 3 view .LVU43
- 132 .loc 1 78 3 view .LVU44
- 133 .loc 1 78 12 is_stmt 0 view .LVU45
- 134 0048 FFF7FEFF bl HAL_TIM_Base_Init
- 135 .LVL6:
- 79:Core/Src/stm32f3xx_hal_timebase_tim.c **** if (status == HAL_OK)
- 136 .loc 1 79 3 is_stmt 1 view .LVU46
- 137 .loc 1 79 6 is_stmt 0 view .LVU47
- 138 004c 0546 mov r5, r0
- 139 004e 10B1 cbz r0, .L6
- 140 .LVL7:
- 141 .L2:
- 80:Core/Src/stm32f3xx_hal_timebase_tim.c **** {
- 81:Core/Src/stm32f3xx_hal_timebase_tim.c **** /* Start the TIM time Base generation in interrupt mode */
- 82:Core/Src/stm32f3xx_hal_timebase_tim.c **** status = HAL_TIM_Base_Start_IT(&htim1);
- 83:Core/Src/stm32f3xx_hal_timebase_tim.c **** if (status == HAL_OK)
- 84:Core/Src/stm32f3xx_hal_timebase_tim.c **** {
- 85:Core/Src/stm32f3xx_hal_timebase_tim.c **** /* Enable the TIM1 global Interrupt */
- 86:Core/Src/stm32f3xx_hal_timebase_tim.c **** HAL_NVIC_EnableIRQ(TIM1_UP_TIM16_IRQn);
- 87:Core/Src/stm32f3xx_hal_timebase_tim.c **** /* Configure the SysTick IRQ priority */
- 88:Core/Src/stm32f3xx_hal_timebase_tim.c **** if (TickPriority < (1UL << __NVIC_PRIO_BITS))
- 89:Core/Src/stm32f3xx_hal_timebase_tim.c **** {
- 90:Core/Src/stm32f3xx_hal_timebase_tim.c **** /* Configure the TIM IRQ priority */
- 91:Core/Src/stm32f3xx_hal_timebase_tim.c **** HAL_NVIC_SetPriority(TIM1_UP_TIM16_IRQn, TickPriority, 0U);
- 92:Core/Src/stm32f3xx_hal_timebase_tim.c **** uwTickPrio = TickPriority;
- 93:Core/Src/stm32f3xx_hal_timebase_tim.c **** }
- 94:Core/Src/stm32f3xx_hal_timebase_tim.c **** else
- 95:Core/Src/stm32f3xx_hal_timebase_tim.c **** {
- 96:Core/Src/stm32f3xx_hal_timebase_tim.c **** status = HAL_ERROR;
- 97:Core/Src/stm32f3xx_hal_timebase_tim.c **** }
- 98:Core/Src/stm32f3xx_hal_timebase_tim.c **** }
- 99:Core/Src/stm32f3xx_hal_timebase_tim.c **** }
- 100:Core/Src/stm32f3xx_hal_timebase_tim.c ****
- 101:Core/Src/stm32f3xx_hal_timebase_tim.c **** /* Return function status */
- 102:Core/Src/stm32f3xx_hal_timebase_tim.c **** return status;
- 142 .loc 1 102 3 is_stmt 1 view .LVU48
- 103:Core/Src/stm32f3xx_hal_timebase_tim.c **** }
- 143 .loc 1 103 1 is_stmt 0 view .LVU49
- 144 0050 2846 mov r0, r5
- 145 0052 08B0 add sp, sp, #32
- 146 .LCFI2:
- 147 .cfi_remember_state
- 148 .cfi_def_cfa_offset 16
- 149 @ sp needed
- 150 0054 70BD pop {r4, r5, r6, pc}
- 151 .LVL8:
- 152 .L6:
- 153 .LCFI3:
- 154 .cfi_restore_state
- ARM GAS C:\Users\zl835\AppData\Local\Temp\ccd3ZBta.s page 6
- 82:Core/Src/stm32f3xx_hal_timebase_tim.c **** if (status == HAL_OK)
- 155 .loc 1 82 5 is_stmt 1 view .LVU50
- 82:Core/Src/stm32f3xx_hal_timebase_tim.c **** if (status == HAL_OK)
- 156 .loc 1 82 14 is_stmt 0 view .LVU51
- 157 0056 2046 mov r0, r4
- 158 .LVL9:
- 82:Core/Src/stm32f3xx_hal_timebase_tim.c **** if (status == HAL_OK)
- 159 .loc 1 82 14 view .LVU52
- 160 0058 FFF7FEFF bl HAL_TIM_Base_Start_IT
- 161 .LVL10:
- 83:Core/Src/stm32f3xx_hal_timebase_tim.c **** {
- 162 .loc 1 83 5 is_stmt 1 view .LVU53
- 83:Core/Src/stm32f3xx_hal_timebase_tim.c **** {
- 163 .loc 1 83 8 is_stmt 0 view .LVU54
- 164 005c 0546 mov r5, r0
- 165 005e 0028 cmp r0, #0
- 166 0060 F6D1 bne .L2
- 86:Core/Src/stm32f3xx_hal_timebase_tim.c **** /* Configure the SysTick IRQ priority */
- 167 .loc 1 86 9 is_stmt 1 view .LVU55
- 168 0062 1920 movs r0, #25
- 169 .LVL11:
- 86:Core/Src/stm32f3xx_hal_timebase_tim.c **** /* Configure the SysTick IRQ priority */
- 170 .loc 1 86 9 is_stmt 0 view .LVU56
- 171 0064 FFF7FEFF bl HAL_NVIC_EnableIRQ
- 172 .LVL12:
- 88:Core/Src/stm32f3xx_hal_timebase_tim.c **** {
- 173 .loc 1 88 7 is_stmt 1 view .LVU57
- 88:Core/Src/stm32f3xx_hal_timebase_tim.c **** {
- 174 .loc 1 88 10 is_stmt 0 view .LVU58
- 175 0068 0F2E cmp r6, #15
- 176 006a 01D9 bls .L7
- 96:Core/Src/stm32f3xx_hal_timebase_tim.c **** }
- 177 .loc 1 96 16 view .LVU59
- 178 006c 0125 movs r5, #1
- 179 006e EFE7 b .L2
- 180 .L7:
- 91:Core/Src/stm32f3xx_hal_timebase_tim.c **** uwTickPrio = TickPriority;
- 181 .loc 1 91 9 is_stmt 1 view .LVU60
- 182 0070 2A46 mov r2, r5
- 183 0072 3146 mov r1, r6
- 184 0074 1920 movs r0, #25
- 185 0076 FFF7FEFF bl HAL_NVIC_SetPriority
- 186 .LVL13:
- 92:Core/Src/stm32f3xx_hal_timebase_tim.c **** }
- 187 .loc 1 92 9 view .LVU61
- 92:Core/Src/stm32f3xx_hal_timebase_tim.c **** }
- 188 .loc 1 92 20 is_stmt 0 view .LVU62
- 189 007a 054B ldr r3, .L8+16
- 190 007c 1E60 str r6, [r3]
- 191 007e E7E7 b .L2
- 192 .L9:
- 193 .align 2
- 194 .L8:
- 195 0080 00100240 .word 1073876992
- 196 0084 00000000 .word .LANCHOR0
- 197 0088 83DE1B43 .word 1125899907
- 198 008c 002C0140 .word 1073818624
- ARM GAS C:\Users\zl835\AppData\Local\Temp\ccd3ZBta.s page 7
- 199 0090 00000000 .word uwTickPrio
- 200 .cfi_endproc
- 201 .LFE130:
- 203 .section .text.HAL_SuspendTick,"ax",%progbits
- 204 .align 1
- 205 .p2align 2,,3
- 206 .global HAL_SuspendTick
- 207 .syntax unified
- 208 .thumb
- 209 .thumb_func
- 211 HAL_SuspendTick:
- 212 .LFB131:
- 104:Core/Src/stm32f3xx_hal_timebase_tim.c ****
- 105:Core/Src/stm32f3xx_hal_timebase_tim.c **** /**
- 106:Core/Src/stm32f3xx_hal_timebase_tim.c **** * @brief Suspend Tick increment.
- 107:Core/Src/stm32f3xx_hal_timebase_tim.c **** * @note Disable the tick increment by disabling TIM1 update interrupt.
- 108:Core/Src/stm32f3xx_hal_timebase_tim.c **** * @param None
- 109:Core/Src/stm32f3xx_hal_timebase_tim.c **** * @retval None
- 110:Core/Src/stm32f3xx_hal_timebase_tim.c **** */
- 111:Core/Src/stm32f3xx_hal_timebase_tim.c **** void HAL_SuspendTick(void)
- 112:Core/Src/stm32f3xx_hal_timebase_tim.c **** {
- 213 .loc 1 112 1 is_stmt 1 view -0
- 214 .cfi_startproc
- 215 @ args = 0, pretend = 0, frame = 0
- 216 @ frame_needed = 0, uses_anonymous_args = 0
- 217 @ link register save eliminated.
- 113:Core/Src/stm32f3xx_hal_timebase_tim.c **** /* Disable TIM1 update Interrupt */
- 114:Core/Src/stm32f3xx_hal_timebase_tim.c **** __HAL_TIM_DISABLE_IT(&htim1, TIM_IT_UPDATE);
- 218 .loc 1 114 3 view .LVU64
- 219 0000 034B ldr r3, .L11
- 220 0002 1A68 ldr r2, [r3]
- 221 0004 D368 ldr r3, [r2, #12]
- 222 0006 23F00103 bic r3, r3, #1
- 223 000a D360 str r3, [r2, #12]
- 115:Core/Src/stm32f3xx_hal_timebase_tim.c **** }
- 224 .loc 1 115 1 is_stmt 0 view .LVU65
- 225 000c 7047 bx lr
- 226 .L12:
- 227 000e 00BF .align 2
- 228 .L11:
- 229 0010 00000000 .word .LANCHOR0
- 230 .cfi_endproc
- 231 .LFE131:
- 233 .section .text.HAL_ResumeTick,"ax",%progbits
- 234 .align 1
- 235 .p2align 2,,3
- 236 .global HAL_ResumeTick
- 237 .syntax unified
- 238 .thumb
- 239 .thumb_func
- 241 HAL_ResumeTick:
- 242 .LFB132:
- 116:Core/Src/stm32f3xx_hal_timebase_tim.c ****
- 117:Core/Src/stm32f3xx_hal_timebase_tim.c **** /**
- 118:Core/Src/stm32f3xx_hal_timebase_tim.c **** * @brief Resume Tick increment.
- 119:Core/Src/stm32f3xx_hal_timebase_tim.c **** * @note Enable the tick increment by Enabling TIM1 update interrupt.
- 120:Core/Src/stm32f3xx_hal_timebase_tim.c **** * @param None
- ARM GAS C:\Users\zl835\AppData\Local\Temp\ccd3ZBta.s page 8
- 121:Core/Src/stm32f3xx_hal_timebase_tim.c **** * @retval None
- 122:Core/Src/stm32f3xx_hal_timebase_tim.c **** */
- 123:Core/Src/stm32f3xx_hal_timebase_tim.c **** void HAL_ResumeTick(void)
- 124:Core/Src/stm32f3xx_hal_timebase_tim.c **** {
- 243 .loc 1 124 1 is_stmt 1 view -0
- 244 .cfi_startproc
- 245 @ args = 0, pretend = 0, frame = 0
- 246 @ frame_needed = 0, uses_anonymous_args = 0
- 247 @ link register save eliminated.
- 125:Core/Src/stm32f3xx_hal_timebase_tim.c **** /* Enable TIM1 Update interrupt */
- 126:Core/Src/stm32f3xx_hal_timebase_tim.c **** __HAL_TIM_ENABLE_IT(&htim1, TIM_IT_UPDATE);
- 248 .loc 1 126 3 view .LVU67
- 249 0000 034B ldr r3, .L14
- 250 0002 1A68 ldr r2, [r3]
- 251 0004 D368 ldr r3, [r2, #12]
- 252 0006 43F00103 orr r3, r3, #1
- 253 000a D360 str r3, [r2, #12]
- 127:Core/Src/stm32f3xx_hal_timebase_tim.c **** }
- 254 .loc 1 127 1 is_stmt 0 view .LVU68
- 255 000c 7047 bx lr
- 256 .L15:
- 257 000e 00BF .align 2
- 258 .L14:
- 259 0010 00000000 .word .LANCHOR0
- 260 .cfi_endproc
- 261 .LFE132:
- 263 .global htim1
- 264 .section .bss.htim1,"aw",%nobits
- 265 .align 2
- 266 .set .LANCHOR0,. + 0
- 269 htim1:
- 270 0000 00000000 .space 76
- 270 00000000
- 270 00000000
- 270 00000000
- 270 00000000
- 271 .text
- 272 .Letext0:
- 273 .file 2 "d:\\arm-gcc\\arm-none-eabi\\include\\machine\\_default_types.h"
- 274 .file 3 "d:\\arm-gcc\\arm-none-eabi\\include\\sys\\_stdint.h"
- 275 .file 4 "Drivers/CMSIS/Device/ST/STM32F3xx/Include/stm32f302xc.h"
- 276 .file 5 "Drivers/STM32F3xx_HAL_Driver/Inc/stm32f3xx_hal_def.h"
- 277 .file 6 "Drivers/STM32F3xx_HAL_Driver/Inc/stm32f3xx_hal_rcc.h"
- 278 .file 7 "Drivers/STM32F3xx_HAL_Driver/Inc/stm32f3xx_hal_dma.h"
- 279 .file 8 "Drivers/STM32F3xx_HAL_Driver/Inc/stm32f3xx_hal_tim.h"
- 280 .file 9 "Drivers/STM32F3xx_HAL_Driver/Inc/stm32f3xx_hal.h"
- 281 .file 10 "Drivers/STM32F3xx_HAL_Driver/Inc/stm32f3xx_hal_cortex.h"
- ARM GAS C:\Users\zl835\AppData\Local\Temp\ccd3ZBta.s page 9
- DEFINED SYMBOLS
- *ABS*:00000000 stm32f3xx_hal_timebase_tim.c
- C:\Users\zl835\AppData\Local\Temp\ccd3ZBta.s:20 .text.HAL_InitTick:00000000 $t
- C:\Users\zl835\AppData\Local\Temp\ccd3ZBta.s:27 .text.HAL_InitTick:00000000 HAL_InitTick
- C:\Users\zl835\AppData\Local\Temp\ccd3ZBta.s:195 .text.HAL_InitTick:00000080 $d
- C:\Users\zl835\AppData\Local\Temp\ccd3ZBta.s:204 .text.HAL_SuspendTick:00000000 $t
- C:\Users\zl835\AppData\Local\Temp\ccd3ZBta.s:211 .text.HAL_SuspendTick:00000000 HAL_SuspendTick
- C:\Users\zl835\AppData\Local\Temp\ccd3ZBta.s:229 .text.HAL_SuspendTick:00000010 $d
- C:\Users\zl835\AppData\Local\Temp\ccd3ZBta.s:234 .text.HAL_ResumeTick:00000000 $t
- C:\Users\zl835\AppData\Local\Temp\ccd3ZBta.s:241 .text.HAL_ResumeTick:00000000 HAL_ResumeTick
- C:\Users\zl835\AppData\Local\Temp\ccd3ZBta.s:259 .text.HAL_ResumeTick:00000010 $d
- C:\Users\zl835\AppData\Local\Temp\ccd3ZBta.s:269 .bss.htim1:00000000 htim1
- C:\Users\zl835\AppData\Local\Temp\ccd3ZBta.s:265 .bss.htim1:00000000 $d
- UNDEFINED SYMBOLS
- HAL_RCC_GetClockConfig
- HAL_RCC_GetPCLK2Freq
- HAL_TIM_Base_Init
- HAL_TIM_Base_Start_IT
- HAL_NVIC_EnableIRQ
- HAL_NVIC_SetPriority
- uwTickPrio
|