518 lines
24 KiB
Plaintext
518 lines
24 KiB
Plaintext
ARM GAS C:\Users\nived\AppData\Local\Temp\ccKLLyRV.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 "Channel_Control.c"
|
||
16 .text
|
||
17 .Ltext0:
|
||
18 .cfi_sections .debug_frame
|
||
19 .file 1 "Core/Src/Channel_Control.c"
|
||
20 .section .text.ChannelControl_UpdateGPIOs,"ax",%progbits
|
||
21 .align 1
|
||
22 .global ChannelControl_UpdateGPIOs
|
||
23 .syntax unified
|
||
24 .thumb
|
||
25 .thumb_func
|
||
27 ChannelControl_UpdateGPIOs:
|
||
28 .LVL0:
|
||
29 .LFB131:
|
||
1:Core/Src/Channel_Control.c **** /*
|
||
2:Core/Src/Channel_Control.c **** * Channel_Control.c
|
||
3:Core/Src/Channel_Control.c **** *
|
||
4:Core/Src/Channel_Control.c **** * Created on: 24. April, 2024
|
||
5:Core/Src/Channel_Control.c **** * Author: nived
|
||
6:Core/Src/Channel_Control.c **** */
|
||
7:Core/Src/Channel_Control.c ****
|
||
8:Core/Src/Channel_Control.c **** #include "Channel_Control.h"
|
||
9:Core/Src/Channel_Control.c **** #include "PCA9535D_Driver.h"
|
||
10:Core/Src/Channel_Control.c ****
|
||
11:Core/Src/Channel_Control.c **** PortExtenderGPIO EN_Ports;
|
||
12:Core/Src/Channel_Control.c ****
|
||
13:Core/Src/Channel_Control.c **** uint8_t timer3_running = 0;
|
||
14:Core/Src/Channel_Control.c **** uint8_t timer2_running = 0;
|
||
15:Core/Src/Channel_Control.c **** TIM_HandleTypeDef* pwmtimer3;
|
||
16:Core/Src/Channel_Control.c **** TIM_HandleTypeDef* pwmtimer2;
|
||
17:Core/Src/Channel_Control.c ****
|
||
18:Core/Src/Channel_Control.c **** void ChannelControl_init(I2C_HandleTypeDef* hi2c, TIM_HandleTypeDef* timer3,
|
||
19:Core/Src/Channel_Control.c **** TIM_HandleTypeDef* timer2) {
|
||
20:Core/Src/Channel_Control.c ****
|
||
21:Core/Src/Channel_Control.c **** pwmtimer3 = timer3;
|
||
22:Core/Src/Channel_Control.c **** pwmtimer2 = timer2;
|
||
23:Core/Src/Channel_Control.c **** PCA9535_init(hi2c, 0);
|
||
24:Core/Src/Channel_Control.c **** PCA9535_setGPIOPortOutput(PC9535_PORTA, 0x00);
|
||
25:Core/Src/Channel_Control.c **** PCA9535_setGPIOPortOutput(PC9535_PORTB, 0x00);
|
||
26:Core/Src/Channel_Control.c **** PCA9535_setGPIOPortDirection(PC9535_PORTA, 0x00);
|
||
27:Core/Src/Channel_Control.c **** PCA9535_setGPIOPortDirection(PC9535_PORTB, 0x00);
|
||
28:Core/Src/Channel_Control.c ****
|
||
29:Core/Src/Channel_Control.c **** EN_Ports.porta.porta = 0;
|
||
ARM GAS C:\Users\nived\AppData\Local\Temp\ccKLLyRV.s page 2
|
||
|
||
|
||
30:Core/Src/Channel_Control.c **** EN_Ports.portb.portb = 0;
|
||
31:Core/Src/Channel_Control.c **** EN_Ports.porta.alwayson = 1;
|
||
32:Core/Src/Channel_Control.c **** ChannelControl_UpdateGPIOs(EN_Ports);
|
||
33:Core/Src/Channel_Control.c **** ChannelControl_UpdatePWMs(0, 0, 0, 0);
|
||
34:Core/Src/Channel_Control.c **** }
|
||
35:Core/Src/Channel_Control.c ****
|
||
36:Core/Src/Channel_Control.c **** void ChannelControl_UpdateGPIOs(PortExtenderGPIO UpdatePorts) { // ctrl + left click auf portextend
|
||
30 .loc 1 36 63 view -0
|
||
31 .cfi_startproc
|
||
32 @ args = 0, pretend = 0, frame = 0
|
||
33 @ frame_needed = 0, uses_anonymous_args = 0
|
||
34 .loc 1 36 63 is_stmt 0 view .LVU1
|
||
35 0000 10B5 push {r4, lr}
|
||
36 .cfi_def_cfa_offset 8
|
||
37 .cfi_offset 4, -8
|
||
38 .cfi_offset 14, -4
|
||
37:Core/Src/Channel_Control.c **** EN_Ports = UpdatePorts;
|
||
39 .loc 1 37 3 is_stmt 1 view .LVU2
|
||
40 .loc 1 37 12 is_stmt 0 view .LVU3
|
||
41 0002 074B ldr r3, .L3
|
||
42 0004 1880 strh r0, [r3] @ movhi
|
||
38:Core/Src/Channel_Control.c **** UpdatePorts.porta.alwayson = 1;// Always on stays always on
|
||
43 .loc 1 38 3 is_stmt 1 view .LVU4
|
||
44 .loc 1 38 30 is_stmt 0 view .LVU5
|
||
45 0006 40F08004 orr r4, r0, #128
|
||
39:Core/Src/Channel_Control.c **** PCA9535_setGPIOPortOutput(PC9535_PORTA, UpdatePorts.porta.porta);
|
||
46 .loc 1 39 2 is_stmt 1 view .LVU6
|
||
47 000a E1B2 uxtb r1, r4
|
||
48 000c 0020 movs r0, #0
|
||
49 .LVL1:
|
||
50 .loc 1 39 2 is_stmt 0 view .LVU7
|
||
51 000e FFF7FEFF bl PCA9535_setGPIOPortOutput
|
||
52 .LVL2:
|
||
40:Core/Src/Channel_Control.c **** PCA9535_setGPIOPortOutput(PC9535_PORTB, UpdatePorts.portb.portb);
|
||
53 .loc 1 40 2 is_stmt 1 view .LVU8
|
||
54 0012 C4F30721 ubfx r1, r4, #8, #8
|
||
55 0016 0120 movs r0, #1
|
||
56 0018 FFF7FEFF bl PCA9535_setGPIOPortOutput
|
||
57 .LVL3:
|
||
41:Core/Src/Channel_Control.c **** UpdatePorts.porta.alwayson = 1;
|
||
58 .loc 1 41 3 view .LVU9
|
||
42:Core/Src/Channel_Control.c **** // gpio_port_b testb={}; (testing code)
|
||
43:Core/Src/Channel_Control.c **** //testb.en16=1; (testing code)
|
||
44:Core/Src/Channel_Control.c **** //PCA9535_setGPIOPortOutput(PC9535_PORTB, testb.portb); (testing code)
|
||
45:Core/Src/Channel_Control.c **** // gpio_port_a testa={}; (testing code)
|
||
46:Core/Src/Channel_Control.c **** // testa.en1=1; (testing code)
|
||
47:Core/Src/Channel_Control.c **** // testa.en13=1; (testing code)
|
||
48:Core/Src/Channel_Control.c **** // PCA9535_setGPIOPortOutput(PC9535_PORTA, testa.porta); (testing code)
|
||
49:Core/Src/Channel_Control.c **** }
|
||
59 .loc 1 49 1 is_stmt 0 view .LVU10
|
||
60 001c 10BD pop {r4, pc}
|
||
61 .L4:
|
||
62 001e 00BF .align 2
|
||
63 .L3:
|
||
64 0020 00000000 .word EN_Ports
|
||
65 .cfi_endproc
|
||
66 .LFE131:
|
||
ARM GAS C:\Users\nived\AppData\Local\Temp\ccKLLyRV.s page 3
|
||
|
||
|
||
68 .section .text.ChannelControl_UpdatePWMs,"ax",%progbits
|
||
69 .align 1
|
||
70 .global ChannelControl_UpdatePWMs
|
||
71 .syntax unified
|
||
72 .thumb
|
||
73 .thumb_func
|
||
75 ChannelControl_UpdatePWMs:
|
||
76 .LVL4:
|
||
77 .LFB132:
|
||
50:Core/Src/Channel_Control.c ****
|
||
51:Core/Src/Channel_Control.c **** void ChannelControl_UpdatePWMs(uint8_t radiatorfans,uint8_t tsacfans , uint8_t pwmaggregat,
|
||
52:Core/Src/Channel_Control.c **** uint8_t pwmpumps){
|
||
78 .loc 1 52 49 is_stmt 1 view -0
|
||
79 .cfi_startproc
|
||
80 @ args = 0, pretend = 0, frame = 0
|
||
81 @ frame_needed = 0, uses_anonymous_args = 0
|
||
82 .loc 1 52 49 is_stmt 0 view .LVU12
|
||
83 0000 38B5 push {r3, r4, r5, lr}
|
||
84 .cfi_def_cfa_offset 16
|
||
85 .cfi_offset 3, -16
|
||
86 .cfi_offset 4, -12
|
||
87 .cfi_offset 5, -8
|
||
88 .cfi_offset 14, -4
|
||
89 0002 0246 mov r2, r0
|
||
90 .LVL5:
|
||
91 .loc 1 52 49 view .LVU13
|
||
92 0004 0C46 mov r4, r1
|
||
53:Core/Src/Channel_Control.c ****
|
||
54:Core/Src/Channel_Control.c ****
|
||
55:Core/Src/Channel_Control.c **** pwmtimer3->Instance->CCR4 = pwmpumps << 8;
|
||
93 .loc 1 55 3 is_stmt 1 view .LVU14
|
||
94 .loc 1 55 12 is_stmt 0 view .LVU15
|
||
95 0006 2249 ldr r1, .L13
|
||
96 .LVL6:
|
||
97 .loc 1 55 12 view .LVU16
|
||
98 0008 0868 ldr r0, [r1]
|
||
99 .LVL7:
|
||
100 .loc 1 55 12 view .LVU17
|
||
101 000a 0168 ldr r1, [r0]
|
||
102 .loc 1 55 40 view .LVU18
|
||
103 000c 1D02 lsls r5, r3, #8
|
||
104 .loc 1 55 29 view .LVU19
|
||
105 000e 0D64 str r5, [r1, #64]
|
||
56:Core/Src/Channel_Control.c **** pwmtimer3->Instance->CCR1 = radiatorfans << 8;
|
||
106 .loc 1 56 3 is_stmt 1 view .LVU20
|
||
107 .loc 1 56 12 is_stmt 0 view .LVU21
|
||
108 0010 0168 ldr r1, [r0]
|
||
109 .loc 1 56 44 view .LVU22
|
||
110 0012 1502 lsls r5, r2, #8
|
||
111 .loc 1 56 29 view .LVU23
|
||
112 0014 4D63 str r5, [r1, #52]
|
||
57:Core/Src/Channel_Control.c **** pwmtimer2->Instance->CCR2 = tsacfans << 8;
|
||
113 .loc 1 57 3 is_stmt 1 view .LVU24
|
||
114 .loc 1 57 12 is_stmt 0 view .LVU25
|
||
115 0016 1F49 ldr r1, .L13+4
|
||
116 0018 0968 ldr r1, [r1]
|
||
117 001a 0968 ldr r1, [r1]
|
||
ARM GAS C:\Users\nived\AppData\Local\Temp\ccKLLyRV.s page 4
|
||
|
||
|
||
118 .loc 1 57 40 view .LVU26
|
||
119 001c 2502 lsls r5, r4, #8
|
||
120 .loc 1 57 29 view .LVU27
|
||
121 001e 8D63 str r5, [r1, #56]
|
||
58:Core/Src/Channel_Control.c ****
|
||
59:Core/Src/Channel_Control.c **** if (timer3_running) {
|
||
122 .loc 1 59 3 is_stmt 1 view .LVU28
|
||
123 .loc 1 59 7 is_stmt 0 view .LVU29
|
||
124 0020 1D49 ldr r1, .L13+8
|
||
125 0022 0978 ldrb r1, [r1] @ zero_extendqisi2
|
||
126 .loc 1 59 6 view .LVU30
|
||
127 0024 69B1 cbz r1, .L6
|
||
60:Core/Src/Channel_Control.c **** if ((pwmpumps == 0) && (radiatorfans == 0)) {
|
||
128 .loc 1 60 5 is_stmt 1 view .LVU31
|
||
129 .loc 1 60 8 is_stmt 0 view .LVU32
|
||
130 0026 CBB9 cbnz r3, .L7
|
||
131 .loc 1 60 25 discriminator 1 view .LVU33
|
||
132 0028 C2B9 cbnz r2, .L7
|
||
61:Core/Src/Channel_Control.c **** timer3_running = 0;
|
||
133 .loc 1 61 7 is_stmt 1 view .LVU34
|
||
134 .loc 1 61 22 is_stmt 0 view .LVU35
|
||
135 002a 0025 movs r5, #0
|
||
136 002c 1A4B ldr r3, .L13+8
|
||
137 .LVL8:
|
||
138 .loc 1 61 22 view .LVU36
|
||
139 002e 1D70 strb r5, [r3]
|
||
62:Core/Src/Channel_Control.c **** HAL_TIM_PWM_Stop(pwmtimer3, TIM_CHANNEL_4);
|
||
140 .loc 1 62 7 is_stmt 1 view .LVU37
|
||
141 0030 0C21 movs r1, #12
|
||
142 0032 FFF7FEFF bl HAL_TIM_PWM_Stop
|
||
143 .LVL9:
|
||
63:Core/Src/Channel_Control.c **** HAL_TIM_PWM_Stop(pwmtimer3, TIM_CHANNEL_1);
|
||
144 .loc 1 63 7 view .LVU38
|
||
145 0036 2946 mov r1, r5
|
||
146 0038 154B ldr r3, .L13
|
||
147 003a 1868 ldr r0, [r3]
|
||
148 003c FFF7FEFF bl HAL_TIM_PWM_Stop
|
||
149 .LVL10:
|
||
150 0040 0CE0 b .L7
|
||
151 .LVL11:
|
||
152 .L6:
|
||
64:Core/Src/Channel_Control.c **** }
|
||
65:Core/Src/Channel_Control.c **** } else {
|
||
66:Core/Src/Channel_Control.c **** if ( (pwmpumps != 0) || (radiatorfans != 0)) {
|
||
153 .loc 1 66 5 view .LVU39
|
||
154 .loc 1 66 8 is_stmt 0 view .LVU40
|
||
155 0042 03B9 cbnz r3, .L8
|
||
156 .loc 1 66 26 discriminator 1 view .LVU41
|
||
157 0044 52B1 cbz r2, .L7
|
||
158 .L8:
|
||
67:Core/Src/Channel_Control.c **** timer3_running = 1;
|
||
159 .loc 1 67 7 is_stmt 1 view .LVU42
|
||
160 .loc 1 67 22 is_stmt 0 view .LVU43
|
||
161 0046 144B ldr r3, .L13+8
|
||
162 .LVL12:
|
||
163 .loc 1 67 22 view .LVU44
|
||
164 0048 0122 movs r2, #1
|
||
ARM GAS C:\Users\nived\AppData\Local\Temp\ccKLLyRV.s page 5
|
||
|
||
|
||
165 004a 1A70 strb r2, [r3]
|
||
68:Core/Src/Channel_Control.c **** HAL_TIM_PWM_Start(pwmtimer3, TIM_CHANNEL_4);
|
||
166 .loc 1 68 7 is_stmt 1 view .LVU45
|
||
167 004c 0C21 movs r1, #12
|
||
168 004e FFF7FEFF bl HAL_TIM_PWM_Start
|
||
169 .LVL13:
|
||
69:Core/Src/Channel_Control.c **** HAL_TIM_PWM_Start(pwmtimer3, TIM_CHANNEL_1);
|
||
170 .loc 1 69 7 view .LVU46
|
||
171 0052 0021 movs r1, #0
|
||
172 0054 0E4B ldr r3, .L13
|
||
173 0056 1868 ldr r0, [r3]
|
||
174 0058 FFF7FEFF bl HAL_TIM_PWM_Start
|
||
175 .LVL14:
|
||
176 .L7:
|
||
70:Core/Src/Channel_Control.c **** }
|
||
71:Core/Src/Channel_Control.c **** }
|
||
72:Core/Src/Channel_Control.c ****
|
||
73:Core/Src/Channel_Control.c **** if (timer2_running) {
|
||
177 .loc 1 73 3 view .LVU47
|
||
178 .loc 1 73 7 is_stmt 0 view .LVU48
|
||
179 005c 0F4B ldr r3, .L13+12
|
||
180 005e 1B78 ldrb r3, [r3] @ zero_extendqisi2
|
||
181 .loc 1 73 6 view .LVU49
|
||
182 0060 53B1 cbz r3, .L9
|
||
74:Core/Src/Channel_Control.c **** if (tsacfans == 0) {
|
||
183 .loc 1 74 5 is_stmt 1 view .LVU50
|
||
184 .loc 1 74 8 is_stmt 0 view .LVU51
|
||
185 0062 04B1 cbz r4, .L12
|
||
186 .L5:
|
||
75:Core/Src/Channel_Control.c **** timer2_running = 0;
|
||
76:Core/Src/Channel_Control.c **** HAL_TIM_PWM_Stop(pwmtimer2, TIM_CHANNEL_2);
|
||
77:Core/Src/Channel_Control.c **** }
|
||
78:Core/Src/Channel_Control.c **** } else {
|
||
79:Core/Src/Channel_Control.c **** if (tsacfans != 0) {
|
||
80:Core/Src/Channel_Control.c **** timer2_running = 1;
|
||
81:Core/Src/Channel_Control.c **** HAL_TIM_PWM_Start(pwmtimer2, TIM_CHANNEL_2);
|
||
82:Core/Src/Channel_Control.c **** }
|
||
83:Core/Src/Channel_Control.c **** }
|
||
84:Core/Src/Channel_Control.c ****
|
||
85:Core/Src/Channel_Control.c ****
|
||
86:Core/Src/Channel_Control.c **** }
|
||
187 .loc 1 86 1 view .LVU52
|
||
188 0064 38BD pop {r3, r4, r5, pc}
|
||
189 .L12:
|
||
75:Core/Src/Channel_Control.c **** timer2_running = 0;
|
||
190 .loc 1 75 7 is_stmt 1 view .LVU53
|
||
75:Core/Src/Channel_Control.c **** timer2_running = 0;
|
||
191 .loc 1 75 22 is_stmt 0 view .LVU54
|
||
192 0066 0D4B ldr r3, .L13+12
|
||
193 0068 0022 movs r2, #0
|
||
194 006a 1A70 strb r2, [r3]
|
||
76:Core/Src/Channel_Control.c **** }
|
||
195 .loc 1 76 7 is_stmt 1 view .LVU55
|
||
196 006c 0421 movs r1, #4
|
||
197 006e 094B ldr r3, .L13+4
|
||
198 0070 1868 ldr r0, [r3]
|
||
199 0072 FFF7FEFF bl HAL_TIM_PWM_Stop
|
||
ARM GAS C:\Users\nived\AppData\Local\Temp\ccKLLyRV.s page 6
|
||
|
||
|
||
200 .LVL15:
|
||
201 0076 F5E7 b .L5
|
||
202 .L9:
|
||
79:Core/Src/Channel_Control.c **** timer2_running = 1;
|
||
203 .loc 1 79 5 view .LVU56
|
||
79:Core/Src/Channel_Control.c **** timer2_running = 1;
|
||
204 .loc 1 79 8 is_stmt 0 view .LVU57
|
||
205 0078 002C cmp r4, #0
|
||
206 007a F3D0 beq .L5
|
||
80:Core/Src/Channel_Control.c **** HAL_TIM_PWM_Start(pwmtimer2, TIM_CHANNEL_2);
|
||
207 .loc 1 80 7 is_stmt 1 view .LVU58
|
||
80:Core/Src/Channel_Control.c **** HAL_TIM_PWM_Start(pwmtimer2, TIM_CHANNEL_2);
|
||
208 .loc 1 80 22 is_stmt 0 view .LVU59
|
||
209 007c 074B ldr r3, .L13+12
|
||
210 007e 0122 movs r2, #1
|
||
211 0080 1A70 strb r2, [r3]
|
||
81:Core/Src/Channel_Control.c **** }
|
||
212 .loc 1 81 7 is_stmt 1 view .LVU60
|
||
213 0082 0421 movs r1, #4
|
||
214 0084 034B ldr r3, .L13+4
|
||
215 0086 1868 ldr r0, [r3]
|
||
216 0088 FFF7FEFF bl HAL_TIM_PWM_Start
|
||
217 .LVL16:
|
||
218 .loc 1 86 1 is_stmt 0 view .LVU61
|
||
219 008c EAE7 b .L5
|
||
220 .L14:
|
||
221 008e 00BF .align 2
|
||
222 .L13:
|
||
223 0090 00000000 .word pwmtimer3
|
||
224 0094 00000000 .word pwmtimer2
|
||
225 0098 00000000 .word timer3_running
|
||
226 009c 00000000 .word timer2_running
|
||
227 .cfi_endproc
|
||
228 .LFE132:
|
||
230 .section .text.ChannelControl_init,"ax",%progbits
|
||
231 .align 1
|
||
232 .global ChannelControl_init
|
||
233 .syntax unified
|
||
234 .thumb
|
||
235 .thumb_func
|
||
237 ChannelControl_init:
|
||
238 .LVL17:
|
||
239 .LFB130:
|
||
19:Core/Src/Channel_Control.c ****
|
||
240 .loc 1 19 53 is_stmt 1 view -0
|
||
241 .cfi_startproc
|
||
242 @ args = 0, pretend = 0, frame = 0
|
||
243 @ frame_needed = 0, uses_anonymous_args = 0
|
||
19:Core/Src/Channel_Control.c ****
|
||
244 .loc 1 19 53 is_stmt 0 view .LVU63
|
||
245 0000 10B5 push {r4, lr}
|
||
246 .cfi_def_cfa_offset 8
|
||
247 .cfi_offset 4, -8
|
||
248 .cfi_offset 14, -4
|
||
21:Core/Src/Channel_Control.c **** pwmtimer2 = timer2;
|
||
249 .loc 1 21 3 is_stmt 1 view .LVU64
|
||
21:Core/Src/Channel_Control.c **** pwmtimer2 = timer2;
|
||
ARM GAS C:\Users\nived\AppData\Local\Temp\ccKLLyRV.s page 7
|
||
|
||
|
||
250 .loc 1 21 13 is_stmt 0 view .LVU65
|
||
251 0002 134B ldr r3, .L17
|
||
252 0004 1960 str r1, [r3]
|
||
22:Core/Src/Channel_Control.c **** PCA9535_init(hi2c, 0);
|
||
253 .loc 1 22 3 is_stmt 1 view .LVU66
|
||
22:Core/Src/Channel_Control.c **** PCA9535_init(hi2c, 0);
|
||
254 .loc 1 22 13 is_stmt 0 view .LVU67
|
||
255 0006 134B ldr r3, .L17+4
|
||
256 0008 1A60 str r2, [r3]
|
||
23:Core/Src/Channel_Control.c **** PCA9535_setGPIOPortOutput(PC9535_PORTA, 0x00);
|
||
257 .loc 1 23 3 is_stmt 1 view .LVU68
|
||
258 000a 0021 movs r1, #0
|
||
259 .LVL18:
|
||
23:Core/Src/Channel_Control.c **** PCA9535_setGPIOPortOutput(PC9535_PORTA, 0x00);
|
||
260 .loc 1 23 3 is_stmt 0 view .LVU69
|
||
261 000c FFF7FEFF bl PCA9535_init
|
||
262 .LVL19:
|
||
24:Core/Src/Channel_Control.c **** PCA9535_setGPIOPortOutput(PC9535_PORTB, 0x00);
|
||
263 .loc 1 24 3 is_stmt 1 view .LVU70
|
||
264 0010 0021 movs r1, #0
|
||
265 0012 0846 mov r0, r1
|
||
266 0014 FFF7FEFF bl PCA9535_setGPIOPortOutput
|
||
267 .LVL20:
|
||
25:Core/Src/Channel_Control.c **** PCA9535_setGPIOPortDirection(PC9535_PORTA, 0x00);
|
||
268 .loc 1 25 3 view .LVU71
|
||
269 0018 0021 movs r1, #0
|
||
270 001a 0120 movs r0, #1
|
||
271 001c FFF7FEFF bl PCA9535_setGPIOPortOutput
|
||
272 .LVL21:
|
||
26:Core/Src/Channel_Control.c **** PCA9535_setGPIOPortDirection(PC9535_PORTB, 0x00);
|
||
273 .loc 1 26 3 view .LVU72
|
||
274 0020 0021 movs r1, #0
|
||
275 0022 0846 mov r0, r1
|
||
276 0024 FFF7FEFF bl PCA9535_setGPIOPortDirection
|
||
277 .LVL22:
|
||
27:Core/Src/Channel_Control.c ****
|
||
278 .loc 1 27 3 view .LVU73
|
||
279 0028 0021 movs r1, #0
|
||
280 002a 0120 movs r0, #1
|
||
281 002c FFF7FEFF bl PCA9535_setGPIOPortDirection
|
||
282 .LVL23:
|
||
29:Core/Src/Channel_Control.c **** EN_Ports.portb.portb = 0;
|
||
283 .loc 1 29 3 view .LVU74
|
||
29:Core/Src/Channel_Control.c **** EN_Ports.portb.portb = 0;
|
||
284 .loc 1 29 24 is_stmt 0 view .LVU75
|
||
285 0030 094B ldr r3, .L17+8
|
||
286 0032 0024 movs r4, #0
|
||
287 0034 1C70 strb r4, [r3]
|
||
30:Core/Src/Channel_Control.c **** EN_Ports.porta.alwayson = 1;
|
||
288 .loc 1 30 3 is_stmt 1 view .LVU76
|
||
30:Core/Src/Channel_Control.c **** EN_Ports.porta.alwayson = 1;
|
||
289 .loc 1 30 24 is_stmt 0 view .LVU77
|
||
290 0036 5C70 strb r4, [r3, #1]
|
||
31:Core/Src/Channel_Control.c **** ChannelControl_UpdateGPIOs(EN_Ports);
|
||
291 .loc 1 31 3 is_stmt 1 view .LVU78
|
||
31:Core/Src/Channel_Control.c **** ChannelControl_UpdateGPIOs(EN_Ports);
|
||
292 .loc 1 31 27 is_stmt 0 view .LVU79
|
||
ARM GAS C:\Users\nived\AppData\Local\Temp\ccKLLyRV.s page 8
|
||
|
||
|
||
293 0038 8022 movs r2, #128
|
||
294 003a 1A70 strb r2, [r3]
|
||
32:Core/Src/Channel_Control.c **** ChannelControl_UpdatePWMs(0, 0, 0, 0);
|
||
295 .loc 1 32 3 is_stmt 1 view .LVU80
|
||
296 003c 1888 ldrh r0, [r3]
|
||
297 003e FFF7FEFF bl ChannelControl_UpdateGPIOs
|
||
298 .LVL24:
|
||
33:Core/Src/Channel_Control.c **** }
|
||
299 .loc 1 33 3 view .LVU81
|
||
300 0042 2346 mov r3, r4
|
||
301 0044 2246 mov r2, r4
|
||
302 0046 2146 mov r1, r4
|
||
303 0048 2046 mov r0, r4
|
||
304 004a FFF7FEFF bl ChannelControl_UpdatePWMs
|
||
305 .LVL25:
|
||
34:Core/Src/Channel_Control.c ****
|
||
306 .loc 1 34 1 is_stmt 0 view .LVU82
|
||
307 004e 10BD pop {r4, pc}
|
||
308 .L18:
|
||
309 .align 2
|
||
310 .L17:
|
||
311 0050 00000000 .word pwmtimer3
|
||
312 0054 00000000 .word pwmtimer2
|
||
313 0058 00000000 .word EN_Ports
|
||
314 .cfi_endproc
|
||
315 .LFE130:
|
||
317 .global pwmtimer2
|
||
318 .section .bss.pwmtimer2,"aw",%nobits
|
||
319 .align 2
|
||
322 pwmtimer2:
|
||
323 0000 00000000 .space 4
|
||
324 .global pwmtimer3
|
||
325 .section .bss.pwmtimer3,"aw",%nobits
|
||
326 .align 2
|
||
329 pwmtimer3:
|
||
330 0000 00000000 .space 4
|
||
331 .global timer2_running
|
||
332 .section .bss.timer2_running,"aw",%nobits
|
||
335 timer2_running:
|
||
336 0000 00 .space 1
|
||
337 .global timer3_running
|
||
338 .section .bss.timer3_running,"aw",%nobits
|
||
341 timer3_running:
|
||
342 0000 00 .space 1
|
||
343 .global EN_Ports
|
||
344 .section .bss.EN_Ports,"aw",%nobits
|
||
345 .align 2
|
||
348 EN_Ports:
|
||
349 0000 0000 .space 2
|
||
350 .text
|
||
351 .Letext0:
|
||
352 .file 2 "c:\\users\\nived\\appdata\\roaming\\code\\user\\globalstorage\\bmd.stm32-for-vscode\\@xpa
|
||
353 .file 3 "c:\\users\\nived\\appdata\\roaming\\code\\user\\globalstorage\\bmd.stm32-for-vscode\\@xpa
|
||
354 .file 4 "Drivers/CMSIS/Device/ST/STM32F3xx/Include/stm32f302xc.h"
|
||
355 .file 5 "Drivers/STM32F3xx_HAL_Driver/Inc/stm32f3xx_hal_def.h"
|
||
356 .file 6 "Drivers/STM32F3xx_HAL_Driver/Inc/stm32f3xx_hal_dma.h"
|
||
357 .file 7 "Drivers/STM32F3xx_HAL_Driver/Inc/stm32f3xx_hal_i2c.h"
|
||
ARM GAS C:\Users\nived\AppData\Local\Temp\ccKLLyRV.s page 9
|
||
|
||
|
||
358 .file 8 "Drivers/STM32F3xx_HAL_Driver/Inc/stm32f3xx_hal_tim.h"
|
||
359 .file 9 "Core/Inc/Channel_Control.h"
|
||
360 .file 10 "Core/Inc/PCA9535D_Driver.h"
|
||
ARM GAS C:\Users\nived\AppData\Local\Temp\ccKLLyRV.s page 10
|
||
|
||
|
||
DEFINED SYMBOLS
|
||
*ABS*:00000000 Channel_Control.c
|
||
C:\Users\nived\AppData\Local\Temp\ccKLLyRV.s:21 .text.ChannelControl_UpdateGPIOs:00000000 $t
|
||
C:\Users\nived\AppData\Local\Temp\ccKLLyRV.s:27 .text.ChannelControl_UpdateGPIOs:00000000 ChannelControl_UpdateGPIOs
|
||
C:\Users\nived\AppData\Local\Temp\ccKLLyRV.s:64 .text.ChannelControl_UpdateGPIOs:00000020 $d
|
||
C:\Users\nived\AppData\Local\Temp\ccKLLyRV.s:348 .bss.EN_Ports:00000000 EN_Ports
|
||
C:\Users\nived\AppData\Local\Temp\ccKLLyRV.s:69 .text.ChannelControl_UpdatePWMs:00000000 $t
|
||
C:\Users\nived\AppData\Local\Temp\ccKLLyRV.s:75 .text.ChannelControl_UpdatePWMs:00000000 ChannelControl_UpdatePWMs
|
||
C:\Users\nived\AppData\Local\Temp\ccKLLyRV.s:223 .text.ChannelControl_UpdatePWMs:00000090 $d
|
||
C:\Users\nived\AppData\Local\Temp\ccKLLyRV.s:329 .bss.pwmtimer3:00000000 pwmtimer3
|
||
C:\Users\nived\AppData\Local\Temp\ccKLLyRV.s:322 .bss.pwmtimer2:00000000 pwmtimer2
|
||
C:\Users\nived\AppData\Local\Temp\ccKLLyRV.s:341 .bss.timer3_running:00000000 timer3_running
|
||
C:\Users\nived\AppData\Local\Temp\ccKLLyRV.s:335 .bss.timer2_running:00000000 timer2_running
|
||
C:\Users\nived\AppData\Local\Temp\ccKLLyRV.s:231 .text.ChannelControl_init:00000000 $t
|
||
C:\Users\nived\AppData\Local\Temp\ccKLLyRV.s:237 .text.ChannelControl_init:00000000 ChannelControl_init
|
||
C:\Users\nived\AppData\Local\Temp\ccKLLyRV.s:311 .text.ChannelControl_init:00000050 $d
|
||
C:\Users\nived\AppData\Local\Temp\ccKLLyRV.s:319 .bss.pwmtimer2:00000000 $d
|
||
C:\Users\nived\AppData\Local\Temp\ccKLLyRV.s:326 .bss.pwmtimer3:00000000 $d
|
||
C:\Users\nived\AppData\Local\Temp\ccKLLyRV.s:336 .bss.timer2_running:00000000 $d
|
||
C:\Users\nived\AppData\Local\Temp\ccKLLyRV.s:342 .bss.timer3_running:00000000 $d
|
||
C:\Users\nived\AppData\Local\Temp\ccKLLyRV.s:345 .bss.EN_Ports:00000000 $d
|
||
|
||
UNDEFINED SYMBOLS
|
||
PCA9535_setGPIOPortOutput
|
||
HAL_TIM_PWM_Stop
|
||
HAL_TIM_PWM_Start
|
||
PCA9535_init
|
||
PCA9535_setGPIOPortDirection
|