584 lines
24 KiB
Plaintext
584 lines
24 KiB
Plaintext
ARM GAS /tmp/ccF9G5yZ.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, 1
|
||
13 .eabi_attribute 34, 1
|
||
14 .eabi_attribute 18, 4
|
||
15 .file "rtc.c"
|
||
16 .text
|
||
17 .Ltext0:
|
||
18 .cfi_sections .debug_frame
|
||
19 .section .text.MX_RTC_Init,"ax",%progbits
|
||
20 .align 1
|
||
21 .global MX_RTC_Init
|
||
22 .syntax unified
|
||
23 .thumb
|
||
24 .thumb_func
|
||
26 MX_RTC_Init:
|
||
27 .LFB134:
|
||
28 .file 1 "Src/rtc.c"
|
||
1:Src/rtc.c **** /* USER CODE BEGIN Header */
|
||
2:Src/rtc.c **** /**
|
||
3:Src/rtc.c **** ******************************************************************************
|
||
4:Src/rtc.c **** * @file rtc.c
|
||
5:Src/rtc.c **** * @brief This file provides code for the configuration
|
||
6:Src/rtc.c **** * of the RTC instances.
|
||
7:Src/rtc.c **** ******************************************************************************
|
||
8:Src/rtc.c **** * @attention
|
||
9:Src/rtc.c **** *
|
||
10:Src/rtc.c **** * Copyright (c) 2025 STMicroelectronics.
|
||
11:Src/rtc.c **** * All rights reserved.
|
||
12:Src/rtc.c **** *
|
||
13:Src/rtc.c **** * This software is licensed under terms that can be found in the LICENSE file
|
||
14:Src/rtc.c **** * in the root directory of this software component.
|
||
15:Src/rtc.c **** * If no LICENSE file comes with this software, it is provided AS-IS.
|
||
16:Src/rtc.c **** *
|
||
17:Src/rtc.c **** ******************************************************************************
|
||
18:Src/rtc.c **** */
|
||
19:Src/rtc.c **** /* USER CODE END Header */
|
||
20:Src/rtc.c **** /* Includes ------------------------------------------------------------------*/
|
||
21:Src/rtc.c **** #include "rtc.h"
|
||
22:Src/rtc.c ****
|
||
23:Src/rtc.c **** /* USER CODE BEGIN 0 */
|
||
24:Src/rtc.c ****
|
||
25:Src/rtc.c **** /* USER CODE END 0 */
|
||
26:Src/rtc.c ****
|
||
27:Src/rtc.c **** RTC_HandleTypeDef hrtc;
|
||
28:Src/rtc.c ****
|
||
29:Src/rtc.c **** /* RTC init function */
|
||
30:Src/rtc.c **** void MX_RTC_Init(void)
|
||
ARM GAS /tmp/ccF9G5yZ.s page 2
|
||
|
||
|
||
31:Src/rtc.c **** {
|
||
29 .loc 1 31 1 view -0
|
||
30 .cfi_startproc
|
||
31 @ args = 0, pretend = 0, frame = 64
|
||
32 @ frame_needed = 0, uses_anonymous_args = 0
|
||
33 0000 10B5 push {r4, lr}
|
||
34 .LCFI0:
|
||
35 .cfi_def_cfa_offset 8
|
||
36 .cfi_offset 4, -8
|
||
37 .cfi_offset 14, -4
|
||
38 0002 90B0 sub sp, sp, #64
|
||
39 .LCFI1:
|
||
40 .cfi_def_cfa_offset 72
|
||
32:Src/rtc.c ****
|
||
33:Src/rtc.c **** /* USER CODE BEGIN RTC_Init 0 */
|
||
34:Src/rtc.c ****
|
||
35:Src/rtc.c **** /* USER CODE END RTC_Init 0 */
|
||
36:Src/rtc.c ****
|
||
37:Src/rtc.c **** RTC_TimeTypeDef sTime = {0};
|
||
41 .loc 1 37 3 view .LVU1
|
||
42 .loc 1 37 19 is_stmt 0 view .LVU2
|
||
43 0004 0024 movs r4, #0
|
||
44 0006 0B94 str r4, [sp, #44]
|
||
45 0008 0C94 str r4, [sp, #48]
|
||
46 000a 0D94 str r4, [sp, #52]
|
||
47 000c 0E94 str r4, [sp, #56]
|
||
48 000e 0F94 str r4, [sp, #60]
|
||
38:Src/rtc.c **** RTC_DateTypeDef sDate = {0};
|
||
49 .loc 1 38 3 is_stmt 1 view .LVU3
|
||
50 .loc 1 38 19 is_stmt 0 view .LVU4
|
||
51 0010 0A94 str r4, [sp, #40]
|
||
39:Src/rtc.c **** RTC_AlarmTypeDef sAlarm = {0};
|
||
52 .loc 1 39 3 is_stmt 1 view .LVU5
|
||
53 .loc 1 39 20 is_stmt 0 view .LVU6
|
||
54 0012 2822 movs r2, #40
|
||
55 0014 2146 mov r1, r4
|
||
56 0016 6846 mov r0, sp
|
||
57 0018 FFF7FEFF bl memset
|
||
58 .LVL0:
|
||
40:Src/rtc.c ****
|
||
41:Src/rtc.c **** /* USER CODE BEGIN RTC_Init 1 */
|
||
42:Src/rtc.c ****
|
||
43:Src/rtc.c **** /* USER CODE END RTC_Init 1 */
|
||
44:Src/rtc.c ****
|
||
45:Src/rtc.c **** /** Initialize RTC Only
|
||
46:Src/rtc.c **** */
|
||
47:Src/rtc.c **** hrtc.Instance = RTC;
|
||
59 .loc 1 47 3 is_stmt 1 view .LVU7
|
||
60 .loc 1 47 17 is_stmt 0 view .LVU8
|
||
61 001c 2948 ldr r0, .L11
|
||
62 001e 2A4B ldr r3, .L11+4
|
||
63 0020 0360 str r3, [r0]
|
||
48:Src/rtc.c **** hrtc.Init.HourFormat = RTC_HOURFORMAT_24;
|
||
64 .loc 1 48 3 is_stmt 1 view .LVU9
|
||
65 .loc 1 48 24 is_stmt 0 view .LVU10
|
||
66 0022 4460 str r4, [r0, #4]
|
||
49:Src/rtc.c **** hrtc.Init.AsynchPrediv = 127;
|
||
ARM GAS /tmp/ccF9G5yZ.s page 3
|
||
|
||
|
||
67 .loc 1 49 3 is_stmt 1 view .LVU11
|
||
68 .loc 1 49 26 is_stmt 0 view .LVU12
|
||
69 0024 7F23 movs r3, #127
|
||
70 0026 8360 str r3, [r0, #8]
|
||
50:Src/rtc.c **** hrtc.Init.SynchPrediv = 255;
|
||
71 .loc 1 50 3 is_stmt 1 view .LVU13
|
||
72 .loc 1 50 25 is_stmt 0 view .LVU14
|
||
73 0028 FF23 movs r3, #255
|
||
74 002a C360 str r3, [r0, #12]
|
||
51:Src/rtc.c **** hrtc.Init.OutPut = RTC_OUTPUT_DISABLE;
|
||
75 .loc 1 51 3 is_stmt 1 view .LVU15
|
||
76 .loc 1 51 20 is_stmt 0 view .LVU16
|
||
77 002c 0461 str r4, [r0, #16]
|
||
52:Src/rtc.c **** hrtc.Init.OutPutPolarity = RTC_OUTPUT_POLARITY_HIGH;
|
||
78 .loc 1 52 3 is_stmt 1 view .LVU17
|
||
79 .loc 1 52 28 is_stmt 0 view .LVU18
|
||
80 002e 4461 str r4, [r0, #20]
|
||
53:Src/rtc.c **** hrtc.Init.OutPutType = RTC_OUTPUT_TYPE_OPENDRAIN;
|
||
81 .loc 1 53 3 is_stmt 1 view .LVU19
|
||
82 .loc 1 53 24 is_stmt 0 view .LVU20
|
||
83 0030 8461 str r4, [r0, #24]
|
||
54:Src/rtc.c **** if (HAL_RTC_Init(&hrtc) != HAL_OK)
|
||
84 .loc 1 54 3 is_stmt 1 view .LVU21
|
||
85 .loc 1 54 7 is_stmt 0 view .LVU22
|
||
86 0032 FFF7FEFF bl HAL_RTC_Init
|
||
87 .LVL1:
|
||
88 .loc 1 54 6 view .LVU23
|
||
89 0036 0028 cmp r0, #0
|
||
90 0038 37D1 bne .L7
|
||
91 .L2:
|
||
55:Src/rtc.c **** {
|
||
56:Src/rtc.c **** Error_Handler();
|
||
57:Src/rtc.c **** }
|
||
58:Src/rtc.c ****
|
||
59:Src/rtc.c **** /* USER CODE BEGIN Check_RTC_BKUP */
|
||
60:Src/rtc.c ****
|
||
61:Src/rtc.c **** /* USER CODE END Check_RTC_BKUP */
|
||
62:Src/rtc.c ****
|
||
63:Src/rtc.c **** /** Initialize RTC and set the Time and Date
|
||
64:Src/rtc.c **** */
|
||
65:Src/rtc.c **** sTime.Hours = 0x0;
|
||
92 .loc 1 65 3 is_stmt 1 view .LVU24
|
||
93 .loc 1 65 15 is_stmt 0 view .LVU25
|
||
94 003a 0023 movs r3, #0
|
||
95 003c 8DF82C30 strb r3, [sp, #44]
|
||
66:Src/rtc.c **** sTime.Minutes = 0x0;
|
||
96 .loc 1 66 3 is_stmt 1 view .LVU26
|
||
97 .loc 1 66 17 is_stmt 0 view .LVU27
|
||
98 0040 8DF82D30 strb r3, [sp, #45]
|
||
67:Src/rtc.c **** sTime.Seconds = 0x0;
|
||
99 .loc 1 67 3 is_stmt 1 view .LVU28
|
||
100 .loc 1 67 17 is_stmt 0 view .LVU29
|
||
101 0044 8DF82E30 strb r3, [sp, #46]
|
||
68:Src/rtc.c **** sTime.DayLightSaving = RTC_DAYLIGHTSAVING_NONE;
|
||
102 .loc 1 68 3 is_stmt 1 view .LVU30
|
||
103 .loc 1 68 24 is_stmt 0 view .LVU31
|
||
104 0048 0E93 str r3, [sp, #56]
|
||
ARM GAS /tmp/ccF9G5yZ.s page 4
|
||
|
||
|
||
69:Src/rtc.c **** sTime.StoreOperation = RTC_STOREOPERATION_RESET;
|
||
105 .loc 1 69 3 is_stmt 1 view .LVU32
|
||
106 .loc 1 69 24 is_stmt 0 view .LVU33
|
||
107 004a 0F93 str r3, [sp, #60]
|
||
70:Src/rtc.c **** if (HAL_RTC_SetTime(&hrtc, &sTime, RTC_FORMAT_BCD) != HAL_OK)
|
||
108 .loc 1 70 3 is_stmt 1 view .LVU34
|
||
109 .loc 1 70 7 is_stmt 0 view .LVU35
|
||
110 004c 0122 movs r2, #1
|
||
111 004e 0BA9 add r1, sp, #44
|
||
112 0050 1C48 ldr r0, .L11
|
||
113 0052 FFF7FEFF bl HAL_RTC_SetTime
|
||
114 .LVL2:
|
||
115 .loc 1 70 6 view .LVU36
|
||
116 0056 58BB cbnz r0, .L8
|
||
117 .L3:
|
||
71:Src/rtc.c **** {
|
||
72:Src/rtc.c **** Error_Handler();
|
||
73:Src/rtc.c **** }
|
||
74:Src/rtc.c **** sDate.WeekDay = RTC_WEEKDAY_MONDAY;
|
||
118 .loc 1 74 3 is_stmt 1 view .LVU37
|
||
119 .loc 1 74 17 is_stmt 0 view .LVU38
|
||
120 0058 0122 movs r2, #1
|
||
121 005a 8DF82820 strb r2, [sp, #40]
|
||
75:Src/rtc.c **** sDate.Month = RTC_MONTH_JANUARY;
|
||
122 .loc 1 75 3 is_stmt 1 view .LVU39
|
||
123 .loc 1 75 15 is_stmt 0 view .LVU40
|
||
124 005e 8DF82920 strb r2, [sp, #41]
|
||
76:Src/rtc.c **** sDate.Date = 0x1;
|
||
125 .loc 1 76 3 is_stmt 1 view .LVU41
|
||
126 .loc 1 76 14 is_stmt 0 view .LVU42
|
||
127 0062 8DF82A20 strb r2, [sp, #42]
|
||
77:Src/rtc.c **** sDate.Year = 0x0;
|
||
128 .loc 1 77 3 is_stmt 1 view .LVU43
|
||
129 .loc 1 77 14 is_stmt 0 view .LVU44
|
||
130 0066 0023 movs r3, #0
|
||
131 0068 8DF82B30 strb r3, [sp, #43]
|
||
78:Src/rtc.c ****
|
||
79:Src/rtc.c **** if (HAL_RTC_SetDate(&hrtc, &sDate, RTC_FORMAT_BCD) != HAL_OK)
|
||
132 .loc 1 79 3 is_stmt 1 view .LVU45
|
||
133 .loc 1 79 7 is_stmt 0 view .LVU46
|
||
134 006c 0AA9 add r1, sp, #40
|
||
135 006e 1548 ldr r0, .L11
|
||
136 0070 FFF7FEFF bl HAL_RTC_SetDate
|
||
137 .LVL3:
|
||
138 .loc 1 79 6 view .LVU47
|
||
139 0074 F8B9 cbnz r0, .L9
|
||
140 .L4:
|
||
80:Src/rtc.c **** {
|
||
81:Src/rtc.c **** Error_Handler();
|
||
82:Src/rtc.c **** }
|
||
83:Src/rtc.c ****
|
||
84:Src/rtc.c **** /** Enable the Alarm A
|
||
85:Src/rtc.c **** */
|
||
86:Src/rtc.c **** sAlarm.AlarmTime.Hours = 0x0;
|
||
141 .loc 1 86 3 is_stmt 1 view .LVU48
|
||
142 .loc 1 86 26 is_stmt 0 view .LVU49
|
||
143 0076 0023 movs r3, #0
|
||
ARM GAS /tmp/ccF9G5yZ.s page 5
|
||
|
||
|
||
144 0078 8DF80030 strb r3, [sp]
|
||
87:Src/rtc.c **** sAlarm.AlarmTime.Minutes = 0x0;
|
||
145 .loc 1 87 3 is_stmt 1 view .LVU50
|
||
146 .loc 1 87 28 is_stmt 0 view .LVU51
|
||
147 007c 8DF80130 strb r3, [sp, #1]
|
||
88:Src/rtc.c **** sAlarm.AlarmTime.Seconds = 0x0;
|
||
148 .loc 1 88 3 is_stmt 1 view .LVU52
|
||
149 .loc 1 88 28 is_stmt 0 view .LVU53
|
||
150 0080 8DF80230 strb r3, [sp, #2]
|
||
89:Src/rtc.c **** sAlarm.AlarmTime.SubSeconds = 0x0;
|
||
151 .loc 1 89 3 is_stmt 1 view .LVU54
|
||
152 .loc 1 89 31 is_stmt 0 view .LVU55
|
||
153 0084 0193 str r3, [sp, #4]
|
||
90:Src/rtc.c **** sAlarm.AlarmTime.DayLightSaving = RTC_DAYLIGHTSAVING_NONE;
|
||
154 .loc 1 90 3 is_stmt 1 view .LVU56
|
||
155 .loc 1 90 35 is_stmt 0 view .LVU57
|
||
156 0086 0393 str r3, [sp, #12]
|
||
91:Src/rtc.c **** sAlarm.AlarmTime.StoreOperation = RTC_STOREOPERATION_RESET;
|
||
157 .loc 1 91 3 is_stmt 1 view .LVU58
|
||
158 .loc 1 91 35 is_stmt 0 view .LVU59
|
||
159 0088 0493 str r3, [sp, #16]
|
||
92:Src/rtc.c **** sAlarm.AlarmMask = RTC_ALARMMASK_NONE;
|
||
160 .loc 1 92 3 is_stmt 1 view .LVU60
|
||
161 .loc 1 92 20 is_stmt 0 view .LVU61
|
||
162 008a 0593 str r3, [sp, #20]
|
||
93:Src/rtc.c **** sAlarm.AlarmSubSecondMask = RTC_ALARMSUBSECONDMASK_ALL;
|
||
163 .loc 1 93 3 is_stmt 1 view .LVU62
|
||
164 .loc 1 93 29 is_stmt 0 view .LVU63
|
||
165 008c 0693 str r3, [sp, #24]
|
||
94:Src/rtc.c **** sAlarm.AlarmDateWeekDaySel = RTC_ALARMDATEWEEKDAYSEL_DATE;
|
||
166 .loc 1 94 3 is_stmt 1 view .LVU64
|
||
167 .loc 1 94 30 is_stmt 0 view .LVU65
|
||
168 008e 0793 str r3, [sp, #28]
|
||
95:Src/rtc.c **** sAlarm.AlarmDateWeekDay = 0x1;
|
||
169 .loc 1 95 3 is_stmt 1 view .LVU66
|
||
170 .loc 1 95 27 is_stmt 0 view .LVU67
|
||
171 0090 0122 movs r2, #1
|
||
172 0092 8DF82020 strb r2, [sp, #32]
|
||
96:Src/rtc.c **** sAlarm.Alarm = RTC_ALARM_A;
|
||
173 .loc 1 96 3 is_stmt 1 view .LVU68
|
||
174 .loc 1 96 16 is_stmt 0 view .LVU69
|
||
175 0096 4FF48073 mov r3, #256
|
||
176 009a 0993 str r3, [sp, #36]
|
||
97:Src/rtc.c **** if (HAL_RTC_SetAlarm(&hrtc, &sAlarm, RTC_FORMAT_BCD) != HAL_OK)
|
||
177 .loc 1 97 3 is_stmt 1 view .LVU70
|
||
178 .loc 1 97 7 is_stmt 0 view .LVU71
|
||
179 009c 6946 mov r1, sp
|
||
180 009e 0948 ldr r0, .L11
|
||
181 00a0 FFF7FEFF bl HAL_RTC_SetAlarm
|
||
182 .LVL4:
|
||
183 .loc 1 97 6 view .LVU72
|
||
184 00a4 50B9 cbnz r0, .L10
|
||
185 .L1:
|
||
98:Src/rtc.c **** {
|
||
99:Src/rtc.c **** Error_Handler();
|
||
100:Src/rtc.c **** }
|
||
101:Src/rtc.c **** /* USER CODE BEGIN RTC_Init 2 */
|
||
ARM GAS /tmp/ccF9G5yZ.s page 6
|
||
|
||
|
||
102:Src/rtc.c ****
|
||
103:Src/rtc.c **** /* USER CODE END RTC_Init 2 */
|
||
104:Src/rtc.c ****
|
||
105:Src/rtc.c **** }
|
||
186 .loc 1 105 1 view .LVU73
|
||
187 00a6 10B0 add sp, sp, #64
|
||
188 .LCFI2:
|
||
189 .cfi_remember_state
|
||
190 .cfi_def_cfa_offset 8
|
||
191 @ sp needed
|
||
192 00a8 10BD pop {r4, pc}
|
||
193 .L7:
|
||
194 .LCFI3:
|
||
195 .cfi_restore_state
|
||
56:Src/rtc.c **** }
|
||
196 .loc 1 56 5 is_stmt 1 view .LVU74
|
||
197 00aa FFF7FEFF bl Error_Handler
|
||
198 .LVL5:
|
||
199 00ae C4E7 b .L2
|
||
200 .L8:
|
||
72:Src/rtc.c **** }
|
||
201 .loc 1 72 5 view .LVU75
|
||
202 00b0 FFF7FEFF bl Error_Handler
|
||
203 .LVL6:
|
||
204 00b4 D0E7 b .L3
|
||
205 .L9:
|
||
81:Src/rtc.c **** }
|
||
206 .loc 1 81 5 view .LVU76
|
||
207 00b6 FFF7FEFF bl Error_Handler
|
||
208 .LVL7:
|
||
209 00ba DCE7 b .L4
|
||
210 .L10:
|
||
99:Src/rtc.c **** }
|
||
211 .loc 1 99 5 view .LVU77
|
||
212 00bc FFF7FEFF bl Error_Handler
|
||
213 .LVL8:
|
||
214 .loc 1 105 1 is_stmt 0 view .LVU78
|
||
215 00c0 F1E7 b .L1
|
||
216 .L12:
|
||
217 00c2 00BF .align 2
|
||
218 .L11:
|
||
219 00c4 00000000 .word .LANCHOR0
|
||
220 00c8 00280040 .word 1073752064
|
||
221 .cfi_endproc
|
||
222 .LFE134:
|
||
224 .section .text.HAL_RTC_MspInit,"ax",%progbits
|
||
225 .align 1
|
||
226 .global HAL_RTC_MspInit
|
||
227 .syntax unified
|
||
228 .thumb
|
||
229 .thumb_func
|
||
231 HAL_RTC_MspInit:
|
||
232 .LVL9:
|
||
233 .LFB135:
|
||
106:Src/rtc.c ****
|
||
107:Src/rtc.c **** void HAL_RTC_MspInit(RTC_HandleTypeDef* rtcHandle)
|
||
108:Src/rtc.c **** {
|
||
ARM GAS /tmp/ccF9G5yZ.s page 7
|
||
|
||
|
||
234 .loc 1 108 1 is_stmt 1 view -0
|
||
235 .cfi_startproc
|
||
236 @ args = 0, pretend = 0, frame = 16
|
||
237 @ frame_needed = 0, uses_anonymous_args = 0
|
||
238 .loc 1 108 1 is_stmt 0 view .LVU80
|
||
239 0000 00B5 push {lr}
|
||
240 .LCFI4:
|
||
241 .cfi_def_cfa_offset 4
|
||
242 .cfi_offset 14, -4
|
||
243 0002 85B0 sub sp, sp, #20
|
||
244 .LCFI5:
|
||
245 .cfi_def_cfa_offset 24
|
||
109:Src/rtc.c ****
|
||
110:Src/rtc.c **** RCC_PeriphCLKInitTypeDef PeriphClkInitStruct = {0};
|
||
246 .loc 1 110 3 is_stmt 1 view .LVU81
|
||
247 .loc 1 110 28 is_stmt 0 view .LVU82
|
||
248 0004 0023 movs r3, #0
|
||
249 0006 0093 str r3, [sp]
|
||
250 0008 0193 str r3, [sp, #4]
|
||
251 000a 0293 str r3, [sp, #8]
|
||
252 000c 0393 str r3, [sp, #12]
|
||
111:Src/rtc.c **** if(rtcHandle->Instance==RTC)
|
||
253 .loc 1 111 3 is_stmt 1 view .LVU83
|
||
254 .loc 1 111 15 is_stmt 0 view .LVU84
|
||
255 000e 0268 ldr r2, [r0]
|
||
256 .loc 1 111 5 view .LVU85
|
||
257 0010 0B4B ldr r3, .L19
|
||
258 0012 9A42 cmp r2, r3
|
||
259 0014 02D0 beq .L17
|
||
260 .LVL10:
|
||
261 .L13:
|
||
112:Src/rtc.c **** {
|
||
113:Src/rtc.c **** /* USER CODE BEGIN RTC_MspInit 0 */
|
||
114:Src/rtc.c ****
|
||
115:Src/rtc.c **** /* USER CODE END RTC_MspInit 0 */
|
||
116:Src/rtc.c ****
|
||
117:Src/rtc.c **** /** Initializes the peripherals clock
|
||
118:Src/rtc.c **** */
|
||
119:Src/rtc.c **** PeriphClkInitStruct.PeriphClockSelection = RCC_PERIPHCLK_RTC;
|
||
120:Src/rtc.c **** PeriphClkInitStruct.RTCClockSelection = RCC_RTCCLKSOURCE_LSE;
|
||
121:Src/rtc.c **** if (HAL_RCCEx_PeriphCLKConfig(&PeriphClkInitStruct) != HAL_OK)
|
||
122:Src/rtc.c **** {
|
||
123:Src/rtc.c **** Error_Handler();
|
||
124:Src/rtc.c **** }
|
||
125:Src/rtc.c ****
|
||
126:Src/rtc.c **** /* RTC clock enable */
|
||
127:Src/rtc.c **** __HAL_RCC_RTC_ENABLE();
|
||
128:Src/rtc.c **** /* USER CODE BEGIN RTC_MspInit 1 */
|
||
129:Src/rtc.c ****
|
||
130:Src/rtc.c **** /* USER CODE END RTC_MspInit 1 */
|
||
131:Src/rtc.c **** }
|
||
132:Src/rtc.c **** }
|
||
262 .loc 1 132 1 view .LVU86
|
||
263 0016 05B0 add sp, sp, #20
|
||
264 .LCFI6:
|
||
265 .cfi_remember_state
|
||
266 .cfi_def_cfa_offset 4
|
||
ARM GAS /tmp/ccF9G5yZ.s page 8
|
||
|
||
|
||
267 @ sp needed
|
||
268 0018 5DF804FB ldr pc, [sp], #4
|
||
269 .LVL11:
|
||
270 .L17:
|
||
271 .LCFI7:
|
||
272 .cfi_restore_state
|
||
119:Src/rtc.c **** PeriphClkInitStruct.RTCClockSelection = RCC_RTCCLKSOURCE_LSE;
|
||
273 .loc 1 119 5 is_stmt 1 view .LVU87
|
||
119:Src/rtc.c **** PeriphClkInitStruct.RTCClockSelection = RCC_RTCCLKSOURCE_LSE;
|
||
274 .loc 1 119 46 is_stmt 0 view .LVU88
|
||
275 001c 0223 movs r3, #2
|
||
276 001e 0093 str r3, [sp]
|
||
120:Src/rtc.c **** if (HAL_RCCEx_PeriphCLKConfig(&PeriphClkInitStruct) != HAL_OK)
|
||
277 .loc 1 120 5 is_stmt 1 view .LVU89
|
||
120:Src/rtc.c **** if (HAL_RCCEx_PeriphCLKConfig(&PeriphClkInitStruct) != HAL_OK)
|
||
278 .loc 1 120 43 is_stmt 0 view .LVU90
|
||
279 0020 4FF48073 mov r3, #256
|
||
280 0024 0393 str r3, [sp, #12]
|
||
121:Src/rtc.c **** {
|
||
281 .loc 1 121 5 is_stmt 1 view .LVU91
|
||
121:Src/rtc.c **** {
|
||
282 .loc 1 121 9 is_stmt 0 view .LVU92
|
||
283 0026 6846 mov r0, sp
|
||
284 .LVL12:
|
||
121:Src/rtc.c **** {
|
||
285 .loc 1 121 9 view .LVU93
|
||
286 0028 FFF7FEFF bl HAL_RCCEx_PeriphCLKConfig
|
||
287 .LVL13:
|
||
121:Src/rtc.c **** {
|
||
288 .loc 1 121 8 view .LVU94
|
||
289 002c 20B9 cbnz r0, .L18
|
||
290 .L15:
|
||
127:Src/rtc.c **** /* USER CODE BEGIN RTC_MspInit 1 */
|
||
291 .loc 1 127 5 is_stmt 1 view .LVU95
|
||
292 002e 054B ldr r3, .L19+4
|
||
293 0030 0122 movs r2, #1
|
||
294 0032 C3F83C2E str r2, [r3, #3644]
|
||
295 .loc 1 132 1 is_stmt 0 view .LVU96
|
||
296 0036 EEE7 b .L13
|
||
297 .L18:
|
||
123:Src/rtc.c **** }
|
||
298 .loc 1 123 7 is_stmt 1 view .LVU97
|
||
299 0038 FFF7FEFF bl Error_Handler
|
||
300 .LVL14:
|
||
301 003c F7E7 b .L15
|
||
302 .L20:
|
||
303 003e 00BF .align 2
|
||
304 .L19:
|
||
305 0040 00280040 .word 1073752064
|
||
306 0044 00004742 .word 1111949312
|
||
307 .cfi_endproc
|
||
308 .LFE135:
|
||
310 .section .text.HAL_RTC_MspDeInit,"ax",%progbits
|
||
311 .align 1
|
||
312 .global HAL_RTC_MspDeInit
|
||
313 .syntax unified
|
||
314 .thumb
|
||
ARM GAS /tmp/ccF9G5yZ.s page 9
|
||
|
||
|
||
315 .thumb_func
|
||
317 HAL_RTC_MspDeInit:
|
||
318 .LVL15:
|
||
319 .LFB136:
|
||
133:Src/rtc.c ****
|
||
134:Src/rtc.c **** void HAL_RTC_MspDeInit(RTC_HandleTypeDef* rtcHandle)
|
||
135:Src/rtc.c **** {
|
||
320 .loc 1 135 1 view -0
|
||
321 .cfi_startproc
|
||
322 @ args = 0, pretend = 0, frame = 0
|
||
323 @ frame_needed = 0, uses_anonymous_args = 0
|
||
324 @ link register save eliminated.
|
||
136:Src/rtc.c ****
|
||
137:Src/rtc.c **** if(rtcHandle->Instance==RTC)
|
||
325 .loc 1 137 3 view .LVU99
|
||
326 .loc 1 137 15 is_stmt 0 view .LVU100
|
||
327 0000 0268 ldr r2, [r0]
|
||
328 .loc 1 137 5 view .LVU101
|
||
329 0002 044B ldr r3, .L24
|
||
330 0004 9A42 cmp r2, r3
|
||
331 0006 00D0 beq .L23
|
||
332 .L21:
|
||
138:Src/rtc.c **** {
|
||
139:Src/rtc.c **** /* USER CODE BEGIN RTC_MspDeInit 0 */
|
||
140:Src/rtc.c ****
|
||
141:Src/rtc.c **** /* USER CODE END RTC_MspDeInit 0 */
|
||
142:Src/rtc.c **** /* Peripheral clock disable */
|
||
143:Src/rtc.c **** __HAL_RCC_RTC_DISABLE();
|
||
144:Src/rtc.c **** /* USER CODE BEGIN RTC_MspDeInit 1 */
|
||
145:Src/rtc.c ****
|
||
146:Src/rtc.c **** /* USER CODE END RTC_MspDeInit 1 */
|
||
147:Src/rtc.c **** }
|
||
148:Src/rtc.c **** }
|
||
333 .loc 1 148 1 view .LVU102
|
||
334 0008 7047 bx lr
|
||
335 .L23:
|
||
143:Src/rtc.c **** /* USER CODE BEGIN RTC_MspDeInit 1 */
|
||
336 .loc 1 143 5 is_stmt 1 view .LVU103
|
||
337 000a 034B ldr r3, .L24+4
|
||
338 000c 0022 movs r2, #0
|
||
339 000e C3F83C2E str r2, [r3, #3644]
|
||
340 .loc 1 148 1 is_stmt 0 view .LVU104
|
||
341 0012 F9E7 b .L21
|
||
342 .L25:
|
||
343 .align 2
|
||
344 .L24:
|
||
345 0014 00280040 .word 1073752064
|
||
346 0018 00004742 .word 1111949312
|
||
347 .cfi_endproc
|
||
348 .LFE136:
|
||
350 .global hrtc
|
||
351 .section .bss.hrtc,"aw",%nobits
|
||
352 .align 2
|
||
353 .set .LANCHOR0,. + 0
|
||
356 hrtc:
|
||
357 0000 00000000 .space 32
|
||
357 00000000
|
||
ARM GAS /tmp/ccF9G5yZ.s page 10
|
||
|
||
|
||
357 00000000
|
||
357 00000000
|
||
357 00000000
|
||
358 .text
|
||
359 .Letext0:
|
||
360 .file 2 "/home/jfen/toolchain/gcc-arm-none-eabi-10.3-2021.10/arm-none-eabi/include/machine/_defaul
|
||
361 .file 3 "/home/jfen/toolchain/gcc-arm-none-eabi-10.3-2021.10/arm-none-eabi/include/sys/_stdint.h"
|
||
362 .file 4 "Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f407xx.h"
|
||
363 .file 5 "Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h"
|
||
364 .file 6 "Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_def.h"
|
||
365 .file 7 "Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc_ex.h"
|
||
366 .file 8 "Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rtc.h"
|
||
367 .file 9 "Inc/main.h"
|
||
368 .file 10 "Inc/rtc.h"
|
||
369 .file 11 "<built-in>"
|
||
ARM GAS /tmp/ccF9G5yZ.s page 11
|
||
|
||
|
||
DEFINED SYMBOLS
|
||
*ABS*:0000000000000000 rtc.c
|
||
/tmp/ccF9G5yZ.s:20 .text.MX_RTC_Init:0000000000000000 $t
|
||
/tmp/ccF9G5yZ.s:26 .text.MX_RTC_Init:0000000000000000 MX_RTC_Init
|
||
/tmp/ccF9G5yZ.s:219 .text.MX_RTC_Init:00000000000000c4 $d
|
||
/tmp/ccF9G5yZ.s:225 .text.HAL_RTC_MspInit:0000000000000000 $t
|
||
/tmp/ccF9G5yZ.s:231 .text.HAL_RTC_MspInit:0000000000000000 HAL_RTC_MspInit
|
||
/tmp/ccF9G5yZ.s:305 .text.HAL_RTC_MspInit:0000000000000040 $d
|
||
/tmp/ccF9G5yZ.s:311 .text.HAL_RTC_MspDeInit:0000000000000000 $t
|
||
/tmp/ccF9G5yZ.s:317 .text.HAL_RTC_MspDeInit:0000000000000000 HAL_RTC_MspDeInit
|
||
/tmp/ccF9G5yZ.s:345 .text.HAL_RTC_MspDeInit:0000000000000014 $d
|
||
/tmp/ccF9G5yZ.s:356 .bss.hrtc:0000000000000000 hrtc
|
||
/tmp/ccF9G5yZ.s:352 .bss.hrtc:0000000000000000 $d
|
||
|
||
UNDEFINED SYMBOLS
|
||
memset
|
||
HAL_RTC_Init
|
||
HAL_RTC_SetTime
|
||
HAL_RTC_SetDate
|
||
HAL_RTC_SetAlarm
|
||
Error_Handler
|
||
HAL_RCCEx_PeriphCLKConfig
|