842 lines
42 KiB
Plaintext
842 lines
42 KiB
Plaintext
ARM GAS C:\Users\nived\AppData\Local\Temp\ccJmvYKq.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 "Current_Monitoring.c"
|
||
16 .text
|
||
17 .Ltext0:
|
||
18 .cfi_sections .debug_frame
|
||
19 .file 1 "Core/Src/Current_Monitoring.c"
|
||
20 .section .text.currentMonitor_init,"ax",%progbits
|
||
21 .align 1
|
||
22 .global currentMonitor_init
|
||
23 .syntax unified
|
||
24 .thumb
|
||
25 .thumb_func
|
||
27 currentMonitor_init:
|
||
28 .LVL0:
|
||
29 .LFB130:
|
||
1:Core/Src/Current_Monitoring.c **** /*
|
||
2:Core/Src/Current_Monitoring.c **** * Current_Monitoring.c
|
||
3:Core/Src/Current_Monitoring.c **** *
|
||
4:Core/Src/Current_Monitoring.c **** * Created on: 24. April, 2024
|
||
5:Core/Src/Current_Monitoring.c **** * Author: nived
|
||
6:Core/Src/Current_Monitoring.c **** */
|
||
7:Core/Src/Current_Monitoring.c ****
|
||
8:Core/Src/Current_Monitoring.c **** #include "Current_Monitoring.h"
|
||
9:Core/Src/Current_Monitoring.c **** #include "main.h"
|
||
10:Core/Src/Current_Monitoring.c ****
|
||
11:Core/Src/Current_Monitoring.c **** volatile union adc1_channels {
|
||
12:Core/Src/Current_Monitoring.c **** struct {
|
||
13:Core/Src/Current_Monitoring.c **** uint16_t isense12; // acu
|
||
14:Core/Src/Current_Monitoring.c **** uint16_t isense11; // epsc
|
||
15:Core/Src/Current_Monitoring.c **** uint16_t isense6; // radiator fans
|
||
16:Core/Src/Current_Monitoring.c **** uint16_t isense13; // tsac fans
|
||
17:Core/Src/Current_Monitoring.c **** uint16_t isense5; // gss and lidar
|
||
18:Core/Src/Current_Monitoring.c **** uint16_t isense3; // sdc and always on
|
||
19:Core/Src/Current_Monitoring.c **** uint16_t isense7; // misc and inverters
|
||
20:Core/Src/Current_Monitoring.c **** } adcbank1;
|
||
21:Core/Src/Current_Monitoring.c ****
|
||
22:Core/Src/Current_Monitoring.c **** uint16_t adcbuffer[7]; // array 7*16 bit
|
||
23:Core/Src/Current_Monitoring.c ****
|
||
24:Core/Src/Current_Monitoring.c **** } adc_channels1;
|
||
25:Core/Src/Current_Monitoring.c **** // ADC's anpassen adc1 - 9, adc2 ist halt 5 , buffer anpassen und namen auch ( isense usw)
|
||
26:Core/Src/Current_Monitoring.c **** volatile union adc2_channels {
|
||
27:Core/Src/Current_Monitoring.c **** struct {
|
||
28:Core/Src/Current_Monitoring.c **** uint16_t isense2; // ebs valve a and ebs valve b
|
||
29:Core/Src/Current_Monitoring.c **** uint16_t isense1; // ebs cs valve
|
||
ARM GAS C:\Users\nived\AppData\Local\Temp\ccJmvYKq.s page 2
|
||
|
||
|
||
30:Core/Src/Current_Monitoring.c **** uint16_t isense10; // hyr aggregat
|
||
31:Core/Src/Current_Monitoring.c **** uint16_t isense4; // cooling pump and reserved
|
||
32:Core/Src/Current_Monitoring.c ****
|
||
33:Core/Src/Current_Monitoring.c **** } adcbank1;
|
||
34:Core/Src/Current_Monitoring.c ****
|
||
35:Core/Src/Current_Monitoring.c **** uint16_t adcbuffer[4];
|
||
36:Core/Src/Current_Monitoring.c ****
|
||
37:Core/Src/Current_Monitoring.c **** } adc_channels2;
|
||
38:Core/Src/Current_Monitoring.c ****
|
||
39:Core/Src/Current_Monitoring.c **** CurrentMeasurements current_measurements_adc_val;
|
||
40:Core/Src/Current_Monitoring.c ****
|
||
41:Core/Src/Current_Monitoring.c **** GPIO_PinState adcbank1 = GPIO_PIN_RESET;
|
||
42:Core/Src/Current_Monitoring.c **** GPIO_PinState adcbank2 = GPIO_PIN_RESET;
|
||
43:Core/Src/Current_Monitoring.c ****
|
||
44:Core/Src/Current_Monitoring.c **** ADC_HandleTypeDef* adc1;
|
||
45:Core/Src/Current_Monitoring.c **** ADC_HandleTypeDef* adc2;
|
||
46:Core/Src/Current_Monitoring.c ****
|
||
47:Core/Src/Current_Monitoring.c **** void currentMonitor_init(ADC_HandleTypeDef* hadc1, ADC_HandleTypeDef* hadc2, // init ist initilisie
|
||
48:Core/Src/Current_Monitoring.c **** TIM_HandleTypeDef* trigtim) {
|
||
30 .loc 1 48 54 view -0
|
||
31 .cfi_startproc
|
||
32 @ args = 0, pretend = 0, frame = 0
|
||
33 @ frame_needed = 0, uses_anonymous_args = 0
|
||
34 .loc 1 48 54 is_stmt 0 view .LVU1
|
||
35 0000 2DE9F843 push {r3, r4, r5, r6, r7, r8, r9, lr}
|
||
36 .cfi_def_cfa_offset 32
|
||
37 .cfi_offset 3, -32
|
||
38 .cfi_offset 4, -28
|
||
39 .cfi_offset 5, -24
|
||
40 .cfi_offset 6, -20
|
||
41 .cfi_offset 7, -16
|
||
42 .cfi_offset 8, -12
|
||
43 .cfi_offset 9, -8
|
||
44 .cfi_offset 14, -4
|
||
45 0004 0546 mov r5, r0
|
||
46 0006 0C46 mov r4, r1
|
||
47 0008 1746 mov r7, r2
|
||
49:Core/Src/Current_Monitoring.c **** HAL_GPIO_WritePin(DSEL_3_GPIO_Port, DSEL_3_Pin, adcbank2); //DSELs zu adc's neu zuordnen
|
||
48 .loc 1 49 3 is_stmt 1 view .LVU2
|
||
49 000a DFF88880 ldr r8, .L3+20
|
||
50 000e 1C4E ldr r6, .L3
|
||
51 0010 98F80020 ldrb r2, [r8] @ zero_extendqisi2
|
||
52 .LVL1:
|
||
53 .loc 1 49 3 is_stmt 0 view .LVU3
|
||
54 0014 4FF48051 mov r1, #4096
|
||
55 .LVL2:
|
||
56 .loc 1 49 3 view .LVU4
|
||
57 0018 3046 mov r0, r6
|
||
58 .LVL3:
|
||
59 .loc 1 49 3 view .LVU5
|
||
60 001a FFF7FEFF bl HAL_GPIO_WritePin
|
||
61 .LVL4:
|
||
50:Core/Src/Current_Monitoring.c **** HAL_GPIO_WritePin(DSEL_4_GPIO_Port, DSEL_4_Pin, adcbank2);
|
||
62 .loc 1 50 3 is_stmt 1 view .LVU6
|
||
63 001e 98F80020 ldrb r2, [r8] @ zero_extendqisi2
|
||
64 0022 4FF40051 mov r1, #8192
|
||
65 0026 3046 mov r0, r6
|
||
ARM GAS C:\Users\nived\AppData\Local\Temp\ccJmvYKq.s page 3
|
||
|
||
|
||
66 0028 FFF7FEFF bl HAL_GPIO_WritePin
|
||
67 .LVL5:
|
||
51:Core/Src/Current_Monitoring.c **** HAL_GPIO_WritePin(DSEL_5_GPIO_Port, DSEL_5_Pin, adcbank1);
|
||
68 .loc 1 51 3 view .LVU7
|
||
69 002c DFF86890 ldr r9, .L3+24
|
||
70 0030 99F80020 ldrb r2, [r9] @ zero_extendqisi2
|
||
71 0034 4FF48041 mov r1, #16384
|
||
72 0038 3046 mov r0, r6
|
||
73 003a FFF7FEFF bl HAL_GPIO_WritePin
|
||
74 .LVL6:
|
||
52:Core/Src/Current_Monitoring.c **** HAL_GPIO_WritePin(DSEL_7_GPIO_Port, DSEL_7_Pin, adcbank1);
|
||
75 .loc 1 52 3 view .LVU8
|
||
76 003e 99F80020 ldrb r2, [r9] @ zero_extendqisi2
|
||
77 0042 4FF40071 mov r1, #512
|
||
78 0046 3046 mov r0, r6
|
||
79 0048 FFF7FEFF bl HAL_GPIO_WritePin
|
||
80 .LVL7:
|
||
53:Core/Src/Current_Monitoring.c **** HAL_GPIO_WritePin(DSEL_8_GPIO_Port, DSEL_8_Pin, adcbank2);
|
||
81 .loc 1 53 3 view .LVU9
|
||
82 004c 98F80020 ldrb r2, [r8] @ zero_extendqisi2
|
||
83 0050 0121 movs r1, #1
|
||
84 0052 4FF09040 mov r0, #1207959552
|
||
85 0056 FFF7FEFF bl HAL_GPIO_WritePin
|
||
86 .LVL8:
|
||
54:Core/Src/Current_Monitoring.c **** adc1 = hadc1;
|
||
87 .loc 1 54 3 view .LVU10
|
||
88 .loc 1 54 8 is_stmt 0 view .LVU11
|
||
89 005a 0A4B ldr r3, .L3+4
|
||
90 005c 1D60 str r5, [r3]
|
||
55:Core/Src/Current_Monitoring.c **** adc2 = hadc2;
|
||
91 .loc 1 55 3 is_stmt 1 view .LVU12
|
||
92 .loc 1 55 8 is_stmt 0 view .LVU13
|
||
93 005e 0A4B ldr r3, .L3+8
|
||
94 0060 1C60 str r4, [r3]
|
||
56:Core/Src/Current_Monitoring.c **** HAL_TIM_Base_Start(trigtim);
|
||
95 .loc 1 56 3 is_stmt 1 view .LVU14
|
||
96 0062 3846 mov r0, r7
|
||
97 0064 FFF7FEFF bl HAL_TIM_Base_Start
|
||
98 .LVL9:
|
||
57:Core/Src/Current_Monitoring.c **** HAL_ADC_Start_DMA(hadc1, (uint32_t*)adc_channels1.adcbuffer, 7);
|
||
99 .loc 1 57 3 view .LVU15
|
||
100 0068 0722 movs r2, #7
|
||
101 006a 0849 ldr r1, .L3+12
|
||
102 006c 2846 mov r0, r5
|
||
103 006e FFF7FEFF bl HAL_ADC_Start_DMA
|
||
104 .LVL10:
|
||
58:Core/Src/Current_Monitoring.c **** HAL_ADC_Start_DMA(hadc2, (uint32_t*)adc_channels2.adcbuffer, 7); // wie adc mit dma geht , red mi
|
||
105 .loc 1 58 3 view .LVU16
|
||
106 0072 0722 movs r2, #7
|
||
107 0074 0649 ldr r1, .L3+16
|
||
108 0076 2046 mov r0, r4
|
||
109 0078 FFF7FEFF bl HAL_ADC_Start_DMA
|
||
110 .LVL11:
|
||
59:Core/Src/Current_Monitoring.c **** }
|
||
111 .loc 1 59 1 is_stmt 0 view .LVU17
|
||
112 007c BDE8F883 pop {r3, r4, r5, r6, r7, r8, r9, pc}
|
||
113 .LVL12:
|
||
ARM GAS C:\Users\nived\AppData\Local\Temp\ccJmvYKq.s page 4
|
||
|
||
|
||
114 .L4:
|
||
115 .loc 1 59 1 view .LVU18
|
||
116 .align 2
|
||
117 .L3:
|
||
118 0080 00040048 .word 1207960576
|
||
119 0084 00000000 .word adc1
|
||
120 0088 00000000 .word adc2
|
||
121 008c 00000000 .word adc_channels1
|
||
122 0090 00000000 .word adc_channels2
|
||
123 0094 00000000 .word adcbank2
|
||
124 0098 00000000 .word adcbank1
|
||
125 .cfi_endproc
|
||
126 .LFE130:
|
||
128 .section .text.currentMonitor_checklimits,"ax",%progbits
|
||
129 .align 1
|
||
130 .global currentMonitor_checklimits
|
||
131 .syntax unified
|
||
132 .thumb
|
||
133 .thumb_func
|
||
135 currentMonitor_checklimits:
|
||
136 .LFB131:
|
||
60:Core/Src/Current_Monitoring.c ****
|
||
61:Core/Src/Current_Monitoring.c **** uint8_t currentMonitor_checklimits() { return 0; }
|
||
137 .loc 1 61 38 is_stmt 1 view -0
|
||
138 .cfi_startproc
|
||
139 @ args = 0, pretend = 0, frame = 0
|
||
140 @ frame_needed = 0, uses_anonymous_args = 0
|
||
141 @ link register save eliminated.
|
||
142 .loc 1 61 40 view .LVU20
|
||
143 .loc 1 61 50 is_stmt 0 view .LVU21
|
||
144 0000 0020 movs r0, #0
|
||
145 0002 7047 bx lr
|
||
146 .cfi_endproc
|
||
147 .LFE131:
|
||
149 .section .text.HAL_ADC_ConvCpltCallback,"ax",%progbits
|
||
150 .align 1
|
||
151 .global HAL_ADC_ConvCpltCallback
|
||
152 .syntax unified
|
||
153 .thumb
|
||
154 .thumb_func
|
||
156 HAL_ADC_ConvCpltCallback:
|
||
157 .LVL13:
|
||
158 .LFB132:
|
||
62:Core/Src/Current_Monitoring.c ****
|
||
63:Core/Src/Current_Monitoring.c **** void HAL_ADC_ConvCpltCallback(ADC_HandleTypeDef* hadc) {
|
||
159 .loc 1 63 56 is_stmt 1 view -0
|
||
160 .cfi_startproc
|
||
161 @ args = 0, pretend = 0, frame = 0
|
||
162 @ frame_needed = 0, uses_anonymous_args = 0
|
||
163 .loc 1 63 56 is_stmt 0 view .LVU23
|
||
164 0000 38B5 push {r3, r4, r5, lr}
|
||
165 .cfi_def_cfa_offset 16
|
||
166 .cfi_offset 3, -16
|
||
167 .cfi_offset 4, -12
|
||
168 .cfi_offset 5, -8
|
||
169 .cfi_offset 14, -4
|
||
170 0002 0446 mov r4, r0
|
||
ARM GAS C:\Users\nived\AppData\Local\Temp\ccJmvYKq.s page 5
|
||
|
||
|
||
64:Core/Src/Current_Monitoring.c **** if (hadc == adc2) {
|
||
171 .loc 1 64 3 is_stmt 1 view .LVU24
|
||
172 .loc 1 64 12 is_stmt 0 view .LVU25
|
||
173 0004 9A4B ldr r3, .L16
|
||
174 0006 1B68 ldr r3, [r3]
|
||
175 .loc 1 64 6 view .LVU26
|
||
176 0008 8342 cmp r3, r0
|
||
177 000a 04D0 beq .L14
|
||
178 .LVL14:
|
||
179 .L7:
|
||
65:Core/Src/Current_Monitoring.c **** if (adcbank2 == GPIO_PIN_RESET) {
|
||
66:Core/Src/Current_Monitoring.c **** current_measurements_adc_val.ebsvalve_a =
|
||
67:Core/Src/Current_Monitoring.c **** adc_channels2.adcbank1.isense2 * CURR_SENSE_FACTOR_5A;
|
||
68:Core/Src/Current_Monitoring.c **** current_measurements_adc_val.cooling_pump =
|
||
69:Core/Src/Current_Monitoring.c **** adc_channels2.adcbank1.isense4 * CURR_SENSE_FACTOR_7_5A;
|
||
70:Core/Src/Current_Monitoring.c **** adcbank2 = GPIO_PIN_SET;
|
||
71:Core/Src/Current_Monitoring.c **** } else {
|
||
72:Core/Src/Current_Monitoring.c **** current_measurements_adc_val.ebsvalve_b =
|
||
73:Core/Src/Current_Monitoring.c **** adc_channels2.adcbank1.isense2 * CURR_SENSE_FACTOR_5A;
|
||
74:Core/Src/Current_Monitoring.c **** current_measurements_adc_val.reserved =
|
||
75:Core/Src/Current_Monitoring.c **** adc_channels2.adcbank1.isense4 * CURR_SENSE_FACTOR_7_5A;
|
||
76:Core/Src/Current_Monitoring.c **** adcbank2 = GPIO_PIN_RESET;
|
||
77:Core/Src/Current_Monitoring.c **** }
|
||
78:Core/Src/Current_Monitoring.c **** current_measurements_adc_val.ebs_cs_valve =
|
||
79:Core/Src/Current_Monitoring.c **** adc_channels2.adcbank1.isense1 * CURR_SENSE_FACTOR_5A;
|
||
80:Core/Src/Current_Monitoring.c **** current_measurements_adc_val.aggregat =
|
||
81:Core/Src/Current_Monitoring.c **** adc_channels2.adcbank1.isense10 * CURR_SENSE_FACTOR_21A;
|
||
82:Core/Src/Current_Monitoring.c ****
|
||
83:Core/Src/Current_Monitoring.c **** HAL_GPIO_WritePin(DSEL_3_GPIO_Port, DSEL_3_Pin,
|
||
84:Core/Src/Current_Monitoring.c **** adcbank2);
|
||
85:Core/Src/Current_Monitoring.c **** HAL_GPIO_WritePin(DSEL_8_GPIO_Port, DSEL_8_Pin,
|
||
86:Core/Src/Current_Monitoring.c **** adcbank2);
|
||
87:Core/Src/Current_Monitoring.c **** }
|
||
88:Core/Src/Current_Monitoring.c ****
|
||
89:Core/Src/Current_Monitoring.c **** if (hadc == adc1) {
|
||
180 .loc 1 89 3 is_stmt 1 view .LVU27
|
||
181 .loc 1 89 12 is_stmt 0 view .LVU28
|
||
182 000c 994B ldr r3, .L16+4
|
||
183 000e 1B68 ldr r3, [r3]
|
||
184 .loc 1 89 6 view .LVU29
|
||
185 0010 A342 cmp r3, r4
|
||
186 0012 79D0 beq .L15
|
||
187 .LVL15:
|
||
188 .L6:
|
||
90:Core/Src/Current_Monitoring.c **** if (adcbank1 == GPIO_PIN_RESET) {
|
||
91:Core/Src/Current_Monitoring.c **** current_measurements_adc_val.sdc=
|
||
92:Core/Src/Current_Monitoring.c **** adc_channels1.adcbank1.isense3 * CURR_SENSE_FACTOR_5A;
|
||
93:Core/Src/Current_Monitoring.c **** current_measurements_adc_val.misc=
|
||
94:Core/Src/Current_Monitoring.c **** adc_channels1.adcbank1.isense7 * CURR_SENSE_FACTOR_7_5A;
|
||
95:Core/Src/Current_Monitoring.c **** current_measurements_adc_val.gss=
|
||
96:Core/Src/Current_Monitoring.c **** adc_channels1.adcbank1.isense5 * CURR_SENSE_FACTOR_7_5A;
|
||
97:Core/Src/Current_Monitoring.c ****
|
||
98:Core/Src/Current_Monitoring.c **** adcbank1 = GPIO_PIN_SET;
|
||
99:Core/Src/Current_Monitoring.c **** } else {
|
||
100:Core/Src/Current_Monitoring.c **** current_measurements_adc_val.always_on =
|
||
101:Core/Src/Current_Monitoring.c **** adc_channels1.adcbank1.isense3 * CURR_SENSE_FACTOR_5A;
|
||
102:Core/Src/Current_Monitoring.c **** current_measurements_adc_val.inverters =
|
||
ARM GAS C:\Users\nived\AppData\Local\Temp\ccJmvYKq.s page 6
|
||
|
||
|
||
103:Core/Src/Current_Monitoring.c **** adc_channels1.adcbank1.isense7 * CURR_SENSE_FACTOR_7_5A;
|
||
104:Core/Src/Current_Monitoring.c **** current_measurements_adc_val.lidar=
|
||
105:Core/Src/Current_Monitoring.c **** adc_channels1.adcbank1.isense5 * CURR_SENSE_FACTOR_7_5A;
|
||
106:Core/Src/Current_Monitoring.c **** adcbank1 = GPIO_PIN_RESET;
|
||
107:Core/Src/Current_Monitoring.c **** }
|
||
108:Core/Src/Current_Monitoring.c **** current_measurements_adc_val.acu=
|
||
109:Core/Src/Current_Monitoring.c **** adc_channels1.adcbank1.isense12 * CURR_SENSE_FACTOR_31A;
|
||
110:Core/Src/Current_Monitoring.c **** current_measurements_adc_val.epsc =
|
||
111:Core/Src/Current_Monitoring.c **** adc_channels1.adcbank1.isense11 * CURR_SENSE_FACTOR_21A;
|
||
112:Core/Src/Current_Monitoring.c **** current_measurements_adc_val.tsac_fans =
|
||
113:Core/Src/Current_Monitoring.c **** adc_channels1.adcbank1.isense13 * CURR_SENSE_FACTOR_31A;
|
||
114:Core/Src/Current_Monitoring.c **** current_measurements_adc_val.radiator_fans=
|
||
115:Core/Src/Current_Monitoring.c **** adc_channels1.adcbank1.isense6 * CURR_SENSE_FACTOR_21A;
|
||
116:Core/Src/Current_Monitoring.c ****
|
||
117:Core/Src/Current_Monitoring.c **** HAL_GPIO_WritePin(DSEL_4_GPIO_Port, DSEL_4_Pin,
|
||
118:Core/Src/Current_Monitoring.c **** adcbank1);
|
||
119:Core/Src/Current_Monitoring.c **** HAL_GPIO_WritePin(DSEL_5_GPIO_Port, DSEL_5_Pin,
|
||
120:Core/Src/Current_Monitoring.c **** adcbank1);
|
||
121:Core/Src/Current_Monitoring.c **** HAL_GPIO_WritePin(DSEL_7_GPIO_Port, DSEL_7_Pin,
|
||
122:Core/Src/Current_Monitoring.c **** adcbank1);
|
||
123:Core/Src/Current_Monitoring.c **** }
|
||
124:Core/Src/Current_Monitoring.c **** }
|
||
189 .loc 1 124 1 view .LVU30
|
||
190 0014 38BD pop {r3, r4, r5, pc}
|
||
191 .LVL16:
|
||
192 .L14:
|
||
65:Core/Src/Current_Monitoring.c **** if (adcbank2 == GPIO_PIN_RESET) {
|
||
193 .loc 1 65 5 is_stmt 1 view .LVU31
|
||
65:Core/Src/Current_Monitoring.c **** if (adcbank2 == GPIO_PIN_RESET) {
|
||
194 .loc 1 65 18 is_stmt 0 view .LVU32
|
||
195 0016 984B ldr r3, .L16+8
|
||
196 0018 1B78 ldrb r3, [r3] @ zero_extendqisi2
|
||
65:Core/Src/Current_Monitoring.c **** if (adcbank2 == GPIO_PIN_RESET) {
|
||
197 .loc 1 65 8 view .LVU33
|
||
198 001a 002B cmp r3, #0
|
||
199 001c 50D1 bne .L8
|
||
66:Core/Src/Current_Monitoring.c **** adc_channels2.adcbank1.isense2 * CURR_SENSE_FACTOR_5A;
|
||
200 .loc 1 66 7 is_stmt 1 view .LVU34
|
||
67:Core/Src/Current_Monitoring.c **** current_measurements_adc_val.cooling_pump =
|
||
201 .loc 1 67 33 is_stmt 0 view .LVU35
|
||
202 001e 9749 ldr r1, .L16+12
|
||
203 0020 0B88 ldrh r3, [r1]
|
||
204 0022 9BB2 uxth r3, r3
|
||
205 0024 07EE903A vmov s15, r3 @ int
|
||
67:Core/Src/Current_Monitoring.c **** current_measurements_adc_val.cooling_pump =
|
||
206 .loc 1 67 42 view .LVU36
|
||
207 0028 F8EEE77A vcvt.f32.s32 s15, s15
|
||
208 002c 9FED947A vldr.32 s14, .L16+16
|
||
209 0030 67EE877A vmul.f32 s15, s15, s14
|
||
66:Core/Src/Current_Monitoring.c **** adc_channels2.adcbank1.isense2 * CURR_SENSE_FACTOR_5A;
|
||
210 .loc 1 66 47 view .LVU37
|
||
211 0034 934A ldr r2, .L16+20
|
||
212 0036 FCEEE77A vcvt.u32.f32 s15, s15
|
||
213 003a 17EE903A vmov r3, s15 @ int
|
||
214 003e 9383 strh r3, [r2, #28] @ movhi
|
||
68:Core/Src/Current_Monitoring.c **** adc_channels2.adcbank1.isense4 * CURR_SENSE_FACTOR_7_5A;
|
||
215 .loc 1 68 7 is_stmt 1 view .LVU38
|
||
ARM GAS C:\Users\nived\AppData\Local\Temp\ccJmvYKq.s page 7
|
||
|
||
|
||
69:Core/Src/Current_Monitoring.c **** adcbank2 = GPIO_PIN_SET;
|
||
216 .loc 1 69 33 is_stmt 0 view .LVU39
|
||
217 0040 CB88 ldrh r3, [r1, #6]
|
||
218 0042 9BB2 uxth r3, r3
|
||
219 0044 07EE903A vmov s15, r3 @ int
|
||
69:Core/Src/Current_Monitoring.c **** adcbank2 = GPIO_PIN_SET;
|
||
220 .loc 1 69 42 view .LVU40
|
||
221 0048 F8EEE77A vcvt.f32.s32 s15, s15
|
||
222 004c 9FED8E7A vldr.32 s14, .L16+24
|
||
223 0050 67EE877A vmul.f32 s15, s15, s14
|
||
68:Core/Src/Current_Monitoring.c **** adc_channels2.adcbank1.isense4 * CURR_SENSE_FACTOR_7_5A;
|
||
224 .loc 1 68 49 view .LVU41
|
||
225 0054 FCEEE77A vcvt.u32.f32 s15, s15
|
||
226 0058 17EE903A vmov r3, s15 @ int
|
||
227 005c 1384 strh r3, [r2, #32] @ movhi
|
||
70:Core/Src/Current_Monitoring.c **** } else {
|
||
228 .loc 1 70 7 is_stmt 1 view .LVU42
|
||
70:Core/Src/Current_Monitoring.c **** } else {
|
||
229 .loc 1 70 16 is_stmt 0 view .LVU43
|
||
230 005e 864B ldr r3, .L16+8
|
||
231 0060 0122 movs r2, #1
|
||
232 0062 1A70 strb r2, [r3]
|
||
233 .L9:
|
||
78:Core/Src/Current_Monitoring.c **** adc_channels2.adcbank1.isense1 * CURR_SENSE_FACTOR_5A;
|
||
234 .loc 1 78 5 is_stmt 1 view .LVU44
|
||
79:Core/Src/Current_Monitoring.c **** current_measurements_adc_val.aggregat =
|
||
235 .loc 1 79 31 is_stmt 0 view .LVU45
|
||
236 0064 8549 ldr r1, .L16+12
|
||
237 0066 4B88 ldrh r3, [r1, #2]
|
||
238 0068 9BB2 uxth r3, r3
|
||
239 006a 07EE903A vmov s15, r3 @ int
|
||
79:Core/Src/Current_Monitoring.c **** current_measurements_adc_val.aggregat =
|
||
240 .loc 1 79 40 view .LVU46
|
||
241 006e F8EEE77A vcvt.f32.s32 s15, s15
|
||
242 0072 9FED837A vldr.32 s14, .L16+16
|
||
243 0076 67EE877A vmul.f32 s15, s15, s14
|
||
78:Core/Src/Current_Monitoring.c **** adc_channels2.adcbank1.isense1 * CURR_SENSE_FACTOR_5A;
|
||
244 .loc 1 78 47 view .LVU47
|
||
245 007a 824A ldr r2, .L16+20
|
||
246 007c FCEEE77A vcvt.u32.f32 s15, s15
|
||
247 0080 17EE903A vmov r3, s15 @ int
|
||
248 0084 1383 strh r3, [r2, #24] @ movhi
|
||
80:Core/Src/Current_Monitoring.c **** adc_channels2.adcbank1.isense10 * CURR_SENSE_FACTOR_21A;
|
||
249 .loc 1 80 5 is_stmt 1 view .LVU48
|
||
81:Core/Src/Current_Monitoring.c ****
|
||
250 .loc 1 81 31 is_stmt 0 view .LVU49
|
||
251 0086 8B88 ldrh r3, [r1, #4]
|
||
252 0088 9BB2 uxth r3, r3
|
||
253 008a 07EE903A vmov s15, r3 @ int
|
||
81:Core/Src/Current_Monitoring.c ****
|
||
254 .loc 1 81 41 view .LVU50
|
||
255 008e F8EEE77A vcvt.f32.s32 s15, s15
|
||
256 0092 9FED7E7A vldr.32 s14, .L16+28
|
||
257 0096 67EE877A vmul.f32 s15, s15, s14
|
||
80:Core/Src/Current_Monitoring.c **** adc_channels2.adcbank1.isense10 * CURR_SENSE_FACTOR_21A;
|
||
258 .loc 1 80 43 view .LVU51
|
||
259 009a FCEEE77A vcvt.u32.f32 s15, s15
|
||
ARM GAS C:\Users\nived\AppData\Local\Temp\ccJmvYKq.s page 8
|
||
|
||
|
||
260 009e 17EE903A vmov r3, s15 @ int
|
||
261 00a2 5382 strh r3, [r2, #18] @ movhi
|
||
83:Core/Src/Current_Monitoring.c **** adcbank2);
|
||
262 .loc 1 83 5 is_stmt 1 view .LVU52
|
||
263 00a4 744D ldr r5, .L16+8
|
||
264 00a6 2A78 ldrb r2, [r5] @ zero_extendqisi2
|
||
265 00a8 4FF48051 mov r1, #4096
|
||
266 00ac 7848 ldr r0, .L16+32
|
||
267 .LVL17:
|
||
83:Core/Src/Current_Monitoring.c **** adcbank2);
|
||
268 .loc 1 83 5 is_stmt 0 view .LVU53
|
||
269 00ae FFF7FEFF bl HAL_GPIO_WritePin
|
||
270 .LVL18:
|
||
85:Core/Src/Current_Monitoring.c **** adcbank2);
|
||
271 .loc 1 85 5 is_stmt 1 view .LVU54
|
||
272 00b2 2A78 ldrb r2, [r5] @ zero_extendqisi2
|
||
273 00b4 0121 movs r1, #1
|
||
274 00b6 4FF09040 mov r0, #1207959552
|
||
275 00ba FFF7FEFF bl HAL_GPIO_WritePin
|
||
276 .LVL19:
|
||
277 00be A5E7 b .L7
|
||
278 .LVL20:
|
||
279 .L8:
|
||
72:Core/Src/Current_Monitoring.c **** adc_channels2.adcbank1.isense2 * CURR_SENSE_FACTOR_5A;
|
||
280 .loc 1 72 7 view .LVU55
|
||
73:Core/Src/Current_Monitoring.c **** current_measurements_adc_val.reserved =
|
||
281 .loc 1 73 33 is_stmt 0 view .LVU56
|
||
282 00c0 6E49 ldr r1, .L16+12
|
||
283 00c2 0B88 ldrh r3, [r1]
|
||
284 00c4 9BB2 uxth r3, r3
|
||
285 00c6 07EE903A vmov s15, r3 @ int
|
||
73:Core/Src/Current_Monitoring.c **** current_measurements_adc_val.reserved =
|
||
286 .loc 1 73 42 view .LVU57
|
||
287 00ca F8EEE77A vcvt.f32.s32 s15, s15
|
||
288 00ce 9FED6C7A vldr.32 s14, .L16+16
|
||
289 00d2 67EE877A vmul.f32 s15, s15, s14
|
||
72:Core/Src/Current_Monitoring.c **** adc_channels2.adcbank1.isense2 * CURR_SENSE_FACTOR_5A;
|
||
290 .loc 1 72 47 view .LVU58
|
||
291 00d6 6B4A ldr r2, .L16+20
|
||
292 00d8 FCEEE77A vcvt.u32.f32 s15, s15
|
||
293 00dc 17EE903A vmov r3, s15 @ int
|
||
294 00e0 D383 strh r3, [r2, #30] @ movhi
|
||
74:Core/Src/Current_Monitoring.c **** adc_channels2.adcbank1.isense4 * CURR_SENSE_FACTOR_7_5A;
|
||
295 .loc 1 74 7 is_stmt 1 view .LVU59
|
||
75:Core/Src/Current_Monitoring.c **** adcbank2 = GPIO_PIN_RESET;
|
||
296 .loc 1 75 33 is_stmt 0 view .LVU60
|
||
297 00e2 CB88 ldrh r3, [r1, #6]
|
||
298 00e4 9BB2 uxth r3, r3
|
||
299 00e6 07EE903A vmov s15, r3 @ int
|
||
75:Core/Src/Current_Monitoring.c **** adcbank2 = GPIO_PIN_RESET;
|
||
300 .loc 1 75 42 view .LVU61
|
||
301 00ea F8EEE77A vcvt.f32.s32 s15, s15
|
||
302 00ee 9FED667A vldr.32 s14, .L16+24
|
||
303 00f2 67EE877A vmul.f32 s15, s15, s14
|
||
74:Core/Src/Current_Monitoring.c **** adc_channels2.adcbank1.isense4 * CURR_SENSE_FACTOR_7_5A;
|
||
304 .loc 1 74 45 view .LVU62
|
||
305 00f6 FCEEE77A vcvt.u32.f32 s15, s15
|
||
ARM GAS C:\Users\nived\AppData\Local\Temp\ccJmvYKq.s page 9
|
||
|
||
|
||
306 00fa 17EE903A vmov r3, s15 @ int
|
||
307 00fe 5383 strh r3, [r2, #26] @ movhi
|
||
76:Core/Src/Current_Monitoring.c **** }
|
||
308 .loc 1 76 7 is_stmt 1 view .LVU63
|
||
76:Core/Src/Current_Monitoring.c **** }
|
||
309 .loc 1 76 16 is_stmt 0 view .LVU64
|
||
310 0100 5D4B ldr r3, .L16+8
|
||
311 0102 0022 movs r2, #0
|
||
312 0104 1A70 strb r2, [r3]
|
||
313 0106 ADE7 b .L9
|
||
314 .LVL21:
|
||
315 .L15:
|
||
90:Core/Src/Current_Monitoring.c **** current_measurements_adc_val.sdc=
|
||
316 .loc 1 90 5 is_stmt 1 view .LVU65
|
||
90:Core/Src/Current_Monitoring.c **** current_measurements_adc_val.sdc=
|
||
317 .loc 1 90 18 is_stmt 0 view .LVU66
|
||
318 0108 624B ldr r3, .L16+36
|
||
319 010a 1B78 ldrb r3, [r3] @ zero_extendqisi2
|
||
90:Core/Src/Current_Monitoring.c **** current_measurements_adc_val.sdc=
|
||
320 .loc 1 90 8 view .LVU67
|
||
321 010c 002B cmp r3, #0
|
||
322 010e 7ED1 bne .L11
|
||
91:Core/Src/Current_Monitoring.c **** adc_channels1.adcbank1.isense3 * CURR_SENSE_FACTOR_5A;
|
||
323 .loc 1 91 7 is_stmt 1 view .LVU68
|
||
92:Core/Src/Current_Monitoring.c **** current_measurements_adc_val.misc=
|
||
324 .loc 1 92 33 is_stmt 0 view .LVU69
|
||
325 0110 6149 ldr r1, .L16+40
|
||
326 0112 4B89 ldrh r3, [r1, #10]
|
||
327 0114 9BB2 uxth r3, r3
|
||
328 0116 07EE903A vmov s15, r3 @ int
|
||
92:Core/Src/Current_Monitoring.c **** current_measurements_adc_val.misc=
|
||
329 .loc 1 92 42 view .LVU70
|
||
330 011a F8EEE77A vcvt.f32.s32 s15, s15
|
||
331 011e 9FED587A vldr.32 s14, .L16+16
|
||
332 0122 67EE877A vmul.f32 s15, s15, s14
|
||
91:Core/Src/Current_Monitoring.c **** adc_channels1.adcbank1.isense3 * CURR_SENSE_FACTOR_5A;
|
||
333 .loc 1 91 39 view .LVU71
|
||
334 0126 574A ldr r2, .L16+20
|
||
335 0128 FCEEE77A vcvt.u32.f32 s15, s15
|
||
336 012c 17EE903A vmov r3, s15 @ int
|
||
337 0130 9381 strh r3, [r2, #12] @ movhi
|
||
93:Core/Src/Current_Monitoring.c **** adc_channels1.adcbank1.isense7 * CURR_SENSE_FACTOR_7_5A;
|
||
338 .loc 1 93 7 is_stmt 1 view .LVU72
|
||
94:Core/Src/Current_Monitoring.c **** current_measurements_adc_val.gss=
|
||
339 .loc 1 94 33 is_stmt 0 view .LVU73
|
||
340 0132 8B89 ldrh r3, [r1, #12]
|
||
341 0134 9BB2 uxth r3, r3
|
||
342 0136 07EE903A vmov s15, r3 @ int
|
||
94:Core/Src/Current_Monitoring.c **** current_measurements_adc_val.gss=
|
||
343 .loc 1 94 42 view .LVU74
|
||
344 013a F8EEE77A vcvt.f32.s32 s15, s15
|
||
345 013e 9FED527A vldr.32 s14, .L16+24
|
||
346 0142 67EE877A vmul.f32 s15, s15, s14
|
||
93:Core/Src/Current_Monitoring.c **** adc_channels1.adcbank1.isense7 * CURR_SENSE_FACTOR_7_5A;
|
||
347 .loc 1 93 40 view .LVU75
|
||
348 0146 FCEEE77A vcvt.u32.f32 s15, s15
|
||
349 014a 17EE903A vmov r3, s15 @ int
|
||
ARM GAS C:\Users\nived\AppData\Local\Temp\ccJmvYKq.s page 10
|
||
|
||
|
||
350 014e 9382 strh r3, [r2, #20] @ movhi
|
||
95:Core/Src/Current_Monitoring.c **** adc_channels1.adcbank1.isense5 * CURR_SENSE_FACTOR_7_5A;
|
||
351 .loc 1 95 7 is_stmt 1 view .LVU76
|
||
96:Core/Src/Current_Monitoring.c ****
|
||
352 .loc 1 96 33 is_stmt 0 view .LVU77
|
||
353 0150 0B89 ldrh r3, [r1, #8]
|
||
354 0152 9BB2 uxth r3, r3
|
||
355 0154 07EE903A vmov s15, r3 @ int
|
||
96:Core/Src/Current_Monitoring.c ****
|
||
356 .loc 1 96 42 view .LVU78
|
||
357 0158 F8EEE77A vcvt.f32.s32 s15, s15
|
||
358 015c 67EE877A vmul.f32 s15, s15, s14
|
||
95:Core/Src/Current_Monitoring.c **** adc_channels1.adcbank1.isense5 * CURR_SENSE_FACTOR_7_5A;
|
||
359 .loc 1 95 39 view .LVU79
|
||
360 0160 FCEEE77A vcvt.u32.f32 s15, s15
|
||
361 0164 17EE903A vmov r3, s15 @ int
|
||
362 0168 1381 strh r3, [r2, #8] @ movhi
|
||
98:Core/Src/Current_Monitoring.c **** } else {
|
||
363 .loc 1 98 7 is_stmt 1 view .LVU80
|
||
98:Core/Src/Current_Monitoring.c **** } else {
|
||
364 .loc 1 98 16 is_stmt 0 view .LVU81
|
||
365 016a 4A4B ldr r3, .L16+36
|
||
366 016c 0122 movs r2, #1
|
||
367 016e 1A70 strb r2, [r3]
|
||
368 .L12:
|
||
108:Core/Src/Current_Monitoring.c **** adc_channels1.adcbank1.isense12 * CURR_SENSE_FACTOR_31A;
|
||
369 .loc 1 108 5 is_stmt 1 view .LVU82
|
||
109:Core/Src/Current_Monitoring.c **** current_measurements_adc_val.epsc =
|
||
370 .loc 1 109 31 is_stmt 0 view .LVU83
|
||
371 0170 4949 ldr r1, .L16+40
|
||
372 0172 0B88 ldrh r3, [r1]
|
||
373 0174 9BB2 uxth r3, r3
|
||
374 0176 07EE903A vmov s15, r3 @ int
|
||
109:Core/Src/Current_Monitoring.c **** current_measurements_adc_val.epsc =
|
||
375 .loc 1 109 41 view .LVU84
|
||
376 017a F8EEE77A vcvt.f32.s32 s15, s15
|
||
377 017e DFED476A vldr.32 s13, .L16+44
|
||
378 0182 67EEA67A vmul.f32 s15, s15, s13
|
||
108:Core/Src/Current_Monitoring.c **** adc_channels1.adcbank1.isense12 * CURR_SENSE_FACTOR_31A;
|
||
379 .loc 1 108 37 view .LVU85
|
||
380 0186 3F4A ldr r2, .L16+20
|
||
381 0188 FCEEE77A vcvt.u32.f32 s15, s15
|
||
382 018c 17EE903A vmov r3, s15 @ int
|
||
383 0190 1380 strh r3, [r2] @ movhi
|
||
110:Core/Src/Current_Monitoring.c **** adc_channels1.adcbank1.isense11 * CURR_SENSE_FACTOR_21A;
|
||
384 .loc 1 110 5 is_stmt 1 view .LVU86
|
||
111:Core/Src/Current_Monitoring.c **** current_measurements_adc_val.tsac_fans =
|
||
385 .loc 1 111 31 is_stmt 0 view .LVU87
|
||
386 0192 4B88 ldrh r3, [r1, #2]
|
||
387 0194 9BB2 uxth r3, r3
|
||
388 0196 07EE903A vmov s15, r3 @ int
|
||
111:Core/Src/Current_Monitoring.c **** current_measurements_adc_val.tsac_fans =
|
||
389 .loc 1 111 41 view .LVU88
|
||
390 019a F8EEE77A vcvt.f32.s32 s15, s15
|
||
391 019e 9FED3B7A vldr.32 s14, .L16+28
|
||
392 01a2 67EE877A vmul.f32 s15, s15, s14
|
||
110:Core/Src/Current_Monitoring.c **** adc_channels1.adcbank1.isense11 * CURR_SENSE_FACTOR_21A;
|
||
ARM GAS C:\Users\nived\AppData\Local\Temp\ccJmvYKq.s page 11
|
||
|
||
|
||
393 .loc 1 110 39 view .LVU89
|
||
394 01a6 FCEEE77A vcvt.u32.f32 s15, s15
|
||
395 01aa 17EE903A vmov r3, s15 @ int
|
||
396 01ae 5380 strh r3, [r2, #2] @ movhi
|
||
112:Core/Src/Current_Monitoring.c **** adc_channels1.adcbank1.isense13 * CURR_SENSE_FACTOR_31A;
|
||
397 .loc 1 112 5 is_stmt 1 view .LVU90
|
||
113:Core/Src/Current_Monitoring.c **** current_measurements_adc_val.radiator_fans=
|
||
398 .loc 1 113 31 is_stmt 0 view .LVU91
|
||
399 01b0 CB88 ldrh r3, [r1, #6]
|
||
400 01b2 9BB2 uxth r3, r3
|
||
401 01b4 07EE903A vmov s15, r3 @ int
|
||
113:Core/Src/Current_Monitoring.c **** current_measurements_adc_val.radiator_fans=
|
||
402 .loc 1 113 41 view .LVU92
|
||
403 01b8 F8EEE77A vcvt.f32.s32 s15, s15
|
||
404 01bc 67EEA67A vmul.f32 s15, s15, s13
|
||
112:Core/Src/Current_Monitoring.c **** adc_channels1.adcbank1.isense13 * CURR_SENSE_FACTOR_31A;
|
||
405 .loc 1 112 44 view .LVU93
|
||
406 01c0 FCEEE77A vcvt.u32.f32 s15, s15
|
||
407 01c4 17EE903A vmov r3, s15 @ int
|
||
408 01c8 D380 strh r3, [r2, #6] @ movhi
|
||
114:Core/Src/Current_Monitoring.c **** adc_channels1.adcbank1.isense6 * CURR_SENSE_FACTOR_21A;
|
||
409 .loc 1 114 5 is_stmt 1 view .LVU94
|
||
115:Core/Src/Current_Monitoring.c ****
|
||
410 .loc 1 115 33 is_stmt 0 view .LVU95
|
||
411 01ca 8B88 ldrh r3, [r1, #4]
|
||
412 01cc 9BB2 uxth r3, r3
|
||
413 01ce 07EE903A vmov s15, r3 @ int
|
||
115:Core/Src/Current_Monitoring.c ****
|
||
414 .loc 1 115 42 view .LVU96
|
||
415 01d2 F8EEE77A vcvt.f32.s32 s15, s15
|
||
416 01d6 67EE877A vmul.f32 s15, s15, s14
|
||
114:Core/Src/Current_Monitoring.c **** adc_channels1.adcbank1.isense6 * CURR_SENSE_FACTOR_21A;
|
||
417 .loc 1 114 47 view .LVU97
|
||
418 01da FCEEE77A vcvt.u32.f32 s15, s15
|
||
419 01de 17EE903A vmov r3, s15 @ int
|
||
420 01e2 9380 strh r3, [r2, #4] @ movhi
|
||
117:Core/Src/Current_Monitoring.c **** adcbank1);
|
||
421 .loc 1 117 5 is_stmt 1 view .LVU98
|
||
422 01e4 2B4D ldr r5, .L16+36
|
||
423 01e6 2A4C ldr r4, .L16+32
|
||
424 .LVL22:
|
||
117:Core/Src/Current_Monitoring.c **** adcbank1);
|
||
425 .loc 1 117 5 is_stmt 0 view .LVU99
|
||
426 01e8 2A78 ldrb r2, [r5] @ zero_extendqisi2
|
||
427 01ea 4FF40051 mov r1, #8192
|
||
428 01ee 2046 mov r0, r4
|
||
429 01f0 FFF7FEFF bl HAL_GPIO_WritePin
|
||
430 .LVL23:
|
||
119:Core/Src/Current_Monitoring.c **** adcbank1);
|
||
431 .loc 1 119 5 is_stmt 1 view .LVU100
|
||
432 01f4 2A78 ldrb r2, [r5] @ zero_extendqisi2
|
||
433 01f6 4FF48041 mov r1, #16384
|
||
434 01fa 2046 mov r0, r4
|
||
435 01fc FFF7FEFF bl HAL_GPIO_WritePin
|
||
436 .LVL24:
|
||
121:Core/Src/Current_Monitoring.c **** adcbank1);
|
||
437 .loc 1 121 5 view .LVU101
|
||
ARM GAS C:\Users\nived\AppData\Local\Temp\ccJmvYKq.s page 12
|
||
|
||
|
||
438 0200 2A78 ldrb r2, [r5] @ zero_extendqisi2
|
||
439 0202 4FF40071 mov r1, #512
|
||
440 0206 2046 mov r0, r4
|
||
441 0208 FFF7FEFF bl HAL_GPIO_WritePin
|
||
442 .LVL25:
|
||
443 .loc 1 124 1 is_stmt 0 view .LVU102
|
||
444 020c 02E7 b .L6
|
||
445 .LVL26:
|
||
446 .L11:
|
||
100:Core/Src/Current_Monitoring.c **** adc_channels1.adcbank1.isense3 * CURR_SENSE_FACTOR_5A;
|
||
447 .loc 1 100 7 is_stmt 1 view .LVU103
|
||
101:Core/Src/Current_Monitoring.c **** current_measurements_adc_val.inverters =
|
||
448 .loc 1 101 33 is_stmt 0 view .LVU104
|
||
449 020e 2249 ldr r1, .L16+40
|
||
450 0210 4B89 ldrh r3, [r1, #10]
|
||
451 0212 9BB2 uxth r3, r3
|
||
452 0214 07EE903A vmov s15, r3 @ int
|
||
101:Core/Src/Current_Monitoring.c **** current_measurements_adc_val.inverters =
|
||
453 .loc 1 101 42 view .LVU105
|
||
454 0218 F8EEE77A vcvt.f32.s32 s15, s15
|
||
455 021c 9FED187A vldr.32 s14, .L16+16
|
||
456 0220 67EE877A vmul.f32 s15, s15, s14
|
||
100:Core/Src/Current_Monitoring.c **** adc_channels1.adcbank1.isense3 * CURR_SENSE_FACTOR_5A;
|
||
457 .loc 1 100 46 view .LVU106
|
||
458 0224 174A ldr r2, .L16+20
|
||
459 0226 FCEEE77A vcvt.u32.f32 s15, s15
|
||
460 022a 17EE903A vmov r3, s15 @ int
|
||
461 022e D382 strh r3, [r2, #22] @ movhi
|
||
102:Core/Src/Current_Monitoring.c **** adc_channels1.adcbank1.isense7 * CURR_SENSE_FACTOR_7_5A;
|
||
462 .loc 1 102 7 is_stmt 1 view .LVU107
|
||
103:Core/Src/Current_Monitoring.c **** current_measurements_adc_val.lidar=
|
||
463 .loc 1 103 33 is_stmt 0 view .LVU108
|
||
464 0230 8B89 ldrh r3, [r1, #12]
|
||
465 0232 9BB2 uxth r3, r3
|
||
466 0234 07EE903A vmov s15, r3 @ int
|
||
103:Core/Src/Current_Monitoring.c **** current_measurements_adc_val.lidar=
|
||
467 .loc 1 103 42 view .LVU109
|
||
468 0238 F8EEE77A vcvt.f32.s32 s15, s15
|
||
469 023c 9FED127A vldr.32 s14, .L16+24
|
||
470 0240 67EE877A vmul.f32 s15, s15, s14
|
||
102:Core/Src/Current_Monitoring.c **** adc_channels1.adcbank1.isense7 * CURR_SENSE_FACTOR_7_5A;
|
||
471 .loc 1 102 46 view .LVU110
|
||
472 0244 FCEEE77A vcvt.u32.f32 s15, s15
|
||
473 0248 17EE903A vmov r3, s15 @ int
|
||
474 024c D381 strh r3, [r2, #14] @ movhi
|
||
104:Core/Src/Current_Monitoring.c **** adc_channels1.adcbank1.isense5 * CURR_SENSE_FACTOR_7_5A;
|
||
475 .loc 1 104 7 is_stmt 1 view .LVU111
|
||
105:Core/Src/Current_Monitoring.c **** adcbank1 = GPIO_PIN_RESET;
|
||
476 .loc 1 105 33 is_stmt 0 view .LVU112
|
||
477 024e 0B89 ldrh r3, [r1, #8]
|
||
478 0250 9BB2 uxth r3, r3
|
||
479 0252 07EE903A vmov s15, r3 @ int
|
||
105:Core/Src/Current_Monitoring.c **** adcbank1 = GPIO_PIN_RESET;
|
||
480 .loc 1 105 42 view .LVU113
|
||
481 0256 F8EEE77A vcvt.f32.s32 s15, s15
|
||
482 025a 67EE877A vmul.f32 s15, s15, s14
|
||
104:Core/Src/Current_Monitoring.c **** adc_channels1.adcbank1.isense5 * CURR_SENSE_FACTOR_7_5A;
|
||
ARM GAS C:\Users\nived\AppData\Local\Temp\ccJmvYKq.s page 13
|
||
|
||
|
||
483 .loc 1 104 41 view .LVU114
|
||
484 025e FCEEE77A vcvt.u32.f32 s15, s15
|
||
485 0262 17EE903A vmov r3, s15 @ int
|
||
486 0266 5381 strh r3, [r2, #10] @ movhi
|
||
106:Core/Src/Current_Monitoring.c **** }
|
||
487 .loc 1 106 7 is_stmt 1 view .LVU115
|
||
106:Core/Src/Current_Monitoring.c **** }
|
||
488 .loc 1 106 16 is_stmt 0 view .LVU116
|
||
489 0268 0A4B ldr r3, .L16+36
|
||
490 026a 0022 movs r2, #0
|
||
491 026c 1A70 strb r2, [r3]
|
||
492 026e 7FE7 b .L12
|
||
493 .L17:
|
||
494 .align 2
|
||
495 .L16:
|
||
496 0270 00000000 .word adc2
|
||
497 0274 00000000 .word adc1
|
||
498 0278 00000000 .word adcbank2
|
||
499 027c 00000000 .word adc_channels2
|
||
500 0280 FFFB1E40 .word 1075772415
|
||
501 0284 00000000 .word current_measurements_adc_val
|
||
502 0288 FF2D6A40 .word 1080700415
|
||
503 028c FFD87341 .word 1098111231
|
||
504 0290 00040048 .word 1207960576
|
||
505 0294 00000000 .word adcbank1
|
||
506 0298 00000000 .word adc_channels1
|
||
507 029c 7F27B741 .word 1102522239
|
||
508 .cfi_endproc
|
||
509 .LFE132:
|
||
511 .global adc2
|
||
512 .section .bss.adc2,"aw",%nobits
|
||
513 .align 2
|
||
516 adc2:
|
||
517 0000 00000000 .space 4
|
||
518 .global adc1
|
||
519 .section .bss.adc1,"aw",%nobits
|
||
520 .align 2
|
||
523 adc1:
|
||
524 0000 00000000 .space 4
|
||
525 .global adcbank2
|
||
526 .section .bss.adcbank2,"aw",%nobits
|
||
529 adcbank2:
|
||
530 0000 00 .space 1
|
||
531 .global adcbank1
|
||
532 .section .bss.adcbank1,"aw",%nobits
|
||
535 adcbank1:
|
||
536 0000 00 .space 1
|
||
537 .global current_measurements_adc_val
|
||
538 .section .bss.current_measurements_adc_val,"aw",%nobits
|
||
539 .align 2
|
||
542 current_measurements_adc_val:
|
||
543 0000 00000000 .space 34
|
||
543 00000000
|
||
543 00000000
|
||
543 00000000
|
||
543 00000000
|
||
544 .global adc_channels2
|
||
ARM GAS C:\Users\nived\AppData\Local\Temp\ccJmvYKq.s page 14
|
||
|
||
|
||
545 .section .bss.adc_channels2,"aw",%nobits
|
||
546 .align 2
|
||
549 adc_channels2:
|
||
550 0000 00000000 .space 8
|
||
550 00000000
|
||
551 .global adc_channels1
|
||
552 .section .bss.adc_channels1,"aw",%nobits
|
||
553 .align 2
|
||
556 adc_channels1:
|
||
557 0000 00000000 .space 14
|
||
557 00000000
|
||
557 00000000
|
||
557 0000
|
||
558 .text
|
||
559 .Letext0:
|
||
560 .file 2 "c:\\users\\nived\\appdata\\roaming\\code\\user\\globalstorage\\bmd.stm32-for-vscode\\@xpa
|
||
561 .file 3 "c:\\users\\nived\\appdata\\roaming\\code\\user\\globalstorage\\bmd.stm32-for-vscode\\@xpa
|
||
562 .file 4 "Drivers/CMSIS/Device/ST/STM32F3xx/Include/stm32f302xc.h"
|
||
563 .file 5 "Drivers/CMSIS/Device/ST/STM32F3xx/Include/stm32f3xx.h"
|
||
564 .file 6 "Drivers/STM32F3xx_HAL_Driver/Inc/stm32f3xx_hal_def.h"
|
||
565 .file 7 "Drivers/STM32F3xx_HAL_Driver/Inc/stm32f3xx_hal_gpio.h"
|
||
566 .file 8 "Drivers/STM32F3xx_HAL_Driver/Inc/stm32f3xx_hal_dma.h"
|
||
567 .file 9 "Drivers/STM32F3xx_HAL_Driver/Inc/stm32f3xx_hal_adc_ex.h"
|
||
568 .file 10 "Drivers/STM32F3xx_HAL_Driver/Inc/stm32f3xx_hal_adc.h"
|
||
569 .file 11 "Drivers/STM32F3xx_HAL_Driver/Inc/stm32f3xx_hal_tim.h"
|
||
570 .file 12 "Core/Inc/Current_Monitoring.h"
|
||
ARM GAS C:\Users\nived\AppData\Local\Temp\ccJmvYKq.s page 15
|
||
|
||
|
||
DEFINED SYMBOLS
|
||
*ABS*:00000000 Current_Monitoring.c
|
||
C:\Users\nived\AppData\Local\Temp\ccJmvYKq.s:21 .text.currentMonitor_init:00000000 $t
|
||
C:\Users\nived\AppData\Local\Temp\ccJmvYKq.s:27 .text.currentMonitor_init:00000000 currentMonitor_init
|
||
C:\Users\nived\AppData\Local\Temp\ccJmvYKq.s:118 .text.currentMonitor_init:00000080 $d
|
||
C:\Users\nived\AppData\Local\Temp\ccJmvYKq.s:523 .bss.adc1:00000000 adc1
|
||
C:\Users\nived\AppData\Local\Temp\ccJmvYKq.s:516 .bss.adc2:00000000 adc2
|
||
C:\Users\nived\AppData\Local\Temp\ccJmvYKq.s:556 .bss.adc_channels1:00000000 adc_channels1
|
||
C:\Users\nived\AppData\Local\Temp\ccJmvYKq.s:549 .bss.adc_channels2:00000000 adc_channels2
|
||
C:\Users\nived\AppData\Local\Temp\ccJmvYKq.s:529 .bss.adcbank2:00000000 adcbank2
|
||
C:\Users\nived\AppData\Local\Temp\ccJmvYKq.s:535 .bss.adcbank1:00000000 adcbank1
|
||
C:\Users\nived\AppData\Local\Temp\ccJmvYKq.s:129 .text.currentMonitor_checklimits:00000000 $t
|
||
C:\Users\nived\AppData\Local\Temp\ccJmvYKq.s:135 .text.currentMonitor_checklimits:00000000 currentMonitor_checklimits
|
||
C:\Users\nived\AppData\Local\Temp\ccJmvYKq.s:150 .text.HAL_ADC_ConvCpltCallback:00000000 $t
|
||
C:\Users\nived\AppData\Local\Temp\ccJmvYKq.s:156 .text.HAL_ADC_ConvCpltCallback:00000000 HAL_ADC_ConvCpltCallback
|
||
C:\Users\nived\AppData\Local\Temp\ccJmvYKq.s:496 .text.HAL_ADC_ConvCpltCallback:00000270 $d
|
||
C:\Users\nived\AppData\Local\Temp\ccJmvYKq.s:542 .bss.current_measurements_adc_val:00000000 current_measurements_adc_val
|
||
C:\Users\nived\AppData\Local\Temp\ccJmvYKq.s:513 .bss.adc2:00000000 $d
|
||
C:\Users\nived\AppData\Local\Temp\ccJmvYKq.s:520 .bss.adc1:00000000 $d
|
||
C:\Users\nived\AppData\Local\Temp\ccJmvYKq.s:530 .bss.adcbank2:00000000 $d
|
||
C:\Users\nived\AppData\Local\Temp\ccJmvYKq.s:536 .bss.adcbank1:00000000 $d
|
||
C:\Users\nived\AppData\Local\Temp\ccJmvYKq.s:539 .bss.current_measurements_adc_val:00000000 $d
|
||
C:\Users\nived\AppData\Local\Temp\ccJmvYKq.s:546 .bss.adc_channels2:00000000 $d
|
||
C:\Users\nived\AppData\Local\Temp\ccJmvYKq.s:553 .bss.adc_channels1:00000000 $d
|
||
|
||
UNDEFINED SYMBOLS
|
||
HAL_GPIO_WritePin
|
||
HAL_TIM_Base_Start
|
||
HAL_ADC_Start_DMA
|