Idx Name Size VMA LMA File off Algn
0 .isr_vector 000001f8 08000000 08000000 00010000 2**0
CONTENTS, ALLOC, LOAD, READONLY, DATA
- 1 .text 00003794 080001f8 080001f8 000101f8 2**2
+ 1 .text 00003740 080001f8 080001f8 000101f8 2**2
CONTENTS, ALLOC, LOAD, READONLY, CODE
- 2 .rodata 00000018 0800398c 0800398c 0001398c 2**2
+ 2 .rodata 00000018 08003938 08003938 00013938 2**2
CONTENTS, ALLOC, LOAD, READONLY, DATA
- 3 .ARM.extab 00000000 080039a4 080039a4 0002000c 2**0
+ 3 .ARM.extab 00000000 08003950 08003950 0002000c 2**0
CONTENTS
- 4 .ARM 00000008 080039a4 080039a4 000139a4 2**2
+ 4 .ARM 00000008 08003950 08003950 00013950 2**2
CONTENTS, ALLOC, LOAD, READONLY, DATA
- 5 .preinit_array 00000000 080039ac 080039ac 0002000c 2**0
+ 5 .preinit_array 00000000 08003958 08003958 0002000c 2**0
CONTENTS, ALLOC, LOAD, DATA
- 6 .init_array 00000004 080039ac 080039ac 000139ac 2**2
+ 6 .init_array 00000004 08003958 08003958 00013958 2**2
CONTENTS, ALLOC, LOAD, DATA
- 7 .fini_array 00000004 080039b0 080039b0 000139b0 2**2
+ 7 .fini_array 00000004 0800395c 0800395c 0001395c 2**2
CONTENTS, ALLOC, LOAD, DATA
- 8 .data 0000000c 20000000 080039b4 00020000 2**2
+ 8 .data 0000000c 20000000 08003960 00020000 2**2
CONTENTS, ALLOC, LOAD, DATA
- 9 .bss 00000104 2000000c 080039c0 0002000c 2**2
+ 9 .bss 00000104 2000000c 0800396c 0002000c 2**2
ALLOC
- 10 ._user_heap_stack 00000600 20000110 080039c0 00020110 2**0
+ 10 ._user_heap_stack 00000600 20000110 0800396c 00020110 2**0
ALLOC
11 .ARM.attributes 0000002e 00000000 00000000 0002000c 2**0
CONTENTS, READONLY
- 12 .debug_info 0000c02a 00000000 00000000 0002003a 2**0
+ 12 .debug_info 0000bff1 00000000 00000000 0002003a 2**0
CONTENTS, READONLY, DEBUGGING
- 13 .debug_abbrev 000019c5 00000000 00000000 0002c064 2**0
+ 13 .debug_abbrev 000019c5 00000000 00000000 0002c02b 2**0
CONTENTS, READONLY, DEBUGGING
- 14 .debug_aranges 00000c60 00000000 00000000 0002da30 2**3
+ 14 .debug_aranges 00000c60 00000000 00000000 0002d9f0 2**3
CONTENTS, READONLY, DEBUGGING
- 15 .debug_ranges 00000b88 00000000 00000000 0002e690 2**3
+ 15 .debug_ranges 00000b88 00000000 00000000 0002e650 2**3
CONTENTS, READONLY, DEBUGGING
- 16 .debug_macro 00025f5e 00000000 00000000 0002f218 2**0
+ 16 .debug_macro 00025f5e 00000000 00000000 0002f1d8 2**0
CONTENTS, READONLY, DEBUGGING
- 17 .debug_line 00008f01 00000000 00000000 00055176 2**0
+ 17 .debug_line 00008ef8 00000000 00000000 00055136 2**0
CONTENTS, READONLY, DEBUGGING
- 18 .debug_str 000f0c82 00000000 00000000 0005e077 2**0
+ 18 .debug_str 000f0c82 00000000 00000000 0005e02e 2**0
CONTENTS, READONLY, DEBUGGING
- 19 .comment 0000007b 00000000 00000000 0014ecf9 2**0
+ 19 .comment 0000007b 00000000 00000000 0014ecb0 2**0
CONTENTS, READONLY
- 20 .debug_frame 00003400 00000000 00000000 0014ed74 2**2
+ 20 .debug_frame 00003400 00000000 00000000 0014ed2c 2**2
CONTENTS, READONLY, DEBUGGING
Disassembly of section .text:
800020e: bd10 pop {r4, pc}
8000210: 2000000c .word 0x2000000c
8000214: 00000000 .word 0x00000000
- 8000218: 08003974 .word 0x08003974
+ 8000218: 08003920 .word 0x08003920
0800021c <frame_dummy>:
800021c: b508 push {r3, lr}
800022a: bd08 pop {r3, pc}
800022c: 00000000 .word 0x00000000
8000230: 20000010 .word 0x20000010
- 8000234: 08003974 .word 0x08003974
+ 8000234: 08003920 .word 0x08003920
08000238 <__aeabi_uldivmod>:
8000238: b953 cbnz r3, 8000250 <__aeabi_uldivmod+0x18>
/* Reset of all peripherals, Initializes the Flash interface and the Systick. */
HAL_Init();
- 800053c: f000 fae7 bl 8000b0e <HAL_Init>
+ 800053c: f000 fabd bl 8000aba <HAL_Init>
/* USER CODE BEGIN Init */
/* USER CODE END Init */
8000574: 2208 movs r2, #8
8000576: 4619 mov r1, r3
8000578: 4809 ldr r0, [pc, #36] ; (80005a0 <main+0x68>)
- 800057a: f002 fb55 bl 8002c28 <HAL_UART_Receive_IT>
+ 800057a: f002 fb2b bl 8002bd4 <HAL_UART_Receive_IT>
HAL_TIM_Base_Start_IT(&htim3);
800057e: 4809 ldr r0, [pc, #36] ; (80005a4 <main+0x6c>)
- 8000580: f001 fe92 bl 80022a8 <HAL_TIM_Base_Start_IT>
+ 8000580: f001 fe68 bl 8002254 <HAL_TIM_Base_Start_IT>
/* USER CODE END 2 */
80005b2: 2234 movs r2, #52 ; 0x34
80005b4: 2100 movs r1, #0
80005b6: 4618 mov r0, r3
- 80005b8: f003 f9d4 bl 8003964 <memset>
+ 80005b8: f003 f9aa bl 8003910 <memset>
RCC_ClkInitTypeDef RCC_ClkInitStruct = {0};
80005bc: f107 0398 add.w r3, r7, #152 ; 0x98
80005c0: 2200 movs r2, #0
80005d0: 2290 movs r2, #144 ; 0x90
80005d2: 2100 movs r1, #0
80005d4: 4618 mov r0, r3
- 80005d6: f003 f9c5 bl 8003964 <memset>
+ 80005d6: f003 f99b bl 8003910 <memset>
/** Configure the main internal regulator output voltage
*/
if (HAL_RCC_OscConfig(&RCC_OscInitStruct) != HAL_OK)
8000626: f107 03ac add.w r3, r7, #172 ; 0xac
800062a: 4618 mov r0, r3
- 800062c: f000 fdaa bl 8001184 <HAL_RCC_OscConfig>
+ 800062c: f000 fd80 bl 8001130 <HAL_RCC_OscConfig>
8000630: 4603 mov r3, r0
8000632: 2b00 cmp r3, #0
8000634: d001 beq.n 800063a <SystemClock_Config+0x92>
{
Error_Handler();
- 8000636: f000 f90d bl 8000854 <Error_Handler>
+ 8000636: f000 f901 bl 800083c <Error_Handler>
}
/** Initializes the CPU, AHB and APB busses clocks
*/
8000658: f107 0398 add.w r3, r7, #152 ; 0x98
800065c: 2100 movs r1, #0
800065e: 4618 mov r0, r3
- 8000660: f001 f802 bl 8001668 <HAL_RCC_ClockConfig>
+ 8000660: f000 ffd8 bl 8001614 <HAL_RCC_ClockConfig>
8000664: 4603 mov r3, r0
8000666: 2b00 cmp r3, #0
8000668: d001 beq.n 800066e <SystemClock_Config+0xc6>
{
Error_Handler();
- 800066a: f000 f8f3 bl 8000854 <Error_Handler>
+ 800066a: f000 f8e7 bl 800083c <Error_Handler>
}
PeriphClkInitStruct.PeriphClockSelection = RCC_PERIPHCLK_USART6;
800066e: f44f 6300 mov.w r3, #2048 ; 0x800
if (HAL_RCCEx_PeriphCLKConfig(&PeriphClkInitStruct) != HAL_OK)
8000678: f107 0308 add.w r3, r7, #8
800067c: 4618 mov r0, r3
- 800067e: f001 f9c1 bl 8001a04 <HAL_RCCEx_PeriphCLKConfig>
+ 800067e: f001 f997 bl 80019b0 <HAL_RCCEx_PeriphCLKConfig>
8000682: 4603 mov r3, r0
8000684: 2b00 cmp r3, #0
8000686: d001 beq.n 800068c <SystemClock_Config+0xe4>
{
Error_Handler();
- 8000688: f000 f8e4 bl 8000854 <Error_Handler>
+ 8000688: f000 f8d8 bl 800083c <Error_Handler>
}
}
800068c: bf00 nop
80006de: 619a str r2, [r3, #24]
if (HAL_TIM_Base_Init(&htim3) != HAL_OK)
80006e0: 4813 ldr r0, [pc, #76] ; (8000730 <MX_TIM3_Init+0x94>)
- 80006e2: f001 fdb5 bl 8002250 <HAL_TIM_Base_Init>
+ 80006e2: f001 fd8b bl 80021fc <HAL_TIM_Base_Init>
80006e6: 4603 mov r3, r0
80006e8: 2b00 cmp r3, #0
80006ea: d001 beq.n 80006f0 <MX_TIM3_Init+0x54>
{
Error_Handler();
- 80006ec: f000 f8b2 bl 8000854 <Error_Handler>
+ 80006ec: f000 f8a6 bl 800083c <Error_Handler>
}
sClockSourceConfig.ClockSource = TIM_CLOCKSOURCE_INTERNAL;
80006f0: f44f 5380 mov.w r3, #4096 ; 0x1000
80006f6: f107 0310 add.w r3, r7, #16
80006fa: 4619 mov r1, r3
80006fc: 480c ldr r0, [pc, #48] ; (8000730 <MX_TIM3_Init+0x94>)
- 80006fe: f001 ff1d bl 800253c <HAL_TIM_ConfigClockSource>
+ 80006fe: f001 fef3 bl 80024e8 <HAL_TIM_ConfigClockSource>
8000702: 4603 mov r3, r0
8000704: 2b00 cmp r3, #0
8000706: d001 beq.n 800070c <MX_TIM3_Init+0x70>
{
Error_Handler();
- 8000708: f000 f8a4 bl 8000854 <Error_Handler>
+ 8000708: f000 f898 bl 800083c <Error_Handler>
}
sMasterConfig.MasterOutputTrigger = TIM_TRGO_RESET;
800070c: 2300 movs r3, #0
8000714: 1d3b adds r3, r7, #4
8000716: 4619 mov r1, r3
8000718: 4805 ldr r0, [pc, #20] ; (8000730 <MX_TIM3_Init+0x94>)
- 800071a: f002 f92b bl 8002974 <HAL_TIMEx_MasterConfigSynchronization>
+ 800071a: f002 f901 bl 8002920 <HAL_TIMEx_MasterConfigSynchronization>
800071e: 4603 mov r3, r0
8000720: 2b00 cmp r3, #0
8000722: d001 beq.n 8000728 <MX_TIM3_Init+0x8c>
{
Error_Handler();
- 8000724: f000 f896 bl 8000854 <Error_Handler>
+ 8000724: f000 f88a bl 800083c <Error_Handler>
}
/* USER CODE BEGIN TIM3_Init 2 */
8000760: 4b0c ldr r3, [pc, #48] ; (8000794 <MX_USART6_UART_Init+0x5c>)
8000762: 220c movs r2, #12
8000764: 615a str r2, [r3, #20]
- huart6.Init.HwFlowCtl = UART_HWCONTROL_RTS_CTS;
+ huart6.Init.HwFlowCtl = UART_HWCONTROL_NONE;
8000766: 4b0b ldr r3, [pc, #44] ; (8000794 <MX_USART6_UART_Init+0x5c>)
- 8000768: f44f 7240 mov.w r2, #768 ; 0x300
- 800076c: 619a str r2, [r3, #24]
+ 8000768: 2200 movs r2, #0
+ 800076a: 619a str r2, [r3, #24]
huart6.Init.OverSampling = UART_OVERSAMPLING_16;
- 800076e: 4b09 ldr r3, [pc, #36] ; (8000794 <MX_USART6_UART_Init+0x5c>)
- 8000770: 2200 movs r2, #0
- 8000772: 61da str r2, [r3, #28]
+ 800076c: 4b09 ldr r3, [pc, #36] ; (8000794 <MX_USART6_UART_Init+0x5c>)
+ 800076e: 2200 movs r2, #0
+ 8000770: 61da str r2, [r3, #28]
huart6.Init.OneBitSampling = UART_ONE_BIT_SAMPLE_DISABLE;
- 8000774: 4b07 ldr r3, [pc, #28] ; (8000794 <MX_USART6_UART_Init+0x5c>)
- 8000776: 2200 movs r2, #0
- 8000778: 621a str r2, [r3, #32]
+ 8000772: 4b08 ldr r3, [pc, #32] ; (8000794 <MX_USART6_UART_Init+0x5c>)
+ 8000774: 2200 movs r2, #0
+ 8000776: 621a str r2, [r3, #32]
huart6.AdvancedInit.AdvFeatureInit = UART_ADVFEATURE_NO_INIT;
- 800077a: 4b06 ldr r3, [pc, #24] ; (8000794 <MX_USART6_UART_Init+0x5c>)
- 800077c: 2200 movs r2, #0
- 800077e: 625a str r2, [r3, #36] ; 0x24
+ 8000778: 4b06 ldr r3, [pc, #24] ; (8000794 <MX_USART6_UART_Init+0x5c>)
+ 800077a: 2200 movs r2, #0
+ 800077c: 625a str r2, [r3, #36] ; 0x24
if (HAL_UART_Init(&huart6) != HAL_OK)
- 8000780: 4804 ldr r0, [pc, #16] ; (8000794 <MX_USART6_UART_Init+0x5c>)
- 8000782: f002 f971 bl 8002a68 <HAL_UART_Init>
- 8000786: 4603 mov r3, r0
- 8000788: 2b00 cmp r3, #0
- 800078a: d001 beq.n 8000790 <MX_USART6_UART_Init+0x58>
+ 800077e: 4805 ldr r0, [pc, #20] ; (8000794 <MX_USART6_UART_Init+0x5c>)
+ 8000780: f002 f948 bl 8002a14 <HAL_UART_Init>
+ 8000784: 4603 mov r3, r0
+ 8000786: 2b00 cmp r3, #0
+ 8000788: d001 beq.n 800078e <MX_USART6_UART_Init+0x56>
{
Error_Handler();
- 800078c: f000 f862 bl 8000854 <Error_Handler>
+ 800078a: f000 f857 bl 800083c <Error_Handler>
}
/* USER CODE BEGIN USART6_Init 2 */
/* USER CODE END USART6_Init 2 */
}
- 8000790: bf00 nop
- 8000792: bd80 pop {r7, pc}
+ 800078e: bf00 nop
+ 8000790: bd80 pop {r7, pc}
+ 8000792: bf00 nop
8000794: 20000084 .word 0x20000084
8000798: 40011400 .word 0x40011400
80007a0: af00 add r7, sp, #0
/* GPIO Ports Clock Enable */
- __HAL_RCC_GPIOG_CLK_ENABLE();
- 80007a2: 4b0f ldr r3, [pc, #60] ; (80007e0 <MX_GPIO_Init+0x44>)
+ __HAL_RCC_GPIOC_CLK_ENABLE();
+ 80007a2: 4b09 ldr r3, [pc, #36] ; (80007c8 <MX_GPIO_Init+0x2c>)
80007a4: 6b1b ldr r3, [r3, #48] ; 0x30
- 80007a6: 4a0e ldr r2, [pc, #56] ; (80007e0 <MX_GPIO_Init+0x44>)
- 80007a8: f043 0340 orr.w r3, r3, #64 ; 0x40
+ 80007a6: 4a08 ldr r2, [pc, #32] ; (80007c8 <MX_GPIO_Init+0x2c>)
+ 80007a8: f043 0304 orr.w r3, r3, #4
80007ac: 6313 str r3, [r2, #48] ; 0x30
- 80007ae: 4b0c ldr r3, [pc, #48] ; (80007e0 <MX_GPIO_Init+0x44>)
+ 80007ae: 4b06 ldr r3, [pc, #24] ; (80007c8 <MX_GPIO_Init+0x2c>)
80007b0: 6b1b ldr r3, [r3, #48] ; 0x30
- 80007b2: f003 0340 and.w r3, r3, #64 ; 0x40
+ 80007b2: f003 0304 and.w r3, r3, #4
80007b6: 607b str r3, [r7, #4]
80007b8: 687b ldr r3, [r7, #4]
- __HAL_RCC_GPIOC_CLK_ENABLE();
- 80007ba: 4b09 ldr r3, [pc, #36] ; (80007e0 <MX_GPIO_Init+0x44>)
- 80007bc: 6b1b ldr r3, [r3, #48] ; 0x30
- 80007be: 4a08 ldr r2, [pc, #32] ; (80007e0 <MX_GPIO_Init+0x44>)
- 80007c0: f043 0304 orr.w r3, r3, #4
- 80007c4: 6313 str r3, [r2, #48] ; 0x30
- 80007c6: 4b06 ldr r3, [pc, #24] ; (80007e0 <MX_GPIO_Init+0x44>)
- 80007c8: 6b1b ldr r3, [r3, #48] ; 0x30
- 80007ca: f003 0304 and.w r3, r3, #4
- 80007ce: 603b str r3, [r7, #0]
- 80007d0: 683b ldr r3, [r7, #0]
}
- 80007d2: bf00 nop
- 80007d4: 370c adds r7, #12
- 80007d6: 46bd mov sp, r7
- 80007d8: f85d 7b04 ldr.w r7, [sp], #4
- 80007dc: 4770 bx lr
- 80007de: bf00 nop
- 80007e0: 40023800 .word 0x40023800
+ 80007ba: bf00 nop
+ 80007bc: 370c adds r7, #12
+ 80007be: 46bd mov sp, r7
+ 80007c0: f85d 7b04 ldr.w r7, [sp], #4
+ 80007c4: 4770 bx lr
+ 80007c6: bf00 nop
+ 80007c8: 40023800 .word 0x40023800
-080007e4 <HAL_TIM_PeriodElapsedCallback>:
+080007cc <HAL_TIM_PeriodElapsedCallback>:
/* USER CODE BEGIN 4 */
void HAL_TIM_PeriodElapsedCallback(TIM_HandleTypeDef *htim) {
- 80007e4: b580 push {r7, lr}
- 80007e6: b082 sub sp, #8
- 80007e8: af00 add r7, sp, #0
- 80007ea: 6078 str r0, [r7, #4]
+ 80007cc: b580 push {r7, lr}
+ 80007ce: b082 sub sp, #8
+ 80007d0: af00 add r7, sp, #0
+ 80007d2: 6078 str r0, [r7, #4]
if (htim->Instance == TIM3) {
- 80007ec: 687b ldr r3, [r7, #4]
- 80007ee: 681b ldr r3, [r3, #0]
- 80007f0: 4a06 ldr r2, [pc, #24] ; (800080c <HAL_TIM_PeriodElapsedCallback+0x28>)
- 80007f2: 4293 cmp r3, r2
- 80007f4: d106 bne.n 8000804 <HAL_TIM_PeriodElapsedCallback+0x20>
+ 80007d4: 687b ldr r3, [r7, #4]
+ 80007d6: 681b ldr r3, [r3, #0]
+ 80007d8: 4a06 ldr r2, [pc, #24] ; (80007f4 <HAL_TIM_PeriodElapsedCallback+0x28>)
+ 80007da: 4293 cmp r3, r2
+ 80007dc: d106 bne.n 80007ec <HAL_TIM_PeriodElapsedCallback+0x20>
HAL_UART_Transmit(&huart6, tx_buffer, 12, 100);
- 80007f6: 4b06 ldr r3, [pc, #24] ; (8000810 <HAL_TIM_PeriodElapsedCallback+0x2c>)
- 80007f8: 6819 ldr r1, [r3, #0]
- 80007fa: 2364 movs r3, #100 ; 0x64
- 80007fc: 220c movs r2, #12
- 80007fe: 4805 ldr r0, [pc, #20] ; (8000814 <HAL_TIM_PeriodElapsedCallback+0x30>)
- 8000800: f002 f980 bl 8002b04 <HAL_UART_Transmit>
+ 80007de: 4b06 ldr r3, [pc, #24] ; (80007f8 <HAL_TIM_PeriodElapsedCallback+0x2c>)
+ 80007e0: 6819 ldr r1, [r3, #0]
+ 80007e2: 2364 movs r3, #100 ; 0x64
+ 80007e4: 220c movs r2, #12
+ 80007e6: 4805 ldr r0, [pc, #20] ; (80007fc <HAL_TIM_PeriodElapsedCallback+0x30>)
+ 80007e8: f002 f962 bl 8002ab0 <HAL_UART_Transmit>
}
}
- 8000804: bf00 nop
- 8000806: 3708 adds r7, #8
- 8000808: 46bd mov sp, r7
- 800080a: bd80 pop {r7, pc}
- 800080c: 40000400 .word 0x40000400
- 8000810: 20000080 .word 0x20000080
- 8000814: 20000084 .word 0x20000084
+ 80007ec: bf00 nop
+ 80007ee: 3708 adds r7, #8
+ 80007f0: 46bd mov sp, r7
+ 80007f2: bd80 pop {r7, pc}
+ 80007f4: 40000400 .word 0x40000400
+ 80007f8: 20000080 .word 0x20000080
+ 80007fc: 20000084 .word 0x20000084
-08000818 <HAL_UART_RxCpltCallback>:
+08000800 <HAL_UART_RxCpltCallback>:
void HAL_UART_RxCpltCallback(UART_HandleTypeDef *UartHandle) {
- 8000818: b580 push {r7, lr}
- 800081a: b082 sub sp, #8
- 800081c: af00 add r7, sp, #0
- 800081e: 6078 str r0, [r7, #4]
+ 8000800: b580 push {r7, lr}
+ 8000802: b082 sub sp, #8
+ 8000804: af00 add r7, sp, #0
+ 8000806: 6078 str r0, [r7, #4]
HAL_UART_Receive_IT(&huart6, rx_buffer, 8);
- 8000820: 4b05 ldr r3, [pc, #20] ; (8000838 <HAL_UART_RxCpltCallback+0x20>)
- 8000822: 681b ldr r3, [r3, #0]
- 8000824: 2208 movs r2, #8
- 8000826: 4619 mov r1, r3
- 8000828: 4804 ldr r0, [pc, #16] ; (800083c <HAL_UART_RxCpltCallback+0x24>)
- 800082a: f002 f9fd bl 8002c28 <HAL_UART_Receive_IT>
+ 8000808: 4b05 ldr r3, [pc, #20] ; (8000820 <HAL_UART_RxCpltCallback+0x20>)
+ 800080a: 681b ldr r3, [r3, #0]
+ 800080c: 2208 movs r2, #8
+ 800080e: 4619 mov r1, r3
+ 8000810: 4804 ldr r0, [pc, #16] ; (8000824 <HAL_UART_RxCpltCallback+0x24>)
+ 8000812: f002 f9df bl 8002bd4 <HAL_UART_Receive_IT>
}
- 800082e: bf00 nop
- 8000830: 3708 adds r7, #8
- 8000832: 46bd mov sp, r7
- 8000834: bd80 pop {r7, pc}
- 8000836: bf00 nop
- 8000838: 2000007c .word 0x2000007c
- 800083c: 20000084 .word 0x20000084
+ 8000816: bf00 nop
+ 8000818: 3708 adds r7, #8
+ 800081a: 46bd mov sp, r7
+ 800081c: bd80 pop {r7, pc}
+ 800081e: bf00 nop
+ 8000820: 2000007c .word 0x2000007c
+ 8000824: 20000084 .word 0x20000084
-08000840 <HAL_UART_ErrorCallback>:
+08000828 <HAL_UART_ErrorCallback>:
void HAL_UART_ErrorCallback(UART_HandleTypeDef *UartHandle){
- 8000840: b480 push {r7}
- 8000842: b083 sub sp, #12
- 8000844: af00 add r7, sp, #0
- 8000846: 6078 str r0, [r7, #4]
+ 8000828: b480 push {r7}
+ 800082a: b083 sub sp, #12
+ 800082c: af00 add r7, sp, #0
+ 800082e: 6078 str r0, [r7, #4]
//TODO
}
- 8000848: bf00 nop
- 800084a: 370c adds r7, #12
- 800084c: 46bd mov sp, r7
- 800084e: f85d 7b04 ldr.w r7, [sp], #4
- 8000852: 4770 bx lr
+ 8000830: bf00 nop
+ 8000832: 370c adds r7, #12
+ 8000834: 46bd mov sp, r7
+ 8000836: f85d 7b04 ldr.w r7, [sp], #4
+ 800083a: 4770 bx lr
-08000854 <Error_Handler>:
+0800083c <Error_Handler>:
/**
* @brief This function is executed in case of error occurrence.
* @retval None
*/
void Error_Handler(void)
{
- 8000854: b480 push {r7}
- 8000856: af00 add r7, sp, #0
+ 800083c: b480 push {r7}
+ 800083e: af00 add r7, sp, #0
/* USER CODE BEGIN Error_Handler_Debug */
/* User can add his own implementation to report the HAL error return state */
/* USER CODE END Error_Handler_Debug */
}
- 8000858: bf00 nop
- 800085a: 46bd mov sp, r7
- 800085c: f85d 7b04 ldr.w r7, [sp], #4
- 8000860: 4770 bx lr
+ 8000840: bf00 nop
+ 8000842: 46bd mov sp, r7
+ 8000844: f85d 7b04 ldr.w r7, [sp], #4
+ 8000848: 4770 bx lr
...
-08000864 <HAL_MspInit>:
+0800084c <HAL_MspInit>:
/* USER CODE END 0 */
/**
* Initializes the Global MSP.
*/
void HAL_MspInit(void)
{
- 8000864: b480 push {r7}
- 8000866: b083 sub sp, #12
- 8000868: af00 add r7, sp, #0
+ 800084c: b480 push {r7}
+ 800084e: b083 sub sp, #12
+ 8000850: af00 add r7, sp, #0
/* USER CODE BEGIN MspInit 0 */
/* USER CODE END MspInit 0 */
__HAL_RCC_PWR_CLK_ENABLE();
- 800086a: 4b0f ldr r3, [pc, #60] ; (80008a8 <HAL_MspInit+0x44>)
- 800086c: 6c1b ldr r3, [r3, #64] ; 0x40
- 800086e: 4a0e ldr r2, [pc, #56] ; (80008a8 <HAL_MspInit+0x44>)
- 8000870: f043 5380 orr.w r3, r3, #268435456 ; 0x10000000
- 8000874: 6413 str r3, [r2, #64] ; 0x40
- 8000876: 4b0c ldr r3, [pc, #48] ; (80008a8 <HAL_MspInit+0x44>)
- 8000878: 6c1b ldr r3, [r3, #64] ; 0x40
- 800087a: f003 5380 and.w r3, r3, #268435456 ; 0x10000000
- 800087e: 607b str r3, [r7, #4]
- 8000880: 687b ldr r3, [r7, #4]
+ 8000852: 4b0f ldr r3, [pc, #60] ; (8000890 <HAL_MspInit+0x44>)
+ 8000854: 6c1b ldr r3, [r3, #64] ; 0x40
+ 8000856: 4a0e ldr r2, [pc, #56] ; (8000890 <HAL_MspInit+0x44>)
+ 8000858: f043 5380 orr.w r3, r3, #268435456 ; 0x10000000
+ 800085c: 6413 str r3, [r2, #64] ; 0x40
+ 800085e: 4b0c ldr r3, [pc, #48] ; (8000890 <HAL_MspInit+0x44>)
+ 8000860: 6c1b ldr r3, [r3, #64] ; 0x40
+ 8000862: f003 5380 and.w r3, r3, #268435456 ; 0x10000000
+ 8000866: 607b str r3, [r7, #4]
+ 8000868: 687b ldr r3, [r7, #4]
__HAL_RCC_SYSCFG_CLK_ENABLE();
- 8000882: 4b09 ldr r3, [pc, #36] ; (80008a8 <HAL_MspInit+0x44>)
- 8000884: 6c5b ldr r3, [r3, #68] ; 0x44
- 8000886: 4a08 ldr r2, [pc, #32] ; (80008a8 <HAL_MspInit+0x44>)
- 8000888: f443 4380 orr.w r3, r3, #16384 ; 0x4000
- 800088c: 6453 str r3, [r2, #68] ; 0x44
- 800088e: 4b06 ldr r3, [pc, #24] ; (80008a8 <HAL_MspInit+0x44>)
- 8000890: 6c5b ldr r3, [r3, #68] ; 0x44
- 8000892: f403 4380 and.w r3, r3, #16384 ; 0x4000
- 8000896: 603b str r3, [r7, #0]
- 8000898: 683b ldr r3, [r7, #0]
+ 800086a: 4b09 ldr r3, [pc, #36] ; (8000890 <HAL_MspInit+0x44>)
+ 800086c: 6c5b ldr r3, [r3, #68] ; 0x44
+ 800086e: 4a08 ldr r2, [pc, #32] ; (8000890 <HAL_MspInit+0x44>)
+ 8000870: f443 4380 orr.w r3, r3, #16384 ; 0x4000
+ 8000874: 6453 str r3, [r2, #68] ; 0x44
+ 8000876: 4b06 ldr r3, [pc, #24] ; (8000890 <HAL_MspInit+0x44>)
+ 8000878: 6c5b ldr r3, [r3, #68] ; 0x44
+ 800087a: f403 4380 and.w r3, r3, #16384 ; 0x4000
+ 800087e: 603b str r3, [r7, #0]
+ 8000880: 683b ldr r3, [r7, #0]
/* System interrupt init*/
/* USER CODE BEGIN MspInit 1 */
/* USER CODE END MspInit 1 */
}
- 800089a: bf00 nop
- 800089c: 370c adds r7, #12
- 800089e: 46bd mov sp, r7
- 80008a0: f85d 7b04 ldr.w r7, [sp], #4
- 80008a4: 4770 bx lr
- 80008a6: bf00 nop
- 80008a8: 40023800 .word 0x40023800
-
-080008ac <HAL_TIM_Base_MspInit>:
+ 8000882: bf00 nop
+ 8000884: 370c adds r7, #12
+ 8000886: 46bd mov sp, r7
+ 8000888: f85d 7b04 ldr.w r7, [sp], #4
+ 800088c: 4770 bx lr
+ 800088e: bf00 nop
+ 8000890: 40023800 .word 0x40023800
+
+08000894 <HAL_TIM_Base_MspInit>:
* This function configures the hardware resources used in this example
* @param htim_base: TIM_Base handle pointer
* @retval None
*/
void HAL_TIM_Base_MspInit(TIM_HandleTypeDef* htim_base)
{
- 80008ac: b580 push {r7, lr}
- 80008ae: b084 sub sp, #16
- 80008b0: af00 add r7, sp, #0
- 80008b2: 6078 str r0, [r7, #4]
+ 8000894: b580 push {r7, lr}
+ 8000896: b084 sub sp, #16
+ 8000898: af00 add r7, sp, #0
+ 800089a: 6078 str r0, [r7, #4]
if(htim_base->Instance==TIM3)
- 80008b4: 687b ldr r3, [r7, #4]
- 80008b6: 681b ldr r3, [r3, #0]
- 80008b8: 4a0d ldr r2, [pc, #52] ; (80008f0 <HAL_TIM_Base_MspInit+0x44>)
- 80008ba: 4293 cmp r3, r2
- 80008bc: d113 bne.n 80008e6 <HAL_TIM_Base_MspInit+0x3a>
+ 800089c: 687b ldr r3, [r7, #4]
+ 800089e: 681b ldr r3, [r3, #0]
+ 80008a0: 4a0d ldr r2, [pc, #52] ; (80008d8 <HAL_TIM_Base_MspInit+0x44>)
+ 80008a2: 4293 cmp r3, r2
+ 80008a4: d113 bne.n 80008ce <HAL_TIM_Base_MspInit+0x3a>
{
/* USER CODE BEGIN TIM3_MspInit 0 */
/* USER CODE END TIM3_MspInit 0 */
/* Peripheral clock enable */
__HAL_RCC_TIM3_CLK_ENABLE();
- 80008be: 4b0d ldr r3, [pc, #52] ; (80008f4 <HAL_TIM_Base_MspInit+0x48>)
- 80008c0: 6c1b ldr r3, [r3, #64] ; 0x40
- 80008c2: 4a0c ldr r2, [pc, #48] ; (80008f4 <HAL_TIM_Base_MspInit+0x48>)
- 80008c4: f043 0302 orr.w r3, r3, #2
- 80008c8: 6413 str r3, [r2, #64] ; 0x40
- 80008ca: 4b0a ldr r3, [pc, #40] ; (80008f4 <HAL_TIM_Base_MspInit+0x48>)
- 80008cc: 6c1b ldr r3, [r3, #64] ; 0x40
- 80008ce: f003 0302 and.w r3, r3, #2
- 80008d2: 60fb str r3, [r7, #12]
- 80008d4: 68fb ldr r3, [r7, #12]
+ 80008a6: 4b0d ldr r3, [pc, #52] ; (80008dc <HAL_TIM_Base_MspInit+0x48>)
+ 80008a8: 6c1b ldr r3, [r3, #64] ; 0x40
+ 80008aa: 4a0c ldr r2, [pc, #48] ; (80008dc <HAL_TIM_Base_MspInit+0x48>)
+ 80008ac: f043 0302 orr.w r3, r3, #2
+ 80008b0: 6413 str r3, [r2, #64] ; 0x40
+ 80008b2: 4b0a ldr r3, [pc, #40] ; (80008dc <HAL_TIM_Base_MspInit+0x48>)
+ 80008b4: 6c1b ldr r3, [r3, #64] ; 0x40
+ 80008b6: f003 0302 and.w r3, r3, #2
+ 80008ba: 60fb str r3, [r7, #12]
+ 80008bc: 68fb ldr r3, [r7, #12]
/* TIM3 interrupt Init */
HAL_NVIC_SetPriority(TIM3_IRQn, 0, 0);
- 80008d6: 2200 movs r2, #0
- 80008d8: 2100 movs r1, #0
- 80008da: 201d movs r0, #29
- 80008dc: f000 fa4f bl 8000d7e <HAL_NVIC_SetPriority>
+ 80008be: 2200 movs r2, #0
+ 80008c0: 2100 movs r1, #0
+ 80008c2: 201d movs r0, #29
+ 80008c4: f000 fa31 bl 8000d2a <HAL_NVIC_SetPriority>
HAL_NVIC_EnableIRQ(TIM3_IRQn);
- 80008e0: 201d movs r0, #29
- 80008e2: f000 fa68 bl 8000db6 <HAL_NVIC_EnableIRQ>
+ 80008c8: 201d movs r0, #29
+ 80008ca: f000 fa4a bl 8000d62 <HAL_NVIC_EnableIRQ>
/* USER CODE BEGIN TIM3_MspInit 1 */
/* USER CODE END TIM3_MspInit 1 */
}
}
- 80008e6: bf00 nop
- 80008e8: 3710 adds r7, #16
- 80008ea: 46bd mov sp, r7
- 80008ec: bd80 pop {r7, pc}
- 80008ee: bf00 nop
- 80008f0: 40000400 .word 0x40000400
- 80008f4: 40023800 .word 0x40023800
-
-080008f8 <HAL_UART_MspInit>:
+ 80008ce: bf00 nop
+ 80008d0: 3710 adds r7, #16
+ 80008d2: 46bd mov sp, r7
+ 80008d4: bd80 pop {r7, pc}
+ 80008d6: bf00 nop
+ 80008d8: 40000400 .word 0x40000400
+ 80008dc: 40023800 .word 0x40023800
+
+080008e0 <HAL_UART_MspInit>:
* This function configures the hardware resources used in this example
* @param huart: UART handle pointer
* @retval None
*/
void HAL_UART_MspInit(UART_HandleTypeDef* huart)
{
- 80008f8: b580 push {r7, lr}
- 80008fa: b08a sub sp, #40 ; 0x28
- 80008fc: af00 add r7, sp, #0
- 80008fe: 6078 str r0, [r7, #4]
+ 80008e0: b580 push {r7, lr}
+ 80008e2: b08a sub sp, #40 ; 0x28
+ 80008e4: af00 add r7, sp, #0
+ 80008e6: 6078 str r0, [r7, #4]
GPIO_InitTypeDef GPIO_InitStruct = {0};
- 8000900: f107 0314 add.w r3, r7, #20
- 8000904: 2200 movs r2, #0
- 8000906: 601a str r2, [r3, #0]
- 8000908: 605a str r2, [r3, #4]
- 800090a: 609a str r2, [r3, #8]
- 800090c: 60da str r2, [r3, #12]
- 800090e: 611a str r2, [r3, #16]
+ 80008e8: f107 0314 add.w r3, r7, #20
+ 80008ec: 2200 movs r2, #0
+ 80008ee: 601a str r2, [r3, #0]
+ 80008f0: 605a str r2, [r3, #4]
+ 80008f2: 609a str r2, [r3, #8]
+ 80008f4: 60da str r2, [r3, #12]
+ 80008f6: 611a str r2, [r3, #16]
if(huart->Instance==USART6)
- 8000910: 687b ldr r3, [r7, #4]
- 8000912: 681b ldr r3, [r3, #0]
- 8000914: 4a29 ldr r2, [pc, #164] ; (80009bc <HAL_UART_MspInit+0xc4>)
- 8000916: 4293 cmp r3, r2
- 8000918: d14c bne.n 80009b4 <HAL_UART_MspInit+0xbc>
+ 80008f8: 687b ldr r3, [r7, #4]
+ 80008fa: 681b ldr r3, [r3, #0]
+ 80008fc: 4a1b ldr r2, [pc, #108] ; (800096c <HAL_UART_MspInit+0x8c>)
+ 80008fe: 4293 cmp r3, r2
+ 8000900: d12f bne.n 8000962 <HAL_UART_MspInit+0x82>
{
/* USER CODE BEGIN USART6_MspInit 0 */
/* USER CODE END USART6_MspInit 0 */
/* Peripheral clock enable */
__HAL_RCC_USART6_CLK_ENABLE();
- 800091a: 4b29 ldr r3, [pc, #164] ; (80009c0 <HAL_UART_MspInit+0xc8>)
- 800091c: 6c5b ldr r3, [r3, #68] ; 0x44
- 800091e: 4a28 ldr r2, [pc, #160] ; (80009c0 <HAL_UART_MspInit+0xc8>)
- 8000920: f043 0320 orr.w r3, r3, #32
- 8000924: 6453 str r3, [r2, #68] ; 0x44
- 8000926: 4b26 ldr r3, [pc, #152] ; (80009c0 <HAL_UART_MspInit+0xc8>)
- 8000928: 6c5b ldr r3, [r3, #68] ; 0x44
- 800092a: f003 0320 and.w r3, r3, #32
- 800092e: 613b str r3, [r7, #16]
- 8000930: 693b ldr r3, [r7, #16]
+ 8000902: 4b1b ldr r3, [pc, #108] ; (8000970 <HAL_UART_MspInit+0x90>)
+ 8000904: 6c5b ldr r3, [r3, #68] ; 0x44
+ 8000906: 4a1a ldr r2, [pc, #104] ; (8000970 <HAL_UART_MspInit+0x90>)
+ 8000908: f043 0320 orr.w r3, r3, #32
+ 800090c: 6453 str r3, [r2, #68] ; 0x44
+ 800090e: 4b18 ldr r3, [pc, #96] ; (8000970 <HAL_UART_MspInit+0x90>)
+ 8000910: 6c5b ldr r3, [r3, #68] ; 0x44
+ 8000912: f003 0320 and.w r3, r3, #32
+ 8000916: 613b str r3, [r7, #16]
+ 8000918: 693b ldr r3, [r7, #16]
- __HAL_RCC_GPIOG_CLK_ENABLE();
- 8000932: 4b23 ldr r3, [pc, #140] ; (80009c0 <HAL_UART_MspInit+0xc8>)
- 8000934: 6b1b ldr r3, [r3, #48] ; 0x30
- 8000936: 4a22 ldr r2, [pc, #136] ; (80009c0 <HAL_UART_MspInit+0xc8>)
- 8000938: f043 0340 orr.w r3, r3, #64 ; 0x40
- 800093c: 6313 str r3, [r2, #48] ; 0x30
- 800093e: 4b20 ldr r3, [pc, #128] ; (80009c0 <HAL_UART_MspInit+0xc8>)
- 8000940: 6b1b ldr r3, [r3, #48] ; 0x30
- 8000942: f003 0340 and.w r3, r3, #64 ; 0x40
- 8000946: 60fb str r3, [r7, #12]
- 8000948: 68fb ldr r3, [r7, #12]
__HAL_RCC_GPIOC_CLK_ENABLE();
- 800094a: 4b1d ldr r3, [pc, #116] ; (80009c0 <HAL_UART_MspInit+0xc8>)
- 800094c: 6b1b ldr r3, [r3, #48] ; 0x30
- 800094e: 4a1c ldr r2, [pc, #112] ; (80009c0 <HAL_UART_MspInit+0xc8>)
- 8000950: f043 0304 orr.w r3, r3, #4
- 8000954: 6313 str r3, [r2, #48] ; 0x30
- 8000956: 4b1a ldr r3, [pc, #104] ; (80009c0 <HAL_UART_MspInit+0xc8>)
- 8000958: 6b1b ldr r3, [r3, #48] ; 0x30
- 800095a: f003 0304 and.w r3, r3, #4
- 800095e: 60bb str r3, [r7, #8]
- 8000960: 68bb ldr r3, [r7, #8]
- PG8 ------> USART6_RTS
+ 800091a: 4b15 ldr r3, [pc, #84] ; (8000970 <HAL_UART_MspInit+0x90>)
+ 800091c: 6b1b ldr r3, [r3, #48] ; 0x30
+ 800091e: 4a14 ldr r2, [pc, #80] ; (8000970 <HAL_UART_MspInit+0x90>)
+ 8000920: f043 0304 orr.w r3, r3, #4
+ 8000924: 6313 str r3, [r2, #48] ; 0x30
+ 8000926: 4b12 ldr r3, [pc, #72] ; (8000970 <HAL_UART_MspInit+0x90>)
+ 8000928: 6b1b ldr r3, [r3, #48] ; 0x30
+ 800092a: f003 0304 and.w r3, r3, #4
+ 800092e: 60fb str r3, [r7, #12]
+ 8000930: 68fb ldr r3, [r7, #12]
+ /**USART6 GPIO Configuration
PC6 ------> USART6_TX
- PC7 ------> USART6_RX
- PG13 ------> USART6_CTS
+ PC7 ------> USART6_RX
*/
- GPIO_InitStruct.Pin = GPIO_PIN_8|GPIO_PIN_13;
- 8000962: f44f 5304 mov.w r3, #8448 ; 0x2100
- 8000966: 617b str r3, [r7, #20]
- GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
- 8000968: 2302 movs r3, #2
- 800096a: 61bb str r3, [r7, #24]
- GPIO_InitStruct.Pull = GPIO_NOPULL;
- 800096c: 2300 movs r3, #0
- 800096e: 61fb str r3, [r7, #28]
- GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_VERY_HIGH;
- 8000970: 2303 movs r3, #3
- 8000972: 623b str r3, [r7, #32]
- GPIO_InitStruct.Alternate = GPIO_AF8_USART6;
- 8000974: 2308 movs r3, #8
- 8000976: 627b str r3, [r7, #36] ; 0x24
- HAL_GPIO_Init(GPIOG, &GPIO_InitStruct);
- 8000978: f107 0314 add.w r3, r7, #20
- 800097c: 4619 mov r1, r3
- 800097e: 4811 ldr r0, [pc, #68] ; (80009c4 <HAL_UART_MspInit+0xcc>)
- 8000980: f000 fa56 bl 8000e30 <HAL_GPIO_Init>
-
GPIO_InitStruct.Pin = GPIO_PIN_6|GPIO_PIN_7;
- 8000984: 23c0 movs r3, #192 ; 0xc0
- 8000986: 617b str r3, [r7, #20]
+ 8000932: 23c0 movs r3, #192 ; 0xc0
+ 8000934: 617b str r3, [r7, #20]
GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
- 8000988: 2302 movs r3, #2
- 800098a: 61bb str r3, [r7, #24]
+ 8000936: 2302 movs r3, #2
+ 8000938: 61bb str r3, [r7, #24]
GPIO_InitStruct.Pull = GPIO_NOPULL;
- 800098c: 2300 movs r3, #0
- 800098e: 61fb str r3, [r7, #28]
+ 800093a: 2300 movs r3, #0
+ 800093c: 61fb str r3, [r7, #28]
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_VERY_HIGH;
- 8000990: 2303 movs r3, #3
- 8000992: 623b str r3, [r7, #32]
+ 800093e: 2303 movs r3, #3
+ 8000940: 623b str r3, [r7, #32]
GPIO_InitStruct.Alternate = GPIO_AF8_USART6;
- 8000994: 2308 movs r3, #8
- 8000996: 627b str r3, [r7, #36] ; 0x24
+ 8000942: 2308 movs r3, #8
+ 8000944: 627b str r3, [r7, #36] ; 0x24
HAL_GPIO_Init(GPIOC, &GPIO_InitStruct);
- 8000998: f107 0314 add.w r3, r7, #20
- 800099c: 4619 mov r1, r3
- 800099e: 480a ldr r0, [pc, #40] ; (80009c8 <HAL_UART_MspInit+0xd0>)
- 80009a0: f000 fa46 bl 8000e30 <HAL_GPIO_Init>
+ 8000946: f107 0314 add.w r3, r7, #20
+ 800094a: 4619 mov r1, r3
+ 800094c: 4809 ldr r0, [pc, #36] ; (8000974 <HAL_UART_MspInit+0x94>)
+ 800094e: f000 fa45 bl 8000ddc <HAL_GPIO_Init>
/* USART6 interrupt Init */
HAL_NVIC_SetPriority(USART6_IRQn, 0, 0);
- 80009a4: 2200 movs r2, #0
- 80009a6: 2100 movs r1, #0
- 80009a8: 2047 movs r0, #71 ; 0x47
- 80009aa: f000 f9e8 bl 8000d7e <HAL_NVIC_SetPriority>
+ 8000952: 2200 movs r2, #0
+ 8000954: 2100 movs r1, #0
+ 8000956: 2047 movs r0, #71 ; 0x47
+ 8000958: f000 f9e7 bl 8000d2a <HAL_NVIC_SetPriority>
HAL_NVIC_EnableIRQ(USART6_IRQn);
- 80009ae: 2047 movs r0, #71 ; 0x47
- 80009b0: f000 fa01 bl 8000db6 <HAL_NVIC_EnableIRQ>
+ 800095c: 2047 movs r0, #71 ; 0x47
+ 800095e: f000 fa00 bl 8000d62 <HAL_NVIC_EnableIRQ>
/* USER CODE BEGIN USART6_MspInit 1 */
/* USER CODE END USART6_MspInit 1 */
}
}
- 80009b4: bf00 nop
- 80009b6: 3728 adds r7, #40 ; 0x28
- 80009b8: 46bd mov sp, r7
- 80009ba: bd80 pop {r7, pc}
- 80009bc: 40011400 .word 0x40011400
- 80009c0: 40023800 .word 0x40023800
- 80009c4: 40021800 .word 0x40021800
- 80009c8: 40020800 .word 0x40020800
-
-080009cc <NMI_Handler>:
+ 8000962: bf00 nop
+ 8000964: 3728 adds r7, #40 ; 0x28
+ 8000966: 46bd mov sp, r7
+ 8000968: bd80 pop {r7, pc}
+ 800096a: bf00 nop
+ 800096c: 40011400 .word 0x40011400
+ 8000970: 40023800 .word 0x40023800
+ 8000974: 40020800 .word 0x40020800
+
+08000978 <NMI_Handler>:
/******************************************************************************/
/**
* @brief This function handles Non maskable interrupt.
*/
void NMI_Handler(void)
{
- 80009cc: b480 push {r7}
- 80009ce: af00 add r7, sp, #0
+ 8000978: b480 push {r7}
+ 800097a: af00 add r7, sp, #0
/* USER CODE END NonMaskableInt_IRQn 0 */
/* USER CODE BEGIN NonMaskableInt_IRQn 1 */
/* USER CODE END NonMaskableInt_IRQn 1 */
}
- 80009d0: bf00 nop
- 80009d2: 46bd mov sp, r7
- 80009d4: f85d 7b04 ldr.w r7, [sp], #4
- 80009d8: 4770 bx lr
+ 800097c: bf00 nop
+ 800097e: 46bd mov sp, r7
+ 8000980: f85d 7b04 ldr.w r7, [sp], #4
+ 8000984: 4770 bx lr
-080009da <HardFault_Handler>:
+08000986 <HardFault_Handler>:
/**
* @brief This function handles Hard fault interrupt.
*/
void HardFault_Handler(void)
{
- 80009da: b480 push {r7}
- 80009dc: af00 add r7, sp, #0
+ 8000986: b480 push {r7}
+ 8000988: af00 add r7, sp, #0
/* USER CODE BEGIN HardFault_IRQn 0 */
/* USER CODE END HardFault_IRQn 0 */
while (1)
- 80009de: e7fe b.n 80009de <HardFault_Handler+0x4>
+ 800098a: e7fe b.n 800098a <HardFault_Handler+0x4>
-080009e0 <MemManage_Handler>:
+0800098c <MemManage_Handler>:
/**
* @brief This function handles Memory management fault.
*/
void MemManage_Handler(void)
{
- 80009e0: b480 push {r7}
- 80009e2: af00 add r7, sp, #0
+ 800098c: b480 push {r7}
+ 800098e: af00 add r7, sp, #0
/* USER CODE BEGIN MemoryManagement_IRQn 0 */
/* USER CODE END MemoryManagement_IRQn 0 */
while (1)
- 80009e4: e7fe b.n 80009e4 <MemManage_Handler+0x4>
+ 8000990: e7fe b.n 8000990 <MemManage_Handler+0x4>
-080009e6 <BusFault_Handler>:
+08000992 <BusFault_Handler>:
/**
* @brief This function handles Pre-fetch fault, memory access fault.
*/
void BusFault_Handler(void)
{
- 80009e6: b480 push {r7}
- 80009e8: af00 add r7, sp, #0
+ 8000992: b480 push {r7}
+ 8000994: af00 add r7, sp, #0
/* USER CODE BEGIN BusFault_IRQn 0 */
/* USER CODE END BusFault_IRQn 0 */
while (1)
- 80009ea: e7fe b.n 80009ea <BusFault_Handler+0x4>
+ 8000996: e7fe b.n 8000996 <BusFault_Handler+0x4>
-080009ec <UsageFault_Handler>:
+08000998 <UsageFault_Handler>:
/**
* @brief This function handles Undefined instruction or illegal state.
*/
void UsageFault_Handler(void)
{
- 80009ec: b480 push {r7}
- 80009ee: af00 add r7, sp, #0
+ 8000998: b480 push {r7}
+ 800099a: af00 add r7, sp, #0
/* USER CODE BEGIN UsageFault_IRQn 0 */
/* USER CODE END UsageFault_IRQn 0 */
while (1)
- 80009f0: e7fe b.n 80009f0 <UsageFault_Handler+0x4>
+ 800099c: e7fe b.n 800099c <UsageFault_Handler+0x4>
-080009f2 <SVC_Handler>:
+0800099e <SVC_Handler>:
/**
* @brief This function handles System service call via SWI instruction.
*/
void SVC_Handler(void)
{
- 80009f2: b480 push {r7}
- 80009f4: af00 add r7, sp, #0
+ 800099e: b480 push {r7}
+ 80009a0: af00 add r7, sp, #0
/* USER CODE END SVCall_IRQn 0 */
/* USER CODE BEGIN SVCall_IRQn 1 */
/* USER CODE END SVCall_IRQn 1 */
}
- 80009f6: bf00 nop
- 80009f8: 46bd mov sp, r7
- 80009fa: f85d 7b04 ldr.w r7, [sp], #4
- 80009fe: 4770 bx lr
+ 80009a2: bf00 nop
+ 80009a4: 46bd mov sp, r7
+ 80009a6: f85d 7b04 ldr.w r7, [sp], #4
+ 80009aa: 4770 bx lr
-08000a00 <DebugMon_Handler>:
+080009ac <DebugMon_Handler>:
/**
* @brief This function handles Debug monitor.
*/
void DebugMon_Handler(void)
{
- 8000a00: b480 push {r7}
- 8000a02: af00 add r7, sp, #0
+ 80009ac: b480 push {r7}
+ 80009ae: af00 add r7, sp, #0
/* USER CODE END DebugMonitor_IRQn 0 */
/* USER CODE BEGIN DebugMonitor_IRQn 1 */
/* USER CODE END DebugMonitor_IRQn 1 */
}
- 8000a04: bf00 nop
- 8000a06: 46bd mov sp, r7
- 8000a08: f85d 7b04 ldr.w r7, [sp], #4
- 8000a0c: 4770 bx lr
+ 80009b0: bf00 nop
+ 80009b2: 46bd mov sp, r7
+ 80009b4: f85d 7b04 ldr.w r7, [sp], #4
+ 80009b8: 4770 bx lr
-08000a0e <PendSV_Handler>:
+080009ba <PendSV_Handler>:
/**
* @brief This function handles Pendable request for system service.
*/
void PendSV_Handler(void)
{
- 8000a0e: b480 push {r7}
- 8000a10: af00 add r7, sp, #0
+ 80009ba: b480 push {r7}
+ 80009bc: af00 add r7, sp, #0
/* USER CODE END PendSV_IRQn 0 */
/* USER CODE BEGIN PendSV_IRQn 1 */
/* USER CODE END PendSV_IRQn 1 */
}
- 8000a12: bf00 nop
- 8000a14: 46bd mov sp, r7
- 8000a16: f85d 7b04 ldr.w r7, [sp], #4
- 8000a1a: 4770 bx lr
+ 80009be: bf00 nop
+ 80009c0: 46bd mov sp, r7
+ 80009c2: f85d 7b04 ldr.w r7, [sp], #4
+ 80009c6: 4770 bx lr
-08000a1c <SysTick_Handler>:
+080009c8 <SysTick_Handler>:
/**
* @brief This function handles System tick timer.
*/
void SysTick_Handler(void)
{
- 8000a1c: b580 push {r7, lr}
- 8000a1e: af00 add r7, sp, #0
+ 80009c8: b580 push {r7, lr}
+ 80009ca: af00 add r7, sp, #0
/* USER CODE BEGIN SysTick_IRQn 0 */
/* USER CODE END SysTick_IRQn 0 */
HAL_IncTick();
- 8000a20: f000 f8b2 bl 8000b88 <HAL_IncTick>
+ 80009cc: f000 f8b2 bl 8000b34 <HAL_IncTick>
/* USER CODE BEGIN SysTick_IRQn 1 */
/* USER CODE END SysTick_IRQn 1 */
}
- 8000a24: bf00 nop
- 8000a26: bd80 pop {r7, pc}
+ 80009d0: bf00 nop
+ 80009d2: bd80 pop {r7, pc}
-08000a28 <TIM3_IRQHandler>:
+080009d4 <TIM3_IRQHandler>:
/**
* @brief This function handles TIM3 global interrupt.
*/
void TIM3_IRQHandler(void)
{
- 8000a28: b580 push {r7, lr}
- 8000a2a: af00 add r7, sp, #0
+ 80009d4: b580 push {r7, lr}
+ 80009d6: af00 add r7, sp, #0
/* USER CODE BEGIN TIM3_IRQn 0 */
/* USER CODE END TIM3_IRQn 0 */
HAL_TIM_IRQHandler(&htim3);
- 8000a2c: 4802 ldr r0, [pc, #8] ; (8000a38 <TIM3_IRQHandler+0x10>)
- 8000a2e: f001 fc65 bl 80022fc <HAL_TIM_IRQHandler>
+ 80009d8: 4802 ldr r0, [pc, #8] ; (80009e4 <TIM3_IRQHandler+0x10>)
+ 80009da: f001 fc65 bl 80022a8 <HAL_TIM_IRQHandler>
/* USER CODE BEGIN TIM3_IRQn 1 */
/* USER CODE END TIM3_IRQn 1 */
}
- 8000a32: bf00 nop
- 8000a34: bd80 pop {r7, pc}
- 8000a36: bf00 nop
- 8000a38: 2000003c .word 0x2000003c
+ 80009de: bf00 nop
+ 80009e0: bd80 pop {r7, pc}
+ 80009e2: bf00 nop
+ 80009e4: 2000003c .word 0x2000003c
-08000a3c <USART6_IRQHandler>:
+080009e8 <USART6_IRQHandler>:
/**
* @brief This function handles USART6 global interrupt.
*/
void USART6_IRQHandler(void)
{
- 8000a3c: b580 push {r7, lr}
- 8000a3e: af00 add r7, sp, #0
+ 80009e8: b580 push {r7, lr}
+ 80009ea: af00 add r7, sp, #0
/* USER CODE BEGIN USART6_IRQn 0 */
/* USER CODE END USART6_IRQn 0 */
HAL_UART_IRQHandler(&huart6);
- 8000a40: 4802 ldr r0, [pc, #8] ; (8000a4c <USART6_IRQHandler+0x10>)
- 8000a42: f002 f993 bl 8002d6c <HAL_UART_IRQHandler>
+ 80009ec: 4802 ldr r0, [pc, #8] ; (80009f8 <USART6_IRQHandler+0x10>)
+ 80009ee: f002 f993 bl 8002d18 <HAL_UART_IRQHandler>
/* USER CODE BEGIN USART6_IRQn 1 */
/* USER CODE END USART6_IRQn 1 */
}
- 8000a46: bf00 nop
- 8000a48: bd80 pop {r7, pc}
- 8000a4a: bf00 nop
- 8000a4c: 20000084 .word 0x20000084
+ 80009f2: bf00 nop
+ 80009f4: bd80 pop {r7, pc}
+ 80009f6: bf00 nop
+ 80009f8: 20000084 .word 0x20000084
-08000a50 <SystemInit>:
+080009fc <SystemInit>:
* SystemFrequency variable.
* @param None
* @retval None
*/
void SystemInit(void)
{
- 8000a50: b480 push {r7}
- 8000a52: af00 add r7, sp, #0
+ 80009fc: b480 push {r7}
+ 80009fe: af00 add r7, sp, #0
/* FPU settings ------------------------------------------------------------*/
#if (__FPU_PRESENT == 1) && (__FPU_USED == 1)
SCB->CPACR |= ((3UL << 10*2)|(3UL << 11*2)); /* set CP10 and CP11 Full Access */
- 8000a54: 4b15 ldr r3, [pc, #84] ; (8000aac <SystemInit+0x5c>)
- 8000a56: f8d3 3088 ldr.w r3, [r3, #136] ; 0x88
- 8000a5a: 4a14 ldr r2, [pc, #80] ; (8000aac <SystemInit+0x5c>)
- 8000a5c: f443 0370 orr.w r3, r3, #15728640 ; 0xf00000
- 8000a60: f8c2 3088 str.w r3, [r2, #136] ; 0x88
+ 8000a00: 4b15 ldr r3, [pc, #84] ; (8000a58 <SystemInit+0x5c>)
+ 8000a02: f8d3 3088 ldr.w r3, [r3, #136] ; 0x88
+ 8000a06: 4a14 ldr r2, [pc, #80] ; (8000a58 <SystemInit+0x5c>)
+ 8000a08: f443 0370 orr.w r3, r3, #15728640 ; 0xf00000
+ 8000a0c: f8c2 3088 str.w r3, [r2, #136] ; 0x88
#endif
/* Reset the RCC clock configuration to the default reset state ------------*/
/* Set HSION bit */
RCC->CR |= (uint32_t)0x00000001;
- 8000a64: 4b12 ldr r3, [pc, #72] ; (8000ab0 <SystemInit+0x60>)
- 8000a66: 681b ldr r3, [r3, #0]
- 8000a68: 4a11 ldr r2, [pc, #68] ; (8000ab0 <SystemInit+0x60>)
- 8000a6a: f043 0301 orr.w r3, r3, #1
- 8000a6e: 6013 str r3, [r2, #0]
+ 8000a10: 4b12 ldr r3, [pc, #72] ; (8000a5c <SystemInit+0x60>)
+ 8000a12: 681b ldr r3, [r3, #0]
+ 8000a14: 4a11 ldr r2, [pc, #68] ; (8000a5c <SystemInit+0x60>)
+ 8000a16: f043 0301 orr.w r3, r3, #1
+ 8000a1a: 6013 str r3, [r2, #0]
/* Reset CFGR register */
RCC->CFGR = 0x00000000;
- 8000a70: 4b0f ldr r3, [pc, #60] ; (8000ab0 <SystemInit+0x60>)
- 8000a72: 2200 movs r2, #0
- 8000a74: 609a str r2, [r3, #8]
+ 8000a1c: 4b0f ldr r3, [pc, #60] ; (8000a5c <SystemInit+0x60>)
+ 8000a1e: 2200 movs r2, #0
+ 8000a20: 609a str r2, [r3, #8]
/* Reset HSEON, CSSON and PLLON bits */
RCC->CR &= (uint32_t)0xFEF6FFFF;
- 8000a76: 4b0e ldr r3, [pc, #56] ; (8000ab0 <SystemInit+0x60>)
- 8000a78: 681a ldr r2, [r3, #0]
- 8000a7a: 490d ldr r1, [pc, #52] ; (8000ab0 <SystemInit+0x60>)
- 8000a7c: 4b0d ldr r3, [pc, #52] ; (8000ab4 <SystemInit+0x64>)
- 8000a7e: 4013 ands r3, r2
- 8000a80: 600b str r3, [r1, #0]
+ 8000a22: 4b0e ldr r3, [pc, #56] ; (8000a5c <SystemInit+0x60>)
+ 8000a24: 681a ldr r2, [r3, #0]
+ 8000a26: 490d ldr r1, [pc, #52] ; (8000a5c <SystemInit+0x60>)
+ 8000a28: 4b0d ldr r3, [pc, #52] ; (8000a60 <SystemInit+0x64>)
+ 8000a2a: 4013 ands r3, r2
+ 8000a2c: 600b str r3, [r1, #0]
/* Reset PLLCFGR register */
RCC->PLLCFGR = 0x24003010;
- 8000a82: 4b0b ldr r3, [pc, #44] ; (8000ab0 <SystemInit+0x60>)
- 8000a84: 4a0c ldr r2, [pc, #48] ; (8000ab8 <SystemInit+0x68>)
- 8000a86: 605a str r2, [r3, #4]
+ 8000a2e: 4b0b ldr r3, [pc, #44] ; (8000a5c <SystemInit+0x60>)
+ 8000a30: 4a0c ldr r2, [pc, #48] ; (8000a64 <SystemInit+0x68>)
+ 8000a32: 605a str r2, [r3, #4]
/* Reset HSEBYP bit */
RCC->CR &= (uint32_t)0xFFFBFFFF;
- 8000a88: 4b09 ldr r3, [pc, #36] ; (8000ab0 <SystemInit+0x60>)
- 8000a8a: 681b ldr r3, [r3, #0]
- 8000a8c: 4a08 ldr r2, [pc, #32] ; (8000ab0 <SystemInit+0x60>)
- 8000a8e: f423 2380 bic.w r3, r3, #262144 ; 0x40000
- 8000a92: 6013 str r3, [r2, #0]
+ 8000a34: 4b09 ldr r3, [pc, #36] ; (8000a5c <SystemInit+0x60>)
+ 8000a36: 681b ldr r3, [r3, #0]
+ 8000a38: 4a08 ldr r2, [pc, #32] ; (8000a5c <SystemInit+0x60>)
+ 8000a3a: f423 2380 bic.w r3, r3, #262144 ; 0x40000
+ 8000a3e: 6013 str r3, [r2, #0]
/* Disable all interrupts */
RCC->CIR = 0x00000000;
- 8000a94: 4b06 ldr r3, [pc, #24] ; (8000ab0 <SystemInit+0x60>)
- 8000a96: 2200 movs r2, #0
- 8000a98: 60da str r2, [r3, #12]
+ 8000a40: 4b06 ldr r3, [pc, #24] ; (8000a5c <SystemInit+0x60>)
+ 8000a42: 2200 movs r2, #0
+ 8000a44: 60da str r2, [r3, #12]
/* Configure the Vector Table location add offset address ------------------*/
#ifdef VECT_TAB_SRAM
SCB->VTOR = RAMDTCM_BASE | VECT_TAB_OFFSET; /* Vector Table Relocation in Internal SRAM */
#else
SCB->VTOR = FLASH_BASE | VECT_TAB_OFFSET; /* Vector Table Relocation in Internal FLASH */
- 8000a9a: 4b04 ldr r3, [pc, #16] ; (8000aac <SystemInit+0x5c>)
- 8000a9c: f04f 6200 mov.w r2, #134217728 ; 0x8000000
- 8000aa0: 609a str r2, [r3, #8]
+ 8000a46: 4b04 ldr r3, [pc, #16] ; (8000a58 <SystemInit+0x5c>)
+ 8000a48: f04f 6200 mov.w r2, #134217728 ; 0x8000000
+ 8000a4c: 609a str r2, [r3, #8]
#endif
}
- 8000aa2: bf00 nop
- 8000aa4: 46bd mov sp, r7
- 8000aa6: f85d 7b04 ldr.w r7, [sp], #4
- 8000aaa: 4770 bx lr
- 8000aac: e000ed00 .word 0xe000ed00
- 8000ab0: 40023800 .word 0x40023800
- 8000ab4: fef6ffff .word 0xfef6ffff
- 8000ab8: 24003010 .word 0x24003010
+ 8000a4e: bf00 nop
+ 8000a50: 46bd mov sp, r7
+ 8000a52: f85d 7b04 ldr.w r7, [sp], #4
+ 8000a56: 4770 bx lr
+ 8000a58: e000ed00 .word 0xe000ed00
+ 8000a5c: 40023800 .word 0x40023800
+ 8000a60: fef6ffff .word 0xfef6ffff
+ 8000a64: 24003010 .word 0x24003010
-08000abc <Reset_Handler>:
+08000a68 <Reset_Handler>:
.section .text.Reset_Handler
.weak Reset_Handler
.type Reset_Handler, %function
Reset_Handler:
ldr sp, =_estack /* set stack pointer */
- 8000abc: f8df d034 ldr.w sp, [pc, #52] ; 8000af4 <LoopFillZerobss+0x14>
+ 8000a68: f8df d034 ldr.w sp, [pc, #52] ; 8000aa0 <LoopFillZerobss+0x14>
/* Copy the data segment initializers from flash to SRAM */
movs r1, #0
- 8000ac0: 2100 movs r1, #0
+ 8000a6c: 2100 movs r1, #0
b LoopCopyDataInit
- 8000ac2: e003 b.n 8000acc <LoopCopyDataInit>
+ 8000a6e: e003 b.n 8000a78 <LoopCopyDataInit>
-08000ac4 <CopyDataInit>:
+08000a70 <CopyDataInit>:
CopyDataInit:
ldr r3, =_sidata
- 8000ac4: 4b0c ldr r3, [pc, #48] ; (8000af8 <LoopFillZerobss+0x18>)
+ 8000a70: 4b0c ldr r3, [pc, #48] ; (8000aa4 <LoopFillZerobss+0x18>)
ldr r3, [r3, r1]
- 8000ac6: 585b ldr r3, [r3, r1]
+ 8000a72: 585b ldr r3, [r3, r1]
str r3, [r0, r1]
- 8000ac8: 5043 str r3, [r0, r1]
+ 8000a74: 5043 str r3, [r0, r1]
adds r1, r1, #4
- 8000aca: 3104 adds r1, #4
+ 8000a76: 3104 adds r1, #4
-08000acc <LoopCopyDataInit>:
+08000a78 <LoopCopyDataInit>:
LoopCopyDataInit:
ldr r0, =_sdata
- 8000acc: 480b ldr r0, [pc, #44] ; (8000afc <LoopFillZerobss+0x1c>)
+ 8000a78: 480b ldr r0, [pc, #44] ; (8000aa8 <LoopFillZerobss+0x1c>)
ldr r3, =_edata
- 8000ace: 4b0c ldr r3, [pc, #48] ; (8000b00 <LoopFillZerobss+0x20>)
+ 8000a7a: 4b0c ldr r3, [pc, #48] ; (8000aac <LoopFillZerobss+0x20>)
adds r2, r0, r1
- 8000ad0: 1842 adds r2, r0, r1
+ 8000a7c: 1842 adds r2, r0, r1
cmp r2, r3
- 8000ad2: 429a cmp r2, r3
+ 8000a7e: 429a cmp r2, r3
bcc CopyDataInit
- 8000ad4: d3f6 bcc.n 8000ac4 <CopyDataInit>
+ 8000a80: d3f6 bcc.n 8000a70 <CopyDataInit>
ldr r2, =_sbss
- 8000ad6: 4a0b ldr r2, [pc, #44] ; (8000b04 <LoopFillZerobss+0x24>)
+ 8000a82: 4a0b ldr r2, [pc, #44] ; (8000ab0 <LoopFillZerobss+0x24>)
b LoopFillZerobss
- 8000ad8: e002 b.n 8000ae0 <LoopFillZerobss>
+ 8000a84: e002 b.n 8000a8c <LoopFillZerobss>
-08000ada <FillZerobss>:
+08000a86 <FillZerobss>:
/* Zero fill the bss segment. */
FillZerobss:
movs r3, #0
- 8000ada: 2300 movs r3, #0
+ 8000a86: 2300 movs r3, #0
str r3, [r2], #4
- 8000adc: f842 3b04 str.w r3, [r2], #4
+ 8000a88: f842 3b04 str.w r3, [r2], #4
-08000ae0 <LoopFillZerobss>:
+08000a8c <LoopFillZerobss>:
LoopFillZerobss:
ldr r3, = _ebss
- 8000ae0: 4b09 ldr r3, [pc, #36] ; (8000b08 <LoopFillZerobss+0x28>)
+ 8000a8c: 4b09 ldr r3, [pc, #36] ; (8000ab4 <LoopFillZerobss+0x28>)
cmp r2, r3
- 8000ae2: 429a cmp r2, r3
+ 8000a8e: 429a cmp r2, r3
bcc FillZerobss
- 8000ae4: d3f9 bcc.n 8000ada <FillZerobss>
+ 8000a90: d3f9 bcc.n 8000a86 <FillZerobss>
/* Call the clock system initialization function.*/
bl SystemInit
- 8000ae6: f7ff ffb3 bl 8000a50 <SystemInit>
+ 8000a92: f7ff ffb3 bl 80009fc <SystemInit>
/* Call static constructors */
bl __libc_init_array
- 8000aea: f002 ff17 bl 800391c <__libc_init_array>
+ 8000a96: f002 ff17 bl 80038c8 <__libc_init_array>
/* Call the application's entry point.*/
bl main
- 8000aee: f7ff fd23 bl 8000538 <main>
+ 8000a9a: f7ff fd4d bl 8000538 <main>
bx lr
- 8000af2: 4770 bx lr
+ 8000a9e: 4770 bx lr
ldr sp, =_estack /* set stack pointer */
- 8000af4: 20080000 .word 0x20080000
+ 8000aa0: 20080000 .word 0x20080000
ldr r3, =_sidata
- 8000af8: 080039b4 .word 0x080039b4
+ 8000aa4: 08003960 .word 0x08003960
ldr r0, =_sdata
- 8000afc: 20000000 .word 0x20000000
+ 8000aa8: 20000000 .word 0x20000000
ldr r3, =_edata
- 8000b00: 2000000c .word 0x2000000c
+ 8000aac: 2000000c .word 0x2000000c
ldr r2, =_sbss
- 8000b04: 2000000c .word 0x2000000c
+ 8000ab0: 2000000c .word 0x2000000c
ldr r3, = _ebss
- 8000b08: 20000110 .word 0x20000110
+ 8000ab4: 20000110 .word 0x20000110
-08000b0c <ADC_IRQHandler>:
+08000ab8 <ADC_IRQHandler>:
* @retval None
*/
.section .text.Default_Handler,"ax",%progbits
Default_Handler:
Infinite_Loop:
b Infinite_Loop
- 8000b0c: e7fe b.n 8000b0c <ADC_IRQHandler>
+ 8000ab8: e7fe b.n 8000ab8 <ADC_IRQHandler>
-08000b0e <HAL_Init>:
+08000aba <HAL_Init>:
* need to ensure that the SysTick time base is always set to 1 millisecond
* to have correct HAL operation.
* @retval HAL status
*/
HAL_StatusTypeDef HAL_Init(void)
{
- 8000b0e: b580 push {r7, lr}
- 8000b10: af00 add r7, sp, #0
+ 8000aba: b580 push {r7, lr}
+ 8000abc: af00 add r7, sp, #0
#if (PREFETCH_ENABLE != 0U)
__HAL_FLASH_PREFETCH_BUFFER_ENABLE();
#endif /* PREFETCH_ENABLE */
/* Set Interrupt Group Priority */
HAL_NVIC_SetPriorityGrouping(NVIC_PRIORITYGROUP_4);
- 8000b12: 2003 movs r0, #3
- 8000b14: f000 f928 bl 8000d68 <HAL_NVIC_SetPriorityGrouping>
+ 8000abe: 2003 movs r0, #3
+ 8000ac0: f000 f928 bl 8000d14 <HAL_NVIC_SetPriorityGrouping>
/* Use systick as time base source and configure 1ms tick (default clock after Reset is HSI) */
HAL_InitTick(TICK_INT_PRIORITY);
- 8000b18: 2000 movs r0, #0
- 8000b1a: f000 f805 bl 8000b28 <HAL_InitTick>
+ 8000ac4: 2000 movs r0, #0
+ 8000ac6: f000 f805 bl 8000ad4 <HAL_InitTick>
/* Init the low level hardware */
HAL_MspInit();
- 8000b1e: f7ff fea1 bl 8000864 <HAL_MspInit>
+ 8000aca: f7ff febf bl 800084c <HAL_MspInit>
/* Return function status */
return HAL_OK;
- 8000b22: 2300 movs r3, #0
+ 8000ace: 2300 movs r3, #0
}
- 8000b24: 4618 mov r0, r3
- 8000b26: bd80 pop {r7, pc}
+ 8000ad0: 4618 mov r0, r3
+ 8000ad2: bd80 pop {r7, pc}
-08000b28 <HAL_InitTick>:
+08000ad4 <HAL_InitTick>:
* implementation in user file.
* @param TickPriority Tick interrupt priority.
* @retval HAL status
*/
__weak HAL_StatusTypeDef HAL_InitTick(uint32_t TickPriority)
{
- 8000b28: b580 push {r7, lr}
- 8000b2a: b082 sub sp, #8
- 8000b2c: af00 add r7, sp, #0
- 8000b2e: 6078 str r0, [r7, #4]
+ 8000ad4: b580 push {r7, lr}
+ 8000ad6: b082 sub sp, #8
+ 8000ad8: af00 add r7, sp, #0
+ 8000ada: 6078 str r0, [r7, #4]
/* Configure the SysTick to have interrupt in 1ms time basis*/
if (HAL_SYSTICK_Config(SystemCoreClock / (1000U / uwTickFreq)) > 0U)
- 8000b30: 4b12 ldr r3, [pc, #72] ; (8000b7c <HAL_InitTick+0x54>)
- 8000b32: 681a ldr r2, [r3, #0]
- 8000b34: 4b12 ldr r3, [pc, #72] ; (8000b80 <HAL_InitTick+0x58>)
- 8000b36: 781b ldrb r3, [r3, #0]
- 8000b38: 4619 mov r1, r3
- 8000b3a: f44f 737a mov.w r3, #1000 ; 0x3e8
- 8000b3e: fbb3 f3f1 udiv r3, r3, r1
- 8000b42: fbb2 f3f3 udiv r3, r2, r3
- 8000b46: 4618 mov r0, r3
- 8000b48: f000 f943 bl 8000dd2 <HAL_SYSTICK_Config>
- 8000b4c: 4603 mov r3, r0
- 8000b4e: 2b00 cmp r3, #0
- 8000b50: d001 beq.n 8000b56 <HAL_InitTick+0x2e>
+ 8000adc: 4b12 ldr r3, [pc, #72] ; (8000b28 <HAL_InitTick+0x54>)
+ 8000ade: 681a ldr r2, [r3, #0]
+ 8000ae0: 4b12 ldr r3, [pc, #72] ; (8000b2c <HAL_InitTick+0x58>)
+ 8000ae2: 781b ldrb r3, [r3, #0]
+ 8000ae4: 4619 mov r1, r3
+ 8000ae6: f44f 737a mov.w r3, #1000 ; 0x3e8
+ 8000aea: fbb3 f3f1 udiv r3, r3, r1
+ 8000aee: fbb2 f3f3 udiv r3, r2, r3
+ 8000af2: 4618 mov r0, r3
+ 8000af4: f000 f943 bl 8000d7e <HAL_SYSTICK_Config>
+ 8000af8: 4603 mov r3, r0
+ 8000afa: 2b00 cmp r3, #0
+ 8000afc: d001 beq.n 8000b02 <HAL_InitTick+0x2e>
{
return HAL_ERROR;
- 8000b52: 2301 movs r3, #1
- 8000b54: e00e b.n 8000b74 <HAL_InitTick+0x4c>
+ 8000afe: 2301 movs r3, #1
+ 8000b00: e00e b.n 8000b20 <HAL_InitTick+0x4c>
}
/* Configure the SysTick IRQ priority */
if (TickPriority < (1UL << __NVIC_PRIO_BITS))
- 8000b56: 687b ldr r3, [r7, #4]
- 8000b58: 2b0f cmp r3, #15
- 8000b5a: d80a bhi.n 8000b72 <HAL_InitTick+0x4a>
+ 8000b02: 687b ldr r3, [r7, #4]
+ 8000b04: 2b0f cmp r3, #15
+ 8000b06: d80a bhi.n 8000b1e <HAL_InitTick+0x4a>
{
HAL_NVIC_SetPriority(SysTick_IRQn, TickPriority, 0U);
- 8000b5c: 2200 movs r2, #0
- 8000b5e: 6879 ldr r1, [r7, #4]
- 8000b60: f04f 30ff mov.w r0, #4294967295 ; 0xffffffff
- 8000b64: f000 f90b bl 8000d7e <HAL_NVIC_SetPriority>
+ 8000b08: 2200 movs r2, #0
+ 8000b0a: 6879 ldr r1, [r7, #4]
+ 8000b0c: f04f 30ff mov.w r0, #4294967295 ; 0xffffffff
+ 8000b10: f000 f90b bl 8000d2a <HAL_NVIC_SetPriority>
uwTickPrio = TickPriority;
- 8000b68: 4a06 ldr r2, [pc, #24] ; (8000b84 <HAL_InitTick+0x5c>)
- 8000b6a: 687b ldr r3, [r7, #4]
- 8000b6c: 6013 str r3, [r2, #0]
+ 8000b14: 4a06 ldr r2, [pc, #24] ; (8000b30 <HAL_InitTick+0x5c>)
+ 8000b16: 687b ldr r3, [r7, #4]
+ 8000b18: 6013 str r3, [r2, #0]
{
return HAL_ERROR;
}
/* Return function status */
return HAL_OK;
- 8000b6e: 2300 movs r3, #0
- 8000b70: e000 b.n 8000b74 <HAL_InitTick+0x4c>
+ 8000b1a: 2300 movs r3, #0
+ 8000b1c: e000 b.n 8000b20 <HAL_InitTick+0x4c>
return HAL_ERROR;
- 8000b72: 2301 movs r3, #1
+ 8000b1e: 2301 movs r3, #1
}
- 8000b74: 4618 mov r0, r3
- 8000b76: 3708 adds r7, #8
- 8000b78: 46bd mov sp, r7
- 8000b7a: bd80 pop {r7, pc}
- 8000b7c: 20000000 .word 0x20000000
- 8000b80: 20000008 .word 0x20000008
- 8000b84: 20000004 .word 0x20000004
-
-08000b88 <HAL_IncTick>:
+ 8000b20: 4618 mov r0, r3
+ 8000b22: 3708 adds r7, #8
+ 8000b24: 46bd mov sp, r7
+ 8000b26: bd80 pop {r7, pc}
+ 8000b28: 20000000 .word 0x20000000
+ 8000b2c: 20000008 .word 0x20000008
+ 8000b30: 20000004 .word 0x20000004
+
+08000b34 <HAL_IncTick>:
* @note This function is declared as __weak to be overwritten in case of other
* implementations in user file.
* @retval None
*/
__weak void HAL_IncTick(void)
{
- 8000b88: b480 push {r7}
- 8000b8a: af00 add r7, sp, #0
+ 8000b34: b480 push {r7}
+ 8000b36: af00 add r7, sp, #0
uwTick += uwTickFreq;
- 8000b8c: 4b06 ldr r3, [pc, #24] ; (8000ba8 <HAL_IncTick+0x20>)
- 8000b8e: 781b ldrb r3, [r3, #0]
- 8000b90: 461a mov r2, r3
- 8000b92: 4b06 ldr r3, [pc, #24] ; (8000bac <HAL_IncTick+0x24>)
- 8000b94: 681b ldr r3, [r3, #0]
- 8000b96: 4413 add r3, r2
- 8000b98: 4a04 ldr r2, [pc, #16] ; (8000bac <HAL_IncTick+0x24>)
- 8000b9a: 6013 str r3, [r2, #0]
+ 8000b38: 4b06 ldr r3, [pc, #24] ; (8000b54 <HAL_IncTick+0x20>)
+ 8000b3a: 781b ldrb r3, [r3, #0]
+ 8000b3c: 461a mov r2, r3
+ 8000b3e: 4b06 ldr r3, [pc, #24] ; (8000b58 <HAL_IncTick+0x24>)
+ 8000b40: 681b ldr r3, [r3, #0]
+ 8000b42: 4413 add r3, r2
+ 8000b44: 4a04 ldr r2, [pc, #16] ; (8000b58 <HAL_IncTick+0x24>)
+ 8000b46: 6013 str r3, [r2, #0]
}
- 8000b9c: bf00 nop
- 8000b9e: 46bd mov sp, r7
- 8000ba0: f85d 7b04 ldr.w r7, [sp], #4
- 8000ba4: 4770 bx lr
- 8000ba6: bf00 nop
- 8000ba8: 20000008 .word 0x20000008
- 8000bac: 2000010c .word 0x2000010c
-
-08000bb0 <HAL_GetTick>:
+ 8000b48: bf00 nop
+ 8000b4a: 46bd mov sp, r7
+ 8000b4c: f85d 7b04 ldr.w r7, [sp], #4
+ 8000b50: 4770 bx lr
+ 8000b52: bf00 nop
+ 8000b54: 20000008 .word 0x20000008
+ 8000b58: 2000010c .word 0x2000010c
+
+08000b5c <HAL_GetTick>:
* @note This function is declared as __weak to be overwritten in case of other
* implementations in user file.
* @retval tick value
*/
__weak uint32_t HAL_GetTick(void)
{
- 8000bb0: b480 push {r7}
- 8000bb2: af00 add r7, sp, #0
+ 8000b5c: b480 push {r7}
+ 8000b5e: af00 add r7, sp, #0
return uwTick;
- 8000bb4: 4b03 ldr r3, [pc, #12] ; (8000bc4 <HAL_GetTick+0x14>)
- 8000bb6: 681b ldr r3, [r3, #0]
+ 8000b60: 4b03 ldr r3, [pc, #12] ; (8000b70 <HAL_GetTick+0x14>)
+ 8000b62: 681b ldr r3, [r3, #0]
}
- 8000bb8: 4618 mov r0, r3
- 8000bba: 46bd mov sp, r7
- 8000bbc: f85d 7b04 ldr.w r7, [sp], #4
- 8000bc0: 4770 bx lr
- 8000bc2: bf00 nop
- 8000bc4: 2000010c .word 0x2000010c
-
-08000bc8 <__NVIC_SetPriorityGrouping>:
+ 8000b64: 4618 mov r0, r3
+ 8000b66: 46bd mov sp, r7
+ 8000b68: f85d 7b04 ldr.w r7, [sp], #4
+ 8000b6c: 4770 bx lr
+ 8000b6e: bf00 nop
+ 8000b70: 2000010c .word 0x2000010c
+
+08000b74 <__NVIC_SetPriorityGrouping>:
In case of a conflict between priority grouping and available
priority bits (__NVIC_PRIO_BITS), the smallest possible priority group is set.
\param [in] PriorityGroup Priority grouping field.
*/
__STATIC_INLINE void __NVIC_SetPriorityGrouping(uint32_t PriorityGroup)
{
- 8000bc8: b480 push {r7}
- 8000bca: b085 sub sp, #20
- 8000bcc: af00 add r7, sp, #0
- 8000bce: 6078 str r0, [r7, #4]
+ 8000b74: b480 push {r7}
+ 8000b76: b085 sub sp, #20
+ 8000b78: af00 add r7, sp, #0
+ 8000b7a: 6078 str r0, [r7, #4]
uint32_t reg_value;
uint32_t PriorityGroupTmp = (PriorityGroup & (uint32_t)0x07UL); /* only values 0..7 are used */
- 8000bd0: 687b ldr r3, [r7, #4]
- 8000bd2: f003 0307 and.w r3, r3, #7
- 8000bd6: 60fb str r3, [r7, #12]
+ 8000b7c: 687b ldr r3, [r7, #4]
+ 8000b7e: f003 0307 and.w r3, r3, #7
+ 8000b82: 60fb str r3, [r7, #12]
reg_value = SCB->AIRCR; /* read old register configuration */
- 8000bd8: 4b0b ldr r3, [pc, #44] ; (8000c08 <__NVIC_SetPriorityGrouping+0x40>)
- 8000bda: 68db ldr r3, [r3, #12]
- 8000bdc: 60bb str r3, [r7, #8]
+ 8000b84: 4b0b ldr r3, [pc, #44] ; (8000bb4 <__NVIC_SetPriorityGrouping+0x40>)
+ 8000b86: 68db ldr r3, [r3, #12]
+ 8000b88: 60bb str r3, [r7, #8]
reg_value &= ~((uint32_t)(SCB_AIRCR_VECTKEY_Msk | SCB_AIRCR_PRIGROUP_Msk)); /* clear bits to change */
- 8000bde: 68ba ldr r2, [r7, #8]
- 8000be0: f64f 03ff movw r3, #63743 ; 0xf8ff
- 8000be4: 4013 ands r3, r2
- 8000be6: 60bb str r3, [r7, #8]
+ 8000b8a: 68ba ldr r2, [r7, #8]
+ 8000b8c: f64f 03ff movw r3, #63743 ; 0xf8ff
+ 8000b90: 4013 ands r3, r2
+ 8000b92: 60bb str r3, [r7, #8]
reg_value = (reg_value |
((uint32_t)0x5FAUL << SCB_AIRCR_VECTKEY_Pos) |
(PriorityGroupTmp << SCB_AIRCR_PRIGROUP_Pos) ); /* Insert write key and priority group */
- 8000be8: 68fb ldr r3, [r7, #12]
- 8000bea: 021a lsls r2, r3, #8
+ 8000b94: 68fb ldr r3, [r7, #12]
+ 8000b96: 021a lsls r2, r3, #8
((uint32_t)0x5FAUL << SCB_AIRCR_VECTKEY_Pos) |
- 8000bec: 68bb ldr r3, [r7, #8]
- 8000bee: 431a orrs r2, r3
+ 8000b98: 68bb ldr r3, [r7, #8]
+ 8000b9a: 431a orrs r2, r3
reg_value = (reg_value |
- 8000bf0: 4b06 ldr r3, [pc, #24] ; (8000c0c <__NVIC_SetPriorityGrouping+0x44>)
- 8000bf2: 4313 orrs r3, r2
- 8000bf4: 60bb str r3, [r7, #8]
+ 8000b9c: 4b06 ldr r3, [pc, #24] ; (8000bb8 <__NVIC_SetPriorityGrouping+0x44>)
+ 8000b9e: 4313 orrs r3, r2
+ 8000ba0: 60bb str r3, [r7, #8]
SCB->AIRCR = reg_value;
- 8000bf6: 4a04 ldr r2, [pc, #16] ; (8000c08 <__NVIC_SetPriorityGrouping+0x40>)
- 8000bf8: 68bb ldr r3, [r7, #8]
- 8000bfa: 60d3 str r3, [r2, #12]
+ 8000ba2: 4a04 ldr r2, [pc, #16] ; (8000bb4 <__NVIC_SetPriorityGrouping+0x40>)
+ 8000ba4: 68bb ldr r3, [r7, #8]
+ 8000ba6: 60d3 str r3, [r2, #12]
}
- 8000bfc: bf00 nop
- 8000bfe: 3714 adds r7, #20
- 8000c00: 46bd mov sp, r7
- 8000c02: f85d 7b04 ldr.w r7, [sp], #4
- 8000c06: 4770 bx lr
- 8000c08: e000ed00 .word 0xe000ed00
- 8000c0c: 05fa0000 .word 0x05fa0000
-
-08000c10 <__NVIC_GetPriorityGrouping>:
+ 8000ba8: bf00 nop
+ 8000baa: 3714 adds r7, #20
+ 8000bac: 46bd mov sp, r7
+ 8000bae: f85d 7b04 ldr.w r7, [sp], #4
+ 8000bb2: 4770 bx lr
+ 8000bb4: e000ed00 .word 0xe000ed00
+ 8000bb8: 05fa0000 .word 0x05fa0000
+
+08000bbc <__NVIC_GetPriorityGrouping>:
\brief Get Priority Grouping
\details Reads the priority grouping field from the NVIC Interrupt Controller.
\return Priority grouping field (SCB->AIRCR [10:8] PRIGROUP field).
*/
__STATIC_INLINE uint32_t __NVIC_GetPriorityGrouping(void)
{
- 8000c10: b480 push {r7}
- 8000c12: af00 add r7, sp, #0
+ 8000bbc: b480 push {r7}
+ 8000bbe: af00 add r7, sp, #0
return ((uint32_t)((SCB->AIRCR & SCB_AIRCR_PRIGROUP_Msk) >> SCB_AIRCR_PRIGROUP_Pos));
- 8000c14: 4b04 ldr r3, [pc, #16] ; (8000c28 <__NVIC_GetPriorityGrouping+0x18>)
- 8000c16: 68db ldr r3, [r3, #12]
- 8000c18: 0a1b lsrs r3, r3, #8
- 8000c1a: f003 0307 and.w r3, r3, #7
+ 8000bc0: 4b04 ldr r3, [pc, #16] ; (8000bd4 <__NVIC_GetPriorityGrouping+0x18>)
+ 8000bc2: 68db ldr r3, [r3, #12]
+ 8000bc4: 0a1b lsrs r3, r3, #8
+ 8000bc6: f003 0307 and.w r3, r3, #7
}
- 8000c1e: 4618 mov r0, r3
- 8000c20: 46bd mov sp, r7
- 8000c22: f85d 7b04 ldr.w r7, [sp], #4
- 8000c26: 4770 bx lr
- 8000c28: e000ed00 .word 0xe000ed00
+ 8000bca: 4618 mov r0, r3
+ 8000bcc: 46bd mov sp, r7
+ 8000bce: f85d 7b04 ldr.w r7, [sp], #4
+ 8000bd2: 4770 bx lr
+ 8000bd4: e000ed00 .word 0xe000ed00
-08000c2c <__NVIC_EnableIRQ>:
+08000bd8 <__NVIC_EnableIRQ>:
\details Enables a device specific interrupt in the NVIC interrupt controller.
\param [in] IRQn Device specific interrupt number.
\note IRQn must not be negative.
*/
__STATIC_INLINE void __NVIC_EnableIRQ(IRQn_Type IRQn)
{
- 8000c2c: b480 push {r7}
- 8000c2e: b083 sub sp, #12
- 8000c30: af00 add r7, sp, #0
- 8000c32: 4603 mov r3, r0
- 8000c34: 71fb strb r3, [r7, #7]
+ 8000bd8: b480 push {r7}
+ 8000bda: b083 sub sp, #12
+ 8000bdc: af00 add r7, sp, #0
+ 8000bde: 4603 mov r3, r0
+ 8000be0: 71fb strb r3, [r7, #7]
if ((int32_t)(IRQn) >= 0)
- 8000c36: f997 3007 ldrsb.w r3, [r7, #7]
- 8000c3a: 2b00 cmp r3, #0
- 8000c3c: db0b blt.n 8000c56 <__NVIC_EnableIRQ+0x2a>
+ 8000be2: f997 3007 ldrsb.w r3, [r7, #7]
+ 8000be6: 2b00 cmp r3, #0
+ 8000be8: db0b blt.n 8000c02 <__NVIC_EnableIRQ+0x2a>
{
NVIC->ISER[(((uint32_t)IRQn) >> 5UL)] = (uint32_t)(1UL << (((uint32_t)IRQn) & 0x1FUL));
- 8000c3e: 79fb ldrb r3, [r7, #7]
- 8000c40: f003 021f and.w r2, r3, #31
- 8000c44: 4907 ldr r1, [pc, #28] ; (8000c64 <__NVIC_EnableIRQ+0x38>)
- 8000c46: f997 3007 ldrsb.w r3, [r7, #7]
- 8000c4a: 095b lsrs r3, r3, #5
- 8000c4c: 2001 movs r0, #1
- 8000c4e: fa00 f202 lsl.w r2, r0, r2
- 8000c52: f841 2023 str.w r2, [r1, r3, lsl #2]
+ 8000bea: 79fb ldrb r3, [r7, #7]
+ 8000bec: f003 021f and.w r2, r3, #31
+ 8000bf0: 4907 ldr r1, [pc, #28] ; (8000c10 <__NVIC_EnableIRQ+0x38>)
+ 8000bf2: f997 3007 ldrsb.w r3, [r7, #7]
+ 8000bf6: 095b lsrs r3, r3, #5
+ 8000bf8: 2001 movs r0, #1
+ 8000bfa: fa00 f202 lsl.w r2, r0, r2
+ 8000bfe: f841 2023 str.w r2, [r1, r3, lsl #2]
}
}
- 8000c56: bf00 nop
- 8000c58: 370c adds r7, #12
- 8000c5a: 46bd mov sp, r7
- 8000c5c: f85d 7b04 ldr.w r7, [sp], #4
- 8000c60: 4770 bx lr
- 8000c62: bf00 nop
- 8000c64: e000e100 .word 0xe000e100
-
-08000c68 <__NVIC_SetPriority>:
+ 8000c02: bf00 nop
+ 8000c04: 370c adds r7, #12
+ 8000c06: 46bd mov sp, r7
+ 8000c08: f85d 7b04 ldr.w r7, [sp], #4
+ 8000c0c: 4770 bx lr
+ 8000c0e: bf00 nop
+ 8000c10: e000e100 .word 0xe000e100
+
+08000c14 <__NVIC_SetPriority>:
\param [in] IRQn Interrupt number.
\param [in] priority Priority to set.
\note The priority cannot be set for every processor exception.
*/
__STATIC_INLINE void __NVIC_SetPriority(IRQn_Type IRQn, uint32_t priority)
{
- 8000c68: b480 push {r7}
- 8000c6a: b083 sub sp, #12
- 8000c6c: af00 add r7, sp, #0
- 8000c6e: 4603 mov r3, r0
- 8000c70: 6039 str r1, [r7, #0]
- 8000c72: 71fb strb r3, [r7, #7]
+ 8000c14: b480 push {r7}
+ 8000c16: b083 sub sp, #12
+ 8000c18: af00 add r7, sp, #0
+ 8000c1a: 4603 mov r3, r0
+ 8000c1c: 6039 str r1, [r7, #0]
+ 8000c1e: 71fb strb r3, [r7, #7]
if ((int32_t)(IRQn) >= 0)
- 8000c74: f997 3007 ldrsb.w r3, [r7, #7]
- 8000c78: 2b00 cmp r3, #0
- 8000c7a: db0a blt.n 8000c92 <__NVIC_SetPriority+0x2a>
+ 8000c20: f997 3007 ldrsb.w r3, [r7, #7]
+ 8000c24: 2b00 cmp r3, #0
+ 8000c26: db0a blt.n 8000c3e <__NVIC_SetPriority+0x2a>
{
NVIC->IP[((uint32_t)IRQn)] = (uint8_t)((priority << (8U - __NVIC_PRIO_BITS)) & (uint32_t)0xFFUL);
- 8000c7c: 683b ldr r3, [r7, #0]
- 8000c7e: b2da uxtb r2, r3
- 8000c80: 490c ldr r1, [pc, #48] ; (8000cb4 <__NVIC_SetPriority+0x4c>)
- 8000c82: f997 3007 ldrsb.w r3, [r7, #7]
- 8000c86: 0112 lsls r2, r2, #4
- 8000c88: b2d2 uxtb r2, r2
- 8000c8a: 440b add r3, r1
- 8000c8c: f883 2300 strb.w r2, [r3, #768] ; 0x300
+ 8000c28: 683b ldr r3, [r7, #0]
+ 8000c2a: b2da uxtb r2, r3
+ 8000c2c: 490c ldr r1, [pc, #48] ; (8000c60 <__NVIC_SetPriority+0x4c>)
+ 8000c2e: f997 3007 ldrsb.w r3, [r7, #7]
+ 8000c32: 0112 lsls r2, r2, #4
+ 8000c34: b2d2 uxtb r2, r2
+ 8000c36: 440b add r3, r1
+ 8000c38: f883 2300 strb.w r2, [r3, #768] ; 0x300
}
else
{
SCB->SHPR[(((uint32_t)IRQn) & 0xFUL)-4UL] = (uint8_t)((priority << (8U - __NVIC_PRIO_BITS)) & (uint32_t)0xFFUL);
}
}
- 8000c90: e00a b.n 8000ca8 <__NVIC_SetPriority+0x40>
+ 8000c3c: e00a b.n 8000c54 <__NVIC_SetPriority+0x40>
SCB->SHPR[(((uint32_t)IRQn) & 0xFUL)-4UL] = (uint8_t)((priority << (8U - __NVIC_PRIO_BITS)) & (uint32_t)0xFFUL);
- 8000c92: 683b ldr r3, [r7, #0]
- 8000c94: b2da uxtb r2, r3
- 8000c96: 4908 ldr r1, [pc, #32] ; (8000cb8 <__NVIC_SetPriority+0x50>)
- 8000c98: 79fb ldrb r3, [r7, #7]
- 8000c9a: f003 030f and.w r3, r3, #15
- 8000c9e: 3b04 subs r3, #4
- 8000ca0: 0112 lsls r2, r2, #4
- 8000ca2: b2d2 uxtb r2, r2
- 8000ca4: 440b add r3, r1
- 8000ca6: 761a strb r2, [r3, #24]
+ 8000c3e: 683b ldr r3, [r7, #0]
+ 8000c40: b2da uxtb r2, r3
+ 8000c42: 4908 ldr r1, [pc, #32] ; (8000c64 <__NVIC_SetPriority+0x50>)
+ 8000c44: 79fb ldrb r3, [r7, #7]
+ 8000c46: f003 030f and.w r3, r3, #15
+ 8000c4a: 3b04 subs r3, #4
+ 8000c4c: 0112 lsls r2, r2, #4
+ 8000c4e: b2d2 uxtb r2, r2
+ 8000c50: 440b add r3, r1
+ 8000c52: 761a strb r2, [r3, #24]
}
- 8000ca8: bf00 nop
- 8000caa: 370c adds r7, #12
- 8000cac: 46bd mov sp, r7
- 8000cae: f85d 7b04 ldr.w r7, [sp], #4
- 8000cb2: 4770 bx lr
- 8000cb4: e000e100 .word 0xe000e100
- 8000cb8: e000ed00 .word 0xe000ed00
-
-08000cbc <NVIC_EncodePriority>:
+ 8000c54: bf00 nop
+ 8000c56: 370c adds r7, #12
+ 8000c58: 46bd mov sp, r7
+ 8000c5a: f85d 7b04 ldr.w r7, [sp], #4
+ 8000c5e: 4770 bx lr
+ 8000c60: e000e100 .word 0xe000e100
+ 8000c64: e000ed00 .word 0xe000ed00
+
+08000c68 <NVIC_EncodePriority>:
\param [in] PreemptPriority Preemptive priority value (starting from 0).
\param [in] SubPriority Subpriority value (starting from 0).
\return Encoded priority. Value can be used in the function \ref NVIC_SetPriority().
*/
__STATIC_INLINE uint32_t NVIC_EncodePriority (uint32_t PriorityGroup, uint32_t PreemptPriority, uint32_t SubPriority)
{
- 8000cbc: b480 push {r7}
- 8000cbe: b089 sub sp, #36 ; 0x24
- 8000cc0: af00 add r7, sp, #0
- 8000cc2: 60f8 str r0, [r7, #12]
- 8000cc4: 60b9 str r1, [r7, #8]
- 8000cc6: 607a str r2, [r7, #4]
+ 8000c68: b480 push {r7}
+ 8000c6a: b089 sub sp, #36 ; 0x24
+ 8000c6c: af00 add r7, sp, #0
+ 8000c6e: 60f8 str r0, [r7, #12]
+ 8000c70: 60b9 str r1, [r7, #8]
+ 8000c72: 607a str r2, [r7, #4]
uint32_t PriorityGroupTmp = (PriorityGroup & (uint32_t)0x07UL); /* only values 0..7 are used */
- 8000cc8: 68fb ldr r3, [r7, #12]
- 8000cca: f003 0307 and.w r3, r3, #7
- 8000cce: 61fb str r3, [r7, #28]
+ 8000c74: 68fb ldr r3, [r7, #12]
+ 8000c76: f003 0307 and.w r3, r3, #7
+ 8000c7a: 61fb str r3, [r7, #28]
uint32_t PreemptPriorityBits;
uint32_t SubPriorityBits;
PreemptPriorityBits = ((7UL - PriorityGroupTmp) > (uint32_t)(__NVIC_PRIO_BITS)) ? (uint32_t)(__NVIC_PRIO_BITS) : (uint32_t)(7UL - PriorityGroupTmp);
- 8000cd0: 69fb ldr r3, [r7, #28]
- 8000cd2: f1c3 0307 rsb r3, r3, #7
- 8000cd6: 2b04 cmp r3, #4
- 8000cd8: bf28 it cs
- 8000cda: 2304 movcs r3, #4
- 8000cdc: 61bb str r3, [r7, #24]
+ 8000c7c: 69fb ldr r3, [r7, #28]
+ 8000c7e: f1c3 0307 rsb r3, r3, #7
+ 8000c82: 2b04 cmp r3, #4
+ 8000c84: bf28 it cs
+ 8000c86: 2304 movcs r3, #4
+ 8000c88: 61bb str r3, [r7, #24]
SubPriorityBits = ((PriorityGroupTmp + (uint32_t)(__NVIC_PRIO_BITS)) < (uint32_t)7UL) ? (uint32_t)0UL : (uint32_t)((PriorityGroupTmp - 7UL) + (uint32_t)(__NVIC_PRIO_BITS));
- 8000cde: 69fb ldr r3, [r7, #28]
- 8000ce0: 3304 adds r3, #4
- 8000ce2: 2b06 cmp r3, #6
- 8000ce4: d902 bls.n 8000cec <NVIC_EncodePriority+0x30>
- 8000ce6: 69fb ldr r3, [r7, #28]
- 8000ce8: 3b03 subs r3, #3
- 8000cea: e000 b.n 8000cee <NVIC_EncodePriority+0x32>
- 8000cec: 2300 movs r3, #0
- 8000cee: 617b str r3, [r7, #20]
+ 8000c8a: 69fb ldr r3, [r7, #28]
+ 8000c8c: 3304 adds r3, #4
+ 8000c8e: 2b06 cmp r3, #6
+ 8000c90: d902 bls.n 8000c98 <NVIC_EncodePriority+0x30>
+ 8000c92: 69fb ldr r3, [r7, #28]
+ 8000c94: 3b03 subs r3, #3
+ 8000c96: e000 b.n 8000c9a <NVIC_EncodePriority+0x32>
+ 8000c98: 2300 movs r3, #0
+ 8000c9a: 617b str r3, [r7, #20]
return (
((PreemptPriority & (uint32_t)((1UL << (PreemptPriorityBits)) - 1UL)) << SubPriorityBits) |
- 8000cf0: f04f 32ff mov.w r2, #4294967295 ; 0xffffffff
- 8000cf4: 69bb ldr r3, [r7, #24]
- 8000cf6: fa02 f303 lsl.w r3, r2, r3
- 8000cfa: 43da mvns r2, r3
- 8000cfc: 68bb ldr r3, [r7, #8]
- 8000cfe: 401a ands r2, r3
- 8000d00: 697b ldr r3, [r7, #20]
- 8000d02: 409a lsls r2, r3
+ 8000c9c: f04f 32ff mov.w r2, #4294967295 ; 0xffffffff
+ 8000ca0: 69bb ldr r3, [r7, #24]
+ 8000ca2: fa02 f303 lsl.w r3, r2, r3
+ 8000ca6: 43da mvns r2, r3
+ 8000ca8: 68bb ldr r3, [r7, #8]
+ 8000caa: 401a ands r2, r3
+ 8000cac: 697b ldr r3, [r7, #20]
+ 8000cae: 409a lsls r2, r3
((SubPriority & (uint32_t)((1UL << (SubPriorityBits )) - 1UL)))
- 8000d04: f04f 31ff mov.w r1, #4294967295 ; 0xffffffff
- 8000d08: 697b ldr r3, [r7, #20]
- 8000d0a: fa01 f303 lsl.w r3, r1, r3
- 8000d0e: 43d9 mvns r1, r3
- 8000d10: 687b ldr r3, [r7, #4]
- 8000d12: 400b ands r3, r1
+ 8000cb0: f04f 31ff mov.w r1, #4294967295 ; 0xffffffff
+ 8000cb4: 697b ldr r3, [r7, #20]
+ 8000cb6: fa01 f303 lsl.w r3, r1, r3
+ 8000cba: 43d9 mvns r1, r3
+ 8000cbc: 687b ldr r3, [r7, #4]
+ 8000cbe: 400b ands r3, r1
((PreemptPriority & (uint32_t)((1UL << (PreemptPriorityBits)) - 1UL)) << SubPriorityBits) |
- 8000d14: 4313 orrs r3, r2
+ 8000cc0: 4313 orrs r3, r2
);
}
- 8000d16: 4618 mov r0, r3
- 8000d18: 3724 adds r7, #36 ; 0x24
- 8000d1a: 46bd mov sp, r7
- 8000d1c: f85d 7b04 ldr.w r7, [sp], #4
- 8000d20: 4770 bx lr
+ 8000cc2: 4618 mov r0, r3
+ 8000cc4: 3724 adds r7, #36 ; 0x24
+ 8000cc6: 46bd mov sp, r7
+ 8000cc8: f85d 7b04 ldr.w r7, [sp], #4
+ 8000ccc: 4770 bx lr
...
-08000d24 <SysTick_Config>:
+08000cd0 <SysTick_Config>:
\note When the variable <b>__Vendor_SysTickConfig</b> is set to 1, then the
function <b>SysTick_Config</b> is not included. In this case, the file <b><i>device</i>.h</b>
must contain a vendor-specific implementation of this function.
*/
__STATIC_INLINE uint32_t SysTick_Config(uint32_t ticks)
{
- 8000d24: b580 push {r7, lr}
- 8000d26: b082 sub sp, #8
- 8000d28: af00 add r7, sp, #0
- 8000d2a: 6078 str r0, [r7, #4]
+ 8000cd0: b580 push {r7, lr}
+ 8000cd2: b082 sub sp, #8
+ 8000cd4: af00 add r7, sp, #0
+ 8000cd6: 6078 str r0, [r7, #4]
if ((ticks - 1UL) > SysTick_LOAD_RELOAD_Msk)
- 8000d2c: 687b ldr r3, [r7, #4]
- 8000d2e: 3b01 subs r3, #1
- 8000d30: f1b3 7f80 cmp.w r3, #16777216 ; 0x1000000
- 8000d34: d301 bcc.n 8000d3a <SysTick_Config+0x16>
+ 8000cd8: 687b ldr r3, [r7, #4]
+ 8000cda: 3b01 subs r3, #1
+ 8000cdc: f1b3 7f80 cmp.w r3, #16777216 ; 0x1000000
+ 8000ce0: d301 bcc.n 8000ce6 <SysTick_Config+0x16>
{
return (1UL); /* Reload value impossible */
- 8000d36: 2301 movs r3, #1
- 8000d38: e00f b.n 8000d5a <SysTick_Config+0x36>
+ 8000ce2: 2301 movs r3, #1
+ 8000ce4: e00f b.n 8000d06 <SysTick_Config+0x36>
}
SysTick->LOAD = (uint32_t)(ticks - 1UL); /* set reload register */
- 8000d3a: 4a0a ldr r2, [pc, #40] ; (8000d64 <SysTick_Config+0x40>)
- 8000d3c: 687b ldr r3, [r7, #4]
- 8000d3e: 3b01 subs r3, #1
- 8000d40: 6053 str r3, [r2, #4]
+ 8000ce6: 4a0a ldr r2, [pc, #40] ; (8000d10 <SysTick_Config+0x40>)
+ 8000ce8: 687b ldr r3, [r7, #4]
+ 8000cea: 3b01 subs r3, #1
+ 8000cec: 6053 str r3, [r2, #4]
NVIC_SetPriority (SysTick_IRQn, (1UL << __NVIC_PRIO_BITS) - 1UL); /* set Priority for Systick Interrupt */
- 8000d42: 210f movs r1, #15
- 8000d44: f04f 30ff mov.w r0, #4294967295 ; 0xffffffff
- 8000d48: f7ff ff8e bl 8000c68 <__NVIC_SetPriority>
+ 8000cee: 210f movs r1, #15
+ 8000cf0: f04f 30ff mov.w r0, #4294967295 ; 0xffffffff
+ 8000cf4: f7ff ff8e bl 8000c14 <__NVIC_SetPriority>
SysTick->VAL = 0UL; /* Load the SysTick Counter Value */
- 8000d4c: 4b05 ldr r3, [pc, #20] ; (8000d64 <SysTick_Config+0x40>)
- 8000d4e: 2200 movs r2, #0
- 8000d50: 609a str r2, [r3, #8]
+ 8000cf8: 4b05 ldr r3, [pc, #20] ; (8000d10 <SysTick_Config+0x40>)
+ 8000cfa: 2200 movs r2, #0
+ 8000cfc: 609a str r2, [r3, #8]
SysTick->CTRL = SysTick_CTRL_CLKSOURCE_Msk |
- 8000d52: 4b04 ldr r3, [pc, #16] ; (8000d64 <SysTick_Config+0x40>)
- 8000d54: 2207 movs r2, #7
- 8000d56: 601a str r2, [r3, #0]
+ 8000cfe: 4b04 ldr r3, [pc, #16] ; (8000d10 <SysTick_Config+0x40>)
+ 8000d00: 2207 movs r2, #7
+ 8000d02: 601a str r2, [r3, #0]
SysTick_CTRL_TICKINT_Msk |
SysTick_CTRL_ENABLE_Msk; /* Enable SysTick IRQ and SysTick Timer */
return (0UL); /* Function successful */
- 8000d58: 2300 movs r3, #0
+ 8000d04: 2300 movs r3, #0
}
- 8000d5a: 4618 mov r0, r3
- 8000d5c: 3708 adds r7, #8
- 8000d5e: 46bd mov sp, r7
- 8000d60: bd80 pop {r7, pc}
- 8000d62: bf00 nop
- 8000d64: e000e010 .word 0xe000e010
-
-08000d68 <HAL_NVIC_SetPriorityGrouping>:
+ 8000d06: 4618 mov r0, r3
+ 8000d08: 3708 adds r7, #8
+ 8000d0a: 46bd mov sp, r7
+ 8000d0c: bd80 pop {r7, pc}
+ 8000d0e: bf00 nop
+ 8000d10: e000e010 .word 0xe000e010
+
+08000d14 <HAL_NVIC_SetPriorityGrouping>:
* @note When the NVIC_PriorityGroup_0 is selected, IRQ preemption is no more possible.
* The pending IRQ priority will be managed only by the subpriority.
* @retval None
*/
void HAL_NVIC_SetPriorityGrouping(uint32_t PriorityGroup)
{
- 8000d68: b580 push {r7, lr}
- 8000d6a: b082 sub sp, #8
- 8000d6c: af00 add r7, sp, #0
- 8000d6e: 6078 str r0, [r7, #4]
+ 8000d14: b580 push {r7, lr}
+ 8000d16: b082 sub sp, #8
+ 8000d18: af00 add r7, sp, #0
+ 8000d1a: 6078 str r0, [r7, #4]
/* Check the parameters */
assert_param(IS_NVIC_PRIORITY_GROUP(PriorityGroup));
/* Set the PRIGROUP[10:8] bits according to the PriorityGroup parameter value */
NVIC_SetPriorityGrouping(PriorityGroup);
- 8000d70: 6878 ldr r0, [r7, #4]
- 8000d72: f7ff ff29 bl 8000bc8 <__NVIC_SetPriorityGrouping>
+ 8000d1c: 6878 ldr r0, [r7, #4]
+ 8000d1e: f7ff ff29 bl 8000b74 <__NVIC_SetPriorityGrouping>
}
- 8000d76: bf00 nop
- 8000d78: 3708 adds r7, #8
- 8000d7a: 46bd mov sp, r7
- 8000d7c: bd80 pop {r7, pc}
+ 8000d22: bf00 nop
+ 8000d24: 3708 adds r7, #8
+ 8000d26: 46bd mov sp, r7
+ 8000d28: bd80 pop {r7, pc}
-08000d7e <HAL_NVIC_SetPriority>:
+08000d2a <HAL_NVIC_SetPriority>:
* This parameter can be a value between 0 and 15
* A lower priority value indicates a higher priority.
* @retval None
*/
void HAL_NVIC_SetPriority(IRQn_Type IRQn, uint32_t PreemptPriority, uint32_t SubPriority)
{
- 8000d7e: b580 push {r7, lr}
- 8000d80: b086 sub sp, #24
- 8000d82: af00 add r7, sp, #0
- 8000d84: 4603 mov r3, r0
- 8000d86: 60b9 str r1, [r7, #8]
- 8000d88: 607a str r2, [r7, #4]
- 8000d8a: 73fb strb r3, [r7, #15]
+ 8000d2a: b580 push {r7, lr}
+ 8000d2c: b086 sub sp, #24
+ 8000d2e: af00 add r7, sp, #0
+ 8000d30: 4603 mov r3, r0
+ 8000d32: 60b9 str r1, [r7, #8]
+ 8000d34: 607a str r2, [r7, #4]
+ 8000d36: 73fb strb r3, [r7, #15]
uint32_t prioritygroup = 0x00;
- 8000d8c: 2300 movs r3, #0
- 8000d8e: 617b str r3, [r7, #20]
+ 8000d38: 2300 movs r3, #0
+ 8000d3a: 617b str r3, [r7, #20]
/* Check the parameters */
assert_param(IS_NVIC_SUB_PRIORITY(SubPriority));
assert_param(IS_NVIC_PREEMPTION_PRIORITY(PreemptPriority));
prioritygroup = NVIC_GetPriorityGrouping();
- 8000d90: f7ff ff3e bl 8000c10 <__NVIC_GetPriorityGrouping>
- 8000d94: 6178 str r0, [r7, #20]
+ 8000d3c: f7ff ff3e bl 8000bbc <__NVIC_GetPriorityGrouping>
+ 8000d40: 6178 str r0, [r7, #20]
NVIC_SetPriority(IRQn, NVIC_EncodePriority(prioritygroup, PreemptPriority, SubPriority));
- 8000d96: 687a ldr r2, [r7, #4]
- 8000d98: 68b9 ldr r1, [r7, #8]
- 8000d9a: 6978 ldr r0, [r7, #20]
- 8000d9c: f7ff ff8e bl 8000cbc <NVIC_EncodePriority>
- 8000da0: 4602 mov r2, r0
- 8000da2: f997 300f ldrsb.w r3, [r7, #15]
- 8000da6: 4611 mov r1, r2
- 8000da8: 4618 mov r0, r3
- 8000daa: f7ff ff5d bl 8000c68 <__NVIC_SetPriority>
+ 8000d42: 687a ldr r2, [r7, #4]
+ 8000d44: 68b9 ldr r1, [r7, #8]
+ 8000d46: 6978 ldr r0, [r7, #20]
+ 8000d48: f7ff ff8e bl 8000c68 <NVIC_EncodePriority>
+ 8000d4c: 4602 mov r2, r0
+ 8000d4e: f997 300f ldrsb.w r3, [r7, #15]
+ 8000d52: 4611 mov r1, r2
+ 8000d54: 4618 mov r0, r3
+ 8000d56: f7ff ff5d bl 8000c14 <__NVIC_SetPriority>
}
- 8000dae: bf00 nop
- 8000db0: 3718 adds r7, #24
- 8000db2: 46bd mov sp, r7
- 8000db4: bd80 pop {r7, pc}
+ 8000d5a: bf00 nop
+ 8000d5c: 3718 adds r7, #24
+ 8000d5e: 46bd mov sp, r7
+ 8000d60: bd80 pop {r7, pc}
-08000db6 <HAL_NVIC_EnableIRQ>:
+08000d62 <HAL_NVIC_EnableIRQ>:
* This parameter can be an enumerator of IRQn_Type enumeration
* (For the complete STM32 Devices IRQ Channels list, please refer to the appropriate CMSIS device file (stm32f7xxxx.h))
* @retval None
*/
void HAL_NVIC_EnableIRQ(IRQn_Type IRQn)
{
- 8000db6: b580 push {r7, lr}
- 8000db8: b082 sub sp, #8
- 8000dba: af00 add r7, sp, #0
- 8000dbc: 4603 mov r3, r0
- 8000dbe: 71fb strb r3, [r7, #7]
+ 8000d62: b580 push {r7, lr}
+ 8000d64: b082 sub sp, #8
+ 8000d66: af00 add r7, sp, #0
+ 8000d68: 4603 mov r3, r0
+ 8000d6a: 71fb strb r3, [r7, #7]
/* Check the parameters */
assert_param(IS_NVIC_DEVICE_IRQ(IRQn));
/* Enable interrupt */
NVIC_EnableIRQ(IRQn);
- 8000dc0: f997 3007 ldrsb.w r3, [r7, #7]
- 8000dc4: 4618 mov r0, r3
- 8000dc6: f7ff ff31 bl 8000c2c <__NVIC_EnableIRQ>
+ 8000d6c: f997 3007 ldrsb.w r3, [r7, #7]
+ 8000d70: 4618 mov r0, r3
+ 8000d72: f7ff ff31 bl 8000bd8 <__NVIC_EnableIRQ>
}
- 8000dca: bf00 nop
- 8000dcc: 3708 adds r7, #8
- 8000dce: 46bd mov sp, r7
- 8000dd0: bd80 pop {r7, pc}
+ 8000d76: bf00 nop
+ 8000d78: 3708 adds r7, #8
+ 8000d7a: 46bd mov sp, r7
+ 8000d7c: bd80 pop {r7, pc}
-08000dd2 <HAL_SYSTICK_Config>:
+08000d7e <HAL_SYSTICK_Config>:
* @param TicksNumb Specifies the ticks Number of ticks between two interrupts.
* @retval status: - 0 Function succeeded.
* - 1 Function failed.
*/
uint32_t HAL_SYSTICK_Config(uint32_t TicksNumb)
{
- 8000dd2: b580 push {r7, lr}
- 8000dd4: b082 sub sp, #8
- 8000dd6: af00 add r7, sp, #0
- 8000dd8: 6078 str r0, [r7, #4]
+ 8000d7e: b580 push {r7, lr}
+ 8000d80: b082 sub sp, #8
+ 8000d82: af00 add r7, sp, #0
+ 8000d84: 6078 str r0, [r7, #4]
return SysTick_Config(TicksNumb);
- 8000dda: 6878 ldr r0, [r7, #4]
- 8000ddc: f7ff ffa2 bl 8000d24 <SysTick_Config>
- 8000de0: 4603 mov r3, r0
+ 8000d86: 6878 ldr r0, [r7, #4]
+ 8000d88: f7ff ffa2 bl 8000cd0 <SysTick_Config>
+ 8000d8c: 4603 mov r3, r0
}
- 8000de2: 4618 mov r0, r3
- 8000de4: 3708 adds r7, #8
- 8000de6: 46bd mov sp, r7
- 8000de8: bd80 pop {r7, pc}
+ 8000d8e: 4618 mov r0, r3
+ 8000d90: 3708 adds r7, #8
+ 8000d92: 46bd mov sp, r7
+ 8000d94: bd80 pop {r7, pc}
-08000dea <HAL_DMA_Abort_IT>:
+08000d96 <HAL_DMA_Abort_IT>:
* @param hdma pointer to a DMA_HandleTypeDef structure that contains
* the configuration information for the specified DMA Stream.
* @retval HAL status
*/
HAL_StatusTypeDef HAL_DMA_Abort_IT(DMA_HandleTypeDef *hdma)
{
- 8000dea: b480 push {r7}
- 8000dec: b083 sub sp, #12
- 8000dee: af00 add r7, sp, #0
- 8000df0: 6078 str r0, [r7, #4]
+ 8000d96: b480 push {r7}
+ 8000d98: b083 sub sp, #12
+ 8000d9a: af00 add r7, sp, #0
+ 8000d9c: 6078 str r0, [r7, #4]
if(hdma->State != HAL_DMA_STATE_BUSY)
- 8000df2: 687b ldr r3, [r7, #4]
- 8000df4: f893 3035 ldrb.w r3, [r3, #53] ; 0x35
- 8000df8: b2db uxtb r3, r3
- 8000dfa: 2b02 cmp r3, #2
- 8000dfc: d004 beq.n 8000e08 <HAL_DMA_Abort_IT+0x1e>
+ 8000d9e: 687b ldr r3, [r7, #4]
+ 8000da0: f893 3035 ldrb.w r3, [r3, #53] ; 0x35
+ 8000da4: b2db uxtb r3, r3
+ 8000da6: 2b02 cmp r3, #2
+ 8000da8: d004 beq.n 8000db4 <HAL_DMA_Abort_IT+0x1e>
{
hdma->ErrorCode = HAL_DMA_ERROR_NO_XFER;
- 8000dfe: 687b ldr r3, [r7, #4]
- 8000e00: 2280 movs r2, #128 ; 0x80
- 8000e02: 655a str r2, [r3, #84] ; 0x54
+ 8000daa: 687b ldr r3, [r7, #4]
+ 8000dac: 2280 movs r2, #128 ; 0x80
+ 8000dae: 655a str r2, [r3, #84] ; 0x54
return HAL_ERROR;
- 8000e04: 2301 movs r3, #1
- 8000e06: e00c b.n 8000e22 <HAL_DMA_Abort_IT+0x38>
+ 8000db0: 2301 movs r3, #1
+ 8000db2: e00c b.n 8000dce <HAL_DMA_Abort_IT+0x38>
}
else
{
/* Set Abort State */
hdma->State = HAL_DMA_STATE_ABORT;
- 8000e08: 687b ldr r3, [r7, #4]
- 8000e0a: 2205 movs r2, #5
- 8000e0c: f883 2035 strb.w r2, [r3, #53] ; 0x35
+ 8000db4: 687b ldr r3, [r7, #4]
+ 8000db6: 2205 movs r2, #5
+ 8000db8: f883 2035 strb.w r2, [r3, #53] ; 0x35
/* Disable the stream */
__HAL_DMA_DISABLE(hdma);
- 8000e10: 687b ldr r3, [r7, #4]
- 8000e12: 681b ldr r3, [r3, #0]
- 8000e14: 681a ldr r2, [r3, #0]
- 8000e16: 687b ldr r3, [r7, #4]
- 8000e18: 681b ldr r3, [r3, #0]
- 8000e1a: f022 0201 bic.w r2, r2, #1
- 8000e1e: 601a str r2, [r3, #0]
+ 8000dbc: 687b ldr r3, [r7, #4]
+ 8000dbe: 681b ldr r3, [r3, #0]
+ 8000dc0: 681a ldr r2, [r3, #0]
+ 8000dc2: 687b ldr r3, [r7, #4]
+ 8000dc4: 681b ldr r3, [r3, #0]
+ 8000dc6: f022 0201 bic.w r2, r2, #1
+ 8000dca: 601a str r2, [r3, #0]
}
return HAL_OK;
- 8000e20: 2300 movs r3, #0
+ 8000dcc: 2300 movs r3, #0
}
- 8000e22: 4618 mov r0, r3
- 8000e24: 370c adds r7, #12
- 8000e26: 46bd mov sp, r7
- 8000e28: f85d 7b04 ldr.w r7, [sp], #4
- 8000e2c: 4770 bx lr
+ 8000dce: 4618 mov r0, r3
+ 8000dd0: 370c adds r7, #12
+ 8000dd2: 46bd mov sp, r7
+ 8000dd4: f85d 7b04 ldr.w r7, [sp], #4
+ 8000dd8: 4770 bx lr
...
-08000e30 <HAL_GPIO_Init>:
+08000ddc <HAL_GPIO_Init>:
* @param GPIO_Init pointer to a GPIO_InitTypeDef structure that contains
* the configuration information for the specified GPIO peripheral.
* @retval None
*/
void HAL_GPIO_Init(GPIO_TypeDef *GPIOx, GPIO_InitTypeDef *GPIO_Init)
{
- 8000e30: b480 push {r7}
- 8000e32: b089 sub sp, #36 ; 0x24
- 8000e34: af00 add r7, sp, #0
- 8000e36: 6078 str r0, [r7, #4]
- 8000e38: 6039 str r1, [r7, #0]
+ 8000ddc: b480 push {r7}
+ 8000dde: b089 sub sp, #36 ; 0x24
+ 8000de0: af00 add r7, sp, #0
+ 8000de2: 6078 str r0, [r7, #4]
+ 8000de4: 6039 str r1, [r7, #0]
uint32_t position = 0x00;
- 8000e3a: 2300 movs r3, #0
- 8000e3c: 61fb str r3, [r7, #28]
+ 8000de6: 2300 movs r3, #0
+ 8000de8: 61fb str r3, [r7, #28]
uint32_t ioposition = 0x00;
- 8000e3e: 2300 movs r3, #0
- 8000e40: 617b str r3, [r7, #20]
+ 8000dea: 2300 movs r3, #0
+ 8000dec: 617b str r3, [r7, #20]
uint32_t iocurrent = 0x00;
- 8000e42: 2300 movs r3, #0
- 8000e44: 613b str r3, [r7, #16]
+ 8000dee: 2300 movs r3, #0
+ 8000df0: 613b str r3, [r7, #16]
uint32_t temp = 0x00;
- 8000e46: 2300 movs r3, #0
- 8000e48: 61bb str r3, [r7, #24]
+ 8000df2: 2300 movs r3, #0
+ 8000df4: 61bb str r3, [r7, #24]
assert_param(IS_GPIO_PIN(GPIO_Init->Pin));
assert_param(IS_GPIO_MODE(GPIO_Init->Mode));
assert_param(IS_GPIO_PULL(GPIO_Init->Pull));
/* Configure the port pins */
for(position = 0; position < GPIO_NUMBER; position++)
- 8000e4a: 2300 movs r3, #0
- 8000e4c: 61fb str r3, [r7, #28]
- 8000e4e: e175 b.n 800113c <HAL_GPIO_Init+0x30c>
+ 8000df6: 2300 movs r3, #0
+ 8000df8: 61fb str r3, [r7, #28]
+ 8000dfa: e175 b.n 80010e8 <HAL_GPIO_Init+0x30c>
{
/* Get the IO position */
ioposition = ((uint32_t)0x01) << position;
- 8000e50: 2201 movs r2, #1
- 8000e52: 69fb ldr r3, [r7, #28]
- 8000e54: fa02 f303 lsl.w r3, r2, r3
- 8000e58: 617b str r3, [r7, #20]
+ 8000dfc: 2201 movs r2, #1
+ 8000dfe: 69fb ldr r3, [r7, #28]
+ 8000e00: fa02 f303 lsl.w r3, r2, r3
+ 8000e04: 617b str r3, [r7, #20]
/* Get the current IO position */
iocurrent = (uint32_t)(GPIO_Init->Pin) & ioposition;
- 8000e5a: 683b ldr r3, [r7, #0]
- 8000e5c: 681b ldr r3, [r3, #0]
- 8000e5e: 697a ldr r2, [r7, #20]
- 8000e60: 4013 ands r3, r2
- 8000e62: 613b str r3, [r7, #16]
+ 8000e06: 683b ldr r3, [r7, #0]
+ 8000e08: 681b ldr r3, [r3, #0]
+ 8000e0a: 697a ldr r2, [r7, #20]
+ 8000e0c: 4013 ands r3, r2
+ 8000e0e: 613b str r3, [r7, #16]
if(iocurrent == ioposition)
- 8000e64: 693a ldr r2, [r7, #16]
- 8000e66: 697b ldr r3, [r7, #20]
- 8000e68: 429a cmp r2, r3
- 8000e6a: f040 8164 bne.w 8001136 <HAL_GPIO_Init+0x306>
+ 8000e10: 693a ldr r2, [r7, #16]
+ 8000e12: 697b ldr r3, [r7, #20]
+ 8000e14: 429a cmp r2, r3
+ 8000e16: f040 8164 bne.w 80010e2 <HAL_GPIO_Init+0x306>
{
/*--------------------- GPIO Mode Configuration ------------------------*/
/* In case of Alternate function mode selection */
if((GPIO_Init->Mode == GPIO_MODE_AF_PP) || (GPIO_Init->Mode == GPIO_MODE_AF_OD))
- 8000e6e: 683b ldr r3, [r7, #0]
- 8000e70: 685b ldr r3, [r3, #4]
- 8000e72: 2b02 cmp r3, #2
- 8000e74: d003 beq.n 8000e7e <HAL_GPIO_Init+0x4e>
- 8000e76: 683b ldr r3, [r7, #0]
- 8000e78: 685b ldr r3, [r3, #4]
- 8000e7a: 2b12 cmp r3, #18
- 8000e7c: d123 bne.n 8000ec6 <HAL_GPIO_Init+0x96>
+ 8000e1a: 683b ldr r3, [r7, #0]
+ 8000e1c: 685b ldr r3, [r3, #4]
+ 8000e1e: 2b02 cmp r3, #2
+ 8000e20: d003 beq.n 8000e2a <HAL_GPIO_Init+0x4e>
+ 8000e22: 683b ldr r3, [r7, #0]
+ 8000e24: 685b ldr r3, [r3, #4]
+ 8000e26: 2b12 cmp r3, #18
+ 8000e28: d123 bne.n 8000e72 <HAL_GPIO_Init+0x96>
{
/* Check the Alternate function parameter */
assert_param(IS_GPIO_AF(GPIO_Init->Alternate));
/* Configure Alternate function mapped with the current IO */
temp = GPIOx->AFR[position >> 3];
- 8000e7e: 69fb ldr r3, [r7, #28]
- 8000e80: 08da lsrs r2, r3, #3
- 8000e82: 687b ldr r3, [r7, #4]
- 8000e84: 3208 adds r2, #8
- 8000e86: f853 3022 ldr.w r3, [r3, r2, lsl #2]
- 8000e8a: 61bb str r3, [r7, #24]
+ 8000e2a: 69fb ldr r3, [r7, #28]
+ 8000e2c: 08da lsrs r2, r3, #3
+ 8000e2e: 687b ldr r3, [r7, #4]
+ 8000e30: 3208 adds r2, #8
+ 8000e32: f853 3022 ldr.w r3, [r3, r2, lsl #2]
+ 8000e36: 61bb str r3, [r7, #24]
temp &= ~((uint32_t)0xF << ((uint32_t)(position & (uint32_t)0x07) * 4)) ;
- 8000e8c: 69fb ldr r3, [r7, #28]
- 8000e8e: f003 0307 and.w r3, r3, #7
- 8000e92: 009b lsls r3, r3, #2
- 8000e94: 220f movs r2, #15
- 8000e96: fa02 f303 lsl.w r3, r2, r3
- 8000e9a: 43db mvns r3, r3
- 8000e9c: 69ba ldr r2, [r7, #24]
- 8000e9e: 4013 ands r3, r2
- 8000ea0: 61bb str r3, [r7, #24]
+ 8000e38: 69fb ldr r3, [r7, #28]
+ 8000e3a: f003 0307 and.w r3, r3, #7
+ 8000e3e: 009b lsls r3, r3, #2
+ 8000e40: 220f movs r2, #15
+ 8000e42: fa02 f303 lsl.w r3, r2, r3
+ 8000e46: 43db mvns r3, r3
+ 8000e48: 69ba ldr r2, [r7, #24]
+ 8000e4a: 4013 ands r3, r2
+ 8000e4c: 61bb str r3, [r7, #24]
temp |= ((uint32_t)(GPIO_Init->Alternate) << (((uint32_t)position & (uint32_t)0x07) * 4));
- 8000ea2: 683b ldr r3, [r7, #0]
- 8000ea4: 691a ldr r2, [r3, #16]
- 8000ea6: 69fb ldr r3, [r7, #28]
- 8000ea8: f003 0307 and.w r3, r3, #7
- 8000eac: 009b lsls r3, r3, #2
- 8000eae: fa02 f303 lsl.w r3, r2, r3
- 8000eb2: 69ba ldr r2, [r7, #24]
- 8000eb4: 4313 orrs r3, r2
- 8000eb6: 61bb str r3, [r7, #24]
+ 8000e4e: 683b ldr r3, [r7, #0]
+ 8000e50: 691a ldr r2, [r3, #16]
+ 8000e52: 69fb ldr r3, [r7, #28]
+ 8000e54: f003 0307 and.w r3, r3, #7
+ 8000e58: 009b lsls r3, r3, #2
+ 8000e5a: fa02 f303 lsl.w r3, r2, r3
+ 8000e5e: 69ba ldr r2, [r7, #24]
+ 8000e60: 4313 orrs r3, r2
+ 8000e62: 61bb str r3, [r7, #24]
GPIOx->AFR[position >> 3] = temp;
- 8000eb8: 69fb ldr r3, [r7, #28]
- 8000eba: 08da lsrs r2, r3, #3
- 8000ebc: 687b ldr r3, [r7, #4]
- 8000ebe: 3208 adds r2, #8
- 8000ec0: 69b9 ldr r1, [r7, #24]
- 8000ec2: f843 1022 str.w r1, [r3, r2, lsl #2]
+ 8000e64: 69fb ldr r3, [r7, #28]
+ 8000e66: 08da lsrs r2, r3, #3
+ 8000e68: 687b ldr r3, [r7, #4]
+ 8000e6a: 3208 adds r2, #8
+ 8000e6c: 69b9 ldr r1, [r7, #24]
+ 8000e6e: f843 1022 str.w r1, [r3, r2, lsl #2]
}
/* Configure IO Direction mode (Input, Output, Alternate or Analog) */
temp = GPIOx->MODER;
- 8000ec6: 687b ldr r3, [r7, #4]
- 8000ec8: 681b ldr r3, [r3, #0]
- 8000eca: 61bb str r3, [r7, #24]
+ 8000e72: 687b ldr r3, [r7, #4]
+ 8000e74: 681b ldr r3, [r3, #0]
+ 8000e76: 61bb str r3, [r7, #24]
temp &= ~(GPIO_MODER_MODER0 << (position * 2));
- 8000ecc: 69fb ldr r3, [r7, #28]
- 8000ece: 005b lsls r3, r3, #1
- 8000ed0: 2203 movs r2, #3
- 8000ed2: fa02 f303 lsl.w r3, r2, r3
- 8000ed6: 43db mvns r3, r3
- 8000ed8: 69ba ldr r2, [r7, #24]
- 8000eda: 4013 ands r3, r2
- 8000edc: 61bb str r3, [r7, #24]
+ 8000e78: 69fb ldr r3, [r7, #28]
+ 8000e7a: 005b lsls r3, r3, #1
+ 8000e7c: 2203 movs r2, #3
+ 8000e7e: fa02 f303 lsl.w r3, r2, r3
+ 8000e82: 43db mvns r3, r3
+ 8000e84: 69ba ldr r2, [r7, #24]
+ 8000e86: 4013 ands r3, r2
+ 8000e88: 61bb str r3, [r7, #24]
temp |= ((GPIO_Init->Mode & GPIO_MODE) << (position * 2));
- 8000ede: 683b ldr r3, [r7, #0]
- 8000ee0: 685b ldr r3, [r3, #4]
- 8000ee2: f003 0203 and.w r2, r3, #3
- 8000ee6: 69fb ldr r3, [r7, #28]
- 8000ee8: 005b lsls r3, r3, #1
- 8000eea: fa02 f303 lsl.w r3, r2, r3
- 8000eee: 69ba ldr r2, [r7, #24]
- 8000ef0: 4313 orrs r3, r2
- 8000ef2: 61bb str r3, [r7, #24]
+ 8000e8a: 683b ldr r3, [r7, #0]
+ 8000e8c: 685b ldr r3, [r3, #4]
+ 8000e8e: f003 0203 and.w r2, r3, #3
+ 8000e92: 69fb ldr r3, [r7, #28]
+ 8000e94: 005b lsls r3, r3, #1
+ 8000e96: fa02 f303 lsl.w r3, r2, r3
+ 8000e9a: 69ba ldr r2, [r7, #24]
+ 8000e9c: 4313 orrs r3, r2
+ 8000e9e: 61bb str r3, [r7, #24]
GPIOx->MODER = temp;
- 8000ef4: 687b ldr r3, [r7, #4]
- 8000ef6: 69ba ldr r2, [r7, #24]
- 8000ef8: 601a str r2, [r3, #0]
+ 8000ea0: 687b ldr r3, [r7, #4]
+ 8000ea2: 69ba ldr r2, [r7, #24]
+ 8000ea4: 601a str r2, [r3, #0]
/* In case of Output or Alternate function mode selection */
if((GPIO_Init->Mode == GPIO_MODE_OUTPUT_PP) || (GPIO_Init->Mode == GPIO_MODE_AF_PP) ||
- 8000efa: 683b ldr r3, [r7, #0]
- 8000efc: 685b ldr r3, [r3, #4]
- 8000efe: 2b01 cmp r3, #1
- 8000f00: d00b beq.n 8000f1a <HAL_GPIO_Init+0xea>
- 8000f02: 683b ldr r3, [r7, #0]
- 8000f04: 685b ldr r3, [r3, #4]
- 8000f06: 2b02 cmp r3, #2
- 8000f08: d007 beq.n 8000f1a <HAL_GPIO_Init+0xea>
+ 8000ea6: 683b ldr r3, [r7, #0]
+ 8000ea8: 685b ldr r3, [r3, #4]
+ 8000eaa: 2b01 cmp r3, #1
+ 8000eac: d00b beq.n 8000ec6 <HAL_GPIO_Init+0xea>
+ 8000eae: 683b ldr r3, [r7, #0]
+ 8000eb0: 685b ldr r3, [r3, #4]
+ 8000eb2: 2b02 cmp r3, #2
+ 8000eb4: d007 beq.n 8000ec6 <HAL_GPIO_Init+0xea>
(GPIO_Init->Mode == GPIO_MODE_OUTPUT_OD) || (GPIO_Init->Mode == GPIO_MODE_AF_OD))
- 8000f0a: 683b ldr r3, [r7, #0]
- 8000f0c: 685b ldr r3, [r3, #4]
+ 8000eb6: 683b ldr r3, [r7, #0]
+ 8000eb8: 685b ldr r3, [r3, #4]
if((GPIO_Init->Mode == GPIO_MODE_OUTPUT_PP) || (GPIO_Init->Mode == GPIO_MODE_AF_PP) ||
- 8000f0e: 2b11 cmp r3, #17
- 8000f10: d003 beq.n 8000f1a <HAL_GPIO_Init+0xea>
+ 8000eba: 2b11 cmp r3, #17
+ 8000ebc: d003 beq.n 8000ec6 <HAL_GPIO_Init+0xea>
(GPIO_Init->Mode == GPIO_MODE_OUTPUT_OD) || (GPIO_Init->Mode == GPIO_MODE_AF_OD))
- 8000f12: 683b ldr r3, [r7, #0]
- 8000f14: 685b ldr r3, [r3, #4]
- 8000f16: 2b12 cmp r3, #18
- 8000f18: d130 bne.n 8000f7c <HAL_GPIO_Init+0x14c>
+ 8000ebe: 683b ldr r3, [r7, #0]
+ 8000ec0: 685b ldr r3, [r3, #4]
+ 8000ec2: 2b12 cmp r3, #18
+ 8000ec4: d130 bne.n 8000f28 <HAL_GPIO_Init+0x14c>
{
/* Check the Speed parameter */
assert_param(IS_GPIO_SPEED(GPIO_Init->Speed));
/* Configure the IO Speed */
temp = GPIOx->OSPEEDR;
- 8000f1a: 687b ldr r3, [r7, #4]
- 8000f1c: 689b ldr r3, [r3, #8]
- 8000f1e: 61bb str r3, [r7, #24]
+ 8000ec6: 687b ldr r3, [r7, #4]
+ 8000ec8: 689b ldr r3, [r3, #8]
+ 8000eca: 61bb str r3, [r7, #24]
temp &= ~(GPIO_OSPEEDER_OSPEEDR0 << (position * 2));
- 8000f20: 69fb ldr r3, [r7, #28]
- 8000f22: 005b lsls r3, r3, #1
- 8000f24: 2203 movs r2, #3
- 8000f26: fa02 f303 lsl.w r3, r2, r3
- 8000f2a: 43db mvns r3, r3
- 8000f2c: 69ba ldr r2, [r7, #24]
- 8000f2e: 4013 ands r3, r2
- 8000f30: 61bb str r3, [r7, #24]
+ 8000ecc: 69fb ldr r3, [r7, #28]
+ 8000ece: 005b lsls r3, r3, #1
+ 8000ed0: 2203 movs r2, #3
+ 8000ed2: fa02 f303 lsl.w r3, r2, r3
+ 8000ed6: 43db mvns r3, r3
+ 8000ed8: 69ba ldr r2, [r7, #24]
+ 8000eda: 4013 ands r3, r2
+ 8000edc: 61bb str r3, [r7, #24]
temp |= (GPIO_Init->Speed << (position * 2));
- 8000f32: 683b ldr r3, [r7, #0]
- 8000f34: 68da ldr r2, [r3, #12]
- 8000f36: 69fb ldr r3, [r7, #28]
- 8000f38: 005b lsls r3, r3, #1
- 8000f3a: fa02 f303 lsl.w r3, r2, r3
- 8000f3e: 69ba ldr r2, [r7, #24]
- 8000f40: 4313 orrs r3, r2
- 8000f42: 61bb str r3, [r7, #24]
+ 8000ede: 683b ldr r3, [r7, #0]
+ 8000ee0: 68da ldr r2, [r3, #12]
+ 8000ee2: 69fb ldr r3, [r7, #28]
+ 8000ee4: 005b lsls r3, r3, #1
+ 8000ee6: fa02 f303 lsl.w r3, r2, r3
+ 8000eea: 69ba ldr r2, [r7, #24]
+ 8000eec: 4313 orrs r3, r2
+ 8000eee: 61bb str r3, [r7, #24]
GPIOx->OSPEEDR = temp;
- 8000f44: 687b ldr r3, [r7, #4]
- 8000f46: 69ba ldr r2, [r7, #24]
- 8000f48: 609a str r2, [r3, #8]
+ 8000ef0: 687b ldr r3, [r7, #4]
+ 8000ef2: 69ba ldr r2, [r7, #24]
+ 8000ef4: 609a str r2, [r3, #8]
/* Configure the IO Output Type */
temp = GPIOx->OTYPER;
- 8000f4a: 687b ldr r3, [r7, #4]
- 8000f4c: 685b ldr r3, [r3, #4]
- 8000f4e: 61bb str r3, [r7, #24]
+ 8000ef6: 687b ldr r3, [r7, #4]
+ 8000ef8: 685b ldr r3, [r3, #4]
+ 8000efa: 61bb str r3, [r7, #24]
temp &= ~(GPIO_OTYPER_OT_0 << position) ;
- 8000f50: 2201 movs r2, #1
- 8000f52: 69fb ldr r3, [r7, #28]
- 8000f54: fa02 f303 lsl.w r3, r2, r3
- 8000f58: 43db mvns r3, r3
- 8000f5a: 69ba ldr r2, [r7, #24]
- 8000f5c: 4013 ands r3, r2
- 8000f5e: 61bb str r3, [r7, #24]
+ 8000efc: 2201 movs r2, #1
+ 8000efe: 69fb ldr r3, [r7, #28]
+ 8000f00: fa02 f303 lsl.w r3, r2, r3
+ 8000f04: 43db mvns r3, r3
+ 8000f06: 69ba ldr r2, [r7, #24]
+ 8000f08: 4013 ands r3, r2
+ 8000f0a: 61bb str r3, [r7, #24]
temp |= (((GPIO_Init->Mode & GPIO_OUTPUT_TYPE) >> 4) << position);
- 8000f60: 683b ldr r3, [r7, #0]
- 8000f62: 685b ldr r3, [r3, #4]
- 8000f64: 091b lsrs r3, r3, #4
- 8000f66: f003 0201 and.w r2, r3, #1
- 8000f6a: 69fb ldr r3, [r7, #28]
- 8000f6c: fa02 f303 lsl.w r3, r2, r3
- 8000f70: 69ba ldr r2, [r7, #24]
- 8000f72: 4313 orrs r3, r2
- 8000f74: 61bb str r3, [r7, #24]
+ 8000f0c: 683b ldr r3, [r7, #0]
+ 8000f0e: 685b ldr r3, [r3, #4]
+ 8000f10: 091b lsrs r3, r3, #4
+ 8000f12: f003 0201 and.w r2, r3, #1
+ 8000f16: 69fb ldr r3, [r7, #28]
+ 8000f18: fa02 f303 lsl.w r3, r2, r3
+ 8000f1c: 69ba ldr r2, [r7, #24]
+ 8000f1e: 4313 orrs r3, r2
+ 8000f20: 61bb str r3, [r7, #24]
GPIOx->OTYPER = temp;
- 8000f76: 687b ldr r3, [r7, #4]
- 8000f78: 69ba ldr r2, [r7, #24]
- 8000f7a: 605a str r2, [r3, #4]
+ 8000f22: 687b ldr r3, [r7, #4]
+ 8000f24: 69ba ldr r2, [r7, #24]
+ 8000f26: 605a str r2, [r3, #4]
}
/* Activate the Pull-up or Pull down resistor for the current IO */
temp = GPIOx->PUPDR;
- 8000f7c: 687b ldr r3, [r7, #4]
- 8000f7e: 68db ldr r3, [r3, #12]
- 8000f80: 61bb str r3, [r7, #24]
+ 8000f28: 687b ldr r3, [r7, #4]
+ 8000f2a: 68db ldr r3, [r3, #12]
+ 8000f2c: 61bb str r3, [r7, #24]
temp &= ~(GPIO_PUPDR_PUPDR0 << (position * 2));
- 8000f82: 69fb ldr r3, [r7, #28]
- 8000f84: 005b lsls r3, r3, #1
- 8000f86: 2203 movs r2, #3
- 8000f88: fa02 f303 lsl.w r3, r2, r3
- 8000f8c: 43db mvns r3, r3
- 8000f8e: 69ba ldr r2, [r7, #24]
- 8000f90: 4013 ands r3, r2
- 8000f92: 61bb str r3, [r7, #24]
+ 8000f2e: 69fb ldr r3, [r7, #28]
+ 8000f30: 005b lsls r3, r3, #1
+ 8000f32: 2203 movs r2, #3
+ 8000f34: fa02 f303 lsl.w r3, r2, r3
+ 8000f38: 43db mvns r3, r3
+ 8000f3a: 69ba ldr r2, [r7, #24]
+ 8000f3c: 4013 ands r3, r2
+ 8000f3e: 61bb str r3, [r7, #24]
temp |= ((GPIO_Init->Pull) << (position * 2));
- 8000f94: 683b ldr r3, [r7, #0]
- 8000f96: 689a ldr r2, [r3, #8]
- 8000f98: 69fb ldr r3, [r7, #28]
- 8000f9a: 005b lsls r3, r3, #1
- 8000f9c: fa02 f303 lsl.w r3, r2, r3
- 8000fa0: 69ba ldr r2, [r7, #24]
- 8000fa2: 4313 orrs r3, r2
- 8000fa4: 61bb str r3, [r7, #24]
+ 8000f40: 683b ldr r3, [r7, #0]
+ 8000f42: 689a ldr r2, [r3, #8]
+ 8000f44: 69fb ldr r3, [r7, #28]
+ 8000f46: 005b lsls r3, r3, #1
+ 8000f48: fa02 f303 lsl.w r3, r2, r3
+ 8000f4c: 69ba ldr r2, [r7, #24]
+ 8000f4e: 4313 orrs r3, r2
+ 8000f50: 61bb str r3, [r7, #24]
GPIOx->PUPDR = temp;
- 8000fa6: 687b ldr r3, [r7, #4]
- 8000fa8: 69ba ldr r2, [r7, #24]
- 8000faa: 60da str r2, [r3, #12]
+ 8000f52: 687b ldr r3, [r7, #4]
+ 8000f54: 69ba ldr r2, [r7, #24]
+ 8000f56: 60da str r2, [r3, #12]
/*--------------------- EXTI Mode Configuration ------------------------*/
/* Configure the External Interrupt or event for the current IO */
if((GPIO_Init->Mode & EXTI_MODE) == EXTI_MODE)
- 8000fac: 683b ldr r3, [r7, #0]
- 8000fae: 685b ldr r3, [r3, #4]
- 8000fb0: f003 5380 and.w r3, r3, #268435456 ; 0x10000000
- 8000fb4: 2b00 cmp r3, #0
- 8000fb6: f000 80be beq.w 8001136 <HAL_GPIO_Init+0x306>
+ 8000f58: 683b ldr r3, [r7, #0]
+ 8000f5a: 685b ldr r3, [r3, #4]
+ 8000f5c: f003 5380 and.w r3, r3, #268435456 ; 0x10000000
+ 8000f60: 2b00 cmp r3, #0
+ 8000f62: f000 80be beq.w 80010e2 <HAL_GPIO_Init+0x306>
{
/* Enable SYSCFG Clock */
__HAL_RCC_SYSCFG_CLK_ENABLE();
- 8000fba: 4b65 ldr r3, [pc, #404] ; (8001150 <HAL_GPIO_Init+0x320>)
- 8000fbc: 6c5b ldr r3, [r3, #68] ; 0x44
- 8000fbe: 4a64 ldr r2, [pc, #400] ; (8001150 <HAL_GPIO_Init+0x320>)
- 8000fc0: f443 4380 orr.w r3, r3, #16384 ; 0x4000
- 8000fc4: 6453 str r3, [r2, #68] ; 0x44
- 8000fc6: 4b62 ldr r3, [pc, #392] ; (8001150 <HAL_GPIO_Init+0x320>)
- 8000fc8: 6c5b ldr r3, [r3, #68] ; 0x44
- 8000fca: f403 4380 and.w r3, r3, #16384 ; 0x4000
- 8000fce: 60fb str r3, [r7, #12]
- 8000fd0: 68fb ldr r3, [r7, #12]
+ 8000f66: 4b65 ldr r3, [pc, #404] ; (80010fc <HAL_GPIO_Init+0x320>)
+ 8000f68: 6c5b ldr r3, [r3, #68] ; 0x44
+ 8000f6a: 4a64 ldr r2, [pc, #400] ; (80010fc <HAL_GPIO_Init+0x320>)
+ 8000f6c: f443 4380 orr.w r3, r3, #16384 ; 0x4000
+ 8000f70: 6453 str r3, [r2, #68] ; 0x44
+ 8000f72: 4b62 ldr r3, [pc, #392] ; (80010fc <HAL_GPIO_Init+0x320>)
+ 8000f74: 6c5b ldr r3, [r3, #68] ; 0x44
+ 8000f76: f403 4380 and.w r3, r3, #16384 ; 0x4000
+ 8000f7a: 60fb str r3, [r7, #12]
+ 8000f7c: 68fb ldr r3, [r7, #12]
temp = SYSCFG->EXTICR[position >> 2];
- 8000fd2: 4a60 ldr r2, [pc, #384] ; (8001154 <HAL_GPIO_Init+0x324>)
- 8000fd4: 69fb ldr r3, [r7, #28]
- 8000fd6: 089b lsrs r3, r3, #2
- 8000fd8: 3302 adds r3, #2
- 8000fda: f852 3023 ldr.w r3, [r2, r3, lsl #2]
- 8000fde: 61bb str r3, [r7, #24]
+ 8000f7e: 4a60 ldr r2, [pc, #384] ; (8001100 <HAL_GPIO_Init+0x324>)
+ 8000f80: 69fb ldr r3, [r7, #28]
+ 8000f82: 089b lsrs r3, r3, #2
+ 8000f84: 3302 adds r3, #2
+ 8000f86: f852 3023 ldr.w r3, [r2, r3, lsl #2]
+ 8000f8a: 61bb str r3, [r7, #24]
temp &= ~(((uint32_t)0x0F) << (4 * (position & 0x03)));
- 8000fe0: 69fb ldr r3, [r7, #28]
- 8000fe2: f003 0303 and.w r3, r3, #3
- 8000fe6: 009b lsls r3, r3, #2
- 8000fe8: 220f movs r2, #15
- 8000fea: fa02 f303 lsl.w r3, r2, r3
- 8000fee: 43db mvns r3, r3
- 8000ff0: 69ba ldr r2, [r7, #24]
- 8000ff2: 4013 ands r3, r2
- 8000ff4: 61bb str r3, [r7, #24]
+ 8000f8c: 69fb ldr r3, [r7, #28]
+ 8000f8e: f003 0303 and.w r3, r3, #3
+ 8000f92: 009b lsls r3, r3, #2
+ 8000f94: 220f movs r2, #15
+ 8000f96: fa02 f303 lsl.w r3, r2, r3
+ 8000f9a: 43db mvns r3, r3
+ 8000f9c: 69ba ldr r2, [r7, #24]
+ 8000f9e: 4013 ands r3, r2
+ 8000fa0: 61bb str r3, [r7, #24]
temp |= ((uint32_t)(GPIO_GET_INDEX(GPIOx)) << (4 * (position & 0x03)));
- 8000ff6: 687b ldr r3, [r7, #4]
- 8000ff8: 4a57 ldr r2, [pc, #348] ; (8001158 <HAL_GPIO_Init+0x328>)
- 8000ffa: 4293 cmp r3, r2
- 8000ffc: d037 beq.n 800106e <HAL_GPIO_Init+0x23e>
- 8000ffe: 687b ldr r3, [r7, #4]
- 8001000: 4a56 ldr r2, [pc, #344] ; (800115c <HAL_GPIO_Init+0x32c>)
- 8001002: 4293 cmp r3, r2
- 8001004: d031 beq.n 800106a <HAL_GPIO_Init+0x23a>
- 8001006: 687b ldr r3, [r7, #4]
- 8001008: 4a55 ldr r2, [pc, #340] ; (8001160 <HAL_GPIO_Init+0x330>)
- 800100a: 4293 cmp r3, r2
- 800100c: d02b beq.n 8001066 <HAL_GPIO_Init+0x236>
- 800100e: 687b ldr r3, [r7, #4]
- 8001010: 4a54 ldr r2, [pc, #336] ; (8001164 <HAL_GPIO_Init+0x334>)
- 8001012: 4293 cmp r3, r2
- 8001014: d025 beq.n 8001062 <HAL_GPIO_Init+0x232>
- 8001016: 687b ldr r3, [r7, #4]
- 8001018: 4a53 ldr r2, [pc, #332] ; (8001168 <HAL_GPIO_Init+0x338>)
- 800101a: 4293 cmp r3, r2
- 800101c: d01f beq.n 800105e <HAL_GPIO_Init+0x22e>
- 800101e: 687b ldr r3, [r7, #4]
- 8001020: 4a52 ldr r2, [pc, #328] ; (800116c <HAL_GPIO_Init+0x33c>)
- 8001022: 4293 cmp r3, r2
- 8001024: d019 beq.n 800105a <HAL_GPIO_Init+0x22a>
- 8001026: 687b ldr r3, [r7, #4]
- 8001028: 4a51 ldr r2, [pc, #324] ; (8001170 <HAL_GPIO_Init+0x340>)
- 800102a: 4293 cmp r3, r2
- 800102c: d013 beq.n 8001056 <HAL_GPIO_Init+0x226>
- 800102e: 687b ldr r3, [r7, #4]
- 8001030: 4a50 ldr r2, [pc, #320] ; (8001174 <HAL_GPIO_Init+0x344>)
- 8001032: 4293 cmp r3, r2
- 8001034: d00d beq.n 8001052 <HAL_GPIO_Init+0x222>
- 8001036: 687b ldr r3, [r7, #4]
- 8001038: 4a4f ldr r2, [pc, #316] ; (8001178 <HAL_GPIO_Init+0x348>)
- 800103a: 4293 cmp r3, r2
- 800103c: d007 beq.n 800104e <HAL_GPIO_Init+0x21e>
- 800103e: 687b ldr r3, [r7, #4]
- 8001040: 4a4e ldr r2, [pc, #312] ; (800117c <HAL_GPIO_Init+0x34c>)
- 8001042: 4293 cmp r3, r2
- 8001044: d101 bne.n 800104a <HAL_GPIO_Init+0x21a>
- 8001046: 2309 movs r3, #9
- 8001048: e012 b.n 8001070 <HAL_GPIO_Init+0x240>
- 800104a: 230a movs r3, #10
- 800104c: e010 b.n 8001070 <HAL_GPIO_Init+0x240>
- 800104e: 2308 movs r3, #8
- 8001050: e00e b.n 8001070 <HAL_GPIO_Init+0x240>
- 8001052: 2307 movs r3, #7
- 8001054: e00c b.n 8001070 <HAL_GPIO_Init+0x240>
- 8001056: 2306 movs r3, #6
- 8001058: e00a b.n 8001070 <HAL_GPIO_Init+0x240>
- 800105a: 2305 movs r3, #5
- 800105c: e008 b.n 8001070 <HAL_GPIO_Init+0x240>
- 800105e: 2304 movs r3, #4
- 8001060: e006 b.n 8001070 <HAL_GPIO_Init+0x240>
- 8001062: 2303 movs r3, #3
- 8001064: e004 b.n 8001070 <HAL_GPIO_Init+0x240>
- 8001066: 2302 movs r3, #2
- 8001068: e002 b.n 8001070 <HAL_GPIO_Init+0x240>
- 800106a: 2301 movs r3, #1
- 800106c: e000 b.n 8001070 <HAL_GPIO_Init+0x240>
- 800106e: 2300 movs r3, #0
- 8001070: 69fa ldr r2, [r7, #28]
- 8001072: f002 0203 and.w r2, r2, #3
- 8001076: 0092 lsls r2, r2, #2
- 8001078: 4093 lsls r3, r2
- 800107a: 69ba ldr r2, [r7, #24]
- 800107c: 4313 orrs r3, r2
- 800107e: 61bb str r3, [r7, #24]
+ 8000fa2: 687b ldr r3, [r7, #4]
+ 8000fa4: 4a57 ldr r2, [pc, #348] ; (8001104 <HAL_GPIO_Init+0x328>)
+ 8000fa6: 4293 cmp r3, r2
+ 8000fa8: d037 beq.n 800101a <HAL_GPIO_Init+0x23e>
+ 8000faa: 687b ldr r3, [r7, #4]
+ 8000fac: 4a56 ldr r2, [pc, #344] ; (8001108 <HAL_GPIO_Init+0x32c>)
+ 8000fae: 4293 cmp r3, r2
+ 8000fb0: d031 beq.n 8001016 <HAL_GPIO_Init+0x23a>
+ 8000fb2: 687b ldr r3, [r7, #4]
+ 8000fb4: 4a55 ldr r2, [pc, #340] ; (800110c <HAL_GPIO_Init+0x330>)
+ 8000fb6: 4293 cmp r3, r2
+ 8000fb8: d02b beq.n 8001012 <HAL_GPIO_Init+0x236>
+ 8000fba: 687b ldr r3, [r7, #4]
+ 8000fbc: 4a54 ldr r2, [pc, #336] ; (8001110 <HAL_GPIO_Init+0x334>)
+ 8000fbe: 4293 cmp r3, r2
+ 8000fc0: d025 beq.n 800100e <HAL_GPIO_Init+0x232>
+ 8000fc2: 687b ldr r3, [r7, #4]
+ 8000fc4: 4a53 ldr r2, [pc, #332] ; (8001114 <HAL_GPIO_Init+0x338>)
+ 8000fc6: 4293 cmp r3, r2
+ 8000fc8: d01f beq.n 800100a <HAL_GPIO_Init+0x22e>
+ 8000fca: 687b ldr r3, [r7, #4]
+ 8000fcc: 4a52 ldr r2, [pc, #328] ; (8001118 <HAL_GPIO_Init+0x33c>)
+ 8000fce: 4293 cmp r3, r2
+ 8000fd0: d019 beq.n 8001006 <HAL_GPIO_Init+0x22a>
+ 8000fd2: 687b ldr r3, [r7, #4]
+ 8000fd4: 4a51 ldr r2, [pc, #324] ; (800111c <HAL_GPIO_Init+0x340>)
+ 8000fd6: 4293 cmp r3, r2
+ 8000fd8: d013 beq.n 8001002 <HAL_GPIO_Init+0x226>
+ 8000fda: 687b ldr r3, [r7, #4]
+ 8000fdc: 4a50 ldr r2, [pc, #320] ; (8001120 <HAL_GPIO_Init+0x344>)
+ 8000fde: 4293 cmp r3, r2
+ 8000fe0: d00d beq.n 8000ffe <HAL_GPIO_Init+0x222>
+ 8000fe2: 687b ldr r3, [r7, #4]
+ 8000fe4: 4a4f ldr r2, [pc, #316] ; (8001124 <HAL_GPIO_Init+0x348>)
+ 8000fe6: 4293 cmp r3, r2
+ 8000fe8: d007 beq.n 8000ffa <HAL_GPIO_Init+0x21e>
+ 8000fea: 687b ldr r3, [r7, #4]
+ 8000fec: 4a4e ldr r2, [pc, #312] ; (8001128 <HAL_GPIO_Init+0x34c>)
+ 8000fee: 4293 cmp r3, r2
+ 8000ff0: d101 bne.n 8000ff6 <HAL_GPIO_Init+0x21a>
+ 8000ff2: 2309 movs r3, #9
+ 8000ff4: e012 b.n 800101c <HAL_GPIO_Init+0x240>
+ 8000ff6: 230a movs r3, #10
+ 8000ff8: e010 b.n 800101c <HAL_GPIO_Init+0x240>
+ 8000ffa: 2308 movs r3, #8
+ 8000ffc: e00e b.n 800101c <HAL_GPIO_Init+0x240>
+ 8000ffe: 2307 movs r3, #7
+ 8001000: e00c b.n 800101c <HAL_GPIO_Init+0x240>
+ 8001002: 2306 movs r3, #6
+ 8001004: e00a b.n 800101c <HAL_GPIO_Init+0x240>
+ 8001006: 2305 movs r3, #5
+ 8001008: e008 b.n 800101c <HAL_GPIO_Init+0x240>
+ 800100a: 2304 movs r3, #4
+ 800100c: e006 b.n 800101c <HAL_GPIO_Init+0x240>
+ 800100e: 2303 movs r3, #3
+ 8001010: e004 b.n 800101c <HAL_GPIO_Init+0x240>
+ 8001012: 2302 movs r3, #2
+ 8001014: e002 b.n 800101c <HAL_GPIO_Init+0x240>
+ 8001016: 2301 movs r3, #1
+ 8001018: e000 b.n 800101c <HAL_GPIO_Init+0x240>
+ 800101a: 2300 movs r3, #0
+ 800101c: 69fa ldr r2, [r7, #28]
+ 800101e: f002 0203 and.w r2, r2, #3
+ 8001022: 0092 lsls r2, r2, #2
+ 8001024: 4093 lsls r3, r2
+ 8001026: 69ba ldr r2, [r7, #24]
+ 8001028: 4313 orrs r3, r2
+ 800102a: 61bb str r3, [r7, #24]
SYSCFG->EXTICR[position >> 2] = temp;
- 8001080: 4934 ldr r1, [pc, #208] ; (8001154 <HAL_GPIO_Init+0x324>)
- 8001082: 69fb ldr r3, [r7, #28]
- 8001084: 089b lsrs r3, r3, #2
- 8001086: 3302 adds r3, #2
- 8001088: 69ba ldr r2, [r7, #24]
- 800108a: f841 2023 str.w r2, [r1, r3, lsl #2]
+ 800102c: 4934 ldr r1, [pc, #208] ; (8001100 <HAL_GPIO_Init+0x324>)
+ 800102e: 69fb ldr r3, [r7, #28]
+ 8001030: 089b lsrs r3, r3, #2
+ 8001032: 3302 adds r3, #2
+ 8001034: 69ba ldr r2, [r7, #24]
+ 8001036: f841 2023 str.w r2, [r1, r3, lsl #2]
/* Clear EXTI line configuration */
temp = EXTI->IMR;
- 800108e: 4b3c ldr r3, [pc, #240] ; (8001180 <HAL_GPIO_Init+0x350>)
- 8001090: 681b ldr r3, [r3, #0]
+ 800103a: 4b3c ldr r3, [pc, #240] ; (800112c <HAL_GPIO_Init+0x350>)
+ 800103c: 681b ldr r3, [r3, #0]
+ 800103e: 61bb str r3, [r7, #24]
+ temp &= ~((uint32_t)iocurrent);
+ 8001040: 693b ldr r3, [r7, #16]
+ 8001042: 43db mvns r3, r3
+ 8001044: 69ba ldr r2, [r7, #24]
+ 8001046: 4013 ands r3, r2
+ 8001048: 61bb str r3, [r7, #24]
+ if((GPIO_Init->Mode & GPIO_MODE_IT) == GPIO_MODE_IT)
+ 800104a: 683b ldr r3, [r7, #0]
+ 800104c: 685b ldr r3, [r3, #4]
+ 800104e: f403 3380 and.w r3, r3, #65536 ; 0x10000
+ 8001052: 2b00 cmp r3, #0
+ 8001054: d003 beq.n 800105e <HAL_GPIO_Init+0x282>
+ {
+ temp |= iocurrent;
+ 8001056: 69ba ldr r2, [r7, #24]
+ 8001058: 693b ldr r3, [r7, #16]
+ 800105a: 4313 orrs r3, r2
+ 800105c: 61bb str r3, [r7, #24]
+ }
+ EXTI->IMR = temp;
+ 800105e: 4a33 ldr r2, [pc, #204] ; (800112c <HAL_GPIO_Init+0x350>)
+ 8001060: 69bb ldr r3, [r7, #24]
+ 8001062: 6013 str r3, [r2, #0]
+
+ temp = EXTI->EMR;
+ 8001064: 4b31 ldr r3, [pc, #196] ; (800112c <HAL_GPIO_Init+0x350>)
+ 8001066: 685b ldr r3, [r3, #4]
+ 8001068: 61bb str r3, [r7, #24]
+ temp &= ~((uint32_t)iocurrent);
+ 800106a: 693b ldr r3, [r7, #16]
+ 800106c: 43db mvns r3, r3
+ 800106e: 69ba ldr r2, [r7, #24]
+ 8001070: 4013 ands r3, r2
+ 8001072: 61bb str r3, [r7, #24]
+ if((GPIO_Init->Mode & GPIO_MODE_EVT) == GPIO_MODE_EVT)
+ 8001074: 683b ldr r3, [r7, #0]
+ 8001076: 685b ldr r3, [r3, #4]
+ 8001078: f403 3300 and.w r3, r3, #131072 ; 0x20000
+ 800107c: 2b00 cmp r3, #0
+ 800107e: d003 beq.n 8001088 <HAL_GPIO_Init+0x2ac>
+ {
+ temp |= iocurrent;
+ 8001080: 69ba ldr r2, [r7, #24]
+ 8001082: 693b ldr r3, [r7, #16]
+ 8001084: 4313 orrs r3, r2
+ 8001086: 61bb str r3, [r7, #24]
+ }
+ EXTI->EMR = temp;
+ 8001088: 4a28 ldr r2, [pc, #160] ; (800112c <HAL_GPIO_Init+0x350>)
+ 800108a: 69bb ldr r3, [r7, #24]
+ 800108c: 6053 str r3, [r2, #4]
+
+ /* Clear Rising Falling edge configuration */
+ temp = EXTI->RTSR;
+ 800108e: 4b27 ldr r3, [pc, #156] ; (800112c <HAL_GPIO_Init+0x350>)
+ 8001090: 689b ldr r3, [r3, #8]
8001092: 61bb str r3, [r7, #24]
temp &= ~((uint32_t)iocurrent);
8001094: 693b ldr r3, [r7, #16]
8001098: 69ba ldr r2, [r7, #24]
800109a: 4013 ands r3, r2
800109c: 61bb str r3, [r7, #24]
- if((GPIO_Init->Mode & GPIO_MODE_IT) == GPIO_MODE_IT)
+ if((GPIO_Init->Mode & RISING_EDGE) == RISING_EDGE)
800109e: 683b ldr r3, [r7, #0]
80010a0: 685b ldr r3, [r3, #4]
- 80010a2: f403 3380 and.w r3, r3, #65536 ; 0x10000
+ 80010a2: f403 1380 and.w r3, r3, #1048576 ; 0x100000
80010a6: 2b00 cmp r3, #0
- 80010a8: d003 beq.n 80010b2 <HAL_GPIO_Init+0x282>
+ 80010a8: d003 beq.n 80010b2 <HAL_GPIO_Init+0x2d6>
{
temp |= iocurrent;
80010aa: 69ba ldr r2, [r7, #24]
80010ae: 4313 orrs r3, r2
80010b0: 61bb str r3, [r7, #24]
}
- EXTI->IMR = temp;
- 80010b2: 4a33 ldr r2, [pc, #204] ; (8001180 <HAL_GPIO_Init+0x350>)
+ EXTI->RTSR = temp;
+ 80010b2: 4a1e ldr r2, [pc, #120] ; (800112c <HAL_GPIO_Init+0x350>)
80010b4: 69bb ldr r3, [r7, #24]
- 80010b6: 6013 str r3, [r2, #0]
+ 80010b6: 6093 str r3, [r2, #8]
- temp = EXTI->EMR;
- 80010b8: 4b31 ldr r3, [pc, #196] ; (8001180 <HAL_GPIO_Init+0x350>)
- 80010ba: 685b ldr r3, [r3, #4]
+ temp = EXTI->FTSR;
+ 80010b8: 4b1c ldr r3, [pc, #112] ; (800112c <HAL_GPIO_Init+0x350>)
+ 80010ba: 68db ldr r3, [r3, #12]
80010bc: 61bb str r3, [r7, #24]
temp &= ~((uint32_t)iocurrent);
80010be: 693b ldr r3, [r7, #16]
80010c2: 69ba ldr r2, [r7, #24]
80010c4: 4013 ands r3, r2
80010c6: 61bb str r3, [r7, #24]
- if((GPIO_Init->Mode & GPIO_MODE_EVT) == GPIO_MODE_EVT)
+ if((GPIO_Init->Mode & FALLING_EDGE) == FALLING_EDGE)
80010c8: 683b ldr r3, [r7, #0]
80010ca: 685b ldr r3, [r3, #4]
- 80010cc: f403 3300 and.w r3, r3, #131072 ; 0x20000
+ 80010cc: f403 1300 and.w r3, r3, #2097152 ; 0x200000
80010d0: 2b00 cmp r3, #0
- 80010d2: d003 beq.n 80010dc <HAL_GPIO_Init+0x2ac>
+ 80010d2: d003 beq.n 80010dc <HAL_GPIO_Init+0x300>
{
temp |= iocurrent;
80010d4: 69ba ldr r2, [r7, #24]
80010d6: 693b ldr r3, [r7, #16]
80010d8: 4313 orrs r3, r2
80010da: 61bb str r3, [r7, #24]
- }
- EXTI->EMR = temp;
- 80010dc: 4a28 ldr r2, [pc, #160] ; (8001180 <HAL_GPIO_Init+0x350>)
- 80010de: 69bb ldr r3, [r7, #24]
- 80010e0: 6053 str r3, [r2, #4]
-
- /* Clear Rising Falling edge configuration */
- temp = EXTI->RTSR;
- 80010e2: 4b27 ldr r3, [pc, #156] ; (8001180 <HAL_GPIO_Init+0x350>)
- 80010e4: 689b ldr r3, [r3, #8]
- 80010e6: 61bb str r3, [r7, #24]
- temp &= ~((uint32_t)iocurrent);
- 80010e8: 693b ldr r3, [r7, #16]
- 80010ea: 43db mvns r3, r3
- 80010ec: 69ba ldr r2, [r7, #24]
- 80010ee: 4013 ands r3, r2
- 80010f0: 61bb str r3, [r7, #24]
- if((GPIO_Init->Mode & RISING_EDGE) == RISING_EDGE)
- 80010f2: 683b ldr r3, [r7, #0]
- 80010f4: 685b ldr r3, [r3, #4]
- 80010f6: f403 1380 and.w r3, r3, #1048576 ; 0x100000
- 80010fa: 2b00 cmp r3, #0
- 80010fc: d003 beq.n 8001106 <HAL_GPIO_Init+0x2d6>
- {
- temp |= iocurrent;
- 80010fe: 69ba ldr r2, [r7, #24]
- 8001100: 693b ldr r3, [r7, #16]
- 8001102: 4313 orrs r3, r2
- 8001104: 61bb str r3, [r7, #24]
- }
- EXTI->RTSR = temp;
- 8001106: 4a1e ldr r2, [pc, #120] ; (8001180 <HAL_GPIO_Init+0x350>)
- 8001108: 69bb ldr r3, [r7, #24]
- 800110a: 6093 str r3, [r2, #8]
-
- temp = EXTI->FTSR;
- 800110c: 4b1c ldr r3, [pc, #112] ; (8001180 <HAL_GPIO_Init+0x350>)
- 800110e: 68db ldr r3, [r3, #12]
- 8001110: 61bb str r3, [r7, #24]
- temp &= ~((uint32_t)iocurrent);
- 8001112: 693b ldr r3, [r7, #16]
- 8001114: 43db mvns r3, r3
- 8001116: 69ba ldr r2, [r7, #24]
- 8001118: 4013 ands r3, r2
- 800111a: 61bb str r3, [r7, #24]
- if((GPIO_Init->Mode & FALLING_EDGE) == FALLING_EDGE)
- 800111c: 683b ldr r3, [r7, #0]
- 800111e: 685b ldr r3, [r3, #4]
- 8001120: f403 1300 and.w r3, r3, #2097152 ; 0x200000
- 8001124: 2b00 cmp r3, #0
- 8001126: d003 beq.n 8001130 <HAL_GPIO_Init+0x300>
- {
- temp |= iocurrent;
- 8001128: 69ba ldr r2, [r7, #24]
- 800112a: 693b ldr r3, [r7, #16]
- 800112c: 4313 orrs r3, r2
- 800112e: 61bb str r3, [r7, #24]
}
EXTI->FTSR = temp;
- 8001130: 4a13 ldr r2, [pc, #76] ; (8001180 <HAL_GPIO_Init+0x350>)
- 8001132: 69bb ldr r3, [r7, #24]
- 8001134: 60d3 str r3, [r2, #12]
+ 80010dc: 4a13 ldr r2, [pc, #76] ; (800112c <HAL_GPIO_Init+0x350>)
+ 80010de: 69bb ldr r3, [r7, #24]
+ 80010e0: 60d3 str r3, [r2, #12]
for(position = 0; position < GPIO_NUMBER; position++)
- 8001136: 69fb ldr r3, [r7, #28]
- 8001138: 3301 adds r3, #1
- 800113a: 61fb str r3, [r7, #28]
- 800113c: 69fb ldr r3, [r7, #28]
- 800113e: 2b0f cmp r3, #15
- 8001140: f67f ae86 bls.w 8000e50 <HAL_GPIO_Init+0x20>
+ 80010e2: 69fb ldr r3, [r7, #28]
+ 80010e4: 3301 adds r3, #1
+ 80010e6: 61fb str r3, [r7, #28]
+ 80010e8: 69fb ldr r3, [r7, #28]
+ 80010ea: 2b0f cmp r3, #15
+ 80010ec: f67f ae86 bls.w 8000dfc <HAL_GPIO_Init+0x20>
}
}
}
}
- 8001144: bf00 nop
- 8001146: 3724 adds r7, #36 ; 0x24
- 8001148: 46bd mov sp, r7
- 800114a: f85d 7b04 ldr.w r7, [sp], #4
- 800114e: 4770 bx lr
- 8001150: 40023800 .word 0x40023800
- 8001154: 40013800 .word 0x40013800
- 8001158: 40020000 .word 0x40020000
- 800115c: 40020400 .word 0x40020400
- 8001160: 40020800 .word 0x40020800
- 8001164: 40020c00 .word 0x40020c00
- 8001168: 40021000 .word 0x40021000
- 800116c: 40021400 .word 0x40021400
- 8001170: 40021800 .word 0x40021800
- 8001174: 40021c00 .word 0x40021c00
- 8001178: 40022000 .word 0x40022000
- 800117c: 40022400 .word 0x40022400
- 8001180: 40013c00 .word 0x40013c00
-
-08001184 <HAL_RCC_OscConfig>:
+ 80010f0: bf00 nop
+ 80010f2: 3724 adds r7, #36 ; 0x24
+ 80010f4: 46bd mov sp, r7
+ 80010f6: f85d 7b04 ldr.w r7, [sp], #4
+ 80010fa: 4770 bx lr
+ 80010fc: 40023800 .word 0x40023800
+ 8001100: 40013800 .word 0x40013800
+ 8001104: 40020000 .word 0x40020000
+ 8001108: 40020400 .word 0x40020400
+ 800110c: 40020800 .word 0x40020800
+ 8001110: 40020c00 .word 0x40020c00
+ 8001114: 40021000 .word 0x40021000
+ 8001118: 40021400 .word 0x40021400
+ 800111c: 40021800 .word 0x40021800
+ 8001120: 40021c00 .word 0x40021c00
+ 8001124: 40022000 .word 0x40022000
+ 8001128: 40022400 .word 0x40022400
+ 800112c: 40013c00 .word 0x40013c00
+
+08001130 <HAL_RCC_OscConfig>:
* supported by this function. User should request a transition to HSE Off
* first and then HSE On or HSE Bypass.
* @retval HAL status
*/
HAL_StatusTypeDef HAL_RCC_OscConfig(RCC_OscInitTypeDef *RCC_OscInitStruct)
{
- 8001184: b580 push {r7, lr}
- 8001186: b086 sub sp, #24
- 8001188: af00 add r7, sp, #0
- 800118a: 6078 str r0, [r7, #4]
+ 8001130: b580 push {r7, lr}
+ 8001132: b086 sub sp, #24
+ 8001134: af00 add r7, sp, #0
+ 8001136: 6078 str r0, [r7, #4]
uint32_t tickstart;
FlagStatus pwrclkchanged = RESET;
- 800118c: 2300 movs r3, #0
- 800118e: 75fb strb r3, [r7, #23]
+ 8001138: 2300 movs r3, #0
+ 800113a: 75fb strb r3, [r7, #23]
/* Check Null pointer */
if(RCC_OscInitStruct == NULL)
- 8001190: 687b ldr r3, [r7, #4]
- 8001192: 2b00 cmp r3, #0
- 8001194: d101 bne.n 800119a <HAL_RCC_OscConfig+0x16>
+ 800113c: 687b ldr r3, [r7, #4]
+ 800113e: 2b00 cmp r3, #0
+ 8001140: d101 bne.n 8001146 <HAL_RCC_OscConfig+0x16>
{
return HAL_ERROR;
- 8001196: 2301 movs r3, #1
- 8001198: e25e b.n 8001658 <HAL_RCC_OscConfig+0x4d4>
+ 8001142: 2301 movs r3, #1
+ 8001144: e25e b.n 8001604 <HAL_RCC_OscConfig+0x4d4>
/* Check the parameters */
assert_param(IS_RCC_OSCILLATORTYPE(RCC_OscInitStruct->OscillatorType));
/*------------------------------- HSE Configuration ------------------------*/
if(((RCC_OscInitStruct->OscillatorType) & RCC_OSCILLATORTYPE_HSE) == RCC_OSCILLATORTYPE_HSE)
- 800119a: 687b ldr r3, [r7, #4]
- 800119c: 681b ldr r3, [r3, #0]
- 800119e: f003 0301 and.w r3, r3, #1
- 80011a2: 2b00 cmp r3, #0
- 80011a4: f000 8087 beq.w 80012b6 <HAL_RCC_OscConfig+0x132>
+ 8001146: 687b ldr r3, [r7, #4]
+ 8001148: 681b ldr r3, [r3, #0]
+ 800114a: f003 0301 and.w r3, r3, #1
+ 800114e: 2b00 cmp r3, #0
+ 8001150: f000 8087 beq.w 8001262 <HAL_RCC_OscConfig+0x132>
{
/* Check the parameters */
assert_param(IS_RCC_HSE(RCC_OscInitStruct->HSEState));
/* When the HSE is used as system clock or clock source for PLL, It can not be disabled */
if((__HAL_RCC_GET_SYSCLK_SOURCE() == RCC_SYSCLKSOURCE_STATUS_HSE)
- 80011a8: 4b96 ldr r3, [pc, #600] ; (8001404 <HAL_RCC_OscConfig+0x280>)
- 80011aa: 689b ldr r3, [r3, #8]
- 80011ac: f003 030c and.w r3, r3, #12
- 80011b0: 2b04 cmp r3, #4
- 80011b2: d00c beq.n 80011ce <HAL_RCC_OscConfig+0x4a>
+ 8001154: 4b96 ldr r3, [pc, #600] ; (80013b0 <HAL_RCC_OscConfig+0x280>)
+ 8001156: 689b ldr r3, [r3, #8]
+ 8001158: f003 030c and.w r3, r3, #12
+ 800115c: 2b04 cmp r3, #4
+ 800115e: d00c beq.n 800117a <HAL_RCC_OscConfig+0x4a>
|| ((__HAL_RCC_GET_SYSCLK_SOURCE() == RCC_SYSCLKSOURCE_STATUS_PLLCLK) && ((RCC->PLLCFGR & RCC_PLLCFGR_PLLSRC) == RCC_PLLCFGR_PLLSRC_HSE)))
- 80011b4: 4b93 ldr r3, [pc, #588] ; (8001404 <HAL_RCC_OscConfig+0x280>)
- 80011b6: 689b ldr r3, [r3, #8]
- 80011b8: f003 030c and.w r3, r3, #12
- 80011bc: 2b08 cmp r3, #8
- 80011be: d112 bne.n 80011e6 <HAL_RCC_OscConfig+0x62>
- 80011c0: 4b90 ldr r3, [pc, #576] ; (8001404 <HAL_RCC_OscConfig+0x280>)
- 80011c2: 685b ldr r3, [r3, #4]
- 80011c4: f403 0380 and.w r3, r3, #4194304 ; 0x400000
- 80011c8: f5b3 0f80 cmp.w r3, #4194304 ; 0x400000
- 80011cc: d10b bne.n 80011e6 <HAL_RCC_OscConfig+0x62>
+ 8001160: 4b93 ldr r3, [pc, #588] ; (80013b0 <HAL_RCC_OscConfig+0x280>)
+ 8001162: 689b ldr r3, [r3, #8]
+ 8001164: f003 030c and.w r3, r3, #12
+ 8001168: 2b08 cmp r3, #8
+ 800116a: d112 bne.n 8001192 <HAL_RCC_OscConfig+0x62>
+ 800116c: 4b90 ldr r3, [pc, #576] ; (80013b0 <HAL_RCC_OscConfig+0x280>)
+ 800116e: 685b ldr r3, [r3, #4]
+ 8001170: f403 0380 and.w r3, r3, #4194304 ; 0x400000
+ 8001174: f5b3 0f80 cmp.w r3, #4194304 ; 0x400000
+ 8001178: d10b bne.n 8001192 <HAL_RCC_OscConfig+0x62>
{
if((__HAL_RCC_GET_FLAG(RCC_FLAG_HSERDY) != RESET) && (RCC_OscInitStruct->HSEState == RCC_HSE_OFF))
- 80011ce: 4b8d ldr r3, [pc, #564] ; (8001404 <HAL_RCC_OscConfig+0x280>)
- 80011d0: 681b ldr r3, [r3, #0]
- 80011d2: f403 3300 and.w r3, r3, #131072 ; 0x20000
- 80011d6: 2b00 cmp r3, #0
- 80011d8: d06c beq.n 80012b4 <HAL_RCC_OscConfig+0x130>
- 80011da: 687b ldr r3, [r7, #4]
- 80011dc: 685b ldr r3, [r3, #4]
- 80011de: 2b00 cmp r3, #0
- 80011e0: d168 bne.n 80012b4 <HAL_RCC_OscConfig+0x130>
+ 800117a: 4b8d ldr r3, [pc, #564] ; (80013b0 <HAL_RCC_OscConfig+0x280>)
+ 800117c: 681b ldr r3, [r3, #0]
+ 800117e: f403 3300 and.w r3, r3, #131072 ; 0x20000
+ 8001182: 2b00 cmp r3, #0
+ 8001184: d06c beq.n 8001260 <HAL_RCC_OscConfig+0x130>
+ 8001186: 687b ldr r3, [r7, #4]
+ 8001188: 685b ldr r3, [r3, #4]
+ 800118a: 2b00 cmp r3, #0
+ 800118c: d168 bne.n 8001260 <HAL_RCC_OscConfig+0x130>
{
return HAL_ERROR;
- 80011e2: 2301 movs r3, #1
- 80011e4: e238 b.n 8001658 <HAL_RCC_OscConfig+0x4d4>
+ 800118e: 2301 movs r3, #1
+ 8001190: e238 b.n 8001604 <HAL_RCC_OscConfig+0x4d4>
}
}
else
{
/* Set the new HSE configuration ---------------------------------------*/
__HAL_RCC_HSE_CONFIG(RCC_OscInitStruct->HSEState);
- 80011e6: 687b ldr r3, [r7, #4]
- 80011e8: 685b ldr r3, [r3, #4]
- 80011ea: f5b3 3f80 cmp.w r3, #65536 ; 0x10000
- 80011ee: d106 bne.n 80011fe <HAL_RCC_OscConfig+0x7a>
- 80011f0: 4b84 ldr r3, [pc, #528] ; (8001404 <HAL_RCC_OscConfig+0x280>)
+ 8001192: 687b ldr r3, [r7, #4]
+ 8001194: 685b ldr r3, [r3, #4]
+ 8001196: f5b3 3f80 cmp.w r3, #65536 ; 0x10000
+ 800119a: d106 bne.n 80011aa <HAL_RCC_OscConfig+0x7a>
+ 800119c: 4b84 ldr r3, [pc, #528] ; (80013b0 <HAL_RCC_OscConfig+0x280>)
+ 800119e: 681b ldr r3, [r3, #0]
+ 80011a0: 4a83 ldr r2, [pc, #524] ; (80013b0 <HAL_RCC_OscConfig+0x280>)
+ 80011a2: f443 3380 orr.w r3, r3, #65536 ; 0x10000
+ 80011a6: 6013 str r3, [r2, #0]
+ 80011a8: e02e b.n 8001208 <HAL_RCC_OscConfig+0xd8>
+ 80011aa: 687b ldr r3, [r7, #4]
+ 80011ac: 685b ldr r3, [r3, #4]
+ 80011ae: 2b00 cmp r3, #0
+ 80011b0: d10c bne.n 80011cc <HAL_RCC_OscConfig+0x9c>
+ 80011b2: 4b7f ldr r3, [pc, #508] ; (80013b0 <HAL_RCC_OscConfig+0x280>)
+ 80011b4: 681b ldr r3, [r3, #0]
+ 80011b6: 4a7e ldr r2, [pc, #504] ; (80013b0 <HAL_RCC_OscConfig+0x280>)
+ 80011b8: f423 3380 bic.w r3, r3, #65536 ; 0x10000
+ 80011bc: 6013 str r3, [r2, #0]
+ 80011be: 4b7c ldr r3, [pc, #496] ; (80013b0 <HAL_RCC_OscConfig+0x280>)
+ 80011c0: 681b ldr r3, [r3, #0]
+ 80011c2: 4a7b ldr r2, [pc, #492] ; (80013b0 <HAL_RCC_OscConfig+0x280>)
+ 80011c4: f423 2380 bic.w r3, r3, #262144 ; 0x40000
+ 80011c8: 6013 str r3, [r2, #0]
+ 80011ca: e01d b.n 8001208 <HAL_RCC_OscConfig+0xd8>
+ 80011cc: 687b ldr r3, [r7, #4]
+ 80011ce: 685b ldr r3, [r3, #4]
+ 80011d0: f5b3 2fa0 cmp.w r3, #327680 ; 0x50000
+ 80011d4: d10c bne.n 80011f0 <HAL_RCC_OscConfig+0xc0>
+ 80011d6: 4b76 ldr r3, [pc, #472] ; (80013b0 <HAL_RCC_OscConfig+0x280>)
+ 80011d8: 681b ldr r3, [r3, #0]
+ 80011da: 4a75 ldr r2, [pc, #468] ; (80013b0 <HAL_RCC_OscConfig+0x280>)
+ 80011dc: f443 2380 orr.w r3, r3, #262144 ; 0x40000
+ 80011e0: 6013 str r3, [r2, #0]
+ 80011e2: 4b73 ldr r3, [pc, #460] ; (80013b0 <HAL_RCC_OscConfig+0x280>)
+ 80011e4: 681b ldr r3, [r3, #0]
+ 80011e6: 4a72 ldr r2, [pc, #456] ; (80013b0 <HAL_RCC_OscConfig+0x280>)
+ 80011e8: f443 3380 orr.w r3, r3, #65536 ; 0x10000
+ 80011ec: 6013 str r3, [r2, #0]
+ 80011ee: e00b b.n 8001208 <HAL_RCC_OscConfig+0xd8>
+ 80011f0: 4b6f ldr r3, [pc, #444] ; (80013b0 <HAL_RCC_OscConfig+0x280>)
80011f2: 681b ldr r3, [r3, #0]
- 80011f4: 4a83 ldr r2, [pc, #524] ; (8001404 <HAL_RCC_OscConfig+0x280>)
- 80011f6: f443 3380 orr.w r3, r3, #65536 ; 0x10000
+ 80011f4: 4a6e ldr r2, [pc, #440] ; (80013b0 <HAL_RCC_OscConfig+0x280>)
+ 80011f6: f423 3380 bic.w r3, r3, #65536 ; 0x10000
80011fa: 6013 str r3, [r2, #0]
- 80011fc: e02e b.n 800125c <HAL_RCC_OscConfig+0xd8>
- 80011fe: 687b ldr r3, [r7, #4]
- 8001200: 685b ldr r3, [r3, #4]
- 8001202: 2b00 cmp r3, #0
- 8001204: d10c bne.n 8001220 <HAL_RCC_OscConfig+0x9c>
- 8001206: 4b7f ldr r3, [pc, #508] ; (8001404 <HAL_RCC_OscConfig+0x280>)
- 8001208: 681b ldr r3, [r3, #0]
- 800120a: 4a7e ldr r2, [pc, #504] ; (8001404 <HAL_RCC_OscConfig+0x280>)
- 800120c: f423 3380 bic.w r3, r3, #65536 ; 0x10000
- 8001210: 6013 str r3, [r2, #0]
- 8001212: 4b7c ldr r3, [pc, #496] ; (8001404 <HAL_RCC_OscConfig+0x280>)
- 8001214: 681b ldr r3, [r3, #0]
- 8001216: 4a7b ldr r2, [pc, #492] ; (8001404 <HAL_RCC_OscConfig+0x280>)
- 8001218: f423 2380 bic.w r3, r3, #262144 ; 0x40000
- 800121c: 6013 str r3, [r2, #0]
- 800121e: e01d b.n 800125c <HAL_RCC_OscConfig+0xd8>
- 8001220: 687b ldr r3, [r7, #4]
- 8001222: 685b ldr r3, [r3, #4]
- 8001224: f5b3 2fa0 cmp.w r3, #327680 ; 0x50000
- 8001228: d10c bne.n 8001244 <HAL_RCC_OscConfig+0xc0>
- 800122a: 4b76 ldr r3, [pc, #472] ; (8001404 <HAL_RCC_OscConfig+0x280>)
- 800122c: 681b ldr r3, [r3, #0]
- 800122e: 4a75 ldr r2, [pc, #468] ; (8001404 <HAL_RCC_OscConfig+0x280>)
- 8001230: f443 2380 orr.w r3, r3, #262144 ; 0x40000
- 8001234: 6013 str r3, [r2, #0]
- 8001236: 4b73 ldr r3, [pc, #460] ; (8001404 <HAL_RCC_OscConfig+0x280>)
- 8001238: 681b ldr r3, [r3, #0]
- 800123a: 4a72 ldr r2, [pc, #456] ; (8001404 <HAL_RCC_OscConfig+0x280>)
- 800123c: f443 3380 orr.w r3, r3, #65536 ; 0x10000
- 8001240: 6013 str r3, [r2, #0]
- 8001242: e00b b.n 800125c <HAL_RCC_OscConfig+0xd8>
- 8001244: 4b6f ldr r3, [pc, #444] ; (8001404 <HAL_RCC_OscConfig+0x280>)
- 8001246: 681b ldr r3, [r3, #0]
- 8001248: 4a6e ldr r2, [pc, #440] ; (8001404 <HAL_RCC_OscConfig+0x280>)
- 800124a: f423 3380 bic.w r3, r3, #65536 ; 0x10000
- 800124e: 6013 str r3, [r2, #0]
- 8001250: 4b6c ldr r3, [pc, #432] ; (8001404 <HAL_RCC_OscConfig+0x280>)
- 8001252: 681b ldr r3, [r3, #0]
- 8001254: 4a6b ldr r2, [pc, #428] ; (8001404 <HAL_RCC_OscConfig+0x280>)
- 8001256: f423 2380 bic.w r3, r3, #262144 ; 0x40000
- 800125a: 6013 str r3, [r2, #0]
+ 80011fc: 4b6c ldr r3, [pc, #432] ; (80013b0 <HAL_RCC_OscConfig+0x280>)
+ 80011fe: 681b ldr r3, [r3, #0]
+ 8001200: 4a6b ldr r2, [pc, #428] ; (80013b0 <HAL_RCC_OscConfig+0x280>)
+ 8001202: f423 2380 bic.w r3, r3, #262144 ; 0x40000
+ 8001206: 6013 str r3, [r2, #0]
/* Check the HSE State */
if(RCC_OscInitStruct->HSEState != RCC_HSE_OFF)
- 800125c: 687b ldr r3, [r7, #4]
- 800125e: 685b ldr r3, [r3, #4]
- 8001260: 2b00 cmp r3, #0
- 8001262: d013 beq.n 800128c <HAL_RCC_OscConfig+0x108>
+ 8001208: 687b ldr r3, [r7, #4]
+ 800120a: 685b ldr r3, [r3, #4]
+ 800120c: 2b00 cmp r3, #0
+ 800120e: d013 beq.n 8001238 <HAL_RCC_OscConfig+0x108>
{
/* Get Start Tick*/
tickstart = HAL_GetTick();
- 8001264: f7ff fca4 bl 8000bb0 <HAL_GetTick>
- 8001268: 6138 str r0, [r7, #16]
+ 8001210: f7ff fca4 bl 8000b5c <HAL_GetTick>
+ 8001214: 6138 str r0, [r7, #16]
/* Wait till HSE is ready */
while(__HAL_RCC_GET_FLAG(RCC_FLAG_HSERDY) == RESET)
- 800126a: e008 b.n 800127e <HAL_RCC_OscConfig+0xfa>
+ 8001216: e008 b.n 800122a <HAL_RCC_OscConfig+0xfa>
{
if((HAL_GetTick() - tickstart ) > HSE_TIMEOUT_VALUE)
- 800126c: f7ff fca0 bl 8000bb0 <HAL_GetTick>
- 8001270: 4602 mov r2, r0
- 8001272: 693b ldr r3, [r7, #16]
- 8001274: 1ad3 subs r3, r2, r3
- 8001276: 2b64 cmp r3, #100 ; 0x64
- 8001278: d901 bls.n 800127e <HAL_RCC_OscConfig+0xfa>
+ 8001218: f7ff fca0 bl 8000b5c <HAL_GetTick>
+ 800121c: 4602 mov r2, r0
+ 800121e: 693b ldr r3, [r7, #16]
+ 8001220: 1ad3 subs r3, r2, r3
+ 8001222: 2b64 cmp r3, #100 ; 0x64
+ 8001224: d901 bls.n 800122a <HAL_RCC_OscConfig+0xfa>
{
return HAL_TIMEOUT;
- 800127a: 2303 movs r3, #3
- 800127c: e1ec b.n 8001658 <HAL_RCC_OscConfig+0x4d4>
+ 8001226: 2303 movs r3, #3
+ 8001228: e1ec b.n 8001604 <HAL_RCC_OscConfig+0x4d4>
while(__HAL_RCC_GET_FLAG(RCC_FLAG_HSERDY) == RESET)
- 800127e: 4b61 ldr r3, [pc, #388] ; (8001404 <HAL_RCC_OscConfig+0x280>)
- 8001280: 681b ldr r3, [r3, #0]
- 8001282: f403 3300 and.w r3, r3, #131072 ; 0x20000
- 8001286: 2b00 cmp r3, #0
- 8001288: d0f0 beq.n 800126c <HAL_RCC_OscConfig+0xe8>
- 800128a: e014 b.n 80012b6 <HAL_RCC_OscConfig+0x132>
+ 800122a: 4b61 ldr r3, [pc, #388] ; (80013b0 <HAL_RCC_OscConfig+0x280>)
+ 800122c: 681b ldr r3, [r3, #0]
+ 800122e: f403 3300 and.w r3, r3, #131072 ; 0x20000
+ 8001232: 2b00 cmp r3, #0
+ 8001234: d0f0 beq.n 8001218 <HAL_RCC_OscConfig+0xe8>
+ 8001236: e014 b.n 8001262 <HAL_RCC_OscConfig+0x132>
}
}
else
{
/* Get Start Tick*/
tickstart = HAL_GetTick();
- 800128c: f7ff fc90 bl 8000bb0 <HAL_GetTick>
- 8001290: 6138 str r0, [r7, #16]
+ 8001238: f7ff fc90 bl 8000b5c <HAL_GetTick>
+ 800123c: 6138 str r0, [r7, #16]
/* Wait till HSE is bypassed or disabled */
while(__HAL_RCC_GET_FLAG(RCC_FLAG_HSERDY) != RESET)
- 8001292: e008 b.n 80012a6 <HAL_RCC_OscConfig+0x122>
+ 800123e: e008 b.n 8001252 <HAL_RCC_OscConfig+0x122>
{
if((HAL_GetTick() - tickstart ) > HSE_TIMEOUT_VALUE)
- 8001294: f7ff fc8c bl 8000bb0 <HAL_GetTick>
- 8001298: 4602 mov r2, r0
- 800129a: 693b ldr r3, [r7, #16]
- 800129c: 1ad3 subs r3, r2, r3
- 800129e: 2b64 cmp r3, #100 ; 0x64
- 80012a0: d901 bls.n 80012a6 <HAL_RCC_OscConfig+0x122>
+ 8001240: f7ff fc8c bl 8000b5c <HAL_GetTick>
+ 8001244: 4602 mov r2, r0
+ 8001246: 693b ldr r3, [r7, #16]
+ 8001248: 1ad3 subs r3, r2, r3
+ 800124a: 2b64 cmp r3, #100 ; 0x64
+ 800124c: d901 bls.n 8001252 <HAL_RCC_OscConfig+0x122>
{
return HAL_TIMEOUT;
- 80012a2: 2303 movs r3, #3
- 80012a4: e1d8 b.n 8001658 <HAL_RCC_OscConfig+0x4d4>
+ 800124e: 2303 movs r3, #3
+ 8001250: e1d8 b.n 8001604 <HAL_RCC_OscConfig+0x4d4>
while(__HAL_RCC_GET_FLAG(RCC_FLAG_HSERDY) != RESET)
- 80012a6: 4b57 ldr r3, [pc, #348] ; (8001404 <HAL_RCC_OscConfig+0x280>)
- 80012a8: 681b ldr r3, [r3, #0]
- 80012aa: f403 3300 and.w r3, r3, #131072 ; 0x20000
- 80012ae: 2b00 cmp r3, #0
- 80012b0: d1f0 bne.n 8001294 <HAL_RCC_OscConfig+0x110>
- 80012b2: e000 b.n 80012b6 <HAL_RCC_OscConfig+0x132>
+ 8001252: 4b57 ldr r3, [pc, #348] ; (80013b0 <HAL_RCC_OscConfig+0x280>)
+ 8001254: 681b ldr r3, [r3, #0]
+ 8001256: f403 3300 and.w r3, r3, #131072 ; 0x20000
+ 800125a: 2b00 cmp r3, #0
+ 800125c: d1f0 bne.n 8001240 <HAL_RCC_OscConfig+0x110>
+ 800125e: e000 b.n 8001262 <HAL_RCC_OscConfig+0x132>
if((__HAL_RCC_GET_FLAG(RCC_FLAG_HSERDY) != RESET) && (RCC_OscInitStruct->HSEState == RCC_HSE_OFF))
- 80012b4: bf00 nop
+ 8001260: bf00 nop
}
}
}
}
/*----------------------------- HSI Configuration --------------------------*/
if(((RCC_OscInitStruct->OscillatorType) & RCC_OSCILLATORTYPE_HSI) == RCC_OSCILLATORTYPE_HSI)
- 80012b6: 687b ldr r3, [r7, #4]
- 80012b8: 681b ldr r3, [r3, #0]
- 80012ba: f003 0302 and.w r3, r3, #2
- 80012be: 2b00 cmp r3, #0
- 80012c0: d069 beq.n 8001396 <HAL_RCC_OscConfig+0x212>
+ 8001262: 687b ldr r3, [r7, #4]
+ 8001264: 681b ldr r3, [r3, #0]
+ 8001266: f003 0302 and.w r3, r3, #2
+ 800126a: 2b00 cmp r3, #0
+ 800126c: d069 beq.n 8001342 <HAL_RCC_OscConfig+0x212>
/* Check the parameters */
assert_param(IS_RCC_HSI(RCC_OscInitStruct->HSIState));
assert_param(IS_RCC_CALIBRATION_VALUE(RCC_OscInitStruct->HSICalibrationValue));
/* Check if HSI is used as system clock or as PLL source when PLL is selected as system clock */
if((__HAL_RCC_GET_SYSCLK_SOURCE() == RCC_SYSCLKSOURCE_STATUS_HSI)
- 80012c2: 4b50 ldr r3, [pc, #320] ; (8001404 <HAL_RCC_OscConfig+0x280>)
- 80012c4: 689b ldr r3, [r3, #8]
- 80012c6: f003 030c and.w r3, r3, #12
- 80012ca: 2b00 cmp r3, #0
- 80012cc: d00b beq.n 80012e6 <HAL_RCC_OscConfig+0x162>
+ 800126e: 4b50 ldr r3, [pc, #320] ; (80013b0 <HAL_RCC_OscConfig+0x280>)
+ 8001270: 689b ldr r3, [r3, #8]
+ 8001272: f003 030c and.w r3, r3, #12
+ 8001276: 2b00 cmp r3, #0
+ 8001278: d00b beq.n 8001292 <HAL_RCC_OscConfig+0x162>
|| ((__HAL_RCC_GET_SYSCLK_SOURCE() == RCC_SYSCLKSOURCE_STATUS_PLLCLK) && ((RCC->PLLCFGR & RCC_PLLCFGR_PLLSRC) == RCC_PLLCFGR_PLLSRC_HSI)))
- 80012ce: 4b4d ldr r3, [pc, #308] ; (8001404 <HAL_RCC_OscConfig+0x280>)
- 80012d0: 689b ldr r3, [r3, #8]
- 80012d2: f003 030c and.w r3, r3, #12
- 80012d6: 2b08 cmp r3, #8
- 80012d8: d11c bne.n 8001314 <HAL_RCC_OscConfig+0x190>
- 80012da: 4b4a ldr r3, [pc, #296] ; (8001404 <HAL_RCC_OscConfig+0x280>)
- 80012dc: 685b ldr r3, [r3, #4]
- 80012de: f403 0380 and.w r3, r3, #4194304 ; 0x400000
- 80012e2: 2b00 cmp r3, #0
- 80012e4: d116 bne.n 8001314 <HAL_RCC_OscConfig+0x190>
+ 800127a: 4b4d ldr r3, [pc, #308] ; (80013b0 <HAL_RCC_OscConfig+0x280>)
+ 800127c: 689b ldr r3, [r3, #8]
+ 800127e: f003 030c and.w r3, r3, #12
+ 8001282: 2b08 cmp r3, #8
+ 8001284: d11c bne.n 80012c0 <HAL_RCC_OscConfig+0x190>
+ 8001286: 4b4a ldr r3, [pc, #296] ; (80013b0 <HAL_RCC_OscConfig+0x280>)
+ 8001288: 685b ldr r3, [r3, #4]
+ 800128a: f403 0380 and.w r3, r3, #4194304 ; 0x400000
+ 800128e: 2b00 cmp r3, #0
+ 8001290: d116 bne.n 80012c0 <HAL_RCC_OscConfig+0x190>
{
/* When HSI is used as system clock it will not disabled */
if((__HAL_RCC_GET_FLAG(RCC_FLAG_HSIRDY) != RESET) && (RCC_OscInitStruct->HSIState != RCC_HSI_ON))
- 80012e6: 4b47 ldr r3, [pc, #284] ; (8001404 <HAL_RCC_OscConfig+0x280>)
- 80012e8: 681b ldr r3, [r3, #0]
- 80012ea: f003 0302 and.w r3, r3, #2
- 80012ee: 2b00 cmp r3, #0
- 80012f0: d005 beq.n 80012fe <HAL_RCC_OscConfig+0x17a>
- 80012f2: 687b ldr r3, [r7, #4]
- 80012f4: 68db ldr r3, [r3, #12]
- 80012f6: 2b01 cmp r3, #1
- 80012f8: d001 beq.n 80012fe <HAL_RCC_OscConfig+0x17a>
+ 8001292: 4b47 ldr r3, [pc, #284] ; (80013b0 <HAL_RCC_OscConfig+0x280>)
+ 8001294: 681b ldr r3, [r3, #0]
+ 8001296: f003 0302 and.w r3, r3, #2
+ 800129a: 2b00 cmp r3, #0
+ 800129c: d005 beq.n 80012aa <HAL_RCC_OscConfig+0x17a>
+ 800129e: 687b ldr r3, [r7, #4]
+ 80012a0: 68db ldr r3, [r3, #12]
+ 80012a2: 2b01 cmp r3, #1
+ 80012a4: d001 beq.n 80012aa <HAL_RCC_OscConfig+0x17a>
{
return HAL_ERROR;
- 80012fa: 2301 movs r3, #1
- 80012fc: e1ac b.n 8001658 <HAL_RCC_OscConfig+0x4d4>
+ 80012a6: 2301 movs r3, #1
+ 80012a8: e1ac b.n 8001604 <HAL_RCC_OscConfig+0x4d4>
}
/* Otherwise, just the calibration is allowed */
else
{
/* Adjusts the Internal High Speed oscillator (HSI) calibration value.*/
__HAL_RCC_HSI_CALIBRATIONVALUE_ADJUST(RCC_OscInitStruct->HSICalibrationValue);
- 80012fe: 4b41 ldr r3, [pc, #260] ; (8001404 <HAL_RCC_OscConfig+0x280>)
- 8001300: 681b ldr r3, [r3, #0]
- 8001302: f023 02f8 bic.w r2, r3, #248 ; 0xf8
- 8001306: 687b ldr r3, [r7, #4]
- 8001308: 691b ldr r3, [r3, #16]
- 800130a: 00db lsls r3, r3, #3
- 800130c: 493d ldr r1, [pc, #244] ; (8001404 <HAL_RCC_OscConfig+0x280>)
- 800130e: 4313 orrs r3, r2
- 8001310: 600b str r3, [r1, #0]
+ 80012aa: 4b41 ldr r3, [pc, #260] ; (80013b0 <HAL_RCC_OscConfig+0x280>)
+ 80012ac: 681b ldr r3, [r3, #0]
+ 80012ae: f023 02f8 bic.w r2, r3, #248 ; 0xf8
+ 80012b2: 687b ldr r3, [r7, #4]
+ 80012b4: 691b ldr r3, [r3, #16]
+ 80012b6: 00db lsls r3, r3, #3
+ 80012b8: 493d ldr r1, [pc, #244] ; (80013b0 <HAL_RCC_OscConfig+0x280>)
+ 80012ba: 4313 orrs r3, r2
+ 80012bc: 600b str r3, [r1, #0]
if((__HAL_RCC_GET_FLAG(RCC_FLAG_HSIRDY) != RESET) && (RCC_OscInitStruct->HSIState != RCC_HSI_ON))
- 8001312: e040 b.n 8001396 <HAL_RCC_OscConfig+0x212>
+ 80012be: e040 b.n 8001342 <HAL_RCC_OscConfig+0x212>
}
}
else
{
/* Check the HSI State */
if((RCC_OscInitStruct->HSIState)!= RCC_HSI_OFF)
- 8001314: 687b ldr r3, [r7, #4]
- 8001316: 68db ldr r3, [r3, #12]
- 8001318: 2b00 cmp r3, #0
- 800131a: d023 beq.n 8001364 <HAL_RCC_OscConfig+0x1e0>
+ 80012c0: 687b ldr r3, [r7, #4]
+ 80012c2: 68db ldr r3, [r3, #12]
+ 80012c4: 2b00 cmp r3, #0
+ 80012c6: d023 beq.n 8001310 <HAL_RCC_OscConfig+0x1e0>
{
/* Enable the Internal High Speed oscillator (HSI). */
__HAL_RCC_HSI_ENABLE();
- 800131c: 4b39 ldr r3, [pc, #228] ; (8001404 <HAL_RCC_OscConfig+0x280>)
- 800131e: 681b ldr r3, [r3, #0]
- 8001320: 4a38 ldr r2, [pc, #224] ; (8001404 <HAL_RCC_OscConfig+0x280>)
- 8001322: f043 0301 orr.w r3, r3, #1
- 8001326: 6013 str r3, [r2, #0]
+ 80012c8: 4b39 ldr r3, [pc, #228] ; (80013b0 <HAL_RCC_OscConfig+0x280>)
+ 80012ca: 681b ldr r3, [r3, #0]
+ 80012cc: 4a38 ldr r2, [pc, #224] ; (80013b0 <HAL_RCC_OscConfig+0x280>)
+ 80012ce: f043 0301 orr.w r3, r3, #1
+ 80012d2: 6013 str r3, [r2, #0]
/* Get Start Tick*/
tickstart = HAL_GetTick();
- 8001328: f7ff fc42 bl 8000bb0 <HAL_GetTick>
- 800132c: 6138 str r0, [r7, #16]
+ 80012d4: f7ff fc42 bl 8000b5c <HAL_GetTick>
+ 80012d8: 6138 str r0, [r7, #16]
/* Wait till HSI is ready */
while(__HAL_RCC_GET_FLAG(RCC_FLAG_HSIRDY) == RESET)
- 800132e: e008 b.n 8001342 <HAL_RCC_OscConfig+0x1be>
+ 80012da: e008 b.n 80012ee <HAL_RCC_OscConfig+0x1be>
{
if((HAL_GetTick() - tickstart ) > HSI_TIMEOUT_VALUE)
- 8001330: f7ff fc3e bl 8000bb0 <HAL_GetTick>
- 8001334: 4602 mov r2, r0
- 8001336: 693b ldr r3, [r7, #16]
- 8001338: 1ad3 subs r3, r2, r3
- 800133a: 2b02 cmp r3, #2
- 800133c: d901 bls.n 8001342 <HAL_RCC_OscConfig+0x1be>
+ 80012dc: f7ff fc3e bl 8000b5c <HAL_GetTick>
+ 80012e0: 4602 mov r2, r0
+ 80012e2: 693b ldr r3, [r7, #16]
+ 80012e4: 1ad3 subs r3, r2, r3
+ 80012e6: 2b02 cmp r3, #2
+ 80012e8: d901 bls.n 80012ee <HAL_RCC_OscConfig+0x1be>
{
return HAL_TIMEOUT;
- 800133e: 2303 movs r3, #3
- 8001340: e18a b.n 8001658 <HAL_RCC_OscConfig+0x4d4>
+ 80012ea: 2303 movs r3, #3
+ 80012ec: e18a b.n 8001604 <HAL_RCC_OscConfig+0x4d4>
while(__HAL_RCC_GET_FLAG(RCC_FLAG_HSIRDY) == RESET)
- 8001342: 4b30 ldr r3, [pc, #192] ; (8001404 <HAL_RCC_OscConfig+0x280>)
- 8001344: 681b ldr r3, [r3, #0]
- 8001346: f003 0302 and.w r3, r3, #2
- 800134a: 2b00 cmp r3, #0
- 800134c: d0f0 beq.n 8001330 <HAL_RCC_OscConfig+0x1ac>
+ 80012ee: 4b30 ldr r3, [pc, #192] ; (80013b0 <HAL_RCC_OscConfig+0x280>)
+ 80012f0: 681b ldr r3, [r3, #0]
+ 80012f2: f003 0302 and.w r3, r3, #2
+ 80012f6: 2b00 cmp r3, #0
+ 80012f8: d0f0 beq.n 80012dc <HAL_RCC_OscConfig+0x1ac>
}
}
/* Adjusts the Internal High Speed oscillator (HSI) calibration value.*/
__HAL_RCC_HSI_CALIBRATIONVALUE_ADJUST(RCC_OscInitStruct->HSICalibrationValue);
- 800134e: 4b2d ldr r3, [pc, #180] ; (8001404 <HAL_RCC_OscConfig+0x280>)
- 8001350: 681b ldr r3, [r3, #0]
- 8001352: f023 02f8 bic.w r2, r3, #248 ; 0xf8
- 8001356: 687b ldr r3, [r7, #4]
- 8001358: 691b ldr r3, [r3, #16]
- 800135a: 00db lsls r3, r3, #3
- 800135c: 4929 ldr r1, [pc, #164] ; (8001404 <HAL_RCC_OscConfig+0x280>)
- 800135e: 4313 orrs r3, r2
- 8001360: 600b str r3, [r1, #0]
- 8001362: e018 b.n 8001396 <HAL_RCC_OscConfig+0x212>
+ 80012fa: 4b2d ldr r3, [pc, #180] ; (80013b0 <HAL_RCC_OscConfig+0x280>)
+ 80012fc: 681b ldr r3, [r3, #0]
+ 80012fe: f023 02f8 bic.w r2, r3, #248 ; 0xf8
+ 8001302: 687b ldr r3, [r7, #4]
+ 8001304: 691b ldr r3, [r3, #16]
+ 8001306: 00db lsls r3, r3, #3
+ 8001308: 4929 ldr r1, [pc, #164] ; (80013b0 <HAL_RCC_OscConfig+0x280>)
+ 800130a: 4313 orrs r3, r2
+ 800130c: 600b str r3, [r1, #0]
+ 800130e: e018 b.n 8001342 <HAL_RCC_OscConfig+0x212>
}
else
{
/* Disable the Internal High Speed oscillator (HSI). */
__HAL_RCC_HSI_DISABLE();
- 8001364: 4b27 ldr r3, [pc, #156] ; (8001404 <HAL_RCC_OscConfig+0x280>)
- 8001366: 681b ldr r3, [r3, #0]
- 8001368: 4a26 ldr r2, [pc, #152] ; (8001404 <HAL_RCC_OscConfig+0x280>)
- 800136a: f023 0301 bic.w r3, r3, #1
- 800136e: 6013 str r3, [r2, #0]
+ 8001310: 4b27 ldr r3, [pc, #156] ; (80013b0 <HAL_RCC_OscConfig+0x280>)
+ 8001312: 681b ldr r3, [r3, #0]
+ 8001314: 4a26 ldr r2, [pc, #152] ; (80013b0 <HAL_RCC_OscConfig+0x280>)
+ 8001316: f023 0301 bic.w r3, r3, #1
+ 800131a: 6013 str r3, [r2, #0]
/* Get Start Tick*/
tickstart = HAL_GetTick();
- 8001370: f7ff fc1e bl 8000bb0 <HAL_GetTick>
- 8001374: 6138 str r0, [r7, #16]
+ 800131c: f7ff fc1e bl 8000b5c <HAL_GetTick>
+ 8001320: 6138 str r0, [r7, #16]
/* Wait till HSI is ready */
while(__HAL_RCC_GET_FLAG(RCC_FLAG_HSIRDY) != RESET)
- 8001376: e008 b.n 800138a <HAL_RCC_OscConfig+0x206>
+ 8001322: e008 b.n 8001336 <HAL_RCC_OscConfig+0x206>
{
if((HAL_GetTick() - tickstart ) > HSI_TIMEOUT_VALUE)
- 8001378: f7ff fc1a bl 8000bb0 <HAL_GetTick>
- 800137c: 4602 mov r2, r0
- 800137e: 693b ldr r3, [r7, #16]
- 8001380: 1ad3 subs r3, r2, r3
- 8001382: 2b02 cmp r3, #2
- 8001384: d901 bls.n 800138a <HAL_RCC_OscConfig+0x206>
+ 8001324: f7ff fc1a bl 8000b5c <HAL_GetTick>
+ 8001328: 4602 mov r2, r0
+ 800132a: 693b ldr r3, [r7, #16]
+ 800132c: 1ad3 subs r3, r2, r3
+ 800132e: 2b02 cmp r3, #2
+ 8001330: d901 bls.n 8001336 <HAL_RCC_OscConfig+0x206>
{
return HAL_TIMEOUT;
- 8001386: 2303 movs r3, #3
- 8001388: e166 b.n 8001658 <HAL_RCC_OscConfig+0x4d4>
+ 8001332: 2303 movs r3, #3
+ 8001334: e166 b.n 8001604 <HAL_RCC_OscConfig+0x4d4>
while(__HAL_RCC_GET_FLAG(RCC_FLAG_HSIRDY) != RESET)
- 800138a: 4b1e ldr r3, [pc, #120] ; (8001404 <HAL_RCC_OscConfig+0x280>)
- 800138c: 681b ldr r3, [r3, #0]
- 800138e: f003 0302 and.w r3, r3, #2
- 8001392: 2b00 cmp r3, #0
- 8001394: d1f0 bne.n 8001378 <HAL_RCC_OscConfig+0x1f4>
+ 8001336: 4b1e ldr r3, [pc, #120] ; (80013b0 <HAL_RCC_OscConfig+0x280>)
+ 8001338: 681b ldr r3, [r3, #0]
+ 800133a: f003 0302 and.w r3, r3, #2
+ 800133e: 2b00 cmp r3, #0
+ 8001340: d1f0 bne.n 8001324 <HAL_RCC_OscConfig+0x1f4>
}
}
}
}
/*------------------------------ LSI Configuration -------------------------*/
if(((RCC_OscInitStruct->OscillatorType) & RCC_OSCILLATORTYPE_LSI) == RCC_OSCILLATORTYPE_LSI)
- 8001396: 687b ldr r3, [r7, #4]
- 8001398: 681b ldr r3, [r3, #0]
- 800139a: f003 0308 and.w r3, r3, #8
- 800139e: 2b00 cmp r3, #0
- 80013a0: d038 beq.n 8001414 <HAL_RCC_OscConfig+0x290>
+ 8001342: 687b ldr r3, [r7, #4]
+ 8001344: 681b ldr r3, [r3, #0]
+ 8001346: f003 0308 and.w r3, r3, #8
+ 800134a: 2b00 cmp r3, #0
+ 800134c: d038 beq.n 80013c0 <HAL_RCC_OscConfig+0x290>
{
/* Check the parameters */
assert_param(IS_RCC_LSI(RCC_OscInitStruct->LSIState));
/* Check the LSI State */
if((RCC_OscInitStruct->LSIState)!= RCC_LSI_OFF)
- 80013a2: 687b ldr r3, [r7, #4]
- 80013a4: 695b ldr r3, [r3, #20]
- 80013a6: 2b00 cmp r3, #0
- 80013a8: d019 beq.n 80013de <HAL_RCC_OscConfig+0x25a>
+ 800134e: 687b ldr r3, [r7, #4]
+ 8001350: 695b ldr r3, [r3, #20]
+ 8001352: 2b00 cmp r3, #0
+ 8001354: d019 beq.n 800138a <HAL_RCC_OscConfig+0x25a>
{
/* Enable the Internal Low Speed oscillator (LSI). */
__HAL_RCC_LSI_ENABLE();
- 80013aa: 4b16 ldr r3, [pc, #88] ; (8001404 <HAL_RCC_OscConfig+0x280>)
- 80013ac: 6f5b ldr r3, [r3, #116] ; 0x74
- 80013ae: 4a15 ldr r2, [pc, #84] ; (8001404 <HAL_RCC_OscConfig+0x280>)
- 80013b0: f043 0301 orr.w r3, r3, #1
- 80013b4: 6753 str r3, [r2, #116] ; 0x74
+ 8001356: 4b16 ldr r3, [pc, #88] ; (80013b0 <HAL_RCC_OscConfig+0x280>)
+ 8001358: 6f5b ldr r3, [r3, #116] ; 0x74
+ 800135a: 4a15 ldr r2, [pc, #84] ; (80013b0 <HAL_RCC_OscConfig+0x280>)
+ 800135c: f043 0301 orr.w r3, r3, #1
+ 8001360: 6753 str r3, [r2, #116] ; 0x74
/* Get Start Tick*/
tickstart = HAL_GetTick();
- 80013b6: f7ff fbfb bl 8000bb0 <HAL_GetTick>
- 80013ba: 6138 str r0, [r7, #16]
+ 8001362: f7ff fbfb bl 8000b5c <HAL_GetTick>
+ 8001366: 6138 str r0, [r7, #16]
/* Wait till LSI is ready */
while(__HAL_RCC_GET_FLAG(RCC_FLAG_LSIRDY) == RESET)
- 80013bc: e008 b.n 80013d0 <HAL_RCC_OscConfig+0x24c>
+ 8001368: e008 b.n 800137c <HAL_RCC_OscConfig+0x24c>
{
if((HAL_GetTick() - tickstart ) > LSI_TIMEOUT_VALUE)
- 80013be: f7ff fbf7 bl 8000bb0 <HAL_GetTick>
- 80013c2: 4602 mov r2, r0
- 80013c4: 693b ldr r3, [r7, #16]
- 80013c6: 1ad3 subs r3, r2, r3
- 80013c8: 2b02 cmp r3, #2
- 80013ca: d901 bls.n 80013d0 <HAL_RCC_OscConfig+0x24c>
+ 800136a: f7ff fbf7 bl 8000b5c <HAL_GetTick>
+ 800136e: 4602 mov r2, r0
+ 8001370: 693b ldr r3, [r7, #16]
+ 8001372: 1ad3 subs r3, r2, r3
+ 8001374: 2b02 cmp r3, #2
+ 8001376: d901 bls.n 800137c <HAL_RCC_OscConfig+0x24c>
{
return HAL_TIMEOUT;
- 80013cc: 2303 movs r3, #3
- 80013ce: e143 b.n 8001658 <HAL_RCC_OscConfig+0x4d4>
+ 8001378: 2303 movs r3, #3
+ 800137a: e143 b.n 8001604 <HAL_RCC_OscConfig+0x4d4>
while(__HAL_RCC_GET_FLAG(RCC_FLAG_LSIRDY) == RESET)
- 80013d0: 4b0c ldr r3, [pc, #48] ; (8001404 <HAL_RCC_OscConfig+0x280>)
- 80013d2: 6f5b ldr r3, [r3, #116] ; 0x74
- 80013d4: f003 0302 and.w r3, r3, #2
- 80013d8: 2b00 cmp r3, #0
- 80013da: d0f0 beq.n 80013be <HAL_RCC_OscConfig+0x23a>
- 80013dc: e01a b.n 8001414 <HAL_RCC_OscConfig+0x290>
+ 800137c: 4b0c ldr r3, [pc, #48] ; (80013b0 <HAL_RCC_OscConfig+0x280>)
+ 800137e: 6f5b ldr r3, [r3, #116] ; 0x74
+ 8001380: f003 0302 and.w r3, r3, #2
+ 8001384: 2b00 cmp r3, #0
+ 8001386: d0f0 beq.n 800136a <HAL_RCC_OscConfig+0x23a>
+ 8001388: e01a b.n 80013c0 <HAL_RCC_OscConfig+0x290>
}
}
else
{
/* Disable the Internal Low Speed oscillator (LSI). */
__HAL_RCC_LSI_DISABLE();
- 80013de: 4b09 ldr r3, [pc, #36] ; (8001404 <HAL_RCC_OscConfig+0x280>)
- 80013e0: 6f5b ldr r3, [r3, #116] ; 0x74
- 80013e2: 4a08 ldr r2, [pc, #32] ; (8001404 <HAL_RCC_OscConfig+0x280>)
- 80013e4: f023 0301 bic.w r3, r3, #1
- 80013e8: 6753 str r3, [r2, #116] ; 0x74
+ 800138a: 4b09 ldr r3, [pc, #36] ; (80013b0 <HAL_RCC_OscConfig+0x280>)
+ 800138c: 6f5b ldr r3, [r3, #116] ; 0x74
+ 800138e: 4a08 ldr r2, [pc, #32] ; (80013b0 <HAL_RCC_OscConfig+0x280>)
+ 8001390: f023 0301 bic.w r3, r3, #1
+ 8001394: 6753 str r3, [r2, #116] ; 0x74
/* Get Start Tick*/
tickstart = HAL_GetTick();
- 80013ea: f7ff fbe1 bl 8000bb0 <HAL_GetTick>
- 80013ee: 6138 str r0, [r7, #16]
+ 8001396: f7ff fbe1 bl 8000b5c <HAL_GetTick>
+ 800139a: 6138 str r0, [r7, #16]
/* Wait till LSI is ready */
while(__HAL_RCC_GET_FLAG(RCC_FLAG_LSIRDY) != RESET)
- 80013f0: e00a b.n 8001408 <HAL_RCC_OscConfig+0x284>
+ 800139c: e00a b.n 80013b4 <HAL_RCC_OscConfig+0x284>
{
if((HAL_GetTick() - tickstart ) > LSI_TIMEOUT_VALUE)
- 80013f2: f7ff fbdd bl 8000bb0 <HAL_GetTick>
- 80013f6: 4602 mov r2, r0
- 80013f8: 693b ldr r3, [r7, #16]
- 80013fa: 1ad3 subs r3, r2, r3
- 80013fc: 2b02 cmp r3, #2
- 80013fe: d903 bls.n 8001408 <HAL_RCC_OscConfig+0x284>
+ 800139e: f7ff fbdd bl 8000b5c <HAL_GetTick>
+ 80013a2: 4602 mov r2, r0
+ 80013a4: 693b ldr r3, [r7, #16]
+ 80013a6: 1ad3 subs r3, r2, r3
+ 80013a8: 2b02 cmp r3, #2
+ 80013aa: d903 bls.n 80013b4 <HAL_RCC_OscConfig+0x284>
{
return HAL_TIMEOUT;
- 8001400: 2303 movs r3, #3
- 8001402: e129 b.n 8001658 <HAL_RCC_OscConfig+0x4d4>
- 8001404: 40023800 .word 0x40023800
+ 80013ac: 2303 movs r3, #3
+ 80013ae: e129 b.n 8001604 <HAL_RCC_OscConfig+0x4d4>
+ 80013b0: 40023800 .word 0x40023800
while(__HAL_RCC_GET_FLAG(RCC_FLAG_LSIRDY) != RESET)
- 8001408: 4b95 ldr r3, [pc, #596] ; (8001660 <HAL_RCC_OscConfig+0x4dc>)
- 800140a: 6f5b ldr r3, [r3, #116] ; 0x74
- 800140c: f003 0302 and.w r3, r3, #2
- 8001410: 2b00 cmp r3, #0
- 8001412: d1ee bne.n 80013f2 <HAL_RCC_OscConfig+0x26e>
+ 80013b4: 4b95 ldr r3, [pc, #596] ; (800160c <HAL_RCC_OscConfig+0x4dc>)
+ 80013b6: 6f5b ldr r3, [r3, #116] ; 0x74
+ 80013b8: f003 0302 and.w r3, r3, #2
+ 80013bc: 2b00 cmp r3, #0
+ 80013be: d1ee bne.n 800139e <HAL_RCC_OscConfig+0x26e>
}
}
}
}
/*------------------------------ LSE Configuration -------------------------*/
if(((RCC_OscInitStruct->OscillatorType) & RCC_OSCILLATORTYPE_LSE) == RCC_OSCILLATORTYPE_LSE)
- 8001414: 687b ldr r3, [r7, #4]
- 8001416: 681b ldr r3, [r3, #0]
- 8001418: f003 0304 and.w r3, r3, #4
- 800141c: 2b00 cmp r3, #0
- 800141e: f000 80a4 beq.w 800156a <HAL_RCC_OscConfig+0x3e6>
+ 80013c0: 687b ldr r3, [r7, #4]
+ 80013c2: 681b ldr r3, [r3, #0]
+ 80013c4: f003 0304 and.w r3, r3, #4
+ 80013c8: 2b00 cmp r3, #0
+ 80013ca: f000 80a4 beq.w 8001516 <HAL_RCC_OscConfig+0x3e6>
/* Check the parameters */
assert_param(IS_RCC_LSE(RCC_OscInitStruct->LSEState));
/* Update LSE configuration in Backup Domain control register */
/* Requires to enable write access to Backup Domain of necessary */
if(__HAL_RCC_PWR_IS_CLK_DISABLED())
- 8001422: 4b8f ldr r3, [pc, #572] ; (8001660 <HAL_RCC_OscConfig+0x4dc>)
- 8001424: 6c1b ldr r3, [r3, #64] ; 0x40
- 8001426: f003 5380 and.w r3, r3, #268435456 ; 0x10000000
- 800142a: 2b00 cmp r3, #0
- 800142c: d10d bne.n 800144a <HAL_RCC_OscConfig+0x2c6>
+ 80013ce: 4b8f ldr r3, [pc, #572] ; (800160c <HAL_RCC_OscConfig+0x4dc>)
+ 80013d0: 6c1b ldr r3, [r3, #64] ; 0x40
+ 80013d2: f003 5380 and.w r3, r3, #268435456 ; 0x10000000
+ 80013d6: 2b00 cmp r3, #0
+ 80013d8: d10d bne.n 80013f6 <HAL_RCC_OscConfig+0x2c6>
{
/* Enable Power Clock*/
__HAL_RCC_PWR_CLK_ENABLE();
- 800142e: 4b8c ldr r3, [pc, #560] ; (8001660 <HAL_RCC_OscConfig+0x4dc>)
- 8001430: 6c1b ldr r3, [r3, #64] ; 0x40
- 8001432: 4a8b ldr r2, [pc, #556] ; (8001660 <HAL_RCC_OscConfig+0x4dc>)
- 8001434: f043 5380 orr.w r3, r3, #268435456 ; 0x10000000
- 8001438: 6413 str r3, [r2, #64] ; 0x40
- 800143a: 4b89 ldr r3, [pc, #548] ; (8001660 <HAL_RCC_OscConfig+0x4dc>)
- 800143c: 6c1b ldr r3, [r3, #64] ; 0x40
- 800143e: f003 5380 and.w r3, r3, #268435456 ; 0x10000000
- 8001442: 60fb str r3, [r7, #12]
- 8001444: 68fb ldr r3, [r7, #12]
+ 80013da: 4b8c ldr r3, [pc, #560] ; (800160c <HAL_RCC_OscConfig+0x4dc>)
+ 80013dc: 6c1b ldr r3, [r3, #64] ; 0x40
+ 80013de: 4a8b ldr r2, [pc, #556] ; (800160c <HAL_RCC_OscConfig+0x4dc>)
+ 80013e0: f043 5380 orr.w r3, r3, #268435456 ; 0x10000000
+ 80013e4: 6413 str r3, [r2, #64] ; 0x40
+ 80013e6: 4b89 ldr r3, [pc, #548] ; (800160c <HAL_RCC_OscConfig+0x4dc>)
+ 80013e8: 6c1b ldr r3, [r3, #64] ; 0x40
+ 80013ea: f003 5380 and.w r3, r3, #268435456 ; 0x10000000
+ 80013ee: 60fb str r3, [r7, #12]
+ 80013f0: 68fb ldr r3, [r7, #12]
pwrclkchanged = SET;
- 8001446: 2301 movs r3, #1
- 8001448: 75fb strb r3, [r7, #23]
+ 80013f2: 2301 movs r3, #1
+ 80013f4: 75fb strb r3, [r7, #23]
}
if(HAL_IS_BIT_CLR(PWR->CR1, PWR_CR1_DBP))
- 800144a: 4b86 ldr r3, [pc, #536] ; (8001664 <HAL_RCC_OscConfig+0x4e0>)
- 800144c: 681b ldr r3, [r3, #0]
- 800144e: f403 7380 and.w r3, r3, #256 ; 0x100
- 8001452: 2b00 cmp r3, #0
- 8001454: d118 bne.n 8001488 <HAL_RCC_OscConfig+0x304>
+ 80013f6: 4b86 ldr r3, [pc, #536] ; (8001610 <HAL_RCC_OscConfig+0x4e0>)
+ 80013f8: 681b ldr r3, [r3, #0]
+ 80013fa: f403 7380 and.w r3, r3, #256 ; 0x100
+ 80013fe: 2b00 cmp r3, #0
+ 8001400: d118 bne.n 8001434 <HAL_RCC_OscConfig+0x304>
{
/* Enable write access to Backup domain */
PWR->CR1 |= PWR_CR1_DBP;
- 8001456: 4b83 ldr r3, [pc, #524] ; (8001664 <HAL_RCC_OscConfig+0x4e0>)
- 8001458: 681b ldr r3, [r3, #0]
- 800145a: 4a82 ldr r2, [pc, #520] ; (8001664 <HAL_RCC_OscConfig+0x4e0>)
- 800145c: f443 7380 orr.w r3, r3, #256 ; 0x100
- 8001460: 6013 str r3, [r2, #0]
+ 8001402: 4b83 ldr r3, [pc, #524] ; (8001610 <HAL_RCC_OscConfig+0x4e0>)
+ 8001404: 681b ldr r3, [r3, #0]
+ 8001406: 4a82 ldr r2, [pc, #520] ; (8001610 <HAL_RCC_OscConfig+0x4e0>)
+ 8001408: f443 7380 orr.w r3, r3, #256 ; 0x100
+ 800140c: 6013 str r3, [r2, #0]
/* Wait for Backup domain Write protection disable */
tickstart = HAL_GetTick();
- 8001462: f7ff fba5 bl 8000bb0 <HAL_GetTick>
- 8001466: 6138 str r0, [r7, #16]
+ 800140e: f7ff fba5 bl 8000b5c <HAL_GetTick>
+ 8001412: 6138 str r0, [r7, #16]
while(HAL_IS_BIT_CLR(PWR->CR1, PWR_CR1_DBP))
- 8001468: e008 b.n 800147c <HAL_RCC_OscConfig+0x2f8>
+ 8001414: e008 b.n 8001428 <HAL_RCC_OscConfig+0x2f8>
{
if((HAL_GetTick() - tickstart ) > RCC_DBP_TIMEOUT_VALUE)
- 800146a: f7ff fba1 bl 8000bb0 <HAL_GetTick>
- 800146e: 4602 mov r2, r0
- 8001470: 693b ldr r3, [r7, #16]
- 8001472: 1ad3 subs r3, r2, r3
- 8001474: 2b64 cmp r3, #100 ; 0x64
- 8001476: d901 bls.n 800147c <HAL_RCC_OscConfig+0x2f8>
+ 8001416: f7ff fba1 bl 8000b5c <HAL_GetTick>
+ 800141a: 4602 mov r2, r0
+ 800141c: 693b ldr r3, [r7, #16]
+ 800141e: 1ad3 subs r3, r2, r3
+ 8001420: 2b64 cmp r3, #100 ; 0x64
+ 8001422: d901 bls.n 8001428 <HAL_RCC_OscConfig+0x2f8>
{
return HAL_TIMEOUT;
- 8001478: 2303 movs r3, #3
- 800147a: e0ed b.n 8001658 <HAL_RCC_OscConfig+0x4d4>
+ 8001424: 2303 movs r3, #3
+ 8001426: e0ed b.n 8001604 <HAL_RCC_OscConfig+0x4d4>
while(HAL_IS_BIT_CLR(PWR->CR1, PWR_CR1_DBP))
- 800147c: 4b79 ldr r3, [pc, #484] ; (8001664 <HAL_RCC_OscConfig+0x4e0>)
- 800147e: 681b ldr r3, [r3, #0]
- 8001480: f403 7380 and.w r3, r3, #256 ; 0x100
- 8001484: 2b00 cmp r3, #0
- 8001486: d0f0 beq.n 800146a <HAL_RCC_OscConfig+0x2e6>
+ 8001428: 4b79 ldr r3, [pc, #484] ; (8001610 <HAL_RCC_OscConfig+0x4e0>)
+ 800142a: 681b ldr r3, [r3, #0]
+ 800142c: f403 7380 and.w r3, r3, #256 ; 0x100
+ 8001430: 2b00 cmp r3, #0
+ 8001432: d0f0 beq.n 8001416 <HAL_RCC_OscConfig+0x2e6>
}
}
}
/* Set the new LSE configuration -----------------------------------------*/
__HAL_RCC_LSE_CONFIG(RCC_OscInitStruct->LSEState);
- 8001488: 687b ldr r3, [r7, #4]
- 800148a: 689b ldr r3, [r3, #8]
- 800148c: 2b01 cmp r3, #1
- 800148e: d106 bne.n 800149e <HAL_RCC_OscConfig+0x31a>
- 8001490: 4b73 ldr r3, [pc, #460] ; (8001660 <HAL_RCC_OscConfig+0x4dc>)
- 8001492: 6f1b ldr r3, [r3, #112] ; 0x70
- 8001494: 4a72 ldr r2, [pc, #456] ; (8001660 <HAL_RCC_OscConfig+0x4dc>)
- 8001496: f043 0301 orr.w r3, r3, #1
- 800149a: 6713 str r3, [r2, #112] ; 0x70
- 800149c: e02d b.n 80014fa <HAL_RCC_OscConfig+0x376>
- 800149e: 687b ldr r3, [r7, #4]
- 80014a0: 689b ldr r3, [r3, #8]
- 80014a2: 2b00 cmp r3, #0
- 80014a4: d10c bne.n 80014c0 <HAL_RCC_OscConfig+0x33c>
- 80014a6: 4b6e ldr r3, [pc, #440] ; (8001660 <HAL_RCC_OscConfig+0x4dc>)
- 80014a8: 6f1b ldr r3, [r3, #112] ; 0x70
- 80014aa: 4a6d ldr r2, [pc, #436] ; (8001660 <HAL_RCC_OscConfig+0x4dc>)
- 80014ac: f023 0301 bic.w r3, r3, #1
- 80014b0: 6713 str r3, [r2, #112] ; 0x70
- 80014b2: 4b6b ldr r3, [pc, #428] ; (8001660 <HAL_RCC_OscConfig+0x4dc>)
- 80014b4: 6f1b ldr r3, [r3, #112] ; 0x70
- 80014b6: 4a6a ldr r2, [pc, #424] ; (8001660 <HAL_RCC_OscConfig+0x4dc>)
- 80014b8: f023 0304 bic.w r3, r3, #4
- 80014bc: 6713 str r3, [r2, #112] ; 0x70
- 80014be: e01c b.n 80014fa <HAL_RCC_OscConfig+0x376>
- 80014c0: 687b ldr r3, [r7, #4]
- 80014c2: 689b ldr r3, [r3, #8]
- 80014c4: 2b05 cmp r3, #5
- 80014c6: d10c bne.n 80014e2 <HAL_RCC_OscConfig+0x35e>
- 80014c8: 4b65 ldr r3, [pc, #404] ; (8001660 <HAL_RCC_OscConfig+0x4dc>)
- 80014ca: 6f1b ldr r3, [r3, #112] ; 0x70
- 80014cc: 4a64 ldr r2, [pc, #400] ; (8001660 <HAL_RCC_OscConfig+0x4dc>)
- 80014ce: f043 0304 orr.w r3, r3, #4
- 80014d2: 6713 str r3, [r2, #112] ; 0x70
- 80014d4: 4b62 ldr r3, [pc, #392] ; (8001660 <HAL_RCC_OscConfig+0x4dc>)
- 80014d6: 6f1b ldr r3, [r3, #112] ; 0x70
- 80014d8: 4a61 ldr r2, [pc, #388] ; (8001660 <HAL_RCC_OscConfig+0x4dc>)
- 80014da: f043 0301 orr.w r3, r3, #1
- 80014de: 6713 str r3, [r2, #112] ; 0x70
- 80014e0: e00b b.n 80014fa <HAL_RCC_OscConfig+0x376>
- 80014e2: 4b5f ldr r3, [pc, #380] ; (8001660 <HAL_RCC_OscConfig+0x4dc>)
- 80014e4: 6f1b ldr r3, [r3, #112] ; 0x70
- 80014e6: 4a5e ldr r2, [pc, #376] ; (8001660 <HAL_RCC_OscConfig+0x4dc>)
- 80014e8: f023 0301 bic.w r3, r3, #1
- 80014ec: 6713 str r3, [r2, #112] ; 0x70
- 80014ee: 4b5c ldr r3, [pc, #368] ; (8001660 <HAL_RCC_OscConfig+0x4dc>)
- 80014f0: 6f1b ldr r3, [r3, #112] ; 0x70
- 80014f2: 4a5b ldr r2, [pc, #364] ; (8001660 <HAL_RCC_OscConfig+0x4dc>)
- 80014f4: f023 0304 bic.w r3, r3, #4
- 80014f8: 6713 str r3, [r2, #112] ; 0x70
+ 8001434: 687b ldr r3, [r7, #4]
+ 8001436: 689b ldr r3, [r3, #8]
+ 8001438: 2b01 cmp r3, #1
+ 800143a: d106 bne.n 800144a <HAL_RCC_OscConfig+0x31a>
+ 800143c: 4b73 ldr r3, [pc, #460] ; (800160c <HAL_RCC_OscConfig+0x4dc>)
+ 800143e: 6f1b ldr r3, [r3, #112] ; 0x70
+ 8001440: 4a72 ldr r2, [pc, #456] ; (800160c <HAL_RCC_OscConfig+0x4dc>)
+ 8001442: f043 0301 orr.w r3, r3, #1
+ 8001446: 6713 str r3, [r2, #112] ; 0x70
+ 8001448: e02d b.n 80014a6 <HAL_RCC_OscConfig+0x376>
+ 800144a: 687b ldr r3, [r7, #4]
+ 800144c: 689b ldr r3, [r3, #8]
+ 800144e: 2b00 cmp r3, #0
+ 8001450: d10c bne.n 800146c <HAL_RCC_OscConfig+0x33c>
+ 8001452: 4b6e ldr r3, [pc, #440] ; (800160c <HAL_RCC_OscConfig+0x4dc>)
+ 8001454: 6f1b ldr r3, [r3, #112] ; 0x70
+ 8001456: 4a6d ldr r2, [pc, #436] ; (800160c <HAL_RCC_OscConfig+0x4dc>)
+ 8001458: f023 0301 bic.w r3, r3, #1
+ 800145c: 6713 str r3, [r2, #112] ; 0x70
+ 800145e: 4b6b ldr r3, [pc, #428] ; (800160c <HAL_RCC_OscConfig+0x4dc>)
+ 8001460: 6f1b ldr r3, [r3, #112] ; 0x70
+ 8001462: 4a6a ldr r2, [pc, #424] ; (800160c <HAL_RCC_OscConfig+0x4dc>)
+ 8001464: f023 0304 bic.w r3, r3, #4
+ 8001468: 6713 str r3, [r2, #112] ; 0x70
+ 800146a: e01c b.n 80014a6 <HAL_RCC_OscConfig+0x376>
+ 800146c: 687b ldr r3, [r7, #4]
+ 800146e: 689b ldr r3, [r3, #8]
+ 8001470: 2b05 cmp r3, #5
+ 8001472: d10c bne.n 800148e <HAL_RCC_OscConfig+0x35e>
+ 8001474: 4b65 ldr r3, [pc, #404] ; (800160c <HAL_RCC_OscConfig+0x4dc>)
+ 8001476: 6f1b ldr r3, [r3, #112] ; 0x70
+ 8001478: 4a64 ldr r2, [pc, #400] ; (800160c <HAL_RCC_OscConfig+0x4dc>)
+ 800147a: f043 0304 orr.w r3, r3, #4
+ 800147e: 6713 str r3, [r2, #112] ; 0x70
+ 8001480: 4b62 ldr r3, [pc, #392] ; (800160c <HAL_RCC_OscConfig+0x4dc>)
+ 8001482: 6f1b ldr r3, [r3, #112] ; 0x70
+ 8001484: 4a61 ldr r2, [pc, #388] ; (800160c <HAL_RCC_OscConfig+0x4dc>)
+ 8001486: f043 0301 orr.w r3, r3, #1
+ 800148a: 6713 str r3, [r2, #112] ; 0x70
+ 800148c: e00b b.n 80014a6 <HAL_RCC_OscConfig+0x376>
+ 800148e: 4b5f ldr r3, [pc, #380] ; (800160c <HAL_RCC_OscConfig+0x4dc>)
+ 8001490: 6f1b ldr r3, [r3, #112] ; 0x70
+ 8001492: 4a5e ldr r2, [pc, #376] ; (800160c <HAL_RCC_OscConfig+0x4dc>)
+ 8001494: f023 0301 bic.w r3, r3, #1
+ 8001498: 6713 str r3, [r2, #112] ; 0x70
+ 800149a: 4b5c ldr r3, [pc, #368] ; (800160c <HAL_RCC_OscConfig+0x4dc>)
+ 800149c: 6f1b ldr r3, [r3, #112] ; 0x70
+ 800149e: 4a5b ldr r2, [pc, #364] ; (800160c <HAL_RCC_OscConfig+0x4dc>)
+ 80014a0: f023 0304 bic.w r3, r3, #4
+ 80014a4: 6713 str r3, [r2, #112] ; 0x70
/* Check the LSE State */
if((RCC_OscInitStruct->LSEState) != RCC_LSE_OFF)
- 80014fa: 687b ldr r3, [r7, #4]
- 80014fc: 689b ldr r3, [r3, #8]
- 80014fe: 2b00 cmp r3, #0
- 8001500: d015 beq.n 800152e <HAL_RCC_OscConfig+0x3aa>
+ 80014a6: 687b ldr r3, [r7, #4]
+ 80014a8: 689b ldr r3, [r3, #8]
+ 80014aa: 2b00 cmp r3, #0
+ 80014ac: d015 beq.n 80014da <HAL_RCC_OscConfig+0x3aa>
{
/* Get Start Tick*/
tickstart = HAL_GetTick();
- 8001502: f7ff fb55 bl 8000bb0 <HAL_GetTick>
- 8001506: 6138 str r0, [r7, #16]
+ 80014ae: f7ff fb55 bl 8000b5c <HAL_GetTick>
+ 80014b2: 6138 str r0, [r7, #16]
/* Wait till LSE is ready */
while(__HAL_RCC_GET_FLAG(RCC_FLAG_LSERDY) == RESET)
- 8001508: e00a b.n 8001520 <HAL_RCC_OscConfig+0x39c>
+ 80014b4: e00a b.n 80014cc <HAL_RCC_OscConfig+0x39c>
{
if((HAL_GetTick() - tickstart ) > RCC_LSE_TIMEOUT_VALUE)
- 800150a: f7ff fb51 bl 8000bb0 <HAL_GetTick>
- 800150e: 4602 mov r2, r0
- 8001510: 693b ldr r3, [r7, #16]
- 8001512: 1ad3 subs r3, r2, r3
- 8001514: f241 3288 movw r2, #5000 ; 0x1388
- 8001518: 4293 cmp r3, r2
- 800151a: d901 bls.n 8001520 <HAL_RCC_OscConfig+0x39c>
+ 80014b6: f7ff fb51 bl 8000b5c <HAL_GetTick>
+ 80014ba: 4602 mov r2, r0
+ 80014bc: 693b ldr r3, [r7, #16]
+ 80014be: 1ad3 subs r3, r2, r3
+ 80014c0: f241 3288 movw r2, #5000 ; 0x1388
+ 80014c4: 4293 cmp r3, r2
+ 80014c6: d901 bls.n 80014cc <HAL_RCC_OscConfig+0x39c>
{
return HAL_TIMEOUT;
- 800151c: 2303 movs r3, #3
- 800151e: e09b b.n 8001658 <HAL_RCC_OscConfig+0x4d4>
+ 80014c8: 2303 movs r3, #3
+ 80014ca: e09b b.n 8001604 <HAL_RCC_OscConfig+0x4d4>
while(__HAL_RCC_GET_FLAG(RCC_FLAG_LSERDY) == RESET)
- 8001520: 4b4f ldr r3, [pc, #316] ; (8001660 <HAL_RCC_OscConfig+0x4dc>)
- 8001522: 6f1b ldr r3, [r3, #112] ; 0x70
- 8001524: f003 0302 and.w r3, r3, #2
- 8001528: 2b00 cmp r3, #0
- 800152a: d0ee beq.n 800150a <HAL_RCC_OscConfig+0x386>
- 800152c: e014 b.n 8001558 <HAL_RCC_OscConfig+0x3d4>
+ 80014cc: 4b4f ldr r3, [pc, #316] ; (800160c <HAL_RCC_OscConfig+0x4dc>)
+ 80014ce: 6f1b ldr r3, [r3, #112] ; 0x70
+ 80014d0: f003 0302 and.w r3, r3, #2
+ 80014d4: 2b00 cmp r3, #0
+ 80014d6: d0ee beq.n 80014b6 <HAL_RCC_OscConfig+0x386>
+ 80014d8: e014 b.n 8001504 <HAL_RCC_OscConfig+0x3d4>
}
}
else
{
/* Get Start Tick*/
tickstart = HAL_GetTick();
- 800152e: f7ff fb3f bl 8000bb0 <HAL_GetTick>
- 8001532: 6138 str r0, [r7, #16]
+ 80014da: f7ff fb3f bl 8000b5c <HAL_GetTick>
+ 80014de: 6138 str r0, [r7, #16]
/* Wait till LSE is ready */
while(__HAL_RCC_GET_FLAG(RCC_FLAG_LSERDY) != RESET)
- 8001534: e00a b.n 800154c <HAL_RCC_OscConfig+0x3c8>
+ 80014e0: e00a b.n 80014f8 <HAL_RCC_OscConfig+0x3c8>
{
if((HAL_GetTick() - tickstart ) > RCC_LSE_TIMEOUT_VALUE)
- 8001536: f7ff fb3b bl 8000bb0 <HAL_GetTick>
- 800153a: 4602 mov r2, r0
- 800153c: 693b ldr r3, [r7, #16]
- 800153e: 1ad3 subs r3, r2, r3
- 8001540: f241 3288 movw r2, #5000 ; 0x1388
- 8001544: 4293 cmp r3, r2
- 8001546: d901 bls.n 800154c <HAL_RCC_OscConfig+0x3c8>
+ 80014e2: f7ff fb3b bl 8000b5c <HAL_GetTick>
+ 80014e6: 4602 mov r2, r0
+ 80014e8: 693b ldr r3, [r7, #16]
+ 80014ea: 1ad3 subs r3, r2, r3
+ 80014ec: f241 3288 movw r2, #5000 ; 0x1388
+ 80014f0: 4293 cmp r3, r2
+ 80014f2: d901 bls.n 80014f8 <HAL_RCC_OscConfig+0x3c8>
{
return HAL_TIMEOUT;
- 8001548: 2303 movs r3, #3
- 800154a: e085 b.n 8001658 <HAL_RCC_OscConfig+0x4d4>
+ 80014f4: 2303 movs r3, #3
+ 80014f6: e085 b.n 8001604 <HAL_RCC_OscConfig+0x4d4>
while(__HAL_RCC_GET_FLAG(RCC_FLAG_LSERDY) != RESET)
- 800154c: 4b44 ldr r3, [pc, #272] ; (8001660 <HAL_RCC_OscConfig+0x4dc>)
- 800154e: 6f1b ldr r3, [r3, #112] ; 0x70
- 8001550: f003 0302 and.w r3, r3, #2
- 8001554: 2b00 cmp r3, #0
- 8001556: d1ee bne.n 8001536 <HAL_RCC_OscConfig+0x3b2>
+ 80014f8: 4b44 ldr r3, [pc, #272] ; (800160c <HAL_RCC_OscConfig+0x4dc>)
+ 80014fa: 6f1b ldr r3, [r3, #112] ; 0x70
+ 80014fc: f003 0302 and.w r3, r3, #2
+ 8001500: 2b00 cmp r3, #0
+ 8001502: d1ee bne.n 80014e2 <HAL_RCC_OscConfig+0x3b2>
}
}
}
/* Restore clock configuration if changed */
if(pwrclkchanged == SET)
- 8001558: 7dfb ldrb r3, [r7, #23]
- 800155a: 2b01 cmp r3, #1
- 800155c: d105 bne.n 800156a <HAL_RCC_OscConfig+0x3e6>
+ 8001504: 7dfb ldrb r3, [r7, #23]
+ 8001506: 2b01 cmp r3, #1
+ 8001508: d105 bne.n 8001516 <HAL_RCC_OscConfig+0x3e6>
{
__HAL_RCC_PWR_CLK_DISABLE();
- 800155e: 4b40 ldr r3, [pc, #256] ; (8001660 <HAL_RCC_OscConfig+0x4dc>)
- 8001560: 6c1b ldr r3, [r3, #64] ; 0x40
- 8001562: 4a3f ldr r2, [pc, #252] ; (8001660 <HAL_RCC_OscConfig+0x4dc>)
- 8001564: f023 5380 bic.w r3, r3, #268435456 ; 0x10000000
- 8001568: 6413 str r3, [r2, #64] ; 0x40
+ 800150a: 4b40 ldr r3, [pc, #256] ; (800160c <HAL_RCC_OscConfig+0x4dc>)
+ 800150c: 6c1b ldr r3, [r3, #64] ; 0x40
+ 800150e: 4a3f ldr r2, [pc, #252] ; (800160c <HAL_RCC_OscConfig+0x4dc>)
+ 8001510: f023 5380 bic.w r3, r3, #268435456 ; 0x10000000
+ 8001514: 6413 str r3, [r2, #64] ; 0x40
}
}
/*-------------------------------- PLL Configuration -----------------------*/
/* Check the parameters */
assert_param(IS_RCC_PLL(RCC_OscInitStruct->PLL.PLLState));
if ((RCC_OscInitStruct->PLL.PLLState) != RCC_PLL_NONE)
- 800156a: 687b ldr r3, [r7, #4]
- 800156c: 699b ldr r3, [r3, #24]
- 800156e: 2b00 cmp r3, #0
- 8001570: d071 beq.n 8001656 <HAL_RCC_OscConfig+0x4d2>
+ 8001516: 687b ldr r3, [r7, #4]
+ 8001518: 699b ldr r3, [r3, #24]
+ 800151a: 2b00 cmp r3, #0
+ 800151c: d071 beq.n 8001602 <HAL_RCC_OscConfig+0x4d2>
{
/* Check if the PLL is used as system clock or not */
if(__HAL_RCC_GET_SYSCLK_SOURCE() != RCC_SYSCLKSOURCE_STATUS_PLLCLK)
- 8001572: 4b3b ldr r3, [pc, #236] ; (8001660 <HAL_RCC_OscConfig+0x4dc>)
- 8001574: 689b ldr r3, [r3, #8]
- 8001576: f003 030c and.w r3, r3, #12
- 800157a: 2b08 cmp r3, #8
- 800157c: d069 beq.n 8001652 <HAL_RCC_OscConfig+0x4ce>
+ 800151e: 4b3b ldr r3, [pc, #236] ; (800160c <HAL_RCC_OscConfig+0x4dc>)
+ 8001520: 689b ldr r3, [r3, #8]
+ 8001522: f003 030c and.w r3, r3, #12
+ 8001526: 2b08 cmp r3, #8
+ 8001528: d069 beq.n 80015fe <HAL_RCC_OscConfig+0x4ce>
{
if((RCC_OscInitStruct->PLL.PLLState) == RCC_PLL_ON)
- 800157e: 687b ldr r3, [r7, #4]
- 8001580: 699b ldr r3, [r3, #24]
- 8001582: 2b02 cmp r3, #2
- 8001584: d14b bne.n 800161e <HAL_RCC_OscConfig+0x49a>
+ 800152a: 687b ldr r3, [r7, #4]
+ 800152c: 699b ldr r3, [r3, #24]
+ 800152e: 2b02 cmp r3, #2
+ 8001530: d14b bne.n 80015ca <HAL_RCC_OscConfig+0x49a>
#if defined (RCC_PLLCFGR_PLLR)
assert_param(IS_RCC_PLLR_VALUE(RCC_OscInitStruct->PLL.PLLR));
#endif
/* Disable the main PLL. */
__HAL_RCC_PLL_DISABLE();
- 8001586: 4b36 ldr r3, [pc, #216] ; (8001660 <HAL_RCC_OscConfig+0x4dc>)
- 8001588: 681b ldr r3, [r3, #0]
- 800158a: 4a35 ldr r2, [pc, #212] ; (8001660 <HAL_RCC_OscConfig+0x4dc>)
- 800158c: f023 7380 bic.w r3, r3, #16777216 ; 0x1000000
- 8001590: 6013 str r3, [r2, #0]
+ 8001532: 4b36 ldr r3, [pc, #216] ; (800160c <HAL_RCC_OscConfig+0x4dc>)
+ 8001534: 681b ldr r3, [r3, #0]
+ 8001536: 4a35 ldr r2, [pc, #212] ; (800160c <HAL_RCC_OscConfig+0x4dc>)
+ 8001538: f023 7380 bic.w r3, r3, #16777216 ; 0x1000000
+ 800153c: 6013 str r3, [r2, #0]
/* Get Start Tick*/
tickstart = HAL_GetTick();
- 8001592: f7ff fb0d bl 8000bb0 <HAL_GetTick>
- 8001596: 6138 str r0, [r7, #16]
+ 800153e: f7ff fb0d bl 8000b5c <HAL_GetTick>
+ 8001542: 6138 str r0, [r7, #16]
/* Wait till PLL is ready */
while(__HAL_RCC_GET_FLAG(RCC_FLAG_PLLRDY) != RESET)
- 8001598: e008 b.n 80015ac <HAL_RCC_OscConfig+0x428>
+ 8001544: e008 b.n 8001558 <HAL_RCC_OscConfig+0x428>
{
if((HAL_GetTick() - tickstart ) > PLL_TIMEOUT_VALUE)
- 800159a: f7ff fb09 bl 8000bb0 <HAL_GetTick>
- 800159e: 4602 mov r2, r0
- 80015a0: 693b ldr r3, [r7, #16]
- 80015a2: 1ad3 subs r3, r2, r3
- 80015a4: 2b02 cmp r3, #2
- 80015a6: d901 bls.n 80015ac <HAL_RCC_OscConfig+0x428>
+ 8001546: f7ff fb09 bl 8000b5c <HAL_GetTick>
+ 800154a: 4602 mov r2, r0
+ 800154c: 693b ldr r3, [r7, #16]
+ 800154e: 1ad3 subs r3, r2, r3
+ 8001550: 2b02 cmp r3, #2
+ 8001552: d901 bls.n 8001558 <HAL_RCC_OscConfig+0x428>
{
return HAL_TIMEOUT;
- 80015a8: 2303 movs r3, #3
- 80015aa: e055 b.n 8001658 <HAL_RCC_OscConfig+0x4d4>
+ 8001554: 2303 movs r3, #3
+ 8001556: e055 b.n 8001604 <HAL_RCC_OscConfig+0x4d4>
while(__HAL_RCC_GET_FLAG(RCC_FLAG_PLLRDY) != RESET)
- 80015ac: 4b2c ldr r3, [pc, #176] ; (8001660 <HAL_RCC_OscConfig+0x4dc>)
- 80015ae: 681b ldr r3, [r3, #0]
- 80015b0: f003 7300 and.w r3, r3, #33554432 ; 0x2000000
- 80015b4: 2b00 cmp r3, #0
- 80015b6: d1f0 bne.n 800159a <HAL_RCC_OscConfig+0x416>
+ 8001558: 4b2c ldr r3, [pc, #176] ; (800160c <HAL_RCC_OscConfig+0x4dc>)
+ 800155a: 681b ldr r3, [r3, #0]
+ 800155c: f003 7300 and.w r3, r3, #33554432 ; 0x2000000
+ 8001560: 2b00 cmp r3, #0
+ 8001562: d1f0 bne.n 8001546 <HAL_RCC_OscConfig+0x416>
}
}
/* Configure the main PLL clock source, multiplication and division factors. */
#if defined (RCC_PLLCFGR_PLLR)
__HAL_RCC_PLL_CONFIG(RCC_OscInitStruct->PLL.PLLSource,
- 80015b8: 687b ldr r3, [r7, #4]
- 80015ba: 69da ldr r2, [r3, #28]
- 80015bc: 687b ldr r3, [r7, #4]
- 80015be: 6a1b ldr r3, [r3, #32]
- 80015c0: 431a orrs r2, r3
- 80015c2: 687b ldr r3, [r7, #4]
- 80015c4: 6a5b ldr r3, [r3, #36] ; 0x24
- 80015c6: 019b lsls r3, r3, #6
- 80015c8: 431a orrs r2, r3
- 80015ca: 687b ldr r3, [r7, #4]
- 80015cc: 6a9b ldr r3, [r3, #40] ; 0x28
- 80015ce: 085b lsrs r3, r3, #1
- 80015d0: 3b01 subs r3, #1
- 80015d2: 041b lsls r3, r3, #16
- 80015d4: 431a orrs r2, r3
- 80015d6: 687b ldr r3, [r7, #4]
- 80015d8: 6adb ldr r3, [r3, #44] ; 0x2c
- 80015da: 061b lsls r3, r3, #24
- 80015dc: 431a orrs r2, r3
- 80015de: 687b ldr r3, [r7, #4]
- 80015e0: 6b1b ldr r3, [r3, #48] ; 0x30
- 80015e2: 071b lsls r3, r3, #28
- 80015e4: 491e ldr r1, [pc, #120] ; (8001660 <HAL_RCC_OscConfig+0x4dc>)
- 80015e6: 4313 orrs r3, r2
- 80015e8: 604b str r3, [r1, #4]
+ 8001564: 687b ldr r3, [r7, #4]
+ 8001566: 69da ldr r2, [r3, #28]
+ 8001568: 687b ldr r3, [r7, #4]
+ 800156a: 6a1b ldr r3, [r3, #32]
+ 800156c: 431a orrs r2, r3
+ 800156e: 687b ldr r3, [r7, #4]
+ 8001570: 6a5b ldr r3, [r3, #36] ; 0x24
+ 8001572: 019b lsls r3, r3, #6
+ 8001574: 431a orrs r2, r3
+ 8001576: 687b ldr r3, [r7, #4]
+ 8001578: 6a9b ldr r3, [r3, #40] ; 0x28
+ 800157a: 085b lsrs r3, r3, #1
+ 800157c: 3b01 subs r3, #1
+ 800157e: 041b lsls r3, r3, #16
+ 8001580: 431a orrs r2, r3
+ 8001582: 687b ldr r3, [r7, #4]
+ 8001584: 6adb ldr r3, [r3, #44] ; 0x2c
+ 8001586: 061b lsls r3, r3, #24
+ 8001588: 431a orrs r2, r3
+ 800158a: 687b ldr r3, [r7, #4]
+ 800158c: 6b1b ldr r3, [r3, #48] ; 0x30
+ 800158e: 071b lsls r3, r3, #28
+ 8001590: 491e ldr r1, [pc, #120] ; (800160c <HAL_RCC_OscConfig+0x4dc>)
+ 8001592: 4313 orrs r3, r2
+ 8001594: 604b str r3, [r1, #4]
RCC_OscInitStruct->PLL.PLLP,
RCC_OscInitStruct->PLL.PLLQ);
#endif
/* Enable the main PLL. */
__HAL_RCC_PLL_ENABLE();
- 80015ea: 4b1d ldr r3, [pc, #116] ; (8001660 <HAL_RCC_OscConfig+0x4dc>)
- 80015ec: 681b ldr r3, [r3, #0]
- 80015ee: 4a1c ldr r2, [pc, #112] ; (8001660 <HAL_RCC_OscConfig+0x4dc>)
- 80015f0: f043 7380 orr.w r3, r3, #16777216 ; 0x1000000
- 80015f4: 6013 str r3, [r2, #0]
+ 8001596: 4b1d ldr r3, [pc, #116] ; (800160c <HAL_RCC_OscConfig+0x4dc>)
+ 8001598: 681b ldr r3, [r3, #0]
+ 800159a: 4a1c ldr r2, [pc, #112] ; (800160c <HAL_RCC_OscConfig+0x4dc>)
+ 800159c: f043 7380 orr.w r3, r3, #16777216 ; 0x1000000
+ 80015a0: 6013 str r3, [r2, #0]
/* Get Start Tick*/
tickstart = HAL_GetTick();
- 80015f6: f7ff fadb bl 8000bb0 <HAL_GetTick>
- 80015fa: 6138 str r0, [r7, #16]
+ 80015a2: f7ff fadb bl 8000b5c <HAL_GetTick>
+ 80015a6: 6138 str r0, [r7, #16]
/* Wait till PLL is ready */
while(__HAL_RCC_GET_FLAG(RCC_FLAG_PLLRDY) == RESET)
- 80015fc: e008 b.n 8001610 <HAL_RCC_OscConfig+0x48c>
+ 80015a8: e008 b.n 80015bc <HAL_RCC_OscConfig+0x48c>
{
if((HAL_GetTick() - tickstart ) > PLL_TIMEOUT_VALUE)
- 80015fe: f7ff fad7 bl 8000bb0 <HAL_GetTick>
- 8001602: 4602 mov r2, r0
- 8001604: 693b ldr r3, [r7, #16]
- 8001606: 1ad3 subs r3, r2, r3
- 8001608: 2b02 cmp r3, #2
- 800160a: d901 bls.n 8001610 <HAL_RCC_OscConfig+0x48c>
+ 80015aa: f7ff fad7 bl 8000b5c <HAL_GetTick>
+ 80015ae: 4602 mov r2, r0
+ 80015b0: 693b ldr r3, [r7, #16]
+ 80015b2: 1ad3 subs r3, r2, r3
+ 80015b4: 2b02 cmp r3, #2
+ 80015b6: d901 bls.n 80015bc <HAL_RCC_OscConfig+0x48c>
{
return HAL_TIMEOUT;
- 800160c: 2303 movs r3, #3
- 800160e: e023 b.n 8001658 <HAL_RCC_OscConfig+0x4d4>
+ 80015b8: 2303 movs r3, #3
+ 80015ba: e023 b.n 8001604 <HAL_RCC_OscConfig+0x4d4>
while(__HAL_RCC_GET_FLAG(RCC_FLAG_PLLRDY) == RESET)
- 8001610: 4b13 ldr r3, [pc, #76] ; (8001660 <HAL_RCC_OscConfig+0x4dc>)
- 8001612: 681b ldr r3, [r3, #0]
- 8001614: f003 7300 and.w r3, r3, #33554432 ; 0x2000000
- 8001618: 2b00 cmp r3, #0
- 800161a: d0f0 beq.n 80015fe <HAL_RCC_OscConfig+0x47a>
- 800161c: e01b b.n 8001656 <HAL_RCC_OscConfig+0x4d2>
+ 80015bc: 4b13 ldr r3, [pc, #76] ; (800160c <HAL_RCC_OscConfig+0x4dc>)
+ 80015be: 681b ldr r3, [r3, #0]
+ 80015c0: f003 7300 and.w r3, r3, #33554432 ; 0x2000000
+ 80015c4: 2b00 cmp r3, #0
+ 80015c6: d0f0 beq.n 80015aa <HAL_RCC_OscConfig+0x47a>
+ 80015c8: e01b b.n 8001602 <HAL_RCC_OscConfig+0x4d2>
}
}
else
{
/* Disable the main PLL. */
__HAL_RCC_PLL_DISABLE();
- 800161e: 4b10 ldr r3, [pc, #64] ; (8001660 <HAL_RCC_OscConfig+0x4dc>)
- 8001620: 681b ldr r3, [r3, #0]
- 8001622: 4a0f ldr r2, [pc, #60] ; (8001660 <HAL_RCC_OscConfig+0x4dc>)
- 8001624: f023 7380 bic.w r3, r3, #16777216 ; 0x1000000
- 8001628: 6013 str r3, [r2, #0]
+ 80015ca: 4b10 ldr r3, [pc, #64] ; (800160c <HAL_RCC_OscConfig+0x4dc>)
+ 80015cc: 681b ldr r3, [r3, #0]
+ 80015ce: 4a0f ldr r2, [pc, #60] ; (800160c <HAL_RCC_OscConfig+0x4dc>)
+ 80015d0: f023 7380 bic.w r3, r3, #16777216 ; 0x1000000
+ 80015d4: 6013 str r3, [r2, #0]
/* Get Start Tick*/
tickstart = HAL_GetTick();
- 800162a: f7ff fac1 bl 8000bb0 <HAL_GetTick>
- 800162e: 6138 str r0, [r7, #16]
+ 80015d6: f7ff fac1 bl 8000b5c <HAL_GetTick>
+ 80015da: 6138 str r0, [r7, #16]
/* Wait till PLL is ready */
while(__HAL_RCC_GET_FLAG(RCC_FLAG_PLLRDY) != RESET)
- 8001630: e008 b.n 8001644 <HAL_RCC_OscConfig+0x4c0>
+ 80015dc: e008 b.n 80015f0 <HAL_RCC_OscConfig+0x4c0>
{
if((HAL_GetTick() - tickstart ) > PLL_TIMEOUT_VALUE)
- 8001632: f7ff fabd bl 8000bb0 <HAL_GetTick>
- 8001636: 4602 mov r2, r0
- 8001638: 693b ldr r3, [r7, #16]
- 800163a: 1ad3 subs r3, r2, r3
- 800163c: 2b02 cmp r3, #2
- 800163e: d901 bls.n 8001644 <HAL_RCC_OscConfig+0x4c0>
+ 80015de: f7ff fabd bl 8000b5c <HAL_GetTick>
+ 80015e2: 4602 mov r2, r0
+ 80015e4: 693b ldr r3, [r7, #16]
+ 80015e6: 1ad3 subs r3, r2, r3
+ 80015e8: 2b02 cmp r3, #2
+ 80015ea: d901 bls.n 80015f0 <HAL_RCC_OscConfig+0x4c0>
{
return HAL_TIMEOUT;
- 8001640: 2303 movs r3, #3
- 8001642: e009 b.n 8001658 <HAL_RCC_OscConfig+0x4d4>
+ 80015ec: 2303 movs r3, #3
+ 80015ee: e009 b.n 8001604 <HAL_RCC_OscConfig+0x4d4>
while(__HAL_RCC_GET_FLAG(RCC_FLAG_PLLRDY) != RESET)
- 8001644: 4b06 ldr r3, [pc, #24] ; (8001660 <HAL_RCC_OscConfig+0x4dc>)
- 8001646: 681b ldr r3, [r3, #0]
- 8001648: f003 7300 and.w r3, r3, #33554432 ; 0x2000000
- 800164c: 2b00 cmp r3, #0
- 800164e: d1f0 bne.n 8001632 <HAL_RCC_OscConfig+0x4ae>
- 8001650: e001 b.n 8001656 <HAL_RCC_OscConfig+0x4d2>
+ 80015f0: 4b06 ldr r3, [pc, #24] ; (800160c <HAL_RCC_OscConfig+0x4dc>)
+ 80015f2: 681b ldr r3, [r3, #0]
+ 80015f4: f003 7300 and.w r3, r3, #33554432 ; 0x2000000
+ 80015f8: 2b00 cmp r3, #0
+ 80015fa: d1f0 bne.n 80015de <HAL_RCC_OscConfig+0x4ae>
+ 80015fc: e001 b.n 8001602 <HAL_RCC_OscConfig+0x4d2>
}
}
}
else
{
return HAL_ERROR;
- 8001652: 2301 movs r3, #1
- 8001654: e000 b.n 8001658 <HAL_RCC_OscConfig+0x4d4>
+ 80015fe: 2301 movs r3, #1
+ 8001600: e000 b.n 8001604 <HAL_RCC_OscConfig+0x4d4>
}
}
return HAL_OK;
- 8001656: 2300 movs r3, #0
+ 8001602: 2300 movs r3, #0
}
- 8001658: 4618 mov r0, r3
- 800165a: 3718 adds r7, #24
- 800165c: 46bd mov sp, r7
- 800165e: bd80 pop {r7, pc}
- 8001660: 40023800 .word 0x40023800
- 8001664: 40007000 .word 0x40007000
-
-08001668 <HAL_RCC_ClockConfig>:
+ 8001604: 4618 mov r0, r3
+ 8001606: 3718 adds r7, #24
+ 8001608: 46bd mov sp, r7
+ 800160a: bd80 pop {r7, pc}
+ 800160c: 40023800 .word 0x40023800
+ 8001610: 40007000 .word 0x40007000
+
+08001614 <HAL_RCC_ClockConfig>:
* HPRE[3:0] bits to ensure that HCLK not exceed the maximum allowed frequency
* (for more details refer to section above "Initialization/de-initialization functions")
* @retval None
*/
HAL_StatusTypeDef HAL_RCC_ClockConfig(RCC_ClkInitTypeDef *RCC_ClkInitStruct, uint32_t FLatency)
{
- 8001668: b580 push {r7, lr}
- 800166a: b084 sub sp, #16
- 800166c: af00 add r7, sp, #0
- 800166e: 6078 str r0, [r7, #4]
- 8001670: 6039 str r1, [r7, #0]
+ 8001614: b580 push {r7, lr}
+ 8001616: b084 sub sp, #16
+ 8001618: af00 add r7, sp, #0
+ 800161a: 6078 str r0, [r7, #4]
+ 800161c: 6039 str r1, [r7, #0]
uint32_t tickstart = 0;
- 8001672: 2300 movs r3, #0
- 8001674: 60fb str r3, [r7, #12]
+ 800161e: 2300 movs r3, #0
+ 8001620: 60fb str r3, [r7, #12]
/* Check Null pointer */
if(RCC_ClkInitStruct == NULL)
- 8001676: 687b ldr r3, [r7, #4]
- 8001678: 2b00 cmp r3, #0
- 800167a: d101 bne.n 8001680 <HAL_RCC_ClockConfig+0x18>
+ 8001622: 687b ldr r3, [r7, #4]
+ 8001624: 2b00 cmp r3, #0
+ 8001626: d101 bne.n 800162c <HAL_RCC_ClockConfig+0x18>
{
return HAL_ERROR;
- 800167c: 2301 movs r3, #1
- 800167e: e0ce b.n 800181e <HAL_RCC_ClockConfig+0x1b6>
+ 8001628: 2301 movs r3, #1
+ 800162a: e0ce b.n 80017ca <HAL_RCC_ClockConfig+0x1b6>
/* To correctly read data from FLASH memory, the number of wait states (LATENCY)
must be correctly programmed according to the frequency of the CPU clock
(HCLK) and the supply voltage of the device. */
/* Increasing the CPU frequency */
if(FLatency > __HAL_FLASH_GET_LATENCY())
- 8001680: 4b69 ldr r3, [pc, #420] ; (8001828 <HAL_RCC_ClockConfig+0x1c0>)
- 8001682: 681b ldr r3, [r3, #0]
- 8001684: f003 030f and.w r3, r3, #15
- 8001688: 683a ldr r2, [r7, #0]
- 800168a: 429a cmp r2, r3
- 800168c: d910 bls.n 80016b0 <HAL_RCC_ClockConfig+0x48>
+ 800162c: 4b69 ldr r3, [pc, #420] ; (80017d4 <HAL_RCC_ClockConfig+0x1c0>)
+ 800162e: 681b ldr r3, [r3, #0]
+ 8001630: f003 030f and.w r3, r3, #15
+ 8001634: 683a ldr r2, [r7, #0]
+ 8001636: 429a cmp r2, r3
+ 8001638: d910 bls.n 800165c <HAL_RCC_ClockConfig+0x48>
{
/* Program the new number of wait states to the LATENCY bits in the FLASH_ACR register */
__HAL_FLASH_SET_LATENCY(FLatency);
- 800168e: 4b66 ldr r3, [pc, #408] ; (8001828 <HAL_RCC_ClockConfig+0x1c0>)
- 8001690: 681b ldr r3, [r3, #0]
- 8001692: f023 020f bic.w r2, r3, #15
- 8001696: 4964 ldr r1, [pc, #400] ; (8001828 <HAL_RCC_ClockConfig+0x1c0>)
- 8001698: 683b ldr r3, [r7, #0]
- 800169a: 4313 orrs r3, r2
- 800169c: 600b str r3, [r1, #0]
+ 800163a: 4b66 ldr r3, [pc, #408] ; (80017d4 <HAL_RCC_ClockConfig+0x1c0>)
+ 800163c: 681b ldr r3, [r3, #0]
+ 800163e: f023 020f bic.w r2, r3, #15
+ 8001642: 4964 ldr r1, [pc, #400] ; (80017d4 <HAL_RCC_ClockConfig+0x1c0>)
+ 8001644: 683b ldr r3, [r7, #0]
+ 8001646: 4313 orrs r3, r2
+ 8001648: 600b str r3, [r1, #0]
/* Check that the new number of wait states is taken into account to access the Flash
memory by reading the FLASH_ACR register */
if(__HAL_FLASH_GET_LATENCY() != FLatency)
- 800169e: 4b62 ldr r3, [pc, #392] ; (8001828 <HAL_RCC_ClockConfig+0x1c0>)
- 80016a0: 681b ldr r3, [r3, #0]
- 80016a2: f003 030f and.w r3, r3, #15
- 80016a6: 683a ldr r2, [r7, #0]
- 80016a8: 429a cmp r2, r3
- 80016aa: d001 beq.n 80016b0 <HAL_RCC_ClockConfig+0x48>
+ 800164a: 4b62 ldr r3, [pc, #392] ; (80017d4 <HAL_RCC_ClockConfig+0x1c0>)
+ 800164c: 681b ldr r3, [r3, #0]
+ 800164e: f003 030f and.w r3, r3, #15
+ 8001652: 683a ldr r2, [r7, #0]
+ 8001654: 429a cmp r2, r3
+ 8001656: d001 beq.n 800165c <HAL_RCC_ClockConfig+0x48>
{
return HAL_ERROR;
- 80016ac: 2301 movs r3, #1
- 80016ae: e0b6 b.n 800181e <HAL_RCC_ClockConfig+0x1b6>
+ 8001658: 2301 movs r3, #1
+ 800165a: e0b6 b.n 80017ca <HAL_RCC_ClockConfig+0x1b6>
}
}
/*-------------------------- HCLK Configuration --------------------------*/
if(((RCC_ClkInitStruct->ClockType) & RCC_CLOCKTYPE_HCLK) == RCC_CLOCKTYPE_HCLK)
- 80016b0: 687b ldr r3, [r7, #4]
- 80016b2: 681b ldr r3, [r3, #0]
- 80016b4: f003 0302 and.w r3, r3, #2
- 80016b8: 2b00 cmp r3, #0
- 80016ba: d020 beq.n 80016fe <HAL_RCC_ClockConfig+0x96>
+ 800165c: 687b ldr r3, [r7, #4]
+ 800165e: 681b ldr r3, [r3, #0]
+ 8001660: f003 0302 and.w r3, r3, #2
+ 8001664: 2b00 cmp r3, #0
+ 8001666: d020 beq.n 80016aa <HAL_RCC_ClockConfig+0x96>
{
/* Set the highest APBx dividers in order to ensure that we do not go through
a non-spec phase whatever we decrease or increase HCLK. */
if(((RCC_ClkInitStruct->ClockType) & RCC_CLOCKTYPE_PCLK1) == RCC_CLOCKTYPE_PCLK1)
- 80016bc: 687b ldr r3, [r7, #4]
- 80016be: 681b ldr r3, [r3, #0]
- 80016c0: f003 0304 and.w r3, r3, #4
- 80016c4: 2b00 cmp r3, #0
- 80016c6: d005 beq.n 80016d4 <HAL_RCC_ClockConfig+0x6c>
+ 8001668: 687b ldr r3, [r7, #4]
+ 800166a: 681b ldr r3, [r3, #0]
+ 800166c: f003 0304 and.w r3, r3, #4
+ 8001670: 2b00 cmp r3, #0
+ 8001672: d005 beq.n 8001680 <HAL_RCC_ClockConfig+0x6c>
{
MODIFY_REG(RCC->CFGR, RCC_CFGR_PPRE1, RCC_HCLK_DIV16);
- 80016c8: 4b58 ldr r3, [pc, #352] ; (800182c <HAL_RCC_ClockConfig+0x1c4>)
- 80016ca: 689b ldr r3, [r3, #8]
- 80016cc: 4a57 ldr r2, [pc, #348] ; (800182c <HAL_RCC_ClockConfig+0x1c4>)
- 80016ce: f443 53e0 orr.w r3, r3, #7168 ; 0x1c00
- 80016d2: 6093 str r3, [r2, #8]
+ 8001674: 4b58 ldr r3, [pc, #352] ; (80017d8 <HAL_RCC_ClockConfig+0x1c4>)
+ 8001676: 689b ldr r3, [r3, #8]
+ 8001678: 4a57 ldr r2, [pc, #348] ; (80017d8 <HAL_RCC_ClockConfig+0x1c4>)
+ 800167a: f443 53e0 orr.w r3, r3, #7168 ; 0x1c00
+ 800167e: 6093 str r3, [r2, #8]
}
if(((RCC_ClkInitStruct->ClockType) & RCC_CLOCKTYPE_PCLK2) == RCC_CLOCKTYPE_PCLK2)
- 80016d4: 687b ldr r3, [r7, #4]
- 80016d6: 681b ldr r3, [r3, #0]
- 80016d8: f003 0308 and.w r3, r3, #8
- 80016dc: 2b00 cmp r3, #0
- 80016de: d005 beq.n 80016ec <HAL_RCC_ClockConfig+0x84>
+ 8001680: 687b ldr r3, [r7, #4]
+ 8001682: 681b ldr r3, [r3, #0]
+ 8001684: f003 0308 and.w r3, r3, #8
+ 8001688: 2b00 cmp r3, #0
+ 800168a: d005 beq.n 8001698 <HAL_RCC_ClockConfig+0x84>
{
MODIFY_REG(RCC->CFGR, RCC_CFGR_PPRE2, (RCC_HCLK_DIV16 << 3));
- 80016e0: 4b52 ldr r3, [pc, #328] ; (800182c <HAL_RCC_ClockConfig+0x1c4>)
- 80016e2: 689b ldr r3, [r3, #8]
- 80016e4: 4a51 ldr r2, [pc, #324] ; (800182c <HAL_RCC_ClockConfig+0x1c4>)
- 80016e6: f443 4360 orr.w r3, r3, #57344 ; 0xe000
- 80016ea: 6093 str r3, [r2, #8]
+ 800168c: 4b52 ldr r3, [pc, #328] ; (80017d8 <HAL_RCC_ClockConfig+0x1c4>)
+ 800168e: 689b ldr r3, [r3, #8]
+ 8001690: 4a51 ldr r2, [pc, #324] ; (80017d8 <HAL_RCC_ClockConfig+0x1c4>)
+ 8001692: f443 4360 orr.w r3, r3, #57344 ; 0xe000
+ 8001696: 6093 str r3, [r2, #8]
}
/* Set the new HCLK clock divider */
assert_param(IS_RCC_HCLK(RCC_ClkInitStruct->AHBCLKDivider));
MODIFY_REG(RCC->CFGR, RCC_CFGR_HPRE, RCC_ClkInitStruct->AHBCLKDivider);
- 80016ec: 4b4f ldr r3, [pc, #316] ; (800182c <HAL_RCC_ClockConfig+0x1c4>)
- 80016ee: 689b ldr r3, [r3, #8]
- 80016f0: f023 02f0 bic.w r2, r3, #240 ; 0xf0
- 80016f4: 687b ldr r3, [r7, #4]
- 80016f6: 689b ldr r3, [r3, #8]
- 80016f8: 494c ldr r1, [pc, #304] ; (800182c <HAL_RCC_ClockConfig+0x1c4>)
- 80016fa: 4313 orrs r3, r2
- 80016fc: 608b str r3, [r1, #8]
+ 8001698: 4b4f ldr r3, [pc, #316] ; (80017d8 <HAL_RCC_ClockConfig+0x1c4>)
+ 800169a: 689b ldr r3, [r3, #8]
+ 800169c: f023 02f0 bic.w r2, r3, #240 ; 0xf0
+ 80016a0: 687b ldr r3, [r7, #4]
+ 80016a2: 689b ldr r3, [r3, #8]
+ 80016a4: 494c ldr r1, [pc, #304] ; (80017d8 <HAL_RCC_ClockConfig+0x1c4>)
+ 80016a6: 4313 orrs r3, r2
+ 80016a8: 608b str r3, [r1, #8]
}
/*------------------------- SYSCLK Configuration ---------------------------*/
if(((RCC_ClkInitStruct->ClockType) & RCC_CLOCKTYPE_SYSCLK) == RCC_CLOCKTYPE_SYSCLK)
- 80016fe: 687b ldr r3, [r7, #4]
- 8001700: 681b ldr r3, [r3, #0]
- 8001702: f003 0301 and.w r3, r3, #1
- 8001706: 2b00 cmp r3, #0
- 8001708: d040 beq.n 800178c <HAL_RCC_ClockConfig+0x124>
+ 80016aa: 687b ldr r3, [r7, #4]
+ 80016ac: 681b ldr r3, [r3, #0]
+ 80016ae: f003 0301 and.w r3, r3, #1
+ 80016b2: 2b00 cmp r3, #0
+ 80016b4: d040 beq.n 8001738 <HAL_RCC_ClockConfig+0x124>
{
assert_param(IS_RCC_SYSCLKSOURCE(RCC_ClkInitStruct->SYSCLKSource));
/* HSE is selected as System Clock Source */
if(RCC_ClkInitStruct->SYSCLKSource == RCC_SYSCLKSOURCE_HSE)
- 800170a: 687b ldr r3, [r7, #4]
- 800170c: 685b ldr r3, [r3, #4]
- 800170e: 2b01 cmp r3, #1
- 8001710: d107 bne.n 8001722 <HAL_RCC_ClockConfig+0xba>
+ 80016b6: 687b ldr r3, [r7, #4]
+ 80016b8: 685b ldr r3, [r3, #4]
+ 80016ba: 2b01 cmp r3, #1
+ 80016bc: d107 bne.n 80016ce <HAL_RCC_ClockConfig+0xba>
{
/* Check the HSE ready flag */
if(__HAL_RCC_GET_FLAG(RCC_FLAG_HSERDY) == RESET)
- 8001712: 4b46 ldr r3, [pc, #280] ; (800182c <HAL_RCC_ClockConfig+0x1c4>)
- 8001714: 681b ldr r3, [r3, #0]
- 8001716: f403 3300 and.w r3, r3, #131072 ; 0x20000
- 800171a: 2b00 cmp r3, #0
- 800171c: d115 bne.n 800174a <HAL_RCC_ClockConfig+0xe2>
+ 80016be: 4b46 ldr r3, [pc, #280] ; (80017d8 <HAL_RCC_ClockConfig+0x1c4>)
+ 80016c0: 681b ldr r3, [r3, #0]
+ 80016c2: f403 3300 and.w r3, r3, #131072 ; 0x20000
+ 80016c6: 2b00 cmp r3, #0
+ 80016c8: d115 bne.n 80016f6 <HAL_RCC_ClockConfig+0xe2>
{
return HAL_ERROR;
- 800171e: 2301 movs r3, #1
- 8001720: e07d b.n 800181e <HAL_RCC_ClockConfig+0x1b6>
+ 80016ca: 2301 movs r3, #1
+ 80016cc: e07d b.n 80017ca <HAL_RCC_ClockConfig+0x1b6>
}
}
/* PLL is selected as System Clock Source */
else if(RCC_ClkInitStruct->SYSCLKSource == RCC_SYSCLKSOURCE_PLLCLK)
- 8001722: 687b ldr r3, [r7, #4]
- 8001724: 685b ldr r3, [r3, #4]
- 8001726: 2b02 cmp r3, #2
- 8001728: d107 bne.n 800173a <HAL_RCC_ClockConfig+0xd2>
+ 80016ce: 687b ldr r3, [r7, #4]
+ 80016d0: 685b ldr r3, [r3, #4]
+ 80016d2: 2b02 cmp r3, #2
+ 80016d4: d107 bne.n 80016e6 <HAL_RCC_ClockConfig+0xd2>
{
/* Check the PLL ready flag */
if(__HAL_RCC_GET_FLAG(RCC_FLAG_PLLRDY) == RESET)
- 800172a: 4b40 ldr r3, [pc, #256] ; (800182c <HAL_RCC_ClockConfig+0x1c4>)
- 800172c: 681b ldr r3, [r3, #0]
- 800172e: f003 7300 and.w r3, r3, #33554432 ; 0x2000000
- 8001732: 2b00 cmp r3, #0
- 8001734: d109 bne.n 800174a <HAL_RCC_ClockConfig+0xe2>
+ 80016d6: 4b40 ldr r3, [pc, #256] ; (80017d8 <HAL_RCC_ClockConfig+0x1c4>)
+ 80016d8: 681b ldr r3, [r3, #0]
+ 80016da: f003 7300 and.w r3, r3, #33554432 ; 0x2000000
+ 80016de: 2b00 cmp r3, #0
+ 80016e0: d109 bne.n 80016f6 <HAL_RCC_ClockConfig+0xe2>
{
return HAL_ERROR;
- 8001736: 2301 movs r3, #1
- 8001738: e071 b.n 800181e <HAL_RCC_ClockConfig+0x1b6>
+ 80016e2: 2301 movs r3, #1
+ 80016e4: e071 b.n 80017ca <HAL_RCC_ClockConfig+0x1b6>
}
/* HSI is selected as System Clock Source */
else
{
/* Check the HSI ready flag */
if(__HAL_RCC_GET_FLAG(RCC_FLAG_HSIRDY) == RESET)
- 800173a: 4b3c ldr r3, [pc, #240] ; (800182c <HAL_RCC_ClockConfig+0x1c4>)
- 800173c: 681b ldr r3, [r3, #0]
- 800173e: f003 0302 and.w r3, r3, #2
- 8001742: 2b00 cmp r3, #0
- 8001744: d101 bne.n 800174a <HAL_RCC_ClockConfig+0xe2>
+ 80016e6: 4b3c ldr r3, [pc, #240] ; (80017d8 <HAL_RCC_ClockConfig+0x1c4>)
+ 80016e8: 681b ldr r3, [r3, #0]
+ 80016ea: f003 0302 and.w r3, r3, #2
+ 80016ee: 2b00 cmp r3, #0
+ 80016f0: d101 bne.n 80016f6 <HAL_RCC_ClockConfig+0xe2>
{
return HAL_ERROR;
- 8001746: 2301 movs r3, #1
- 8001748: e069 b.n 800181e <HAL_RCC_ClockConfig+0x1b6>
+ 80016f2: 2301 movs r3, #1
+ 80016f4: e069 b.n 80017ca <HAL_RCC_ClockConfig+0x1b6>
}
}
__HAL_RCC_SYSCLK_CONFIG(RCC_ClkInitStruct->SYSCLKSource);
- 800174a: 4b38 ldr r3, [pc, #224] ; (800182c <HAL_RCC_ClockConfig+0x1c4>)
- 800174c: 689b ldr r3, [r3, #8]
- 800174e: f023 0203 bic.w r2, r3, #3
- 8001752: 687b ldr r3, [r7, #4]
- 8001754: 685b ldr r3, [r3, #4]
- 8001756: 4935 ldr r1, [pc, #212] ; (800182c <HAL_RCC_ClockConfig+0x1c4>)
- 8001758: 4313 orrs r3, r2
- 800175a: 608b str r3, [r1, #8]
+ 80016f6: 4b38 ldr r3, [pc, #224] ; (80017d8 <HAL_RCC_ClockConfig+0x1c4>)
+ 80016f8: 689b ldr r3, [r3, #8]
+ 80016fa: f023 0203 bic.w r2, r3, #3
+ 80016fe: 687b ldr r3, [r7, #4]
+ 8001700: 685b ldr r3, [r3, #4]
+ 8001702: 4935 ldr r1, [pc, #212] ; (80017d8 <HAL_RCC_ClockConfig+0x1c4>)
+ 8001704: 4313 orrs r3, r2
+ 8001706: 608b str r3, [r1, #8]
/* Get Start Tick*/
tickstart = HAL_GetTick();
- 800175c: f7ff fa28 bl 8000bb0 <HAL_GetTick>
- 8001760: 60f8 str r0, [r7, #12]
+ 8001708: f7ff fa28 bl 8000b5c <HAL_GetTick>
+ 800170c: 60f8 str r0, [r7, #12]
while (__HAL_RCC_GET_SYSCLK_SOURCE() != (RCC_ClkInitStruct->SYSCLKSource << RCC_CFGR_SWS_Pos))
- 8001762: e00a b.n 800177a <HAL_RCC_ClockConfig+0x112>
+ 800170e: e00a b.n 8001726 <HAL_RCC_ClockConfig+0x112>
{
if ((HAL_GetTick() - tickstart) > CLOCKSWITCH_TIMEOUT_VALUE)
- 8001764: f7ff fa24 bl 8000bb0 <HAL_GetTick>
- 8001768: 4602 mov r2, r0
- 800176a: 68fb ldr r3, [r7, #12]
- 800176c: 1ad3 subs r3, r2, r3
- 800176e: f241 3288 movw r2, #5000 ; 0x1388
- 8001772: 4293 cmp r3, r2
- 8001774: d901 bls.n 800177a <HAL_RCC_ClockConfig+0x112>
+ 8001710: f7ff fa24 bl 8000b5c <HAL_GetTick>
+ 8001714: 4602 mov r2, r0
+ 8001716: 68fb ldr r3, [r7, #12]
+ 8001718: 1ad3 subs r3, r2, r3
+ 800171a: f241 3288 movw r2, #5000 ; 0x1388
+ 800171e: 4293 cmp r3, r2
+ 8001720: d901 bls.n 8001726 <HAL_RCC_ClockConfig+0x112>
{
return HAL_TIMEOUT;
- 8001776: 2303 movs r3, #3
- 8001778: e051 b.n 800181e <HAL_RCC_ClockConfig+0x1b6>
+ 8001722: 2303 movs r3, #3
+ 8001724: e051 b.n 80017ca <HAL_RCC_ClockConfig+0x1b6>
while (__HAL_RCC_GET_SYSCLK_SOURCE() != (RCC_ClkInitStruct->SYSCLKSource << RCC_CFGR_SWS_Pos))
- 800177a: 4b2c ldr r3, [pc, #176] ; (800182c <HAL_RCC_ClockConfig+0x1c4>)
- 800177c: 689b ldr r3, [r3, #8]
- 800177e: f003 020c and.w r2, r3, #12
- 8001782: 687b ldr r3, [r7, #4]
- 8001784: 685b ldr r3, [r3, #4]
- 8001786: 009b lsls r3, r3, #2
- 8001788: 429a cmp r2, r3
- 800178a: d1eb bne.n 8001764 <HAL_RCC_ClockConfig+0xfc>
+ 8001726: 4b2c ldr r3, [pc, #176] ; (80017d8 <HAL_RCC_ClockConfig+0x1c4>)
+ 8001728: 689b ldr r3, [r3, #8]
+ 800172a: f003 020c and.w r2, r3, #12
+ 800172e: 687b ldr r3, [r7, #4]
+ 8001730: 685b ldr r3, [r3, #4]
+ 8001732: 009b lsls r3, r3, #2
+ 8001734: 429a cmp r2, r3
+ 8001736: d1eb bne.n 8001710 <HAL_RCC_ClockConfig+0xfc>
}
}
}
/* Decreasing the number of wait states because of lower CPU frequency */
if(FLatency < __HAL_FLASH_GET_LATENCY())
- 800178c: 4b26 ldr r3, [pc, #152] ; (8001828 <HAL_RCC_ClockConfig+0x1c0>)
- 800178e: 681b ldr r3, [r3, #0]
- 8001790: f003 030f and.w r3, r3, #15
- 8001794: 683a ldr r2, [r7, #0]
- 8001796: 429a cmp r2, r3
- 8001798: d210 bcs.n 80017bc <HAL_RCC_ClockConfig+0x154>
+ 8001738: 4b26 ldr r3, [pc, #152] ; (80017d4 <HAL_RCC_ClockConfig+0x1c0>)
+ 800173a: 681b ldr r3, [r3, #0]
+ 800173c: f003 030f and.w r3, r3, #15
+ 8001740: 683a ldr r2, [r7, #0]
+ 8001742: 429a cmp r2, r3
+ 8001744: d210 bcs.n 8001768 <HAL_RCC_ClockConfig+0x154>
{
/* Program the new number of wait states to the LATENCY bits in the FLASH_ACR register */
__HAL_FLASH_SET_LATENCY(FLatency);
- 800179a: 4b23 ldr r3, [pc, #140] ; (8001828 <HAL_RCC_ClockConfig+0x1c0>)
- 800179c: 681b ldr r3, [r3, #0]
- 800179e: f023 020f bic.w r2, r3, #15
- 80017a2: 4921 ldr r1, [pc, #132] ; (8001828 <HAL_RCC_ClockConfig+0x1c0>)
- 80017a4: 683b ldr r3, [r7, #0]
- 80017a6: 4313 orrs r3, r2
- 80017a8: 600b str r3, [r1, #0]
+ 8001746: 4b23 ldr r3, [pc, #140] ; (80017d4 <HAL_RCC_ClockConfig+0x1c0>)
+ 8001748: 681b ldr r3, [r3, #0]
+ 800174a: f023 020f bic.w r2, r3, #15
+ 800174e: 4921 ldr r1, [pc, #132] ; (80017d4 <HAL_RCC_ClockConfig+0x1c0>)
+ 8001750: 683b ldr r3, [r7, #0]
+ 8001752: 4313 orrs r3, r2
+ 8001754: 600b str r3, [r1, #0]
/* Check that the new number of wait states is taken into account to access the Flash
memory by reading the FLASH_ACR register */
if(__HAL_FLASH_GET_LATENCY() != FLatency)
- 80017aa: 4b1f ldr r3, [pc, #124] ; (8001828 <HAL_RCC_ClockConfig+0x1c0>)
- 80017ac: 681b ldr r3, [r3, #0]
- 80017ae: f003 030f and.w r3, r3, #15
- 80017b2: 683a ldr r2, [r7, #0]
- 80017b4: 429a cmp r2, r3
- 80017b6: d001 beq.n 80017bc <HAL_RCC_ClockConfig+0x154>
+ 8001756: 4b1f ldr r3, [pc, #124] ; (80017d4 <HAL_RCC_ClockConfig+0x1c0>)
+ 8001758: 681b ldr r3, [r3, #0]
+ 800175a: f003 030f and.w r3, r3, #15
+ 800175e: 683a ldr r2, [r7, #0]
+ 8001760: 429a cmp r2, r3
+ 8001762: d001 beq.n 8001768 <HAL_RCC_ClockConfig+0x154>
{
return HAL_ERROR;
- 80017b8: 2301 movs r3, #1
- 80017ba: e030 b.n 800181e <HAL_RCC_ClockConfig+0x1b6>
+ 8001764: 2301 movs r3, #1
+ 8001766: e030 b.n 80017ca <HAL_RCC_ClockConfig+0x1b6>
}
}
/*-------------------------- PCLK1 Configuration ---------------------------*/
if(((RCC_ClkInitStruct->ClockType) & RCC_CLOCKTYPE_PCLK1) == RCC_CLOCKTYPE_PCLK1)
- 80017bc: 687b ldr r3, [r7, #4]
- 80017be: 681b ldr r3, [r3, #0]
- 80017c0: f003 0304 and.w r3, r3, #4
- 80017c4: 2b00 cmp r3, #0
- 80017c6: d008 beq.n 80017da <HAL_RCC_ClockConfig+0x172>
+ 8001768: 687b ldr r3, [r7, #4]
+ 800176a: 681b ldr r3, [r3, #0]
+ 800176c: f003 0304 and.w r3, r3, #4
+ 8001770: 2b00 cmp r3, #0
+ 8001772: d008 beq.n 8001786 <HAL_RCC_ClockConfig+0x172>
{
assert_param(IS_RCC_PCLK(RCC_ClkInitStruct->APB1CLKDivider));
MODIFY_REG(RCC->CFGR, RCC_CFGR_PPRE1, RCC_ClkInitStruct->APB1CLKDivider);
- 80017c8: 4b18 ldr r3, [pc, #96] ; (800182c <HAL_RCC_ClockConfig+0x1c4>)
- 80017ca: 689b ldr r3, [r3, #8]
- 80017cc: f423 52e0 bic.w r2, r3, #7168 ; 0x1c00
- 80017d0: 687b ldr r3, [r7, #4]
- 80017d2: 68db ldr r3, [r3, #12]
- 80017d4: 4915 ldr r1, [pc, #84] ; (800182c <HAL_RCC_ClockConfig+0x1c4>)
- 80017d6: 4313 orrs r3, r2
- 80017d8: 608b str r3, [r1, #8]
+ 8001774: 4b18 ldr r3, [pc, #96] ; (80017d8 <HAL_RCC_ClockConfig+0x1c4>)
+ 8001776: 689b ldr r3, [r3, #8]
+ 8001778: f423 52e0 bic.w r2, r3, #7168 ; 0x1c00
+ 800177c: 687b ldr r3, [r7, #4]
+ 800177e: 68db ldr r3, [r3, #12]
+ 8001780: 4915 ldr r1, [pc, #84] ; (80017d8 <HAL_RCC_ClockConfig+0x1c4>)
+ 8001782: 4313 orrs r3, r2
+ 8001784: 608b str r3, [r1, #8]
}
/*-------------------------- PCLK2 Configuration ---------------------------*/
if(((RCC_ClkInitStruct->ClockType) & RCC_CLOCKTYPE_PCLK2) == RCC_CLOCKTYPE_PCLK2)
- 80017da: 687b ldr r3, [r7, #4]
- 80017dc: 681b ldr r3, [r3, #0]
- 80017de: f003 0308 and.w r3, r3, #8
- 80017e2: 2b00 cmp r3, #0
- 80017e4: d009 beq.n 80017fa <HAL_RCC_ClockConfig+0x192>
+ 8001786: 687b ldr r3, [r7, #4]
+ 8001788: 681b ldr r3, [r3, #0]
+ 800178a: f003 0308 and.w r3, r3, #8
+ 800178e: 2b00 cmp r3, #0
+ 8001790: d009 beq.n 80017a6 <HAL_RCC_ClockConfig+0x192>
{
assert_param(IS_RCC_PCLK(RCC_ClkInitStruct->APB2CLKDivider));
MODIFY_REG(RCC->CFGR, RCC_CFGR_PPRE2, ((RCC_ClkInitStruct->APB2CLKDivider) << 3));
- 80017e6: 4b11 ldr r3, [pc, #68] ; (800182c <HAL_RCC_ClockConfig+0x1c4>)
- 80017e8: 689b ldr r3, [r3, #8]
- 80017ea: f423 4260 bic.w r2, r3, #57344 ; 0xe000
- 80017ee: 687b ldr r3, [r7, #4]
- 80017f0: 691b ldr r3, [r3, #16]
- 80017f2: 00db lsls r3, r3, #3
- 80017f4: 490d ldr r1, [pc, #52] ; (800182c <HAL_RCC_ClockConfig+0x1c4>)
- 80017f6: 4313 orrs r3, r2
- 80017f8: 608b str r3, [r1, #8]
+ 8001792: 4b11 ldr r3, [pc, #68] ; (80017d8 <HAL_RCC_ClockConfig+0x1c4>)
+ 8001794: 689b ldr r3, [r3, #8]
+ 8001796: f423 4260 bic.w r2, r3, #57344 ; 0xe000
+ 800179a: 687b ldr r3, [r7, #4]
+ 800179c: 691b ldr r3, [r3, #16]
+ 800179e: 00db lsls r3, r3, #3
+ 80017a0: 490d ldr r1, [pc, #52] ; (80017d8 <HAL_RCC_ClockConfig+0x1c4>)
+ 80017a2: 4313 orrs r3, r2
+ 80017a4: 608b str r3, [r1, #8]
}
/* Update the SystemCoreClock global variable */
SystemCoreClock = HAL_RCC_GetSysClockFreq() >> AHBPrescTable[(RCC->CFGR & RCC_CFGR_HPRE)>> RCC_CFGR_HPRE_Pos];
- 80017fa: f000 f81d bl 8001838 <HAL_RCC_GetSysClockFreq>
- 80017fe: 4601 mov r1, r0
- 8001800: 4b0a ldr r3, [pc, #40] ; (800182c <HAL_RCC_ClockConfig+0x1c4>)
- 8001802: 689b ldr r3, [r3, #8]
- 8001804: 091b lsrs r3, r3, #4
- 8001806: f003 030f and.w r3, r3, #15
- 800180a: 4a09 ldr r2, [pc, #36] ; (8001830 <HAL_RCC_ClockConfig+0x1c8>)
- 800180c: 5cd3 ldrb r3, [r2, r3]
- 800180e: fa21 f303 lsr.w r3, r1, r3
- 8001812: 4a08 ldr r2, [pc, #32] ; (8001834 <HAL_RCC_ClockConfig+0x1cc>)
- 8001814: 6013 str r3, [r2, #0]
+ 80017a6: f000 f81d bl 80017e4 <HAL_RCC_GetSysClockFreq>
+ 80017aa: 4601 mov r1, r0
+ 80017ac: 4b0a ldr r3, [pc, #40] ; (80017d8 <HAL_RCC_ClockConfig+0x1c4>)
+ 80017ae: 689b ldr r3, [r3, #8]
+ 80017b0: 091b lsrs r3, r3, #4
+ 80017b2: f003 030f and.w r3, r3, #15
+ 80017b6: 4a09 ldr r2, [pc, #36] ; (80017dc <HAL_RCC_ClockConfig+0x1c8>)
+ 80017b8: 5cd3 ldrb r3, [r2, r3]
+ 80017ba: fa21 f303 lsr.w r3, r1, r3
+ 80017be: 4a08 ldr r2, [pc, #32] ; (80017e0 <HAL_RCC_ClockConfig+0x1cc>)
+ 80017c0: 6013 str r3, [r2, #0]
/* Configure the source of time base considering new system clocks settings*/
HAL_InitTick (TICK_INT_PRIORITY);
- 8001816: 2000 movs r0, #0
- 8001818: f7ff f986 bl 8000b28 <HAL_InitTick>
+ 80017c2: 2000 movs r0, #0
+ 80017c4: f7ff f986 bl 8000ad4 <HAL_InitTick>
return HAL_OK;
- 800181c: 2300 movs r3, #0
+ 80017c8: 2300 movs r3, #0
}
- 800181e: 4618 mov r0, r3
- 8001820: 3710 adds r7, #16
- 8001822: 46bd mov sp, r7
- 8001824: bd80 pop {r7, pc}
- 8001826: bf00 nop
- 8001828: 40023c00 .word 0x40023c00
- 800182c: 40023800 .word 0x40023800
- 8001830: 0800398c .word 0x0800398c
- 8001834: 20000000 .word 0x20000000
-
-08001838 <HAL_RCC_GetSysClockFreq>:
+ 80017ca: 4618 mov r0, r3
+ 80017cc: 3710 adds r7, #16
+ 80017ce: 46bd mov sp, r7
+ 80017d0: bd80 pop {r7, pc}
+ 80017d2: bf00 nop
+ 80017d4: 40023c00 .word 0x40023c00
+ 80017d8: 40023800 .word 0x40023800
+ 80017dc: 08003938 .word 0x08003938
+ 80017e0: 20000000 .word 0x20000000
+
+080017e4 <HAL_RCC_GetSysClockFreq>:
*
*
* @retval SYSCLK frequency
*/
uint32_t HAL_RCC_GetSysClockFreq(void)
{
- 8001838: b5f0 push {r4, r5, r6, r7, lr}
- 800183a: b085 sub sp, #20
- 800183c: af00 add r7, sp, #0
+ 80017e4: b5f0 push {r4, r5, r6, r7, lr}
+ 80017e6: b085 sub sp, #20
+ 80017e8: af00 add r7, sp, #0
uint32_t pllm = 0, pllvco = 0, pllp = 0;
- 800183e: 2300 movs r3, #0
- 8001840: 607b str r3, [r7, #4]
- 8001842: 2300 movs r3, #0
- 8001844: 60fb str r3, [r7, #12]
- 8001846: 2300 movs r3, #0
- 8001848: 603b str r3, [r7, #0]
+ 80017ea: 2300 movs r3, #0
+ 80017ec: 607b str r3, [r7, #4]
+ 80017ee: 2300 movs r3, #0
+ 80017f0: 60fb str r3, [r7, #12]
+ 80017f2: 2300 movs r3, #0
+ 80017f4: 603b str r3, [r7, #0]
uint32_t sysclockfreq = 0;
- 800184a: 2300 movs r3, #0
- 800184c: 60bb str r3, [r7, #8]
+ 80017f6: 2300 movs r3, #0
+ 80017f8: 60bb str r3, [r7, #8]
/* Get SYSCLK source -------------------------------------------------------*/
switch (RCC->CFGR & RCC_CFGR_SWS)
- 800184e: 4b50 ldr r3, [pc, #320] ; (8001990 <HAL_RCC_GetSysClockFreq+0x158>)
- 8001850: 689b ldr r3, [r3, #8]
- 8001852: f003 030c and.w r3, r3, #12
- 8001856: 2b04 cmp r3, #4
- 8001858: d007 beq.n 800186a <HAL_RCC_GetSysClockFreq+0x32>
- 800185a: 2b08 cmp r3, #8
- 800185c: d008 beq.n 8001870 <HAL_RCC_GetSysClockFreq+0x38>
- 800185e: 2b00 cmp r3, #0
- 8001860: f040 808d bne.w 800197e <HAL_RCC_GetSysClockFreq+0x146>
+ 80017fa: 4b50 ldr r3, [pc, #320] ; (800193c <HAL_RCC_GetSysClockFreq+0x158>)
+ 80017fc: 689b ldr r3, [r3, #8]
+ 80017fe: f003 030c and.w r3, r3, #12
+ 8001802: 2b04 cmp r3, #4
+ 8001804: d007 beq.n 8001816 <HAL_RCC_GetSysClockFreq+0x32>
+ 8001806: 2b08 cmp r3, #8
+ 8001808: d008 beq.n 800181c <HAL_RCC_GetSysClockFreq+0x38>
+ 800180a: 2b00 cmp r3, #0
+ 800180c: f040 808d bne.w 800192a <HAL_RCC_GetSysClockFreq+0x146>
{
case RCC_SYSCLKSOURCE_STATUS_HSI: /* HSI used as system clock source */
{
sysclockfreq = HSI_VALUE;
- 8001864: 4b4b ldr r3, [pc, #300] ; (8001994 <HAL_RCC_GetSysClockFreq+0x15c>)
- 8001866: 60bb str r3, [r7, #8]
+ 8001810: 4b4b ldr r3, [pc, #300] ; (8001940 <HAL_RCC_GetSysClockFreq+0x15c>)
+ 8001812: 60bb str r3, [r7, #8]
break;
- 8001868: e08c b.n 8001984 <HAL_RCC_GetSysClockFreq+0x14c>
+ 8001814: e08c b.n 8001930 <HAL_RCC_GetSysClockFreq+0x14c>
}
case RCC_SYSCLKSOURCE_STATUS_HSE: /* HSE used as system clock source */
{
sysclockfreq = HSE_VALUE;
- 800186a: 4b4b ldr r3, [pc, #300] ; (8001998 <HAL_RCC_GetSysClockFreq+0x160>)
- 800186c: 60bb str r3, [r7, #8]
+ 8001816: 4b4b ldr r3, [pc, #300] ; (8001944 <HAL_RCC_GetSysClockFreq+0x160>)
+ 8001818: 60bb str r3, [r7, #8]
break;
- 800186e: e089 b.n 8001984 <HAL_RCC_GetSysClockFreq+0x14c>
+ 800181a: e089 b.n 8001930 <HAL_RCC_GetSysClockFreq+0x14c>
}
case RCC_SYSCLKSOURCE_STATUS_PLLCLK: /* PLL used as system clock source */
{
/* PLL_VCO = (HSE_VALUE or HSI_VALUE / PLLM) * PLLN
SYSCLK = PLL_VCO / PLLP */
pllm = RCC->PLLCFGR & RCC_PLLCFGR_PLLM;
- 8001870: 4b47 ldr r3, [pc, #284] ; (8001990 <HAL_RCC_GetSysClockFreq+0x158>)
- 8001872: 685b ldr r3, [r3, #4]
- 8001874: f003 033f and.w r3, r3, #63 ; 0x3f
- 8001878: 607b str r3, [r7, #4]
+ 800181c: 4b47 ldr r3, [pc, #284] ; (800193c <HAL_RCC_GetSysClockFreq+0x158>)
+ 800181e: 685b ldr r3, [r3, #4]
+ 8001820: f003 033f and.w r3, r3, #63 ; 0x3f
+ 8001824: 607b str r3, [r7, #4]
if (__HAL_RCC_GET_PLL_OSCSOURCE() != RCC_PLLCFGR_PLLSRC_HSI)
- 800187a: 4b45 ldr r3, [pc, #276] ; (8001990 <HAL_RCC_GetSysClockFreq+0x158>)
- 800187c: 685b ldr r3, [r3, #4]
- 800187e: f403 0380 and.w r3, r3, #4194304 ; 0x400000
- 8001882: 2b00 cmp r3, #0
- 8001884: d023 beq.n 80018ce <HAL_RCC_GetSysClockFreq+0x96>
+ 8001826: 4b45 ldr r3, [pc, #276] ; (800193c <HAL_RCC_GetSysClockFreq+0x158>)
+ 8001828: 685b ldr r3, [r3, #4]
+ 800182a: f403 0380 and.w r3, r3, #4194304 ; 0x400000
+ 800182e: 2b00 cmp r3, #0
+ 8001830: d023 beq.n 800187a <HAL_RCC_GetSysClockFreq+0x96>
{
/* HSE used as PLL clock source */
pllvco = (uint32_t) ((((uint64_t) HSE_VALUE * ((uint64_t) ((RCC->PLLCFGR & RCC_PLLCFGR_PLLN) >> RCC_PLLCFGR_PLLN_Pos)))) / (uint64_t)pllm);
- 8001886: 4b42 ldr r3, [pc, #264] ; (8001990 <HAL_RCC_GetSysClockFreq+0x158>)
- 8001888: 685b ldr r3, [r3, #4]
- 800188a: 099b lsrs r3, r3, #6
- 800188c: f04f 0400 mov.w r4, #0
- 8001890: f240 11ff movw r1, #511 ; 0x1ff
- 8001894: f04f 0200 mov.w r2, #0
- 8001898: ea03 0501 and.w r5, r3, r1
- 800189c: ea04 0602 and.w r6, r4, r2
- 80018a0: 4a3d ldr r2, [pc, #244] ; (8001998 <HAL_RCC_GetSysClockFreq+0x160>)
- 80018a2: fb02 f106 mul.w r1, r2, r6
- 80018a6: 2200 movs r2, #0
- 80018a8: fb02 f205 mul.w r2, r2, r5
- 80018ac: 440a add r2, r1
- 80018ae: 493a ldr r1, [pc, #232] ; (8001998 <HAL_RCC_GetSysClockFreq+0x160>)
- 80018b0: fba5 0101 umull r0, r1, r5, r1
- 80018b4: 1853 adds r3, r2, r1
- 80018b6: 4619 mov r1, r3
- 80018b8: 687b ldr r3, [r7, #4]
- 80018ba: f04f 0400 mov.w r4, #0
- 80018be: 461a mov r2, r3
- 80018c0: 4623 mov r3, r4
- 80018c2: f7fe fcb9 bl 8000238 <__aeabi_uldivmod>
- 80018c6: 4603 mov r3, r0
- 80018c8: 460c mov r4, r1
- 80018ca: 60fb str r3, [r7, #12]
- 80018cc: e049 b.n 8001962 <HAL_RCC_GetSysClockFreq+0x12a>
+ 8001832: 4b42 ldr r3, [pc, #264] ; (800193c <HAL_RCC_GetSysClockFreq+0x158>)
+ 8001834: 685b ldr r3, [r3, #4]
+ 8001836: 099b lsrs r3, r3, #6
+ 8001838: f04f 0400 mov.w r4, #0
+ 800183c: f240 11ff movw r1, #511 ; 0x1ff
+ 8001840: f04f 0200 mov.w r2, #0
+ 8001844: ea03 0501 and.w r5, r3, r1
+ 8001848: ea04 0602 and.w r6, r4, r2
+ 800184c: 4a3d ldr r2, [pc, #244] ; (8001944 <HAL_RCC_GetSysClockFreq+0x160>)
+ 800184e: fb02 f106 mul.w r1, r2, r6
+ 8001852: 2200 movs r2, #0
+ 8001854: fb02 f205 mul.w r2, r2, r5
+ 8001858: 440a add r2, r1
+ 800185a: 493a ldr r1, [pc, #232] ; (8001944 <HAL_RCC_GetSysClockFreq+0x160>)
+ 800185c: fba5 0101 umull r0, r1, r5, r1
+ 8001860: 1853 adds r3, r2, r1
+ 8001862: 4619 mov r1, r3
+ 8001864: 687b ldr r3, [r7, #4]
+ 8001866: f04f 0400 mov.w r4, #0
+ 800186a: 461a mov r2, r3
+ 800186c: 4623 mov r3, r4
+ 800186e: f7fe fce3 bl 8000238 <__aeabi_uldivmod>
+ 8001872: 4603 mov r3, r0
+ 8001874: 460c mov r4, r1
+ 8001876: 60fb str r3, [r7, #12]
+ 8001878: e049 b.n 800190e <HAL_RCC_GetSysClockFreq+0x12a>
}
else
{
/* HSI used as PLL clock source */
pllvco = (uint32_t) ((((uint64_t) HSI_VALUE * ((uint64_t) ((RCC->PLLCFGR & RCC_PLLCFGR_PLLN) >> RCC_PLLCFGR_PLLN_Pos)))) / (uint64_t)pllm);
- 80018ce: 4b30 ldr r3, [pc, #192] ; (8001990 <HAL_RCC_GetSysClockFreq+0x158>)
- 80018d0: 685b ldr r3, [r3, #4]
- 80018d2: 099b lsrs r3, r3, #6
- 80018d4: f04f 0400 mov.w r4, #0
- 80018d8: f240 11ff movw r1, #511 ; 0x1ff
- 80018dc: f04f 0200 mov.w r2, #0
- 80018e0: ea03 0501 and.w r5, r3, r1
- 80018e4: ea04 0602 and.w r6, r4, r2
- 80018e8: 4629 mov r1, r5
- 80018ea: 4632 mov r2, r6
- 80018ec: f04f 0300 mov.w r3, #0
- 80018f0: f04f 0400 mov.w r4, #0
- 80018f4: 0154 lsls r4, r2, #5
- 80018f6: ea44 64d1 orr.w r4, r4, r1, lsr #27
- 80018fa: 014b lsls r3, r1, #5
- 80018fc: 4619 mov r1, r3
- 80018fe: 4622 mov r2, r4
- 8001900: 1b49 subs r1, r1, r5
- 8001902: eb62 0206 sbc.w r2, r2, r6
- 8001906: f04f 0300 mov.w r3, #0
- 800190a: f04f 0400 mov.w r4, #0
- 800190e: 0194 lsls r4, r2, #6
- 8001910: ea44 6491 orr.w r4, r4, r1, lsr #26
- 8001914: 018b lsls r3, r1, #6
- 8001916: 1a5b subs r3, r3, r1
- 8001918: eb64 0402 sbc.w r4, r4, r2
- 800191c: f04f 0100 mov.w r1, #0
- 8001920: f04f 0200 mov.w r2, #0
- 8001924: 00e2 lsls r2, r4, #3
- 8001926: ea42 7253 orr.w r2, r2, r3, lsr #29
- 800192a: 00d9 lsls r1, r3, #3
- 800192c: 460b mov r3, r1
- 800192e: 4614 mov r4, r2
- 8001930: 195b adds r3, r3, r5
- 8001932: eb44 0406 adc.w r4, r4, r6
- 8001936: f04f 0100 mov.w r1, #0
- 800193a: f04f 0200 mov.w r2, #0
- 800193e: 02a2 lsls r2, r4, #10
- 8001940: ea42 5293 orr.w r2, r2, r3, lsr #22
- 8001944: 0299 lsls r1, r3, #10
- 8001946: 460b mov r3, r1
- 8001948: 4614 mov r4, r2
- 800194a: 4618 mov r0, r3
- 800194c: 4621 mov r1, r4
- 800194e: 687b ldr r3, [r7, #4]
- 8001950: f04f 0400 mov.w r4, #0
- 8001954: 461a mov r2, r3
- 8001956: 4623 mov r3, r4
- 8001958: f7fe fc6e bl 8000238 <__aeabi_uldivmod>
- 800195c: 4603 mov r3, r0
- 800195e: 460c mov r4, r1
- 8001960: 60fb str r3, [r7, #12]
+ 800187a: 4b30 ldr r3, [pc, #192] ; (800193c <HAL_RCC_GetSysClockFreq+0x158>)
+ 800187c: 685b ldr r3, [r3, #4]
+ 800187e: 099b lsrs r3, r3, #6
+ 8001880: f04f 0400 mov.w r4, #0
+ 8001884: f240 11ff movw r1, #511 ; 0x1ff
+ 8001888: f04f 0200 mov.w r2, #0
+ 800188c: ea03 0501 and.w r5, r3, r1
+ 8001890: ea04 0602 and.w r6, r4, r2
+ 8001894: 4629 mov r1, r5
+ 8001896: 4632 mov r2, r6
+ 8001898: f04f 0300 mov.w r3, #0
+ 800189c: f04f 0400 mov.w r4, #0
+ 80018a0: 0154 lsls r4, r2, #5
+ 80018a2: ea44 64d1 orr.w r4, r4, r1, lsr #27
+ 80018a6: 014b lsls r3, r1, #5
+ 80018a8: 4619 mov r1, r3
+ 80018aa: 4622 mov r2, r4
+ 80018ac: 1b49 subs r1, r1, r5
+ 80018ae: eb62 0206 sbc.w r2, r2, r6
+ 80018b2: f04f 0300 mov.w r3, #0
+ 80018b6: f04f 0400 mov.w r4, #0
+ 80018ba: 0194 lsls r4, r2, #6
+ 80018bc: ea44 6491 orr.w r4, r4, r1, lsr #26
+ 80018c0: 018b lsls r3, r1, #6
+ 80018c2: 1a5b subs r3, r3, r1
+ 80018c4: eb64 0402 sbc.w r4, r4, r2
+ 80018c8: f04f 0100 mov.w r1, #0
+ 80018cc: f04f 0200 mov.w r2, #0
+ 80018d0: 00e2 lsls r2, r4, #3
+ 80018d2: ea42 7253 orr.w r2, r2, r3, lsr #29
+ 80018d6: 00d9 lsls r1, r3, #3
+ 80018d8: 460b mov r3, r1
+ 80018da: 4614 mov r4, r2
+ 80018dc: 195b adds r3, r3, r5
+ 80018de: eb44 0406 adc.w r4, r4, r6
+ 80018e2: f04f 0100 mov.w r1, #0
+ 80018e6: f04f 0200 mov.w r2, #0
+ 80018ea: 02a2 lsls r2, r4, #10
+ 80018ec: ea42 5293 orr.w r2, r2, r3, lsr #22
+ 80018f0: 0299 lsls r1, r3, #10
+ 80018f2: 460b mov r3, r1
+ 80018f4: 4614 mov r4, r2
+ 80018f6: 4618 mov r0, r3
+ 80018f8: 4621 mov r1, r4
+ 80018fa: 687b ldr r3, [r7, #4]
+ 80018fc: f04f 0400 mov.w r4, #0
+ 8001900: 461a mov r2, r3
+ 8001902: 4623 mov r3, r4
+ 8001904: f7fe fc98 bl 8000238 <__aeabi_uldivmod>
+ 8001908: 4603 mov r3, r0
+ 800190a: 460c mov r4, r1
+ 800190c: 60fb str r3, [r7, #12]
}
pllp = ((((RCC->PLLCFGR & RCC_PLLCFGR_PLLP) >> RCC_PLLCFGR_PLLP_Pos) + 1 ) *2);
- 8001962: 4b0b ldr r3, [pc, #44] ; (8001990 <HAL_RCC_GetSysClockFreq+0x158>)
- 8001964: 685b ldr r3, [r3, #4]
- 8001966: 0c1b lsrs r3, r3, #16
- 8001968: f003 0303 and.w r3, r3, #3
- 800196c: 3301 adds r3, #1
- 800196e: 005b lsls r3, r3, #1
- 8001970: 603b str r3, [r7, #0]
+ 800190e: 4b0b ldr r3, [pc, #44] ; (800193c <HAL_RCC_GetSysClockFreq+0x158>)
+ 8001910: 685b ldr r3, [r3, #4]
+ 8001912: 0c1b lsrs r3, r3, #16
+ 8001914: f003 0303 and.w r3, r3, #3
+ 8001918: 3301 adds r3, #1
+ 800191a: 005b lsls r3, r3, #1
+ 800191c: 603b str r3, [r7, #0]
sysclockfreq = pllvco/pllp;
- 8001972: 68fa ldr r2, [r7, #12]
- 8001974: 683b ldr r3, [r7, #0]
- 8001976: fbb2 f3f3 udiv r3, r2, r3
- 800197a: 60bb str r3, [r7, #8]
+ 800191e: 68fa ldr r2, [r7, #12]
+ 8001920: 683b ldr r3, [r7, #0]
+ 8001922: fbb2 f3f3 udiv r3, r2, r3
+ 8001926: 60bb str r3, [r7, #8]
break;
- 800197c: e002 b.n 8001984 <HAL_RCC_GetSysClockFreq+0x14c>
+ 8001928: e002 b.n 8001930 <HAL_RCC_GetSysClockFreq+0x14c>
}
default:
{
sysclockfreq = HSI_VALUE;
- 800197e: 4b05 ldr r3, [pc, #20] ; (8001994 <HAL_RCC_GetSysClockFreq+0x15c>)
- 8001980: 60bb str r3, [r7, #8]
+ 800192a: 4b05 ldr r3, [pc, #20] ; (8001940 <HAL_RCC_GetSysClockFreq+0x15c>)
+ 800192c: 60bb str r3, [r7, #8]
break;
- 8001982: bf00 nop
+ 800192e: bf00 nop
}
}
return sysclockfreq;
- 8001984: 68bb ldr r3, [r7, #8]
+ 8001930: 68bb ldr r3, [r7, #8]
}
- 8001986: 4618 mov r0, r3
- 8001988: 3714 adds r7, #20
- 800198a: 46bd mov sp, r7
- 800198c: bdf0 pop {r4, r5, r6, r7, pc}
- 800198e: bf00 nop
- 8001990: 40023800 .word 0x40023800
- 8001994: 00f42400 .word 0x00f42400
- 8001998: 017d7840 .word 0x017d7840
-
-0800199c <HAL_RCC_GetHCLKFreq>:
+ 8001932: 4618 mov r0, r3
+ 8001934: 3714 adds r7, #20
+ 8001936: 46bd mov sp, r7
+ 8001938: bdf0 pop {r4, r5, r6, r7, pc}
+ 800193a: bf00 nop
+ 800193c: 40023800 .word 0x40023800
+ 8001940: 00f42400 .word 0x00f42400
+ 8001944: 017d7840 .word 0x017d7840
+
+08001948 <HAL_RCC_GetHCLKFreq>:
* right HCLK value. Otherwise, any configuration based on this function will be incorrect.
* @note The SystemCoreClock CMSIS variable is used to store System Clock Frequency.
* @retval HCLK frequency
*/
uint32_t HAL_RCC_GetHCLKFreq(void)
{
- 800199c: b480 push {r7}
- 800199e: af00 add r7, sp, #0
+ 8001948: b480 push {r7}
+ 800194a: af00 add r7, sp, #0
return SystemCoreClock;
- 80019a0: 4b03 ldr r3, [pc, #12] ; (80019b0 <HAL_RCC_GetHCLKFreq+0x14>)
- 80019a2: 681b ldr r3, [r3, #0]
+ 800194c: 4b03 ldr r3, [pc, #12] ; (800195c <HAL_RCC_GetHCLKFreq+0x14>)
+ 800194e: 681b ldr r3, [r3, #0]
}
- 80019a4: 4618 mov r0, r3
- 80019a6: 46bd mov sp, r7
- 80019a8: f85d 7b04 ldr.w r7, [sp], #4
- 80019ac: 4770 bx lr
- 80019ae: bf00 nop
- 80019b0: 20000000 .word 0x20000000
-
-080019b4 <HAL_RCC_GetPCLK1Freq>:
+ 8001950: 4618 mov r0, r3
+ 8001952: 46bd mov sp, r7
+ 8001954: f85d 7b04 ldr.w r7, [sp], #4
+ 8001958: 4770 bx lr
+ 800195a: bf00 nop
+ 800195c: 20000000 .word 0x20000000
+
+08001960 <HAL_RCC_GetPCLK1Freq>:
* @note Each time PCLK1 changes, this function must be called to update the
* right PCLK1 value. Otherwise, any configuration based on this function will be incorrect.
* @retval PCLK1 frequency
*/
uint32_t HAL_RCC_GetPCLK1Freq(void)
{
- 80019b4: b580 push {r7, lr}
- 80019b6: af00 add r7, sp, #0
+ 8001960: b580 push {r7, lr}
+ 8001962: af00 add r7, sp, #0
/* Get HCLK source and Compute PCLK1 frequency ---------------------------*/
return (HAL_RCC_GetHCLKFreq() >> APBPrescTable[(RCC->CFGR & RCC_CFGR_PPRE1)>> RCC_CFGR_PPRE1_Pos]);
- 80019b8: f7ff fff0 bl 800199c <HAL_RCC_GetHCLKFreq>
- 80019bc: 4601 mov r1, r0
- 80019be: 4b05 ldr r3, [pc, #20] ; (80019d4 <HAL_RCC_GetPCLK1Freq+0x20>)
- 80019c0: 689b ldr r3, [r3, #8]
- 80019c2: 0a9b lsrs r3, r3, #10
- 80019c4: f003 0307 and.w r3, r3, #7
- 80019c8: 4a03 ldr r2, [pc, #12] ; (80019d8 <HAL_RCC_GetPCLK1Freq+0x24>)
- 80019ca: 5cd3 ldrb r3, [r2, r3]
- 80019cc: fa21 f303 lsr.w r3, r1, r3
+ 8001964: f7ff fff0 bl 8001948 <HAL_RCC_GetHCLKFreq>
+ 8001968: 4601 mov r1, r0
+ 800196a: 4b05 ldr r3, [pc, #20] ; (8001980 <HAL_RCC_GetPCLK1Freq+0x20>)
+ 800196c: 689b ldr r3, [r3, #8]
+ 800196e: 0a9b lsrs r3, r3, #10
+ 8001970: f003 0307 and.w r3, r3, #7
+ 8001974: 4a03 ldr r2, [pc, #12] ; (8001984 <HAL_RCC_GetPCLK1Freq+0x24>)
+ 8001976: 5cd3 ldrb r3, [r2, r3]
+ 8001978: fa21 f303 lsr.w r3, r1, r3
}
- 80019d0: 4618 mov r0, r3
- 80019d2: bd80 pop {r7, pc}
- 80019d4: 40023800 .word 0x40023800
- 80019d8: 0800399c .word 0x0800399c
+ 800197c: 4618 mov r0, r3
+ 800197e: bd80 pop {r7, pc}
+ 8001980: 40023800 .word 0x40023800
+ 8001984: 08003948 .word 0x08003948
-080019dc <HAL_RCC_GetPCLK2Freq>:
+08001988 <HAL_RCC_GetPCLK2Freq>:
* @note Each time PCLK2 changes, this function must be called to update the
* right PCLK2 value. Otherwise, any configuration based on this function will be incorrect.
* @retval PCLK2 frequency
*/
uint32_t HAL_RCC_GetPCLK2Freq(void)
{
- 80019dc: b580 push {r7, lr}
- 80019de: af00 add r7, sp, #0
+ 8001988: b580 push {r7, lr}
+ 800198a: af00 add r7, sp, #0
/* Get HCLK source and Compute PCLK2 frequency ---------------------------*/
return (HAL_RCC_GetHCLKFreq()>> APBPrescTable[(RCC->CFGR & RCC_CFGR_PPRE2)>> RCC_CFGR_PPRE2_Pos]);
- 80019e0: f7ff ffdc bl 800199c <HAL_RCC_GetHCLKFreq>
- 80019e4: 4601 mov r1, r0
- 80019e6: 4b05 ldr r3, [pc, #20] ; (80019fc <HAL_RCC_GetPCLK2Freq+0x20>)
- 80019e8: 689b ldr r3, [r3, #8]
- 80019ea: 0b5b lsrs r3, r3, #13
- 80019ec: f003 0307 and.w r3, r3, #7
- 80019f0: 4a03 ldr r2, [pc, #12] ; (8001a00 <HAL_RCC_GetPCLK2Freq+0x24>)
- 80019f2: 5cd3 ldrb r3, [r2, r3]
- 80019f4: fa21 f303 lsr.w r3, r1, r3
+ 800198c: f7ff ffdc bl 8001948 <HAL_RCC_GetHCLKFreq>
+ 8001990: 4601 mov r1, r0
+ 8001992: 4b05 ldr r3, [pc, #20] ; (80019a8 <HAL_RCC_GetPCLK2Freq+0x20>)
+ 8001994: 689b ldr r3, [r3, #8]
+ 8001996: 0b5b lsrs r3, r3, #13
+ 8001998: f003 0307 and.w r3, r3, #7
+ 800199c: 4a03 ldr r2, [pc, #12] ; (80019ac <HAL_RCC_GetPCLK2Freq+0x24>)
+ 800199e: 5cd3 ldrb r3, [r2, r3]
+ 80019a0: fa21 f303 lsr.w r3, r1, r3
}
- 80019f8: 4618 mov r0, r3
- 80019fa: bd80 pop {r7, pc}
- 80019fc: 40023800 .word 0x40023800
- 8001a00: 0800399c .word 0x0800399c
+ 80019a4: 4618 mov r0, r3
+ 80019a6: bd80 pop {r7, pc}
+ 80019a8: 40023800 .word 0x40023800
+ 80019ac: 08003948 .word 0x08003948
-08001a04 <HAL_RCCEx_PeriphCLKConfig>:
+080019b0 <HAL_RCCEx_PeriphCLKConfig>:
* the backup registers) are set to their reset values.
*
* @retval HAL status
*/
HAL_StatusTypeDef HAL_RCCEx_PeriphCLKConfig(RCC_PeriphCLKInitTypeDef *PeriphClkInit)
{
- 8001a04: b580 push {r7, lr}
- 8001a06: b088 sub sp, #32
- 8001a08: af00 add r7, sp, #0
- 8001a0a: 6078 str r0, [r7, #4]
+ 80019b0: b580 push {r7, lr}
+ 80019b2: b088 sub sp, #32
+ 80019b4: af00 add r7, sp, #0
+ 80019b6: 6078 str r0, [r7, #4]
uint32_t tickstart = 0;
- 8001a0c: 2300 movs r3, #0
- 8001a0e: 617b str r3, [r7, #20]
+ 80019b8: 2300 movs r3, #0
+ 80019ba: 617b str r3, [r7, #20]
uint32_t tmpreg0 = 0;
- 8001a10: 2300 movs r3, #0
- 8001a12: 613b str r3, [r7, #16]
+ 80019bc: 2300 movs r3, #0
+ 80019be: 613b str r3, [r7, #16]
uint32_t tmpreg1 = 0;
- 8001a14: 2300 movs r3, #0
- 8001a16: 60fb str r3, [r7, #12]
+ 80019c0: 2300 movs r3, #0
+ 80019c2: 60fb str r3, [r7, #12]
uint32_t plli2sused = 0;
- 8001a18: 2300 movs r3, #0
- 8001a1a: 61fb str r3, [r7, #28]
+ 80019c4: 2300 movs r3, #0
+ 80019c6: 61fb str r3, [r7, #28]
uint32_t pllsaiused = 0;
- 8001a1c: 2300 movs r3, #0
- 8001a1e: 61bb str r3, [r7, #24]
+ 80019c8: 2300 movs r3, #0
+ 80019ca: 61bb str r3, [r7, #24]
/* Check the parameters */
assert_param(IS_RCC_PERIPHCLOCK(PeriphClkInit->PeriphClockSelection));
/*----------------------------------- I2S configuration ----------------------------------*/
if(((PeriphClkInit->PeriphClockSelection) & RCC_PERIPHCLK_I2S) == (RCC_PERIPHCLK_I2S))
- 8001a20: 687b ldr r3, [r7, #4]
- 8001a22: 681b ldr r3, [r3, #0]
- 8001a24: f003 0301 and.w r3, r3, #1
- 8001a28: 2b00 cmp r3, #0
- 8001a2a: d012 beq.n 8001a52 <HAL_RCCEx_PeriphCLKConfig+0x4e>
+ 80019cc: 687b ldr r3, [r7, #4]
+ 80019ce: 681b ldr r3, [r3, #0]
+ 80019d0: f003 0301 and.w r3, r3, #1
+ 80019d4: 2b00 cmp r3, #0
+ 80019d6: d012 beq.n 80019fe <HAL_RCCEx_PeriphCLKConfig+0x4e>
{
/* Check the parameters */
assert_param(IS_RCC_I2SCLKSOURCE(PeriphClkInit->I2sClockSelection));
/* Configure I2S Clock source */
__HAL_RCC_I2S_CONFIG(PeriphClkInit->I2sClockSelection);
- 8001a2c: 4b69 ldr r3, [pc, #420] ; (8001bd4 <HAL_RCCEx_PeriphCLKConfig+0x1d0>)
- 8001a2e: 689b ldr r3, [r3, #8]
- 8001a30: 4a68 ldr r2, [pc, #416] ; (8001bd4 <HAL_RCCEx_PeriphCLKConfig+0x1d0>)
- 8001a32: f423 0300 bic.w r3, r3, #8388608 ; 0x800000
- 8001a36: 6093 str r3, [r2, #8]
- 8001a38: 4b66 ldr r3, [pc, #408] ; (8001bd4 <HAL_RCCEx_PeriphCLKConfig+0x1d0>)
- 8001a3a: 689a ldr r2, [r3, #8]
- 8001a3c: 687b ldr r3, [r7, #4]
- 8001a3e: 6b5b ldr r3, [r3, #52] ; 0x34
- 8001a40: 4964 ldr r1, [pc, #400] ; (8001bd4 <HAL_RCCEx_PeriphCLKConfig+0x1d0>)
- 8001a42: 4313 orrs r3, r2
- 8001a44: 608b str r3, [r1, #8]
+ 80019d8: 4b69 ldr r3, [pc, #420] ; (8001b80 <HAL_RCCEx_PeriphCLKConfig+0x1d0>)
+ 80019da: 689b ldr r3, [r3, #8]
+ 80019dc: 4a68 ldr r2, [pc, #416] ; (8001b80 <HAL_RCCEx_PeriphCLKConfig+0x1d0>)
+ 80019de: f423 0300 bic.w r3, r3, #8388608 ; 0x800000
+ 80019e2: 6093 str r3, [r2, #8]
+ 80019e4: 4b66 ldr r3, [pc, #408] ; (8001b80 <HAL_RCCEx_PeriphCLKConfig+0x1d0>)
+ 80019e6: 689a ldr r2, [r3, #8]
+ 80019e8: 687b ldr r3, [r7, #4]
+ 80019ea: 6b5b ldr r3, [r3, #52] ; 0x34
+ 80019ec: 4964 ldr r1, [pc, #400] ; (8001b80 <HAL_RCCEx_PeriphCLKConfig+0x1d0>)
+ 80019ee: 4313 orrs r3, r2
+ 80019f0: 608b str r3, [r1, #8]
/* Enable the PLLI2S when it's used as clock source for I2S */
if(PeriphClkInit->I2sClockSelection == RCC_I2SCLKSOURCE_PLLI2S)
- 8001a46: 687b ldr r3, [r7, #4]
- 8001a48: 6b5b ldr r3, [r3, #52] ; 0x34
- 8001a4a: 2b00 cmp r3, #0
- 8001a4c: d101 bne.n 8001a52 <HAL_RCCEx_PeriphCLKConfig+0x4e>
+ 80019f2: 687b ldr r3, [r7, #4]
+ 80019f4: 6b5b ldr r3, [r3, #52] ; 0x34
+ 80019f6: 2b00 cmp r3, #0
+ 80019f8: d101 bne.n 80019fe <HAL_RCCEx_PeriphCLKConfig+0x4e>
{
plli2sused = 1;
- 8001a4e: 2301 movs r3, #1
- 8001a50: 61fb str r3, [r7, #28]
+ 80019fa: 2301 movs r3, #1
+ 80019fc: 61fb str r3, [r7, #28]
}
}
/*------------------------------------ SAI1 configuration --------------------------------------*/
if(((PeriphClkInit->PeriphClockSelection) & RCC_PERIPHCLK_SAI1) == (RCC_PERIPHCLK_SAI1))
- 8001a52: 687b ldr r3, [r7, #4]
- 8001a54: 681b ldr r3, [r3, #0]
- 8001a56: f403 2300 and.w r3, r3, #524288 ; 0x80000
- 8001a5a: 2b00 cmp r3, #0
- 8001a5c: d017 beq.n 8001a8e <HAL_RCCEx_PeriphCLKConfig+0x8a>
+ 80019fe: 687b ldr r3, [r7, #4]
+ 8001a00: 681b ldr r3, [r3, #0]
+ 8001a02: f403 2300 and.w r3, r3, #524288 ; 0x80000
+ 8001a06: 2b00 cmp r3, #0
+ 8001a08: d017 beq.n 8001a3a <HAL_RCCEx_PeriphCLKConfig+0x8a>
{
/* Check the parameters */
assert_param(IS_RCC_SAI1CLKSOURCE(PeriphClkInit->Sai1ClockSelection));
/* Configure SAI1 Clock source */
__HAL_RCC_SAI1_CONFIG(PeriphClkInit->Sai1ClockSelection);
- 8001a5e: 4b5d ldr r3, [pc, #372] ; (8001bd4 <HAL_RCCEx_PeriphCLKConfig+0x1d0>)
- 8001a60: f8d3 308c ldr.w r3, [r3, #140] ; 0x8c
- 8001a64: f423 1240 bic.w r2, r3, #3145728 ; 0x300000
- 8001a68: 687b ldr r3, [r7, #4]
- 8001a6a: 6bdb ldr r3, [r3, #60] ; 0x3c
- 8001a6c: 4959 ldr r1, [pc, #356] ; (8001bd4 <HAL_RCCEx_PeriphCLKConfig+0x1d0>)
- 8001a6e: 4313 orrs r3, r2
- 8001a70: f8c1 308c str.w r3, [r1, #140] ; 0x8c
+ 8001a0a: 4b5d ldr r3, [pc, #372] ; (8001b80 <HAL_RCCEx_PeriphCLKConfig+0x1d0>)
+ 8001a0c: f8d3 308c ldr.w r3, [r3, #140] ; 0x8c
+ 8001a10: f423 1240 bic.w r2, r3, #3145728 ; 0x300000
+ 8001a14: 687b ldr r3, [r7, #4]
+ 8001a16: 6bdb ldr r3, [r3, #60] ; 0x3c
+ 8001a18: 4959 ldr r1, [pc, #356] ; (8001b80 <HAL_RCCEx_PeriphCLKConfig+0x1d0>)
+ 8001a1a: 4313 orrs r3, r2
+ 8001a1c: f8c1 308c str.w r3, [r1, #140] ; 0x8c
/* Enable the PLLI2S when it's used as clock source for SAI */
if(PeriphClkInit->Sai1ClockSelection == RCC_SAI1CLKSOURCE_PLLI2S)
- 8001a74: 687b ldr r3, [r7, #4]
- 8001a76: 6bdb ldr r3, [r3, #60] ; 0x3c
- 8001a78: f5b3 1f80 cmp.w r3, #1048576 ; 0x100000
- 8001a7c: d101 bne.n 8001a82 <HAL_RCCEx_PeriphCLKConfig+0x7e>
+ 8001a20: 687b ldr r3, [r7, #4]
+ 8001a22: 6bdb ldr r3, [r3, #60] ; 0x3c
+ 8001a24: f5b3 1f80 cmp.w r3, #1048576 ; 0x100000
+ 8001a28: d101 bne.n 8001a2e <HAL_RCCEx_PeriphCLKConfig+0x7e>
{
plli2sused = 1;
- 8001a7e: 2301 movs r3, #1
- 8001a80: 61fb str r3, [r7, #28]
+ 8001a2a: 2301 movs r3, #1
+ 8001a2c: 61fb str r3, [r7, #28]
}
/* Enable the PLLSAI when it's used as clock source for SAI */
if(PeriphClkInit->Sai1ClockSelection == RCC_SAI1CLKSOURCE_PLLSAI)
- 8001a82: 687b ldr r3, [r7, #4]
- 8001a84: 6bdb ldr r3, [r3, #60] ; 0x3c
- 8001a86: 2b00 cmp r3, #0
- 8001a88: d101 bne.n 8001a8e <HAL_RCCEx_PeriphCLKConfig+0x8a>
+ 8001a2e: 687b ldr r3, [r7, #4]
+ 8001a30: 6bdb ldr r3, [r3, #60] ; 0x3c
+ 8001a32: 2b00 cmp r3, #0
+ 8001a34: d101 bne.n 8001a3a <HAL_RCCEx_PeriphCLKConfig+0x8a>
{
pllsaiused = 1;
- 8001a8a: 2301 movs r3, #1
- 8001a8c: 61bb str r3, [r7, #24]
+ 8001a36: 2301 movs r3, #1
+ 8001a38: 61bb str r3, [r7, #24]
}
}
/*------------------------------------ SAI2 configuration --------------------------------------*/
if(((PeriphClkInit->PeriphClockSelection) & RCC_PERIPHCLK_SAI2) == (RCC_PERIPHCLK_SAI2))
- 8001a8e: 687b ldr r3, [r7, #4]
- 8001a90: 681b ldr r3, [r3, #0]
- 8001a92: f403 1380 and.w r3, r3, #1048576 ; 0x100000
- 8001a96: 2b00 cmp r3, #0
- 8001a98: d017 beq.n 8001aca <HAL_RCCEx_PeriphCLKConfig+0xc6>
+ 8001a3a: 687b ldr r3, [r7, #4]
+ 8001a3c: 681b ldr r3, [r3, #0]
+ 8001a3e: f403 1380 and.w r3, r3, #1048576 ; 0x100000
+ 8001a42: 2b00 cmp r3, #0
+ 8001a44: d017 beq.n 8001a76 <HAL_RCCEx_PeriphCLKConfig+0xc6>
{
/* Check the parameters */
assert_param(IS_RCC_SAI2CLKSOURCE(PeriphClkInit->Sai2ClockSelection));
/* Configure SAI2 Clock source */
__HAL_RCC_SAI2_CONFIG(PeriphClkInit->Sai2ClockSelection);
- 8001a9a: 4b4e ldr r3, [pc, #312] ; (8001bd4 <HAL_RCCEx_PeriphCLKConfig+0x1d0>)
- 8001a9c: f8d3 308c ldr.w r3, [r3, #140] ; 0x8c
- 8001aa0: f423 0240 bic.w r2, r3, #12582912 ; 0xc00000
- 8001aa4: 687b ldr r3, [r7, #4]
- 8001aa6: 6c1b ldr r3, [r3, #64] ; 0x40
- 8001aa8: 494a ldr r1, [pc, #296] ; (8001bd4 <HAL_RCCEx_PeriphCLKConfig+0x1d0>)
- 8001aaa: 4313 orrs r3, r2
- 8001aac: f8c1 308c str.w r3, [r1, #140] ; 0x8c
+ 8001a46: 4b4e ldr r3, [pc, #312] ; (8001b80 <HAL_RCCEx_PeriphCLKConfig+0x1d0>)
+ 8001a48: f8d3 308c ldr.w r3, [r3, #140] ; 0x8c
+ 8001a4c: f423 0240 bic.w r2, r3, #12582912 ; 0xc00000
+ 8001a50: 687b ldr r3, [r7, #4]
+ 8001a52: 6c1b ldr r3, [r3, #64] ; 0x40
+ 8001a54: 494a ldr r1, [pc, #296] ; (8001b80 <HAL_RCCEx_PeriphCLKConfig+0x1d0>)
+ 8001a56: 4313 orrs r3, r2
+ 8001a58: f8c1 308c str.w r3, [r1, #140] ; 0x8c
/* Enable the PLLI2S when it's used as clock source for SAI */
if(PeriphClkInit->Sai2ClockSelection == RCC_SAI2CLKSOURCE_PLLI2S)
- 8001ab0: 687b ldr r3, [r7, #4]
- 8001ab2: 6c1b ldr r3, [r3, #64] ; 0x40
- 8001ab4: f5b3 0f80 cmp.w r3, #4194304 ; 0x400000
- 8001ab8: d101 bne.n 8001abe <HAL_RCCEx_PeriphCLKConfig+0xba>
+ 8001a5c: 687b ldr r3, [r7, #4]
+ 8001a5e: 6c1b ldr r3, [r3, #64] ; 0x40
+ 8001a60: f5b3 0f80 cmp.w r3, #4194304 ; 0x400000
+ 8001a64: d101 bne.n 8001a6a <HAL_RCCEx_PeriphCLKConfig+0xba>
{
plli2sused = 1;
- 8001aba: 2301 movs r3, #1
- 8001abc: 61fb str r3, [r7, #28]
+ 8001a66: 2301 movs r3, #1
+ 8001a68: 61fb str r3, [r7, #28]
}
/* Enable the PLLSAI when it's used as clock source for SAI */
if(PeriphClkInit->Sai2ClockSelection == RCC_SAI2CLKSOURCE_PLLSAI)
- 8001abe: 687b ldr r3, [r7, #4]
- 8001ac0: 6c1b ldr r3, [r3, #64] ; 0x40
- 8001ac2: 2b00 cmp r3, #0
- 8001ac4: d101 bne.n 8001aca <HAL_RCCEx_PeriphCLKConfig+0xc6>
+ 8001a6a: 687b ldr r3, [r7, #4]
+ 8001a6c: 6c1b ldr r3, [r3, #64] ; 0x40
+ 8001a6e: 2b00 cmp r3, #0
+ 8001a70: d101 bne.n 8001a76 <HAL_RCCEx_PeriphCLKConfig+0xc6>
{
pllsaiused = 1;
- 8001ac6: 2301 movs r3, #1
- 8001ac8: 61bb str r3, [r7, #24]
+ 8001a72: 2301 movs r3, #1
+ 8001a74: 61bb str r3, [r7, #24]
}
}
/*-------------------------------------- SPDIF-RX Configuration -----------------------------------*/
if(((PeriphClkInit->PeriphClockSelection) & RCC_PERIPHCLK_SPDIFRX) == RCC_PERIPHCLK_SPDIFRX)
- 8001aca: 687b ldr r3, [r7, #4]
- 8001acc: 681b ldr r3, [r3, #0]
- 8001ace: f003 7380 and.w r3, r3, #16777216 ; 0x1000000
- 8001ad2: 2b00 cmp r3, #0
- 8001ad4: d001 beq.n 8001ada <HAL_RCCEx_PeriphCLKConfig+0xd6>
+ 8001a76: 687b ldr r3, [r7, #4]
+ 8001a78: 681b ldr r3, [r3, #0]
+ 8001a7a: f003 7380 and.w r3, r3, #16777216 ; 0x1000000
+ 8001a7e: 2b00 cmp r3, #0
+ 8001a80: d001 beq.n 8001a86 <HAL_RCCEx_PeriphCLKConfig+0xd6>
{
plli2sused = 1;
- 8001ad6: 2301 movs r3, #1
- 8001ad8: 61fb str r3, [r7, #28]
+ 8001a82: 2301 movs r3, #1
+ 8001a84: 61fb str r3, [r7, #28]
}
/*------------------------------------ RTC configuration --------------------------------------*/
if(((PeriphClkInit->PeriphClockSelection) & RCC_PERIPHCLK_RTC) == (RCC_PERIPHCLK_RTC))
- 8001ada: 687b ldr r3, [r7, #4]
- 8001adc: 681b ldr r3, [r3, #0]
- 8001ade: f003 0320 and.w r3, r3, #32
- 8001ae2: 2b00 cmp r3, #0
- 8001ae4: f000 808b beq.w 8001bfe <HAL_RCCEx_PeriphCLKConfig+0x1fa>
+ 8001a86: 687b ldr r3, [r7, #4]
+ 8001a88: 681b ldr r3, [r3, #0]
+ 8001a8a: f003 0320 and.w r3, r3, #32
+ 8001a8e: 2b00 cmp r3, #0
+ 8001a90: f000 808b beq.w 8001baa <HAL_RCCEx_PeriphCLKConfig+0x1fa>
{
/* Check for RTC Parameters used to output RTCCLK */
assert_param(IS_RCC_RTCCLKSOURCE(PeriphClkInit->RTCClockSelection));
/* Enable Power Clock*/
__HAL_RCC_PWR_CLK_ENABLE();
- 8001ae8: 4b3a ldr r3, [pc, #232] ; (8001bd4 <HAL_RCCEx_PeriphCLKConfig+0x1d0>)
- 8001aea: 6c1b ldr r3, [r3, #64] ; 0x40
- 8001aec: 4a39 ldr r2, [pc, #228] ; (8001bd4 <HAL_RCCEx_PeriphCLKConfig+0x1d0>)
- 8001aee: f043 5380 orr.w r3, r3, #268435456 ; 0x10000000
- 8001af2: 6413 str r3, [r2, #64] ; 0x40
- 8001af4: 4b37 ldr r3, [pc, #220] ; (8001bd4 <HAL_RCCEx_PeriphCLKConfig+0x1d0>)
- 8001af6: 6c1b ldr r3, [r3, #64] ; 0x40
- 8001af8: f003 5380 and.w r3, r3, #268435456 ; 0x10000000
- 8001afc: 60bb str r3, [r7, #8]
- 8001afe: 68bb ldr r3, [r7, #8]
+ 8001a94: 4b3a ldr r3, [pc, #232] ; (8001b80 <HAL_RCCEx_PeriphCLKConfig+0x1d0>)
+ 8001a96: 6c1b ldr r3, [r3, #64] ; 0x40
+ 8001a98: 4a39 ldr r2, [pc, #228] ; (8001b80 <HAL_RCCEx_PeriphCLKConfig+0x1d0>)
+ 8001a9a: f043 5380 orr.w r3, r3, #268435456 ; 0x10000000
+ 8001a9e: 6413 str r3, [r2, #64] ; 0x40
+ 8001aa0: 4b37 ldr r3, [pc, #220] ; (8001b80 <HAL_RCCEx_PeriphCLKConfig+0x1d0>)
+ 8001aa2: 6c1b ldr r3, [r3, #64] ; 0x40
+ 8001aa4: f003 5380 and.w r3, r3, #268435456 ; 0x10000000
+ 8001aa8: 60bb str r3, [r7, #8]
+ 8001aaa: 68bb ldr r3, [r7, #8]
/* Enable write access to Backup domain */
PWR->CR1 |= PWR_CR1_DBP;
- 8001b00: 4b35 ldr r3, [pc, #212] ; (8001bd8 <HAL_RCCEx_PeriphCLKConfig+0x1d4>)
- 8001b02: 681b ldr r3, [r3, #0]
- 8001b04: 4a34 ldr r2, [pc, #208] ; (8001bd8 <HAL_RCCEx_PeriphCLKConfig+0x1d4>)
- 8001b06: f443 7380 orr.w r3, r3, #256 ; 0x100
- 8001b0a: 6013 str r3, [r2, #0]
+ 8001aac: 4b35 ldr r3, [pc, #212] ; (8001b84 <HAL_RCCEx_PeriphCLKConfig+0x1d4>)
+ 8001aae: 681b ldr r3, [r3, #0]
+ 8001ab0: 4a34 ldr r2, [pc, #208] ; (8001b84 <HAL_RCCEx_PeriphCLKConfig+0x1d4>)
+ 8001ab2: f443 7380 orr.w r3, r3, #256 ; 0x100
+ 8001ab6: 6013 str r3, [r2, #0]
/* Get Start Tick*/
tickstart = HAL_GetTick();
- 8001b0c: f7ff f850 bl 8000bb0 <HAL_GetTick>
- 8001b10: 6178 str r0, [r7, #20]
+ 8001ab8: f7ff f850 bl 8000b5c <HAL_GetTick>
+ 8001abc: 6178 str r0, [r7, #20]
/* Wait for Backup domain Write protection disable */
while((PWR->CR1 & PWR_CR1_DBP) == RESET)
- 8001b12: e008 b.n 8001b26 <HAL_RCCEx_PeriphCLKConfig+0x122>
+ 8001abe: e008 b.n 8001ad2 <HAL_RCCEx_PeriphCLKConfig+0x122>
{
if((HAL_GetTick() - tickstart) > RCC_DBP_TIMEOUT_VALUE)
- 8001b14: f7ff f84c bl 8000bb0 <HAL_GetTick>
- 8001b18: 4602 mov r2, r0
- 8001b1a: 697b ldr r3, [r7, #20]
- 8001b1c: 1ad3 subs r3, r2, r3
- 8001b1e: 2b64 cmp r3, #100 ; 0x64
- 8001b20: d901 bls.n 8001b26 <HAL_RCCEx_PeriphCLKConfig+0x122>
+ 8001ac0: f7ff f84c bl 8000b5c <HAL_GetTick>
+ 8001ac4: 4602 mov r2, r0
+ 8001ac6: 697b ldr r3, [r7, #20]
+ 8001ac8: 1ad3 subs r3, r2, r3
+ 8001aca: 2b64 cmp r3, #100 ; 0x64
+ 8001acc: d901 bls.n 8001ad2 <HAL_RCCEx_PeriphCLKConfig+0x122>
{
return HAL_TIMEOUT;
- 8001b22: 2303 movs r3, #3
- 8001b24: e38d b.n 8002242 <HAL_RCCEx_PeriphCLKConfig+0x83e>
+ 8001ace: 2303 movs r3, #3
+ 8001ad0: e38d b.n 80021ee <HAL_RCCEx_PeriphCLKConfig+0x83e>
while((PWR->CR1 & PWR_CR1_DBP) == RESET)
- 8001b26: 4b2c ldr r3, [pc, #176] ; (8001bd8 <HAL_RCCEx_PeriphCLKConfig+0x1d4>)
- 8001b28: 681b ldr r3, [r3, #0]
- 8001b2a: f403 7380 and.w r3, r3, #256 ; 0x100
- 8001b2e: 2b00 cmp r3, #0
- 8001b30: d0f0 beq.n 8001b14 <HAL_RCCEx_PeriphCLKConfig+0x110>
+ 8001ad2: 4b2c ldr r3, [pc, #176] ; (8001b84 <HAL_RCCEx_PeriphCLKConfig+0x1d4>)
+ 8001ad4: 681b ldr r3, [r3, #0]
+ 8001ad6: f403 7380 and.w r3, r3, #256 ; 0x100
+ 8001ada: 2b00 cmp r3, #0
+ 8001adc: d0f0 beq.n 8001ac0 <HAL_RCCEx_PeriphCLKConfig+0x110>
}
}
/* Reset the Backup domain only if the RTC Clock source selection is modified */
tmpreg0 = (RCC->BDCR & RCC_BDCR_RTCSEL);
- 8001b32: 4b28 ldr r3, [pc, #160] ; (8001bd4 <HAL_RCCEx_PeriphCLKConfig+0x1d0>)
- 8001b34: 6f1b ldr r3, [r3, #112] ; 0x70
- 8001b36: f403 7340 and.w r3, r3, #768 ; 0x300
- 8001b3a: 613b str r3, [r7, #16]
+ 8001ade: 4b28 ldr r3, [pc, #160] ; (8001b80 <HAL_RCCEx_PeriphCLKConfig+0x1d0>)
+ 8001ae0: 6f1b ldr r3, [r3, #112] ; 0x70
+ 8001ae2: f403 7340 and.w r3, r3, #768 ; 0x300
+ 8001ae6: 613b str r3, [r7, #16]
if((tmpreg0 != 0x00000000U) && (tmpreg0 != (PeriphClkInit->RTCClockSelection & RCC_BDCR_RTCSEL)))
- 8001b3c: 693b ldr r3, [r7, #16]
- 8001b3e: 2b00 cmp r3, #0
- 8001b40: d035 beq.n 8001bae <HAL_RCCEx_PeriphCLKConfig+0x1aa>
- 8001b42: 687b ldr r3, [r7, #4]
- 8001b44: 6b1b ldr r3, [r3, #48] ; 0x30
- 8001b46: f403 7340 and.w r3, r3, #768 ; 0x300
- 8001b4a: 693a ldr r2, [r7, #16]
- 8001b4c: 429a cmp r2, r3
- 8001b4e: d02e beq.n 8001bae <HAL_RCCEx_PeriphCLKConfig+0x1aa>
+ 8001ae8: 693b ldr r3, [r7, #16]
+ 8001aea: 2b00 cmp r3, #0
+ 8001aec: d035 beq.n 8001b5a <HAL_RCCEx_PeriphCLKConfig+0x1aa>
+ 8001aee: 687b ldr r3, [r7, #4]
+ 8001af0: 6b1b ldr r3, [r3, #48] ; 0x30
+ 8001af2: f403 7340 and.w r3, r3, #768 ; 0x300
+ 8001af6: 693a ldr r2, [r7, #16]
+ 8001af8: 429a cmp r2, r3
+ 8001afa: d02e beq.n 8001b5a <HAL_RCCEx_PeriphCLKConfig+0x1aa>
{
/* Store the content of BDCR register before the reset of Backup Domain */
tmpreg0 = (RCC->BDCR & ~(RCC_BDCR_RTCSEL));
- 8001b50: 4b20 ldr r3, [pc, #128] ; (8001bd4 <HAL_RCCEx_PeriphCLKConfig+0x1d0>)
- 8001b52: 6f1b ldr r3, [r3, #112] ; 0x70
- 8001b54: f423 7340 bic.w r3, r3, #768 ; 0x300
- 8001b58: 613b str r3, [r7, #16]
+ 8001afc: 4b20 ldr r3, [pc, #128] ; (8001b80 <HAL_RCCEx_PeriphCLKConfig+0x1d0>)
+ 8001afe: 6f1b ldr r3, [r3, #112] ; 0x70
+ 8001b00: f423 7340 bic.w r3, r3, #768 ; 0x300
+ 8001b04: 613b str r3, [r7, #16]
/* RTC Clock selection can be changed only if the Backup Domain is reset */
__HAL_RCC_BACKUPRESET_FORCE();
- 8001b5a: 4b1e ldr r3, [pc, #120] ; (8001bd4 <HAL_RCCEx_PeriphCLKConfig+0x1d0>)
- 8001b5c: 6f1b ldr r3, [r3, #112] ; 0x70
- 8001b5e: 4a1d ldr r2, [pc, #116] ; (8001bd4 <HAL_RCCEx_PeriphCLKConfig+0x1d0>)
- 8001b60: f443 3380 orr.w r3, r3, #65536 ; 0x10000
- 8001b64: 6713 str r3, [r2, #112] ; 0x70
+ 8001b06: 4b1e ldr r3, [pc, #120] ; (8001b80 <HAL_RCCEx_PeriphCLKConfig+0x1d0>)
+ 8001b08: 6f1b ldr r3, [r3, #112] ; 0x70
+ 8001b0a: 4a1d ldr r2, [pc, #116] ; (8001b80 <HAL_RCCEx_PeriphCLKConfig+0x1d0>)
+ 8001b0c: f443 3380 orr.w r3, r3, #65536 ; 0x10000
+ 8001b10: 6713 str r3, [r2, #112] ; 0x70
__HAL_RCC_BACKUPRESET_RELEASE();
- 8001b66: 4b1b ldr r3, [pc, #108] ; (8001bd4 <HAL_RCCEx_PeriphCLKConfig+0x1d0>)
- 8001b68: 6f1b ldr r3, [r3, #112] ; 0x70
- 8001b6a: 4a1a ldr r2, [pc, #104] ; (8001bd4 <HAL_RCCEx_PeriphCLKConfig+0x1d0>)
- 8001b6c: f423 3380 bic.w r3, r3, #65536 ; 0x10000
- 8001b70: 6713 str r3, [r2, #112] ; 0x70
+ 8001b12: 4b1b ldr r3, [pc, #108] ; (8001b80 <HAL_RCCEx_PeriphCLKConfig+0x1d0>)
+ 8001b14: 6f1b ldr r3, [r3, #112] ; 0x70
+ 8001b16: 4a1a ldr r2, [pc, #104] ; (8001b80 <HAL_RCCEx_PeriphCLKConfig+0x1d0>)
+ 8001b18: f423 3380 bic.w r3, r3, #65536 ; 0x10000
+ 8001b1c: 6713 str r3, [r2, #112] ; 0x70
/* Restore the Content of BDCR register */
RCC->BDCR = tmpreg0;
- 8001b72: 4a18 ldr r2, [pc, #96] ; (8001bd4 <HAL_RCCEx_PeriphCLKConfig+0x1d0>)
- 8001b74: 693b ldr r3, [r7, #16]
- 8001b76: 6713 str r3, [r2, #112] ; 0x70
+ 8001b1e: 4a18 ldr r2, [pc, #96] ; (8001b80 <HAL_RCCEx_PeriphCLKConfig+0x1d0>)
+ 8001b20: 693b ldr r3, [r7, #16]
+ 8001b22: 6713 str r3, [r2, #112] ; 0x70
/* Wait for LSE reactivation if LSE was enable prior to Backup Domain reset */
if (HAL_IS_BIT_SET(RCC->BDCR, RCC_BDCR_LSEON))
- 8001b78: 4b16 ldr r3, [pc, #88] ; (8001bd4 <HAL_RCCEx_PeriphCLKConfig+0x1d0>)
- 8001b7a: 6f1b ldr r3, [r3, #112] ; 0x70
- 8001b7c: f003 0301 and.w r3, r3, #1
- 8001b80: 2b01 cmp r3, #1
- 8001b82: d114 bne.n 8001bae <HAL_RCCEx_PeriphCLKConfig+0x1aa>
+ 8001b24: 4b16 ldr r3, [pc, #88] ; (8001b80 <HAL_RCCEx_PeriphCLKConfig+0x1d0>)
+ 8001b26: 6f1b ldr r3, [r3, #112] ; 0x70
+ 8001b28: f003 0301 and.w r3, r3, #1
+ 8001b2c: 2b01 cmp r3, #1
+ 8001b2e: d114 bne.n 8001b5a <HAL_RCCEx_PeriphCLKConfig+0x1aa>
{
/* Get Start Tick*/
tickstart = HAL_GetTick();
- 8001b84: f7ff f814 bl 8000bb0 <HAL_GetTick>
- 8001b88: 6178 str r0, [r7, #20]
+ 8001b30: f7ff f814 bl 8000b5c <HAL_GetTick>
+ 8001b34: 6178 str r0, [r7, #20]
/* Wait till LSE is ready */
while(__HAL_RCC_GET_FLAG(RCC_FLAG_LSERDY) == RESET)
- 8001b8a: e00a b.n 8001ba2 <HAL_RCCEx_PeriphCLKConfig+0x19e>
+ 8001b36: e00a b.n 8001b4e <HAL_RCCEx_PeriphCLKConfig+0x19e>
{
if((HAL_GetTick() - tickstart ) > RCC_LSE_TIMEOUT_VALUE)
- 8001b8c: f7ff f810 bl 8000bb0 <HAL_GetTick>
- 8001b90: 4602 mov r2, r0
- 8001b92: 697b ldr r3, [r7, #20]
- 8001b94: 1ad3 subs r3, r2, r3
- 8001b96: f241 3288 movw r2, #5000 ; 0x1388
- 8001b9a: 4293 cmp r3, r2
- 8001b9c: d901 bls.n 8001ba2 <HAL_RCCEx_PeriphCLKConfig+0x19e>
+ 8001b38: f7ff f810 bl 8000b5c <HAL_GetTick>
+ 8001b3c: 4602 mov r2, r0
+ 8001b3e: 697b ldr r3, [r7, #20]
+ 8001b40: 1ad3 subs r3, r2, r3
+ 8001b42: f241 3288 movw r2, #5000 ; 0x1388
+ 8001b46: 4293 cmp r3, r2
+ 8001b48: d901 bls.n 8001b4e <HAL_RCCEx_PeriphCLKConfig+0x19e>
{
return HAL_TIMEOUT;
- 8001b9e: 2303 movs r3, #3
- 8001ba0: e34f b.n 8002242 <HAL_RCCEx_PeriphCLKConfig+0x83e>
+ 8001b4a: 2303 movs r3, #3
+ 8001b4c: e34f b.n 80021ee <HAL_RCCEx_PeriphCLKConfig+0x83e>
while(__HAL_RCC_GET_FLAG(RCC_FLAG_LSERDY) == RESET)
- 8001ba2: 4b0c ldr r3, [pc, #48] ; (8001bd4 <HAL_RCCEx_PeriphCLKConfig+0x1d0>)
- 8001ba4: 6f1b ldr r3, [r3, #112] ; 0x70
- 8001ba6: f003 0302 and.w r3, r3, #2
- 8001baa: 2b00 cmp r3, #0
- 8001bac: d0ee beq.n 8001b8c <HAL_RCCEx_PeriphCLKConfig+0x188>
+ 8001b4e: 4b0c ldr r3, [pc, #48] ; (8001b80 <HAL_RCCEx_PeriphCLKConfig+0x1d0>)
+ 8001b50: 6f1b ldr r3, [r3, #112] ; 0x70
+ 8001b52: f003 0302 and.w r3, r3, #2
+ 8001b56: 2b00 cmp r3, #0
+ 8001b58: d0ee beq.n 8001b38 <HAL_RCCEx_PeriphCLKConfig+0x188>
}
}
}
}
__HAL_RCC_RTC_CONFIG(PeriphClkInit->RTCClockSelection);
- 8001bae: 687b ldr r3, [r7, #4]
- 8001bb0: 6b1b ldr r3, [r3, #48] ; 0x30
- 8001bb2: f403 7340 and.w r3, r3, #768 ; 0x300
- 8001bb6: f5b3 7f40 cmp.w r3, #768 ; 0x300
- 8001bba: d111 bne.n 8001be0 <HAL_RCCEx_PeriphCLKConfig+0x1dc>
- 8001bbc: 4b05 ldr r3, [pc, #20] ; (8001bd4 <HAL_RCCEx_PeriphCLKConfig+0x1d0>)
- 8001bbe: 689b ldr r3, [r3, #8]
- 8001bc0: f423 12f8 bic.w r2, r3, #2031616 ; 0x1f0000
- 8001bc4: 687b ldr r3, [r7, #4]
- 8001bc6: 6b19 ldr r1, [r3, #48] ; 0x30
- 8001bc8: 4b04 ldr r3, [pc, #16] ; (8001bdc <HAL_RCCEx_PeriphCLKConfig+0x1d8>)
- 8001bca: 400b ands r3, r1
- 8001bcc: 4901 ldr r1, [pc, #4] ; (8001bd4 <HAL_RCCEx_PeriphCLKConfig+0x1d0>)
- 8001bce: 4313 orrs r3, r2
- 8001bd0: 608b str r3, [r1, #8]
- 8001bd2: e00b b.n 8001bec <HAL_RCCEx_PeriphCLKConfig+0x1e8>
- 8001bd4: 40023800 .word 0x40023800
- 8001bd8: 40007000 .word 0x40007000
- 8001bdc: 0ffffcff .word 0x0ffffcff
- 8001be0: 4bb3 ldr r3, [pc, #716] ; (8001eb0 <HAL_RCCEx_PeriphCLKConfig+0x4ac>)
- 8001be2: 689b ldr r3, [r3, #8]
- 8001be4: 4ab2 ldr r2, [pc, #712] ; (8001eb0 <HAL_RCCEx_PeriphCLKConfig+0x4ac>)
- 8001be6: f423 13f8 bic.w r3, r3, #2031616 ; 0x1f0000
- 8001bea: 6093 str r3, [r2, #8]
- 8001bec: 4bb0 ldr r3, [pc, #704] ; (8001eb0 <HAL_RCCEx_PeriphCLKConfig+0x4ac>)
- 8001bee: 6f1a ldr r2, [r3, #112] ; 0x70
- 8001bf0: 687b ldr r3, [r7, #4]
- 8001bf2: 6b1b ldr r3, [r3, #48] ; 0x30
- 8001bf4: f3c3 030b ubfx r3, r3, #0, #12
- 8001bf8: 49ad ldr r1, [pc, #692] ; (8001eb0 <HAL_RCCEx_PeriphCLKConfig+0x4ac>)
- 8001bfa: 4313 orrs r3, r2
- 8001bfc: 670b str r3, [r1, #112] ; 0x70
+ 8001b5a: 687b ldr r3, [r7, #4]
+ 8001b5c: 6b1b ldr r3, [r3, #48] ; 0x30
+ 8001b5e: f403 7340 and.w r3, r3, #768 ; 0x300
+ 8001b62: f5b3 7f40 cmp.w r3, #768 ; 0x300
+ 8001b66: d111 bne.n 8001b8c <HAL_RCCEx_PeriphCLKConfig+0x1dc>
+ 8001b68: 4b05 ldr r3, [pc, #20] ; (8001b80 <HAL_RCCEx_PeriphCLKConfig+0x1d0>)
+ 8001b6a: 689b ldr r3, [r3, #8]
+ 8001b6c: f423 12f8 bic.w r2, r3, #2031616 ; 0x1f0000
+ 8001b70: 687b ldr r3, [r7, #4]
+ 8001b72: 6b19 ldr r1, [r3, #48] ; 0x30
+ 8001b74: 4b04 ldr r3, [pc, #16] ; (8001b88 <HAL_RCCEx_PeriphCLKConfig+0x1d8>)
+ 8001b76: 400b ands r3, r1
+ 8001b78: 4901 ldr r1, [pc, #4] ; (8001b80 <HAL_RCCEx_PeriphCLKConfig+0x1d0>)
+ 8001b7a: 4313 orrs r3, r2
+ 8001b7c: 608b str r3, [r1, #8]
+ 8001b7e: e00b b.n 8001b98 <HAL_RCCEx_PeriphCLKConfig+0x1e8>
+ 8001b80: 40023800 .word 0x40023800
+ 8001b84: 40007000 .word 0x40007000
+ 8001b88: 0ffffcff .word 0x0ffffcff
+ 8001b8c: 4bb3 ldr r3, [pc, #716] ; (8001e5c <HAL_RCCEx_PeriphCLKConfig+0x4ac>)
+ 8001b8e: 689b ldr r3, [r3, #8]
+ 8001b90: 4ab2 ldr r2, [pc, #712] ; (8001e5c <HAL_RCCEx_PeriphCLKConfig+0x4ac>)
+ 8001b92: f423 13f8 bic.w r3, r3, #2031616 ; 0x1f0000
+ 8001b96: 6093 str r3, [r2, #8]
+ 8001b98: 4bb0 ldr r3, [pc, #704] ; (8001e5c <HAL_RCCEx_PeriphCLKConfig+0x4ac>)
+ 8001b9a: 6f1a ldr r2, [r3, #112] ; 0x70
+ 8001b9c: 687b ldr r3, [r7, #4]
+ 8001b9e: 6b1b ldr r3, [r3, #48] ; 0x30
+ 8001ba0: f3c3 030b ubfx r3, r3, #0, #12
+ 8001ba4: 49ad ldr r1, [pc, #692] ; (8001e5c <HAL_RCCEx_PeriphCLKConfig+0x4ac>)
+ 8001ba6: 4313 orrs r3, r2
+ 8001ba8: 670b str r3, [r1, #112] ; 0x70
}
/*------------------------------------ TIM configuration --------------------------------------*/
if(((PeriphClkInit->PeriphClockSelection) & RCC_PERIPHCLK_TIM) == (RCC_PERIPHCLK_TIM))
- 8001bfe: 687b ldr r3, [r7, #4]
- 8001c00: 681b ldr r3, [r3, #0]
- 8001c02: f003 0310 and.w r3, r3, #16
- 8001c06: 2b00 cmp r3, #0
- 8001c08: d010 beq.n 8001c2c <HAL_RCCEx_PeriphCLKConfig+0x228>
+ 8001baa: 687b ldr r3, [r7, #4]
+ 8001bac: 681b ldr r3, [r3, #0]
+ 8001bae: f003 0310 and.w r3, r3, #16
+ 8001bb2: 2b00 cmp r3, #0
+ 8001bb4: d010 beq.n 8001bd8 <HAL_RCCEx_PeriphCLKConfig+0x228>
{
/* Check the parameters */
assert_param(IS_RCC_TIMPRES(PeriphClkInit->TIMPresSelection));
/* Configure Timer Prescaler */
__HAL_RCC_TIMCLKPRESCALER(PeriphClkInit->TIMPresSelection);
- 8001c0a: 4ba9 ldr r3, [pc, #676] ; (8001eb0 <HAL_RCCEx_PeriphCLKConfig+0x4ac>)
- 8001c0c: f8d3 308c ldr.w r3, [r3, #140] ; 0x8c
- 8001c10: 4aa7 ldr r2, [pc, #668] ; (8001eb0 <HAL_RCCEx_PeriphCLKConfig+0x4ac>)
- 8001c12: f023 7380 bic.w r3, r3, #16777216 ; 0x1000000
- 8001c16: f8c2 308c str.w r3, [r2, #140] ; 0x8c
- 8001c1a: 4ba5 ldr r3, [pc, #660] ; (8001eb0 <HAL_RCCEx_PeriphCLKConfig+0x4ac>)
- 8001c1c: f8d3 208c ldr.w r2, [r3, #140] ; 0x8c
- 8001c20: 687b ldr r3, [r7, #4]
- 8001c22: 6b9b ldr r3, [r3, #56] ; 0x38
- 8001c24: 49a2 ldr r1, [pc, #648] ; (8001eb0 <HAL_RCCEx_PeriphCLKConfig+0x4ac>)
- 8001c26: 4313 orrs r3, r2
- 8001c28: f8c1 308c str.w r3, [r1, #140] ; 0x8c
+ 8001bb6: 4ba9 ldr r3, [pc, #676] ; (8001e5c <HAL_RCCEx_PeriphCLKConfig+0x4ac>)
+ 8001bb8: f8d3 308c ldr.w r3, [r3, #140] ; 0x8c
+ 8001bbc: 4aa7 ldr r2, [pc, #668] ; (8001e5c <HAL_RCCEx_PeriphCLKConfig+0x4ac>)
+ 8001bbe: f023 7380 bic.w r3, r3, #16777216 ; 0x1000000
+ 8001bc2: f8c2 308c str.w r3, [r2, #140] ; 0x8c
+ 8001bc6: 4ba5 ldr r3, [pc, #660] ; (8001e5c <HAL_RCCEx_PeriphCLKConfig+0x4ac>)
+ 8001bc8: f8d3 208c ldr.w r2, [r3, #140] ; 0x8c
+ 8001bcc: 687b ldr r3, [r7, #4]
+ 8001bce: 6b9b ldr r3, [r3, #56] ; 0x38
+ 8001bd0: 49a2 ldr r1, [pc, #648] ; (8001e5c <HAL_RCCEx_PeriphCLKConfig+0x4ac>)
+ 8001bd2: 4313 orrs r3, r2
+ 8001bd4: f8c1 308c str.w r3, [r1, #140] ; 0x8c
}
/*-------------------------------------- I2C1 Configuration -----------------------------------*/
if(((PeriphClkInit->PeriphClockSelection) & RCC_PERIPHCLK_I2C1) == RCC_PERIPHCLK_I2C1)
- 8001c2c: 687b ldr r3, [r7, #4]
- 8001c2e: 681b ldr r3, [r3, #0]
- 8001c30: f403 4380 and.w r3, r3, #16384 ; 0x4000
- 8001c34: 2b00 cmp r3, #0
- 8001c36: d00a beq.n 8001c4e <HAL_RCCEx_PeriphCLKConfig+0x24a>
+ 8001bd8: 687b ldr r3, [r7, #4]
+ 8001bda: 681b ldr r3, [r3, #0]
+ 8001bdc: f403 4380 and.w r3, r3, #16384 ; 0x4000
+ 8001be0: 2b00 cmp r3, #0
+ 8001be2: d00a beq.n 8001bfa <HAL_RCCEx_PeriphCLKConfig+0x24a>
{
/* Check the parameters */
assert_param(IS_RCC_I2C1CLKSOURCE(PeriphClkInit->I2c1ClockSelection));
/* Configure the I2C1 clock source */
__HAL_RCC_I2C1_CONFIG(PeriphClkInit->I2c1ClockSelection);
- 8001c38: 4b9d ldr r3, [pc, #628] ; (8001eb0 <HAL_RCCEx_PeriphCLKConfig+0x4ac>)
- 8001c3a: f8d3 3090 ldr.w r3, [r3, #144] ; 0x90
- 8001c3e: f423 3240 bic.w r2, r3, #196608 ; 0x30000
- 8001c42: 687b ldr r3, [r7, #4]
- 8001c44: 6e5b ldr r3, [r3, #100] ; 0x64
- 8001c46: 499a ldr r1, [pc, #616] ; (8001eb0 <HAL_RCCEx_PeriphCLKConfig+0x4ac>)
- 8001c48: 4313 orrs r3, r2
- 8001c4a: f8c1 3090 str.w r3, [r1, #144] ; 0x90
+ 8001be4: 4b9d ldr r3, [pc, #628] ; (8001e5c <HAL_RCCEx_PeriphCLKConfig+0x4ac>)
+ 8001be6: f8d3 3090 ldr.w r3, [r3, #144] ; 0x90
+ 8001bea: f423 3240 bic.w r2, r3, #196608 ; 0x30000
+ 8001bee: 687b ldr r3, [r7, #4]
+ 8001bf0: 6e5b ldr r3, [r3, #100] ; 0x64
+ 8001bf2: 499a ldr r1, [pc, #616] ; (8001e5c <HAL_RCCEx_PeriphCLKConfig+0x4ac>)
+ 8001bf4: 4313 orrs r3, r2
+ 8001bf6: f8c1 3090 str.w r3, [r1, #144] ; 0x90
}
/*-------------------------------------- I2C2 Configuration -----------------------------------*/
if(((PeriphClkInit->PeriphClockSelection) & RCC_PERIPHCLK_I2C2) == RCC_PERIPHCLK_I2C2)
- 8001c4e: 687b ldr r3, [r7, #4]
- 8001c50: 681b ldr r3, [r3, #0]
- 8001c52: f403 4300 and.w r3, r3, #32768 ; 0x8000
- 8001c56: 2b00 cmp r3, #0
- 8001c58: d00a beq.n 8001c70 <HAL_RCCEx_PeriphCLKConfig+0x26c>
+ 8001bfa: 687b ldr r3, [r7, #4]
+ 8001bfc: 681b ldr r3, [r3, #0]
+ 8001bfe: f403 4300 and.w r3, r3, #32768 ; 0x8000
+ 8001c02: 2b00 cmp r3, #0
+ 8001c04: d00a beq.n 8001c1c <HAL_RCCEx_PeriphCLKConfig+0x26c>
{
/* Check the parameters */
assert_param(IS_RCC_I2C2CLKSOURCE(PeriphClkInit->I2c2ClockSelection));
/* Configure the I2C2 clock source */
__HAL_RCC_I2C2_CONFIG(PeriphClkInit->I2c2ClockSelection);
- 8001c5a: 4b95 ldr r3, [pc, #596] ; (8001eb0 <HAL_RCCEx_PeriphCLKConfig+0x4ac>)
- 8001c5c: f8d3 3090 ldr.w r3, [r3, #144] ; 0x90
- 8001c60: f423 2240 bic.w r2, r3, #786432 ; 0xc0000
- 8001c64: 687b ldr r3, [r7, #4]
- 8001c66: 6e9b ldr r3, [r3, #104] ; 0x68
- 8001c68: 4991 ldr r1, [pc, #580] ; (8001eb0 <HAL_RCCEx_PeriphCLKConfig+0x4ac>)
- 8001c6a: 4313 orrs r3, r2
- 8001c6c: f8c1 3090 str.w r3, [r1, #144] ; 0x90
+ 8001c06: 4b95 ldr r3, [pc, #596] ; (8001e5c <HAL_RCCEx_PeriphCLKConfig+0x4ac>)
+ 8001c08: f8d3 3090 ldr.w r3, [r3, #144] ; 0x90
+ 8001c0c: f423 2240 bic.w r2, r3, #786432 ; 0xc0000
+ 8001c10: 687b ldr r3, [r7, #4]
+ 8001c12: 6e9b ldr r3, [r3, #104] ; 0x68
+ 8001c14: 4991 ldr r1, [pc, #580] ; (8001e5c <HAL_RCCEx_PeriphCLKConfig+0x4ac>)
+ 8001c16: 4313 orrs r3, r2
+ 8001c18: f8c1 3090 str.w r3, [r1, #144] ; 0x90
}
/*-------------------------------------- I2C3 Configuration -----------------------------------*/
if(((PeriphClkInit->PeriphClockSelection) & RCC_PERIPHCLK_I2C3) == RCC_PERIPHCLK_I2C3)
- 8001c70: 687b ldr r3, [r7, #4]
- 8001c72: 681b ldr r3, [r3, #0]
- 8001c74: f403 3380 and.w r3, r3, #65536 ; 0x10000
- 8001c78: 2b00 cmp r3, #0
- 8001c7a: d00a beq.n 8001c92 <HAL_RCCEx_PeriphCLKConfig+0x28e>
+ 8001c1c: 687b ldr r3, [r7, #4]
+ 8001c1e: 681b ldr r3, [r3, #0]
+ 8001c20: f403 3380 and.w r3, r3, #65536 ; 0x10000
+ 8001c24: 2b00 cmp r3, #0
+ 8001c26: d00a beq.n 8001c3e <HAL_RCCEx_PeriphCLKConfig+0x28e>
{
/* Check the parameters */
assert_param(IS_RCC_I2C3CLKSOURCE(PeriphClkInit->I2c3ClockSelection));
/* Configure the I2C3 clock source */
__HAL_RCC_I2C3_CONFIG(PeriphClkInit->I2c3ClockSelection);
- 8001c7c: 4b8c ldr r3, [pc, #560] ; (8001eb0 <HAL_RCCEx_PeriphCLKConfig+0x4ac>)
- 8001c7e: f8d3 3090 ldr.w r3, [r3, #144] ; 0x90
- 8001c82: f423 1240 bic.w r2, r3, #3145728 ; 0x300000
- 8001c86: 687b ldr r3, [r7, #4]
- 8001c88: 6edb ldr r3, [r3, #108] ; 0x6c
- 8001c8a: 4989 ldr r1, [pc, #548] ; (8001eb0 <HAL_RCCEx_PeriphCLKConfig+0x4ac>)
- 8001c8c: 4313 orrs r3, r2
- 8001c8e: f8c1 3090 str.w r3, [r1, #144] ; 0x90
+ 8001c28: 4b8c ldr r3, [pc, #560] ; (8001e5c <HAL_RCCEx_PeriphCLKConfig+0x4ac>)
+ 8001c2a: f8d3 3090 ldr.w r3, [r3, #144] ; 0x90
+ 8001c2e: f423 1240 bic.w r2, r3, #3145728 ; 0x300000
+ 8001c32: 687b ldr r3, [r7, #4]
+ 8001c34: 6edb ldr r3, [r3, #108] ; 0x6c
+ 8001c36: 4989 ldr r1, [pc, #548] ; (8001e5c <HAL_RCCEx_PeriphCLKConfig+0x4ac>)
+ 8001c38: 4313 orrs r3, r2
+ 8001c3a: f8c1 3090 str.w r3, [r1, #144] ; 0x90
}
/*-------------------------------------- I2C4 Configuration -----------------------------------*/
if(((PeriphClkInit->PeriphClockSelection) & RCC_PERIPHCLK_I2C4) == RCC_PERIPHCLK_I2C4)
- 8001c92: 687b ldr r3, [r7, #4]
- 8001c94: 681b ldr r3, [r3, #0]
- 8001c96: f403 3300 and.w r3, r3, #131072 ; 0x20000
- 8001c9a: 2b00 cmp r3, #0
- 8001c9c: d00a beq.n 8001cb4 <HAL_RCCEx_PeriphCLKConfig+0x2b0>
+ 8001c3e: 687b ldr r3, [r7, #4]
+ 8001c40: 681b ldr r3, [r3, #0]
+ 8001c42: f403 3300 and.w r3, r3, #131072 ; 0x20000
+ 8001c46: 2b00 cmp r3, #0
+ 8001c48: d00a beq.n 8001c60 <HAL_RCCEx_PeriphCLKConfig+0x2b0>
{
/* Check the parameters */
assert_param(IS_RCC_I2C4CLKSOURCE(PeriphClkInit->I2c4ClockSelection));
/* Configure the I2C4 clock source */
__HAL_RCC_I2C4_CONFIG(PeriphClkInit->I2c4ClockSelection);
- 8001c9e: 4b84 ldr r3, [pc, #528] ; (8001eb0 <HAL_RCCEx_PeriphCLKConfig+0x4ac>)
- 8001ca0: f8d3 3090 ldr.w r3, [r3, #144] ; 0x90
- 8001ca4: f423 0240 bic.w r2, r3, #12582912 ; 0xc00000
- 8001ca8: 687b ldr r3, [r7, #4]
- 8001caa: 6f1b ldr r3, [r3, #112] ; 0x70
- 8001cac: 4980 ldr r1, [pc, #512] ; (8001eb0 <HAL_RCCEx_PeriphCLKConfig+0x4ac>)
- 8001cae: 4313 orrs r3, r2
- 8001cb0: f8c1 3090 str.w r3, [r1, #144] ; 0x90
+ 8001c4a: 4b84 ldr r3, [pc, #528] ; (8001e5c <HAL_RCCEx_PeriphCLKConfig+0x4ac>)
+ 8001c4c: f8d3 3090 ldr.w r3, [r3, #144] ; 0x90
+ 8001c50: f423 0240 bic.w r2, r3, #12582912 ; 0xc00000
+ 8001c54: 687b ldr r3, [r7, #4]
+ 8001c56: 6f1b ldr r3, [r3, #112] ; 0x70
+ 8001c58: 4980 ldr r1, [pc, #512] ; (8001e5c <HAL_RCCEx_PeriphCLKConfig+0x4ac>)
+ 8001c5a: 4313 orrs r3, r2
+ 8001c5c: f8c1 3090 str.w r3, [r1, #144] ; 0x90
}
/*-------------------------------------- USART1 Configuration -----------------------------------*/
if(((PeriphClkInit->PeriphClockSelection) & RCC_PERIPHCLK_USART1) == RCC_PERIPHCLK_USART1)
- 8001cb4: 687b ldr r3, [r7, #4]
- 8001cb6: 681b ldr r3, [r3, #0]
- 8001cb8: f003 0340 and.w r3, r3, #64 ; 0x40
- 8001cbc: 2b00 cmp r3, #0
- 8001cbe: d00a beq.n 8001cd6 <HAL_RCCEx_PeriphCLKConfig+0x2d2>
+ 8001c60: 687b ldr r3, [r7, #4]
+ 8001c62: 681b ldr r3, [r3, #0]
+ 8001c64: f003 0340 and.w r3, r3, #64 ; 0x40
+ 8001c68: 2b00 cmp r3, #0
+ 8001c6a: d00a beq.n 8001c82 <HAL_RCCEx_PeriphCLKConfig+0x2d2>
{
/* Check the parameters */
assert_param(IS_RCC_USART1CLKSOURCE(PeriphClkInit->Usart1ClockSelection));
/* Configure the USART1 clock source */
__HAL_RCC_USART1_CONFIG(PeriphClkInit->Usart1ClockSelection);
- 8001cc0: 4b7b ldr r3, [pc, #492] ; (8001eb0 <HAL_RCCEx_PeriphCLKConfig+0x4ac>)
- 8001cc2: f8d3 3090 ldr.w r3, [r3, #144] ; 0x90
- 8001cc6: f023 0203 bic.w r2, r3, #3
- 8001cca: 687b ldr r3, [r7, #4]
- 8001ccc: 6c5b ldr r3, [r3, #68] ; 0x44
- 8001cce: 4978 ldr r1, [pc, #480] ; (8001eb0 <HAL_RCCEx_PeriphCLKConfig+0x4ac>)
- 8001cd0: 4313 orrs r3, r2
- 8001cd2: f8c1 3090 str.w r3, [r1, #144] ; 0x90
+ 8001c6c: 4b7b ldr r3, [pc, #492] ; (8001e5c <HAL_RCCEx_PeriphCLKConfig+0x4ac>)
+ 8001c6e: f8d3 3090 ldr.w r3, [r3, #144] ; 0x90
+ 8001c72: f023 0203 bic.w r2, r3, #3
+ 8001c76: 687b ldr r3, [r7, #4]
+ 8001c78: 6c5b ldr r3, [r3, #68] ; 0x44
+ 8001c7a: 4978 ldr r1, [pc, #480] ; (8001e5c <HAL_RCCEx_PeriphCLKConfig+0x4ac>)
+ 8001c7c: 4313 orrs r3, r2
+ 8001c7e: f8c1 3090 str.w r3, [r1, #144] ; 0x90
}
/*-------------------------------------- USART2 Configuration -----------------------------------*/
if(((PeriphClkInit->PeriphClockSelection) & RCC_PERIPHCLK_USART2) == RCC_PERIPHCLK_USART2)
- 8001cd6: 687b ldr r3, [r7, #4]
- 8001cd8: 681b ldr r3, [r3, #0]
- 8001cda: f003 0380 and.w r3, r3, #128 ; 0x80
- 8001cde: 2b00 cmp r3, #0
- 8001ce0: d00a beq.n 8001cf8 <HAL_RCCEx_PeriphCLKConfig+0x2f4>
+ 8001c82: 687b ldr r3, [r7, #4]
+ 8001c84: 681b ldr r3, [r3, #0]
+ 8001c86: f003 0380 and.w r3, r3, #128 ; 0x80
+ 8001c8a: 2b00 cmp r3, #0
+ 8001c8c: d00a beq.n 8001ca4 <HAL_RCCEx_PeriphCLKConfig+0x2f4>
{
/* Check the parameters */
assert_param(IS_RCC_USART2CLKSOURCE(PeriphClkInit->Usart2ClockSelection));
/* Configure the USART2 clock source */
__HAL_RCC_USART2_CONFIG(PeriphClkInit->Usart2ClockSelection);
- 8001ce2: 4b73 ldr r3, [pc, #460] ; (8001eb0 <HAL_RCCEx_PeriphCLKConfig+0x4ac>)
- 8001ce4: f8d3 3090 ldr.w r3, [r3, #144] ; 0x90
- 8001ce8: f023 020c bic.w r2, r3, #12
- 8001cec: 687b ldr r3, [r7, #4]
- 8001cee: 6c9b ldr r3, [r3, #72] ; 0x48
- 8001cf0: 496f ldr r1, [pc, #444] ; (8001eb0 <HAL_RCCEx_PeriphCLKConfig+0x4ac>)
- 8001cf2: 4313 orrs r3, r2
- 8001cf4: f8c1 3090 str.w r3, [r1, #144] ; 0x90
+ 8001c8e: 4b73 ldr r3, [pc, #460] ; (8001e5c <HAL_RCCEx_PeriphCLKConfig+0x4ac>)
+ 8001c90: f8d3 3090 ldr.w r3, [r3, #144] ; 0x90
+ 8001c94: f023 020c bic.w r2, r3, #12
+ 8001c98: 687b ldr r3, [r7, #4]
+ 8001c9a: 6c9b ldr r3, [r3, #72] ; 0x48
+ 8001c9c: 496f ldr r1, [pc, #444] ; (8001e5c <HAL_RCCEx_PeriphCLKConfig+0x4ac>)
+ 8001c9e: 4313 orrs r3, r2
+ 8001ca0: f8c1 3090 str.w r3, [r1, #144] ; 0x90
}
/*-------------------------------------- USART3 Configuration -----------------------------------*/
if(((PeriphClkInit->PeriphClockSelection) & RCC_PERIPHCLK_USART3) == RCC_PERIPHCLK_USART3)
- 8001cf8: 687b ldr r3, [r7, #4]
- 8001cfa: 681b ldr r3, [r3, #0]
- 8001cfc: f403 7380 and.w r3, r3, #256 ; 0x100
- 8001d00: 2b00 cmp r3, #0
- 8001d02: d00a beq.n 8001d1a <HAL_RCCEx_PeriphCLKConfig+0x316>
+ 8001ca4: 687b ldr r3, [r7, #4]
+ 8001ca6: 681b ldr r3, [r3, #0]
+ 8001ca8: f403 7380 and.w r3, r3, #256 ; 0x100
+ 8001cac: 2b00 cmp r3, #0
+ 8001cae: d00a beq.n 8001cc6 <HAL_RCCEx_PeriphCLKConfig+0x316>
{
/* Check the parameters */
assert_param(IS_RCC_USART3CLKSOURCE(PeriphClkInit->Usart3ClockSelection));
/* Configure the USART3 clock source */
__HAL_RCC_USART3_CONFIG(PeriphClkInit->Usart3ClockSelection);
- 8001d04: 4b6a ldr r3, [pc, #424] ; (8001eb0 <HAL_RCCEx_PeriphCLKConfig+0x4ac>)
- 8001d06: f8d3 3090 ldr.w r3, [r3, #144] ; 0x90
- 8001d0a: f023 0230 bic.w r2, r3, #48 ; 0x30
- 8001d0e: 687b ldr r3, [r7, #4]
- 8001d10: 6cdb ldr r3, [r3, #76] ; 0x4c
- 8001d12: 4967 ldr r1, [pc, #412] ; (8001eb0 <HAL_RCCEx_PeriphCLKConfig+0x4ac>)
- 8001d14: 4313 orrs r3, r2
- 8001d16: f8c1 3090 str.w r3, [r1, #144] ; 0x90
+ 8001cb0: 4b6a ldr r3, [pc, #424] ; (8001e5c <HAL_RCCEx_PeriphCLKConfig+0x4ac>)
+ 8001cb2: f8d3 3090 ldr.w r3, [r3, #144] ; 0x90
+ 8001cb6: f023 0230 bic.w r2, r3, #48 ; 0x30
+ 8001cba: 687b ldr r3, [r7, #4]
+ 8001cbc: 6cdb ldr r3, [r3, #76] ; 0x4c
+ 8001cbe: 4967 ldr r1, [pc, #412] ; (8001e5c <HAL_RCCEx_PeriphCLKConfig+0x4ac>)
+ 8001cc0: 4313 orrs r3, r2
+ 8001cc2: f8c1 3090 str.w r3, [r1, #144] ; 0x90
}
/*-------------------------------------- UART4 Configuration -----------------------------------*/
if(((PeriphClkInit->PeriphClockSelection) & RCC_PERIPHCLK_UART4) == RCC_PERIPHCLK_UART4)
- 8001d1a: 687b ldr r3, [r7, #4]
- 8001d1c: 681b ldr r3, [r3, #0]
- 8001d1e: f403 7300 and.w r3, r3, #512 ; 0x200
- 8001d22: 2b00 cmp r3, #0
- 8001d24: d00a beq.n 8001d3c <HAL_RCCEx_PeriphCLKConfig+0x338>
+ 8001cc6: 687b ldr r3, [r7, #4]
+ 8001cc8: 681b ldr r3, [r3, #0]
+ 8001cca: f403 7300 and.w r3, r3, #512 ; 0x200
+ 8001cce: 2b00 cmp r3, #0
+ 8001cd0: d00a beq.n 8001ce8 <HAL_RCCEx_PeriphCLKConfig+0x338>
{
/* Check the parameters */
assert_param(IS_RCC_UART4CLKSOURCE(PeriphClkInit->Uart4ClockSelection));
/* Configure the UART4 clock source */
__HAL_RCC_UART4_CONFIG(PeriphClkInit->Uart4ClockSelection);
- 8001d26: 4b62 ldr r3, [pc, #392] ; (8001eb0 <HAL_RCCEx_PeriphCLKConfig+0x4ac>)
- 8001d28: f8d3 3090 ldr.w r3, [r3, #144] ; 0x90
- 8001d2c: f023 02c0 bic.w r2, r3, #192 ; 0xc0
- 8001d30: 687b ldr r3, [r7, #4]
- 8001d32: 6d1b ldr r3, [r3, #80] ; 0x50
- 8001d34: 495e ldr r1, [pc, #376] ; (8001eb0 <HAL_RCCEx_PeriphCLKConfig+0x4ac>)
- 8001d36: 4313 orrs r3, r2
- 8001d38: f8c1 3090 str.w r3, [r1, #144] ; 0x90
+ 8001cd2: 4b62 ldr r3, [pc, #392] ; (8001e5c <HAL_RCCEx_PeriphCLKConfig+0x4ac>)
+ 8001cd4: f8d3 3090 ldr.w r3, [r3, #144] ; 0x90
+ 8001cd8: f023 02c0 bic.w r2, r3, #192 ; 0xc0
+ 8001cdc: 687b ldr r3, [r7, #4]
+ 8001cde: 6d1b ldr r3, [r3, #80] ; 0x50
+ 8001ce0: 495e ldr r1, [pc, #376] ; (8001e5c <HAL_RCCEx_PeriphCLKConfig+0x4ac>)
+ 8001ce2: 4313 orrs r3, r2
+ 8001ce4: f8c1 3090 str.w r3, [r1, #144] ; 0x90
}
/*-------------------------------------- UART5 Configuration -----------------------------------*/
if(((PeriphClkInit->PeriphClockSelection) & RCC_PERIPHCLK_UART5) == RCC_PERIPHCLK_UART5)
- 8001d3c: 687b ldr r3, [r7, #4]
- 8001d3e: 681b ldr r3, [r3, #0]
- 8001d40: f403 6380 and.w r3, r3, #1024 ; 0x400
- 8001d44: 2b00 cmp r3, #0
- 8001d46: d00a beq.n 8001d5e <HAL_RCCEx_PeriphCLKConfig+0x35a>
+ 8001ce8: 687b ldr r3, [r7, #4]
+ 8001cea: 681b ldr r3, [r3, #0]
+ 8001cec: f403 6380 and.w r3, r3, #1024 ; 0x400
+ 8001cf0: 2b00 cmp r3, #0
+ 8001cf2: d00a beq.n 8001d0a <HAL_RCCEx_PeriphCLKConfig+0x35a>
{
/* Check the parameters */
assert_param(IS_RCC_UART5CLKSOURCE(PeriphClkInit->Uart5ClockSelection));
/* Configure the UART5 clock source */
__HAL_RCC_UART5_CONFIG(PeriphClkInit->Uart5ClockSelection);
- 8001d48: 4b59 ldr r3, [pc, #356] ; (8001eb0 <HAL_RCCEx_PeriphCLKConfig+0x4ac>)
- 8001d4a: f8d3 3090 ldr.w r3, [r3, #144] ; 0x90
- 8001d4e: f423 7240 bic.w r2, r3, #768 ; 0x300
- 8001d52: 687b ldr r3, [r7, #4]
- 8001d54: 6d5b ldr r3, [r3, #84] ; 0x54
- 8001d56: 4956 ldr r1, [pc, #344] ; (8001eb0 <HAL_RCCEx_PeriphCLKConfig+0x4ac>)
- 8001d58: 4313 orrs r3, r2
- 8001d5a: f8c1 3090 str.w r3, [r1, #144] ; 0x90
+ 8001cf4: 4b59 ldr r3, [pc, #356] ; (8001e5c <HAL_RCCEx_PeriphCLKConfig+0x4ac>)
+ 8001cf6: f8d3 3090 ldr.w r3, [r3, #144] ; 0x90
+ 8001cfa: f423 7240 bic.w r2, r3, #768 ; 0x300
+ 8001cfe: 687b ldr r3, [r7, #4]
+ 8001d00: 6d5b ldr r3, [r3, #84] ; 0x54
+ 8001d02: 4956 ldr r1, [pc, #344] ; (8001e5c <HAL_RCCEx_PeriphCLKConfig+0x4ac>)
+ 8001d04: 4313 orrs r3, r2
+ 8001d06: f8c1 3090 str.w r3, [r1, #144] ; 0x90
}
/*-------------------------------------- USART6 Configuration -----------------------------------*/
if(((PeriphClkInit->PeriphClockSelection) & RCC_PERIPHCLK_USART6) == RCC_PERIPHCLK_USART6)
- 8001d5e: 687b ldr r3, [r7, #4]
- 8001d60: 681b ldr r3, [r3, #0]
- 8001d62: f403 6300 and.w r3, r3, #2048 ; 0x800
- 8001d66: 2b00 cmp r3, #0
- 8001d68: d00a beq.n 8001d80 <HAL_RCCEx_PeriphCLKConfig+0x37c>
+ 8001d0a: 687b ldr r3, [r7, #4]
+ 8001d0c: 681b ldr r3, [r3, #0]
+ 8001d0e: f403 6300 and.w r3, r3, #2048 ; 0x800
+ 8001d12: 2b00 cmp r3, #0
+ 8001d14: d00a beq.n 8001d2c <HAL_RCCEx_PeriphCLKConfig+0x37c>
{
/* Check the parameters */
assert_param(IS_RCC_USART6CLKSOURCE(PeriphClkInit->Usart6ClockSelection));
/* Configure the USART6 clock source */
__HAL_RCC_USART6_CONFIG(PeriphClkInit->Usart6ClockSelection);
- 8001d6a: 4b51 ldr r3, [pc, #324] ; (8001eb0 <HAL_RCCEx_PeriphCLKConfig+0x4ac>)
- 8001d6c: f8d3 3090 ldr.w r3, [r3, #144] ; 0x90
- 8001d70: f423 6240 bic.w r2, r3, #3072 ; 0xc00
- 8001d74: 687b ldr r3, [r7, #4]
- 8001d76: 6d9b ldr r3, [r3, #88] ; 0x58
- 8001d78: 494d ldr r1, [pc, #308] ; (8001eb0 <HAL_RCCEx_PeriphCLKConfig+0x4ac>)
- 8001d7a: 4313 orrs r3, r2
- 8001d7c: f8c1 3090 str.w r3, [r1, #144] ; 0x90
+ 8001d16: 4b51 ldr r3, [pc, #324] ; (8001e5c <HAL_RCCEx_PeriphCLKConfig+0x4ac>)
+ 8001d18: f8d3 3090 ldr.w r3, [r3, #144] ; 0x90
+ 8001d1c: f423 6240 bic.w r2, r3, #3072 ; 0xc00
+ 8001d20: 687b ldr r3, [r7, #4]
+ 8001d22: 6d9b ldr r3, [r3, #88] ; 0x58
+ 8001d24: 494d ldr r1, [pc, #308] ; (8001e5c <HAL_RCCEx_PeriphCLKConfig+0x4ac>)
+ 8001d26: 4313 orrs r3, r2
+ 8001d28: f8c1 3090 str.w r3, [r1, #144] ; 0x90
}
/*-------------------------------------- UART7 Configuration -----------------------------------*/
if(((PeriphClkInit->PeriphClockSelection) & RCC_PERIPHCLK_UART7) == RCC_PERIPHCLK_UART7)
- 8001d80: 687b ldr r3, [r7, #4]
- 8001d82: 681b ldr r3, [r3, #0]
- 8001d84: f403 5380 and.w r3, r3, #4096 ; 0x1000
- 8001d88: 2b00 cmp r3, #0
- 8001d8a: d00a beq.n 8001da2 <HAL_RCCEx_PeriphCLKConfig+0x39e>
+ 8001d2c: 687b ldr r3, [r7, #4]
+ 8001d2e: 681b ldr r3, [r3, #0]
+ 8001d30: f403 5380 and.w r3, r3, #4096 ; 0x1000
+ 8001d34: 2b00 cmp r3, #0
+ 8001d36: d00a beq.n 8001d4e <HAL_RCCEx_PeriphCLKConfig+0x39e>
{
/* Check the parameters */
assert_param(IS_RCC_UART7CLKSOURCE(PeriphClkInit->Uart7ClockSelection));
/* Configure the UART7 clock source */
__HAL_RCC_UART7_CONFIG(PeriphClkInit->Uart7ClockSelection);
- 8001d8c: 4b48 ldr r3, [pc, #288] ; (8001eb0 <HAL_RCCEx_PeriphCLKConfig+0x4ac>)
- 8001d8e: f8d3 3090 ldr.w r3, [r3, #144] ; 0x90
- 8001d92: f423 5240 bic.w r2, r3, #12288 ; 0x3000
- 8001d96: 687b ldr r3, [r7, #4]
- 8001d98: 6ddb ldr r3, [r3, #92] ; 0x5c
- 8001d9a: 4945 ldr r1, [pc, #276] ; (8001eb0 <HAL_RCCEx_PeriphCLKConfig+0x4ac>)
- 8001d9c: 4313 orrs r3, r2
- 8001d9e: f8c1 3090 str.w r3, [r1, #144] ; 0x90
+ 8001d38: 4b48 ldr r3, [pc, #288] ; (8001e5c <HAL_RCCEx_PeriphCLKConfig+0x4ac>)
+ 8001d3a: f8d3 3090 ldr.w r3, [r3, #144] ; 0x90
+ 8001d3e: f423 5240 bic.w r2, r3, #12288 ; 0x3000
+ 8001d42: 687b ldr r3, [r7, #4]
+ 8001d44: 6ddb ldr r3, [r3, #92] ; 0x5c
+ 8001d46: 4945 ldr r1, [pc, #276] ; (8001e5c <HAL_RCCEx_PeriphCLKConfig+0x4ac>)
+ 8001d48: 4313 orrs r3, r2
+ 8001d4a: f8c1 3090 str.w r3, [r1, #144] ; 0x90
}
/*-------------------------------------- UART8 Configuration -----------------------------------*/
if(((PeriphClkInit->PeriphClockSelection) & RCC_PERIPHCLK_UART8) == RCC_PERIPHCLK_UART8)
- 8001da2: 687b ldr r3, [r7, #4]
- 8001da4: 681b ldr r3, [r3, #0]
- 8001da6: f403 5300 and.w r3, r3, #8192 ; 0x2000
- 8001daa: 2b00 cmp r3, #0
- 8001dac: d00a beq.n 8001dc4 <HAL_RCCEx_PeriphCLKConfig+0x3c0>
+ 8001d4e: 687b ldr r3, [r7, #4]
+ 8001d50: 681b ldr r3, [r3, #0]
+ 8001d52: f403 5300 and.w r3, r3, #8192 ; 0x2000
+ 8001d56: 2b00 cmp r3, #0
+ 8001d58: d00a beq.n 8001d70 <HAL_RCCEx_PeriphCLKConfig+0x3c0>
{
/* Check the parameters */
assert_param(IS_RCC_UART8CLKSOURCE(PeriphClkInit->Uart8ClockSelection));
/* Configure the UART8 clock source */
__HAL_RCC_UART8_CONFIG(PeriphClkInit->Uart8ClockSelection);
- 8001dae: 4b40 ldr r3, [pc, #256] ; (8001eb0 <HAL_RCCEx_PeriphCLKConfig+0x4ac>)
- 8001db0: f8d3 3090 ldr.w r3, [r3, #144] ; 0x90
- 8001db4: f423 4240 bic.w r2, r3, #49152 ; 0xc000
- 8001db8: 687b ldr r3, [r7, #4]
- 8001dba: 6e1b ldr r3, [r3, #96] ; 0x60
- 8001dbc: 493c ldr r1, [pc, #240] ; (8001eb0 <HAL_RCCEx_PeriphCLKConfig+0x4ac>)
- 8001dbe: 4313 orrs r3, r2
- 8001dc0: f8c1 3090 str.w r3, [r1, #144] ; 0x90
+ 8001d5a: 4b40 ldr r3, [pc, #256] ; (8001e5c <HAL_RCCEx_PeriphCLKConfig+0x4ac>)
+ 8001d5c: f8d3 3090 ldr.w r3, [r3, #144] ; 0x90
+ 8001d60: f423 4240 bic.w r2, r3, #49152 ; 0xc000
+ 8001d64: 687b ldr r3, [r7, #4]
+ 8001d66: 6e1b ldr r3, [r3, #96] ; 0x60
+ 8001d68: 493c ldr r1, [pc, #240] ; (8001e5c <HAL_RCCEx_PeriphCLKConfig+0x4ac>)
+ 8001d6a: 4313 orrs r3, r2
+ 8001d6c: f8c1 3090 str.w r3, [r1, #144] ; 0x90
}
/*--------------------------------------- CEC Configuration -----------------------------------*/
if(((PeriphClkInit->PeriphClockSelection) & RCC_PERIPHCLK_CEC) == RCC_PERIPHCLK_CEC)
- 8001dc4: 687b ldr r3, [r7, #4]
- 8001dc6: 681b ldr r3, [r3, #0]
- 8001dc8: f403 0380 and.w r3, r3, #4194304 ; 0x400000
- 8001dcc: 2b00 cmp r3, #0
- 8001dce: d00a beq.n 8001de6 <HAL_RCCEx_PeriphCLKConfig+0x3e2>
+ 8001d70: 687b ldr r3, [r7, #4]
+ 8001d72: 681b ldr r3, [r3, #0]
+ 8001d74: f403 0380 and.w r3, r3, #4194304 ; 0x400000
+ 8001d78: 2b00 cmp r3, #0
+ 8001d7a: d00a beq.n 8001d92 <HAL_RCCEx_PeriphCLKConfig+0x3e2>
{
/* Check the parameters */
assert_param(IS_RCC_CECCLKSOURCE(PeriphClkInit->CecClockSelection));
/* Configure the CEC clock source */
__HAL_RCC_CEC_CONFIG(PeriphClkInit->CecClockSelection);
- 8001dd0: 4b37 ldr r3, [pc, #220] ; (8001eb0 <HAL_RCCEx_PeriphCLKConfig+0x4ac>)
- 8001dd2: f8d3 3090 ldr.w r3, [r3, #144] ; 0x90
- 8001dd6: f023 6280 bic.w r2, r3, #67108864 ; 0x4000000
- 8001dda: 687b ldr r3, [r7, #4]
- 8001ddc: 6f9b ldr r3, [r3, #120] ; 0x78
- 8001dde: 4934 ldr r1, [pc, #208] ; (8001eb0 <HAL_RCCEx_PeriphCLKConfig+0x4ac>)
- 8001de0: 4313 orrs r3, r2
- 8001de2: f8c1 3090 str.w r3, [r1, #144] ; 0x90
+ 8001d7c: 4b37 ldr r3, [pc, #220] ; (8001e5c <HAL_RCCEx_PeriphCLKConfig+0x4ac>)
+ 8001d7e: f8d3 3090 ldr.w r3, [r3, #144] ; 0x90
+ 8001d82: f023 6280 bic.w r2, r3, #67108864 ; 0x4000000
+ 8001d86: 687b ldr r3, [r7, #4]
+ 8001d88: 6f9b ldr r3, [r3, #120] ; 0x78
+ 8001d8a: 4934 ldr r1, [pc, #208] ; (8001e5c <HAL_RCCEx_PeriphCLKConfig+0x4ac>)
+ 8001d8c: 4313 orrs r3, r2
+ 8001d8e: f8c1 3090 str.w r3, [r1, #144] ; 0x90
}
/*-------------------------------------- CK48 Configuration -----------------------------------*/
if(((PeriphClkInit->PeriphClockSelection) & RCC_PERIPHCLK_CLK48) == RCC_PERIPHCLK_CLK48)
- 8001de6: 687b ldr r3, [r7, #4]
- 8001de8: 681b ldr r3, [r3, #0]
- 8001dea: f403 1300 and.w r3, r3, #2097152 ; 0x200000
- 8001dee: 2b00 cmp r3, #0
- 8001df0: d011 beq.n 8001e16 <HAL_RCCEx_PeriphCLKConfig+0x412>
+ 8001d92: 687b ldr r3, [r7, #4]
+ 8001d94: 681b ldr r3, [r3, #0]
+ 8001d96: f403 1300 and.w r3, r3, #2097152 ; 0x200000
+ 8001d9a: 2b00 cmp r3, #0
+ 8001d9c: d011 beq.n 8001dc2 <HAL_RCCEx_PeriphCLKConfig+0x412>
{
/* Check the parameters */
assert_param(IS_RCC_CLK48SOURCE(PeriphClkInit->Clk48ClockSelection));
/* Configure the CLK48 source */
__HAL_RCC_CLK48_CONFIG(PeriphClkInit->Clk48ClockSelection);
- 8001df2: 4b2f ldr r3, [pc, #188] ; (8001eb0 <HAL_RCCEx_PeriphCLKConfig+0x4ac>)
- 8001df4: f8d3 3090 ldr.w r3, [r3, #144] ; 0x90
- 8001df8: f023 6200 bic.w r2, r3, #134217728 ; 0x8000000
- 8001dfc: 687b ldr r3, [r7, #4]
- 8001dfe: 6fdb ldr r3, [r3, #124] ; 0x7c
- 8001e00: 492b ldr r1, [pc, #172] ; (8001eb0 <HAL_RCCEx_PeriphCLKConfig+0x4ac>)
- 8001e02: 4313 orrs r3, r2
- 8001e04: f8c1 3090 str.w r3, [r1, #144] ; 0x90
+ 8001d9e: 4b2f ldr r3, [pc, #188] ; (8001e5c <HAL_RCCEx_PeriphCLKConfig+0x4ac>)
+ 8001da0: f8d3 3090 ldr.w r3, [r3, #144] ; 0x90
+ 8001da4: f023 6200 bic.w r2, r3, #134217728 ; 0x8000000
+ 8001da8: 687b ldr r3, [r7, #4]
+ 8001daa: 6fdb ldr r3, [r3, #124] ; 0x7c
+ 8001dac: 492b ldr r1, [pc, #172] ; (8001e5c <HAL_RCCEx_PeriphCLKConfig+0x4ac>)
+ 8001dae: 4313 orrs r3, r2
+ 8001db0: f8c1 3090 str.w r3, [r1, #144] ; 0x90
/* Enable the PLLSAI when it's used as clock source for CK48 */
if(PeriphClkInit->Clk48ClockSelection == RCC_CLK48SOURCE_PLLSAIP)
- 8001e08: 687b ldr r3, [r7, #4]
- 8001e0a: 6fdb ldr r3, [r3, #124] ; 0x7c
- 8001e0c: f1b3 6f00 cmp.w r3, #134217728 ; 0x8000000
- 8001e10: d101 bne.n 8001e16 <HAL_RCCEx_PeriphCLKConfig+0x412>
+ 8001db4: 687b ldr r3, [r7, #4]
+ 8001db6: 6fdb ldr r3, [r3, #124] ; 0x7c
+ 8001db8: f1b3 6f00 cmp.w r3, #134217728 ; 0x8000000
+ 8001dbc: d101 bne.n 8001dc2 <HAL_RCCEx_PeriphCLKConfig+0x412>
{
pllsaiused = 1;
- 8001e12: 2301 movs r3, #1
- 8001e14: 61bb str r3, [r7, #24]
+ 8001dbe: 2301 movs r3, #1
+ 8001dc0: 61bb str r3, [r7, #24]
}
}
/*-------------------------------------- LTDC Configuration -----------------------------------*/
#if defined(STM32F746xx) || defined(STM32F756xx) || defined (STM32F767xx) || defined (STM32F769xx) || defined (STM32F777xx) || defined (STM32F779xx) || defined (STM32F750xx)
if(((PeriphClkInit->PeriphClockSelection) & RCC_PERIPHCLK_LTDC) == RCC_PERIPHCLK_LTDC)
- 8001e16: 687b ldr r3, [r7, #4]
- 8001e18: 681b ldr r3, [r3, #0]
- 8001e1a: f003 0308 and.w r3, r3, #8
- 8001e1e: 2b00 cmp r3, #0
- 8001e20: d001 beq.n 8001e26 <HAL_RCCEx_PeriphCLKConfig+0x422>
+ 8001dc2: 687b ldr r3, [r7, #4]
+ 8001dc4: 681b ldr r3, [r3, #0]
+ 8001dc6: f003 0308 and.w r3, r3, #8
+ 8001dca: 2b00 cmp r3, #0
+ 8001dcc: d001 beq.n 8001dd2 <HAL_RCCEx_PeriphCLKConfig+0x422>
{
pllsaiused = 1;
- 8001e22: 2301 movs r3, #1
- 8001e24: 61bb str r3, [r7, #24]
+ 8001dce: 2301 movs r3, #1
+ 8001dd0: 61bb str r3, [r7, #24]
}
#endif /* STM32F746xx || STM32F756xx || STM32F767xx || STM32F769xx || STM32F777xx || STM32F779xx || STM32F750xx */
/*-------------------------------------- LPTIM1 Configuration -----------------------------------*/
if(((PeriphClkInit->PeriphClockSelection) & RCC_PERIPHCLK_LPTIM1) == RCC_PERIPHCLK_LPTIM1)
- 8001e26: 687b ldr r3, [r7, #4]
- 8001e28: 681b ldr r3, [r3, #0]
- 8001e2a: f403 2380 and.w r3, r3, #262144 ; 0x40000
- 8001e2e: 2b00 cmp r3, #0
- 8001e30: d00a beq.n 8001e48 <HAL_RCCEx_PeriphCLKConfig+0x444>
+ 8001dd2: 687b ldr r3, [r7, #4]
+ 8001dd4: 681b ldr r3, [r3, #0]
+ 8001dd6: f403 2380 and.w r3, r3, #262144 ; 0x40000
+ 8001dda: 2b00 cmp r3, #0
+ 8001ddc: d00a beq.n 8001df4 <HAL_RCCEx_PeriphCLKConfig+0x444>
{
/* Check the parameters */
assert_param(IS_RCC_LPTIM1CLK(PeriphClkInit->Lptim1ClockSelection));
/* Configure the LTPIM1 clock source */
__HAL_RCC_LPTIM1_CONFIG(PeriphClkInit->Lptim1ClockSelection);
- 8001e32: 4b1f ldr r3, [pc, #124] ; (8001eb0 <HAL_RCCEx_PeriphCLKConfig+0x4ac>)
- 8001e34: f8d3 3090 ldr.w r3, [r3, #144] ; 0x90
- 8001e38: f023 7240 bic.w r2, r3, #50331648 ; 0x3000000
- 8001e3c: 687b ldr r3, [r7, #4]
- 8001e3e: 6f5b ldr r3, [r3, #116] ; 0x74
- 8001e40: 491b ldr r1, [pc, #108] ; (8001eb0 <HAL_RCCEx_PeriphCLKConfig+0x4ac>)
- 8001e42: 4313 orrs r3, r2
- 8001e44: f8c1 3090 str.w r3, [r1, #144] ; 0x90
+ 8001dde: 4b1f ldr r3, [pc, #124] ; (8001e5c <HAL_RCCEx_PeriphCLKConfig+0x4ac>)
+ 8001de0: f8d3 3090 ldr.w r3, [r3, #144] ; 0x90
+ 8001de4: f023 7240 bic.w r2, r3, #50331648 ; 0x3000000
+ 8001de8: 687b ldr r3, [r7, #4]
+ 8001dea: 6f5b ldr r3, [r3, #116] ; 0x74
+ 8001dec: 491b ldr r1, [pc, #108] ; (8001e5c <HAL_RCCEx_PeriphCLKConfig+0x4ac>)
+ 8001dee: 4313 orrs r3, r2
+ 8001df0: f8c1 3090 str.w r3, [r1, #144] ; 0x90
}
/*------------------------------------- SDMMC1 Configuration ------------------------------------*/
if(((PeriphClkInit->PeriphClockSelection) & RCC_PERIPHCLK_SDMMC1) == RCC_PERIPHCLK_SDMMC1)
- 8001e48: 687b ldr r3, [r7, #4]
- 8001e4a: 681b ldr r3, [r3, #0]
- 8001e4c: f403 0300 and.w r3, r3, #8388608 ; 0x800000
- 8001e50: 2b00 cmp r3, #0
- 8001e52: d00b beq.n 8001e6c <HAL_RCCEx_PeriphCLKConfig+0x468>
+ 8001df4: 687b ldr r3, [r7, #4]
+ 8001df6: 681b ldr r3, [r3, #0]
+ 8001df8: f403 0300 and.w r3, r3, #8388608 ; 0x800000
+ 8001dfc: 2b00 cmp r3, #0
+ 8001dfe: d00b beq.n 8001e18 <HAL_RCCEx_PeriphCLKConfig+0x468>
{
/* Check the parameters */
assert_param(IS_RCC_SDMMC1CLKSOURCE(PeriphClkInit->Sdmmc1ClockSelection));
/* Configure the SDMMC1 clock source */
__HAL_RCC_SDMMC1_CONFIG(PeriphClkInit->Sdmmc1ClockSelection);
- 8001e54: 4b16 ldr r3, [pc, #88] ; (8001eb0 <HAL_RCCEx_PeriphCLKConfig+0x4ac>)
- 8001e56: f8d3 3090 ldr.w r3, [r3, #144] ; 0x90
- 8001e5a: f023 5280 bic.w r2, r3, #268435456 ; 0x10000000
- 8001e5e: 687b ldr r3, [r7, #4]
- 8001e60: f8d3 3080 ldr.w r3, [r3, #128] ; 0x80
- 8001e64: 4912 ldr r1, [pc, #72] ; (8001eb0 <HAL_RCCEx_PeriphCLKConfig+0x4ac>)
- 8001e66: 4313 orrs r3, r2
- 8001e68: f8c1 3090 str.w r3, [r1, #144] ; 0x90
+ 8001e00: 4b16 ldr r3, [pc, #88] ; (8001e5c <HAL_RCCEx_PeriphCLKConfig+0x4ac>)
+ 8001e02: f8d3 3090 ldr.w r3, [r3, #144] ; 0x90
+ 8001e06: f023 5280 bic.w r2, r3, #268435456 ; 0x10000000
+ 8001e0a: 687b ldr r3, [r7, #4]
+ 8001e0c: f8d3 3080 ldr.w r3, [r3, #128] ; 0x80
+ 8001e10: 4912 ldr r1, [pc, #72] ; (8001e5c <HAL_RCCEx_PeriphCLKConfig+0x4ac>)
+ 8001e12: 4313 orrs r3, r2
+ 8001e14: f8c1 3090 str.w r3, [r1, #144] ; 0x90
}
#if defined (STM32F765xx) || defined (STM32F767xx) || defined (STM32F769xx) || defined (STM32F777xx) || defined (STM32F779xx)
/*------------------------------------- SDMMC2 Configuration ------------------------------------*/
if(((PeriphClkInit->PeriphClockSelection) & RCC_PERIPHCLK_SDMMC2) == RCC_PERIPHCLK_SDMMC2)
- 8001e6c: 687b ldr r3, [r7, #4]
- 8001e6e: 681b ldr r3, [r3, #0]
- 8001e70: f003 6380 and.w r3, r3, #67108864 ; 0x4000000
- 8001e74: 2b00 cmp r3, #0
- 8001e76: d00b beq.n 8001e90 <HAL_RCCEx_PeriphCLKConfig+0x48c>
+ 8001e18: 687b ldr r3, [r7, #4]
+ 8001e1a: 681b ldr r3, [r3, #0]
+ 8001e1c: f003 6380 and.w r3, r3, #67108864 ; 0x4000000
+ 8001e20: 2b00 cmp r3, #0
+ 8001e22: d00b beq.n 8001e3c <HAL_RCCEx_PeriphCLKConfig+0x48c>
{
/* Check the parameters */
assert_param(IS_RCC_SDMMC2CLKSOURCE(PeriphClkInit->Sdmmc2ClockSelection));
/* Configure the SDMMC2 clock source */
__HAL_RCC_SDMMC2_CONFIG(PeriphClkInit->Sdmmc2ClockSelection);
- 8001e78: 4b0d ldr r3, [pc, #52] ; (8001eb0 <HAL_RCCEx_PeriphCLKConfig+0x4ac>)
- 8001e7a: f8d3 3090 ldr.w r3, [r3, #144] ; 0x90
- 8001e7e: f023 5200 bic.w r2, r3, #536870912 ; 0x20000000
- 8001e82: 687b ldr r3, [r7, #4]
- 8001e84: f8d3 3084 ldr.w r3, [r3, #132] ; 0x84
- 8001e88: 4909 ldr r1, [pc, #36] ; (8001eb0 <HAL_RCCEx_PeriphCLKConfig+0x4ac>)
- 8001e8a: 4313 orrs r3, r2
- 8001e8c: f8c1 3090 str.w r3, [r1, #144] ; 0x90
+ 8001e24: 4b0d ldr r3, [pc, #52] ; (8001e5c <HAL_RCCEx_PeriphCLKConfig+0x4ac>)
+ 8001e26: f8d3 3090 ldr.w r3, [r3, #144] ; 0x90
+ 8001e2a: f023 5200 bic.w r2, r3, #536870912 ; 0x20000000
+ 8001e2e: 687b ldr r3, [r7, #4]
+ 8001e30: f8d3 3084 ldr.w r3, [r3, #132] ; 0x84
+ 8001e34: 4909 ldr r1, [pc, #36] ; (8001e5c <HAL_RCCEx_PeriphCLKConfig+0x4ac>)
+ 8001e36: 4313 orrs r3, r2
+ 8001e38: f8c1 3090 str.w r3, [r1, #144] ; 0x90
}
/*------------------------------------- DFSDM1 Configuration -------------------------------------*/
if(((PeriphClkInit->PeriphClockSelection) & RCC_PERIPHCLK_DFSDM1) == RCC_PERIPHCLK_DFSDM1)
- 8001e90: 687b ldr r3, [r7, #4]
- 8001e92: 681b ldr r3, [r3, #0]
- 8001e94: f003 6300 and.w r3, r3, #134217728 ; 0x8000000
- 8001e98: 2b00 cmp r3, #0
- 8001e9a: d00f beq.n 8001ebc <HAL_RCCEx_PeriphCLKConfig+0x4b8>
+ 8001e3c: 687b ldr r3, [r7, #4]
+ 8001e3e: 681b ldr r3, [r3, #0]
+ 8001e40: f003 6300 and.w r3, r3, #134217728 ; 0x8000000
+ 8001e44: 2b00 cmp r3, #0
+ 8001e46: d00f beq.n 8001e68 <HAL_RCCEx_PeriphCLKConfig+0x4b8>
{
/* Check the parameters */
assert_param(IS_RCC_DFSDM1CLKSOURCE(PeriphClkInit->Dfsdm1ClockSelection));
/* Configure the DFSDM1 interface clock source */
__HAL_RCC_DFSDM1_CONFIG(PeriphClkInit->Dfsdm1ClockSelection);
- 8001e9c: 4b04 ldr r3, [pc, #16] ; (8001eb0 <HAL_RCCEx_PeriphCLKConfig+0x4ac>)
- 8001e9e: f8d3 308c ldr.w r3, [r3, #140] ; 0x8c
- 8001ea2: f023 7200 bic.w r2, r3, #33554432 ; 0x2000000
- 8001ea6: 687b ldr r3, [r7, #4]
- 8001ea8: f8d3 3088 ldr.w r3, [r3, #136] ; 0x88
- 8001eac: e002 b.n 8001eb4 <HAL_RCCEx_PeriphCLKConfig+0x4b0>
- 8001eae: bf00 nop
- 8001eb0: 40023800 .word 0x40023800
- 8001eb4: 4985 ldr r1, [pc, #532] ; (80020cc <HAL_RCCEx_PeriphCLKConfig+0x6c8>)
- 8001eb6: 4313 orrs r3, r2
- 8001eb8: f8c1 308c str.w r3, [r1, #140] ; 0x8c
+ 8001e48: 4b04 ldr r3, [pc, #16] ; (8001e5c <HAL_RCCEx_PeriphCLKConfig+0x4ac>)
+ 8001e4a: f8d3 308c ldr.w r3, [r3, #140] ; 0x8c
+ 8001e4e: f023 7200 bic.w r2, r3, #33554432 ; 0x2000000
+ 8001e52: 687b ldr r3, [r7, #4]
+ 8001e54: f8d3 3088 ldr.w r3, [r3, #136] ; 0x88
+ 8001e58: e002 b.n 8001e60 <HAL_RCCEx_PeriphCLKConfig+0x4b0>
+ 8001e5a: bf00 nop
+ 8001e5c: 40023800 .word 0x40023800
+ 8001e60: 4985 ldr r1, [pc, #532] ; (8002078 <HAL_RCCEx_PeriphCLKConfig+0x6c8>)
+ 8001e62: 4313 orrs r3, r2
+ 8001e64: f8c1 308c str.w r3, [r1, #140] ; 0x8c
}
/*------------------------------------- DFSDM AUDIO Configuration -------------------------------------*/
if(((PeriphClkInit->PeriphClockSelection) & RCC_PERIPHCLK_DFSDM1_AUDIO) == RCC_PERIPHCLK_DFSDM1_AUDIO)
- 8001ebc: 687b ldr r3, [r7, #4]
- 8001ebe: 681b ldr r3, [r3, #0]
- 8001ec0: f003 5380 and.w r3, r3, #268435456 ; 0x10000000
- 8001ec4: 2b00 cmp r3, #0
- 8001ec6: d00b beq.n 8001ee0 <HAL_RCCEx_PeriphCLKConfig+0x4dc>
+ 8001e68: 687b ldr r3, [r7, #4]
+ 8001e6a: 681b ldr r3, [r3, #0]
+ 8001e6c: f003 5380 and.w r3, r3, #268435456 ; 0x10000000
+ 8001e70: 2b00 cmp r3, #0
+ 8001e72: d00b beq.n 8001e8c <HAL_RCCEx_PeriphCLKConfig+0x4dc>
{
/* Check the parameters */
assert_param(IS_RCC_DFSDM1AUDIOCLKSOURCE(PeriphClkInit->Dfsdm1AudioClockSelection));
/* Configure the DFSDM interface clock source */
__HAL_RCC_DFSDM1AUDIO_CONFIG(PeriphClkInit->Dfsdm1AudioClockSelection);
- 8001ec8: 4b80 ldr r3, [pc, #512] ; (80020cc <HAL_RCCEx_PeriphCLKConfig+0x6c8>)
- 8001eca: f8d3 308c ldr.w r3, [r3, #140] ; 0x8c
- 8001ece: f023 6280 bic.w r2, r3, #67108864 ; 0x4000000
- 8001ed2: 687b ldr r3, [r7, #4]
- 8001ed4: f8d3 308c ldr.w r3, [r3, #140] ; 0x8c
- 8001ed8: 497c ldr r1, [pc, #496] ; (80020cc <HAL_RCCEx_PeriphCLKConfig+0x6c8>)
- 8001eda: 4313 orrs r3, r2
- 8001edc: f8c1 308c str.w r3, [r1, #140] ; 0x8c
+ 8001e74: 4b80 ldr r3, [pc, #512] ; (8002078 <HAL_RCCEx_PeriphCLKConfig+0x6c8>)
+ 8001e76: f8d3 308c ldr.w r3, [r3, #140] ; 0x8c
+ 8001e7a: f023 6280 bic.w r2, r3, #67108864 ; 0x4000000
+ 8001e7e: 687b ldr r3, [r7, #4]
+ 8001e80: f8d3 308c ldr.w r3, [r3, #140] ; 0x8c
+ 8001e84: 497c ldr r1, [pc, #496] ; (8002078 <HAL_RCCEx_PeriphCLKConfig+0x6c8>)
+ 8001e86: 4313 orrs r3, r2
+ 8001e88: f8c1 308c str.w r3, [r1, #140] ; 0x8c
}
#endif /* STM32F767xx || STM32F769xx || STM32F777xx || STM32F779xx */
/*-------------------------------------- PLLI2S Configuration ---------------------------------*/
/* PLLI2S is configured when a peripheral will use it as source clock : SAI1, SAI2, I2S or SPDIF-RX */
if((plli2sused == 1) || (PeriphClkInit->PeriphClockSelection == RCC_PERIPHCLK_PLLI2S))
- 8001ee0: 69fb ldr r3, [r7, #28]
- 8001ee2: 2b01 cmp r3, #1
- 8001ee4: d005 beq.n 8001ef2 <HAL_RCCEx_PeriphCLKConfig+0x4ee>
- 8001ee6: 687b ldr r3, [r7, #4]
- 8001ee8: 681b ldr r3, [r3, #0]
- 8001eea: f1b3 7f00 cmp.w r3, #33554432 ; 0x2000000
- 8001eee: f040 80d6 bne.w 800209e <HAL_RCCEx_PeriphCLKConfig+0x69a>
+ 8001e8c: 69fb ldr r3, [r7, #28]
+ 8001e8e: 2b01 cmp r3, #1
+ 8001e90: d005 beq.n 8001e9e <HAL_RCCEx_PeriphCLKConfig+0x4ee>
+ 8001e92: 687b ldr r3, [r7, #4]
+ 8001e94: 681b ldr r3, [r3, #0]
+ 8001e96: f1b3 7f00 cmp.w r3, #33554432 ; 0x2000000
+ 8001e9a: f040 80d6 bne.w 800204a <HAL_RCCEx_PeriphCLKConfig+0x69a>
{
/* Disable the PLLI2S */
__HAL_RCC_PLLI2S_DISABLE();
- 8001ef2: 4b76 ldr r3, [pc, #472] ; (80020cc <HAL_RCCEx_PeriphCLKConfig+0x6c8>)
- 8001ef4: 681b ldr r3, [r3, #0]
- 8001ef6: 4a75 ldr r2, [pc, #468] ; (80020cc <HAL_RCCEx_PeriphCLKConfig+0x6c8>)
- 8001ef8: f023 6380 bic.w r3, r3, #67108864 ; 0x4000000
- 8001efc: 6013 str r3, [r2, #0]
+ 8001e9e: 4b76 ldr r3, [pc, #472] ; (8002078 <HAL_RCCEx_PeriphCLKConfig+0x6c8>)
+ 8001ea0: 681b ldr r3, [r3, #0]
+ 8001ea2: 4a75 ldr r2, [pc, #468] ; (8002078 <HAL_RCCEx_PeriphCLKConfig+0x6c8>)
+ 8001ea4: f023 6380 bic.w r3, r3, #67108864 ; 0x4000000
+ 8001ea8: 6013 str r3, [r2, #0]
/* Get Start Tick*/
tickstart = HAL_GetTick();
- 8001efe: f7fe fe57 bl 8000bb0 <HAL_GetTick>
- 8001f02: 6178 str r0, [r7, #20]
+ 8001eaa: f7fe fe57 bl 8000b5c <HAL_GetTick>
+ 8001eae: 6178 str r0, [r7, #20]
/* Wait till PLLI2S is disabled */
while(__HAL_RCC_GET_FLAG(RCC_FLAG_PLLI2SRDY) != RESET)
- 8001f04: e008 b.n 8001f18 <HAL_RCCEx_PeriphCLKConfig+0x514>
+ 8001eb0: e008 b.n 8001ec4 <HAL_RCCEx_PeriphCLKConfig+0x514>
{
if((HAL_GetTick() - tickstart) > PLLI2S_TIMEOUT_VALUE)
- 8001f06: f7fe fe53 bl 8000bb0 <HAL_GetTick>
- 8001f0a: 4602 mov r2, r0
- 8001f0c: 697b ldr r3, [r7, #20]
- 8001f0e: 1ad3 subs r3, r2, r3
- 8001f10: 2b64 cmp r3, #100 ; 0x64
- 8001f12: d901 bls.n 8001f18 <HAL_RCCEx_PeriphCLKConfig+0x514>
+ 8001eb2: f7fe fe53 bl 8000b5c <HAL_GetTick>
+ 8001eb6: 4602 mov r2, r0
+ 8001eb8: 697b ldr r3, [r7, #20]
+ 8001eba: 1ad3 subs r3, r2, r3
+ 8001ebc: 2b64 cmp r3, #100 ; 0x64
+ 8001ebe: d901 bls.n 8001ec4 <HAL_RCCEx_PeriphCLKConfig+0x514>
{
/* return in case of Timeout detected */
return HAL_TIMEOUT;
- 8001f14: 2303 movs r3, #3
- 8001f16: e194 b.n 8002242 <HAL_RCCEx_PeriphCLKConfig+0x83e>
+ 8001ec0: 2303 movs r3, #3
+ 8001ec2: e194 b.n 80021ee <HAL_RCCEx_PeriphCLKConfig+0x83e>
while(__HAL_RCC_GET_FLAG(RCC_FLAG_PLLI2SRDY) != RESET)
- 8001f18: 4b6c ldr r3, [pc, #432] ; (80020cc <HAL_RCCEx_PeriphCLKConfig+0x6c8>)
- 8001f1a: 681b ldr r3, [r3, #0]
- 8001f1c: f003 6300 and.w r3, r3, #134217728 ; 0x8000000
- 8001f20: 2b00 cmp r3, #0
- 8001f22: d1f0 bne.n 8001f06 <HAL_RCCEx_PeriphCLKConfig+0x502>
+ 8001ec4: 4b6c ldr r3, [pc, #432] ; (8002078 <HAL_RCCEx_PeriphCLKConfig+0x6c8>)
+ 8001ec6: 681b ldr r3, [r3, #0]
+ 8001ec8: f003 6300 and.w r3, r3, #134217728 ; 0x8000000
+ 8001ecc: 2b00 cmp r3, #0
+ 8001ece: d1f0 bne.n 8001eb2 <HAL_RCCEx_PeriphCLKConfig+0x502>
/* check for common PLLI2S Parameters */
assert_param(IS_RCC_PLLI2SN_VALUE(PeriphClkInit->PLLI2S.PLLI2SN));
/*----------------- In Case of PLLI2S is selected as source clock for I2S -------------------*/
if(((((PeriphClkInit->PeriphClockSelection) & RCC_PERIPHCLK_I2S) == RCC_PERIPHCLK_I2S) && (PeriphClkInit->I2sClockSelection == RCC_I2SCLKSOURCE_PLLI2S)))
- 8001f24: 687b ldr r3, [r7, #4]
- 8001f26: 681b ldr r3, [r3, #0]
- 8001f28: f003 0301 and.w r3, r3, #1
- 8001f2c: 2b00 cmp r3, #0
- 8001f2e: d021 beq.n 8001f74 <HAL_RCCEx_PeriphCLKConfig+0x570>
- 8001f30: 687b ldr r3, [r7, #4]
- 8001f32: 6b5b ldr r3, [r3, #52] ; 0x34
- 8001f34: 2b00 cmp r3, #0
- 8001f36: d11d bne.n 8001f74 <HAL_RCCEx_PeriphCLKConfig+0x570>
+ 8001ed0: 687b ldr r3, [r7, #4]
+ 8001ed2: 681b ldr r3, [r3, #0]
+ 8001ed4: f003 0301 and.w r3, r3, #1
+ 8001ed8: 2b00 cmp r3, #0
+ 8001eda: d021 beq.n 8001f20 <HAL_RCCEx_PeriphCLKConfig+0x570>
+ 8001edc: 687b ldr r3, [r7, #4]
+ 8001ede: 6b5b ldr r3, [r3, #52] ; 0x34
+ 8001ee0: 2b00 cmp r3, #0
+ 8001ee2: d11d bne.n 8001f20 <HAL_RCCEx_PeriphCLKConfig+0x570>
{
/* check for Parameters */
assert_param(IS_RCC_PLLI2SR_VALUE(PeriphClkInit->PLLI2S.PLLI2SR));
/* Read PLLI2SP and PLLI2SQ value from PLLI2SCFGR register (this value is not needed for I2S configuration) */
tmpreg0 = ((RCC->PLLI2SCFGR & RCC_PLLI2SCFGR_PLLI2SP) >> RCC_PLLI2SCFGR_PLLI2SP_Pos);
- 8001f38: 4b64 ldr r3, [pc, #400] ; (80020cc <HAL_RCCEx_PeriphCLKConfig+0x6c8>)
- 8001f3a: f8d3 3084 ldr.w r3, [r3, #132] ; 0x84
- 8001f3e: 0c1b lsrs r3, r3, #16
- 8001f40: f003 0303 and.w r3, r3, #3
- 8001f44: 613b str r3, [r7, #16]
+ 8001ee4: 4b64 ldr r3, [pc, #400] ; (8002078 <HAL_RCCEx_PeriphCLKConfig+0x6c8>)
+ 8001ee6: f8d3 3084 ldr.w r3, [r3, #132] ; 0x84
+ 8001eea: 0c1b lsrs r3, r3, #16
+ 8001eec: f003 0303 and.w r3, r3, #3
+ 8001ef0: 613b str r3, [r7, #16]
tmpreg1 = ((RCC->PLLI2SCFGR & RCC_PLLI2SCFGR_PLLI2SQ) >> RCC_PLLI2SCFGR_PLLI2SQ_Pos);
- 8001f46: 4b61 ldr r3, [pc, #388] ; (80020cc <HAL_RCCEx_PeriphCLKConfig+0x6c8>)
- 8001f48: f8d3 3084 ldr.w r3, [r3, #132] ; 0x84
- 8001f4c: 0e1b lsrs r3, r3, #24
- 8001f4e: f003 030f and.w r3, r3, #15
- 8001f52: 60fb str r3, [r7, #12]
+ 8001ef2: 4b61 ldr r3, [pc, #388] ; (8002078 <HAL_RCCEx_PeriphCLKConfig+0x6c8>)
+ 8001ef4: f8d3 3084 ldr.w r3, [r3, #132] ; 0x84
+ 8001ef8: 0e1b lsrs r3, r3, #24
+ 8001efa: f003 030f and.w r3, r3, #15
+ 8001efe: 60fb str r3, [r7, #12]
/* Configure the PLLI2S division factors */
/* PLLI2S_VCO = f(VCO clock) = f(PLLI2S clock input) x (PLLI2SN/PLLM) */
/* I2SCLK = f(PLLI2S clock output) = f(VCO clock) / PLLI2SR */
__HAL_RCC_PLLI2S_CONFIG(PeriphClkInit->PLLI2S.PLLI2SN , tmpreg0, tmpreg1, PeriphClkInit->PLLI2S.PLLI2SR);
- 8001f54: 687b ldr r3, [r7, #4]
- 8001f56: 685b ldr r3, [r3, #4]
- 8001f58: 019a lsls r2, r3, #6
- 8001f5a: 693b ldr r3, [r7, #16]
- 8001f5c: 041b lsls r3, r3, #16
- 8001f5e: 431a orrs r2, r3
- 8001f60: 68fb ldr r3, [r7, #12]
- 8001f62: 061b lsls r3, r3, #24
- 8001f64: 431a orrs r2, r3
- 8001f66: 687b ldr r3, [r7, #4]
- 8001f68: 689b ldr r3, [r3, #8]
- 8001f6a: 071b lsls r3, r3, #28
- 8001f6c: 4957 ldr r1, [pc, #348] ; (80020cc <HAL_RCCEx_PeriphCLKConfig+0x6c8>)
- 8001f6e: 4313 orrs r3, r2
- 8001f70: f8c1 3084 str.w r3, [r1, #132] ; 0x84
+ 8001f00: 687b ldr r3, [r7, #4]
+ 8001f02: 685b ldr r3, [r3, #4]
+ 8001f04: 019a lsls r2, r3, #6
+ 8001f06: 693b ldr r3, [r7, #16]
+ 8001f08: 041b lsls r3, r3, #16
+ 8001f0a: 431a orrs r2, r3
+ 8001f0c: 68fb ldr r3, [r7, #12]
+ 8001f0e: 061b lsls r3, r3, #24
+ 8001f10: 431a orrs r2, r3
+ 8001f12: 687b ldr r3, [r7, #4]
+ 8001f14: 689b ldr r3, [r3, #8]
+ 8001f16: 071b lsls r3, r3, #28
+ 8001f18: 4957 ldr r1, [pc, #348] ; (8002078 <HAL_RCCEx_PeriphCLKConfig+0x6c8>)
+ 8001f1a: 4313 orrs r3, r2
+ 8001f1c: f8c1 3084 str.w r3, [r1, #132] ; 0x84
}
/*----------------- In Case of PLLI2S is selected as source clock for SAI -------------------*/
if(((((PeriphClkInit->PeriphClockSelection) & RCC_PERIPHCLK_SAI1) == RCC_PERIPHCLK_SAI1) && (PeriphClkInit->Sai1ClockSelection == RCC_SAI1CLKSOURCE_PLLI2S)) ||
- 8001f74: 687b ldr r3, [r7, #4]
- 8001f76: 681b ldr r3, [r3, #0]
- 8001f78: f403 2300 and.w r3, r3, #524288 ; 0x80000
- 8001f7c: 2b00 cmp r3, #0
- 8001f7e: d004 beq.n 8001f8a <HAL_RCCEx_PeriphCLKConfig+0x586>
- 8001f80: 687b ldr r3, [r7, #4]
- 8001f82: 6bdb ldr r3, [r3, #60] ; 0x3c
- 8001f84: f5b3 1f80 cmp.w r3, #1048576 ; 0x100000
- 8001f88: d00a beq.n 8001fa0 <HAL_RCCEx_PeriphCLKConfig+0x59c>
+ 8001f20: 687b ldr r3, [r7, #4]
+ 8001f22: 681b ldr r3, [r3, #0]
+ 8001f24: f403 2300 and.w r3, r3, #524288 ; 0x80000
+ 8001f28: 2b00 cmp r3, #0
+ 8001f2a: d004 beq.n 8001f36 <HAL_RCCEx_PeriphCLKConfig+0x586>
+ 8001f2c: 687b ldr r3, [r7, #4]
+ 8001f2e: 6bdb ldr r3, [r3, #60] ; 0x3c
+ 8001f30: f5b3 1f80 cmp.w r3, #1048576 ; 0x100000
+ 8001f34: d00a beq.n 8001f4c <HAL_RCCEx_PeriphCLKConfig+0x59c>
((((PeriphClkInit->PeriphClockSelection) & RCC_PERIPHCLK_SAI2) == RCC_PERIPHCLK_SAI2) && (PeriphClkInit->Sai2ClockSelection == RCC_SAI2CLKSOURCE_PLLI2S)))
- 8001f8a: 687b ldr r3, [r7, #4]
- 8001f8c: 681b ldr r3, [r3, #0]
- 8001f8e: f403 1380 and.w r3, r3, #1048576 ; 0x100000
+ 8001f36: 687b ldr r3, [r7, #4]
+ 8001f38: 681b ldr r3, [r3, #0]
+ 8001f3a: f403 1380 and.w r3, r3, #1048576 ; 0x100000
if(((((PeriphClkInit->PeriphClockSelection) & RCC_PERIPHCLK_SAI1) == RCC_PERIPHCLK_SAI1) && (PeriphClkInit->Sai1ClockSelection == RCC_SAI1CLKSOURCE_PLLI2S)) ||
- 8001f92: 2b00 cmp r3, #0
- 8001f94: d02e beq.n 8001ff4 <HAL_RCCEx_PeriphCLKConfig+0x5f0>
+ 8001f3e: 2b00 cmp r3, #0
+ 8001f40: d02e beq.n 8001fa0 <HAL_RCCEx_PeriphCLKConfig+0x5f0>
((((PeriphClkInit->PeriphClockSelection) & RCC_PERIPHCLK_SAI2) == RCC_PERIPHCLK_SAI2) && (PeriphClkInit->Sai2ClockSelection == RCC_SAI2CLKSOURCE_PLLI2S)))
- 8001f96: 687b ldr r3, [r7, #4]
- 8001f98: 6c1b ldr r3, [r3, #64] ; 0x40
- 8001f9a: f5b3 0f80 cmp.w r3, #4194304 ; 0x400000
- 8001f9e: d129 bne.n 8001ff4 <HAL_RCCEx_PeriphCLKConfig+0x5f0>
+ 8001f42: 687b ldr r3, [r7, #4]
+ 8001f44: 6c1b ldr r3, [r3, #64] ; 0x40
+ 8001f46: f5b3 0f80 cmp.w r3, #4194304 ; 0x400000
+ 8001f4a: d129 bne.n 8001fa0 <HAL_RCCEx_PeriphCLKConfig+0x5f0>
assert_param(IS_RCC_PLLI2SQ_VALUE(PeriphClkInit->PLLI2S.PLLI2SQ));
/* Check for PLLI2S/DIVQ parameters */
assert_param(IS_RCC_PLLI2S_DIVQ_VALUE(PeriphClkInit->PLLI2SDivQ));
/* Read PLLI2SP and PLLI2SR values from PLLI2SCFGR register (this value is not needed for SAI configuration) */
tmpreg0 = ((RCC->PLLI2SCFGR & RCC_PLLI2SCFGR_PLLI2SP) >> RCC_PLLI2SCFGR_PLLI2SP_Pos);
- 8001fa0: 4b4a ldr r3, [pc, #296] ; (80020cc <HAL_RCCEx_PeriphCLKConfig+0x6c8>)
- 8001fa2: f8d3 3084 ldr.w r3, [r3, #132] ; 0x84
- 8001fa6: 0c1b lsrs r3, r3, #16
- 8001fa8: f003 0303 and.w r3, r3, #3
- 8001fac: 613b str r3, [r7, #16]
+ 8001f4c: 4b4a ldr r3, [pc, #296] ; (8002078 <HAL_RCCEx_PeriphCLKConfig+0x6c8>)
+ 8001f4e: f8d3 3084 ldr.w r3, [r3, #132] ; 0x84
+ 8001f52: 0c1b lsrs r3, r3, #16
+ 8001f54: f003 0303 and.w r3, r3, #3
+ 8001f58: 613b str r3, [r7, #16]
tmpreg1 = ((RCC->PLLI2SCFGR & RCC_PLLI2SCFGR_PLLI2SR) >> RCC_PLLI2SCFGR_PLLI2SR_Pos);
- 8001fae: 4b47 ldr r3, [pc, #284] ; (80020cc <HAL_RCCEx_PeriphCLKConfig+0x6c8>)
- 8001fb0: f8d3 3084 ldr.w r3, [r3, #132] ; 0x84
- 8001fb4: 0f1b lsrs r3, r3, #28
- 8001fb6: f003 0307 and.w r3, r3, #7
- 8001fba: 60fb str r3, [r7, #12]
+ 8001f5a: 4b47 ldr r3, [pc, #284] ; (8002078 <HAL_RCCEx_PeriphCLKConfig+0x6c8>)
+ 8001f5c: f8d3 3084 ldr.w r3, [r3, #132] ; 0x84
+ 8001f60: 0f1b lsrs r3, r3, #28
+ 8001f62: f003 0307 and.w r3, r3, #7
+ 8001f66: 60fb str r3, [r7, #12]
/* Configure the PLLI2S division factors */
/* PLLI2S_VCO Input = PLL_SOURCE/PLLM */
/* PLLI2S_VCO Output = PLLI2S_VCO Input * PLLI2SN */
/* SAI_CLK(first level) = PLLI2S_VCO Output/PLLI2SQ */
__HAL_RCC_PLLI2S_CONFIG(PeriphClkInit->PLLI2S.PLLI2SN, tmpreg0, PeriphClkInit->PLLI2S.PLLI2SQ, tmpreg1);
- 8001fbc: 687b ldr r3, [r7, #4]
- 8001fbe: 685b ldr r3, [r3, #4]
- 8001fc0: 019a lsls r2, r3, #6
- 8001fc2: 693b ldr r3, [r7, #16]
- 8001fc4: 041b lsls r3, r3, #16
- 8001fc6: 431a orrs r2, r3
- 8001fc8: 687b ldr r3, [r7, #4]
- 8001fca: 68db ldr r3, [r3, #12]
- 8001fcc: 061b lsls r3, r3, #24
- 8001fce: 431a orrs r2, r3
- 8001fd0: 68fb ldr r3, [r7, #12]
- 8001fd2: 071b lsls r3, r3, #28
- 8001fd4: 493d ldr r1, [pc, #244] ; (80020cc <HAL_RCCEx_PeriphCLKConfig+0x6c8>)
- 8001fd6: 4313 orrs r3, r2
- 8001fd8: f8c1 3084 str.w r3, [r1, #132] ; 0x84
+ 8001f68: 687b ldr r3, [r7, #4]
+ 8001f6a: 685b ldr r3, [r3, #4]
+ 8001f6c: 019a lsls r2, r3, #6
+ 8001f6e: 693b ldr r3, [r7, #16]
+ 8001f70: 041b lsls r3, r3, #16
+ 8001f72: 431a orrs r2, r3
+ 8001f74: 687b ldr r3, [r7, #4]
+ 8001f76: 68db ldr r3, [r3, #12]
+ 8001f78: 061b lsls r3, r3, #24
+ 8001f7a: 431a orrs r2, r3
+ 8001f7c: 68fb ldr r3, [r7, #12]
+ 8001f7e: 071b lsls r3, r3, #28
+ 8001f80: 493d ldr r1, [pc, #244] ; (8002078 <HAL_RCCEx_PeriphCLKConfig+0x6c8>)
+ 8001f82: 4313 orrs r3, r2
+ 8001f84: f8c1 3084 str.w r3, [r1, #132] ; 0x84
/* SAI_CLK_x = SAI_CLK(first level)/PLLI2SDIVQ */
__HAL_RCC_PLLI2S_PLLSAICLKDIVQ_CONFIG(PeriphClkInit->PLLI2SDivQ);
- 8001fdc: 4b3b ldr r3, [pc, #236] ; (80020cc <HAL_RCCEx_PeriphCLKConfig+0x6c8>)
- 8001fde: f8d3 308c ldr.w r3, [r3, #140] ; 0x8c
- 8001fe2: f023 021f bic.w r2, r3, #31
- 8001fe6: 687b ldr r3, [r7, #4]
- 8001fe8: 6a5b ldr r3, [r3, #36] ; 0x24
- 8001fea: 3b01 subs r3, #1
- 8001fec: 4937 ldr r1, [pc, #220] ; (80020cc <HAL_RCCEx_PeriphCLKConfig+0x6c8>)
- 8001fee: 4313 orrs r3, r2
- 8001ff0: f8c1 308c str.w r3, [r1, #140] ; 0x8c
+ 8001f88: 4b3b ldr r3, [pc, #236] ; (8002078 <HAL_RCCEx_PeriphCLKConfig+0x6c8>)
+ 8001f8a: f8d3 308c ldr.w r3, [r3, #140] ; 0x8c
+ 8001f8e: f023 021f bic.w r2, r3, #31
+ 8001f92: 687b ldr r3, [r7, #4]
+ 8001f94: 6a5b ldr r3, [r3, #36] ; 0x24
+ 8001f96: 3b01 subs r3, #1
+ 8001f98: 4937 ldr r1, [pc, #220] ; (8002078 <HAL_RCCEx_PeriphCLKConfig+0x6c8>)
+ 8001f9a: 4313 orrs r3, r2
+ 8001f9c: f8c1 308c str.w r3, [r1, #140] ; 0x8c
}
/*----------------- In Case of PLLI2S is selected as source clock for SPDIF-RX -------------------*/
if(((PeriphClkInit->PeriphClockSelection) & RCC_PERIPHCLK_SPDIFRX) == RCC_PERIPHCLK_SPDIFRX)
- 8001ff4: 687b ldr r3, [r7, #4]
- 8001ff6: 681b ldr r3, [r3, #0]
- 8001ff8: f003 7380 and.w r3, r3, #16777216 ; 0x1000000
- 8001ffc: 2b00 cmp r3, #0
- 8001ffe: d01d beq.n 800203c <HAL_RCCEx_PeriphCLKConfig+0x638>
+ 8001fa0: 687b ldr r3, [r7, #4]
+ 8001fa2: 681b ldr r3, [r3, #0]
+ 8001fa4: f003 7380 and.w r3, r3, #16777216 ; 0x1000000
+ 8001fa8: 2b00 cmp r3, #0
+ 8001faa: d01d beq.n 8001fe8 <HAL_RCCEx_PeriphCLKConfig+0x638>
{
/* check for Parameters */
assert_param(IS_RCC_PLLI2SP_VALUE(PeriphClkInit->PLLI2S.PLLI2SP));
/* Read PLLI2SR value from PLLI2SCFGR register (this value is not needed for SPDIF-RX configuration) */
tmpreg0 = ((RCC->PLLI2SCFGR & RCC_PLLI2SCFGR_PLLI2SQ) >> RCC_PLLI2SCFGR_PLLI2SQ_Pos);
- 8002000: 4b32 ldr r3, [pc, #200] ; (80020cc <HAL_RCCEx_PeriphCLKConfig+0x6c8>)
- 8002002: f8d3 3084 ldr.w r3, [r3, #132] ; 0x84
- 8002006: 0e1b lsrs r3, r3, #24
- 8002008: f003 030f and.w r3, r3, #15
- 800200c: 613b str r3, [r7, #16]
+ 8001fac: 4b32 ldr r3, [pc, #200] ; (8002078 <HAL_RCCEx_PeriphCLKConfig+0x6c8>)
+ 8001fae: f8d3 3084 ldr.w r3, [r3, #132] ; 0x84
+ 8001fb2: 0e1b lsrs r3, r3, #24
+ 8001fb4: f003 030f and.w r3, r3, #15
+ 8001fb8: 613b str r3, [r7, #16]
tmpreg1 = ((RCC->PLLI2SCFGR & RCC_PLLI2SCFGR_PLLI2SR) >> RCC_PLLI2SCFGR_PLLI2SR_Pos);
- 800200e: 4b2f ldr r3, [pc, #188] ; (80020cc <HAL_RCCEx_PeriphCLKConfig+0x6c8>)
- 8002010: f8d3 3084 ldr.w r3, [r3, #132] ; 0x84
- 8002014: 0f1b lsrs r3, r3, #28
- 8002016: f003 0307 and.w r3, r3, #7
- 800201a: 60fb str r3, [r7, #12]
+ 8001fba: 4b2f ldr r3, [pc, #188] ; (8002078 <HAL_RCCEx_PeriphCLKConfig+0x6c8>)
+ 8001fbc: f8d3 3084 ldr.w r3, [r3, #132] ; 0x84
+ 8001fc0: 0f1b lsrs r3, r3, #28
+ 8001fc2: f003 0307 and.w r3, r3, #7
+ 8001fc6: 60fb str r3, [r7, #12]
/* Configure the PLLI2S division factors */
/* PLLI2S_VCO = f(VCO clock) = f(PLLI2S clock input) x (PLLI2SN/PLLM) */
/* SPDIFCLK = f(PLLI2S clock output) = f(VCO clock) / PLLI2SP */
__HAL_RCC_PLLI2S_CONFIG(PeriphClkInit->PLLI2S.PLLI2SN , PeriphClkInit->PLLI2S.PLLI2SP, tmpreg0, tmpreg1);
- 800201c: 687b ldr r3, [r7, #4]
- 800201e: 685b ldr r3, [r3, #4]
- 8002020: 019a lsls r2, r3, #6
- 8002022: 687b ldr r3, [r7, #4]
- 8002024: 691b ldr r3, [r3, #16]
- 8002026: 041b lsls r3, r3, #16
- 8002028: 431a orrs r2, r3
- 800202a: 693b ldr r3, [r7, #16]
- 800202c: 061b lsls r3, r3, #24
- 800202e: 431a orrs r2, r3
- 8002030: 68fb ldr r3, [r7, #12]
- 8002032: 071b lsls r3, r3, #28
- 8002034: 4925 ldr r1, [pc, #148] ; (80020cc <HAL_RCCEx_PeriphCLKConfig+0x6c8>)
- 8002036: 4313 orrs r3, r2
- 8002038: f8c1 3084 str.w r3, [r1, #132] ; 0x84
+ 8001fc8: 687b ldr r3, [r7, #4]
+ 8001fca: 685b ldr r3, [r3, #4]
+ 8001fcc: 019a lsls r2, r3, #6
+ 8001fce: 687b ldr r3, [r7, #4]
+ 8001fd0: 691b ldr r3, [r3, #16]
+ 8001fd2: 041b lsls r3, r3, #16
+ 8001fd4: 431a orrs r2, r3
+ 8001fd6: 693b ldr r3, [r7, #16]
+ 8001fd8: 061b lsls r3, r3, #24
+ 8001fda: 431a orrs r2, r3
+ 8001fdc: 68fb ldr r3, [r7, #12]
+ 8001fde: 071b lsls r3, r3, #28
+ 8001fe0: 4925 ldr r1, [pc, #148] ; (8002078 <HAL_RCCEx_PeriphCLKConfig+0x6c8>)
+ 8001fe2: 4313 orrs r3, r2
+ 8001fe4: f8c1 3084 str.w r3, [r1, #132] ; 0x84
}
/*----------------- In Case of PLLI2S is just selected -----------------*/
if((PeriphClkInit->PeriphClockSelection & RCC_PERIPHCLK_PLLI2S) == RCC_PERIPHCLK_PLLI2S)
- 800203c: 687b ldr r3, [r7, #4]
- 800203e: 681b ldr r3, [r3, #0]
- 8002040: f003 7300 and.w r3, r3, #33554432 ; 0x2000000
- 8002044: 2b00 cmp r3, #0
- 8002046: d011 beq.n 800206c <HAL_RCCEx_PeriphCLKConfig+0x668>
+ 8001fe8: 687b ldr r3, [r7, #4]
+ 8001fea: 681b ldr r3, [r3, #0]
+ 8001fec: f003 7300 and.w r3, r3, #33554432 ; 0x2000000
+ 8001ff0: 2b00 cmp r3, #0
+ 8001ff2: d011 beq.n 8002018 <HAL_RCCEx_PeriphCLKConfig+0x668>
assert_param(IS_RCC_PLLI2SQ_VALUE(PeriphClkInit->PLLI2S.PLLI2SQ));
/* Configure the PLLI2S division factors */
/* PLLI2S_VCO = f(VCO clock) = f(PLLI2S clock input) x (PLLI2SN/PLLI2SM) */
/* SPDIFRXCLK = f(PLLI2S clock output) = f(VCO clock) / PLLI2SP */
__HAL_RCC_PLLI2S_CONFIG(PeriphClkInit->PLLI2S.PLLI2SN , PeriphClkInit->PLLI2S.PLLI2SP, PeriphClkInit->PLLI2S.PLLI2SQ, PeriphClkInit->PLLI2S.PLLI2SR);
- 8002048: 687b ldr r3, [r7, #4]
- 800204a: 685b ldr r3, [r3, #4]
- 800204c: 019a lsls r2, r3, #6
- 800204e: 687b ldr r3, [r7, #4]
- 8002050: 691b ldr r3, [r3, #16]
- 8002052: 041b lsls r3, r3, #16
- 8002054: 431a orrs r2, r3
- 8002056: 687b ldr r3, [r7, #4]
- 8002058: 68db ldr r3, [r3, #12]
- 800205a: 061b lsls r3, r3, #24
- 800205c: 431a orrs r2, r3
- 800205e: 687b ldr r3, [r7, #4]
- 8002060: 689b ldr r3, [r3, #8]
- 8002062: 071b lsls r3, r3, #28
- 8002064: 4919 ldr r1, [pc, #100] ; (80020cc <HAL_RCCEx_PeriphCLKConfig+0x6c8>)
- 8002066: 4313 orrs r3, r2
- 8002068: f8c1 3084 str.w r3, [r1, #132] ; 0x84
+ 8001ff4: 687b ldr r3, [r7, #4]
+ 8001ff6: 685b ldr r3, [r3, #4]
+ 8001ff8: 019a lsls r2, r3, #6
+ 8001ffa: 687b ldr r3, [r7, #4]
+ 8001ffc: 691b ldr r3, [r3, #16]
+ 8001ffe: 041b lsls r3, r3, #16
+ 8002000: 431a orrs r2, r3
+ 8002002: 687b ldr r3, [r7, #4]
+ 8002004: 68db ldr r3, [r3, #12]
+ 8002006: 061b lsls r3, r3, #24
+ 8002008: 431a orrs r2, r3
+ 800200a: 687b ldr r3, [r7, #4]
+ 800200c: 689b ldr r3, [r3, #8]
+ 800200e: 071b lsls r3, r3, #28
+ 8002010: 4919 ldr r1, [pc, #100] ; (8002078 <HAL_RCCEx_PeriphCLKConfig+0x6c8>)
+ 8002012: 4313 orrs r3, r2
+ 8002014: f8c1 3084 str.w r3, [r1, #132] ; 0x84
}
/* Enable the PLLI2S */
__HAL_RCC_PLLI2S_ENABLE();
- 800206c: 4b17 ldr r3, [pc, #92] ; (80020cc <HAL_RCCEx_PeriphCLKConfig+0x6c8>)
- 800206e: 681b ldr r3, [r3, #0]
- 8002070: 4a16 ldr r2, [pc, #88] ; (80020cc <HAL_RCCEx_PeriphCLKConfig+0x6c8>)
- 8002072: f043 6380 orr.w r3, r3, #67108864 ; 0x4000000
- 8002076: 6013 str r3, [r2, #0]
+ 8002018: 4b17 ldr r3, [pc, #92] ; (8002078 <HAL_RCCEx_PeriphCLKConfig+0x6c8>)
+ 800201a: 681b ldr r3, [r3, #0]
+ 800201c: 4a16 ldr r2, [pc, #88] ; (8002078 <HAL_RCCEx_PeriphCLKConfig+0x6c8>)
+ 800201e: f043 6380 orr.w r3, r3, #67108864 ; 0x4000000
+ 8002022: 6013 str r3, [r2, #0]
/* Get Start Tick*/
tickstart = HAL_GetTick();
- 8002078: f7fe fd9a bl 8000bb0 <HAL_GetTick>
- 800207c: 6178 str r0, [r7, #20]
+ 8002024: f7fe fd9a bl 8000b5c <HAL_GetTick>
+ 8002028: 6178 str r0, [r7, #20]
/* Wait till PLLI2S is ready */
while(__HAL_RCC_GET_FLAG(RCC_FLAG_PLLI2SRDY) == RESET)
- 800207e: e008 b.n 8002092 <HAL_RCCEx_PeriphCLKConfig+0x68e>
+ 800202a: e008 b.n 800203e <HAL_RCCEx_PeriphCLKConfig+0x68e>
{
if((HAL_GetTick() - tickstart) > PLLI2S_TIMEOUT_VALUE)
- 8002080: f7fe fd96 bl 8000bb0 <HAL_GetTick>
- 8002084: 4602 mov r2, r0
- 8002086: 697b ldr r3, [r7, #20]
- 8002088: 1ad3 subs r3, r2, r3
- 800208a: 2b64 cmp r3, #100 ; 0x64
- 800208c: d901 bls.n 8002092 <HAL_RCCEx_PeriphCLKConfig+0x68e>
+ 800202c: f7fe fd96 bl 8000b5c <HAL_GetTick>
+ 8002030: 4602 mov r2, r0
+ 8002032: 697b ldr r3, [r7, #20]
+ 8002034: 1ad3 subs r3, r2, r3
+ 8002036: 2b64 cmp r3, #100 ; 0x64
+ 8002038: d901 bls.n 800203e <HAL_RCCEx_PeriphCLKConfig+0x68e>
{
/* return in case of Timeout detected */
return HAL_TIMEOUT;
- 800208e: 2303 movs r3, #3
- 8002090: e0d7 b.n 8002242 <HAL_RCCEx_PeriphCLKConfig+0x83e>
+ 800203a: 2303 movs r3, #3
+ 800203c: e0d7 b.n 80021ee <HAL_RCCEx_PeriphCLKConfig+0x83e>
while(__HAL_RCC_GET_FLAG(RCC_FLAG_PLLI2SRDY) == RESET)
- 8002092: 4b0e ldr r3, [pc, #56] ; (80020cc <HAL_RCCEx_PeriphCLKConfig+0x6c8>)
- 8002094: 681b ldr r3, [r3, #0]
- 8002096: f003 6300 and.w r3, r3, #134217728 ; 0x8000000
- 800209a: 2b00 cmp r3, #0
- 800209c: d0f0 beq.n 8002080 <HAL_RCCEx_PeriphCLKConfig+0x67c>
+ 800203e: 4b0e ldr r3, [pc, #56] ; (8002078 <HAL_RCCEx_PeriphCLKConfig+0x6c8>)
+ 8002040: 681b ldr r3, [r3, #0]
+ 8002042: f003 6300 and.w r3, r3, #134217728 ; 0x8000000
+ 8002046: 2b00 cmp r3, #0
+ 8002048: d0f0 beq.n 800202c <HAL_RCCEx_PeriphCLKConfig+0x67c>
}
}
/*-------------------------------------- PLLSAI Configuration ---------------------------------*/
/* PLLSAI is configured when a peripheral will use it as source clock : SAI1, SAI2, LTDC or CK48 */
if(pllsaiused == 1)
- 800209e: 69bb ldr r3, [r7, #24]
- 80020a0: 2b01 cmp r3, #1
- 80020a2: f040 80cd bne.w 8002240 <HAL_RCCEx_PeriphCLKConfig+0x83c>
+ 800204a: 69bb ldr r3, [r7, #24]
+ 800204c: 2b01 cmp r3, #1
+ 800204e: f040 80cd bne.w 80021ec <HAL_RCCEx_PeriphCLKConfig+0x83c>
{
/* Disable PLLSAI Clock */
__HAL_RCC_PLLSAI_DISABLE();
- 80020a6: 4b09 ldr r3, [pc, #36] ; (80020cc <HAL_RCCEx_PeriphCLKConfig+0x6c8>)
- 80020a8: 681b ldr r3, [r3, #0]
- 80020aa: 4a08 ldr r2, [pc, #32] ; (80020cc <HAL_RCCEx_PeriphCLKConfig+0x6c8>)
- 80020ac: f023 5380 bic.w r3, r3, #268435456 ; 0x10000000
- 80020b0: 6013 str r3, [r2, #0]
+ 8002052: 4b09 ldr r3, [pc, #36] ; (8002078 <HAL_RCCEx_PeriphCLKConfig+0x6c8>)
+ 8002054: 681b ldr r3, [r3, #0]
+ 8002056: 4a08 ldr r2, [pc, #32] ; (8002078 <HAL_RCCEx_PeriphCLKConfig+0x6c8>)
+ 8002058: f023 5380 bic.w r3, r3, #268435456 ; 0x10000000
+ 800205c: 6013 str r3, [r2, #0]
/* Get Start Tick*/
tickstart = HAL_GetTick();
- 80020b2: f7fe fd7d bl 8000bb0 <HAL_GetTick>
- 80020b6: 6178 str r0, [r7, #20]
+ 800205e: f7fe fd7d bl 8000b5c <HAL_GetTick>
+ 8002062: 6178 str r0, [r7, #20]
/* Wait till PLLSAI is disabled */
while(__HAL_RCC_PLLSAI_GET_FLAG() != RESET)
- 80020b8: e00a b.n 80020d0 <HAL_RCCEx_PeriphCLKConfig+0x6cc>
+ 8002064: e00a b.n 800207c <HAL_RCCEx_PeriphCLKConfig+0x6cc>
{
if((HAL_GetTick() - tickstart) > PLLSAI_TIMEOUT_VALUE)
- 80020ba: f7fe fd79 bl 8000bb0 <HAL_GetTick>
- 80020be: 4602 mov r2, r0
- 80020c0: 697b ldr r3, [r7, #20]
- 80020c2: 1ad3 subs r3, r2, r3
- 80020c4: 2b64 cmp r3, #100 ; 0x64
- 80020c6: d903 bls.n 80020d0 <HAL_RCCEx_PeriphCLKConfig+0x6cc>
+ 8002066: f7fe fd79 bl 8000b5c <HAL_GetTick>
+ 800206a: 4602 mov r2, r0
+ 800206c: 697b ldr r3, [r7, #20]
+ 800206e: 1ad3 subs r3, r2, r3
+ 8002070: 2b64 cmp r3, #100 ; 0x64
+ 8002072: d903 bls.n 800207c <HAL_RCCEx_PeriphCLKConfig+0x6cc>
{
/* return in case of Timeout detected */
return HAL_TIMEOUT;
- 80020c8: 2303 movs r3, #3
- 80020ca: e0ba b.n 8002242 <HAL_RCCEx_PeriphCLKConfig+0x83e>
- 80020cc: 40023800 .word 0x40023800
+ 8002074: 2303 movs r3, #3
+ 8002076: e0ba b.n 80021ee <HAL_RCCEx_PeriphCLKConfig+0x83e>
+ 8002078: 40023800 .word 0x40023800
while(__HAL_RCC_PLLSAI_GET_FLAG() != RESET)
- 80020d0: 4b5e ldr r3, [pc, #376] ; (800224c <HAL_RCCEx_PeriphCLKConfig+0x848>)
- 80020d2: 681b ldr r3, [r3, #0]
- 80020d4: f003 5300 and.w r3, r3, #536870912 ; 0x20000000
- 80020d8: f1b3 5f00 cmp.w r3, #536870912 ; 0x20000000
- 80020dc: d0ed beq.n 80020ba <HAL_RCCEx_PeriphCLKConfig+0x6b6>
+ 800207c: 4b5e ldr r3, [pc, #376] ; (80021f8 <HAL_RCCEx_PeriphCLKConfig+0x848>)
+ 800207e: 681b ldr r3, [r3, #0]
+ 8002080: f003 5300 and.w r3, r3, #536870912 ; 0x20000000
+ 8002084: f1b3 5f00 cmp.w r3, #536870912 ; 0x20000000
+ 8002088: d0ed beq.n 8002066 <HAL_RCCEx_PeriphCLKConfig+0x6b6>
/* Check the PLLSAI division factors */
assert_param(IS_RCC_PLLSAIN_VALUE(PeriphClkInit->PLLSAI.PLLSAIN));
/*----------------- In Case of PLLSAI is selected as source clock for SAI -------------------*/
if(((((PeriphClkInit->PeriphClockSelection) & RCC_PERIPHCLK_SAI1) == RCC_PERIPHCLK_SAI1) && (PeriphClkInit->Sai1ClockSelection == RCC_SAI1CLKSOURCE_PLLSAI)) ||\
- 80020de: 687b ldr r3, [r7, #4]
- 80020e0: 681b ldr r3, [r3, #0]
- 80020e2: f403 2300 and.w r3, r3, #524288 ; 0x80000
- 80020e6: 2b00 cmp r3, #0
- 80020e8: d003 beq.n 80020f2 <HAL_RCCEx_PeriphCLKConfig+0x6ee>
- 80020ea: 687b ldr r3, [r7, #4]
- 80020ec: 6bdb ldr r3, [r3, #60] ; 0x3c
- 80020ee: 2b00 cmp r3, #0
- 80020f0: d009 beq.n 8002106 <HAL_RCCEx_PeriphCLKConfig+0x702>
+ 800208a: 687b ldr r3, [r7, #4]
+ 800208c: 681b ldr r3, [r3, #0]
+ 800208e: f403 2300 and.w r3, r3, #524288 ; 0x80000
+ 8002092: 2b00 cmp r3, #0
+ 8002094: d003 beq.n 800209e <HAL_RCCEx_PeriphCLKConfig+0x6ee>
+ 8002096: 687b ldr r3, [r7, #4]
+ 8002098: 6bdb ldr r3, [r3, #60] ; 0x3c
+ 800209a: 2b00 cmp r3, #0
+ 800209c: d009 beq.n 80020b2 <HAL_RCCEx_PeriphCLKConfig+0x702>
((((PeriphClkInit->PeriphClockSelection) & RCC_PERIPHCLK_SAI2) == RCC_PERIPHCLK_SAI2) && (PeriphClkInit->Sai2ClockSelection == RCC_SAI2CLKSOURCE_PLLSAI)))
- 80020f2: 687b ldr r3, [r7, #4]
- 80020f4: 681b ldr r3, [r3, #0]
- 80020f6: f403 1380 and.w r3, r3, #1048576 ; 0x100000
+ 800209e: 687b ldr r3, [r7, #4]
+ 80020a0: 681b ldr r3, [r3, #0]
+ 80020a2: f403 1380 and.w r3, r3, #1048576 ; 0x100000
if(((((PeriphClkInit->PeriphClockSelection) & RCC_PERIPHCLK_SAI1) == RCC_PERIPHCLK_SAI1) && (PeriphClkInit->Sai1ClockSelection == RCC_SAI1CLKSOURCE_PLLSAI)) ||\
- 80020fa: 2b00 cmp r3, #0
- 80020fc: d02e beq.n 800215c <HAL_RCCEx_PeriphCLKConfig+0x758>
+ 80020a6: 2b00 cmp r3, #0
+ 80020a8: d02e beq.n 8002108 <HAL_RCCEx_PeriphCLKConfig+0x758>
((((PeriphClkInit->PeriphClockSelection) & RCC_PERIPHCLK_SAI2) == RCC_PERIPHCLK_SAI2) && (PeriphClkInit->Sai2ClockSelection == RCC_SAI2CLKSOURCE_PLLSAI)))
- 80020fe: 687b ldr r3, [r7, #4]
- 8002100: 6c1b ldr r3, [r3, #64] ; 0x40
- 8002102: 2b00 cmp r3, #0
- 8002104: d12a bne.n 800215c <HAL_RCCEx_PeriphCLKConfig+0x758>
+ 80020aa: 687b ldr r3, [r7, #4]
+ 80020ac: 6c1b ldr r3, [r3, #64] ; 0x40
+ 80020ae: 2b00 cmp r3, #0
+ 80020b0: d12a bne.n 8002108 <HAL_RCCEx_PeriphCLKConfig+0x758>
assert_param(IS_RCC_PLLSAIQ_VALUE(PeriphClkInit->PLLSAI.PLLSAIQ));
/* check for PLLSAI/DIVQ Parameter */
assert_param(IS_RCC_PLLSAI_DIVQ_VALUE(PeriphClkInit->PLLSAIDivQ));
/* Read PLLSAIP value from PLLSAICFGR register (this value is not needed for SAI configuration) */
tmpreg0 = ((RCC->PLLSAICFGR & RCC_PLLSAICFGR_PLLSAIP) >> RCC_PLLSAICFGR_PLLSAIP_Pos);
- 8002106: 4b51 ldr r3, [pc, #324] ; (800224c <HAL_RCCEx_PeriphCLKConfig+0x848>)
- 8002108: f8d3 3088 ldr.w r3, [r3, #136] ; 0x88
- 800210c: 0c1b lsrs r3, r3, #16
- 800210e: f003 0303 and.w r3, r3, #3
- 8002112: 613b str r3, [r7, #16]
+ 80020b2: 4b51 ldr r3, [pc, #324] ; (80021f8 <HAL_RCCEx_PeriphCLKConfig+0x848>)
+ 80020b4: f8d3 3088 ldr.w r3, [r3, #136] ; 0x88
+ 80020b8: 0c1b lsrs r3, r3, #16
+ 80020ba: f003 0303 and.w r3, r3, #3
+ 80020be: 613b str r3, [r7, #16]
tmpreg1 = ((RCC->PLLSAICFGR & RCC_PLLI2SCFGR_PLLI2SR) >> RCC_PLLSAICFGR_PLLSAIR_Pos);
- 8002114: 4b4d ldr r3, [pc, #308] ; (800224c <HAL_RCCEx_PeriphCLKConfig+0x848>)
- 8002116: f8d3 3088 ldr.w r3, [r3, #136] ; 0x88
- 800211a: 0f1b lsrs r3, r3, #28
- 800211c: f003 0307 and.w r3, r3, #7
- 8002120: 60fb str r3, [r7, #12]
+ 80020c0: 4b4d ldr r3, [pc, #308] ; (80021f8 <HAL_RCCEx_PeriphCLKConfig+0x848>)
+ 80020c2: f8d3 3088 ldr.w r3, [r3, #136] ; 0x88
+ 80020c6: 0f1b lsrs r3, r3, #28
+ 80020c8: f003 0307 and.w r3, r3, #7
+ 80020cc: 60fb str r3, [r7, #12]
/* PLLSAI_VCO Input = PLL_SOURCE/PLLM */
/* PLLSAI_VCO Output = PLLSAI_VCO Input * PLLSAIN */
/* SAI_CLK(first level) = PLLSAI_VCO Output/PLLSAIQ */
__HAL_RCC_PLLSAI_CONFIG(PeriphClkInit->PLLSAI.PLLSAIN , tmpreg0, PeriphClkInit->PLLSAI.PLLSAIQ, tmpreg1);
- 8002122: 687b ldr r3, [r7, #4]
- 8002124: 695b ldr r3, [r3, #20]
- 8002126: 019a lsls r2, r3, #6
- 8002128: 693b ldr r3, [r7, #16]
- 800212a: 041b lsls r3, r3, #16
- 800212c: 431a orrs r2, r3
- 800212e: 687b ldr r3, [r7, #4]
- 8002130: 699b ldr r3, [r3, #24]
- 8002132: 061b lsls r3, r3, #24
- 8002134: 431a orrs r2, r3
- 8002136: 68fb ldr r3, [r7, #12]
- 8002138: 071b lsls r3, r3, #28
- 800213a: 4944 ldr r1, [pc, #272] ; (800224c <HAL_RCCEx_PeriphCLKConfig+0x848>)
- 800213c: 4313 orrs r3, r2
- 800213e: f8c1 3088 str.w r3, [r1, #136] ; 0x88
+ 80020ce: 687b ldr r3, [r7, #4]
+ 80020d0: 695b ldr r3, [r3, #20]
+ 80020d2: 019a lsls r2, r3, #6
+ 80020d4: 693b ldr r3, [r7, #16]
+ 80020d6: 041b lsls r3, r3, #16
+ 80020d8: 431a orrs r2, r3
+ 80020da: 687b ldr r3, [r7, #4]
+ 80020dc: 699b ldr r3, [r3, #24]
+ 80020de: 061b lsls r3, r3, #24
+ 80020e0: 431a orrs r2, r3
+ 80020e2: 68fb ldr r3, [r7, #12]
+ 80020e4: 071b lsls r3, r3, #28
+ 80020e6: 4944 ldr r1, [pc, #272] ; (80021f8 <HAL_RCCEx_PeriphCLKConfig+0x848>)
+ 80020e8: 4313 orrs r3, r2
+ 80020ea: f8c1 3088 str.w r3, [r1, #136] ; 0x88
/* SAI_CLK_x = SAI_CLK(first level)/PLLSAIDIVQ */
__HAL_RCC_PLLSAI_PLLSAICLKDIVQ_CONFIG(PeriphClkInit->PLLSAIDivQ);
- 8002142: 4b42 ldr r3, [pc, #264] ; (800224c <HAL_RCCEx_PeriphCLKConfig+0x848>)
- 8002144: f8d3 308c ldr.w r3, [r3, #140] ; 0x8c
- 8002148: f423 52f8 bic.w r2, r3, #7936 ; 0x1f00
- 800214c: 687b ldr r3, [r7, #4]
- 800214e: 6a9b ldr r3, [r3, #40] ; 0x28
- 8002150: 3b01 subs r3, #1
- 8002152: 021b lsls r3, r3, #8
- 8002154: 493d ldr r1, [pc, #244] ; (800224c <HAL_RCCEx_PeriphCLKConfig+0x848>)
- 8002156: 4313 orrs r3, r2
- 8002158: f8c1 308c str.w r3, [r1, #140] ; 0x8c
+ 80020ee: 4b42 ldr r3, [pc, #264] ; (80021f8 <HAL_RCCEx_PeriphCLKConfig+0x848>)
+ 80020f0: f8d3 308c ldr.w r3, [r3, #140] ; 0x8c
+ 80020f4: f423 52f8 bic.w r2, r3, #7936 ; 0x1f00
+ 80020f8: 687b ldr r3, [r7, #4]
+ 80020fa: 6a9b ldr r3, [r3, #40] ; 0x28
+ 80020fc: 3b01 subs r3, #1
+ 80020fe: 021b lsls r3, r3, #8
+ 8002100: 493d ldr r1, [pc, #244] ; (80021f8 <HAL_RCCEx_PeriphCLKConfig+0x848>)
+ 8002102: 4313 orrs r3, r2
+ 8002104: f8c1 308c str.w r3, [r1, #140] ; 0x8c
}
/*----------------- In Case of PLLSAI is selected as source clock for CLK48 -------------------*/
/* In Case of PLLI2S is selected as source clock for CK48 */
if((((PeriphClkInit->PeriphClockSelection) & RCC_PERIPHCLK_CLK48) == RCC_PERIPHCLK_CLK48) && (PeriphClkInit->Clk48ClockSelection == RCC_CLK48SOURCE_PLLSAIP))
- 800215c: 687b ldr r3, [r7, #4]
- 800215e: 681b ldr r3, [r3, #0]
- 8002160: f403 1300 and.w r3, r3, #2097152 ; 0x200000
- 8002164: 2b00 cmp r3, #0
- 8002166: d022 beq.n 80021ae <HAL_RCCEx_PeriphCLKConfig+0x7aa>
- 8002168: 687b ldr r3, [r7, #4]
- 800216a: 6fdb ldr r3, [r3, #124] ; 0x7c
- 800216c: f1b3 6f00 cmp.w r3, #134217728 ; 0x8000000
- 8002170: d11d bne.n 80021ae <HAL_RCCEx_PeriphCLKConfig+0x7aa>
+ 8002108: 687b ldr r3, [r7, #4]
+ 800210a: 681b ldr r3, [r3, #0]
+ 800210c: f403 1300 and.w r3, r3, #2097152 ; 0x200000
+ 8002110: 2b00 cmp r3, #0
+ 8002112: d022 beq.n 800215a <HAL_RCCEx_PeriphCLKConfig+0x7aa>
+ 8002114: 687b ldr r3, [r7, #4]
+ 8002116: 6fdb ldr r3, [r3, #124] ; 0x7c
+ 8002118: f1b3 6f00 cmp.w r3, #134217728 ; 0x8000000
+ 800211c: d11d bne.n 800215a <HAL_RCCEx_PeriphCLKConfig+0x7aa>
{
/* check for Parameters */
assert_param(IS_RCC_PLLSAIP_VALUE(PeriphClkInit->PLLSAI.PLLSAIP));
/* Read PLLSAIQ and PLLSAIR value from PLLSAICFGR register (this value is not needed for CK48 configuration) */
tmpreg0 = ((RCC->PLLSAICFGR & RCC_PLLSAICFGR_PLLSAIQ) >> RCC_PLLSAICFGR_PLLSAIQ_Pos);
- 8002172: 4b36 ldr r3, [pc, #216] ; (800224c <HAL_RCCEx_PeriphCLKConfig+0x848>)
- 8002174: f8d3 3088 ldr.w r3, [r3, #136] ; 0x88
- 8002178: 0e1b lsrs r3, r3, #24
- 800217a: f003 030f and.w r3, r3, #15
- 800217e: 613b str r3, [r7, #16]
+ 800211e: 4b36 ldr r3, [pc, #216] ; (80021f8 <HAL_RCCEx_PeriphCLKConfig+0x848>)
+ 8002120: f8d3 3088 ldr.w r3, [r3, #136] ; 0x88
+ 8002124: 0e1b lsrs r3, r3, #24
+ 8002126: f003 030f and.w r3, r3, #15
+ 800212a: 613b str r3, [r7, #16]
tmpreg1 = ((RCC->PLLSAICFGR & RCC_PLLSAICFGR_PLLSAIR) >> RCC_PLLSAICFGR_PLLSAIR_Pos);
- 8002180: 4b32 ldr r3, [pc, #200] ; (800224c <HAL_RCCEx_PeriphCLKConfig+0x848>)
- 8002182: f8d3 3088 ldr.w r3, [r3, #136] ; 0x88
- 8002186: 0f1b lsrs r3, r3, #28
- 8002188: f003 0307 and.w r3, r3, #7
- 800218c: 60fb str r3, [r7, #12]
+ 800212c: 4b32 ldr r3, [pc, #200] ; (80021f8 <HAL_RCCEx_PeriphCLKConfig+0x848>)
+ 800212e: f8d3 3088 ldr.w r3, [r3, #136] ; 0x88
+ 8002132: 0f1b lsrs r3, r3, #28
+ 8002134: f003 0307 and.w r3, r3, #7
+ 8002138: 60fb str r3, [r7, #12]
/* Configure the PLLSAI division factors */
/* PLLSAI_VCO = f(VCO clock) = f(PLLSAI clock input) x (PLLI2SN/PLLM) */
/* 48CLK = f(PLLSAI clock output) = f(VCO clock) / PLLSAIP */
__HAL_RCC_PLLSAI_CONFIG(PeriphClkInit->PLLSAI.PLLSAIN , PeriphClkInit->PLLSAI.PLLSAIP, tmpreg0, tmpreg1);
- 800218e: 687b ldr r3, [r7, #4]
- 8002190: 695b ldr r3, [r3, #20]
- 8002192: 019a lsls r2, r3, #6
- 8002194: 687b ldr r3, [r7, #4]
- 8002196: 6a1b ldr r3, [r3, #32]
- 8002198: 041b lsls r3, r3, #16
- 800219a: 431a orrs r2, r3
- 800219c: 693b ldr r3, [r7, #16]
- 800219e: 061b lsls r3, r3, #24
- 80021a0: 431a orrs r2, r3
- 80021a2: 68fb ldr r3, [r7, #12]
- 80021a4: 071b lsls r3, r3, #28
- 80021a6: 4929 ldr r1, [pc, #164] ; (800224c <HAL_RCCEx_PeriphCLKConfig+0x848>)
- 80021a8: 4313 orrs r3, r2
- 80021aa: f8c1 3088 str.w r3, [r1, #136] ; 0x88
+ 800213a: 687b ldr r3, [r7, #4]
+ 800213c: 695b ldr r3, [r3, #20]
+ 800213e: 019a lsls r2, r3, #6
+ 8002140: 687b ldr r3, [r7, #4]
+ 8002142: 6a1b ldr r3, [r3, #32]
+ 8002144: 041b lsls r3, r3, #16
+ 8002146: 431a orrs r2, r3
+ 8002148: 693b ldr r3, [r7, #16]
+ 800214a: 061b lsls r3, r3, #24
+ 800214c: 431a orrs r2, r3
+ 800214e: 68fb ldr r3, [r7, #12]
+ 8002150: 071b lsls r3, r3, #28
+ 8002152: 4929 ldr r1, [pc, #164] ; (80021f8 <HAL_RCCEx_PeriphCLKConfig+0x848>)
+ 8002154: 4313 orrs r3, r2
+ 8002156: f8c1 3088 str.w r3, [r1, #136] ; 0x88
}
#if defined(STM32F746xx) || defined(STM32F756xx) || defined (STM32F767xx) || defined (STM32F769xx) || defined (STM32F777xx) || defined (STM32F779xx) || defined (STM32F750xx)
/*---------------------------- LTDC configuration -------------------------------*/
if(((PeriphClkInit->PeriphClockSelection) & RCC_PERIPHCLK_LTDC) == (RCC_PERIPHCLK_LTDC))
- 80021ae: 687b ldr r3, [r7, #4]
- 80021b0: 681b ldr r3, [r3, #0]
- 80021b2: f003 0308 and.w r3, r3, #8
- 80021b6: 2b00 cmp r3, #0
- 80021b8: d028 beq.n 800220c <HAL_RCCEx_PeriphCLKConfig+0x808>
+ 800215a: 687b ldr r3, [r7, #4]
+ 800215c: 681b ldr r3, [r3, #0]
+ 800215e: f003 0308 and.w r3, r3, #8
+ 8002162: 2b00 cmp r3, #0
+ 8002164: d028 beq.n 80021b8 <HAL_RCCEx_PeriphCLKConfig+0x808>
{
assert_param(IS_RCC_PLLSAIR_VALUE(PeriphClkInit->PLLSAI.PLLSAIR));
assert_param(IS_RCC_PLLSAI_DIVR_VALUE(PeriphClkInit->PLLSAIDivR));
/* Read PLLSAIP and PLLSAIQ value from PLLSAICFGR register (these value are not needed for LTDC configuration) */
tmpreg0 = ((RCC->PLLSAICFGR & RCC_PLLSAICFGR_PLLSAIQ) >> RCC_PLLSAICFGR_PLLSAIQ_Pos);
- 80021ba: 4b24 ldr r3, [pc, #144] ; (800224c <HAL_RCCEx_PeriphCLKConfig+0x848>)
- 80021bc: f8d3 3088 ldr.w r3, [r3, #136] ; 0x88
- 80021c0: 0e1b lsrs r3, r3, #24
- 80021c2: f003 030f and.w r3, r3, #15
- 80021c6: 613b str r3, [r7, #16]
+ 8002166: 4b24 ldr r3, [pc, #144] ; (80021f8 <HAL_RCCEx_PeriphCLKConfig+0x848>)
+ 8002168: f8d3 3088 ldr.w r3, [r3, #136] ; 0x88
+ 800216c: 0e1b lsrs r3, r3, #24
+ 800216e: f003 030f and.w r3, r3, #15
+ 8002172: 613b str r3, [r7, #16]
tmpreg1 = ((RCC->PLLSAICFGR & RCC_PLLSAICFGR_PLLSAIP) >> RCC_PLLSAICFGR_PLLSAIP_Pos);
- 80021c8: 4b20 ldr r3, [pc, #128] ; (800224c <HAL_RCCEx_PeriphCLKConfig+0x848>)
- 80021ca: f8d3 3088 ldr.w r3, [r3, #136] ; 0x88
- 80021ce: 0c1b lsrs r3, r3, #16
- 80021d0: f003 0303 and.w r3, r3, #3
- 80021d4: 60fb str r3, [r7, #12]
+ 8002174: 4b20 ldr r3, [pc, #128] ; (80021f8 <HAL_RCCEx_PeriphCLKConfig+0x848>)
+ 8002176: f8d3 3088 ldr.w r3, [r3, #136] ; 0x88
+ 800217a: 0c1b lsrs r3, r3, #16
+ 800217c: f003 0303 and.w r3, r3, #3
+ 8002180: 60fb str r3, [r7, #12]
/* PLLSAI_VCO Input = PLL_SOURCE/PLLM */
/* PLLSAI_VCO Output = PLLSAI_VCO Input * PLLSAIN */
/* LTDC_CLK(first level) = PLLSAI_VCO Output/PLLSAIR */
__HAL_RCC_PLLSAI_CONFIG(PeriphClkInit->PLLSAI.PLLSAIN , tmpreg1, tmpreg0, PeriphClkInit->PLLSAI.PLLSAIR);
- 80021d6: 687b ldr r3, [r7, #4]
- 80021d8: 695b ldr r3, [r3, #20]
- 80021da: 019a lsls r2, r3, #6
- 80021dc: 68fb ldr r3, [r7, #12]
- 80021de: 041b lsls r3, r3, #16
- 80021e0: 431a orrs r2, r3
- 80021e2: 693b ldr r3, [r7, #16]
- 80021e4: 061b lsls r3, r3, #24
- 80021e6: 431a orrs r2, r3
- 80021e8: 687b ldr r3, [r7, #4]
- 80021ea: 69db ldr r3, [r3, #28]
- 80021ec: 071b lsls r3, r3, #28
- 80021ee: 4917 ldr r1, [pc, #92] ; (800224c <HAL_RCCEx_PeriphCLKConfig+0x848>)
- 80021f0: 4313 orrs r3, r2
- 80021f2: f8c1 3088 str.w r3, [r1, #136] ; 0x88
+ 8002182: 687b ldr r3, [r7, #4]
+ 8002184: 695b ldr r3, [r3, #20]
+ 8002186: 019a lsls r2, r3, #6
+ 8002188: 68fb ldr r3, [r7, #12]
+ 800218a: 041b lsls r3, r3, #16
+ 800218c: 431a orrs r2, r3
+ 800218e: 693b ldr r3, [r7, #16]
+ 8002190: 061b lsls r3, r3, #24
+ 8002192: 431a orrs r2, r3
+ 8002194: 687b ldr r3, [r7, #4]
+ 8002196: 69db ldr r3, [r3, #28]
+ 8002198: 071b lsls r3, r3, #28
+ 800219a: 4917 ldr r1, [pc, #92] ; (80021f8 <HAL_RCCEx_PeriphCLKConfig+0x848>)
+ 800219c: 4313 orrs r3, r2
+ 800219e: f8c1 3088 str.w r3, [r1, #136] ; 0x88
/* LTDC_CLK = LTDC_CLK(first level)/PLLSAIDIVR */
__HAL_RCC_PLLSAI_PLLSAICLKDIVR_CONFIG(PeriphClkInit->PLLSAIDivR);
- 80021f6: 4b15 ldr r3, [pc, #84] ; (800224c <HAL_RCCEx_PeriphCLKConfig+0x848>)
- 80021f8: f8d3 308c ldr.w r3, [r3, #140] ; 0x8c
- 80021fc: f423 3240 bic.w r2, r3, #196608 ; 0x30000
- 8002200: 687b ldr r3, [r7, #4]
- 8002202: 6adb ldr r3, [r3, #44] ; 0x2c
- 8002204: 4911 ldr r1, [pc, #68] ; (800224c <HAL_RCCEx_PeriphCLKConfig+0x848>)
- 8002206: 4313 orrs r3, r2
- 8002208: f8c1 308c str.w r3, [r1, #140] ; 0x8c
+ 80021a2: 4b15 ldr r3, [pc, #84] ; (80021f8 <HAL_RCCEx_PeriphCLKConfig+0x848>)
+ 80021a4: f8d3 308c ldr.w r3, [r3, #140] ; 0x8c
+ 80021a8: f423 3240 bic.w r2, r3, #196608 ; 0x30000
+ 80021ac: 687b ldr r3, [r7, #4]
+ 80021ae: 6adb ldr r3, [r3, #44] ; 0x2c
+ 80021b0: 4911 ldr r1, [pc, #68] ; (80021f8 <HAL_RCCEx_PeriphCLKConfig+0x848>)
+ 80021b2: 4313 orrs r3, r2
+ 80021b4: f8c1 308c str.w r3, [r1, #140] ; 0x8c
}
#endif /* STM32F746xx || STM32F756xx || STM32F767xx || STM32F769xx || STM32F777xx || STM32F779xx || STM32F750xx */
/* Enable PLLSAI Clock */
__HAL_RCC_PLLSAI_ENABLE();
- 800220c: 4b0f ldr r3, [pc, #60] ; (800224c <HAL_RCCEx_PeriphCLKConfig+0x848>)
- 800220e: 681b ldr r3, [r3, #0]
- 8002210: 4a0e ldr r2, [pc, #56] ; (800224c <HAL_RCCEx_PeriphCLKConfig+0x848>)
- 8002212: f043 5380 orr.w r3, r3, #268435456 ; 0x10000000
- 8002216: 6013 str r3, [r2, #0]
+ 80021b8: 4b0f ldr r3, [pc, #60] ; (80021f8 <HAL_RCCEx_PeriphCLKConfig+0x848>)
+ 80021ba: 681b ldr r3, [r3, #0]
+ 80021bc: 4a0e ldr r2, [pc, #56] ; (80021f8 <HAL_RCCEx_PeriphCLKConfig+0x848>)
+ 80021be: f043 5380 orr.w r3, r3, #268435456 ; 0x10000000
+ 80021c2: 6013 str r3, [r2, #0]
/* Get Start Tick*/
tickstart = HAL_GetTick();
- 8002218: f7fe fcca bl 8000bb0 <HAL_GetTick>
- 800221c: 6178 str r0, [r7, #20]
+ 80021c4: f7fe fcca bl 8000b5c <HAL_GetTick>
+ 80021c8: 6178 str r0, [r7, #20]
/* Wait till PLLSAI is ready */
while(__HAL_RCC_PLLSAI_GET_FLAG() == RESET)
- 800221e: e008 b.n 8002232 <HAL_RCCEx_PeriphCLKConfig+0x82e>
+ 80021ca: e008 b.n 80021de <HAL_RCCEx_PeriphCLKConfig+0x82e>
{
if((HAL_GetTick() - tickstart) > PLLSAI_TIMEOUT_VALUE)
- 8002220: f7fe fcc6 bl 8000bb0 <HAL_GetTick>
- 8002224: 4602 mov r2, r0
- 8002226: 697b ldr r3, [r7, #20]
- 8002228: 1ad3 subs r3, r2, r3
- 800222a: 2b64 cmp r3, #100 ; 0x64
- 800222c: d901 bls.n 8002232 <HAL_RCCEx_PeriphCLKConfig+0x82e>
+ 80021cc: f7fe fcc6 bl 8000b5c <HAL_GetTick>
+ 80021d0: 4602 mov r2, r0
+ 80021d2: 697b ldr r3, [r7, #20]
+ 80021d4: 1ad3 subs r3, r2, r3
+ 80021d6: 2b64 cmp r3, #100 ; 0x64
+ 80021d8: d901 bls.n 80021de <HAL_RCCEx_PeriphCLKConfig+0x82e>
{
/* return in case of Timeout detected */
return HAL_TIMEOUT;
- 800222e: 2303 movs r3, #3
- 8002230: e007 b.n 8002242 <HAL_RCCEx_PeriphCLKConfig+0x83e>
+ 80021da: 2303 movs r3, #3
+ 80021dc: e007 b.n 80021ee <HAL_RCCEx_PeriphCLKConfig+0x83e>
while(__HAL_RCC_PLLSAI_GET_FLAG() == RESET)
- 8002232: 4b06 ldr r3, [pc, #24] ; (800224c <HAL_RCCEx_PeriphCLKConfig+0x848>)
- 8002234: 681b ldr r3, [r3, #0]
- 8002236: f003 5300 and.w r3, r3, #536870912 ; 0x20000000
- 800223a: f1b3 5f00 cmp.w r3, #536870912 ; 0x20000000
- 800223e: d1ef bne.n 8002220 <HAL_RCCEx_PeriphCLKConfig+0x81c>
+ 80021de: 4b06 ldr r3, [pc, #24] ; (80021f8 <HAL_RCCEx_PeriphCLKConfig+0x848>)
+ 80021e0: 681b ldr r3, [r3, #0]
+ 80021e2: f003 5300 and.w r3, r3, #536870912 ; 0x20000000
+ 80021e6: f1b3 5f00 cmp.w r3, #536870912 ; 0x20000000
+ 80021ea: d1ef bne.n 80021cc <HAL_RCCEx_PeriphCLKConfig+0x81c>
}
}
}
return HAL_OK;
- 8002240: 2300 movs r3, #0
+ 80021ec: 2300 movs r3, #0
}
- 8002242: 4618 mov r0, r3
- 8002244: 3720 adds r7, #32
- 8002246: 46bd mov sp, r7
- 8002248: bd80 pop {r7, pc}
- 800224a: bf00 nop
- 800224c: 40023800 .word 0x40023800
-
-08002250 <HAL_TIM_Base_Init>:
+ 80021ee: 4618 mov r0, r3
+ 80021f0: 3720 adds r7, #32
+ 80021f2: 46bd mov sp, r7
+ 80021f4: bd80 pop {r7, pc}
+ 80021f6: bf00 nop
+ 80021f8: 40023800 .word 0x40023800
+
+080021fc <HAL_TIM_Base_Init>:
* Ex: call @ref HAL_TIM_Base_DeInit() before HAL_TIM_Base_Init()
* @param htim TIM Base handle
* @retval HAL status
*/
HAL_StatusTypeDef HAL_TIM_Base_Init(TIM_HandleTypeDef *htim)
{
- 8002250: b580 push {r7, lr}
- 8002252: b082 sub sp, #8
- 8002254: af00 add r7, sp, #0
- 8002256: 6078 str r0, [r7, #4]
+ 80021fc: b580 push {r7, lr}
+ 80021fe: b082 sub sp, #8
+ 8002200: af00 add r7, sp, #0
+ 8002202: 6078 str r0, [r7, #4]
/* Check the TIM handle allocation */
if (htim == NULL)
- 8002258: 687b ldr r3, [r7, #4]
- 800225a: 2b00 cmp r3, #0
- 800225c: d101 bne.n 8002262 <HAL_TIM_Base_Init+0x12>
+ 8002204: 687b ldr r3, [r7, #4]
+ 8002206: 2b00 cmp r3, #0
+ 8002208: d101 bne.n 800220e <HAL_TIM_Base_Init+0x12>
{
return HAL_ERROR;
- 800225e: 2301 movs r3, #1
- 8002260: e01d b.n 800229e <HAL_TIM_Base_Init+0x4e>
+ 800220a: 2301 movs r3, #1
+ 800220c: e01d b.n 800224a <HAL_TIM_Base_Init+0x4e>
assert_param(IS_TIM_INSTANCE(htim->Instance));
assert_param(IS_TIM_COUNTER_MODE(htim->Init.CounterMode));
assert_param(IS_TIM_CLOCKDIVISION_DIV(htim->Init.ClockDivision));
assert_param(IS_TIM_AUTORELOAD_PRELOAD(htim->Init.AutoReloadPreload));
if (htim->State == HAL_TIM_STATE_RESET)
- 8002262: 687b ldr r3, [r7, #4]
- 8002264: f893 303d ldrb.w r3, [r3, #61] ; 0x3d
- 8002268: b2db uxtb r3, r3
- 800226a: 2b00 cmp r3, #0
- 800226c: d106 bne.n 800227c <HAL_TIM_Base_Init+0x2c>
+ 800220e: 687b ldr r3, [r7, #4]
+ 8002210: f893 303d ldrb.w r3, [r3, #61] ; 0x3d
+ 8002214: b2db uxtb r3, r3
+ 8002216: 2b00 cmp r3, #0
+ 8002218: d106 bne.n 8002228 <HAL_TIM_Base_Init+0x2c>
{
/* Allocate lock resource and initialize it */
htim->Lock = HAL_UNLOCKED;
- 800226e: 687b ldr r3, [r7, #4]
- 8002270: 2200 movs r2, #0
- 8002272: f883 203c strb.w r2, [r3, #60] ; 0x3c
+ 800221a: 687b ldr r3, [r7, #4]
+ 800221c: 2200 movs r2, #0
+ 800221e: f883 203c strb.w r2, [r3, #60] ; 0x3c
}
/* Init the low level hardware : GPIO, CLOCK, NVIC */
htim->Base_MspInitCallback(htim);
#else
/* Init the low level hardware : GPIO, CLOCK, NVIC */
HAL_TIM_Base_MspInit(htim);
- 8002276: 6878 ldr r0, [r7, #4]
- 8002278: f7fe fb18 bl 80008ac <HAL_TIM_Base_MspInit>
+ 8002222: 6878 ldr r0, [r7, #4]
+ 8002224: f7fe fb36 bl 8000894 <HAL_TIM_Base_MspInit>
#endif /* USE_HAL_TIM_REGISTER_CALLBACKS */
}
/* Set the TIM state */
htim->State = HAL_TIM_STATE_BUSY;
- 800227c: 687b ldr r3, [r7, #4]
- 800227e: 2202 movs r2, #2
- 8002280: f883 203d strb.w r2, [r3, #61] ; 0x3d
+ 8002228: 687b ldr r3, [r7, #4]
+ 800222a: 2202 movs r2, #2
+ 800222c: f883 203d strb.w r2, [r3, #61] ; 0x3d
/* Set the Time Base configuration */
TIM_Base_SetConfig(htim->Instance, &htim->Init);
- 8002284: 687b ldr r3, [r7, #4]
- 8002286: 681a ldr r2, [r3, #0]
- 8002288: 687b ldr r3, [r7, #4]
- 800228a: 3304 adds r3, #4
- 800228c: 4619 mov r1, r3
- 800228e: 4610 mov r0, r2
- 8002290: f000 fa36 bl 8002700 <TIM_Base_SetConfig>
+ 8002230: 687b ldr r3, [r7, #4]
+ 8002232: 681a ldr r2, [r3, #0]
+ 8002234: 687b ldr r3, [r7, #4]
+ 8002236: 3304 adds r3, #4
+ 8002238: 4619 mov r1, r3
+ 800223a: 4610 mov r0, r2
+ 800223c: f000 fa36 bl 80026ac <TIM_Base_SetConfig>
/* Initialize the TIM state*/
htim->State = HAL_TIM_STATE_READY;
- 8002294: 687b ldr r3, [r7, #4]
- 8002296: 2201 movs r2, #1
- 8002298: f883 203d strb.w r2, [r3, #61] ; 0x3d
+ 8002240: 687b ldr r3, [r7, #4]
+ 8002242: 2201 movs r2, #1
+ 8002244: f883 203d strb.w r2, [r3, #61] ; 0x3d
return HAL_OK;
- 800229c: 2300 movs r3, #0
+ 8002248: 2300 movs r3, #0
}
- 800229e: 4618 mov r0, r3
- 80022a0: 3708 adds r7, #8
- 80022a2: 46bd mov sp, r7
- 80022a4: bd80 pop {r7, pc}
+ 800224a: 4618 mov r0, r3
+ 800224c: 3708 adds r7, #8
+ 800224e: 46bd mov sp, r7
+ 8002250: bd80 pop {r7, pc}
...
-080022a8 <HAL_TIM_Base_Start_IT>:
+08002254 <HAL_TIM_Base_Start_IT>:
* @brief Starts the TIM Base generation in interrupt mode.
* @param htim TIM Base handle
* @retval HAL status
*/
HAL_StatusTypeDef HAL_TIM_Base_Start_IT(TIM_HandleTypeDef *htim)
{
- 80022a8: b480 push {r7}
- 80022aa: b085 sub sp, #20
- 80022ac: af00 add r7, sp, #0
- 80022ae: 6078 str r0, [r7, #4]
+ 8002254: b480 push {r7}
+ 8002256: b085 sub sp, #20
+ 8002258: af00 add r7, sp, #0
+ 800225a: 6078 str r0, [r7, #4]
/* Check the parameters */
assert_param(IS_TIM_INSTANCE(htim->Instance));
/* Enable the TIM Update interrupt */
__HAL_TIM_ENABLE_IT(htim, TIM_IT_UPDATE);
- 80022b0: 687b ldr r3, [r7, #4]
- 80022b2: 681b ldr r3, [r3, #0]
- 80022b4: 68da ldr r2, [r3, #12]
- 80022b6: 687b ldr r3, [r7, #4]
- 80022b8: 681b ldr r3, [r3, #0]
- 80022ba: f042 0201 orr.w r2, r2, #1
- 80022be: 60da str r2, [r3, #12]
+ 800225c: 687b ldr r3, [r7, #4]
+ 800225e: 681b ldr r3, [r3, #0]
+ 8002260: 68da ldr r2, [r3, #12]
+ 8002262: 687b ldr r3, [r7, #4]
+ 8002264: 681b ldr r3, [r3, #0]
+ 8002266: f042 0201 orr.w r2, r2, #1
+ 800226a: 60da str r2, [r3, #12]
/* Enable the Peripheral, except in trigger mode where enable is automatically done with trigger */
tmpsmcr = htim->Instance->SMCR & TIM_SMCR_SMS;
- 80022c0: 687b ldr r3, [r7, #4]
- 80022c2: 681b ldr r3, [r3, #0]
- 80022c4: 689a ldr r2, [r3, #8]
- 80022c6: 4b0c ldr r3, [pc, #48] ; (80022f8 <HAL_TIM_Base_Start_IT+0x50>)
- 80022c8: 4013 ands r3, r2
- 80022ca: 60fb str r3, [r7, #12]
+ 800226c: 687b ldr r3, [r7, #4]
+ 800226e: 681b ldr r3, [r3, #0]
+ 8002270: 689a ldr r2, [r3, #8]
+ 8002272: 4b0c ldr r3, [pc, #48] ; (80022a4 <HAL_TIM_Base_Start_IT+0x50>)
+ 8002274: 4013 ands r3, r2
+ 8002276: 60fb str r3, [r7, #12]
if (!IS_TIM_SLAVEMODE_TRIGGER_ENABLED(tmpsmcr))
- 80022cc: 68fb ldr r3, [r7, #12]
- 80022ce: 2b06 cmp r3, #6
- 80022d0: d00b beq.n 80022ea <HAL_TIM_Base_Start_IT+0x42>
- 80022d2: 68fb ldr r3, [r7, #12]
- 80022d4: f5b3 3f80 cmp.w r3, #65536 ; 0x10000
- 80022d8: d007 beq.n 80022ea <HAL_TIM_Base_Start_IT+0x42>
+ 8002278: 68fb ldr r3, [r7, #12]
+ 800227a: 2b06 cmp r3, #6
+ 800227c: d00b beq.n 8002296 <HAL_TIM_Base_Start_IT+0x42>
+ 800227e: 68fb ldr r3, [r7, #12]
+ 8002280: f5b3 3f80 cmp.w r3, #65536 ; 0x10000
+ 8002284: d007 beq.n 8002296 <HAL_TIM_Base_Start_IT+0x42>
{
__HAL_TIM_ENABLE(htim);
- 80022da: 687b ldr r3, [r7, #4]
- 80022dc: 681b ldr r3, [r3, #0]
- 80022de: 681a ldr r2, [r3, #0]
- 80022e0: 687b ldr r3, [r7, #4]
- 80022e2: 681b ldr r3, [r3, #0]
- 80022e4: f042 0201 orr.w r2, r2, #1
- 80022e8: 601a str r2, [r3, #0]
+ 8002286: 687b ldr r3, [r7, #4]
+ 8002288: 681b ldr r3, [r3, #0]
+ 800228a: 681a ldr r2, [r3, #0]
+ 800228c: 687b ldr r3, [r7, #4]
+ 800228e: 681b ldr r3, [r3, #0]
+ 8002290: f042 0201 orr.w r2, r2, #1
+ 8002294: 601a str r2, [r3, #0]
}
/* Return function status */
return HAL_OK;
- 80022ea: 2300 movs r3, #0
+ 8002296: 2300 movs r3, #0
}
- 80022ec: 4618 mov r0, r3
- 80022ee: 3714 adds r7, #20
- 80022f0: 46bd mov sp, r7
- 80022f2: f85d 7b04 ldr.w r7, [sp], #4
- 80022f6: 4770 bx lr
- 80022f8: 00010007 .word 0x00010007
-
-080022fc <HAL_TIM_IRQHandler>:
+ 8002298: 4618 mov r0, r3
+ 800229a: 3714 adds r7, #20
+ 800229c: 46bd mov sp, r7
+ 800229e: f85d 7b04 ldr.w r7, [sp], #4
+ 80022a2: 4770 bx lr
+ 80022a4: 00010007 .word 0x00010007
+
+080022a8 <HAL_TIM_IRQHandler>:
* @brief This function handles TIM interrupts requests.
* @param htim TIM handle
* @retval None
*/
void HAL_TIM_IRQHandler(TIM_HandleTypeDef *htim)
{
- 80022fc: b580 push {r7, lr}
- 80022fe: b082 sub sp, #8
- 8002300: af00 add r7, sp, #0
- 8002302: 6078 str r0, [r7, #4]
+ 80022a8: b580 push {r7, lr}
+ 80022aa: b082 sub sp, #8
+ 80022ac: af00 add r7, sp, #0
+ 80022ae: 6078 str r0, [r7, #4]
/* Capture compare 1 event */
if (__HAL_TIM_GET_FLAG(htim, TIM_FLAG_CC1) != RESET)
+ 80022b0: 687b ldr r3, [r7, #4]
+ 80022b2: 681b ldr r3, [r3, #0]
+ 80022b4: 691b ldr r3, [r3, #16]
+ 80022b6: f003 0302 and.w r3, r3, #2
+ 80022ba: 2b02 cmp r3, #2
+ 80022bc: d122 bne.n 8002304 <HAL_TIM_IRQHandler+0x5c>
+ {
+ if (__HAL_TIM_GET_IT_SOURCE(htim, TIM_IT_CC1) != RESET)
+ 80022be: 687b ldr r3, [r7, #4]
+ 80022c0: 681b ldr r3, [r3, #0]
+ 80022c2: 68db ldr r3, [r3, #12]
+ 80022c4: f003 0302 and.w r3, r3, #2
+ 80022c8: 2b02 cmp r3, #2
+ 80022ca: d11b bne.n 8002304 <HAL_TIM_IRQHandler+0x5c>
+ {
+ {
+ __HAL_TIM_CLEAR_IT(htim, TIM_IT_CC1);
+ 80022cc: 687b ldr r3, [r7, #4]
+ 80022ce: 681b ldr r3, [r3, #0]
+ 80022d0: f06f 0202 mvn.w r2, #2
+ 80022d4: 611a str r2, [r3, #16]
+ htim->Channel = HAL_TIM_ACTIVE_CHANNEL_1;
+ 80022d6: 687b ldr r3, [r7, #4]
+ 80022d8: 2201 movs r2, #1
+ 80022da: 771a strb r2, [r3, #28]
+
+ /* Input capture event */
+ if ((htim->Instance->CCMR1 & TIM_CCMR1_CC1S) != 0x00U)
+ 80022dc: 687b ldr r3, [r7, #4]
+ 80022de: 681b ldr r3, [r3, #0]
+ 80022e0: 699b ldr r3, [r3, #24]
+ 80022e2: f003 0303 and.w r3, r3, #3
+ 80022e6: 2b00 cmp r3, #0
+ 80022e8: d003 beq.n 80022f2 <HAL_TIM_IRQHandler+0x4a>
+ {
+#if (USE_HAL_TIM_REGISTER_CALLBACKS == 1)
+ htim->IC_CaptureCallback(htim);
+#else
+ HAL_TIM_IC_CaptureCallback(htim);
+ 80022ea: 6878 ldr r0, [r7, #4]
+ 80022ec: f000 f9c0 bl 8002670 <HAL_TIM_IC_CaptureCallback>
+ 80022f0: e005 b.n 80022fe <HAL_TIM_IRQHandler+0x56>
+ {
+#if (USE_HAL_TIM_REGISTER_CALLBACKS == 1)
+ htim->OC_DelayElapsedCallback(htim);
+ htim->PWM_PulseFinishedCallback(htim);
+#else
+ HAL_TIM_OC_DelayElapsedCallback(htim);
+ 80022f2: 6878 ldr r0, [r7, #4]
+ 80022f4: f000 f9b2 bl 800265c <HAL_TIM_OC_DelayElapsedCallback>
+ HAL_TIM_PWM_PulseFinishedCallback(htim);
+ 80022f8: 6878 ldr r0, [r7, #4]
+ 80022fa: f000 f9c3 bl 8002684 <HAL_TIM_PWM_PulseFinishedCallback>
+#endif /* USE_HAL_TIM_REGISTER_CALLBACKS */
+ }
+ htim->Channel = HAL_TIM_ACTIVE_CHANNEL_CLEARED;
+ 80022fe: 687b ldr r3, [r7, #4]
+ 8002300: 2200 movs r2, #0
+ 8002302: 771a strb r2, [r3, #28]
+ }
+ }
+ }
+ /* Capture compare 2 event */
+ if (__HAL_TIM_GET_FLAG(htim, TIM_FLAG_CC2) != RESET)
8002304: 687b ldr r3, [r7, #4]
8002306: 681b ldr r3, [r3, #0]
8002308: 691b ldr r3, [r3, #16]
- 800230a: f003 0302 and.w r3, r3, #2
- 800230e: 2b02 cmp r3, #2
- 8002310: d122 bne.n 8002358 <HAL_TIM_IRQHandler+0x5c>
+ 800230a: f003 0304 and.w r3, r3, #4
+ 800230e: 2b04 cmp r3, #4
+ 8002310: d122 bne.n 8002358 <HAL_TIM_IRQHandler+0xb0>
{
- if (__HAL_TIM_GET_IT_SOURCE(htim, TIM_IT_CC1) != RESET)
+ if (__HAL_TIM_GET_IT_SOURCE(htim, TIM_IT_CC2) != RESET)
8002312: 687b ldr r3, [r7, #4]
8002314: 681b ldr r3, [r3, #0]
8002316: 68db ldr r3, [r3, #12]
- 8002318: f003 0302 and.w r3, r3, #2
- 800231c: 2b02 cmp r3, #2
- 800231e: d11b bne.n 8002358 <HAL_TIM_IRQHandler+0x5c>
+ 8002318: f003 0304 and.w r3, r3, #4
+ 800231c: 2b04 cmp r3, #4
+ 800231e: d11b bne.n 8002358 <HAL_TIM_IRQHandler+0xb0>
{
- {
- __HAL_TIM_CLEAR_IT(htim, TIM_IT_CC1);
+ __HAL_TIM_CLEAR_IT(htim, TIM_IT_CC2);
8002320: 687b ldr r3, [r7, #4]
8002322: 681b ldr r3, [r3, #0]
- 8002324: f06f 0202 mvn.w r2, #2
+ 8002324: f06f 0204 mvn.w r2, #4
8002328: 611a str r2, [r3, #16]
- htim->Channel = HAL_TIM_ACTIVE_CHANNEL_1;
+ htim->Channel = HAL_TIM_ACTIVE_CHANNEL_2;
800232a: 687b ldr r3, [r7, #4]
- 800232c: 2201 movs r2, #1
+ 800232c: 2202 movs r2, #2
800232e: 771a strb r2, [r3, #28]
-
- /* Input capture event */
- if ((htim->Instance->CCMR1 & TIM_CCMR1_CC1S) != 0x00U)
+ /* Input capture event */
+ if ((htim->Instance->CCMR1 & TIM_CCMR1_CC2S) != 0x00U)
8002330: 687b ldr r3, [r7, #4]
8002332: 681b ldr r3, [r3, #0]
8002334: 699b ldr r3, [r3, #24]
- 8002336: f003 0303 and.w r3, r3, #3
+ 8002336: f403 7340 and.w r3, r3, #768 ; 0x300
800233a: 2b00 cmp r3, #0
- 800233c: d003 beq.n 8002346 <HAL_TIM_IRQHandler+0x4a>
- {
+ 800233c: d003 beq.n 8002346 <HAL_TIM_IRQHandler+0x9e>
+ {
#if (USE_HAL_TIM_REGISTER_CALLBACKS == 1)
- htim->IC_CaptureCallback(htim);
+ htim->IC_CaptureCallback(htim);
#else
- HAL_TIM_IC_CaptureCallback(htim);
+ HAL_TIM_IC_CaptureCallback(htim);
800233e: 6878 ldr r0, [r7, #4]
- 8002340: f000 f9c0 bl 80026c4 <HAL_TIM_IC_CaptureCallback>
- 8002344: e005 b.n 8002352 <HAL_TIM_IRQHandler+0x56>
- {
+ 8002340: f000 f996 bl 8002670 <HAL_TIM_IC_CaptureCallback>
+ 8002344: e005 b.n 8002352 <HAL_TIM_IRQHandler+0xaa>
+ {
#if (USE_HAL_TIM_REGISTER_CALLBACKS == 1)
- htim->OC_DelayElapsedCallback(htim);
- htim->PWM_PulseFinishedCallback(htim);
+ htim->OC_DelayElapsedCallback(htim);
+ htim->PWM_PulseFinishedCallback(htim);
#else
- HAL_TIM_OC_DelayElapsedCallback(htim);
+ HAL_TIM_OC_DelayElapsedCallback(htim);
8002346: 6878 ldr r0, [r7, #4]
- 8002348: f000 f9b2 bl 80026b0 <HAL_TIM_OC_DelayElapsedCallback>
- HAL_TIM_PWM_PulseFinishedCallback(htim);
+ 8002348: f000 f988 bl 800265c <HAL_TIM_OC_DelayElapsedCallback>
+ HAL_TIM_PWM_PulseFinishedCallback(htim);
800234c: 6878 ldr r0, [r7, #4]
- 800234e: f000 f9c3 bl 80026d8 <HAL_TIM_PWM_PulseFinishedCallback>
+ 800234e: f000 f999 bl 8002684 <HAL_TIM_PWM_PulseFinishedCallback>
#endif /* USE_HAL_TIM_REGISTER_CALLBACKS */
- }
- htim->Channel = HAL_TIM_ACTIVE_CHANNEL_CLEARED;
+ }
+ htim->Channel = HAL_TIM_ACTIVE_CHANNEL_CLEARED;
8002352: 687b ldr r3, [r7, #4]
8002354: 2200 movs r2, #0
8002356: 771a strb r2, [r3, #28]
- }
}
}
- /* Capture compare 2 event */
- if (__HAL_TIM_GET_FLAG(htim, TIM_FLAG_CC2) != RESET)
+ /* Capture compare 3 event */
+ if (__HAL_TIM_GET_FLAG(htim, TIM_FLAG_CC3) != RESET)
8002358: 687b ldr r3, [r7, #4]
800235a: 681b ldr r3, [r3, #0]
800235c: 691b ldr r3, [r3, #16]
- 800235e: f003 0304 and.w r3, r3, #4
- 8002362: 2b04 cmp r3, #4
- 8002364: d122 bne.n 80023ac <HAL_TIM_IRQHandler+0xb0>
+ 800235e: f003 0308 and.w r3, r3, #8
+ 8002362: 2b08 cmp r3, #8
+ 8002364: d122 bne.n 80023ac <HAL_TIM_IRQHandler+0x104>
{
- if (__HAL_TIM_GET_IT_SOURCE(htim, TIM_IT_CC2) != RESET)
+ if (__HAL_TIM_GET_IT_SOURCE(htim, TIM_IT_CC3) != RESET)
8002366: 687b ldr r3, [r7, #4]
8002368: 681b ldr r3, [r3, #0]
800236a: 68db ldr r3, [r3, #12]
- 800236c: f003 0304 and.w r3, r3, #4
- 8002370: 2b04 cmp r3, #4
- 8002372: d11b bne.n 80023ac <HAL_TIM_IRQHandler+0xb0>
+ 800236c: f003 0308 and.w r3, r3, #8
+ 8002370: 2b08 cmp r3, #8
+ 8002372: d11b bne.n 80023ac <HAL_TIM_IRQHandler+0x104>
{
- __HAL_TIM_CLEAR_IT(htim, TIM_IT_CC2);
+ __HAL_TIM_CLEAR_IT(htim, TIM_IT_CC3);
8002374: 687b ldr r3, [r7, #4]
8002376: 681b ldr r3, [r3, #0]
- 8002378: f06f 0204 mvn.w r2, #4
+ 8002378: f06f 0208 mvn.w r2, #8
800237c: 611a str r2, [r3, #16]
- htim->Channel = HAL_TIM_ACTIVE_CHANNEL_2;
+ htim->Channel = HAL_TIM_ACTIVE_CHANNEL_3;
800237e: 687b ldr r3, [r7, #4]
- 8002380: 2202 movs r2, #2
+ 8002380: 2204 movs r2, #4
8002382: 771a strb r2, [r3, #28]
/* Input capture event */
- if ((htim->Instance->CCMR1 & TIM_CCMR1_CC2S) != 0x00U)
+ if ((htim->Instance->CCMR2 & TIM_CCMR2_CC3S) != 0x00U)
8002384: 687b ldr r3, [r7, #4]
8002386: 681b ldr r3, [r3, #0]
- 8002388: 699b ldr r3, [r3, #24]
- 800238a: f403 7340 and.w r3, r3, #768 ; 0x300
+ 8002388: 69db ldr r3, [r3, #28]
+ 800238a: f003 0303 and.w r3, r3, #3
800238e: 2b00 cmp r3, #0
- 8002390: d003 beq.n 800239a <HAL_TIM_IRQHandler+0x9e>
+ 8002390: d003 beq.n 800239a <HAL_TIM_IRQHandler+0xf2>
{
#if (USE_HAL_TIM_REGISTER_CALLBACKS == 1)
htim->IC_CaptureCallback(htim);
#else
HAL_TIM_IC_CaptureCallback(htim);
8002392: 6878 ldr r0, [r7, #4]
- 8002394: f000 f996 bl 80026c4 <HAL_TIM_IC_CaptureCallback>
- 8002398: e005 b.n 80023a6 <HAL_TIM_IRQHandler+0xaa>
+ 8002394: f000 f96c bl 8002670 <HAL_TIM_IC_CaptureCallback>
+ 8002398: e005 b.n 80023a6 <HAL_TIM_IRQHandler+0xfe>
{
#if (USE_HAL_TIM_REGISTER_CALLBACKS == 1)
htim->OC_DelayElapsedCallback(htim);
#else
HAL_TIM_OC_DelayElapsedCallback(htim);
800239a: 6878 ldr r0, [r7, #4]
- 800239c: f000 f988 bl 80026b0 <HAL_TIM_OC_DelayElapsedCallback>
+ 800239c: f000 f95e bl 800265c <HAL_TIM_OC_DelayElapsedCallback>
HAL_TIM_PWM_PulseFinishedCallback(htim);
80023a0: 6878 ldr r0, [r7, #4]
- 80023a2: f000 f999 bl 80026d8 <HAL_TIM_PWM_PulseFinishedCallback>
+ 80023a2: f000 f96f bl 8002684 <HAL_TIM_PWM_PulseFinishedCallback>
#endif /* USE_HAL_TIM_REGISTER_CALLBACKS */
}
htim->Channel = HAL_TIM_ACTIVE_CHANNEL_CLEARED;
80023aa: 771a strb r2, [r3, #28]
}
}
- /* Capture compare 3 event */
- if (__HAL_TIM_GET_FLAG(htim, TIM_FLAG_CC3) != RESET)
+ /* Capture compare 4 event */
+ if (__HAL_TIM_GET_FLAG(htim, TIM_FLAG_CC4) != RESET)
80023ac: 687b ldr r3, [r7, #4]
80023ae: 681b ldr r3, [r3, #0]
80023b0: 691b ldr r3, [r3, #16]
- 80023b2: f003 0308 and.w r3, r3, #8
- 80023b6: 2b08 cmp r3, #8
- 80023b8: d122 bne.n 8002400 <HAL_TIM_IRQHandler+0x104>
+ 80023b2: f003 0310 and.w r3, r3, #16
+ 80023b6: 2b10 cmp r3, #16
+ 80023b8: d122 bne.n 8002400 <HAL_TIM_IRQHandler+0x158>
{
- if (__HAL_TIM_GET_IT_SOURCE(htim, TIM_IT_CC3) != RESET)
+ if (__HAL_TIM_GET_IT_SOURCE(htim, TIM_IT_CC4) != RESET)
80023ba: 687b ldr r3, [r7, #4]
80023bc: 681b ldr r3, [r3, #0]
80023be: 68db ldr r3, [r3, #12]
- 80023c0: f003 0308 and.w r3, r3, #8
- 80023c4: 2b08 cmp r3, #8
- 80023c6: d11b bne.n 8002400 <HAL_TIM_IRQHandler+0x104>
+ 80023c0: f003 0310 and.w r3, r3, #16
+ 80023c4: 2b10 cmp r3, #16
+ 80023c6: d11b bne.n 8002400 <HAL_TIM_IRQHandler+0x158>
{
- __HAL_TIM_CLEAR_IT(htim, TIM_IT_CC3);
+ __HAL_TIM_CLEAR_IT(htim, TIM_IT_CC4);
80023c8: 687b ldr r3, [r7, #4]
80023ca: 681b ldr r3, [r3, #0]
- 80023cc: f06f 0208 mvn.w r2, #8
+ 80023cc: f06f 0210 mvn.w r2, #16
80023d0: 611a str r2, [r3, #16]
- htim->Channel = HAL_TIM_ACTIVE_CHANNEL_3;
+ htim->Channel = HAL_TIM_ACTIVE_CHANNEL_4;
80023d2: 687b ldr r3, [r7, #4]
- 80023d4: 2204 movs r2, #4
+ 80023d4: 2208 movs r2, #8
80023d6: 771a strb r2, [r3, #28]
/* Input capture event */
- if ((htim->Instance->CCMR2 & TIM_CCMR2_CC3S) != 0x00U)
+ if ((htim->Instance->CCMR2 & TIM_CCMR2_CC4S) != 0x00U)
80023d8: 687b ldr r3, [r7, #4]
80023da: 681b ldr r3, [r3, #0]
80023dc: 69db ldr r3, [r3, #28]
- 80023de: f003 0303 and.w r3, r3, #3
+ 80023de: f403 7340 and.w r3, r3, #768 ; 0x300
80023e2: 2b00 cmp r3, #0
- 80023e4: d003 beq.n 80023ee <HAL_TIM_IRQHandler+0xf2>
+ 80023e4: d003 beq.n 80023ee <HAL_TIM_IRQHandler+0x146>
{
#if (USE_HAL_TIM_REGISTER_CALLBACKS == 1)
htim->IC_CaptureCallback(htim);
#else
HAL_TIM_IC_CaptureCallback(htim);
80023e6: 6878 ldr r0, [r7, #4]
- 80023e8: f000 f96c bl 80026c4 <HAL_TIM_IC_CaptureCallback>
- 80023ec: e005 b.n 80023fa <HAL_TIM_IRQHandler+0xfe>
+ 80023e8: f000 f942 bl 8002670 <HAL_TIM_IC_CaptureCallback>
+ 80023ec: e005 b.n 80023fa <HAL_TIM_IRQHandler+0x152>
{
#if (USE_HAL_TIM_REGISTER_CALLBACKS == 1)
htim->OC_DelayElapsedCallback(htim);
#else
HAL_TIM_OC_DelayElapsedCallback(htim);
80023ee: 6878 ldr r0, [r7, #4]
- 80023f0: f000 f95e bl 80026b0 <HAL_TIM_OC_DelayElapsedCallback>
+ 80023f0: f000 f934 bl 800265c <HAL_TIM_OC_DelayElapsedCallback>
HAL_TIM_PWM_PulseFinishedCallback(htim);
80023f4: 6878 ldr r0, [r7, #4]
- 80023f6: f000 f96f bl 80026d8 <HAL_TIM_PWM_PulseFinishedCallback>
+ 80023f6: f000 f945 bl 8002684 <HAL_TIM_PWM_PulseFinishedCallback>
#endif /* USE_HAL_TIM_REGISTER_CALLBACKS */
}
htim->Channel = HAL_TIM_ACTIVE_CHANNEL_CLEARED;
80023fe: 771a strb r2, [r3, #28]
}
}
- /* Capture compare 4 event */
- if (__HAL_TIM_GET_FLAG(htim, TIM_FLAG_CC4) != RESET)
+ /* TIM Update event */
+ if (__HAL_TIM_GET_FLAG(htim, TIM_FLAG_UPDATE) != RESET)
8002400: 687b ldr r3, [r7, #4]
8002402: 681b ldr r3, [r3, #0]
8002404: 691b ldr r3, [r3, #16]
- 8002406: f003 0310 and.w r3, r3, #16
- 800240a: 2b10 cmp r3, #16
- 800240c: d122 bne.n 8002454 <HAL_TIM_IRQHandler+0x158>
+ 8002406: f003 0301 and.w r3, r3, #1
+ 800240a: 2b01 cmp r3, #1
+ 800240c: d10e bne.n 800242c <HAL_TIM_IRQHandler+0x184>
{
- if (__HAL_TIM_GET_IT_SOURCE(htim, TIM_IT_CC4) != RESET)
+ if (__HAL_TIM_GET_IT_SOURCE(htim, TIM_IT_UPDATE) != RESET)
800240e: 687b ldr r3, [r7, #4]
8002410: 681b ldr r3, [r3, #0]
8002412: 68db ldr r3, [r3, #12]
- 8002414: f003 0310 and.w r3, r3, #16
- 8002418: 2b10 cmp r3, #16
- 800241a: d11b bne.n 8002454 <HAL_TIM_IRQHandler+0x158>
+ 8002414: f003 0301 and.w r3, r3, #1
+ 8002418: 2b01 cmp r3, #1
+ 800241a: d107 bne.n 800242c <HAL_TIM_IRQHandler+0x184>
{
- __HAL_TIM_CLEAR_IT(htim, TIM_IT_CC4);
+ __HAL_TIM_CLEAR_IT(htim, TIM_IT_UPDATE);
800241c: 687b ldr r3, [r7, #4]
800241e: 681b ldr r3, [r3, #0]
- 8002420: f06f 0210 mvn.w r2, #16
+ 8002420: f06f 0201 mvn.w r2, #1
8002424: 611a str r2, [r3, #16]
- htim->Channel = HAL_TIM_ACTIVE_CHANNEL_4;
- 8002426: 687b ldr r3, [r7, #4]
- 8002428: 2208 movs r2, #8
- 800242a: 771a strb r2, [r3, #28]
- /* Input capture event */
- if ((htim->Instance->CCMR2 & TIM_CCMR2_CC4S) != 0x00U)
- 800242c: 687b ldr r3, [r7, #4]
- 800242e: 681b ldr r3, [r3, #0]
- 8002430: 69db ldr r3, [r3, #28]
- 8002432: f403 7340 and.w r3, r3, #768 ; 0x300
- 8002436: 2b00 cmp r3, #0
- 8002438: d003 beq.n 8002442 <HAL_TIM_IRQHandler+0x146>
- {
-#if (USE_HAL_TIM_REGISTER_CALLBACKS == 1)
- htim->IC_CaptureCallback(htim);
-#else
- HAL_TIM_IC_CaptureCallback(htim);
- 800243a: 6878 ldr r0, [r7, #4]
- 800243c: f000 f942 bl 80026c4 <HAL_TIM_IC_CaptureCallback>
- 8002440: e005 b.n 800244e <HAL_TIM_IRQHandler+0x152>
- {
-#if (USE_HAL_TIM_REGISTER_CALLBACKS == 1)
- htim->OC_DelayElapsedCallback(htim);
- htim->PWM_PulseFinishedCallback(htim);
-#else
- HAL_TIM_OC_DelayElapsedCallback(htim);
- 8002442: 6878 ldr r0, [r7, #4]
- 8002444: f000 f934 bl 80026b0 <HAL_TIM_OC_DelayElapsedCallback>
- HAL_TIM_PWM_PulseFinishedCallback(htim);
- 8002448: 6878 ldr r0, [r7, #4]
- 800244a: f000 f945 bl 80026d8 <HAL_TIM_PWM_PulseFinishedCallback>
-#endif /* USE_HAL_TIM_REGISTER_CALLBACKS */
- }
- htim->Channel = HAL_TIM_ACTIVE_CHANNEL_CLEARED;
- 800244e: 687b ldr r3, [r7, #4]
- 8002450: 2200 movs r2, #0
- 8002452: 771a strb r2, [r3, #28]
- }
- }
- /* TIM Update event */
- if (__HAL_TIM_GET_FLAG(htim, TIM_FLAG_UPDATE) != RESET)
- 8002454: 687b ldr r3, [r7, #4]
- 8002456: 681b ldr r3, [r3, #0]
- 8002458: 691b ldr r3, [r3, #16]
- 800245a: f003 0301 and.w r3, r3, #1
- 800245e: 2b01 cmp r3, #1
- 8002460: d10e bne.n 8002480 <HAL_TIM_IRQHandler+0x184>
- {
- if (__HAL_TIM_GET_IT_SOURCE(htim, TIM_IT_UPDATE) != RESET)
- 8002462: 687b ldr r3, [r7, #4]
- 8002464: 681b ldr r3, [r3, #0]
- 8002466: 68db ldr r3, [r3, #12]
- 8002468: f003 0301 and.w r3, r3, #1
- 800246c: 2b01 cmp r3, #1
- 800246e: d107 bne.n 8002480 <HAL_TIM_IRQHandler+0x184>
- {
- __HAL_TIM_CLEAR_IT(htim, TIM_IT_UPDATE);
- 8002470: 687b ldr r3, [r7, #4]
- 8002472: 681b ldr r3, [r3, #0]
- 8002474: f06f 0201 mvn.w r2, #1
- 8002478: 611a str r2, [r3, #16]
#if (USE_HAL_TIM_REGISTER_CALLBACKS == 1)
htim->PeriodElapsedCallback(htim);
#else
HAL_TIM_PeriodElapsedCallback(htim);
- 800247a: 6878 ldr r0, [r7, #4]
- 800247c: f7fe f9b2 bl 80007e4 <HAL_TIM_PeriodElapsedCallback>
+ 8002426: 6878 ldr r0, [r7, #4]
+ 8002428: f7fe f9d0 bl 80007cc <HAL_TIM_PeriodElapsedCallback>
#endif /* USE_HAL_TIM_REGISTER_CALLBACKS */
}
}
/* TIM Break input event */
if (__HAL_TIM_GET_FLAG(htim, TIM_FLAG_BREAK) != RESET)
- 8002480: 687b ldr r3, [r7, #4]
- 8002482: 681b ldr r3, [r3, #0]
- 8002484: 691b ldr r3, [r3, #16]
- 8002486: f003 0380 and.w r3, r3, #128 ; 0x80
- 800248a: 2b80 cmp r3, #128 ; 0x80
- 800248c: d10e bne.n 80024ac <HAL_TIM_IRQHandler+0x1b0>
+ 800242c: 687b ldr r3, [r7, #4]
+ 800242e: 681b ldr r3, [r3, #0]
+ 8002430: 691b ldr r3, [r3, #16]
+ 8002432: f003 0380 and.w r3, r3, #128 ; 0x80
+ 8002436: 2b80 cmp r3, #128 ; 0x80
+ 8002438: d10e bne.n 8002458 <HAL_TIM_IRQHandler+0x1b0>
{
if (__HAL_TIM_GET_IT_SOURCE(htim, TIM_IT_BREAK) != RESET)
- 800248e: 687b ldr r3, [r7, #4]
- 8002490: 681b ldr r3, [r3, #0]
- 8002492: 68db ldr r3, [r3, #12]
- 8002494: f003 0380 and.w r3, r3, #128 ; 0x80
- 8002498: 2b80 cmp r3, #128 ; 0x80
- 800249a: d107 bne.n 80024ac <HAL_TIM_IRQHandler+0x1b0>
+ 800243a: 687b ldr r3, [r7, #4]
+ 800243c: 681b ldr r3, [r3, #0]
+ 800243e: 68db ldr r3, [r3, #12]
+ 8002440: f003 0380 and.w r3, r3, #128 ; 0x80
+ 8002444: 2b80 cmp r3, #128 ; 0x80
+ 8002446: d107 bne.n 8002458 <HAL_TIM_IRQHandler+0x1b0>
{
__HAL_TIM_CLEAR_IT(htim, TIM_IT_BREAK);
- 800249c: 687b ldr r3, [r7, #4]
- 800249e: 681b ldr r3, [r3, #0]
- 80024a0: f06f 0280 mvn.w r2, #128 ; 0x80
- 80024a4: 611a str r2, [r3, #16]
+ 8002448: 687b ldr r3, [r7, #4]
+ 800244a: 681b ldr r3, [r3, #0]
+ 800244c: f06f 0280 mvn.w r2, #128 ; 0x80
+ 8002450: 611a str r2, [r3, #16]
#if (USE_HAL_TIM_REGISTER_CALLBACKS == 1)
htim->BreakCallback(htim);
#else
HAL_TIMEx_BreakCallback(htim);
- 80024a6: 6878 ldr r0, [r7, #4]
- 80024a8: f000 faca bl 8002a40 <HAL_TIMEx_BreakCallback>
+ 8002452: 6878 ldr r0, [r7, #4]
+ 8002454: f000 faca bl 80029ec <HAL_TIMEx_BreakCallback>
#endif /* USE_HAL_TIM_REGISTER_CALLBACKS */
}
}
/* TIM Break2 input event */
if (__HAL_TIM_GET_FLAG(htim, TIM_FLAG_BREAK2) != RESET)
- 80024ac: 687b ldr r3, [r7, #4]
- 80024ae: 681b ldr r3, [r3, #0]
- 80024b0: 691b ldr r3, [r3, #16]
- 80024b2: f403 7380 and.w r3, r3, #256 ; 0x100
- 80024b6: f5b3 7f80 cmp.w r3, #256 ; 0x100
- 80024ba: d10e bne.n 80024da <HAL_TIM_IRQHandler+0x1de>
+ 8002458: 687b ldr r3, [r7, #4]
+ 800245a: 681b ldr r3, [r3, #0]
+ 800245c: 691b ldr r3, [r3, #16]
+ 800245e: f403 7380 and.w r3, r3, #256 ; 0x100
+ 8002462: f5b3 7f80 cmp.w r3, #256 ; 0x100
+ 8002466: d10e bne.n 8002486 <HAL_TIM_IRQHandler+0x1de>
{
if (__HAL_TIM_GET_IT_SOURCE(htim, TIM_IT_BREAK) != RESET)
- 80024bc: 687b ldr r3, [r7, #4]
- 80024be: 681b ldr r3, [r3, #0]
- 80024c0: 68db ldr r3, [r3, #12]
- 80024c2: f003 0380 and.w r3, r3, #128 ; 0x80
- 80024c6: 2b80 cmp r3, #128 ; 0x80
- 80024c8: d107 bne.n 80024da <HAL_TIM_IRQHandler+0x1de>
+ 8002468: 687b ldr r3, [r7, #4]
+ 800246a: 681b ldr r3, [r3, #0]
+ 800246c: 68db ldr r3, [r3, #12]
+ 800246e: f003 0380 and.w r3, r3, #128 ; 0x80
+ 8002472: 2b80 cmp r3, #128 ; 0x80
+ 8002474: d107 bne.n 8002486 <HAL_TIM_IRQHandler+0x1de>
{
__HAL_TIM_CLEAR_FLAG(htim, TIM_FLAG_BREAK2);
- 80024ca: 687b ldr r3, [r7, #4]
- 80024cc: 681b ldr r3, [r3, #0]
- 80024ce: f46f 7280 mvn.w r2, #256 ; 0x100
- 80024d2: 611a str r2, [r3, #16]
+ 8002476: 687b ldr r3, [r7, #4]
+ 8002478: 681b ldr r3, [r3, #0]
+ 800247a: f46f 7280 mvn.w r2, #256 ; 0x100
+ 800247e: 611a str r2, [r3, #16]
#if (USE_HAL_TIM_REGISTER_CALLBACKS == 1)
htim->Break2Callback(htim);
#else
HAL_TIMEx_Break2Callback(htim);
- 80024d4: 6878 ldr r0, [r7, #4]
- 80024d6: f000 fabd bl 8002a54 <HAL_TIMEx_Break2Callback>
+ 8002480: 6878 ldr r0, [r7, #4]
+ 8002482: f000 fabd bl 8002a00 <HAL_TIMEx_Break2Callback>
#endif /* USE_HAL_TIM_REGISTER_CALLBACKS */
}
}
/* TIM Trigger detection event */
if (__HAL_TIM_GET_FLAG(htim, TIM_FLAG_TRIGGER) != RESET)
- 80024da: 687b ldr r3, [r7, #4]
- 80024dc: 681b ldr r3, [r3, #0]
- 80024de: 691b ldr r3, [r3, #16]
- 80024e0: f003 0340 and.w r3, r3, #64 ; 0x40
- 80024e4: 2b40 cmp r3, #64 ; 0x40
- 80024e6: d10e bne.n 8002506 <HAL_TIM_IRQHandler+0x20a>
+ 8002486: 687b ldr r3, [r7, #4]
+ 8002488: 681b ldr r3, [r3, #0]
+ 800248a: 691b ldr r3, [r3, #16]
+ 800248c: f003 0340 and.w r3, r3, #64 ; 0x40
+ 8002490: 2b40 cmp r3, #64 ; 0x40
+ 8002492: d10e bne.n 80024b2 <HAL_TIM_IRQHandler+0x20a>
{
if (__HAL_TIM_GET_IT_SOURCE(htim, TIM_IT_TRIGGER) != RESET)
- 80024e8: 687b ldr r3, [r7, #4]
- 80024ea: 681b ldr r3, [r3, #0]
- 80024ec: 68db ldr r3, [r3, #12]
- 80024ee: f003 0340 and.w r3, r3, #64 ; 0x40
- 80024f2: 2b40 cmp r3, #64 ; 0x40
- 80024f4: d107 bne.n 8002506 <HAL_TIM_IRQHandler+0x20a>
+ 8002494: 687b ldr r3, [r7, #4]
+ 8002496: 681b ldr r3, [r3, #0]
+ 8002498: 68db ldr r3, [r3, #12]
+ 800249a: f003 0340 and.w r3, r3, #64 ; 0x40
+ 800249e: 2b40 cmp r3, #64 ; 0x40
+ 80024a0: d107 bne.n 80024b2 <HAL_TIM_IRQHandler+0x20a>
{
__HAL_TIM_CLEAR_IT(htim, TIM_IT_TRIGGER);
- 80024f6: 687b ldr r3, [r7, #4]
- 80024f8: 681b ldr r3, [r3, #0]
- 80024fa: f06f 0240 mvn.w r2, #64 ; 0x40
- 80024fe: 611a str r2, [r3, #16]
+ 80024a2: 687b ldr r3, [r7, #4]
+ 80024a4: 681b ldr r3, [r3, #0]
+ 80024a6: f06f 0240 mvn.w r2, #64 ; 0x40
+ 80024aa: 611a str r2, [r3, #16]
#if (USE_HAL_TIM_REGISTER_CALLBACKS == 1)
htim->TriggerCallback(htim);
#else
HAL_TIM_TriggerCallback(htim);
- 8002500: 6878 ldr r0, [r7, #4]
- 8002502: f000 f8f3 bl 80026ec <HAL_TIM_TriggerCallback>
+ 80024ac: 6878 ldr r0, [r7, #4]
+ 80024ae: f000 f8f3 bl 8002698 <HAL_TIM_TriggerCallback>
#endif /* USE_HAL_TIM_REGISTER_CALLBACKS */
}
}
/* TIM commutation event */
if (__HAL_TIM_GET_FLAG(htim, TIM_FLAG_COM) != RESET)
- 8002506: 687b ldr r3, [r7, #4]
- 8002508: 681b ldr r3, [r3, #0]
- 800250a: 691b ldr r3, [r3, #16]
- 800250c: f003 0320 and.w r3, r3, #32
- 8002510: 2b20 cmp r3, #32
- 8002512: d10e bne.n 8002532 <HAL_TIM_IRQHandler+0x236>
+ 80024b2: 687b ldr r3, [r7, #4]
+ 80024b4: 681b ldr r3, [r3, #0]
+ 80024b6: 691b ldr r3, [r3, #16]
+ 80024b8: f003 0320 and.w r3, r3, #32
+ 80024bc: 2b20 cmp r3, #32
+ 80024be: d10e bne.n 80024de <HAL_TIM_IRQHandler+0x236>
{
if (__HAL_TIM_GET_IT_SOURCE(htim, TIM_IT_COM) != RESET)
- 8002514: 687b ldr r3, [r7, #4]
- 8002516: 681b ldr r3, [r3, #0]
- 8002518: 68db ldr r3, [r3, #12]
- 800251a: f003 0320 and.w r3, r3, #32
- 800251e: 2b20 cmp r3, #32
- 8002520: d107 bne.n 8002532 <HAL_TIM_IRQHandler+0x236>
+ 80024c0: 687b ldr r3, [r7, #4]
+ 80024c2: 681b ldr r3, [r3, #0]
+ 80024c4: 68db ldr r3, [r3, #12]
+ 80024c6: f003 0320 and.w r3, r3, #32
+ 80024ca: 2b20 cmp r3, #32
+ 80024cc: d107 bne.n 80024de <HAL_TIM_IRQHandler+0x236>
{
__HAL_TIM_CLEAR_IT(htim, TIM_FLAG_COM);
- 8002522: 687b ldr r3, [r7, #4]
- 8002524: 681b ldr r3, [r3, #0]
- 8002526: f06f 0220 mvn.w r2, #32
- 800252a: 611a str r2, [r3, #16]
+ 80024ce: 687b ldr r3, [r7, #4]
+ 80024d0: 681b ldr r3, [r3, #0]
+ 80024d2: f06f 0220 mvn.w r2, #32
+ 80024d6: 611a str r2, [r3, #16]
#if (USE_HAL_TIM_REGISTER_CALLBACKS == 1)
htim->CommutationCallback(htim);
#else
HAL_TIMEx_CommutCallback(htim);
- 800252c: 6878 ldr r0, [r7, #4]
- 800252e: f000 fa7d bl 8002a2c <HAL_TIMEx_CommutCallback>
+ 80024d8: 6878 ldr r0, [r7, #4]
+ 80024da: f000 fa7d bl 80029d8 <HAL_TIMEx_CommutCallback>
#endif /* USE_HAL_TIM_REGISTER_CALLBACKS */
}
}
}
- 8002532: bf00 nop
- 8002534: 3708 adds r7, #8
- 8002536: 46bd mov sp, r7
- 8002538: bd80 pop {r7, pc}
+ 80024de: bf00 nop
+ 80024e0: 3708 adds r7, #8
+ 80024e2: 46bd mov sp, r7
+ 80024e4: bd80 pop {r7, pc}
...
-0800253c <HAL_TIM_ConfigClockSource>:
+080024e8 <HAL_TIM_ConfigClockSource>:
* @param sClockSourceConfig pointer to a TIM_ClockConfigTypeDef structure that
* contains the clock source information for the TIM peripheral.
* @retval HAL status
*/
HAL_StatusTypeDef HAL_TIM_ConfigClockSource(TIM_HandleTypeDef *htim, TIM_ClockConfigTypeDef *sClockSourceConfig)
{
- 800253c: b580 push {r7, lr}
- 800253e: b084 sub sp, #16
- 8002540: af00 add r7, sp, #0
- 8002542: 6078 str r0, [r7, #4]
- 8002544: 6039 str r1, [r7, #0]
+ 80024e8: b580 push {r7, lr}
+ 80024ea: b084 sub sp, #16
+ 80024ec: af00 add r7, sp, #0
+ 80024ee: 6078 str r0, [r7, #4]
+ 80024f0: 6039 str r1, [r7, #0]
uint32_t tmpsmcr;
/* Process Locked */
__HAL_LOCK(htim);
- 8002546: 687b ldr r3, [r7, #4]
- 8002548: f893 303c ldrb.w r3, [r3, #60] ; 0x3c
- 800254c: 2b01 cmp r3, #1
- 800254e: d101 bne.n 8002554 <HAL_TIM_ConfigClockSource+0x18>
- 8002550: 2302 movs r3, #2
- 8002552: e0a6 b.n 80026a2 <HAL_TIM_ConfigClockSource+0x166>
- 8002554: 687b ldr r3, [r7, #4]
- 8002556: 2201 movs r2, #1
- 8002558: f883 203c strb.w r2, [r3, #60] ; 0x3c
+ 80024f2: 687b ldr r3, [r7, #4]
+ 80024f4: f893 303c ldrb.w r3, [r3, #60] ; 0x3c
+ 80024f8: 2b01 cmp r3, #1
+ 80024fa: d101 bne.n 8002500 <HAL_TIM_ConfigClockSource+0x18>
+ 80024fc: 2302 movs r3, #2
+ 80024fe: e0a6 b.n 800264e <HAL_TIM_ConfigClockSource+0x166>
+ 8002500: 687b ldr r3, [r7, #4]
+ 8002502: 2201 movs r2, #1
+ 8002504: f883 203c strb.w r2, [r3, #60] ; 0x3c
htim->State = HAL_TIM_STATE_BUSY;
- 800255c: 687b ldr r3, [r7, #4]
- 800255e: 2202 movs r2, #2
- 8002560: f883 203d strb.w r2, [r3, #61] ; 0x3d
+ 8002508: 687b ldr r3, [r7, #4]
+ 800250a: 2202 movs r2, #2
+ 800250c: f883 203d strb.w r2, [r3, #61] ; 0x3d
/* Check the parameters */
assert_param(IS_TIM_CLOCKSOURCE(sClockSourceConfig->ClockSource));
/* Reset the SMS, TS, ECE, ETPS and ETRF bits */
tmpsmcr = htim->Instance->SMCR;
- 8002564: 687b ldr r3, [r7, #4]
- 8002566: 681b ldr r3, [r3, #0]
- 8002568: 689b ldr r3, [r3, #8]
- 800256a: 60fb str r3, [r7, #12]
+ 8002510: 687b ldr r3, [r7, #4]
+ 8002512: 681b ldr r3, [r3, #0]
+ 8002514: 689b ldr r3, [r3, #8]
+ 8002516: 60fb str r3, [r7, #12]
tmpsmcr &= ~(TIM_SMCR_SMS | TIM_SMCR_TS);
- 800256c: 68fa ldr r2, [r7, #12]
- 800256e: 4b4f ldr r3, [pc, #316] ; (80026ac <HAL_TIM_ConfigClockSource+0x170>)
- 8002570: 4013 ands r3, r2
- 8002572: 60fb str r3, [r7, #12]
+ 8002518: 68fa ldr r2, [r7, #12]
+ 800251a: 4b4f ldr r3, [pc, #316] ; (8002658 <HAL_TIM_ConfigClockSource+0x170>)
+ 800251c: 4013 ands r3, r2
+ 800251e: 60fb str r3, [r7, #12]
tmpsmcr &= ~(TIM_SMCR_ETF | TIM_SMCR_ETPS | TIM_SMCR_ECE | TIM_SMCR_ETP);
- 8002574: 68fb ldr r3, [r7, #12]
- 8002576: f423 437f bic.w r3, r3, #65280 ; 0xff00
- 800257a: 60fb str r3, [r7, #12]
+ 8002520: 68fb ldr r3, [r7, #12]
+ 8002522: f423 437f bic.w r3, r3, #65280 ; 0xff00
+ 8002526: 60fb str r3, [r7, #12]
htim->Instance->SMCR = tmpsmcr;
- 800257c: 687b ldr r3, [r7, #4]
- 800257e: 681b ldr r3, [r3, #0]
- 8002580: 68fa ldr r2, [r7, #12]
- 8002582: 609a str r2, [r3, #8]
+ 8002528: 687b ldr r3, [r7, #4]
+ 800252a: 681b ldr r3, [r3, #0]
+ 800252c: 68fa ldr r2, [r7, #12]
+ 800252e: 609a str r2, [r3, #8]
switch (sClockSourceConfig->ClockSource)
- 8002584: 683b ldr r3, [r7, #0]
- 8002586: 681b ldr r3, [r3, #0]
- 8002588: 2b40 cmp r3, #64 ; 0x40
- 800258a: d067 beq.n 800265c <HAL_TIM_ConfigClockSource+0x120>
- 800258c: 2b40 cmp r3, #64 ; 0x40
- 800258e: d80b bhi.n 80025a8 <HAL_TIM_ConfigClockSource+0x6c>
- 8002590: 2b10 cmp r3, #16
- 8002592: d073 beq.n 800267c <HAL_TIM_ConfigClockSource+0x140>
- 8002594: 2b10 cmp r3, #16
- 8002596: d802 bhi.n 800259e <HAL_TIM_ConfigClockSource+0x62>
- 8002598: 2b00 cmp r3, #0
- 800259a: d06f beq.n 800267c <HAL_TIM_ConfigClockSource+0x140>
+ 8002530: 683b ldr r3, [r7, #0]
+ 8002532: 681b ldr r3, [r3, #0]
+ 8002534: 2b40 cmp r3, #64 ; 0x40
+ 8002536: d067 beq.n 8002608 <HAL_TIM_ConfigClockSource+0x120>
+ 8002538: 2b40 cmp r3, #64 ; 0x40
+ 800253a: d80b bhi.n 8002554 <HAL_TIM_ConfigClockSource+0x6c>
+ 800253c: 2b10 cmp r3, #16
+ 800253e: d073 beq.n 8002628 <HAL_TIM_ConfigClockSource+0x140>
+ 8002540: 2b10 cmp r3, #16
+ 8002542: d802 bhi.n 800254a <HAL_TIM_ConfigClockSource+0x62>
+ 8002544: 2b00 cmp r3, #0
+ 8002546: d06f beq.n 8002628 <HAL_TIM_ConfigClockSource+0x140>
TIM_ITRx_SetConfig(htim->Instance, sClockSourceConfig->ClockSource);
break;
}
default:
break;
- 800259c: e078 b.n 8002690 <HAL_TIM_ConfigClockSource+0x154>
+ 8002548: e078 b.n 800263c <HAL_TIM_ConfigClockSource+0x154>
switch (sClockSourceConfig->ClockSource)
- 800259e: 2b20 cmp r3, #32
- 80025a0: d06c beq.n 800267c <HAL_TIM_ConfigClockSource+0x140>
- 80025a2: 2b30 cmp r3, #48 ; 0x30
- 80025a4: d06a beq.n 800267c <HAL_TIM_ConfigClockSource+0x140>
+ 800254a: 2b20 cmp r3, #32
+ 800254c: d06c beq.n 8002628 <HAL_TIM_ConfigClockSource+0x140>
+ 800254e: 2b30 cmp r3, #48 ; 0x30
+ 8002550: d06a beq.n 8002628 <HAL_TIM_ConfigClockSource+0x140>
break;
- 80025a6: e073 b.n 8002690 <HAL_TIM_ConfigClockSource+0x154>
+ 8002552: e073 b.n 800263c <HAL_TIM_ConfigClockSource+0x154>
switch (sClockSourceConfig->ClockSource)
- 80025a8: 2b70 cmp r3, #112 ; 0x70
- 80025aa: d00d beq.n 80025c8 <HAL_TIM_ConfigClockSource+0x8c>
- 80025ac: 2b70 cmp r3, #112 ; 0x70
- 80025ae: d804 bhi.n 80025ba <HAL_TIM_ConfigClockSource+0x7e>
- 80025b0: 2b50 cmp r3, #80 ; 0x50
- 80025b2: d033 beq.n 800261c <HAL_TIM_ConfigClockSource+0xe0>
- 80025b4: 2b60 cmp r3, #96 ; 0x60
- 80025b6: d041 beq.n 800263c <HAL_TIM_ConfigClockSource+0x100>
+ 8002554: 2b70 cmp r3, #112 ; 0x70
+ 8002556: d00d beq.n 8002574 <HAL_TIM_ConfigClockSource+0x8c>
+ 8002558: 2b70 cmp r3, #112 ; 0x70
+ 800255a: d804 bhi.n 8002566 <HAL_TIM_ConfigClockSource+0x7e>
+ 800255c: 2b50 cmp r3, #80 ; 0x50
+ 800255e: d033 beq.n 80025c8 <HAL_TIM_ConfigClockSource+0xe0>
+ 8002560: 2b60 cmp r3, #96 ; 0x60
+ 8002562: d041 beq.n 80025e8 <HAL_TIM_ConfigClockSource+0x100>
break;
- 80025b8: e06a b.n 8002690 <HAL_TIM_ConfigClockSource+0x154>
+ 8002564: e06a b.n 800263c <HAL_TIM_ConfigClockSource+0x154>
switch (sClockSourceConfig->ClockSource)
- 80025ba: f5b3 5f80 cmp.w r3, #4096 ; 0x1000
- 80025be: d066 beq.n 800268e <HAL_TIM_ConfigClockSource+0x152>
- 80025c0: f5b3 5f00 cmp.w r3, #8192 ; 0x2000
- 80025c4: d017 beq.n 80025f6 <HAL_TIM_ConfigClockSource+0xba>
+ 8002566: f5b3 5f80 cmp.w r3, #4096 ; 0x1000
+ 800256a: d066 beq.n 800263a <HAL_TIM_ConfigClockSource+0x152>
+ 800256c: f5b3 5f00 cmp.w r3, #8192 ; 0x2000
+ 8002570: d017 beq.n 80025a2 <HAL_TIM_ConfigClockSource+0xba>
break;
- 80025c6: e063 b.n 8002690 <HAL_TIM_ConfigClockSource+0x154>
+ 8002572: e063 b.n 800263c <HAL_TIM_ConfigClockSource+0x154>
TIM_ETR_SetConfig(htim->Instance,
- 80025c8: 687b ldr r3, [r7, #4]
- 80025ca: 6818 ldr r0, [r3, #0]
- 80025cc: 683b ldr r3, [r7, #0]
- 80025ce: 6899 ldr r1, [r3, #8]
- 80025d0: 683b ldr r3, [r7, #0]
- 80025d2: 685a ldr r2, [r3, #4]
- 80025d4: 683b ldr r3, [r7, #0]
- 80025d6: 68db ldr r3, [r3, #12]
- 80025d8: f000 f9ac bl 8002934 <TIM_ETR_SetConfig>
+ 8002574: 687b ldr r3, [r7, #4]
+ 8002576: 6818 ldr r0, [r3, #0]
+ 8002578: 683b ldr r3, [r7, #0]
+ 800257a: 6899 ldr r1, [r3, #8]
+ 800257c: 683b ldr r3, [r7, #0]
+ 800257e: 685a ldr r2, [r3, #4]
+ 8002580: 683b ldr r3, [r7, #0]
+ 8002582: 68db ldr r3, [r3, #12]
+ 8002584: f000 f9ac bl 80028e0 <TIM_ETR_SetConfig>
tmpsmcr = htim->Instance->SMCR;
- 80025dc: 687b ldr r3, [r7, #4]
- 80025de: 681b ldr r3, [r3, #0]
- 80025e0: 689b ldr r3, [r3, #8]
- 80025e2: 60fb str r3, [r7, #12]
+ 8002588: 687b ldr r3, [r7, #4]
+ 800258a: 681b ldr r3, [r3, #0]
+ 800258c: 689b ldr r3, [r3, #8]
+ 800258e: 60fb str r3, [r7, #12]
tmpsmcr |= (TIM_SLAVEMODE_EXTERNAL1 | TIM_CLOCKSOURCE_ETRMODE1);
- 80025e4: 68fb ldr r3, [r7, #12]
- 80025e6: f043 0377 orr.w r3, r3, #119 ; 0x77
- 80025ea: 60fb str r3, [r7, #12]
+ 8002590: 68fb ldr r3, [r7, #12]
+ 8002592: f043 0377 orr.w r3, r3, #119 ; 0x77
+ 8002596: 60fb str r3, [r7, #12]
htim->Instance->SMCR = tmpsmcr;
- 80025ec: 687b ldr r3, [r7, #4]
- 80025ee: 681b ldr r3, [r3, #0]
- 80025f0: 68fa ldr r2, [r7, #12]
- 80025f2: 609a str r2, [r3, #8]
+ 8002598: 687b ldr r3, [r7, #4]
+ 800259a: 681b ldr r3, [r3, #0]
+ 800259c: 68fa ldr r2, [r7, #12]
+ 800259e: 609a str r2, [r3, #8]
break;
- 80025f4: e04c b.n 8002690 <HAL_TIM_ConfigClockSource+0x154>
+ 80025a0: e04c b.n 800263c <HAL_TIM_ConfigClockSource+0x154>
TIM_ETR_SetConfig(htim->Instance,
- 80025f6: 687b ldr r3, [r7, #4]
- 80025f8: 6818 ldr r0, [r3, #0]
- 80025fa: 683b ldr r3, [r7, #0]
- 80025fc: 6899 ldr r1, [r3, #8]
- 80025fe: 683b ldr r3, [r7, #0]
- 8002600: 685a ldr r2, [r3, #4]
- 8002602: 683b ldr r3, [r7, #0]
- 8002604: 68db ldr r3, [r3, #12]
- 8002606: f000 f995 bl 8002934 <TIM_ETR_SetConfig>
+ 80025a2: 687b ldr r3, [r7, #4]
+ 80025a4: 6818 ldr r0, [r3, #0]
+ 80025a6: 683b ldr r3, [r7, #0]
+ 80025a8: 6899 ldr r1, [r3, #8]
+ 80025aa: 683b ldr r3, [r7, #0]
+ 80025ac: 685a ldr r2, [r3, #4]
+ 80025ae: 683b ldr r3, [r7, #0]
+ 80025b0: 68db ldr r3, [r3, #12]
+ 80025b2: f000 f995 bl 80028e0 <TIM_ETR_SetConfig>
htim->Instance->SMCR |= TIM_SMCR_ECE;
- 800260a: 687b ldr r3, [r7, #4]
- 800260c: 681b ldr r3, [r3, #0]
- 800260e: 689a ldr r2, [r3, #8]
- 8002610: 687b ldr r3, [r7, #4]
- 8002612: 681b ldr r3, [r3, #0]
- 8002614: f442 4280 orr.w r2, r2, #16384 ; 0x4000
- 8002618: 609a str r2, [r3, #8]
+ 80025b6: 687b ldr r3, [r7, #4]
+ 80025b8: 681b ldr r3, [r3, #0]
+ 80025ba: 689a ldr r2, [r3, #8]
+ 80025bc: 687b ldr r3, [r7, #4]
+ 80025be: 681b ldr r3, [r3, #0]
+ 80025c0: f442 4280 orr.w r2, r2, #16384 ; 0x4000
+ 80025c4: 609a str r2, [r3, #8]
break;
- 800261a: e039 b.n 8002690 <HAL_TIM_ConfigClockSource+0x154>
+ 80025c6: e039 b.n 800263c <HAL_TIM_ConfigClockSource+0x154>
TIM_TI1_ConfigInputStage(htim->Instance,
- 800261c: 687b ldr r3, [r7, #4]
- 800261e: 6818 ldr r0, [r3, #0]
- 8002620: 683b ldr r3, [r7, #0]
- 8002622: 6859 ldr r1, [r3, #4]
- 8002624: 683b ldr r3, [r7, #0]
- 8002626: 68db ldr r3, [r3, #12]
- 8002628: 461a mov r2, r3
- 800262a: f000 f909 bl 8002840 <TIM_TI1_ConfigInputStage>
+ 80025c8: 687b ldr r3, [r7, #4]
+ 80025ca: 6818 ldr r0, [r3, #0]
+ 80025cc: 683b ldr r3, [r7, #0]
+ 80025ce: 6859 ldr r1, [r3, #4]
+ 80025d0: 683b ldr r3, [r7, #0]
+ 80025d2: 68db ldr r3, [r3, #12]
+ 80025d4: 461a mov r2, r3
+ 80025d6: f000 f909 bl 80027ec <TIM_TI1_ConfigInputStage>
TIM_ITRx_SetConfig(htim->Instance, TIM_CLOCKSOURCE_TI1);
- 800262e: 687b ldr r3, [r7, #4]
- 8002630: 681b ldr r3, [r3, #0]
- 8002632: 2150 movs r1, #80 ; 0x50
- 8002634: 4618 mov r0, r3
- 8002636: f000 f962 bl 80028fe <TIM_ITRx_SetConfig>
+ 80025da: 687b ldr r3, [r7, #4]
+ 80025dc: 681b ldr r3, [r3, #0]
+ 80025de: 2150 movs r1, #80 ; 0x50
+ 80025e0: 4618 mov r0, r3
+ 80025e2: f000 f962 bl 80028aa <TIM_ITRx_SetConfig>
break;
- 800263a: e029 b.n 8002690 <HAL_TIM_ConfigClockSource+0x154>
+ 80025e6: e029 b.n 800263c <HAL_TIM_ConfigClockSource+0x154>
TIM_TI2_ConfigInputStage(htim->Instance,
- 800263c: 687b ldr r3, [r7, #4]
- 800263e: 6818 ldr r0, [r3, #0]
- 8002640: 683b ldr r3, [r7, #0]
- 8002642: 6859 ldr r1, [r3, #4]
- 8002644: 683b ldr r3, [r7, #0]
- 8002646: 68db ldr r3, [r3, #12]
- 8002648: 461a mov r2, r3
- 800264a: f000 f928 bl 800289e <TIM_TI2_ConfigInputStage>
+ 80025e8: 687b ldr r3, [r7, #4]
+ 80025ea: 6818 ldr r0, [r3, #0]
+ 80025ec: 683b ldr r3, [r7, #0]
+ 80025ee: 6859 ldr r1, [r3, #4]
+ 80025f0: 683b ldr r3, [r7, #0]
+ 80025f2: 68db ldr r3, [r3, #12]
+ 80025f4: 461a mov r2, r3
+ 80025f6: f000 f928 bl 800284a <TIM_TI2_ConfigInputStage>
TIM_ITRx_SetConfig(htim->Instance, TIM_CLOCKSOURCE_TI2);
- 800264e: 687b ldr r3, [r7, #4]
- 8002650: 681b ldr r3, [r3, #0]
- 8002652: 2160 movs r1, #96 ; 0x60
- 8002654: 4618 mov r0, r3
- 8002656: f000 f952 bl 80028fe <TIM_ITRx_SetConfig>
+ 80025fa: 687b ldr r3, [r7, #4]
+ 80025fc: 681b ldr r3, [r3, #0]
+ 80025fe: 2160 movs r1, #96 ; 0x60
+ 8002600: 4618 mov r0, r3
+ 8002602: f000 f952 bl 80028aa <TIM_ITRx_SetConfig>
break;
- 800265a: e019 b.n 8002690 <HAL_TIM_ConfigClockSource+0x154>
+ 8002606: e019 b.n 800263c <HAL_TIM_ConfigClockSource+0x154>
TIM_TI1_ConfigInputStage(htim->Instance,
- 800265c: 687b ldr r3, [r7, #4]
- 800265e: 6818 ldr r0, [r3, #0]
- 8002660: 683b ldr r3, [r7, #0]
- 8002662: 6859 ldr r1, [r3, #4]
- 8002664: 683b ldr r3, [r7, #0]
- 8002666: 68db ldr r3, [r3, #12]
- 8002668: 461a mov r2, r3
- 800266a: f000 f8e9 bl 8002840 <TIM_TI1_ConfigInputStage>
+ 8002608: 687b ldr r3, [r7, #4]
+ 800260a: 6818 ldr r0, [r3, #0]
+ 800260c: 683b ldr r3, [r7, #0]
+ 800260e: 6859 ldr r1, [r3, #4]
+ 8002610: 683b ldr r3, [r7, #0]
+ 8002612: 68db ldr r3, [r3, #12]
+ 8002614: 461a mov r2, r3
+ 8002616: f000 f8e9 bl 80027ec <TIM_TI1_ConfigInputStage>
TIM_ITRx_SetConfig(htim->Instance, TIM_CLOCKSOURCE_TI1ED);
- 800266e: 687b ldr r3, [r7, #4]
- 8002670: 681b ldr r3, [r3, #0]
- 8002672: 2140 movs r1, #64 ; 0x40
- 8002674: 4618 mov r0, r3
- 8002676: f000 f942 bl 80028fe <TIM_ITRx_SetConfig>
+ 800261a: 687b ldr r3, [r7, #4]
+ 800261c: 681b ldr r3, [r3, #0]
+ 800261e: 2140 movs r1, #64 ; 0x40
+ 8002620: 4618 mov r0, r3
+ 8002622: f000 f942 bl 80028aa <TIM_ITRx_SetConfig>
break;
- 800267a: e009 b.n 8002690 <HAL_TIM_ConfigClockSource+0x154>
+ 8002626: e009 b.n 800263c <HAL_TIM_ConfigClockSource+0x154>
TIM_ITRx_SetConfig(htim->Instance, sClockSourceConfig->ClockSource);
- 800267c: 687b ldr r3, [r7, #4]
- 800267e: 681a ldr r2, [r3, #0]
- 8002680: 683b ldr r3, [r7, #0]
- 8002682: 681b ldr r3, [r3, #0]
- 8002684: 4619 mov r1, r3
- 8002686: 4610 mov r0, r2
- 8002688: f000 f939 bl 80028fe <TIM_ITRx_SetConfig>
+ 8002628: 687b ldr r3, [r7, #4]
+ 800262a: 681a ldr r2, [r3, #0]
+ 800262c: 683b ldr r3, [r7, #0]
+ 800262e: 681b ldr r3, [r3, #0]
+ 8002630: 4619 mov r1, r3
+ 8002632: 4610 mov r0, r2
+ 8002634: f000 f939 bl 80028aa <TIM_ITRx_SetConfig>
break;
- 800268c: e000 b.n 8002690 <HAL_TIM_ConfigClockSource+0x154>
+ 8002638: e000 b.n 800263c <HAL_TIM_ConfigClockSource+0x154>
break;
- 800268e: bf00 nop
+ 800263a: bf00 nop
}
htim->State = HAL_TIM_STATE_READY;
- 8002690: 687b ldr r3, [r7, #4]
- 8002692: 2201 movs r2, #1
- 8002694: f883 203d strb.w r2, [r3, #61] ; 0x3d
+ 800263c: 687b ldr r3, [r7, #4]
+ 800263e: 2201 movs r2, #1
+ 8002640: f883 203d strb.w r2, [r3, #61] ; 0x3d
__HAL_UNLOCK(htim);
- 8002698: 687b ldr r3, [r7, #4]
- 800269a: 2200 movs r2, #0
- 800269c: f883 203c strb.w r2, [r3, #60] ; 0x3c
+ 8002644: 687b ldr r3, [r7, #4]
+ 8002646: 2200 movs r2, #0
+ 8002648: f883 203c strb.w r2, [r3, #60] ; 0x3c
return HAL_OK;
- 80026a0: 2300 movs r3, #0
+ 800264c: 2300 movs r3, #0
}
- 80026a2: 4618 mov r0, r3
- 80026a4: 3710 adds r7, #16
- 80026a6: 46bd mov sp, r7
- 80026a8: bd80 pop {r7, pc}
- 80026aa: bf00 nop
- 80026ac: fffeff88 .word 0xfffeff88
-
-080026b0 <HAL_TIM_OC_DelayElapsedCallback>:
+ 800264e: 4618 mov r0, r3
+ 8002650: 3710 adds r7, #16
+ 8002652: 46bd mov sp, r7
+ 8002654: bd80 pop {r7, pc}
+ 8002656: bf00 nop
+ 8002658: fffeff88 .word 0xfffeff88
+
+0800265c <HAL_TIM_OC_DelayElapsedCallback>:
* @brief Output Compare callback in non-blocking mode
* @param htim TIM OC handle
* @retval None
*/
__weak void HAL_TIM_OC_DelayElapsedCallback(TIM_HandleTypeDef *htim)
{
- 80026b0: b480 push {r7}
- 80026b2: b083 sub sp, #12
- 80026b4: af00 add r7, sp, #0
- 80026b6: 6078 str r0, [r7, #4]
+ 800265c: b480 push {r7}
+ 800265e: b083 sub sp, #12
+ 8002660: af00 add r7, sp, #0
+ 8002662: 6078 str r0, [r7, #4]
UNUSED(htim);
/* NOTE : This function should not be modified, when the callback is needed,
the HAL_TIM_OC_DelayElapsedCallback could be implemented in the user file
*/
}
- 80026b8: bf00 nop
- 80026ba: 370c adds r7, #12
- 80026bc: 46bd mov sp, r7
- 80026be: f85d 7b04 ldr.w r7, [sp], #4
- 80026c2: 4770 bx lr
+ 8002664: bf00 nop
+ 8002666: 370c adds r7, #12
+ 8002668: 46bd mov sp, r7
+ 800266a: f85d 7b04 ldr.w r7, [sp], #4
+ 800266e: 4770 bx lr
-080026c4 <HAL_TIM_IC_CaptureCallback>:
+08002670 <HAL_TIM_IC_CaptureCallback>:
* @brief Input Capture callback in non-blocking mode
* @param htim TIM IC handle
* @retval None
*/
__weak void HAL_TIM_IC_CaptureCallback(TIM_HandleTypeDef *htim)
{
- 80026c4: b480 push {r7}
- 80026c6: b083 sub sp, #12
- 80026c8: af00 add r7, sp, #0
- 80026ca: 6078 str r0, [r7, #4]
+ 8002670: b480 push {r7}
+ 8002672: b083 sub sp, #12
+ 8002674: af00 add r7, sp, #0
+ 8002676: 6078 str r0, [r7, #4]
UNUSED(htim);
/* NOTE : This function should not be modified, when the callback is needed,
the HAL_TIM_IC_CaptureCallback could be implemented in the user file
*/
}
- 80026cc: bf00 nop
- 80026ce: 370c adds r7, #12
- 80026d0: 46bd mov sp, r7
- 80026d2: f85d 7b04 ldr.w r7, [sp], #4
- 80026d6: 4770 bx lr
+ 8002678: bf00 nop
+ 800267a: 370c adds r7, #12
+ 800267c: 46bd mov sp, r7
+ 800267e: f85d 7b04 ldr.w r7, [sp], #4
+ 8002682: 4770 bx lr
-080026d8 <HAL_TIM_PWM_PulseFinishedCallback>:
+08002684 <HAL_TIM_PWM_PulseFinishedCallback>:
* @brief PWM Pulse finished callback in non-blocking mode
* @param htim TIM handle
* @retval None
*/
__weak void HAL_TIM_PWM_PulseFinishedCallback(TIM_HandleTypeDef *htim)
{
- 80026d8: b480 push {r7}
- 80026da: b083 sub sp, #12
- 80026dc: af00 add r7, sp, #0
- 80026de: 6078 str r0, [r7, #4]
+ 8002684: b480 push {r7}
+ 8002686: b083 sub sp, #12
+ 8002688: af00 add r7, sp, #0
+ 800268a: 6078 str r0, [r7, #4]
UNUSED(htim);
/* NOTE : This function should not be modified, when the callback is needed,
the HAL_TIM_PWM_PulseFinishedCallback could be implemented in the user file
*/
}
- 80026e0: bf00 nop
- 80026e2: 370c adds r7, #12
- 80026e4: 46bd mov sp, r7
- 80026e6: f85d 7b04 ldr.w r7, [sp], #4
- 80026ea: 4770 bx lr
+ 800268c: bf00 nop
+ 800268e: 370c adds r7, #12
+ 8002690: 46bd mov sp, r7
+ 8002692: f85d 7b04 ldr.w r7, [sp], #4
+ 8002696: 4770 bx lr
-080026ec <HAL_TIM_TriggerCallback>:
+08002698 <HAL_TIM_TriggerCallback>:
* @brief Hall Trigger detection callback in non-blocking mode
* @param htim TIM handle
* @retval None
*/
__weak void HAL_TIM_TriggerCallback(TIM_HandleTypeDef *htim)
{
- 80026ec: b480 push {r7}
- 80026ee: b083 sub sp, #12
- 80026f0: af00 add r7, sp, #0
- 80026f2: 6078 str r0, [r7, #4]
+ 8002698: b480 push {r7}
+ 800269a: b083 sub sp, #12
+ 800269c: af00 add r7, sp, #0
+ 800269e: 6078 str r0, [r7, #4]
UNUSED(htim);
/* NOTE : This function should not be modified, when the callback is needed,
the HAL_TIM_TriggerCallback could be implemented in the user file
*/
}
- 80026f4: bf00 nop
- 80026f6: 370c adds r7, #12
- 80026f8: 46bd mov sp, r7
- 80026fa: f85d 7b04 ldr.w r7, [sp], #4
- 80026fe: 4770 bx lr
+ 80026a0: bf00 nop
+ 80026a2: 370c adds r7, #12
+ 80026a4: 46bd mov sp, r7
+ 80026a6: f85d 7b04 ldr.w r7, [sp], #4
+ 80026aa: 4770 bx lr
-08002700 <TIM_Base_SetConfig>:
+080026ac <TIM_Base_SetConfig>:
* @param TIMx TIM peripheral
* @param Structure TIM Base configuration structure
* @retval None
*/
void TIM_Base_SetConfig(TIM_TypeDef *TIMx, TIM_Base_InitTypeDef *Structure)
{
- 8002700: b480 push {r7}
- 8002702: b085 sub sp, #20
- 8002704: af00 add r7, sp, #0
- 8002706: 6078 str r0, [r7, #4]
- 8002708: 6039 str r1, [r7, #0]
+ 80026ac: b480 push {r7}
+ 80026ae: b085 sub sp, #20
+ 80026b0: af00 add r7, sp, #0
+ 80026b2: 6078 str r0, [r7, #4]
+ 80026b4: 6039 str r1, [r7, #0]
uint32_t tmpcr1;
tmpcr1 = TIMx->CR1;
- 800270a: 687b ldr r3, [r7, #4]
- 800270c: 681b ldr r3, [r3, #0]
- 800270e: 60fb str r3, [r7, #12]
+ 80026b6: 687b ldr r3, [r7, #4]
+ 80026b8: 681b ldr r3, [r3, #0]
+ 80026ba: 60fb str r3, [r7, #12]
/* Set TIM Time Base Unit parameters ---------------------------------------*/
if (IS_TIM_COUNTER_MODE_SELECT_INSTANCE(TIMx))
- 8002710: 687b ldr r3, [r7, #4]
- 8002712: 4a40 ldr r2, [pc, #256] ; (8002814 <TIM_Base_SetConfig+0x114>)
- 8002714: 4293 cmp r3, r2
- 8002716: d013 beq.n 8002740 <TIM_Base_SetConfig+0x40>
- 8002718: 687b ldr r3, [r7, #4]
- 800271a: f1b3 4f80 cmp.w r3, #1073741824 ; 0x40000000
- 800271e: d00f beq.n 8002740 <TIM_Base_SetConfig+0x40>
- 8002720: 687b ldr r3, [r7, #4]
- 8002722: 4a3d ldr r2, [pc, #244] ; (8002818 <TIM_Base_SetConfig+0x118>)
- 8002724: 4293 cmp r3, r2
- 8002726: d00b beq.n 8002740 <TIM_Base_SetConfig+0x40>
- 8002728: 687b ldr r3, [r7, #4]
- 800272a: 4a3c ldr r2, [pc, #240] ; (800281c <TIM_Base_SetConfig+0x11c>)
- 800272c: 4293 cmp r3, r2
- 800272e: d007 beq.n 8002740 <TIM_Base_SetConfig+0x40>
- 8002730: 687b ldr r3, [r7, #4]
- 8002732: 4a3b ldr r2, [pc, #236] ; (8002820 <TIM_Base_SetConfig+0x120>)
- 8002734: 4293 cmp r3, r2
- 8002736: d003 beq.n 8002740 <TIM_Base_SetConfig+0x40>
- 8002738: 687b ldr r3, [r7, #4]
- 800273a: 4a3a ldr r2, [pc, #232] ; (8002824 <TIM_Base_SetConfig+0x124>)
- 800273c: 4293 cmp r3, r2
- 800273e: d108 bne.n 8002752 <TIM_Base_SetConfig+0x52>
+ 80026bc: 687b ldr r3, [r7, #4]
+ 80026be: 4a40 ldr r2, [pc, #256] ; (80027c0 <TIM_Base_SetConfig+0x114>)
+ 80026c0: 4293 cmp r3, r2
+ 80026c2: d013 beq.n 80026ec <TIM_Base_SetConfig+0x40>
+ 80026c4: 687b ldr r3, [r7, #4]
+ 80026c6: f1b3 4f80 cmp.w r3, #1073741824 ; 0x40000000
+ 80026ca: d00f beq.n 80026ec <TIM_Base_SetConfig+0x40>
+ 80026cc: 687b ldr r3, [r7, #4]
+ 80026ce: 4a3d ldr r2, [pc, #244] ; (80027c4 <TIM_Base_SetConfig+0x118>)
+ 80026d0: 4293 cmp r3, r2
+ 80026d2: d00b beq.n 80026ec <TIM_Base_SetConfig+0x40>
+ 80026d4: 687b ldr r3, [r7, #4]
+ 80026d6: 4a3c ldr r2, [pc, #240] ; (80027c8 <TIM_Base_SetConfig+0x11c>)
+ 80026d8: 4293 cmp r3, r2
+ 80026da: d007 beq.n 80026ec <TIM_Base_SetConfig+0x40>
+ 80026dc: 687b ldr r3, [r7, #4]
+ 80026de: 4a3b ldr r2, [pc, #236] ; (80027cc <TIM_Base_SetConfig+0x120>)
+ 80026e0: 4293 cmp r3, r2
+ 80026e2: d003 beq.n 80026ec <TIM_Base_SetConfig+0x40>
+ 80026e4: 687b ldr r3, [r7, #4]
+ 80026e6: 4a3a ldr r2, [pc, #232] ; (80027d0 <TIM_Base_SetConfig+0x124>)
+ 80026e8: 4293 cmp r3, r2
+ 80026ea: d108 bne.n 80026fe <TIM_Base_SetConfig+0x52>
{
/* Select the Counter Mode */
tmpcr1 &= ~(TIM_CR1_DIR | TIM_CR1_CMS);
- 8002740: 68fb ldr r3, [r7, #12]
- 8002742: f023 0370 bic.w r3, r3, #112 ; 0x70
- 8002746: 60fb str r3, [r7, #12]
+ 80026ec: 68fb ldr r3, [r7, #12]
+ 80026ee: f023 0370 bic.w r3, r3, #112 ; 0x70
+ 80026f2: 60fb str r3, [r7, #12]
tmpcr1 |= Structure->CounterMode;
- 8002748: 683b ldr r3, [r7, #0]
- 800274a: 685b ldr r3, [r3, #4]
- 800274c: 68fa ldr r2, [r7, #12]
- 800274e: 4313 orrs r3, r2
- 8002750: 60fb str r3, [r7, #12]
+ 80026f4: 683b ldr r3, [r7, #0]
+ 80026f6: 685b ldr r3, [r3, #4]
+ 80026f8: 68fa ldr r2, [r7, #12]
+ 80026fa: 4313 orrs r3, r2
+ 80026fc: 60fb str r3, [r7, #12]
}
if (IS_TIM_CLOCK_DIVISION_INSTANCE(TIMx))
- 8002752: 687b ldr r3, [r7, #4]
- 8002754: 4a2f ldr r2, [pc, #188] ; (8002814 <TIM_Base_SetConfig+0x114>)
- 8002756: 4293 cmp r3, r2
- 8002758: d02b beq.n 80027b2 <TIM_Base_SetConfig+0xb2>
- 800275a: 687b ldr r3, [r7, #4]
- 800275c: f1b3 4f80 cmp.w r3, #1073741824 ; 0x40000000
- 8002760: d027 beq.n 80027b2 <TIM_Base_SetConfig+0xb2>
- 8002762: 687b ldr r3, [r7, #4]
- 8002764: 4a2c ldr r2, [pc, #176] ; (8002818 <TIM_Base_SetConfig+0x118>)
- 8002766: 4293 cmp r3, r2
- 8002768: d023 beq.n 80027b2 <TIM_Base_SetConfig+0xb2>
- 800276a: 687b ldr r3, [r7, #4]
- 800276c: 4a2b ldr r2, [pc, #172] ; (800281c <TIM_Base_SetConfig+0x11c>)
- 800276e: 4293 cmp r3, r2
- 8002770: d01f beq.n 80027b2 <TIM_Base_SetConfig+0xb2>
- 8002772: 687b ldr r3, [r7, #4]
- 8002774: 4a2a ldr r2, [pc, #168] ; (8002820 <TIM_Base_SetConfig+0x120>)
- 8002776: 4293 cmp r3, r2
- 8002778: d01b beq.n 80027b2 <TIM_Base_SetConfig+0xb2>
- 800277a: 687b ldr r3, [r7, #4]
- 800277c: 4a29 ldr r2, [pc, #164] ; (8002824 <TIM_Base_SetConfig+0x124>)
- 800277e: 4293 cmp r3, r2
- 8002780: d017 beq.n 80027b2 <TIM_Base_SetConfig+0xb2>
- 8002782: 687b ldr r3, [r7, #4]
- 8002784: 4a28 ldr r2, [pc, #160] ; (8002828 <TIM_Base_SetConfig+0x128>)
- 8002786: 4293 cmp r3, r2
- 8002788: d013 beq.n 80027b2 <TIM_Base_SetConfig+0xb2>
- 800278a: 687b ldr r3, [r7, #4]
- 800278c: 4a27 ldr r2, [pc, #156] ; (800282c <TIM_Base_SetConfig+0x12c>)
- 800278e: 4293 cmp r3, r2
- 8002790: d00f beq.n 80027b2 <TIM_Base_SetConfig+0xb2>
- 8002792: 687b ldr r3, [r7, #4]
- 8002794: 4a26 ldr r2, [pc, #152] ; (8002830 <TIM_Base_SetConfig+0x130>)
- 8002796: 4293 cmp r3, r2
- 8002798: d00b beq.n 80027b2 <TIM_Base_SetConfig+0xb2>
- 800279a: 687b ldr r3, [r7, #4]
- 800279c: 4a25 ldr r2, [pc, #148] ; (8002834 <TIM_Base_SetConfig+0x134>)
- 800279e: 4293 cmp r3, r2
- 80027a0: d007 beq.n 80027b2 <TIM_Base_SetConfig+0xb2>
- 80027a2: 687b ldr r3, [r7, #4]
- 80027a4: 4a24 ldr r2, [pc, #144] ; (8002838 <TIM_Base_SetConfig+0x138>)
- 80027a6: 4293 cmp r3, r2
- 80027a8: d003 beq.n 80027b2 <TIM_Base_SetConfig+0xb2>
- 80027aa: 687b ldr r3, [r7, #4]
- 80027ac: 4a23 ldr r2, [pc, #140] ; (800283c <TIM_Base_SetConfig+0x13c>)
- 80027ae: 4293 cmp r3, r2
- 80027b0: d108 bne.n 80027c4 <TIM_Base_SetConfig+0xc4>
+ 80026fe: 687b ldr r3, [r7, #4]
+ 8002700: 4a2f ldr r2, [pc, #188] ; (80027c0 <TIM_Base_SetConfig+0x114>)
+ 8002702: 4293 cmp r3, r2
+ 8002704: d02b beq.n 800275e <TIM_Base_SetConfig+0xb2>
+ 8002706: 687b ldr r3, [r7, #4]
+ 8002708: f1b3 4f80 cmp.w r3, #1073741824 ; 0x40000000
+ 800270c: d027 beq.n 800275e <TIM_Base_SetConfig+0xb2>
+ 800270e: 687b ldr r3, [r7, #4]
+ 8002710: 4a2c ldr r2, [pc, #176] ; (80027c4 <TIM_Base_SetConfig+0x118>)
+ 8002712: 4293 cmp r3, r2
+ 8002714: d023 beq.n 800275e <TIM_Base_SetConfig+0xb2>
+ 8002716: 687b ldr r3, [r7, #4]
+ 8002718: 4a2b ldr r2, [pc, #172] ; (80027c8 <TIM_Base_SetConfig+0x11c>)
+ 800271a: 4293 cmp r3, r2
+ 800271c: d01f beq.n 800275e <TIM_Base_SetConfig+0xb2>
+ 800271e: 687b ldr r3, [r7, #4]
+ 8002720: 4a2a ldr r2, [pc, #168] ; (80027cc <TIM_Base_SetConfig+0x120>)
+ 8002722: 4293 cmp r3, r2
+ 8002724: d01b beq.n 800275e <TIM_Base_SetConfig+0xb2>
+ 8002726: 687b ldr r3, [r7, #4]
+ 8002728: 4a29 ldr r2, [pc, #164] ; (80027d0 <TIM_Base_SetConfig+0x124>)
+ 800272a: 4293 cmp r3, r2
+ 800272c: d017 beq.n 800275e <TIM_Base_SetConfig+0xb2>
+ 800272e: 687b ldr r3, [r7, #4]
+ 8002730: 4a28 ldr r2, [pc, #160] ; (80027d4 <TIM_Base_SetConfig+0x128>)
+ 8002732: 4293 cmp r3, r2
+ 8002734: d013 beq.n 800275e <TIM_Base_SetConfig+0xb2>
+ 8002736: 687b ldr r3, [r7, #4]
+ 8002738: 4a27 ldr r2, [pc, #156] ; (80027d8 <TIM_Base_SetConfig+0x12c>)
+ 800273a: 4293 cmp r3, r2
+ 800273c: d00f beq.n 800275e <TIM_Base_SetConfig+0xb2>
+ 800273e: 687b ldr r3, [r7, #4]
+ 8002740: 4a26 ldr r2, [pc, #152] ; (80027dc <TIM_Base_SetConfig+0x130>)
+ 8002742: 4293 cmp r3, r2
+ 8002744: d00b beq.n 800275e <TIM_Base_SetConfig+0xb2>
+ 8002746: 687b ldr r3, [r7, #4]
+ 8002748: 4a25 ldr r2, [pc, #148] ; (80027e0 <TIM_Base_SetConfig+0x134>)
+ 800274a: 4293 cmp r3, r2
+ 800274c: d007 beq.n 800275e <TIM_Base_SetConfig+0xb2>
+ 800274e: 687b ldr r3, [r7, #4]
+ 8002750: 4a24 ldr r2, [pc, #144] ; (80027e4 <TIM_Base_SetConfig+0x138>)
+ 8002752: 4293 cmp r3, r2
+ 8002754: d003 beq.n 800275e <TIM_Base_SetConfig+0xb2>
+ 8002756: 687b ldr r3, [r7, #4]
+ 8002758: 4a23 ldr r2, [pc, #140] ; (80027e8 <TIM_Base_SetConfig+0x13c>)
+ 800275a: 4293 cmp r3, r2
+ 800275c: d108 bne.n 8002770 <TIM_Base_SetConfig+0xc4>
{
/* Set the clock division */
tmpcr1 &= ~TIM_CR1_CKD;
- 80027b2: 68fb ldr r3, [r7, #12]
- 80027b4: f423 7340 bic.w r3, r3, #768 ; 0x300
- 80027b8: 60fb str r3, [r7, #12]
+ 800275e: 68fb ldr r3, [r7, #12]
+ 8002760: f423 7340 bic.w r3, r3, #768 ; 0x300
+ 8002764: 60fb str r3, [r7, #12]
tmpcr1 |= (uint32_t)Structure->ClockDivision;
- 80027ba: 683b ldr r3, [r7, #0]
- 80027bc: 68db ldr r3, [r3, #12]
- 80027be: 68fa ldr r2, [r7, #12]
- 80027c0: 4313 orrs r3, r2
- 80027c2: 60fb str r3, [r7, #12]
+ 8002766: 683b ldr r3, [r7, #0]
+ 8002768: 68db ldr r3, [r3, #12]
+ 800276a: 68fa ldr r2, [r7, #12]
+ 800276c: 4313 orrs r3, r2
+ 800276e: 60fb str r3, [r7, #12]
}
/* Set the auto-reload preload */
MODIFY_REG(tmpcr1, TIM_CR1_ARPE, Structure->AutoReloadPreload);
- 80027c4: 68fb ldr r3, [r7, #12]
- 80027c6: f023 0280 bic.w r2, r3, #128 ; 0x80
- 80027ca: 683b ldr r3, [r7, #0]
- 80027cc: 695b ldr r3, [r3, #20]
- 80027ce: 4313 orrs r3, r2
- 80027d0: 60fb str r3, [r7, #12]
+ 8002770: 68fb ldr r3, [r7, #12]
+ 8002772: f023 0280 bic.w r2, r3, #128 ; 0x80
+ 8002776: 683b ldr r3, [r7, #0]
+ 8002778: 695b ldr r3, [r3, #20]
+ 800277a: 4313 orrs r3, r2
+ 800277c: 60fb str r3, [r7, #12]
TIMx->CR1 = tmpcr1;
- 80027d2: 687b ldr r3, [r7, #4]
- 80027d4: 68fa ldr r2, [r7, #12]
- 80027d6: 601a str r2, [r3, #0]
+ 800277e: 687b ldr r3, [r7, #4]
+ 8002780: 68fa ldr r2, [r7, #12]
+ 8002782: 601a str r2, [r3, #0]
/* Set the Autoreload value */
TIMx->ARR = (uint32_t)Structure->Period ;
- 80027d8: 683b ldr r3, [r7, #0]
- 80027da: 689a ldr r2, [r3, #8]
- 80027dc: 687b ldr r3, [r7, #4]
- 80027de: 62da str r2, [r3, #44] ; 0x2c
+ 8002784: 683b ldr r3, [r7, #0]
+ 8002786: 689a ldr r2, [r3, #8]
+ 8002788: 687b ldr r3, [r7, #4]
+ 800278a: 62da str r2, [r3, #44] ; 0x2c
/* Set the Prescaler value */
TIMx->PSC = Structure->Prescaler;
- 80027e0: 683b ldr r3, [r7, #0]
- 80027e2: 681a ldr r2, [r3, #0]
- 80027e4: 687b ldr r3, [r7, #4]
- 80027e6: 629a str r2, [r3, #40] ; 0x28
+ 800278c: 683b ldr r3, [r7, #0]
+ 800278e: 681a ldr r2, [r3, #0]
+ 8002790: 687b ldr r3, [r7, #4]
+ 8002792: 629a str r2, [r3, #40] ; 0x28
if (IS_TIM_REPETITION_COUNTER_INSTANCE(TIMx))
- 80027e8: 687b ldr r3, [r7, #4]
- 80027ea: 4a0a ldr r2, [pc, #40] ; (8002814 <TIM_Base_SetConfig+0x114>)
- 80027ec: 4293 cmp r3, r2
- 80027ee: d003 beq.n 80027f8 <TIM_Base_SetConfig+0xf8>
- 80027f0: 687b ldr r3, [r7, #4]
- 80027f2: 4a0c ldr r2, [pc, #48] ; (8002824 <TIM_Base_SetConfig+0x124>)
- 80027f4: 4293 cmp r3, r2
- 80027f6: d103 bne.n 8002800 <TIM_Base_SetConfig+0x100>
+ 8002794: 687b ldr r3, [r7, #4]
+ 8002796: 4a0a ldr r2, [pc, #40] ; (80027c0 <TIM_Base_SetConfig+0x114>)
+ 8002798: 4293 cmp r3, r2
+ 800279a: d003 beq.n 80027a4 <TIM_Base_SetConfig+0xf8>
+ 800279c: 687b ldr r3, [r7, #4]
+ 800279e: 4a0c ldr r2, [pc, #48] ; (80027d0 <TIM_Base_SetConfig+0x124>)
+ 80027a0: 4293 cmp r3, r2
+ 80027a2: d103 bne.n 80027ac <TIM_Base_SetConfig+0x100>
{
/* Set the Repetition Counter value */
TIMx->RCR = Structure->RepetitionCounter;
- 80027f8: 683b ldr r3, [r7, #0]
- 80027fa: 691a ldr r2, [r3, #16]
- 80027fc: 687b ldr r3, [r7, #4]
- 80027fe: 631a str r2, [r3, #48] ; 0x30
+ 80027a4: 683b ldr r3, [r7, #0]
+ 80027a6: 691a ldr r2, [r3, #16]
+ 80027a8: 687b ldr r3, [r7, #4]
+ 80027aa: 631a str r2, [r3, #48] ; 0x30
}
/* Generate an update event to reload the Prescaler
and the repetition counter (only for advanced timer) value immediately */
TIMx->EGR = TIM_EGR_UG;
- 8002800: 687b ldr r3, [r7, #4]
- 8002802: 2201 movs r2, #1
- 8002804: 615a str r2, [r3, #20]
+ 80027ac: 687b ldr r3, [r7, #4]
+ 80027ae: 2201 movs r2, #1
+ 80027b0: 615a str r2, [r3, #20]
}
- 8002806: bf00 nop
- 8002808: 3714 adds r7, #20
- 800280a: 46bd mov sp, r7
- 800280c: f85d 7b04 ldr.w r7, [sp], #4
- 8002810: 4770 bx lr
- 8002812: bf00 nop
- 8002814: 40010000 .word 0x40010000
- 8002818: 40000400 .word 0x40000400
- 800281c: 40000800 .word 0x40000800
- 8002820: 40000c00 .word 0x40000c00
- 8002824: 40010400 .word 0x40010400
- 8002828: 40014000 .word 0x40014000
- 800282c: 40014400 .word 0x40014400
- 8002830: 40014800 .word 0x40014800
- 8002834: 40001800 .word 0x40001800
- 8002838: 40001c00 .word 0x40001c00
- 800283c: 40002000 .word 0x40002000
-
-08002840 <TIM_TI1_ConfigInputStage>:
+ 80027b2: bf00 nop
+ 80027b4: 3714 adds r7, #20
+ 80027b6: 46bd mov sp, r7
+ 80027b8: f85d 7b04 ldr.w r7, [sp], #4
+ 80027bc: 4770 bx lr
+ 80027be: bf00 nop
+ 80027c0: 40010000 .word 0x40010000
+ 80027c4: 40000400 .word 0x40000400
+ 80027c8: 40000800 .word 0x40000800
+ 80027cc: 40000c00 .word 0x40000c00
+ 80027d0: 40010400 .word 0x40010400
+ 80027d4: 40014000 .word 0x40014000
+ 80027d8: 40014400 .word 0x40014400
+ 80027dc: 40014800 .word 0x40014800
+ 80027e0: 40001800 .word 0x40001800
+ 80027e4: 40001c00 .word 0x40001c00
+ 80027e8: 40002000 .word 0x40002000
+
+080027ec <TIM_TI1_ConfigInputStage>:
* @param TIM_ICFilter Specifies the Input Capture Filter.
* This parameter must be a value between 0x00 and 0x0F.
* @retval None
*/
static void TIM_TI1_ConfigInputStage(TIM_TypeDef *TIMx, uint32_t TIM_ICPolarity, uint32_t TIM_ICFilter)
{
- 8002840: b480 push {r7}
- 8002842: b087 sub sp, #28
- 8002844: af00 add r7, sp, #0
- 8002846: 60f8 str r0, [r7, #12]
- 8002848: 60b9 str r1, [r7, #8]
- 800284a: 607a str r2, [r7, #4]
+ 80027ec: b480 push {r7}
+ 80027ee: b087 sub sp, #28
+ 80027f0: af00 add r7, sp, #0
+ 80027f2: 60f8 str r0, [r7, #12]
+ 80027f4: 60b9 str r1, [r7, #8]
+ 80027f6: 607a str r2, [r7, #4]
uint32_t tmpccmr1;
uint32_t tmpccer;
/* Disable the Channel 1: Reset the CC1E Bit */
tmpccer = TIMx->CCER;
- 800284c: 68fb ldr r3, [r7, #12]
- 800284e: 6a1b ldr r3, [r3, #32]
- 8002850: 617b str r3, [r7, #20]
+ 80027f8: 68fb ldr r3, [r7, #12]
+ 80027fa: 6a1b ldr r3, [r3, #32]
+ 80027fc: 617b str r3, [r7, #20]
TIMx->CCER &= ~TIM_CCER_CC1E;
- 8002852: 68fb ldr r3, [r7, #12]
- 8002854: 6a1b ldr r3, [r3, #32]
- 8002856: f023 0201 bic.w r2, r3, #1
- 800285a: 68fb ldr r3, [r7, #12]
- 800285c: 621a str r2, [r3, #32]
+ 80027fe: 68fb ldr r3, [r7, #12]
+ 8002800: 6a1b ldr r3, [r3, #32]
+ 8002802: f023 0201 bic.w r2, r3, #1
+ 8002806: 68fb ldr r3, [r7, #12]
+ 8002808: 621a str r2, [r3, #32]
tmpccmr1 = TIMx->CCMR1;
- 800285e: 68fb ldr r3, [r7, #12]
- 8002860: 699b ldr r3, [r3, #24]
- 8002862: 613b str r3, [r7, #16]
+ 800280a: 68fb ldr r3, [r7, #12]
+ 800280c: 699b ldr r3, [r3, #24]
+ 800280e: 613b str r3, [r7, #16]
/* Set the filter */
tmpccmr1 &= ~TIM_CCMR1_IC1F;
- 8002864: 693b ldr r3, [r7, #16]
- 8002866: f023 03f0 bic.w r3, r3, #240 ; 0xf0
- 800286a: 613b str r3, [r7, #16]
+ 8002810: 693b ldr r3, [r7, #16]
+ 8002812: f023 03f0 bic.w r3, r3, #240 ; 0xf0
+ 8002816: 613b str r3, [r7, #16]
tmpccmr1 |= (TIM_ICFilter << 4U);
- 800286c: 687b ldr r3, [r7, #4]
- 800286e: 011b lsls r3, r3, #4
- 8002870: 693a ldr r2, [r7, #16]
- 8002872: 4313 orrs r3, r2
- 8002874: 613b str r3, [r7, #16]
+ 8002818: 687b ldr r3, [r7, #4]
+ 800281a: 011b lsls r3, r3, #4
+ 800281c: 693a ldr r2, [r7, #16]
+ 800281e: 4313 orrs r3, r2
+ 8002820: 613b str r3, [r7, #16]
/* Select the Polarity and set the CC1E Bit */
tmpccer &= ~(TIM_CCER_CC1P | TIM_CCER_CC1NP);
- 8002876: 697b ldr r3, [r7, #20]
- 8002878: f023 030a bic.w r3, r3, #10
- 800287c: 617b str r3, [r7, #20]
+ 8002822: 697b ldr r3, [r7, #20]
+ 8002824: f023 030a bic.w r3, r3, #10
+ 8002828: 617b str r3, [r7, #20]
tmpccer |= TIM_ICPolarity;
- 800287e: 697a ldr r2, [r7, #20]
- 8002880: 68bb ldr r3, [r7, #8]
- 8002882: 4313 orrs r3, r2
- 8002884: 617b str r3, [r7, #20]
+ 800282a: 697a ldr r2, [r7, #20]
+ 800282c: 68bb ldr r3, [r7, #8]
+ 800282e: 4313 orrs r3, r2
+ 8002830: 617b str r3, [r7, #20]
/* Write to TIMx CCMR1 and CCER registers */
TIMx->CCMR1 = tmpccmr1;
- 8002886: 68fb ldr r3, [r7, #12]
- 8002888: 693a ldr r2, [r7, #16]
- 800288a: 619a str r2, [r3, #24]
+ 8002832: 68fb ldr r3, [r7, #12]
+ 8002834: 693a ldr r2, [r7, #16]
+ 8002836: 619a str r2, [r3, #24]
TIMx->CCER = tmpccer;
- 800288c: 68fb ldr r3, [r7, #12]
- 800288e: 697a ldr r2, [r7, #20]
- 8002890: 621a str r2, [r3, #32]
+ 8002838: 68fb ldr r3, [r7, #12]
+ 800283a: 697a ldr r2, [r7, #20]
+ 800283c: 621a str r2, [r3, #32]
}
- 8002892: bf00 nop
- 8002894: 371c adds r7, #28
- 8002896: 46bd mov sp, r7
- 8002898: f85d 7b04 ldr.w r7, [sp], #4
- 800289c: 4770 bx lr
+ 800283e: bf00 nop
+ 8002840: 371c adds r7, #28
+ 8002842: 46bd mov sp, r7
+ 8002844: f85d 7b04 ldr.w r7, [sp], #4
+ 8002848: 4770 bx lr
-0800289e <TIM_TI2_ConfigInputStage>:
+0800284a <TIM_TI2_ConfigInputStage>:
* @param TIM_ICFilter Specifies the Input Capture Filter.
* This parameter must be a value between 0x00 and 0x0F.
* @retval None
*/
static void TIM_TI2_ConfigInputStage(TIM_TypeDef *TIMx, uint32_t TIM_ICPolarity, uint32_t TIM_ICFilter)
{
- 800289e: b480 push {r7}
- 80028a0: b087 sub sp, #28
- 80028a2: af00 add r7, sp, #0
- 80028a4: 60f8 str r0, [r7, #12]
- 80028a6: 60b9 str r1, [r7, #8]
- 80028a8: 607a str r2, [r7, #4]
+ 800284a: b480 push {r7}
+ 800284c: b087 sub sp, #28
+ 800284e: af00 add r7, sp, #0
+ 8002850: 60f8 str r0, [r7, #12]
+ 8002852: 60b9 str r1, [r7, #8]
+ 8002854: 607a str r2, [r7, #4]
uint32_t tmpccmr1;
uint32_t tmpccer;
/* Disable the Channel 2: Reset the CC2E Bit */
TIMx->CCER &= ~TIM_CCER_CC2E;
- 80028aa: 68fb ldr r3, [r7, #12]
- 80028ac: 6a1b ldr r3, [r3, #32]
- 80028ae: f023 0210 bic.w r2, r3, #16
- 80028b2: 68fb ldr r3, [r7, #12]
- 80028b4: 621a str r2, [r3, #32]
+ 8002856: 68fb ldr r3, [r7, #12]
+ 8002858: 6a1b ldr r3, [r3, #32]
+ 800285a: f023 0210 bic.w r2, r3, #16
+ 800285e: 68fb ldr r3, [r7, #12]
+ 8002860: 621a str r2, [r3, #32]
tmpccmr1 = TIMx->CCMR1;
- 80028b6: 68fb ldr r3, [r7, #12]
- 80028b8: 699b ldr r3, [r3, #24]
- 80028ba: 617b str r3, [r7, #20]
+ 8002862: 68fb ldr r3, [r7, #12]
+ 8002864: 699b ldr r3, [r3, #24]
+ 8002866: 617b str r3, [r7, #20]
tmpccer = TIMx->CCER;
- 80028bc: 68fb ldr r3, [r7, #12]
- 80028be: 6a1b ldr r3, [r3, #32]
- 80028c0: 613b str r3, [r7, #16]
+ 8002868: 68fb ldr r3, [r7, #12]
+ 800286a: 6a1b ldr r3, [r3, #32]
+ 800286c: 613b str r3, [r7, #16]
/* Set the filter */
tmpccmr1 &= ~TIM_CCMR1_IC2F;
- 80028c2: 697b ldr r3, [r7, #20]
- 80028c4: f423 4370 bic.w r3, r3, #61440 ; 0xf000
- 80028c8: 617b str r3, [r7, #20]
+ 800286e: 697b ldr r3, [r7, #20]
+ 8002870: f423 4370 bic.w r3, r3, #61440 ; 0xf000
+ 8002874: 617b str r3, [r7, #20]
tmpccmr1 |= (TIM_ICFilter << 12U);
- 80028ca: 687b ldr r3, [r7, #4]
- 80028cc: 031b lsls r3, r3, #12
- 80028ce: 697a ldr r2, [r7, #20]
- 80028d0: 4313 orrs r3, r2
- 80028d2: 617b str r3, [r7, #20]
+ 8002876: 687b ldr r3, [r7, #4]
+ 8002878: 031b lsls r3, r3, #12
+ 800287a: 697a ldr r2, [r7, #20]
+ 800287c: 4313 orrs r3, r2
+ 800287e: 617b str r3, [r7, #20]
/* Select the Polarity and set the CC2E Bit */
tmpccer &= ~(TIM_CCER_CC2P | TIM_CCER_CC2NP);
- 80028d4: 693b ldr r3, [r7, #16]
- 80028d6: f023 03a0 bic.w r3, r3, #160 ; 0xa0
- 80028da: 613b str r3, [r7, #16]
+ 8002880: 693b ldr r3, [r7, #16]
+ 8002882: f023 03a0 bic.w r3, r3, #160 ; 0xa0
+ 8002886: 613b str r3, [r7, #16]
tmpccer |= (TIM_ICPolarity << 4U);
- 80028dc: 68bb ldr r3, [r7, #8]
- 80028de: 011b lsls r3, r3, #4
- 80028e0: 693a ldr r2, [r7, #16]
- 80028e2: 4313 orrs r3, r2
- 80028e4: 613b str r3, [r7, #16]
+ 8002888: 68bb ldr r3, [r7, #8]
+ 800288a: 011b lsls r3, r3, #4
+ 800288c: 693a ldr r2, [r7, #16]
+ 800288e: 4313 orrs r3, r2
+ 8002890: 613b str r3, [r7, #16]
/* Write to TIMx CCMR1 and CCER registers */
TIMx->CCMR1 = tmpccmr1 ;
- 80028e6: 68fb ldr r3, [r7, #12]
- 80028e8: 697a ldr r2, [r7, #20]
- 80028ea: 619a str r2, [r3, #24]
+ 8002892: 68fb ldr r3, [r7, #12]
+ 8002894: 697a ldr r2, [r7, #20]
+ 8002896: 619a str r2, [r3, #24]
TIMx->CCER = tmpccer;
- 80028ec: 68fb ldr r3, [r7, #12]
- 80028ee: 693a ldr r2, [r7, #16]
- 80028f0: 621a str r2, [r3, #32]
+ 8002898: 68fb ldr r3, [r7, #12]
+ 800289a: 693a ldr r2, [r7, #16]
+ 800289c: 621a str r2, [r3, #32]
}
- 80028f2: bf00 nop
- 80028f4: 371c adds r7, #28
- 80028f6: 46bd mov sp, r7
- 80028f8: f85d 7b04 ldr.w r7, [sp], #4
- 80028fc: 4770 bx lr
+ 800289e: bf00 nop
+ 80028a0: 371c adds r7, #28
+ 80028a2: 46bd mov sp, r7
+ 80028a4: f85d 7b04 ldr.w r7, [sp], #4
+ 80028a8: 4770 bx lr
-080028fe <TIM_ITRx_SetConfig>:
+080028aa <TIM_ITRx_SetConfig>:
* @arg TIM_TS_TI2FP2: Filtered Timer Input 2
* @arg TIM_TS_ETRF: External Trigger input
* @retval None
*/
static void TIM_ITRx_SetConfig(TIM_TypeDef *TIMx, uint32_t InputTriggerSource)
{
- 80028fe: b480 push {r7}
- 8002900: b085 sub sp, #20
- 8002902: af00 add r7, sp, #0
- 8002904: 6078 str r0, [r7, #4]
- 8002906: 6039 str r1, [r7, #0]
+ 80028aa: b480 push {r7}
+ 80028ac: b085 sub sp, #20
+ 80028ae: af00 add r7, sp, #0
+ 80028b0: 6078 str r0, [r7, #4]
+ 80028b2: 6039 str r1, [r7, #0]
uint32_t tmpsmcr;
/* Get the TIMx SMCR register value */
tmpsmcr = TIMx->SMCR;
- 8002908: 687b ldr r3, [r7, #4]
- 800290a: 689b ldr r3, [r3, #8]
- 800290c: 60fb str r3, [r7, #12]
+ 80028b4: 687b ldr r3, [r7, #4]
+ 80028b6: 689b ldr r3, [r3, #8]
+ 80028b8: 60fb str r3, [r7, #12]
/* Reset the TS Bits */
tmpsmcr &= ~TIM_SMCR_TS;
- 800290e: 68fb ldr r3, [r7, #12]
- 8002910: f023 0370 bic.w r3, r3, #112 ; 0x70
- 8002914: 60fb str r3, [r7, #12]
+ 80028ba: 68fb ldr r3, [r7, #12]
+ 80028bc: f023 0370 bic.w r3, r3, #112 ; 0x70
+ 80028c0: 60fb str r3, [r7, #12]
/* Set the Input Trigger source and the slave mode*/
tmpsmcr |= (InputTriggerSource | TIM_SLAVEMODE_EXTERNAL1);
- 8002916: 683a ldr r2, [r7, #0]
- 8002918: 68fb ldr r3, [r7, #12]
- 800291a: 4313 orrs r3, r2
- 800291c: f043 0307 orr.w r3, r3, #7
- 8002920: 60fb str r3, [r7, #12]
+ 80028c2: 683a ldr r2, [r7, #0]
+ 80028c4: 68fb ldr r3, [r7, #12]
+ 80028c6: 4313 orrs r3, r2
+ 80028c8: f043 0307 orr.w r3, r3, #7
+ 80028cc: 60fb str r3, [r7, #12]
/* Write to TIMx SMCR */
TIMx->SMCR = tmpsmcr;
- 8002922: 687b ldr r3, [r7, #4]
- 8002924: 68fa ldr r2, [r7, #12]
- 8002926: 609a str r2, [r3, #8]
+ 80028ce: 687b ldr r3, [r7, #4]
+ 80028d0: 68fa ldr r2, [r7, #12]
+ 80028d2: 609a str r2, [r3, #8]
}
- 8002928: bf00 nop
- 800292a: 3714 adds r7, #20
- 800292c: 46bd mov sp, r7
- 800292e: f85d 7b04 ldr.w r7, [sp], #4
- 8002932: 4770 bx lr
+ 80028d4: bf00 nop
+ 80028d6: 3714 adds r7, #20
+ 80028d8: 46bd mov sp, r7
+ 80028da: f85d 7b04 ldr.w r7, [sp], #4
+ 80028de: 4770 bx lr
-08002934 <TIM_ETR_SetConfig>:
+080028e0 <TIM_ETR_SetConfig>:
* This parameter must be a value between 0x00 and 0x0F
* @retval None
*/
void TIM_ETR_SetConfig(TIM_TypeDef *TIMx, uint32_t TIM_ExtTRGPrescaler,
uint32_t TIM_ExtTRGPolarity, uint32_t ExtTRGFilter)
{
- 8002934: b480 push {r7}
- 8002936: b087 sub sp, #28
- 8002938: af00 add r7, sp, #0
- 800293a: 60f8 str r0, [r7, #12]
- 800293c: 60b9 str r1, [r7, #8]
- 800293e: 607a str r2, [r7, #4]
- 8002940: 603b str r3, [r7, #0]
+ 80028e0: b480 push {r7}
+ 80028e2: b087 sub sp, #28
+ 80028e4: af00 add r7, sp, #0
+ 80028e6: 60f8 str r0, [r7, #12]
+ 80028e8: 60b9 str r1, [r7, #8]
+ 80028ea: 607a str r2, [r7, #4]
+ 80028ec: 603b str r3, [r7, #0]
uint32_t tmpsmcr;
tmpsmcr = TIMx->SMCR;
- 8002942: 68fb ldr r3, [r7, #12]
- 8002944: 689b ldr r3, [r3, #8]
- 8002946: 617b str r3, [r7, #20]
+ 80028ee: 68fb ldr r3, [r7, #12]
+ 80028f0: 689b ldr r3, [r3, #8]
+ 80028f2: 617b str r3, [r7, #20]
/* Reset the ETR Bits */
tmpsmcr &= ~(TIM_SMCR_ETF | TIM_SMCR_ETPS | TIM_SMCR_ECE | TIM_SMCR_ETP);
- 8002948: 697b ldr r3, [r7, #20]
- 800294a: f423 437f bic.w r3, r3, #65280 ; 0xff00
- 800294e: 617b str r3, [r7, #20]
+ 80028f4: 697b ldr r3, [r7, #20]
+ 80028f6: f423 437f bic.w r3, r3, #65280 ; 0xff00
+ 80028fa: 617b str r3, [r7, #20]
/* Set the Prescaler, the Filter value and the Polarity */
tmpsmcr |= (uint32_t)(TIM_ExtTRGPrescaler | (TIM_ExtTRGPolarity | (ExtTRGFilter << 8U)));
- 8002950: 683b ldr r3, [r7, #0]
- 8002952: 021a lsls r2, r3, #8
- 8002954: 687b ldr r3, [r7, #4]
- 8002956: 431a orrs r2, r3
- 8002958: 68bb ldr r3, [r7, #8]
- 800295a: 4313 orrs r3, r2
- 800295c: 697a ldr r2, [r7, #20]
- 800295e: 4313 orrs r3, r2
- 8002960: 617b str r3, [r7, #20]
+ 80028fc: 683b ldr r3, [r7, #0]
+ 80028fe: 021a lsls r2, r3, #8
+ 8002900: 687b ldr r3, [r7, #4]
+ 8002902: 431a orrs r2, r3
+ 8002904: 68bb ldr r3, [r7, #8]
+ 8002906: 4313 orrs r3, r2
+ 8002908: 697a ldr r2, [r7, #20]
+ 800290a: 4313 orrs r3, r2
+ 800290c: 617b str r3, [r7, #20]
/* Write to TIMx SMCR */
TIMx->SMCR = tmpsmcr;
- 8002962: 68fb ldr r3, [r7, #12]
- 8002964: 697a ldr r2, [r7, #20]
- 8002966: 609a str r2, [r3, #8]
+ 800290e: 68fb ldr r3, [r7, #12]
+ 8002910: 697a ldr r2, [r7, #20]
+ 8002912: 609a str r2, [r3, #8]
}
- 8002968: bf00 nop
- 800296a: 371c adds r7, #28
- 800296c: 46bd mov sp, r7
- 800296e: f85d 7b04 ldr.w r7, [sp], #4
- 8002972: 4770 bx lr
+ 8002914: bf00 nop
+ 8002916: 371c adds r7, #28
+ 8002918: 46bd mov sp, r7
+ 800291a: f85d 7b04 ldr.w r7, [sp], #4
+ 800291e: 4770 bx lr
-08002974 <HAL_TIMEx_MasterConfigSynchronization>:
+08002920 <HAL_TIMEx_MasterConfigSynchronization>:
* mode.
* @retval HAL status
*/
HAL_StatusTypeDef HAL_TIMEx_MasterConfigSynchronization(TIM_HandleTypeDef *htim,
TIM_MasterConfigTypeDef *sMasterConfig)
{
- 8002974: b480 push {r7}
- 8002976: b085 sub sp, #20
- 8002978: af00 add r7, sp, #0
- 800297a: 6078 str r0, [r7, #4]
- 800297c: 6039 str r1, [r7, #0]
+ 8002920: b480 push {r7}
+ 8002922: b085 sub sp, #20
+ 8002924: af00 add r7, sp, #0
+ 8002926: 6078 str r0, [r7, #4]
+ 8002928: 6039 str r1, [r7, #0]
assert_param(IS_TIM_SYNCHRO_INSTANCE(htim->Instance));
assert_param(IS_TIM_TRGO_SOURCE(sMasterConfig->MasterOutputTrigger));
assert_param(IS_TIM_MSM_STATE(sMasterConfig->MasterSlaveMode));
/* Check input state */
__HAL_LOCK(htim);
- 800297e: 687b ldr r3, [r7, #4]
- 8002980: f893 303c ldrb.w r3, [r3, #60] ; 0x3c
- 8002984: 2b01 cmp r3, #1
- 8002986: d101 bne.n 800298c <HAL_TIMEx_MasterConfigSynchronization+0x18>
- 8002988: 2302 movs r3, #2
- 800298a: e045 b.n 8002a18 <HAL_TIMEx_MasterConfigSynchronization+0xa4>
- 800298c: 687b ldr r3, [r7, #4]
- 800298e: 2201 movs r2, #1
- 8002990: f883 203c strb.w r2, [r3, #60] ; 0x3c
+ 800292a: 687b ldr r3, [r7, #4]
+ 800292c: f893 303c ldrb.w r3, [r3, #60] ; 0x3c
+ 8002930: 2b01 cmp r3, #1
+ 8002932: d101 bne.n 8002938 <HAL_TIMEx_MasterConfigSynchronization+0x18>
+ 8002934: 2302 movs r3, #2
+ 8002936: e045 b.n 80029c4 <HAL_TIMEx_MasterConfigSynchronization+0xa4>
+ 8002938: 687b ldr r3, [r7, #4]
+ 800293a: 2201 movs r2, #1
+ 800293c: f883 203c strb.w r2, [r3, #60] ; 0x3c
/* Change the handler state */
htim->State = HAL_TIM_STATE_BUSY;
- 8002994: 687b ldr r3, [r7, #4]
- 8002996: 2202 movs r2, #2
- 8002998: f883 203d strb.w r2, [r3, #61] ; 0x3d
+ 8002940: 687b ldr r3, [r7, #4]
+ 8002942: 2202 movs r2, #2
+ 8002944: f883 203d strb.w r2, [r3, #61] ; 0x3d
/* Get the TIMx CR2 register value */
tmpcr2 = htim->Instance->CR2;
- 800299c: 687b ldr r3, [r7, #4]
- 800299e: 681b ldr r3, [r3, #0]
- 80029a0: 685b ldr r3, [r3, #4]
- 80029a2: 60fb str r3, [r7, #12]
+ 8002948: 687b ldr r3, [r7, #4]
+ 800294a: 681b ldr r3, [r3, #0]
+ 800294c: 685b ldr r3, [r3, #4]
+ 800294e: 60fb str r3, [r7, #12]
/* Get the TIMx SMCR register value */
tmpsmcr = htim->Instance->SMCR;
- 80029a4: 687b ldr r3, [r7, #4]
- 80029a6: 681b ldr r3, [r3, #0]
- 80029a8: 689b ldr r3, [r3, #8]
- 80029aa: 60bb str r3, [r7, #8]
+ 8002950: 687b ldr r3, [r7, #4]
+ 8002952: 681b ldr r3, [r3, #0]
+ 8002954: 689b ldr r3, [r3, #8]
+ 8002956: 60bb str r3, [r7, #8]
/* If the timer supports ADC synchronization through TRGO2, set the master mode selection 2 */
if (IS_TIM_TRGO2_INSTANCE(htim->Instance))
- 80029ac: 687b ldr r3, [r7, #4]
- 80029ae: 681b ldr r3, [r3, #0]
- 80029b0: 4a1c ldr r2, [pc, #112] ; (8002a24 <HAL_TIMEx_MasterConfigSynchronization+0xb0>)
- 80029b2: 4293 cmp r3, r2
- 80029b4: d004 beq.n 80029c0 <HAL_TIMEx_MasterConfigSynchronization+0x4c>
- 80029b6: 687b ldr r3, [r7, #4]
- 80029b8: 681b ldr r3, [r3, #0]
- 80029ba: 4a1b ldr r2, [pc, #108] ; (8002a28 <HAL_TIMEx_MasterConfigSynchronization+0xb4>)
- 80029bc: 4293 cmp r3, r2
- 80029be: d108 bne.n 80029d2 <HAL_TIMEx_MasterConfigSynchronization+0x5e>
+ 8002958: 687b ldr r3, [r7, #4]
+ 800295a: 681b ldr r3, [r3, #0]
+ 800295c: 4a1c ldr r2, [pc, #112] ; (80029d0 <HAL_TIMEx_MasterConfigSynchronization+0xb0>)
+ 800295e: 4293 cmp r3, r2
+ 8002960: d004 beq.n 800296c <HAL_TIMEx_MasterConfigSynchronization+0x4c>
+ 8002962: 687b ldr r3, [r7, #4]
+ 8002964: 681b ldr r3, [r3, #0]
+ 8002966: 4a1b ldr r2, [pc, #108] ; (80029d4 <HAL_TIMEx_MasterConfigSynchronization+0xb4>)
+ 8002968: 4293 cmp r3, r2
+ 800296a: d108 bne.n 800297e <HAL_TIMEx_MasterConfigSynchronization+0x5e>
{
/* Check the parameters */
assert_param(IS_TIM_TRGO2_SOURCE(sMasterConfig->MasterOutputTrigger2));
/* Clear the MMS2 bits */
tmpcr2 &= ~TIM_CR2_MMS2;
- 80029c0: 68fb ldr r3, [r7, #12]
- 80029c2: f423 0370 bic.w r3, r3, #15728640 ; 0xf00000
- 80029c6: 60fb str r3, [r7, #12]
+ 800296c: 68fb ldr r3, [r7, #12]
+ 800296e: f423 0370 bic.w r3, r3, #15728640 ; 0xf00000
+ 8002972: 60fb str r3, [r7, #12]
/* Select the TRGO2 source*/
tmpcr2 |= sMasterConfig->MasterOutputTrigger2;
- 80029c8: 683b ldr r3, [r7, #0]
- 80029ca: 685b ldr r3, [r3, #4]
- 80029cc: 68fa ldr r2, [r7, #12]
- 80029ce: 4313 orrs r3, r2
- 80029d0: 60fb str r3, [r7, #12]
+ 8002974: 683b ldr r3, [r7, #0]
+ 8002976: 685b ldr r3, [r3, #4]
+ 8002978: 68fa ldr r2, [r7, #12]
+ 800297a: 4313 orrs r3, r2
+ 800297c: 60fb str r3, [r7, #12]
}
/* Reset the MMS Bits */
tmpcr2 &= ~TIM_CR2_MMS;
- 80029d2: 68fb ldr r3, [r7, #12]
- 80029d4: f023 0370 bic.w r3, r3, #112 ; 0x70
- 80029d8: 60fb str r3, [r7, #12]
+ 800297e: 68fb ldr r3, [r7, #12]
+ 8002980: f023 0370 bic.w r3, r3, #112 ; 0x70
+ 8002984: 60fb str r3, [r7, #12]
/* Select the TRGO source */
tmpcr2 |= sMasterConfig->MasterOutputTrigger;
- 80029da: 683b ldr r3, [r7, #0]
- 80029dc: 681b ldr r3, [r3, #0]
- 80029de: 68fa ldr r2, [r7, #12]
- 80029e0: 4313 orrs r3, r2
- 80029e2: 60fb str r3, [r7, #12]
+ 8002986: 683b ldr r3, [r7, #0]
+ 8002988: 681b ldr r3, [r3, #0]
+ 800298a: 68fa ldr r2, [r7, #12]
+ 800298c: 4313 orrs r3, r2
+ 800298e: 60fb str r3, [r7, #12]
/* Reset the MSM Bit */
tmpsmcr &= ~TIM_SMCR_MSM;
- 80029e4: 68bb ldr r3, [r7, #8]
- 80029e6: f023 0380 bic.w r3, r3, #128 ; 0x80
- 80029ea: 60bb str r3, [r7, #8]
+ 8002990: 68bb ldr r3, [r7, #8]
+ 8002992: f023 0380 bic.w r3, r3, #128 ; 0x80
+ 8002996: 60bb str r3, [r7, #8]
/* Set master mode */
tmpsmcr |= sMasterConfig->MasterSlaveMode;
- 80029ec: 683b ldr r3, [r7, #0]
- 80029ee: 689b ldr r3, [r3, #8]
- 80029f0: 68ba ldr r2, [r7, #8]
- 80029f2: 4313 orrs r3, r2
- 80029f4: 60bb str r3, [r7, #8]
+ 8002998: 683b ldr r3, [r7, #0]
+ 800299a: 689b ldr r3, [r3, #8]
+ 800299c: 68ba ldr r2, [r7, #8]
+ 800299e: 4313 orrs r3, r2
+ 80029a0: 60bb str r3, [r7, #8]
/* Update TIMx CR2 */
htim->Instance->CR2 = tmpcr2;
- 80029f6: 687b ldr r3, [r7, #4]
- 80029f8: 681b ldr r3, [r3, #0]
- 80029fa: 68fa ldr r2, [r7, #12]
- 80029fc: 605a str r2, [r3, #4]
+ 80029a2: 687b ldr r3, [r7, #4]
+ 80029a4: 681b ldr r3, [r3, #0]
+ 80029a6: 68fa ldr r2, [r7, #12]
+ 80029a8: 605a str r2, [r3, #4]
/* Update TIMx SMCR */
htim->Instance->SMCR = tmpsmcr;
- 80029fe: 687b ldr r3, [r7, #4]
- 8002a00: 681b ldr r3, [r3, #0]
- 8002a02: 68ba ldr r2, [r7, #8]
- 8002a04: 609a str r2, [r3, #8]
+ 80029aa: 687b ldr r3, [r7, #4]
+ 80029ac: 681b ldr r3, [r3, #0]
+ 80029ae: 68ba ldr r2, [r7, #8]
+ 80029b0: 609a str r2, [r3, #8]
/* Change the htim state */
htim->State = HAL_TIM_STATE_READY;
- 8002a06: 687b ldr r3, [r7, #4]
- 8002a08: 2201 movs r2, #1
- 8002a0a: f883 203d strb.w r2, [r3, #61] ; 0x3d
+ 80029b2: 687b ldr r3, [r7, #4]
+ 80029b4: 2201 movs r2, #1
+ 80029b6: f883 203d strb.w r2, [r3, #61] ; 0x3d
__HAL_UNLOCK(htim);
- 8002a0e: 687b ldr r3, [r7, #4]
- 8002a10: 2200 movs r2, #0
- 8002a12: f883 203c strb.w r2, [r3, #60] ; 0x3c
+ 80029ba: 687b ldr r3, [r7, #4]
+ 80029bc: 2200 movs r2, #0
+ 80029be: f883 203c strb.w r2, [r3, #60] ; 0x3c
return HAL_OK;
- 8002a16: 2300 movs r3, #0
+ 80029c2: 2300 movs r3, #0
}
- 8002a18: 4618 mov r0, r3
- 8002a1a: 3714 adds r7, #20
- 8002a1c: 46bd mov sp, r7
- 8002a1e: f85d 7b04 ldr.w r7, [sp], #4
- 8002a22: 4770 bx lr
- 8002a24: 40010000 .word 0x40010000
- 8002a28: 40010400 .word 0x40010400
-
-08002a2c <HAL_TIMEx_CommutCallback>:
+ 80029c4: 4618 mov r0, r3
+ 80029c6: 3714 adds r7, #20
+ 80029c8: 46bd mov sp, r7
+ 80029ca: f85d 7b04 ldr.w r7, [sp], #4
+ 80029ce: 4770 bx lr
+ 80029d0: 40010000 .word 0x40010000
+ 80029d4: 40010400 .word 0x40010400
+
+080029d8 <HAL_TIMEx_CommutCallback>:
* @brief Hall commutation changed callback in non-blocking mode
* @param htim TIM handle
* @retval None
*/
__weak void HAL_TIMEx_CommutCallback(TIM_HandleTypeDef *htim)
{
- 8002a2c: b480 push {r7}
- 8002a2e: b083 sub sp, #12
- 8002a30: af00 add r7, sp, #0
- 8002a32: 6078 str r0, [r7, #4]
+ 80029d8: b480 push {r7}
+ 80029da: b083 sub sp, #12
+ 80029dc: af00 add r7, sp, #0
+ 80029de: 6078 str r0, [r7, #4]
UNUSED(htim);
/* NOTE : This function should not be modified, when the callback is needed,
the HAL_TIMEx_CommutCallback could be implemented in the user file
*/
}
- 8002a34: bf00 nop
- 8002a36: 370c adds r7, #12
- 8002a38: 46bd mov sp, r7
- 8002a3a: f85d 7b04 ldr.w r7, [sp], #4
- 8002a3e: 4770 bx lr
+ 80029e0: bf00 nop
+ 80029e2: 370c adds r7, #12
+ 80029e4: 46bd mov sp, r7
+ 80029e6: f85d 7b04 ldr.w r7, [sp], #4
+ 80029ea: 4770 bx lr
-08002a40 <HAL_TIMEx_BreakCallback>:
+080029ec <HAL_TIMEx_BreakCallback>:
* @brief Hall Break detection callback in non-blocking mode
* @param htim TIM handle
* @retval None
*/
__weak void HAL_TIMEx_BreakCallback(TIM_HandleTypeDef *htim)
{
- 8002a40: b480 push {r7}
- 8002a42: b083 sub sp, #12
- 8002a44: af00 add r7, sp, #0
- 8002a46: 6078 str r0, [r7, #4]
+ 80029ec: b480 push {r7}
+ 80029ee: b083 sub sp, #12
+ 80029f0: af00 add r7, sp, #0
+ 80029f2: 6078 str r0, [r7, #4]
UNUSED(htim);
/* NOTE : This function should not be modified, when the callback is needed,
the HAL_TIMEx_BreakCallback could be implemented in the user file
*/
}
- 8002a48: bf00 nop
- 8002a4a: 370c adds r7, #12
- 8002a4c: 46bd mov sp, r7
- 8002a4e: f85d 7b04 ldr.w r7, [sp], #4
- 8002a52: 4770 bx lr
+ 80029f4: bf00 nop
+ 80029f6: 370c adds r7, #12
+ 80029f8: 46bd mov sp, r7
+ 80029fa: f85d 7b04 ldr.w r7, [sp], #4
+ 80029fe: 4770 bx lr
-08002a54 <HAL_TIMEx_Break2Callback>:
+08002a00 <HAL_TIMEx_Break2Callback>:
* @brief Hall Break2 detection callback in non blocking mode
* @param htim: TIM handle
* @retval None
*/
__weak void HAL_TIMEx_Break2Callback(TIM_HandleTypeDef *htim)
{
- 8002a54: b480 push {r7}
- 8002a56: b083 sub sp, #12
- 8002a58: af00 add r7, sp, #0
- 8002a5a: 6078 str r0, [r7, #4]
+ 8002a00: b480 push {r7}
+ 8002a02: b083 sub sp, #12
+ 8002a04: af00 add r7, sp, #0
+ 8002a06: 6078 str r0, [r7, #4]
UNUSED(htim);
/* NOTE : This function Should not be modified, when the callback is needed,
the HAL_TIMEx_Break2Callback could be implemented in the user file
*/
}
- 8002a5c: bf00 nop
- 8002a5e: 370c adds r7, #12
- 8002a60: 46bd mov sp, r7
- 8002a62: f85d 7b04 ldr.w r7, [sp], #4
- 8002a66: 4770 bx lr
+ 8002a08: bf00 nop
+ 8002a0a: 370c adds r7, #12
+ 8002a0c: 46bd mov sp, r7
+ 8002a0e: f85d 7b04 ldr.w r7, [sp], #4
+ 8002a12: 4770 bx lr
-08002a68 <HAL_UART_Init>:
+08002a14 <HAL_UART_Init>:
* parameters in the UART_InitTypeDef and initialize the associated handle.
* @param huart UART handle.
* @retval HAL status
*/
HAL_StatusTypeDef HAL_UART_Init(UART_HandleTypeDef *huart)
{
- 8002a68: b580 push {r7, lr}
- 8002a6a: b082 sub sp, #8
- 8002a6c: af00 add r7, sp, #0
- 8002a6e: 6078 str r0, [r7, #4]
+ 8002a14: b580 push {r7, lr}
+ 8002a16: b082 sub sp, #8
+ 8002a18: af00 add r7, sp, #0
+ 8002a1a: 6078 str r0, [r7, #4]
/* Check the UART handle allocation */
if (huart == NULL)
- 8002a70: 687b ldr r3, [r7, #4]
- 8002a72: 2b00 cmp r3, #0
- 8002a74: d101 bne.n 8002a7a <HAL_UART_Init+0x12>
+ 8002a1c: 687b ldr r3, [r7, #4]
+ 8002a1e: 2b00 cmp r3, #0
+ 8002a20: d101 bne.n 8002a26 <HAL_UART_Init+0x12>
{
return HAL_ERROR;
- 8002a76: 2301 movs r3, #1
- 8002a78: e040 b.n 8002afc <HAL_UART_Init+0x94>
+ 8002a22: 2301 movs r3, #1
+ 8002a24: e040 b.n 8002aa8 <HAL_UART_Init+0x94>
{
/* Check the parameters */
assert_param(IS_UART_INSTANCE(huart->Instance));
}
if (huart->gState == HAL_UART_STATE_RESET)
- 8002a7a: 687b ldr r3, [r7, #4]
- 8002a7c: 6f5b ldr r3, [r3, #116] ; 0x74
- 8002a7e: 2b00 cmp r3, #0
- 8002a80: d106 bne.n 8002a90 <HAL_UART_Init+0x28>
+ 8002a26: 687b ldr r3, [r7, #4]
+ 8002a28: 6f5b ldr r3, [r3, #116] ; 0x74
+ 8002a2a: 2b00 cmp r3, #0
+ 8002a2c: d106 bne.n 8002a3c <HAL_UART_Init+0x28>
{
/* Allocate lock resource and initialize it */
huart->Lock = HAL_UNLOCKED;
- 8002a82: 687b ldr r3, [r7, #4]
- 8002a84: 2200 movs r2, #0
- 8002a86: f883 2070 strb.w r2, [r3, #112] ; 0x70
+ 8002a2e: 687b ldr r3, [r7, #4]
+ 8002a30: 2200 movs r2, #0
+ 8002a32: f883 2070 strb.w r2, [r3, #112] ; 0x70
/* Init the low level hardware */
huart->MspInitCallback(huart);
#else
/* Init the low level hardware : GPIO, CLOCK */
HAL_UART_MspInit(huart);
- 8002a8a: 6878 ldr r0, [r7, #4]
- 8002a8c: f7fd ff34 bl 80008f8 <HAL_UART_MspInit>
+ 8002a36: 6878 ldr r0, [r7, #4]
+ 8002a38: f7fd ff52 bl 80008e0 <HAL_UART_MspInit>
#endif /* (USE_HAL_UART_REGISTER_CALLBACKS) */
}
huart->gState = HAL_UART_STATE_BUSY;
- 8002a90: 687b ldr r3, [r7, #4]
- 8002a92: 2224 movs r2, #36 ; 0x24
- 8002a94: 675a str r2, [r3, #116] ; 0x74
+ 8002a3c: 687b ldr r3, [r7, #4]
+ 8002a3e: 2224 movs r2, #36 ; 0x24
+ 8002a40: 675a str r2, [r3, #116] ; 0x74
/* Disable the Peripheral */
__HAL_UART_DISABLE(huart);
- 8002a96: 687b ldr r3, [r7, #4]
- 8002a98: 681b ldr r3, [r3, #0]
- 8002a9a: 681a ldr r2, [r3, #0]
- 8002a9c: 687b ldr r3, [r7, #4]
- 8002a9e: 681b ldr r3, [r3, #0]
- 8002aa0: f022 0201 bic.w r2, r2, #1
- 8002aa4: 601a str r2, [r3, #0]
+ 8002a42: 687b ldr r3, [r7, #4]
+ 8002a44: 681b ldr r3, [r3, #0]
+ 8002a46: 681a ldr r2, [r3, #0]
+ 8002a48: 687b ldr r3, [r7, #4]
+ 8002a4a: 681b ldr r3, [r3, #0]
+ 8002a4c: f022 0201 bic.w r2, r2, #1
+ 8002a50: 601a str r2, [r3, #0]
/* Set the UART Communication parameters */
if (UART_SetConfig(huart) == HAL_ERROR)
- 8002aa6: 6878 ldr r0, [r7, #4]
- 8002aa8: f000 fa86 bl 8002fb8 <UART_SetConfig>
- 8002aac: 4603 mov r3, r0
- 8002aae: 2b01 cmp r3, #1
- 8002ab0: d101 bne.n 8002ab6 <HAL_UART_Init+0x4e>
+ 8002a52: 6878 ldr r0, [r7, #4]
+ 8002a54: f000 fa86 bl 8002f64 <UART_SetConfig>
+ 8002a58: 4603 mov r3, r0
+ 8002a5a: 2b01 cmp r3, #1
+ 8002a5c: d101 bne.n 8002a62 <HAL_UART_Init+0x4e>
{
return HAL_ERROR;
- 8002ab2: 2301 movs r3, #1
- 8002ab4: e022 b.n 8002afc <HAL_UART_Init+0x94>
+ 8002a5e: 2301 movs r3, #1
+ 8002a60: e022 b.n 8002aa8 <HAL_UART_Init+0x94>
}
if (huart->AdvancedInit.AdvFeatureInit != UART_ADVFEATURE_NO_INIT)
- 8002ab6: 687b ldr r3, [r7, #4]
- 8002ab8: 6a5b ldr r3, [r3, #36] ; 0x24
- 8002aba: 2b00 cmp r3, #0
- 8002abc: d002 beq.n 8002ac4 <HAL_UART_Init+0x5c>
+ 8002a62: 687b ldr r3, [r7, #4]
+ 8002a64: 6a5b ldr r3, [r3, #36] ; 0x24
+ 8002a66: 2b00 cmp r3, #0
+ 8002a68: d002 beq.n 8002a70 <HAL_UART_Init+0x5c>
{
UART_AdvFeatureConfig(huart);
- 8002abe: 6878 ldr r0, [r7, #4]
- 8002ac0: f000 fd1e bl 8003500 <UART_AdvFeatureConfig>
+ 8002a6a: 6878 ldr r0, [r7, #4]
+ 8002a6c: f000 fd1e bl 80034ac <UART_AdvFeatureConfig>
}
/* In asynchronous mode, the following bits must be kept cleared:
- LINEN and CLKEN bits in the USART_CR2 register,
- SCEN, HDSEL and IREN bits in the USART_CR3 register.*/
CLEAR_BIT(huart->Instance->CR2, (USART_CR2_LINEN | USART_CR2_CLKEN));
- 8002ac4: 687b ldr r3, [r7, #4]
- 8002ac6: 681b ldr r3, [r3, #0]
- 8002ac8: 685a ldr r2, [r3, #4]
- 8002aca: 687b ldr r3, [r7, #4]
- 8002acc: 681b ldr r3, [r3, #0]
- 8002ace: f422 4290 bic.w r2, r2, #18432 ; 0x4800
- 8002ad2: 605a str r2, [r3, #4]
+ 8002a70: 687b ldr r3, [r7, #4]
+ 8002a72: 681b ldr r3, [r3, #0]
+ 8002a74: 685a ldr r2, [r3, #4]
+ 8002a76: 687b ldr r3, [r7, #4]
+ 8002a78: 681b ldr r3, [r3, #0]
+ 8002a7a: f422 4290 bic.w r2, r2, #18432 ; 0x4800
+ 8002a7e: 605a str r2, [r3, #4]
CLEAR_BIT(huart->Instance->CR3, (USART_CR3_SCEN | USART_CR3_HDSEL | USART_CR3_IREN));
- 8002ad4: 687b ldr r3, [r7, #4]
- 8002ad6: 681b ldr r3, [r3, #0]
- 8002ad8: 689a ldr r2, [r3, #8]
- 8002ada: 687b ldr r3, [r7, #4]
- 8002adc: 681b ldr r3, [r3, #0]
- 8002ade: f022 022a bic.w r2, r2, #42 ; 0x2a
- 8002ae2: 609a str r2, [r3, #8]
+ 8002a80: 687b ldr r3, [r7, #4]
+ 8002a82: 681b ldr r3, [r3, #0]
+ 8002a84: 689a ldr r2, [r3, #8]
+ 8002a86: 687b ldr r3, [r7, #4]
+ 8002a88: 681b ldr r3, [r3, #0]
+ 8002a8a: f022 022a bic.w r2, r2, #42 ; 0x2a
+ 8002a8e: 609a str r2, [r3, #8]
/* Enable the Peripheral */
__HAL_UART_ENABLE(huart);
- 8002ae4: 687b ldr r3, [r7, #4]
- 8002ae6: 681b ldr r3, [r3, #0]
- 8002ae8: 681a ldr r2, [r3, #0]
- 8002aea: 687b ldr r3, [r7, #4]
- 8002aec: 681b ldr r3, [r3, #0]
- 8002aee: f042 0201 orr.w r2, r2, #1
- 8002af2: 601a str r2, [r3, #0]
+ 8002a90: 687b ldr r3, [r7, #4]
+ 8002a92: 681b ldr r3, [r3, #0]
+ 8002a94: 681a ldr r2, [r3, #0]
+ 8002a96: 687b ldr r3, [r7, #4]
+ 8002a98: 681b ldr r3, [r3, #0]
+ 8002a9a: f042 0201 orr.w r2, r2, #1
+ 8002a9e: 601a str r2, [r3, #0]
/* TEACK and/or REACK to check before moving huart->gState and huart->RxState to Ready */
return (UART_CheckIdleState(huart));
- 8002af4: 6878 ldr r0, [r7, #4]
- 8002af6: f000 fda5 bl 8003644 <UART_CheckIdleState>
- 8002afa: 4603 mov r3, r0
+ 8002aa0: 6878 ldr r0, [r7, #4]
+ 8002aa2: f000 fda5 bl 80035f0 <UART_CheckIdleState>
+ 8002aa6: 4603 mov r3, r0
}
- 8002afc: 4618 mov r0, r3
- 8002afe: 3708 adds r7, #8
- 8002b00: 46bd mov sp, r7
- 8002b02: bd80 pop {r7, pc}
+ 8002aa8: 4618 mov r0, r3
+ 8002aaa: 3708 adds r7, #8
+ 8002aac: 46bd mov sp, r7
+ 8002aae: bd80 pop {r7, pc}
-08002b04 <HAL_UART_Transmit>:
+08002ab0 <HAL_UART_Transmit>:
* @param Size Amount of data to be sent.
* @param Timeout Timeout duration.
* @retval HAL status
*/
HAL_StatusTypeDef HAL_UART_Transmit(UART_HandleTypeDef *huart, uint8_t *pData, uint16_t Size, uint32_t Timeout)
{
- 8002b04: b580 push {r7, lr}
- 8002b06: b08a sub sp, #40 ; 0x28
- 8002b08: af02 add r7, sp, #8
- 8002b0a: 60f8 str r0, [r7, #12]
- 8002b0c: 60b9 str r1, [r7, #8]
- 8002b0e: 603b str r3, [r7, #0]
- 8002b10: 4613 mov r3, r2
- 8002b12: 80fb strh r3, [r7, #6]
+ 8002ab0: b580 push {r7, lr}
+ 8002ab2: b08a sub sp, #40 ; 0x28
+ 8002ab4: af02 add r7, sp, #8
+ 8002ab6: 60f8 str r0, [r7, #12]
+ 8002ab8: 60b9 str r1, [r7, #8]
+ 8002aba: 603b str r3, [r7, #0]
+ 8002abc: 4613 mov r3, r2
+ 8002abe: 80fb strh r3, [r7, #6]
uint8_t *pdata8bits;
uint16_t *pdata16bits;
uint32_t tickstart;
/* Check that a Tx process is not already ongoing */
if (huart->gState == HAL_UART_STATE_READY)
- 8002b14: 68fb ldr r3, [r7, #12]
- 8002b16: 6f5b ldr r3, [r3, #116] ; 0x74
- 8002b18: 2b20 cmp r3, #32
- 8002b1a: d17f bne.n 8002c1c <HAL_UART_Transmit+0x118>
+ 8002ac0: 68fb ldr r3, [r7, #12]
+ 8002ac2: 6f5b ldr r3, [r3, #116] ; 0x74
+ 8002ac4: 2b20 cmp r3, #32
+ 8002ac6: d17f bne.n 8002bc8 <HAL_UART_Transmit+0x118>
{
if ((pData == NULL) || (Size == 0U))
- 8002b1c: 68bb ldr r3, [r7, #8]
- 8002b1e: 2b00 cmp r3, #0
- 8002b20: d002 beq.n 8002b28 <HAL_UART_Transmit+0x24>
- 8002b22: 88fb ldrh r3, [r7, #6]
- 8002b24: 2b00 cmp r3, #0
- 8002b26: d101 bne.n 8002b2c <HAL_UART_Transmit+0x28>
+ 8002ac8: 68bb ldr r3, [r7, #8]
+ 8002aca: 2b00 cmp r3, #0
+ 8002acc: d002 beq.n 8002ad4 <HAL_UART_Transmit+0x24>
+ 8002ace: 88fb ldrh r3, [r7, #6]
+ 8002ad0: 2b00 cmp r3, #0
+ 8002ad2: d101 bne.n 8002ad8 <HAL_UART_Transmit+0x28>
{
return HAL_ERROR;
- 8002b28: 2301 movs r3, #1
- 8002b2a: e078 b.n 8002c1e <HAL_UART_Transmit+0x11a>
+ 8002ad4: 2301 movs r3, #1
+ 8002ad6: e078 b.n 8002bca <HAL_UART_Transmit+0x11a>
}
/* Process Locked */
__HAL_LOCK(huart);
- 8002b2c: 68fb ldr r3, [r7, #12]
- 8002b2e: f893 3070 ldrb.w r3, [r3, #112] ; 0x70
- 8002b32: 2b01 cmp r3, #1
- 8002b34: d101 bne.n 8002b3a <HAL_UART_Transmit+0x36>
- 8002b36: 2302 movs r3, #2
- 8002b38: e071 b.n 8002c1e <HAL_UART_Transmit+0x11a>
- 8002b3a: 68fb ldr r3, [r7, #12]
- 8002b3c: 2201 movs r2, #1
- 8002b3e: f883 2070 strb.w r2, [r3, #112] ; 0x70
+ 8002ad8: 68fb ldr r3, [r7, #12]
+ 8002ada: f893 3070 ldrb.w r3, [r3, #112] ; 0x70
+ 8002ade: 2b01 cmp r3, #1
+ 8002ae0: d101 bne.n 8002ae6 <HAL_UART_Transmit+0x36>
+ 8002ae2: 2302 movs r3, #2
+ 8002ae4: e071 b.n 8002bca <HAL_UART_Transmit+0x11a>
+ 8002ae6: 68fb ldr r3, [r7, #12]
+ 8002ae8: 2201 movs r2, #1
+ 8002aea: f883 2070 strb.w r2, [r3, #112] ; 0x70
huart->ErrorCode = HAL_UART_ERROR_NONE;
- 8002b42: 68fb ldr r3, [r7, #12]
- 8002b44: 2200 movs r2, #0
- 8002b46: 67da str r2, [r3, #124] ; 0x7c
+ 8002aee: 68fb ldr r3, [r7, #12]
+ 8002af0: 2200 movs r2, #0
+ 8002af2: 67da str r2, [r3, #124] ; 0x7c
huart->gState = HAL_UART_STATE_BUSY_TX;
- 8002b48: 68fb ldr r3, [r7, #12]
- 8002b4a: 2221 movs r2, #33 ; 0x21
- 8002b4c: 675a str r2, [r3, #116] ; 0x74
+ 8002af4: 68fb ldr r3, [r7, #12]
+ 8002af6: 2221 movs r2, #33 ; 0x21
+ 8002af8: 675a str r2, [r3, #116] ; 0x74
/* Init tickstart for timeout managment*/
tickstart = HAL_GetTick();
- 8002b4e: f7fe f82f bl 8000bb0 <HAL_GetTick>
- 8002b52: 6178 str r0, [r7, #20]
+ 8002afa: f7fe f82f bl 8000b5c <HAL_GetTick>
+ 8002afe: 6178 str r0, [r7, #20]
huart->TxXferSize = Size;
- 8002b54: 68fb ldr r3, [r7, #12]
- 8002b56: 88fa ldrh r2, [r7, #6]
- 8002b58: f8a3 2050 strh.w r2, [r3, #80] ; 0x50
+ 8002b00: 68fb ldr r3, [r7, #12]
+ 8002b02: 88fa ldrh r2, [r7, #6]
+ 8002b04: f8a3 2050 strh.w r2, [r3, #80] ; 0x50
huart->TxXferCount = Size;
- 8002b5c: 68fb ldr r3, [r7, #12]
- 8002b5e: 88fa ldrh r2, [r7, #6]
- 8002b60: f8a3 2052 strh.w r2, [r3, #82] ; 0x52
+ 8002b08: 68fb ldr r3, [r7, #12]
+ 8002b0a: 88fa ldrh r2, [r7, #6]
+ 8002b0c: f8a3 2052 strh.w r2, [r3, #82] ; 0x52
/* In case of 9bits/No Parity transfer, pData needs to be handled as a uint16_t pointer */
if ((huart->Init.WordLength == UART_WORDLENGTH_9B) && (huart->Init.Parity == UART_PARITY_NONE))
- 8002b64: 68fb ldr r3, [r7, #12]
- 8002b66: 689b ldr r3, [r3, #8]
- 8002b68: f5b3 5f80 cmp.w r3, #4096 ; 0x1000
- 8002b6c: d108 bne.n 8002b80 <HAL_UART_Transmit+0x7c>
- 8002b6e: 68fb ldr r3, [r7, #12]
- 8002b70: 691b ldr r3, [r3, #16]
- 8002b72: 2b00 cmp r3, #0
- 8002b74: d104 bne.n 8002b80 <HAL_UART_Transmit+0x7c>
+ 8002b10: 68fb ldr r3, [r7, #12]
+ 8002b12: 689b ldr r3, [r3, #8]
+ 8002b14: f5b3 5f80 cmp.w r3, #4096 ; 0x1000
+ 8002b18: d108 bne.n 8002b2c <HAL_UART_Transmit+0x7c>
+ 8002b1a: 68fb ldr r3, [r7, #12]
+ 8002b1c: 691b ldr r3, [r3, #16]
+ 8002b1e: 2b00 cmp r3, #0
+ 8002b20: d104 bne.n 8002b2c <HAL_UART_Transmit+0x7c>
{
pdata8bits = NULL;
- 8002b76: 2300 movs r3, #0
- 8002b78: 61fb str r3, [r7, #28]
+ 8002b22: 2300 movs r3, #0
+ 8002b24: 61fb str r3, [r7, #28]
pdata16bits = (uint16_t *) pData;
- 8002b7a: 68bb ldr r3, [r7, #8]
- 8002b7c: 61bb str r3, [r7, #24]
- 8002b7e: e003 b.n 8002b88 <HAL_UART_Transmit+0x84>
+ 8002b26: 68bb ldr r3, [r7, #8]
+ 8002b28: 61bb str r3, [r7, #24]
+ 8002b2a: e003 b.n 8002b34 <HAL_UART_Transmit+0x84>
}
else
{
pdata8bits = pData;
- 8002b80: 68bb ldr r3, [r7, #8]
- 8002b82: 61fb str r3, [r7, #28]
+ 8002b2c: 68bb ldr r3, [r7, #8]
+ 8002b2e: 61fb str r3, [r7, #28]
pdata16bits = NULL;
- 8002b84: 2300 movs r3, #0
- 8002b86: 61bb str r3, [r7, #24]
+ 8002b30: 2300 movs r3, #0
+ 8002b32: 61bb str r3, [r7, #24]
}
while (huart->TxXferCount > 0U)
- 8002b88: e02c b.n 8002be4 <HAL_UART_Transmit+0xe0>
+ 8002b34: e02c b.n 8002b90 <HAL_UART_Transmit+0xe0>
{
if (UART_WaitOnFlagUntilTimeout(huart, UART_FLAG_TXE, RESET, tickstart, Timeout) != HAL_OK)
- 8002b8a: 683b ldr r3, [r7, #0]
- 8002b8c: 9300 str r3, [sp, #0]
- 8002b8e: 697b ldr r3, [r7, #20]
- 8002b90: 2200 movs r2, #0
- 8002b92: 2180 movs r1, #128 ; 0x80
- 8002b94: 68f8 ldr r0, [r7, #12]
- 8002b96: f000 fd84 bl 80036a2 <UART_WaitOnFlagUntilTimeout>
- 8002b9a: 4603 mov r3, r0
- 8002b9c: 2b00 cmp r3, #0
- 8002b9e: d001 beq.n 8002ba4 <HAL_UART_Transmit+0xa0>
+ 8002b36: 683b ldr r3, [r7, #0]
+ 8002b38: 9300 str r3, [sp, #0]
+ 8002b3a: 697b ldr r3, [r7, #20]
+ 8002b3c: 2200 movs r2, #0
+ 8002b3e: 2180 movs r1, #128 ; 0x80
+ 8002b40: 68f8 ldr r0, [r7, #12]
+ 8002b42: f000 fd84 bl 800364e <UART_WaitOnFlagUntilTimeout>
+ 8002b46: 4603 mov r3, r0
+ 8002b48: 2b00 cmp r3, #0
+ 8002b4a: d001 beq.n 8002b50 <HAL_UART_Transmit+0xa0>
{
return HAL_TIMEOUT;
- 8002ba0: 2303 movs r3, #3
- 8002ba2: e03c b.n 8002c1e <HAL_UART_Transmit+0x11a>
+ 8002b4c: 2303 movs r3, #3
+ 8002b4e: e03c b.n 8002bca <HAL_UART_Transmit+0x11a>
}
if (pdata8bits == NULL)
- 8002ba4: 69fb ldr r3, [r7, #28]
- 8002ba6: 2b00 cmp r3, #0
- 8002ba8: d10b bne.n 8002bc2 <HAL_UART_Transmit+0xbe>
+ 8002b50: 69fb ldr r3, [r7, #28]
+ 8002b52: 2b00 cmp r3, #0
+ 8002b54: d10b bne.n 8002b6e <HAL_UART_Transmit+0xbe>
{
huart->Instance->TDR = (uint16_t)(*pdata16bits & 0x01FFU);
- 8002baa: 69bb ldr r3, [r7, #24]
- 8002bac: 881b ldrh r3, [r3, #0]
- 8002bae: 461a mov r2, r3
- 8002bb0: 68fb ldr r3, [r7, #12]
- 8002bb2: 681b ldr r3, [r3, #0]
- 8002bb4: f3c2 0208 ubfx r2, r2, #0, #9
- 8002bb8: 629a str r2, [r3, #40] ; 0x28
+ 8002b56: 69bb ldr r3, [r7, #24]
+ 8002b58: 881b ldrh r3, [r3, #0]
+ 8002b5a: 461a mov r2, r3
+ 8002b5c: 68fb ldr r3, [r7, #12]
+ 8002b5e: 681b ldr r3, [r3, #0]
+ 8002b60: f3c2 0208 ubfx r2, r2, #0, #9
+ 8002b64: 629a str r2, [r3, #40] ; 0x28
pdata16bits++;
- 8002bba: 69bb ldr r3, [r7, #24]
- 8002bbc: 3302 adds r3, #2
- 8002bbe: 61bb str r3, [r7, #24]
- 8002bc0: e007 b.n 8002bd2 <HAL_UART_Transmit+0xce>
+ 8002b66: 69bb ldr r3, [r7, #24]
+ 8002b68: 3302 adds r3, #2
+ 8002b6a: 61bb str r3, [r7, #24]
+ 8002b6c: e007 b.n 8002b7e <HAL_UART_Transmit+0xce>
}
else
{
huart->Instance->TDR = (uint8_t)(*pdata8bits & 0xFFU);
- 8002bc2: 69fb ldr r3, [r7, #28]
- 8002bc4: 781a ldrb r2, [r3, #0]
- 8002bc6: 68fb ldr r3, [r7, #12]
- 8002bc8: 681b ldr r3, [r3, #0]
- 8002bca: 629a str r2, [r3, #40] ; 0x28
+ 8002b6e: 69fb ldr r3, [r7, #28]
+ 8002b70: 781a ldrb r2, [r3, #0]
+ 8002b72: 68fb ldr r3, [r7, #12]
+ 8002b74: 681b ldr r3, [r3, #0]
+ 8002b76: 629a str r2, [r3, #40] ; 0x28
pdata8bits++;
- 8002bcc: 69fb ldr r3, [r7, #28]
- 8002bce: 3301 adds r3, #1
- 8002bd0: 61fb str r3, [r7, #28]
+ 8002b78: 69fb ldr r3, [r7, #28]
+ 8002b7a: 3301 adds r3, #1
+ 8002b7c: 61fb str r3, [r7, #28]
}
huart->TxXferCount--;
- 8002bd2: 68fb ldr r3, [r7, #12]
- 8002bd4: f8b3 3052 ldrh.w r3, [r3, #82] ; 0x52
- 8002bd8: b29b uxth r3, r3
- 8002bda: 3b01 subs r3, #1
- 8002bdc: b29a uxth r2, r3
- 8002bde: 68fb ldr r3, [r7, #12]
- 8002be0: f8a3 2052 strh.w r2, [r3, #82] ; 0x52
+ 8002b7e: 68fb ldr r3, [r7, #12]
+ 8002b80: f8b3 3052 ldrh.w r3, [r3, #82] ; 0x52
+ 8002b84: b29b uxth r3, r3
+ 8002b86: 3b01 subs r3, #1
+ 8002b88: b29a uxth r2, r3
+ 8002b8a: 68fb ldr r3, [r7, #12]
+ 8002b8c: f8a3 2052 strh.w r2, [r3, #82] ; 0x52
while (huart->TxXferCount > 0U)
- 8002be4: 68fb ldr r3, [r7, #12]
- 8002be6: f8b3 3052 ldrh.w r3, [r3, #82] ; 0x52
- 8002bea: b29b uxth r3, r3
- 8002bec: 2b00 cmp r3, #0
- 8002bee: d1cc bne.n 8002b8a <HAL_UART_Transmit+0x86>
+ 8002b90: 68fb ldr r3, [r7, #12]
+ 8002b92: f8b3 3052 ldrh.w r3, [r3, #82] ; 0x52
+ 8002b96: b29b uxth r3, r3
+ 8002b98: 2b00 cmp r3, #0
+ 8002b9a: d1cc bne.n 8002b36 <HAL_UART_Transmit+0x86>
}
if (UART_WaitOnFlagUntilTimeout(huart, UART_FLAG_TC, RESET, tickstart, Timeout) != HAL_OK)
- 8002bf0: 683b ldr r3, [r7, #0]
- 8002bf2: 9300 str r3, [sp, #0]
- 8002bf4: 697b ldr r3, [r7, #20]
- 8002bf6: 2200 movs r2, #0
- 8002bf8: 2140 movs r1, #64 ; 0x40
- 8002bfa: 68f8 ldr r0, [r7, #12]
- 8002bfc: f000 fd51 bl 80036a2 <UART_WaitOnFlagUntilTimeout>
- 8002c00: 4603 mov r3, r0
- 8002c02: 2b00 cmp r3, #0
- 8002c04: d001 beq.n 8002c0a <HAL_UART_Transmit+0x106>
+ 8002b9c: 683b ldr r3, [r7, #0]
+ 8002b9e: 9300 str r3, [sp, #0]
+ 8002ba0: 697b ldr r3, [r7, #20]
+ 8002ba2: 2200 movs r2, #0
+ 8002ba4: 2140 movs r1, #64 ; 0x40
+ 8002ba6: 68f8 ldr r0, [r7, #12]
+ 8002ba8: f000 fd51 bl 800364e <UART_WaitOnFlagUntilTimeout>
+ 8002bac: 4603 mov r3, r0
+ 8002bae: 2b00 cmp r3, #0
+ 8002bb0: d001 beq.n 8002bb6 <HAL_UART_Transmit+0x106>
{
return HAL_TIMEOUT;
- 8002c06: 2303 movs r3, #3
- 8002c08: e009 b.n 8002c1e <HAL_UART_Transmit+0x11a>
+ 8002bb2: 2303 movs r3, #3
+ 8002bb4: e009 b.n 8002bca <HAL_UART_Transmit+0x11a>
}
/* At end of Tx process, restore huart->gState to Ready */
huart->gState = HAL_UART_STATE_READY;
- 8002c0a: 68fb ldr r3, [r7, #12]
- 8002c0c: 2220 movs r2, #32
- 8002c0e: 675a str r2, [r3, #116] ; 0x74
+ 8002bb6: 68fb ldr r3, [r7, #12]
+ 8002bb8: 2220 movs r2, #32
+ 8002bba: 675a str r2, [r3, #116] ; 0x74
/* Process Unlocked */
__HAL_UNLOCK(huart);
- 8002c10: 68fb ldr r3, [r7, #12]
- 8002c12: 2200 movs r2, #0
- 8002c14: f883 2070 strb.w r2, [r3, #112] ; 0x70
+ 8002bbc: 68fb ldr r3, [r7, #12]
+ 8002bbe: 2200 movs r2, #0
+ 8002bc0: f883 2070 strb.w r2, [r3, #112] ; 0x70
return HAL_OK;
- 8002c18: 2300 movs r3, #0
- 8002c1a: e000 b.n 8002c1e <HAL_UART_Transmit+0x11a>
+ 8002bc4: 2300 movs r3, #0
+ 8002bc6: e000 b.n 8002bca <HAL_UART_Transmit+0x11a>
}
else
{
return HAL_BUSY;
- 8002c1c: 2302 movs r3, #2
+ 8002bc8: 2302 movs r3, #2
}
}
- 8002c1e: 4618 mov r0, r3
- 8002c20: 3720 adds r7, #32
- 8002c22: 46bd mov sp, r7
- 8002c24: bd80 pop {r7, pc}
+ 8002bca: 4618 mov r0, r3
+ 8002bcc: 3720 adds r7, #32
+ 8002bce: 46bd mov sp, r7
+ 8002bd0: bd80 pop {r7, pc}
...
-08002c28 <HAL_UART_Receive_IT>:
+08002bd4 <HAL_UART_Receive_IT>:
* @param pData Pointer to data buffer.
* @param Size Amount of data to be received.
* @retval HAL status
*/
HAL_StatusTypeDef HAL_UART_Receive_IT(UART_HandleTypeDef *huart, uint8_t *pData, uint16_t Size)
{
- 8002c28: b480 push {r7}
- 8002c2a: b085 sub sp, #20
- 8002c2c: af00 add r7, sp, #0
- 8002c2e: 60f8 str r0, [r7, #12]
- 8002c30: 60b9 str r1, [r7, #8]
- 8002c32: 4613 mov r3, r2
- 8002c34: 80fb strh r3, [r7, #6]
+ 8002bd4: b480 push {r7}
+ 8002bd6: b085 sub sp, #20
+ 8002bd8: af00 add r7, sp, #0
+ 8002bda: 60f8 str r0, [r7, #12]
+ 8002bdc: 60b9 str r1, [r7, #8]
+ 8002bde: 4613 mov r3, r2
+ 8002be0: 80fb strh r3, [r7, #6]
/* Check that a Rx process is not already ongoing */
if (huart->RxState == HAL_UART_STATE_READY)
- 8002c36: 68fb ldr r3, [r7, #12]
- 8002c38: 6f9b ldr r3, [r3, #120] ; 0x78
- 8002c3a: 2b20 cmp r3, #32
- 8002c3c: f040 808a bne.w 8002d54 <HAL_UART_Receive_IT+0x12c>
+ 8002be2: 68fb ldr r3, [r7, #12]
+ 8002be4: 6f9b ldr r3, [r3, #120] ; 0x78
+ 8002be6: 2b20 cmp r3, #32
+ 8002be8: f040 808a bne.w 8002d00 <HAL_UART_Receive_IT+0x12c>
{
if ((pData == NULL) || (Size == 0U))
- 8002c40: 68bb ldr r3, [r7, #8]
- 8002c42: 2b00 cmp r3, #0
- 8002c44: d002 beq.n 8002c4c <HAL_UART_Receive_IT+0x24>
- 8002c46: 88fb ldrh r3, [r7, #6]
- 8002c48: 2b00 cmp r3, #0
- 8002c4a: d101 bne.n 8002c50 <HAL_UART_Receive_IT+0x28>
+ 8002bec: 68bb ldr r3, [r7, #8]
+ 8002bee: 2b00 cmp r3, #0
+ 8002bf0: d002 beq.n 8002bf8 <HAL_UART_Receive_IT+0x24>
+ 8002bf2: 88fb ldrh r3, [r7, #6]
+ 8002bf4: 2b00 cmp r3, #0
+ 8002bf6: d101 bne.n 8002bfc <HAL_UART_Receive_IT+0x28>
{
return HAL_ERROR;
- 8002c4c: 2301 movs r3, #1
- 8002c4e: e082 b.n 8002d56 <HAL_UART_Receive_IT+0x12e>
+ 8002bf8: 2301 movs r3, #1
+ 8002bfa: e082 b.n 8002d02 <HAL_UART_Receive_IT+0x12e>
}
/* Process Locked */
__HAL_LOCK(huart);
- 8002c50: 68fb ldr r3, [r7, #12]
- 8002c52: f893 3070 ldrb.w r3, [r3, #112] ; 0x70
- 8002c56: 2b01 cmp r3, #1
- 8002c58: d101 bne.n 8002c5e <HAL_UART_Receive_IT+0x36>
- 8002c5a: 2302 movs r3, #2
- 8002c5c: e07b b.n 8002d56 <HAL_UART_Receive_IT+0x12e>
- 8002c5e: 68fb ldr r3, [r7, #12]
- 8002c60: 2201 movs r2, #1
- 8002c62: f883 2070 strb.w r2, [r3, #112] ; 0x70
+ 8002bfc: 68fb ldr r3, [r7, #12]
+ 8002bfe: f893 3070 ldrb.w r3, [r3, #112] ; 0x70
+ 8002c02: 2b01 cmp r3, #1
+ 8002c04: d101 bne.n 8002c0a <HAL_UART_Receive_IT+0x36>
+ 8002c06: 2302 movs r3, #2
+ 8002c08: e07b b.n 8002d02 <HAL_UART_Receive_IT+0x12e>
+ 8002c0a: 68fb ldr r3, [r7, #12]
+ 8002c0c: 2201 movs r2, #1
+ 8002c0e: f883 2070 strb.w r2, [r3, #112] ; 0x70
huart->pRxBuffPtr = pData;
- 8002c66: 68fb ldr r3, [r7, #12]
- 8002c68: 68ba ldr r2, [r7, #8]
- 8002c6a: 655a str r2, [r3, #84] ; 0x54
+ 8002c12: 68fb ldr r3, [r7, #12]
+ 8002c14: 68ba ldr r2, [r7, #8]
+ 8002c16: 655a str r2, [r3, #84] ; 0x54
huart->RxXferSize = Size;
- 8002c6c: 68fb ldr r3, [r7, #12]
- 8002c6e: 88fa ldrh r2, [r7, #6]
- 8002c70: f8a3 2058 strh.w r2, [r3, #88] ; 0x58
+ 8002c18: 68fb ldr r3, [r7, #12]
+ 8002c1a: 88fa ldrh r2, [r7, #6]
+ 8002c1c: f8a3 2058 strh.w r2, [r3, #88] ; 0x58
huart->RxXferCount = Size;
- 8002c74: 68fb ldr r3, [r7, #12]
- 8002c76: 88fa ldrh r2, [r7, #6]
- 8002c78: f8a3 205a strh.w r2, [r3, #90] ; 0x5a
+ 8002c20: 68fb ldr r3, [r7, #12]
+ 8002c22: 88fa ldrh r2, [r7, #6]
+ 8002c24: f8a3 205a strh.w r2, [r3, #90] ; 0x5a
huart->RxISR = NULL;
- 8002c7c: 68fb ldr r3, [r7, #12]
- 8002c7e: 2200 movs r2, #0
- 8002c80: 661a str r2, [r3, #96] ; 0x60
+ 8002c28: 68fb ldr r3, [r7, #12]
+ 8002c2a: 2200 movs r2, #0
+ 8002c2c: 661a str r2, [r3, #96] ; 0x60
/* Computation of UART mask to apply to RDR register */
UART_MASK_COMPUTATION(huart);
- 8002c82: 68fb ldr r3, [r7, #12]
- 8002c84: 689b ldr r3, [r3, #8]
- 8002c86: f5b3 5f80 cmp.w r3, #4096 ; 0x1000
- 8002c8a: d10e bne.n 8002caa <HAL_UART_Receive_IT+0x82>
+ 8002c2e: 68fb ldr r3, [r7, #12]
+ 8002c30: 689b ldr r3, [r3, #8]
+ 8002c32: f5b3 5f80 cmp.w r3, #4096 ; 0x1000
+ 8002c36: d10e bne.n 8002c56 <HAL_UART_Receive_IT+0x82>
+ 8002c38: 68fb ldr r3, [r7, #12]
+ 8002c3a: 691b ldr r3, [r3, #16]
+ 8002c3c: 2b00 cmp r3, #0
+ 8002c3e: d105 bne.n 8002c4c <HAL_UART_Receive_IT+0x78>
+ 8002c40: 68fb ldr r3, [r7, #12]
+ 8002c42: f240 12ff movw r2, #511 ; 0x1ff
+ 8002c46: f8a3 205c strh.w r2, [r3, #92] ; 0x5c
+ 8002c4a: e02d b.n 8002ca8 <HAL_UART_Receive_IT+0xd4>
+ 8002c4c: 68fb ldr r3, [r7, #12]
+ 8002c4e: 22ff movs r2, #255 ; 0xff
+ 8002c50: f8a3 205c strh.w r2, [r3, #92] ; 0x5c
+ 8002c54: e028 b.n 8002ca8 <HAL_UART_Receive_IT+0xd4>
+ 8002c56: 68fb ldr r3, [r7, #12]
+ 8002c58: 689b ldr r3, [r3, #8]
+ 8002c5a: 2b00 cmp r3, #0
+ 8002c5c: d10d bne.n 8002c7a <HAL_UART_Receive_IT+0xa6>
+ 8002c5e: 68fb ldr r3, [r7, #12]
+ 8002c60: 691b ldr r3, [r3, #16]
+ 8002c62: 2b00 cmp r3, #0
+ 8002c64: d104 bne.n 8002c70 <HAL_UART_Receive_IT+0x9c>
+ 8002c66: 68fb ldr r3, [r7, #12]
+ 8002c68: 22ff movs r2, #255 ; 0xff
+ 8002c6a: f8a3 205c strh.w r2, [r3, #92] ; 0x5c
+ 8002c6e: e01b b.n 8002ca8 <HAL_UART_Receive_IT+0xd4>
+ 8002c70: 68fb ldr r3, [r7, #12]
+ 8002c72: 227f movs r2, #127 ; 0x7f
+ 8002c74: f8a3 205c strh.w r2, [r3, #92] ; 0x5c
+ 8002c78: e016 b.n 8002ca8 <HAL_UART_Receive_IT+0xd4>
+ 8002c7a: 68fb ldr r3, [r7, #12]
+ 8002c7c: 689b ldr r3, [r3, #8]
+ 8002c7e: f1b3 5f80 cmp.w r3, #268435456 ; 0x10000000
+ 8002c82: d10d bne.n 8002ca0 <HAL_UART_Receive_IT+0xcc>
+ 8002c84: 68fb ldr r3, [r7, #12]
+ 8002c86: 691b ldr r3, [r3, #16]
+ 8002c88: 2b00 cmp r3, #0
+ 8002c8a: d104 bne.n 8002c96 <HAL_UART_Receive_IT+0xc2>
8002c8c: 68fb ldr r3, [r7, #12]
- 8002c8e: 691b ldr r3, [r3, #16]
- 8002c90: 2b00 cmp r3, #0
- 8002c92: d105 bne.n 8002ca0 <HAL_UART_Receive_IT+0x78>
- 8002c94: 68fb ldr r3, [r7, #12]
- 8002c96: f240 12ff movw r2, #511 ; 0x1ff
+ 8002c8e: 227f movs r2, #127 ; 0x7f
+ 8002c90: f8a3 205c strh.w r2, [r3, #92] ; 0x5c
+ 8002c94: e008 b.n 8002ca8 <HAL_UART_Receive_IT+0xd4>
+ 8002c96: 68fb ldr r3, [r7, #12]
+ 8002c98: 223f movs r2, #63 ; 0x3f
8002c9a: f8a3 205c strh.w r2, [r3, #92] ; 0x5c
- 8002c9e: e02d b.n 8002cfc <HAL_UART_Receive_IT+0xd4>
+ 8002c9e: e003 b.n 8002ca8 <HAL_UART_Receive_IT+0xd4>
8002ca0: 68fb ldr r3, [r7, #12]
- 8002ca2: 22ff movs r2, #255 ; 0xff
+ 8002ca2: 2200 movs r2, #0
8002ca4: f8a3 205c strh.w r2, [r3, #92] ; 0x5c
- 8002ca8: e028 b.n 8002cfc <HAL_UART_Receive_IT+0xd4>
- 8002caa: 68fb ldr r3, [r7, #12]
- 8002cac: 689b ldr r3, [r3, #8]
- 8002cae: 2b00 cmp r3, #0
- 8002cb0: d10d bne.n 8002cce <HAL_UART_Receive_IT+0xa6>
- 8002cb2: 68fb ldr r3, [r7, #12]
- 8002cb4: 691b ldr r3, [r3, #16]
- 8002cb6: 2b00 cmp r3, #0
- 8002cb8: d104 bne.n 8002cc4 <HAL_UART_Receive_IT+0x9c>
- 8002cba: 68fb ldr r3, [r7, #12]
- 8002cbc: 22ff movs r2, #255 ; 0xff
- 8002cbe: f8a3 205c strh.w r2, [r3, #92] ; 0x5c
- 8002cc2: e01b b.n 8002cfc <HAL_UART_Receive_IT+0xd4>
- 8002cc4: 68fb ldr r3, [r7, #12]
- 8002cc6: 227f movs r2, #127 ; 0x7f
- 8002cc8: f8a3 205c strh.w r2, [r3, #92] ; 0x5c
- 8002ccc: e016 b.n 8002cfc <HAL_UART_Receive_IT+0xd4>
- 8002cce: 68fb ldr r3, [r7, #12]
- 8002cd0: 689b ldr r3, [r3, #8]
- 8002cd2: f1b3 5f80 cmp.w r3, #268435456 ; 0x10000000
- 8002cd6: d10d bne.n 8002cf4 <HAL_UART_Receive_IT+0xcc>
- 8002cd8: 68fb ldr r3, [r7, #12]
- 8002cda: 691b ldr r3, [r3, #16]
- 8002cdc: 2b00 cmp r3, #0
- 8002cde: d104 bne.n 8002cea <HAL_UART_Receive_IT+0xc2>
- 8002ce0: 68fb ldr r3, [r7, #12]
- 8002ce2: 227f movs r2, #127 ; 0x7f
- 8002ce4: f8a3 205c strh.w r2, [r3, #92] ; 0x5c
- 8002ce8: e008 b.n 8002cfc <HAL_UART_Receive_IT+0xd4>
- 8002cea: 68fb ldr r3, [r7, #12]
- 8002cec: 223f movs r2, #63 ; 0x3f
- 8002cee: f8a3 205c strh.w r2, [r3, #92] ; 0x5c
- 8002cf2: e003 b.n 8002cfc <HAL_UART_Receive_IT+0xd4>
- 8002cf4: 68fb ldr r3, [r7, #12]
- 8002cf6: 2200 movs r2, #0
- 8002cf8: f8a3 205c strh.w r2, [r3, #92] ; 0x5c
huart->ErrorCode = HAL_UART_ERROR_NONE;
- 8002cfc: 68fb ldr r3, [r7, #12]
- 8002cfe: 2200 movs r2, #0
- 8002d00: 67da str r2, [r3, #124] ; 0x7c
+ 8002ca8: 68fb ldr r3, [r7, #12]
+ 8002caa: 2200 movs r2, #0
+ 8002cac: 67da str r2, [r3, #124] ; 0x7c
huart->RxState = HAL_UART_STATE_BUSY_RX;
- 8002d02: 68fb ldr r3, [r7, #12]
- 8002d04: 2222 movs r2, #34 ; 0x22
- 8002d06: 679a str r2, [r3, #120] ; 0x78
+ 8002cae: 68fb ldr r3, [r7, #12]
+ 8002cb0: 2222 movs r2, #34 ; 0x22
+ 8002cb2: 679a str r2, [r3, #120] ; 0x78
/* Enable the UART Error Interrupt: (Frame error, noise error, overrun error) */
SET_BIT(huart->Instance->CR3, USART_CR3_EIE);
- 8002d08: 68fb ldr r3, [r7, #12]
- 8002d0a: 681b ldr r3, [r3, #0]
- 8002d0c: 689a ldr r2, [r3, #8]
- 8002d0e: 68fb ldr r3, [r7, #12]
- 8002d10: 681b ldr r3, [r3, #0]
- 8002d12: f042 0201 orr.w r2, r2, #1
- 8002d16: 609a str r2, [r3, #8]
+ 8002cb4: 68fb ldr r3, [r7, #12]
+ 8002cb6: 681b ldr r3, [r3, #0]
+ 8002cb8: 689a ldr r2, [r3, #8]
+ 8002cba: 68fb ldr r3, [r7, #12]
+ 8002cbc: 681b ldr r3, [r3, #0]
+ 8002cbe: f042 0201 orr.w r2, r2, #1
+ 8002cc2: 609a str r2, [r3, #8]
/* Set the Rx ISR function pointer according to the data word length */
if ((huart->Init.WordLength == UART_WORDLENGTH_9B) && (huart->Init.Parity == UART_PARITY_NONE))
- 8002d18: 68fb ldr r3, [r7, #12]
- 8002d1a: 689b ldr r3, [r3, #8]
- 8002d1c: f5b3 5f80 cmp.w r3, #4096 ; 0x1000
- 8002d20: d107 bne.n 8002d32 <HAL_UART_Receive_IT+0x10a>
- 8002d22: 68fb ldr r3, [r7, #12]
- 8002d24: 691b ldr r3, [r3, #16]
- 8002d26: 2b00 cmp r3, #0
- 8002d28: d103 bne.n 8002d32 <HAL_UART_Receive_IT+0x10a>
+ 8002cc4: 68fb ldr r3, [r7, #12]
+ 8002cc6: 689b ldr r3, [r3, #8]
+ 8002cc8: f5b3 5f80 cmp.w r3, #4096 ; 0x1000
+ 8002ccc: d107 bne.n 8002cde <HAL_UART_Receive_IT+0x10a>
+ 8002cce: 68fb ldr r3, [r7, #12]
+ 8002cd0: 691b ldr r3, [r3, #16]
+ 8002cd2: 2b00 cmp r3, #0
+ 8002cd4: d103 bne.n 8002cde <HAL_UART_Receive_IT+0x10a>
{
huart->RxISR = UART_RxISR_16BIT;
- 8002d2a: 68fb ldr r3, [r7, #12]
- 8002d2c: 4a0d ldr r2, [pc, #52] ; (8002d64 <HAL_UART_Receive_IT+0x13c>)
- 8002d2e: 661a str r2, [r3, #96] ; 0x60
- 8002d30: e002 b.n 8002d38 <HAL_UART_Receive_IT+0x110>
+ 8002cd6: 68fb ldr r3, [r7, #12]
+ 8002cd8: 4a0d ldr r2, [pc, #52] ; (8002d10 <HAL_UART_Receive_IT+0x13c>)
+ 8002cda: 661a str r2, [r3, #96] ; 0x60
+ 8002cdc: e002 b.n 8002ce4 <HAL_UART_Receive_IT+0x110>
}
else
{
huart->RxISR = UART_RxISR_8BIT;
- 8002d32: 68fb ldr r3, [r7, #12]
- 8002d34: 4a0c ldr r2, [pc, #48] ; (8002d68 <HAL_UART_Receive_IT+0x140>)
- 8002d36: 661a str r2, [r3, #96] ; 0x60
+ 8002cde: 68fb ldr r3, [r7, #12]
+ 8002ce0: 4a0c ldr r2, [pc, #48] ; (8002d14 <HAL_UART_Receive_IT+0x140>)
+ 8002ce2: 661a str r2, [r3, #96] ; 0x60
}
/* Process Unlocked */
__HAL_UNLOCK(huart);
- 8002d38: 68fb ldr r3, [r7, #12]
- 8002d3a: 2200 movs r2, #0
- 8002d3c: f883 2070 strb.w r2, [r3, #112] ; 0x70
+ 8002ce4: 68fb ldr r3, [r7, #12]
+ 8002ce6: 2200 movs r2, #0
+ 8002ce8: f883 2070 strb.w r2, [r3, #112] ; 0x70
/* Enable the UART Parity Error interrupt and Data Register Not Empty interrupt */
SET_BIT(huart->Instance->CR1, USART_CR1_PEIE | USART_CR1_RXNEIE);
- 8002d40: 68fb ldr r3, [r7, #12]
- 8002d42: 681b ldr r3, [r3, #0]
- 8002d44: 681a ldr r2, [r3, #0]
- 8002d46: 68fb ldr r3, [r7, #12]
- 8002d48: 681b ldr r3, [r3, #0]
- 8002d4a: f442 7290 orr.w r2, r2, #288 ; 0x120
- 8002d4e: 601a str r2, [r3, #0]
+ 8002cec: 68fb ldr r3, [r7, #12]
+ 8002cee: 681b ldr r3, [r3, #0]
+ 8002cf0: 681a ldr r2, [r3, #0]
+ 8002cf2: 68fb ldr r3, [r7, #12]
+ 8002cf4: 681b ldr r3, [r3, #0]
+ 8002cf6: f442 7290 orr.w r2, r2, #288 ; 0x120
+ 8002cfa: 601a str r2, [r3, #0]
return HAL_OK;
- 8002d50: 2300 movs r3, #0
- 8002d52: e000 b.n 8002d56 <HAL_UART_Receive_IT+0x12e>
+ 8002cfc: 2300 movs r3, #0
+ 8002cfe: e000 b.n 8002d02 <HAL_UART_Receive_IT+0x12e>
}
else
{
return HAL_BUSY;
- 8002d54: 2302 movs r3, #2
+ 8002d00: 2302 movs r3, #2
}
}
- 8002d56: 4618 mov r0, r3
- 8002d58: 3714 adds r7, #20
- 8002d5a: 46bd mov sp, r7
- 8002d5c: f85d 7b04 ldr.w r7, [sp], #4
- 8002d60: 4770 bx lr
- 8002d62: bf00 nop
- 8002d64: 08003877 .word 0x08003877
- 8002d68: 080037d1 .word 0x080037d1
-
-08002d6c <HAL_UART_IRQHandler>:
+ 8002d02: 4618 mov r0, r3
+ 8002d04: 3714 adds r7, #20
+ 8002d06: 46bd mov sp, r7
+ 8002d08: f85d 7b04 ldr.w r7, [sp], #4
+ 8002d0c: 4770 bx lr
+ 8002d0e: bf00 nop
+ 8002d10: 08003823 .word 0x08003823
+ 8002d14: 0800377d .word 0x0800377d
+
+08002d18 <HAL_UART_IRQHandler>:
* @brief Handle UART interrupt request.
* @param huart UART handle.
* @retval None
*/
void HAL_UART_IRQHandler(UART_HandleTypeDef *huart)
{
- 8002d6c: b580 push {r7, lr}
- 8002d6e: b088 sub sp, #32
- 8002d70: af00 add r7, sp, #0
- 8002d72: 6078 str r0, [r7, #4]
+ 8002d18: b580 push {r7, lr}
+ 8002d1a: b088 sub sp, #32
+ 8002d1c: af00 add r7, sp, #0
+ 8002d1e: 6078 str r0, [r7, #4]
uint32_t isrflags = READ_REG(huart->Instance->ISR);
- 8002d74: 687b ldr r3, [r7, #4]
- 8002d76: 681b ldr r3, [r3, #0]
- 8002d78: 69db ldr r3, [r3, #28]
- 8002d7a: 61fb str r3, [r7, #28]
+ 8002d20: 687b ldr r3, [r7, #4]
+ 8002d22: 681b ldr r3, [r3, #0]
+ 8002d24: 69db ldr r3, [r3, #28]
+ 8002d26: 61fb str r3, [r7, #28]
uint32_t cr1its = READ_REG(huart->Instance->CR1);
- 8002d7c: 687b ldr r3, [r7, #4]
- 8002d7e: 681b ldr r3, [r3, #0]
- 8002d80: 681b ldr r3, [r3, #0]
- 8002d82: 61bb str r3, [r7, #24]
+ 8002d28: 687b ldr r3, [r7, #4]
+ 8002d2a: 681b ldr r3, [r3, #0]
+ 8002d2c: 681b ldr r3, [r3, #0]
+ 8002d2e: 61bb str r3, [r7, #24]
uint32_t cr3its = READ_REG(huart->Instance->CR3);
- 8002d84: 687b ldr r3, [r7, #4]
- 8002d86: 681b ldr r3, [r3, #0]
- 8002d88: 689b ldr r3, [r3, #8]
- 8002d8a: 617b str r3, [r7, #20]
+ 8002d30: 687b ldr r3, [r7, #4]
+ 8002d32: 681b ldr r3, [r3, #0]
+ 8002d34: 689b ldr r3, [r3, #8]
+ 8002d36: 617b str r3, [r7, #20]
uint32_t errorflags;
uint32_t errorcode;
/* If no error occurs */
errorflags = (isrflags & (uint32_t)(USART_ISR_PE | USART_ISR_FE | USART_ISR_ORE | USART_ISR_NE));
- 8002d8c: 69fb ldr r3, [r7, #28]
- 8002d8e: f003 030f and.w r3, r3, #15
- 8002d92: 613b str r3, [r7, #16]
+ 8002d38: 69fb ldr r3, [r7, #28]
+ 8002d3a: f003 030f and.w r3, r3, #15
+ 8002d3e: 613b str r3, [r7, #16]
if (errorflags == 0U)
- 8002d94: 693b ldr r3, [r7, #16]
- 8002d96: 2b00 cmp r3, #0
- 8002d98: d113 bne.n 8002dc2 <HAL_UART_IRQHandler+0x56>
+ 8002d40: 693b ldr r3, [r7, #16]
+ 8002d42: 2b00 cmp r3, #0
+ 8002d44: d113 bne.n 8002d6e <HAL_UART_IRQHandler+0x56>
{
/* UART in mode Receiver ---------------------------------------------------*/
if (((isrflags & USART_ISR_RXNE) != 0U)
- 8002d9a: 69fb ldr r3, [r7, #28]
- 8002d9c: f003 0320 and.w r3, r3, #32
- 8002da0: 2b00 cmp r3, #0
- 8002da2: d00e beq.n 8002dc2 <HAL_UART_IRQHandler+0x56>
+ 8002d46: 69fb ldr r3, [r7, #28]
+ 8002d48: f003 0320 and.w r3, r3, #32
+ 8002d4c: 2b00 cmp r3, #0
+ 8002d4e: d00e beq.n 8002d6e <HAL_UART_IRQHandler+0x56>
&& ((cr1its & USART_CR1_RXNEIE) != 0U))
- 8002da4: 69bb ldr r3, [r7, #24]
- 8002da6: f003 0320 and.w r3, r3, #32
- 8002daa: 2b00 cmp r3, #0
- 8002dac: d009 beq.n 8002dc2 <HAL_UART_IRQHandler+0x56>
+ 8002d50: 69bb ldr r3, [r7, #24]
+ 8002d52: f003 0320 and.w r3, r3, #32
+ 8002d56: 2b00 cmp r3, #0
+ 8002d58: d009 beq.n 8002d6e <HAL_UART_IRQHandler+0x56>
{
if (huart->RxISR != NULL)
- 8002dae: 687b ldr r3, [r7, #4]
- 8002db0: 6e1b ldr r3, [r3, #96] ; 0x60
- 8002db2: 2b00 cmp r3, #0
- 8002db4: f000 80eb beq.w 8002f8e <HAL_UART_IRQHandler+0x222>
+ 8002d5a: 687b ldr r3, [r7, #4]
+ 8002d5c: 6e1b ldr r3, [r3, #96] ; 0x60
+ 8002d5e: 2b00 cmp r3, #0
+ 8002d60: f000 80eb beq.w 8002f3a <HAL_UART_IRQHandler+0x222>
{
huart->RxISR(huart);
- 8002db8: 687b ldr r3, [r7, #4]
- 8002dba: 6e1b ldr r3, [r3, #96] ; 0x60
- 8002dbc: 6878 ldr r0, [r7, #4]
- 8002dbe: 4798 blx r3
+ 8002d64: 687b ldr r3, [r7, #4]
+ 8002d66: 6e1b ldr r3, [r3, #96] ; 0x60
+ 8002d68: 6878 ldr r0, [r7, #4]
+ 8002d6a: 4798 blx r3
}
return;
- 8002dc0: e0e5 b.n 8002f8e <HAL_UART_IRQHandler+0x222>
+ 8002d6c: e0e5 b.n 8002f3a <HAL_UART_IRQHandler+0x222>
}
}
/* If some errors occur */
if ((errorflags != 0U)
- 8002dc2: 693b ldr r3, [r7, #16]
- 8002dc4: 2b00 cmp r3, #0
- 8002dc6: f000 80c0 beq.w 8002f4a <HAL_UART_IRQHandler+0x1de>
+ 8002d6e: 693b ldr r3, [r7, #16]
+ 8002d70: 2b00 cmp r3, #0
+ 8002d72: f000 80c0 beq.w 8002ef6 <HAL_UART_IRQHandler+0x1de>
&& (((cr3its & USART_CR3_EIE) != 0U)
- 8002dca: 697b ldr r3, [r7, #20]
- 8002dcc: f003 0301 and.w r3, r3, #1
- 8002dd0: 2b00 cmp r3, #0
- 8002dd2: d105 bne.n 8002de0 <HAL_UART_IRQHandler+0x74>
+ 8002d76: 697b ldr r3, [r7, #20]
+ 8002d78: f003 0301 and.w r3, r3, #1
+ 8002d7c: 2b00 cmp r3, #0
+ 8002d7e: d105 bne.n 8002d8c <HAL_UART_IRQHandler+0x74>
|| ((cr1its & (USART_CR1_RXNEIE | USART_CR1_PEIE)) != 0U)))
- 8002dd4: 69bb ldr r3, [r7, #24]
- 8002dd6: f403 7390 and.w r3, r3, #288 ; 0x120
- 8002dda: 2b00 cmp r3, #0
- 8002ddc: f000 80b5 beq.w 8002f4a <HAL_UART_IRQHandler+0x1de>
+ 8002d80: 69bb ldr r3, [r7, #24]
+ 8002d82: f403 7390 and.w r3, r3, #288 ; 0x120
+ 8002d86: 2b00 cmp r3, #0
+ 8002d88: f000 80b5 beq.w 8002ef6 <HAL_UART_IRQHandler+0x1de>
{
/* UART parity error interrupt occurred -------------------------------------*/
if (((isrflags & USART_ISR_PE) != 0U) && ((cr1its & USART_CR1_PEIE) != 0U))
- 8002de0: 69fb ldr r3, [r7, #28]
- 8002de2: f003 0301 and.w r3, r3, #1
- 8002de6: 2b00 cmp r3, #0
- 8002de8: d00e beq.n 8002e08 <HAL_UART_IRQHandler+0x9c>
- 8002dea: 69bb ldr r3, [r7, #24]
- 8002dec: f403 7380 and.w r3, r3, #256 ; 0x100
- 8002df0: 2b00 cmp r3, #0
- 8002df2: d009 beq.n 8002e08 <HAL_UART_IRQHandler+0x9c>
+ 8002d8c: 69fb ldr r3, [r7, #28]
+ 8002d8e: f003 0301 and.w r3, r3, #1
+ 8002d92: 2b00 cmp r3, #0
+ 8002d94: d00e beq.n 8002db4 <HAL_UART_IRQHandler+0x9c>
+ 8002d96: 69bb ldr r3, [r7, #24]
+ 8002d98: f403 7380 and.w r3, r3, #256 ; 0x100
+ 8002d9c: 2b00 cmp r3, #0
+ 8002d9e: d009 beq.n 8002db4 <HAL_UART_IRQHandler+0x9c>
{
__HAL_UART_CLEAR_FLAG(huart, UART_CLEAR_PEF);
- 8002df4: 687b ldr r3, [r7, #4]
- 8002df6: 681b ldr r3, [r3, #0]
- 8002df8: 2201 movs r2, #1
- 8002dfa: 621a str r2, [r3, #32]
+ 8002da0: 687b ldr r3, [r7, #4]
+ 8002da2: 681b ldr r3, [r3, #0]
+ 8002da4: 2201 movs r2, #1
+ 8002da6: 621a str r2, [r3, #32]
huart->ErrorCode |= HAL_UART_ERROR_PE;
- 8002dfc: 687b ldr r3, [r7, #4]
- 8002dfe: 6fdb ldr r3, [r3, #124] ; 0x7c
- 8002e00: f043 0201 orr.w r2, r3, #1
- 8002e04: 687b ldr r3, [r7, #4]
- 8002e06: 67da str r2, [r3, #124] ; 0x7c
+ 8002da8: 687b ldr r3, [r7, #4]
+ 8002daa: 6fdb ldr r3, [r3, #124] ; 0x7c
+ 8002dac: f043 0201 orr.w r2, r3, #1
+ 8002db0: 687b ldr r3, [r7, #4]
+ 8002db2: 67da str r2, [r3, #124] ; 0x7c
}
/* UART frame error interrupt occurred --------------------------------------*/
if (((isrflags & USART_ISR_FE) != 0U) && ((cr3its & USART_CR3_EIE) != 0U))
- 8002e08: 69fb ldr r3, [r7, #28]
- 8002e0a: f003 0302 and.w r3, r3, #2
- 8002e0e: 2b00 cmp r3, #0
- 8002e10: d00e beq.n 8002e30 <HAL_UART_IRQHandler+0xc4>
- 8002e12: 697b ldr r3, [r7, #20]
- 8002e14: f003 0301 and.w r3, r3, #1
- 8002e18: 2b00 cmp r3, #0
- 8002e1a: d009 beq.n 8002e30 <HAL_UART_IRQHandler+0xc4>
+ 8002db4: 69fb ldr r3, [r7, #28]
+ 8002db6: f003 0302 and.w r3, r3, #2
+ 8002dba: 2b00 cmp r3, #0
+ 8002dbc: d00e beq.n 8002ddc <HAL_UART_IRQHandler+0xc4>
+ 8002dbe: 697b ldr r3, [r7, #20]
+ 8002dc0: f003 0301 and.w r3, r3, #1
+ 8002dc4: 2b00 cmp r3, #0
+ 8002dc6: d009 beq.n 8002ddc <HAL_UART_IRQHandler+0xc4>
{
__HAL_UART_CLEAR_FLAG(huart, UART_CLEAR_FEF);
- 8002e1c: 687b ldr r3, [r7, #4]
- 8002e1e: 681b ldr r3, [r3, #0]
- 8002e20: 2202 movs r2, #2
- 8002e22: 621a str r2, [r3, #32]
+ 8002dc8: 687b ldr r3, [r7, #4]
+ 8002dca: 681b ldr r3, [r3, #0]
+ 8002dcc: 2202 movs r2, #2
+ 8002dce: 621a str r2, [r3, #32]
huart->ErrorCode |= HAL_UART_ERROR_FE;
- 8002e24: 687b ldr r3, [r7, #4]
- 8002e26: 6fdb ldr r3, [r3, #124] ; 0x7c
- 8002e28: f043 0204 orr.w r2, r3, #4
- 8002e2c: 687b ldr r3, [r7, #4]
- 8002e2e: 67da str r2, [r3, #124] ; 0x7c
+ 8002dd0: 687b ldr r3, [r7, #4]
+ 8002dd2: 6fdb ldr r3, [r3, #124] ; 0x7c
+ 8002dd4: f043 0204 orr.w r2, r3, #4
+ 8002dd8: 687b ldr r3, [r7, #4]
+ 8002dda: 67da str r2, [r3, #124] ; 0x7c
}
/* UART noise error interrupt occurred --------------------------------------*/
if (((isrflags & USART_ISR_NE) != 0U) && ((cr3its & USART_CR3_EIE) != 0U))
- 8002e30: 69fb ldr r3, [r7, #28]
- 8002e32: f003 0304 and.w r3, r3, #4
- 8002e36: 2b00 cmp r3, #0
- 8002e38: d00e beq.n 8002e58 <HAL_UART_IRQHandler+0xec>
- 8002e3a: 697b ldr r3, [r7, #20]
- 8002e3c: f003 0301 and.w r3, r3, #1
- 8002e40: 2b00 cmp r3, #0
- 8002e42: d009 beq.n 8002e58 <HAL_UART_IRQHandler+0xec>
+ 8002ddc: 69fb ldr r3, [r7, #28]
+ 8002dde: f003 0304 and.w r3, r3, #4
+ 8002de2: 2b00 cmp r3, #0
+ 8002de4: d00e beq.n 8002e04 <HAL_UART_IRQHandler+0xec>
+ 8002de6: 697b ldr r3, [r7, #20]
+ 8002de8: f003 0301 and.w r3, r3, #1
+ 8002dec: 2b00 cmp r3, #0
+ 8002dee: d009 beq.n 8002e04 <HAL_UART_IRQHandler+0xec>
{
__HAL_UART_CLEAR_FLAG(huart, UART_CLEAR_NEF);
- 8002e44: 687b ldr r3, [r7, #4]
- 8002e46: 681b ldr r3, [r3, #0]
- 8002e48: 2204 movs r2, #4
- 8002e4a: 621a str r2, [r3, #32]
+ 8002df0: 687b ldr r3, [r7, #4]
+ 8002df2: 681b ldr r3, [r3, #0]
+ 8002df4: 2204 movs r2, #4
+ 8002df6: 621a str r2, [r3, #32]
huart->ErrorCode |= HAL_UART_ERROR_NE;
- 8002e4c: 687b ldr r3, [r7, #4]
- 8002e4e: 6fdb ldr r3, [r3, #124] ; 0x7c
- 8002e50: f043 0202 orr.w r2, r3, #2
- 8002e54: 687b ldr r3, [r7, #4]
- 8002e56: 67da str r2, [r3, #124] ; 0x7c
+ 8002df8: 687b ldr r3, [r7, #4]
+ 8002dfa: 6fdb ldr r3, [r3, #124] ; 0x7c
+ 8002dfc: f043 0202 orr.w r2, r3, #2
+ 8002e00: 687b ldr r3, [r7, #4]
+ 8002e02: 67da str r2, [r3, #124] ; 0x7c
}
/* UART Over-Run interrupt occurred -----------------------------------------*/
if (((isrflags & USART_ISR_ORE) != 0U)
- 8002e58: 69fb ldr r3, [r7, #28]
- 8002e5a: f003 0308 and.w r3, r3, #8
- 8002e5e: 2b00 cmp r3, #0
- 8002e60: d013 beq.n 8002e8a <HAL_UART_IRQHandler+0x11e>
+ 8002e04: 69fb ldr r3, [r7, #28]
+ 8002e06: f003 0308 and.w r3, r3, #8
+ 8002e0a: 2b00 cmp r3, #0
+ 8002e0c: d013 beq.n 8002e36 <HAL_UART_IRQHandler+0x11e>
&& (((cr1its & USART_CR1_RXNEIE) != 0U) ||
- 8002e62: 69bb ldr r3, [r7, #24]
- 8002e64: f003 0320 and.w r3, r3, #32
- 8002e68: 2b00 cmp r3, #0
- 8002e6a: d104 bne.n 8002e76 <HAL_UART_IRQHandler+0x10a>
+ 8002e0e: 69bb ldr r3, [r7, #24]
+ 8002e10: f003 0320 and.w r3, r3, #32
+ 8002e14: 2b00 cmp r3, #0
+ 8002e16: d104 bne.n 8002e22 <HAL_UART_IRQHandler+0x10a>
((cr3its & USART_CR3_EIE) != 0U)))
- 8002e6c: 697b ldr r3, [r7, #20]
- 8002e6e: f003 0301 and.w r3, r3, #1
+ 8002e18: 697b ldr r3, [r7, #20]
+ 8002e1a: f003 0301 and.w r3, r3, #1
&& (((cr1its & USART_CR1_RXNEIE) != 0U) ||
- 8002e72: 2b00 cmp r3, #0
- 8002e74: d009 beq.n 8002e8a <HAL_UART_IRQHandler+0x11e>
+ 8002e1e: 2b00 cmp r3, #0
+ 8002e20: d009 beq.n 8002e36 <HAL_UART_IRQHandler+0x11e>
{
__HAL_UART_CLEAR_FLAG(huart, UART_CLEAR_OREF);
- 8002e76: 687b ldr r3, [r7, #4]
- 8002e78: 681b ldr r3, [r3, #0]
- 8002e7a: 2208 movs r2, #8
- 8002e7c: 621a str r2, [r3, #32]
+ 8002e22: 687b ldr r3, [r7, #4]
+ 8002e24: 681b ldr r3, [r3, #0]
+ 8002e26: 2208 movs r2, #8
+ 8002e28: 621a str r2, [r3, #32]
huart->ErrorCode |= HAL_UART_ERROR_ORE;
- 8002e7e: 687b ldr r3, [r7, #4]
- 8002e80: 6fdb ldr r3, [r3, #124] ; 0x7c
- 8002e82: f043 0208 orr.w r2, r3, #8
- 8002e86: 687b ldr r3, [r7, #4]
- 8002e88: 67da str r2, [r3, #124] ; 0x7c
+ 8002e2a: 687b ldr r3, [r7, #4]
+ 8002e2c: 6fdb ldr r3, [r3, #124] ; 0x7c
+ 8002e2e: f043 0208 orr.w r2, r3, #8
+ 8002e32: 687b ldr r3, [r7, #4]
+ 8002e34: 67da str r2, [r3, #124] ; 0x7c
}
/* Call UART Error Call back function if need be --------------------------*/
if (huart->ErrorCode != HAL_UART_ERROR_NONE)
- 8002e8a: 687b ldr r3, [r7, #4]
- 8002e8c: 6fdb ldr r3, [r3, #124] ; 0x7c
- 8002e8e: 2b00 cmp r3, #0
- 8002e90: d07f beq.n 8002f92 <HAL_UART_IRQHandler+0x226>
+ 8002e36: 687b ldr r3, [r7, #4]
+ 8002e38: 6fdb ldr r3, [r3, #124] ; 0x7c
+ 8002e3a: 2b00 cmp r3, #0
+ 8002e3c: d07f beq.n 8002f3e <HAL_UART_IRQHandler+0x226>
{
/* UART in mode Receiver ---------------------------------------------------*/
if (((isrflags & USART_ISR_RXNE) != 0U)
- 8002e92: 69fb ldr r3, [r7, #28]
- 8002e94: f003 0320 and.w r3, r3, #32
- 8002e98: 2b00 cmp r3, #0
- 8002e9a: d00c beq.n 8002eb6 <HAL_UART_IRQHandler+0x14a>
+ 8002e3e: 69fb ldr r3, [r7, #28]
+ 8002e40: f003 0320 and.w r3, r3, #32
+ 8002e44: 2b00 cmp r3, #0
+ 8002e46: d00c beq.n 8002e62 <HAL_UART_IRQHandler+0x14a>
&& ((cr1its & USART_CR1_RXNEIE) != 0U))
- 8002e9c: 69bb ldr r3, [r7, #24]
- 8002e9e: f003 0320 and.w r3, r3, #32
- 8002ea2: 2b00 cmp r3, #0
- 8002ea4: d007 beq.n 8002eb6 <HAL_UART_IRQHandler+0x14a>
+ 8002e48: 69bb ldr r3, [r7, #24]
+ 8002e4a: f003 0320 and.w r3, r3, #32
+ 8002e4e: 2b00 cmp r3, #0
+ 8002e50: d007 beq.n 8002e62 <HAL_UART_IRQHandler+0x14a>
{
if (huart->RxISR != NULL)
- 8002ea6: 687b ldr r3, [r7, #4]
- 8002ea8: 6e1b ldr r3, [r3, #96] ; 0x60
- 8002eaa: 2b00 cmp r3, #0
- 8002eac: d003 beq.n 8002eb6 <HAL_UART_IRQHandler+0x14a>
+ 8002e52: 687b ldr r3, [r7, #4]
+ 8002e54: 6e1b ldr r3, [r3, #96] ; 0x60
+ 8002e56: 2b00 cmp r3, #0
+ 8002e58: d003 beq.n 8002e62 <HAL_UART_IRQHandler+0x14a>
{
huart->RxISR(huart);
- 8002eae: 687b ldr r3, [r7, #4]
- 8002eb0: 6e1b ldr r3, [r3, #96] ; 0x60
- 8002eb2: 6878 ldr r0, [r7, #4]
- 8002eb4: 4798 blx r3
+ 8002e5a: 687b ldr r3, [r7, #4]
+ 8002e5c: 6e1b ldr r3, [r3, #96] ; 0x60
+ 8002e5e: 6878 ldr r0, [r7, #4]
+ 8002e60: 4798 blx r3
}
}
/* If Overrun error occurs, or if any error occurs in DMA mode reception,
consider error as blocking */
errorcode = huart->ErrorCode;
- 8002eb6: 687b ldr r3, [r7, #4]
- 8002eb8: 6fdb ldr r3, [r3, #124] ; 0x7c
- 8002eba: 60fb str r3, [r7, #12]
+ 8002e62: 687b ldr r3, [r7, #4]
+ 8002e64: 6fdb ldr r3, [r3, #124] ; 0x7c
+ 8002e66: 60fb str r3, [r7, #12]
if ((HAL_IS_BIT_SET(huart->Instance->CR3, USART_CR3_DMAR)) ||
- 8002ebc: 687b ldr r3, [r7, #4]
- 8002ebe: 681b ldr r3, [r3, #0]
- 8002ec0: 689b ldr r3, [r3, #8]
- 8002ec2: f003 0340 and.w r3, r3, #64 ; 0x40
- 8002ec6: 2b40 cmp r3, #64 ; 0x40
- 8002ec8: d004 beq.n 8002ed4 <HAL_UART_IRQHandler+0x168>
+ 8002e68: 687b ldr r3, [r7, #4]
+ 8002e6a: 681b ldr r3, [r3, #0]
+ 8002e6c: 689b ldr r3, [r3, #8]
+ 8002e6e: f003 0340 and.w r3, r3, #64 ; 0x40
+ 8002e72: 2b40 cmp r3, #64 ; 0x40
+ 8002e74: d004 beq.n 8002e80 <HAL_UART_IRQHandler+0x168>
((errorcode & HAL_UART_ERROR_ORE) != 0U))
- 8002eca: 68fb ldr r3, [r7, #12]
- 8002ecc: f003 0308 and.w r3, r3, #8
+ 8002e76: 68fb ldr r3, [r7, #12]
+ 8002e78: f003 0308 and.w r3, r3, #8
if ((HAL_IS_BIT_SET(huart->Instance->CR3, USART_CR3_DMAR)) ||
- 8002ed0: 2b00 cmp r3, #0
- 8002ed2: d031 beq.n 8002f38 <HAL_UART_IRQHandler+0x1cc>
+ 8002e7c: 2b00 cmp r3, #0
+ 8002e7e: d031 beq.n 8002ee4 <HAL_UART_IRQHandler+0x1cc>
{
/* Blocking error : transfer is aborted
Set the UART state ready to be able to start again the process,
Disable Rx Interrupts, and disable Rx DMA request, if ongoing */
UART_EndRxTransfer(huart);
- 8002ed4: 6878 ldr r0, [r7, #4]
- 8002ed6: f000 fc2c bl 8003732 <UART_EndRxTransfer>
+ 8002e80: 6878 ldr r0, [r7, #4]
+ 8002e82: f000 fc2c bl 80036de <UART_EndRxTransfer>
/* Disable the UART DMA Rx request if enabled */
if (HAL_IS_BIT_SET(huart->Instance->CR3, USART_CR3_DMAR))
- 8002eda: 687b ldr r3, [r7, #4]
- 8002edc: 681b ldr r3, [r3, #0]
- 8002ede: 689b ldr r3, [r3, #8]
- 8002ee0: f003 0340 and.w r3, r3, #64 ; 0x40
- 8002ee4: 2b40 cmp r3, #64 ; 0x40
- 8002ee6: d123 bne.n 8002f30 <HAL_UART_IRQHandler+0x1c4>
+ 8002e86: 687b ldr r3, [r7, #4]
+ 8002e88: 681b ldr r3, [r3, #0]
+ 8002e8a: 689b ldr r3, [r3, #8]
+ 8002e8c: f003 0340 and.w r3, r3, #64 ; 0x40
+ 8002e90: 2b40 cmp r3, #64 ; 0x40
+ 8002e92: d123 bne.n 8002edc <HAL_UART_IRQHandler+0x1c4>
{
CLEAR_BIT(huart->Instance->CR3, USART_CR3_DMAR);
- 8002ee8: 687b ldr r3, [r7, #4]
- 8002eea: 681b ldr r3, [r3, #0]
- 8002eec: 689a ldr r2, [r3, #8]
- 8002eee: 687b ldr r3, [r7, #4]
- 8002ef0: 681b ldr r3, [r3, #0]
- 8002ef2: f022 0240 bic.w r2, r2, #64 ; 0x40
- 8002ef6: 609a str r2, [r3, #8]
+ 8002e94: 687b ldr r3, [r7, #4]
+ 8002e96: 681b ldr r3, [r3, #0]
+ 8002e98: 689a ldr r2, [r3, #8]
+ 8002e9a: 687b ldr r3, [r7, #4]
+ 8002e9c: 681b ldr r3, [r3, #0]
+ 8002e9e: f022 0240 bic.w r2, r2, #64 ; 0x40
+ 8002ea2: 609a str r2, [r3, #8]
/* Abort the UART DMA Rx channel */
if (huart->hdmarx != NULL)
- 8002ef8: 687b ldr r3, [r7, #4]
- 8002efa: 6edb ldr r3, [r3, #108] ; 0x6c
- 8002efc: 2b00 cmp r3, #0
- 8002efe: d013 beq.n 8002f28 <HAL_UART_IRQHandler+0x1bc>
+ 8002ea4: 687b ldr r3, [r7, #4]
+ 8002ea6: 6edb ldr r3, [r3, #108] ; 0x6c
+ 8002ea8: 2b00 cmp r3, #0
+ 8002eaa: d013 beq.n 8002ed4 <HAL_UART_IRQHandler+0x1bc>
{
/* Set the UART DMA Abort callback :
will lead to call HAL_UART_ErrorCallback() at end of DMA abort procedure */
huart->hdmarx->XferAbortCallback = UART_DMAAbortOnError;
- 8002f00: 687b ldr r3, [r7, #4]
- 8002f02: 6edb ldr r3, [r3, #108] ; 0x6c
- 8002f04: 4a26 ldr r2, [pc, #152] ; (8002fa0 <HAL_UART_IRQHandler+0x234>)
- 8002f06: 651a str r2, [r3, #80] ; 0x50
+ 8002eac: 687b ldr r3, [r7, #4]
+ 8002eae: 6edb ldr r3, [r3, #108] ; 0x6c
+ 8002eb0: 4a26 ldr r2, [pc, #152] ; (8002f4c <HAL_UART_IRQHandler+0x234>)
+ 8002eb2: 651a str r2, [r3, #80] ; 0x50
/* Abort DMA RX */
if (HAL_DMA_Abort_IT(huart->hdmarx) != HAL_OK)
- 8002f08: 687b ldr r3, [r7, #4]
- 8002f0a: 6edb ldr r3, [r3, #108] ; 0x6c
- 8002f0c: 4618 mov r0, r3
- 8002f0e: f7fd ff6c bl 8000dea <HAL_DMA_Abort_IT>
- 8002f12: 4603 mov r3, r0
- 8002f14: 2b00 cmp r3, #0
- 8002f16: d016 beq.n 8002f46 <HAL_UART_IRQHandler+0x1da>
+ 8002eb4: 687b ldr r3, [r7, #4]
+ 8002eb6: 6edb ldr r3, [r3, #108] ; 0x6c
+ 8002eb8: 4618 mov r0, r3
+ 8002eba: f7fd ff6c bl 8000d96 <HAL_DMA_Abort_IT>
+ 8002ebe: 4603 mov r3, r0
+ 8002ec0: 2b00 cmp r3, #0
+ 8002ec2: d016 beq.n 8002ef2 <HAL_UART_IRQHandler+0x1da>
{
/* Call Directly huart->hdmarx->XferAbortCallback function in case of error */
huart->hdmarx->XferAbortCallback(huart->hdmarx);
- 8002f18: 687b ldr r3, [r7, #4]
- 8002f1a: 6edb ldr r3, [r3, #108] ; 0x6c
- 8002f1c: 6d1b ldr r3, [r3, #80] ; 0x50
- 8002f1e: 687a ldr r2, [r7, #4]
- 8002f20: 6ed2 ldr r2, [r2, #108] ; 0x6c
- 8002f22: 4610 mov r0, r2
- 8002f24: 4798 blx r3
+ 8002ec4: 687b ldr r3, [r7, #4]
+ 8002ec6: 6edb ldr r3, [r3, #108] ; 0x6c
+ 8002ec8: 6d1b ldr r3, [r3, #80] ; 0x50
+ 8002eca: 687a ldr r2, [r7, #4]
+ 8002ecc: 6ed2 ldr r2, [r2, #108] ; 0x6c
+ 8002ece: 4610 mov r0, r2
+ 8002ed0: 4798 blx r3
if (HAL_IS_BIT_SET(huart->Instance->CR3, USART_CR3_DMAR))
- 8002f26: e00e b.n 8002f46 <HAL_UART_IRQHandler+0x1da>
+ 8002ed2: e00e b.n 8002ef2 <HAL_UART_IRQHandler+0x1da>
#if (USE_HAL_UART_REGISTER_CALLBACKS == 1)
/*Call registered error callback*/
huart->ErrorCallback(huart);
#else
/*Call legacy weak error callback*/
HAL_UART_ErrorCallback(huart);
- 8002f28: 6878 ldr r0, [r7, #4]
- 8002f2a: f7fd fc89 bl 8000840 <HAL_UART_ErrorCallback>
+ 8002ed4: 6878 ldr r0, [r7, #4]
+ 8002ed6: f7fd fca7 bl 8000828 <HAL_UART_ErrorCallback>
if (HAL_IS_BIT_SET(huart->Instance->CR3, USART_CR3_DMAR))
- 8002f2e: e00a b.n 8002f46 <HAL_UART_IRQHandler+0x1da>
+ 8002eda: e00a b.n 8002ef2 <HAL_UART_IRQHandler+0x1da>
#if (USE_HAL_UART_REGISTER_CALLBACKS == 1)
/*Call registered error callback*/
huart->ErrorCallback(huart);
#else
/*Call legacy weak error callback*/
HAL_UART_ErrorCallback(huart);
- 8002f30: 6878 ldr r0, [r7, #4]
- 8002f32: f7fd fc85 bl 8000840 <HAL_UART_ErrorCallback>
+ 8002edc: 6878 ldr r0, [r7, #4]
+ 8002ede: f7fd fca3 bl 8000828 <HAL_UART_ErrorCallback>
if (HAL_IS_BIT_SET(huart->Instance->CR3, USART_CR3_DMAR))
- 8002f36: e006 b.n 8002f46 <HAL_UART_IRQHandler+0x1da>
+ 8002ee2: e006 b.n 8002ef2 <HAL_UART_IRQHandler+0x1da>
#if (USE_HAL_UART_REGISTER_CALLBACKS == 1)
/*Call registered error callback*/
huart->ErrorCallback(huart);
#else
/*Call legacy weak error callback*/
HAL_UART_ErrorCallback(huart);
- 8002f38: 6878 ldr r0, [r7, #4]
- 8002f3a: f7fd fc81 bl 8000840 <HAL_UART_ErrorCallback>
+ 8002ee4: 6878 ldr r0, [r7, #4]
+ 8002ee6: f7fd fc9f bl 8000828 <HAL_UART_ErrorCallback>
#endif /* USE_HAL_UART_REGISTER_CALLBACKS */
huart->ErrorCode = HAL_UART_ERROR_NONE;
- 8002f3e: 687b ldr r3, [r7, #4]
- 8002f40: 2200 movs r2, #0
- 8002f42: 67da str r2, [r3, #124] ; 0x7c
+ 8002eea: 687b ldr r3, [r7, #4]
+ 8002eec: 2200 movs r2, #0
+ 8002eee: 67da str r2, [r3, #124] ; 0x7c
}
}
return;
- 8002f44: e025 b.n 8002f92 <HAL_UART_IRQHandler+0x226>
+ 8002ef0: e025 b.n 8002f3e <HAL_UART_IRQHandler+0x226>
if (HAL_IS_BIT_SET(huart->Instance->CR3, USART_CR3_DMAR))
- 8002f46: bf00 nop
+ 8002ef2: bf00 nop
return;
- 8002f48: e023 b.n 8002f92 <HAL_UART_IRQHandler+0x226>
+ 8002ef4: e023 b.n 8002f3e <HAL_UART_IRQHandler+0x226>
} /* End if some error occurs */
/* UART in mode Transmitter ------------------------------------------------*/
if (((isrflags & USART_ISR_TXE) != 0U)
- 8002f4a: 69fb ldr r3, [r7, #28]
- 8002f4c: f003 0380 and.w r3, r3, #128 ; 0x80
- 8002f50: 2b00 cmp r3, #0
- 8002f52: d00d beq.n 8002f70 <HAL_UART_IRQHandler+0x204>
+ 8002ef6: 69fb ldr r3, [r7, #28]
+ 8002ef8: f003 0380 and.w r3, r3, #128 ; 0x80
+ 8002efc: 2b00 cmp r3, #0
+ 8002efe: d00d beq.n 8002f1c <HAL_UART_IRQHandler+0x204>
&& ((cr1its & USART_CR1_TXEIE) != 0U))
- 8002f54: 69bb ldr r3, [r7, #24]
- 8002f56: f003 0380 and.w r3, r3, #128 ; 0x80
- 8002f5a: 2b00 cmp r3, #0
- 8002f5c: d008 beq.n 8002f70 <HAL_UART_IRQHandler+0x204>
+ 8002f00: 69bb ldr r3, [r7, #24]
+ 8002f02: f003 0380 and.w r3, r3, #128 ; 0x80
+ 8002f06: 2b00 cmp r3, #0
+ 8002f08: d008 beq.n 8002f1c <HAL_UART_IRQHandler+0x204>
{
if (huart->TxISR != NULL)
- 8002f5e: 687b ldr r3, [r7, #4]
- 8002f60: 6e5b ldr r3, [r3, #100] ; 0x64
- 8002f62: 2b00 cmp r3, #0
- 8002f64: d017 beq.n 8002f96 <HAL_UART_IRQHandler+0x22a>
+ 8002f0a: 687b ldr r3, [r7, #4]
+ 8002f0c: 6e5b ldr r3, [r3, #100] ; 0x64
+ 8002f0e: 2b00 cmp r3, #0
+ 8002f10: d017 beq.n 8002f42 <HAL_UART_IRQHandler+0x22a>
{
huart->TxISR(huart);
- 8002f66: 687b ldr r3, [r7, #4]
- 8002f68: 6e5b ldr r3, [r3, #100] ; 0x64
- 8002f6a: 6878 ldr r0, [r7, #4]
- 8002f6c: 4798 blx r3
+ 8002f12: 687b ldr r3, [r7, #4]
+ 8002f14: 6e5b ldr r3, [r3, #100] ; 0x64
+ 8002f16: 6878 ldr r0, [r7, #4]
+ 8002f18: 4798 blx r3
}
return;
- 8002f6e: e012 b.n 8002f96 <HAL_UART_IRQHandler+0x22a>
+ 8002f1a: e012 b.n 8002f42 <HAL_UART_IRQHandler+0x22a>
}
/* UART in mode Transmitter (transmission end) -----------------------------*/
if (((isrflags & USART_ISR_TC) != 0U) && ((cr1its & USART_CR1_TCIE) != 0U))
- 8002f70: 69fb ldr r3, [r7, #28]
- 8002f72: f003 0340 and.w r3, r3, #64 ; 0x40
- 8002f76: 2b00 cmp r3, #0
- 8002f78: d00e beq.n 8002f98 <HAL_UART_IRQHandler+0x22c>
- 8002f7a: 69bb ldr r3, [r7, #24]
- 8002f7c: f003 0340 and.w r3, r3, #64 ; 0x40
- 8002f80: 2b00 cmp r3, #0
- 8002f82: d009 beq.n 8002f98 <HAL_UART_IRQHandler+0x22c>
+ 8002f1c: 69fb ldr r3, [r7, #28]
+ 8002f1e: f003 0340 and.w r3, r3, #64 ; 0x40
+ 8002f22: 2b00 cmp r3, #0
+ 8002f24: d00e beq.n 8002f44 <HAL_UART_IRQHandler+0x22c>
+ 8002f26: 69bb ldr r3, [r7, #24]
+ 8002f28: f003 0340 and.w r3, r3, #64 ; 0x40
+ 8002f2c: 2b00 cmp r3, #0
+ 8002f2e: d009 beq.n 8002f44 <HAL_UART_IRQHandler+0x22c>
{
UART_EndTransmit_IT(huart);
- 8002f84: 6878 ldr r0, [r7, #4]
- 8002f86: f000 fc0a bl 800379e <UART_EndTransmit_IT>
+ 8002f30: 6878 ldr r0, [r7, #4]
+ 8002f32: f000 fc0a bl 800374a <UART_EndTransmit_IT>
return;
- 8002f8a: bf00 nop
- 8002f8c: e004 b.n 8002f98 <HAL_UART_IRQHandler+0x22c>
+ 8002f36: bf00 nop
+ 8002f38: e004 b.n 8002f44 <HAL_UART_IRQHandler+0x22c>
return;
- 8002f8e: bf00 nop
- 8002f90: e002 b.n 8002f98 <HAL_UART_IRQHandler+0x22c>
+ 8002f3a: bf00 nop
+ 8002f3c: e002 b.n 8002f44 <HAL_UART_IRQHandler+0x22c>
return;
- 8002f92: bf00 nop
- 8002f94: e000 b.n 8002f98 <HAL_UART_IRQHandler+0x22c>
+ 8002f3e: bf00 nop
+ 8002f40: e000 b.n 8002f44 <HAL_UART_IRQHandler+0x22c>
return;
- 8002f96: bf00 nop
+ 8002f42: bf00 nop
}
}
- 8002f98: 3720 adds r7, #32
- 8002f9a: 46bd mov sp, r7
- 8002f9c: bd80 pop {r7, pc}
- 8002f9e: bf00 nop
- 8002fa0: 08003773 .word 0x08003773
+ 8002f44: 3720 adds r7, #32
+ 8002f46: 46bd mov sp, r7
+ 8002f48: bd80 pop {r7, pc}
+ 8002f4a: bf00 nop
+ 8002f4c: 0800371f .word 0x0800371f
-08002fa4 <HAL_UART_TxCpltCallback>:
+08002f50 <HAL_UART_TxCpltCallback>:
* @brief Tx Transfer completed callback.
* @param huart UART handle.
* @retval None
*/
__weak void HAL_UART_TxCpltCallback(UART_HandleTypeDef *huart)
{
- 8002fa4: b480 push {r7}
- 8002fa6: b083 sub sp, #12
- 8002fa8: af00 add r7, sp, #0
- 8002faa: 6078 str r0, [r7, #4]
+ 8002f50: b480 push {r7}
+ 8002f52: b083 sub sp, #12
+ 8002f54: af00 add r7, sp, #0
+ 8002f56: 6078 str r0, [r7, #4]
UNUSED(huart);
/* NOTE : This function should not be modified, when the callback is needed,
the HAL_UART_TxCpltCallback can be implemented in the user file.
*/
}
- 8002fac: bf00 nop
- 8002fae: 370c adds r7, #12
- 8002fb0: 46bd mov sp, r7
- 8002fb2: f85d 7b04 ldr.w r7, [sp], #4
- 8002fb6: 4770 bx lr
+ 8002f58: bf00 nop
+ 8002f5a: 370c adds r7, #12
+ 8002f5c: 46bd mov sp, r7
+ 8002f5e: f85d 7b04 ldr.w r7, [sp], #4
+ 8002f62: 4770 bx lr
-08002fb8 <UART_SetConfig>:
+08002f64 <UART_SetConfig>:
* @brief Configure the UART peripheral.
* @param huart UART handle.
* @retval HAL status
*/
HAL_StatusTypeDef UART_SetConfig(UART_HandleTypeDef *huart)
{
- 8002fb8: b580 push {r7, lr}
- 8002fba: b088 sub sp, #32
- 8002fbc: af00 add r7, sp, #0
- 8002fbe: 6078 str r0, [r7, #4]
+ 8002f64: b580 push {r7, lr}
+ 8002f66: b088 sub sp, #32
+ 8002f68: af00 add r7, sp, #0
+ 8002f6a: 6078 str r0, [r7, #4]
uint32_t tmpreg;
uint16_t brrtemp;
UART_ClockSourceTypeDef clocksource;
uint32_t usartdiv = 0x00000000U;
- 8002fc0: 2300 movs r3, #0
- 8002fc2: 61bb str r3, [r7, #24]
+ 8002f6c: 2300 movs r3, #0
+ 8002f6e: 61bb str r3, [r7, #24]
HAL_StatusTypeDef ret = HAL_OK;
- 8002fc4: 2300 movs r3, #0
- 8002fc6: 75fb strb r3, [r7, #23]
+ 8002f70: 2300 movs r3, #0
+ 8002f72: 75fb strb r3, [r7, #23]
* the UART Word Length, Parity, Mode and oversampling:
* set the M bits according to huart->Init.WordLength value
* set PCE and PS bits according to huart->Init.Parity value
* set TE and RE bits according to huart->Init.Mode value
* set OVER8 bit according to huart->Init.OverSampling value */
tmpreg = (uint32_t)huart->Init.WordLength | huart->Init.Parity | huart->Init.Mode | huart->Init.OverSampling ;
- 8002fc8: 687b ldr r3, [r7, #4]
- 8002fca: 689a ldr r2, [r3, #8]
- 8002fcc: 687b ldr r3, [r7, #4]
- 8002fce: 691b ldr r3, [r3, #16]
- 8002fd0: 431a orrs r2, r3
- 8002fd2: 687b ldr r3, [r7, #4]
- 8002fd4: 695b ldr r3, [r3, #20]
- 8002fd6: 431a orrs r2, r3
- 8002fd8: 687b ldr r3, [r7, #4]
- 8002fda: 69db ldr r3, [r3, #28]
- 8002fdc: 4313 orrs r3, r2
- 8002fde: 613b str r3, [r7, #16]
+ 8002f74: 687b ldr r3, [r7, #4]
+ 8002f76: 689a ldr r2, [r3, #8]
+ 8002f78: 687b ldr r3, [r7, #4]
+ 8002f7a: 691b ldr r3, [r3, #16]
+ 8002f7c: 431a orrs r2, r3
+ 8002f7e: 687b ldr r3, [r7, #4]
+ 8002f80: 695b ldr r3, [r3, #20]
+ 8002f82: 431a orrs r2, r3
+ 8002f84: 687b ldr r3, [r7, #4]
+ 8002f86: 69db ldr r3, [r3, #28]
+ 8002f88: 4313 orrs r3, r2
+ 8002f8a: 613b str r3, [r7, #16]
MODIFY_REG(huart->Instance->CR1, USART_CR1_FIELDS, tmpreg);
- 8002fe0: 687b ldr r3, [r7, #4]
- 8002fe2: 681b ldr r3, [r3, #0]
- 8002fe4: 681a ldr r2, [r3, #0]
- 8002fe6: 4bb1 ldr r3, [pc, #708] ; (80032ac <UART_SetConfig+0x2f4>)
- 8002fe8: 4013 ands r3, r2
- 8002fea: 687a ldr r2, [r7, #4]
- 8002fec: 6812 ldr r2, [r2, #0]
- 8002fee: 6939 ldr r1, [r7, #16]
- 8002ff0: 430b orrs r3, r1
- 8002ff2: 6013 str r3, [r2, #0]
+ 8002f8c: 687b ldr r3, [r7, #4]
+ 8002f8e: 681b ldr r3, [r3, #0]
+ 8002f90: 681a ldr r2, [r3, #0]
+ 8002f92: 4bb1 ldr r3, [pc, #708] ; (8003258 <UART_SetConfig+0x2f4>)
+ 8002f94: 4013 ands r3, r2
+ 8002f96: 687a ldr r2, [r7, #4]
+ 8002f98: 6812 ldr r2, [r2, #0]
+ 8002f9a: 6939 ldr r1, [r7, #16]
+ 8002f9c: 430b orrs r3, r1
+ 8002f9e: 6013 str r3, [r2, #0]
/*-------------------------- USART CR2 Configuration -----------------------*/
/* Configure the UART Stop Bits: Set STOP[13:12] bits according
* to huart->Init.StopBits value */
MODIFY_REG(huart->Instance->CR2, USART_CR2_STOP, huart->Init.StopBits);
- 8002ff4: 687b ldr r3, [r7, #4]
- 8002ff6: 681b ldr r3, [r3, #0]
- 8002ff8: 685b ldr r3, [r3, #4]
- 8002ffa: f423 5140 bic.w r1, r3, #12288 ; 0x3000
- 8002ffe: 687b ldr r3, [r7, #4]
- 8003000: 68da ldr r2, [r3, #12]
- 8003002: 687b ldr r3, [r7, #4]
- 8003004: 681b ldr r3, [r3, #0]
- 8003006: 430a orrs r2, r1
- 8003008: 605a str r2, [r3, #4]
+ 8002fa0: 687b ldr r3, [r7, #4]
+ 8002fa2: 681b ldr r3, [r3, #0]
+ 8002fa4: 685b ldr r3, [r3, #4]
+ 8002fa6: f423 5140 bic.w r1, r3, #12288 ; 0x3000
+ 8002faa: 687b ldr r3, [r7, #4]
+ 8002fac: 68da ldr r2, [r3, #12]
+ 8002fae: 687b ldr r3, [r7, #4]
+ 8002fb0: 681b ldr r3, [r3, #0]
+ 8002fb2: 430a orrs r2, r1
+ 8002fb4: 605a str r2, [r3, #4]
/* Configure
* - UART HardWare Flow Control: set CTSE and RTSE bits according
* to huart->Init.HwFlowCtl value
* - one-bit sampling method versus three samples' majority rule according
* to huart->Init.OneBitSampling (not applicable to LPUART) */
tmpreg = (uint32_t)huart->Init.HwFlowCtl;
- 800300a: 687b ldr r3, [r7, #4]
- 800300c: 699b ldr r3, [r3, #24]
- 800300e: 613b str r3, [r7, #16]
+ 8002fb6: 687b ldr r3, [r7, #4]
+ 8002fb8: 699b ldr r3, [r3, #24]
+ 8002fba: 613b str r3, [r7, #16]
tmpreg |= huart->Init.OneBitSampling;
- 8003010: 687b ldr r3, [r7, #4]
- 8003012: 6a1b ldr r3, [r3, #32]
- 8003014: 693a ldr r2, [r7, #16]
- 8003016: 4313 orrs r3, r2
- 8003018: 613b str r3, [r7, #16]
+ 8002fbc: 687b ldr r3, [r7, #4]
+ 8002fbe: 6a1b ldr r3, [r3, #32]
+ 8002fc0: 693a ldr r2, [r7, #16]
+ 8002fc2: 4313 orrs r3, r2
+ 8002fc4: 613b str r3, [r7, #16]
MODIFY_REG(huart->Instance->CR3, USART_CR3_FIELDS, tmpreg);
- 800301a: 687b ldr r3, [r7, #4]
- 800301c: 681b ldr r3, [r3, #0]
- 800301e: 689b ldr r3, [r3, #8]
- 8003020: f423 6130 bic.w r1, r3, #2816 ; 0xb00
- 8003024: 687b ldr r3, [r7, #4]
- 8003026: 681b ldr r3, [r3, #0]
- 8003028: 693a ldr r2, [r7, #16]
- 800302a: 430a orrs r2, r1
- 800302c: 609a str r2, [r3, #8]
+ 8002fc6: 687b ldr r3, [r7, #4]
+ 8002fc8: 681b ldr r3, [r3, #0]
+ 8002fca: 689b ldr r3, [r3, #8]
+ 8002fcc: f423 6130 bic.w r1, r3, #2816 ; 0xb00
+ 8002fd0: 687b ldr r3, [r7, #4]
+ 8002fd2: 681b ldr r3, [r3, #0]
+ 8002fd4: 693a ldr r2, [r7, #16]
+ 8002fd6: 430a orrs r2, r1
+ 8002fd8: 609a str r2, [r3, #8]
/*-------------------------- USART BRR Configuration -----------------------*/
UART_GETCLOCKSOURCE(huart, clocksource);
- 800302e: 687b ldr r3, [r7, #4]
- 8003030: 681b ldr r3, [r3, #0]
- 8003032: 4a9f ldr r2, [pc, #636] ; (80032b0 <UART_SetConfig+0x2f8>)
- 8003034: 4293 cmp r3, r2
- 8003036: d121 bne.n 800307c <UART_SetConfig+0xc4>
- 8003038: 4b9e ldr r3, [pc, #632] ; (80032b4 <UART_SetConfig+0x2fc>)
- 800303a: f8d3 3090 ldr.w r3, [r3, #144] ; 0x90
- 800303e: f003 0303 and.w r3, r3, #3
- 8003042: 2b03 cmp r3, #3
- 8003044: d816 bhi.n 8003074 <UART_SetConfig+0xbc>
- 8003046: a201 add r2, pc, #4 ; (adr r2, 800304c <UART_SetConfig+0x94>)
- 8003048: f852 f023 ldr.w pc, [r2, r3, lsl #2]
- 800304c: 0800305d .word 0x0800305d
- 8003050: 08003069 .word 0x08003069
- 8003054: 08003063 .word 0x08003063
- 8003058: 0800306f .word 0x0800306f
- 800305c: 2301 movs r3, #1
- 800305e: 77fb strb r3, [r7, #31]
- 8003060: e151 b.n 8003306 <UART_SetConfig+0x34e>
- 8003062: 2302 movs r3, #2
- 8003064: 77fb strb r3, [r7, #31]
- 8003066: e14e b.n 8003306 <UART_SetConfig+0x34e>
- 8003068: 2304 movs r3, #4
- 800306a: 77fb strb r3, [r7, #31]
- 800306c: e14b b.n 8003306 <UART_SetConfig+0x34e>
- 800306e: 2308 movs r3, #8
- 8003070: 77fb strb r3, [r7, #31]
- 8003072: e148 b.n 8003306 <UART_SetConfig+0x34e>
- 8003074: 2310 movs r3, #16
- 8003076: 77fb strb r3, [r7, #31]
- 8003078: bf00 nop
- 800307a: e144 b.n 8003306 <UART_SetConfig+0x34e>
- 800307c: 687b ldr r3, [r7, #4]
- 800307e: 681b ldr r3, [r3, #0]
- 8003080: 4a8d ldr r2, [pc, #564] ; (80032b8 <UART_SetConfig+0x300>)
- 8003082: 4293 cmp r3, r2
- 8003084: d134 bne.n 80030f0 <UART_SetConfig+0x138>
- 8003086: 4b8b ldr r3, [pc, #556] ; (80032b4 <UART_SetConfig+0x2fc>)
- 8003088: f8d3 3090 ldr.w r3, [r3, #144] ; 0x90
- 800308c: f003 030c and.w r3, r3, #12
- 8003090: 2b0c cmp r3, #12
- 8003092: d829 bhi.n 80030e8 <UART_SetConfig+0x130>
- 8003094: a201 add r2, pc, #4 ; (adr r2, 800309c <UART_SetConfig+0xe4>)
- 8003096: f852 f023 ldr.w pc, [r2, r3, lsl #2]
- 800309a: bf00 nop
- 800309c: 080030d1 .word 0x080030d1
- 80030a0: 080030e9 .word 0x080030e9
- 80030a4: 080030e9 .word 0x080030e9
- 80030a8: 080030e9 .word 0x080030e9
- 80030ac: 080030dd .word 0x080030dd
- 80030b0: 080030e9 .word 0x080030e9
- 80030b4: 080030e9 .word 0x080030e9
- 80030b8: 080030e9 .word 0x080030e9
- 80030bc: 080030d7 .word 0x080030d7
- 80030c0: 080030e9 .word 0x080030e9
- 80030c4: 080030e9 .word 0x080030e9
- 80030c8: 080030e9 .word 0x080030e9
- 80030cc: 080030e3 .word 0x080030e3
- 80030d0: 2300 movs r3, #0
- 80030d2: 77fb strb r3, [r7, #31]
- 80030d4: e117 b.n 8003306 <UART_SetConfig+0x34e>
- 80030d6: 2302 movs r3, #2
- 80030d8: 77fb strb r3, [r7, #31]
- 80030da: e114 b.n 8003306 <UART_SetConfig+0x34e>
- 80030dc: 2304 movs r3, #4
- 80030de: 77fb strb r3, [r7, #31]
- 80030e0: e111 b.n 8003306 <UART_SetConfig+0x34e>
- 80030e2: 2308 movs r3, #8
- 80030e4: 77fb strb r3, [r7, #31]
- 80030e6: e10e b.n 8003306 <UART_SetConfig+0x34e>
- 80030e8: 2310 movs r3, #16
- 80030ea: 77fb strb r3, [r7, #31]
- 80030ec: bf00 nop
- 80030ee: e10a b.n 8003306 <UART_SetConfig+0x34e>
- 80030f0: 687b ldr r3, [r7, #4]
- 80030f2: 681b ldr r3, [r3, #0]
- 80030f4: 4a71 ldr r2, [pc, #452] ; (80032bc <UART_SetConfig+0x304>)
- 80030f6: 4293 cmp r3, r2
- 80030f8: d120 bne.n 800313c <UART_SetConfig+0x184>
- 80030fa: 4b6e ldr r3, [pc, #440] ; (80032b4 <UART_SetConfig+0x2fc>)
- 80030fc: f8d3 3090 ldr.w r3, [r3, #144] ; 0x90
- 8003100: f003 0330 and.w r3, r3, #48 ; 0x30
- 8003104: 2b10 cmp r3, #16
- 8003106: d00f beq.n 8003128 <UART_SetConfig+0x170>
- 8003108: 2b10 cmp r3, #16
- 800310a: d802 bhi.n 8003112 <UART_SetConfig+0x15a>
- 800310c: 2b00 cmp r3, #0
- 800310e: d005 beq.n 800311c <UART_SetConfig+0x164>
- 8003110: e010 b.n 8003134 <UART_SetConfig+0x17c>
- 8003112: 2b20 cmp r3, #32
- 8003114: d005 beq.n 8003122 <UART_SetConfig+0x16a>
- 8003116: 2b30 cmp r3, #48 ; 0x30
- 8003118: d009 beq.n 800312e <UART_SetConfig+0x176>
- 800311a: e00b b.n 8003134 <UART_SetConfig+0x17c>
- 800311c: 2300 movs r3, #0
- 800311e: 77fb strb r3, [r7, #31]
- 8003120: e0f1 b.n 8003306 <UART_SetConfig+0x34e>
- 8003122: 2302 movs r3, #2
- 8003124: 77fb strb r3, [r7, #31]
- 8003126: e0ee b.n 8003306 <UART_SetConfig+0x34e>
- 8003128: 2304 movs r3, #4
- 800312a: 77fb strb r3, [r7, #31]
- 800312c: e0eb b.n 8003306 <UART_SetConfig+0x34e>
- 800312e: 2308 movs r3, #8
- 8003130: 77fb strb r3, [r7, #31]
- 8003132: e0e8 b.n 8003306 <UART_SetConfig+0x34e>
- 8003134: 2310 movs r3, #16
- 8003136: 77fb strb r3, [r7, #31]
- 8003138: bf00 nop
- 800313a: e0e4 b.n 8003306 <UART_SetConfig+0x34e>
- 800313c: 687b ldr r3, [r7, #4]
- 800313e: 681b ldr r3, [r3, #0]
- 8003140: 4a5f ldr r2, [pc, #380] ; (80032c0 <UART_SetConfig+0x308>)
- 8003142: 4293 cmp r3, r2
- 8003144: d120 bne.n 8003188 <UART_SetConfig+0x1d0>
- 8003146: 4b5b ldr r3, [pc, #364] ; (80032b4 <UART_SetConfig+0x2fc>)
- 8003148: f8d3 3090 ldr.w r3, [r3, #144] ; 0x90
- 800314c: f003 03c0 and.w r3, r3, #192 ; 0xc0
- 8003150: 2b40 cmp r3, #64 ; 0x40
- 8003152: d00f beq.n 8003174 <UART_SetConfig+0x1bc>
- 8003154: 2b40 cmp r3, #64 ; 0x40
- 8003156: d802 bhi.n 800315e <UART_SetConfig+0x1a6>
- 8003158: 2b00 cmp r3, #0
- 800315a: d005 beq.n 8003168 <UART_SetConfig+0x1b0>
- 800315c: e010 b.n 8003180 <UART_SetConfig+0x1c8>
- 800315e: 2b80 cmp r3, #128 ; 0x80
- 8003160: d005 beq.n 800316e <UART_SetConfig+0x1b6>
- 8003162: 2bc0 cmp r3, #192 ; 0xc0
- 8003164: d009 beq.n 800317a <UART_SetConfig+0x1c2>
- 8003166: e00b b.n 8003180 <UART_SetConfig+0x1c8>
+ 8002fda: 687b ldr r3, [r7, #4]
+ 8002fdc: 681b ldr r3, [r3, #0]
+ 8002fde: 4a9f ldr r2, [pc, #636] ; (800325c <UART_SetConfig+0x2f8>)
+ 8002fe0: 4293 cmp r3, r2
+ 8002fe2: d121 bne.n 8003028 <UART_SetConfig+0xc4>
+ 8002fe4: 4b9e ldr r3, [pc, #632] ; (8003260 <UART_SetConfig+0x2fc>)
+ 8002fe6: f8d3 3090 ldr.w r3, [r3, #144] ; 0x90
+ 8002fea: f003 0303 and.w r3, r3, #3
+ 8002fee: 2b03 cmp r3, #3
+ 8002ff0: d816 bhi.n 8003020 <UART_SetConfig+0xbc>
+ 8002ff2: a201 add r2, pc, #4 ; (adr r2, 8002ff8 <UART_SetConfig+0x94>)
+ 8002ff4: f852 f023 ldr.w pc, [r2, r3, lsl #2]
+ 8002ff8: 08003009 .word 0x08003009
+ 8002ffc: 08003015 .word 0x08003015
+ 8003000: 0800300f .word 0x0800300f
+ 8003004: 0800301b .word 0x0800301b
+ 8003008: 2301 movs r3, #1
+ 800300a: 77fb strb r3, [r7, #31]
+ 800300c: e151 b.n 80032b2 <UART_SetConfig+0x34e>
+ 800300e: 2302 movs r3, #2
+ 8003010: 77fb strb r3, [r7, #31]
+ 8003012: e14e b.n 80032b2 <UART_SetConfig+0x34e>
+ 8003014: 2304 movs r3, #4
+ 8003016: 77fb strb r3, [r7, #31]
+ 8003018: e14b b.n 80032b2 <UART_SetConfig+0x34e>
+ 800301a: 2308 movs r3, #8
+ 800301c: 77fb strb r3, [r7, #31]
+ 800301e: e148 b.n 80032b2 <UART_SetConfig+0x34e>
+ 8003020: 2310 movs r3, #16
+ 8003022: 77fb strb r3, [r7, #31]
+ 8003024: bf00 nop
+ 8003026: e144 b.n 80032b2 <UART_SetConfig+0x34e>
+ 8003028: 687b ldr r3, [r7, #4]
+ 800302a: 681b ldr r3, [r3, #0]
+ 800302c: 4a8d ldr r2, [pc, #564] ; (8003264 <UART_SetConfig+0x300>)
+ 800302e: 4293 cmp r3, r2
+ 8003030: d134 bne.n 800309c <UART_SetConfig+0x138>
+ 8003032: 4b8b ldr r3, [pc, #556] ; (8003260 <UART_SetConfig+0x2fc>)
+ 8003034: f8d3 3090 ldr.w r3, [r3, #144] ; 0x90
+ 8003038: f003 030c and.w r3, r3, #12
+ 800303c: 2b0c cmp r3, #12
+ 800303e: d829 bhi.n 8003094 <UART_SetConfig+0x130>
+ 8003040: a201 add r2, pc, #4 ; (adr r2, 8003048 <UART_SetConfig+0xe4>)
+ 8003042: f852 f023 ldr.w pc, [r2, r3, lsl #2]
+ 8003046: bf00 nop
+ 8003048: 0800307d .word 0x0800307d
+ 800304c: 08003095 .word 0x08003095
+ 8003050: 08003095 .word 0x08003095
+ 8003054: 08003095 .word 0x08003095
+ 8003058: 08003089 .word 0x08003089
+ 800305c: 08003095 .word 0x08003095
+ 8003060: 08003095 .word 0x08003095
+ 8003064: 08003095 .word 0x08003095
+ 8003068: 08003083 .word 0x08003083
+ 800306c: 08003095 .word 0x08003095
+ 8003070: 08003095 .word 0x08003095
+ 8003074: 08003095 .word 0x08003095
+ 8003078: 0800308f .word 0x0800308f
+ 800307c: 2300 movs r3, #0
+ 800307e: 77fb strb r3, [r7, #31]
+ 8003080: e117 b.n 80032b2 <UART_SetConfig+0x34e>
+ 8003082: 2302 movs r3, #2
+ 8003084: 77fb strb r3, [r7, #31]
+ 8003086: e114 b.n 80032b2 <UART_SetConfig+0x34e>
+ 8003088: 2304 movs r3, #4
+ 800308a: 77fb strb r3, [r7, #31]
+ 800308c: e111 b.n 80032b2 <UART_SetConfig+0x34e>
+ 800308e: 2308 movs r3, #8
+ 8003090: 77fb strb r3, [r7, #31]
+ 8003092: e10e b.n 80032b2 <UART_SetConfig+0x34e>
+ 8003094: 2310 movs r3, #16
+ 8003096: 77fb strb r3, [r7, #31]
+ 8003098: bf00 nop
+ 800309a: e10a b.n 80032b2 <UART_SetConfig+0x34e>
+ 800309c: 687b ldr r3, [r7, #4]
+ 800309e: 681b ldr r3, [r3, #0]
+ 80030a0: 4a71 ldr r2, [pc, #452] ; (8003268 <UART_SetConfig+0x304>)
+ 80030a2: 4293 cmp r3, r2
+ 80030a4: d120 bne.n 80030e8 <UART_SetConfig+0x184>
+ 80030a6: 4b6e ldr r3, [pc, #440] ; (8003260 <UART_SetConfig+0x2fc>)
+ 80030a8: f8d3 3090 ldr.w r3, [r3, #144] ; 0x90
+ 80030ac: f003 0330 and.w r3, r3, #48 ; 0x30
+ 80030b0: 2b10 cmp r3, #16
+ 80030b2: d00f beq.n 80030d4 <UART_SetConfig+0x170>
+ 80030b4: 2b10 cmp r3, #16
+ 80030b6: d802 bhi.n 80030be <UART_SetConfig+0x15a>
+ 80030b8: 2b00 cmp r3, #0
+ 80030ba: d005 beq.n 80030c8 <UART_SetConfig+0x164>
+ 80030bc: e010 b.n 80030e0 <UART_SetConfig+0x17c>
+ 80030be: 2b20 cmp r3, #32
+ 80030c0: d005 beq.n 80030ce <UART_SetConfig+0x16a>
+ 80030c2: 2b30 cmp r3, #48 ; 0x30
+ 80030c4: d009 beq.n 80030da <UART_SetConfig+0x176>
+ 80030c6: e00b b.n 80030e0 <UART_SetConfig+0x17c>
+ 80030c8: 2300 movs r3, #0
+ 80030ca: 77fb strb r3, [r7, #31]
+ 80030cc: e0f1 b.n 80032b2 <UART_SetConfig+0x34e>
+ 80030ce: 2302 movs r3, #2
+ 80030d0: 77fb strb r3, [r7, #31]
+ 80030d2: e0ee b.n 80032b2 <UART_SetConfig+0x34e>
+ 80030d4: 2304 movs r3, #4
+ 80030d6: 77fb strb r3, [r7, #31]
+ 80030d8: e0eb b.n 80032b2 <UART_SetConfig+0x34e>
+ 80030da: 2308 movs r3, #8
+ 80030dc: 77fb strb r3, [r7, #31]
+ 80030de: e0e8 b.n 80032b2 <UART_SetConfig+0x34e>
+ 80030e0: 2310 movs r3, #16
+ 80030e2: 77fb strb r3, [r7, #31]
+ 80030e4: bf00 nop
+ 80030e6: e0e4 b.n 80032b2 <UART_SetConfig+0x34e>
+ 80030e8: 687b ldr r3, [r7, #4]
+ 80030ea: 681b ldr r3, [r3, #0]
+ 80030ec: 4a5f ldr r2, [pc, #380] ; (800326c <UART_SetConfig+0x308>)
+ 80030ee: 4293 cmp r3, r2
+ 80030f0: d120 bne.n 8003134 <UART_SetConfig+0x1d0>
+ 80030f2: 4b5b ldr r3, [pc, #364] ; (8003260 <UART_SetConfig+0x2fc>)
+ 80030f4: f8d3 3090 ldr.w r3, [r3, #144] ; 0x90
+ 80030f8: f003 03c0 and.w r3, r3, #192 ; 0xc0
+ 80030fc: 2b40 cmp r3, #64 ; 0x40
+ 80030fe: d00f beq.n 8003120 <UART_SetConfig+0x1bc>
+ 8003100: 2b40 cmp r3, #64 ; 0x40
+ 8003102: d802 bhi.n 800310a <UART_SetConfig+0x1a6>
+ 8003104: 2b00 cmp r3, #0
+ 8003106: d005 beq.n 8003114 <UART_SetConfig+0x1b0>
+ 8003108: e010 b.n 800312c <UART_SetConfig+0x1c8>
+ 800310a: 2b80 cmp r3, #128 ; 0x80
+ 800310c: d005 beq.n 800311a <UART_SetConfig+0x1b6>
+ 800310e: 2bc0 cmp r3, #192 ; 0xc0
+ 8003110: d009 beq.n 8003126 <UART_SetConfig+0x1c2>
+ 8003112: e00b b.n 800312c <UART_SetConfig+0x1c8>
+ 8003114: 2300 movs r3, #0
+ 8003116: 77fb strb r3, [r7, #31]
+ 8003118: e0cb b.n 80032b2 <UART_SetConfig+0x34e>
+ 800311a: 2302 movs r3, #2
+ 800311c: 77fb strb r3, [r7, #31]
+ 800311e: e0c8 b.n 80032b2 <UART_SetConfig+0x34e>
+ 8003120: 2304 movs r3, #4
+ 8003122: 77fb strb r3, [r7, #31]
+ 8003124: e0c5 b.n 80032b2 <UART_SetConfig+0x34e>
+ 8003126: 2308 movs r3, #8
+ 8003128: 77fb strb r3, [r7, #31]
+ 800312a: e0c2 b.n 80032b2 <UART_SetConfig+0x34e>
+ 800312c: 2310 movs r3, #16
+ 800312e: 77fb strb r3, [r7, #31]
+ 8003130: bf00 nop
+ 8003132: e0be b.n 80032b2 <UART_SetConfig+0x34e>
+ 8003134: 687b ldr r3, [r7, #4]
+ 8003136: 681b ldr r3, [r3, #0]
+ 8003138: 4a4d ldr r2, [pc, #308] ; (8003270 <UART_SetConfig+0x30c>)
+ 800313a: 4293 cmp r3, r2
+ 800313c: d124 bne.n 8003188 <UART_SetConfig+0x224>
+ 800313e: 4b48 ldr r3, [pc, #288] ; (8003260 <UART_SetConfig+0x2fc>)
+ 8003140: f8d3 3090 ldr.w r3, [r3, #144] ; 0x90
+ 8003144: f403 7340 and.w r3, r3, #768 ; 0x300
+ 8003148: f5b3 7f80 cmp.w r3, #256 ; 0x100
+ 800314c: d012 beq.n 8003174 <UART_SetConfig+0x210>
+ 800314e: f5b3 7f80 cmp.w r3, #256 ; 0x100
+ 8003152: d802 bhi.n 800315a <UART_SetConfig+0x1f6>
+ 8003154: 2b00 cmp r3, #0
+ 8003156: d007 beq.n 8003168 <UART_SetConfig+0x204>
+ 8003158: e012 b.n 8003180 <UART_SetConfig+0x21c>
+ 800315a: f5b3 7f00 cmp.w r3, #512 ; 0x200
+ 800315e: d006 beq.n 800316e <UART_SetConfig+0x20a>
+ 8003160: f5b3 7f40 cmp.w r3, #768 ; 0x300
+ 8003164: d009 beq.n 800317a <UART_SetConfig+0x216>
+ 8003166: e00b b.n 8003180 <UART_SetConfig+0x21c>
8003168: 2300 movs r3, #0
800316a: 77fb strb r3, [r7, #31]
- 800316c: e0cb b.n 8003306 <UART_SetConfig+0x34e>
+ 800316c: e0a1 b.n 80032b2 <UART_SetConfig+0x34e>
800316e: 2302 movs r3, #2
8003170: 77fb strb r3, [r7, #31]
- 8003172: e0c8 b.n 8003306 <UART_SetConfig+0x34e>
+ 8003172: e09e b.n 80032b2 <UART_SetConfig+0x34e>
8003174: 2304 movs r3, #4
8003176: 77fb strb r3, [r7, #31]
- 8003178: e0c5 b.n 8003306 <UART_SetConfig+0x34e>
+ 8003178: e09b b.n 80032b2 <UART_SetConfig+0x34e>
800317a: 2308 movs r3, #8
800317c: 77fb strb r3, [r7, #31]
- 800317e: e0c2 b.n 8003306 <UART_SetConfig+0x34e>
+ 800317e: e098 b.n 80032b2 <UART_SetConfig+0x34e>
8003180: 2310 movs r3, #16
8003182: 77fb strb r3, [r7, #31]
8003184: bf00 nop
- 8003186: e0be b.n 8003306 <UART_SetConfig+0x34e>
+ 8003186: e094 b.n 80032b2 <UART_SetConfig+0x34e>
8003188: 687b ldr r3, [r7, #4]
800318a: 681b ldr r3, [r3, #0]
- 800318c: 4a4d ldr r2, [pc, #308] ; (80032c4 <UART_SetConfig+0x30c>)
+ 800318c: 4a39 ldr r2, [pc, #228] ; (8003274 <UART_SetConfig+0x310>)
800318e: 4293 cmp r3, r2
- 8003190: d124 bne.n 80031dc <UART_SetConfig+0x224>
- 8003192: 4b48 ldr r3, [pc, #288] ; (80032b4 <UART_SetConfig+0x2fc>)
+ 8003190: d124 bne.n 80031dc <UART_SetConfig+0x278>
+ 8003192: 4b33 ldr r3, [pc, #204] ; (8003260 <UART_SetConfig+0x2fc>)
8003194: f8d3 3090 ldr.w r3, [r3, #144] ; 0x90
- 8003198: f403 7340 and.w r3, r3, #768 ; 0x300
- 800319c: f5b3 7f80 cmp.w r3, #256 ; 0x100
- 80031a0: d012 beq.n 80031c8 <UART_SetConfig+0x210>
- 80031a2: f5b3 7f80 cmp.w r3, #256 ; 0x100
- 80031a6: d802 bhi.n 80031ae <UART_SetConfig+0x1f6>
+ 8003198: f403 6340 and.w r3, r3, #3072 ; 0xc00
+ 800319c: f5b3 6f80 cmp.w r3, #1024 ; 0x400
+ 80031a0: d012 beq.n 80031c8 <UART_SetConfig+0x264>
+ 80031a2: f5b3 6f80 cmp.w r3, #1024 ; 0x400
+ 80031a6: d802 bhi.n 80031ae <UART_SetConfig+0x24a>
80031a8: 2b00 cmp r3, #0
- 80031aa: d007 beq.n 80031bc <UART_SetConfig+0x204>
- 80031ac: e012 b.n 80031d4 <UART_SetConfig+0x21c>
- 80031ae: f5b3 7f00 cmp.w r3, #512 ; 0x200
- 80031b2: d006 beq.n 80031c2 <UART_SetConfig+0x20a>
- 80031b4: f5b3 7f40 cmp.w r3, #768 ; 0x300
- 80031b8: d009 beq.n 80031ce <UART_SetConfig+0x216>
- 80031ba: e00b b.n 80031d4 <UART_SetConfig+0x21c>
- 80031bc: 2300 movs r3, #0
+ 80031aa: d007 beq.n 80031bc <UART_SetConfig+0x258>
+ 80031ac: e012 b.n 80031d4 <UART_SetConfig+0x270>
+ 80031ae: f5b3 6f00 cmp.w r3, #2048 ; 0x800
+ 80031b2: d006 beq.n 80031c2 <UART_SetConfig+0x25e>
+ 80031b4: f5b3 6f40 cmp.w r3, #3072 ; 0xc00
+ 80031b8: d009 beq.n 80031ce <UART_SetConfig+0x26a>
+ 80031ba: e00b b.n 80031d4 <UART_SetConfig+0x270>
+ 80031bc: 2301 movs r3, #1
80031be: 77fb strb r3, [r7, #31]
- 80031c0: e0a1 b.n 8003306 <UART_SetConfig+0x34e>
+ 80031c0: e077 b.n 80032b2 <UART_SetConfig+0x34e>
80031c2: 2302 movs r3, #2
80031c4: 77fb strb r3, [r7, #31]
- 80031c6: e09e b.n 8003306 <UART_SetConfig+0x34e>
+ 80031c6: e074 b.n 80032b2 <UART_SetConfig+0x34e>
80031c8: 2304 movs r3, #4
80031ca: 77fb strb r3, [r7, #31]
- 80031cc: e09b b.n 8003306 <UART_SetConfig+0x34e>
+ 80031cc: e071 b.n 80032b2 <UART_SetConfig+0x34e>
80031ce: 2308 movs r3, #8
80031d0: 77fb strb r3, [r7, #31]
- 80031d2: e098 b.n 8003306 <UART_SetConfig+0x34e>
+ 80031d2: e06e b.n 80032b2 <UART_SetConfig+0x34e>
80031d4: 2310 movs r3, #16
80031d6: 77fb strb r3, [r7, #31]
80031d8: bf00 nop
- 80031da: e094 b.n 8003306 <UART_SetConfig+0x34e>
+ 80031da: e06a b.n 80032b2 <UART_SetConfig+0x34e>
80031dc: 687b ldr r3, [r7, #4]
80031de: 681b ldr r3, [r3, #0]
- 80031e0: 4a39 ldr r2, [pc, #228] ; (80032c8 <UART_SetConfig+0x310>)
+ 80031e0: 4a25 ldr r2, [pc, #148] ; (8003278 <UART_SetConfig+0x314>)
80031e2: 4293 cmp r3, r2
- 80031e4: d124 bne.n 8003230 <UART_SetConfig+0x278>
- 80031e6: 4b33 ldr r3, [pc, #204] ; (80032b4 <UART_SetConfig+0x2fc>)
+ 80031e4: d124 bne.n 8003230 <UART_SetConfig+0x2cc>
+ 80031e6: 4b1e ldr r3, [pc, #120] ; (8003260 <UART_SetConfig+0x2fc>)
80031e8: f8d3 3090 ldr.w r3, [r3, #144] ; 0x90
- 80031ec: f403 6340 and.w r3, r3, #3072 ; 0xc00
- 80031f0: f5b3 6f80 cmp.w r3, #1024 ; 0x400
- 80031f4: d012 beq.n 800321c <UART_SetConfig+0x264>
- 80031f6: f5b3 6f80 cmp.w r3, #1024 ; 0x400
- 80031fa: d802 bhi.n 8003202 <UART_SetConfig+0x24a>
+ 80031ec: f403 5340 and.w r3, r3, #12288 ; 0x3000
+ 80031f0: f5b3 5f80 cmp.w r3, #4096 ; 0x1000
+ 80031f4: d012 beq.n 800321c <UART_SetConfig+0x2b8>
+ 80031f6: f5b3 5f80 cmp.w r3, #4096 ; 0x1000
+ 80031fa: d802 bhi.n 8003202 <UART_SetConfig+0x29e>
80031fc: 2b00 cmp r3, #0
- 80031fe: d007 beq.n 8003210 <UART_SetConfig+0x258>
- 8003200: e012 b.n 8003228 <UART_SetConfig+0x270>
- 8003202: f5b3 6f00 cmp.w r3, #2048 ; 0x800
- 8003206: d006 beq.n 8003216 <UART_SetConfig+0x25e>
- 8003208: f5b3 6f40 cmp.w r3, #3072 ; 0xc00
- 800320c: d009 beq.n 8003222 <UART_SetConfig+0x26a>
- 800320e: e00b b.n 8003228 <UART_SetConfig+0x270>
- 8003210: 2301 movs r3, #1
+ 80031fe: d007 beq.n 8003210 <UART_SetConfig+0x2ac>
+ 8003200: e012 b.n 8003228 <UART_SetConfig+0x2c4>
+ 8003202: f5b3 5f00 cmp.w r3, #8192 ; 0x2000
+ 8003206: d006 beq.n 8003216 <UART_SetConfig+0x2b2>
+ 8003208: f5b3 5f40 cmp.w r3, #12288 ; 0x3000
+ 800320c: d009 beq.n 8003222 <UART_SetConfig+0x2be>
+ 800320e: e00b b.n 8003228 <UART_SetConfig+0x2c4>
+ 8003210: 2300 movs r3, #0
8003212: 77fb strb r3, [r7, #31]
- 8003214: e077 b.n 8003306 <UART_SetConfig+0x34e>
+ 8003214: e04d b.n 80032b2 <UART_SetConfig+0x34e>
8003216: 2302 movs r3, #2
8003218: 77fb strb r3, [r7, #31]
- 800321a: e074 b.n 8003306 <UART_SetConfig+0x34e>
+ 800321a: e04a b.n 80032b2 <UART_SetConfig+0x34e>
800321c: 2304 movs r3, #4
800321e: 77fb strb r3, [r7, #31]
- 8003220: e071 b.n 8003306 <UART_SetConfig+0x34e>
+ 8003220: e047 b.n 80032b2 <UART_SetConfig+0x34e>
8003222: 2308 movs r3, #8
8003224: 77fb strb r3, [r7, #31]
- 8003226: e06e b.n 8003306 <UART_SetConfig+0x34e>
+ 8003226: e044 b.n 80032b2 <UART_SetConfig+0x34e>
8003228: 2310 movs r3, #16
800322a: 77fb strb r3, [r7, #31]
800322c: bf00 nop
- 800322e: e06a b.n 8003306 <UART_SetConfig+0x34e>
+ 800322e: e040 b.n 80032b2 <UART_SetConfig+0x34e>
8003230: 687b ldr r3, [r7, #4]
8003232: 681b ldr r3, [r3, #0]
- 8003234: 4a25 ldr r2, [pc, #148] ; (80032cc <UART_SetConfig+0x314>)
+ 8003234: 4a11 ldr r2, [pc, #68] ; (800327c <UART_SetConfig+0x318>)
8003236: 4293 cmp r3, r2
- 8003238: d124 bne.n 8003284 <UART_SetConfig+0x2cc>
- 800323a: 4b1e ldr r3, [pc, #120] ; (80032b4 <UART_SetConfig+0x2fc>)
+ 8003238: d139 bne.n 80032ae <UART_SetConfig+0x34a>
+ 800323a: 4b09 ldr r3, [pc, #36] ; (8003260 <UART_SetConfig+0x2fc>)
800323c: f8d3 3090 ldr.w r3, [r3, #144] ; 0x90
- 8003240: f403 5340 and.w r3, r3, #12288 ; 0x3000
- 8003244: f5b3 5f80 cmp.w r3, #4096 ; 0x1000
- 8003248: d012 beq.n 8003270 <UART_SetConfig+0x2b8>
- 800324a: f5b3 5f80 cmp.w r3, #4096 ; 0x1000
- 800324e: d802 bhi.n 8003256 <UART_SetConfig+0x29e>
+ 8003240: f403 4340 and.w r3, r3, #49152 ; 0xc000
+ 8003244: f5b3 4f80 cmp.w r3, #16384 ; 0x4000
+ 8003248: d027 beq.n 800329a <UART_SetConfig+0x336>
+ 800324a: f5b3 4f80 cmp.w r3, #16384 ; 0x4000
+ 800324e: d817 bhi.n 8003280 <UART_SetConfig+0x31c>
8003250: 2b00 cmp r3, #0
- 8003252: d007 beq.n 8003264 <UART_SetConfig+0x2ac>
- 8003254: e012 b.n 800327c <UART_SetConfig+0x2c4>
- 8003256: f5b3 5f00 cmp.w r3, #8192 ; 0x2000
- 800325a: d006 beq.n 800326a <UART_SetConfig+0x2b2>
- 800325c: f5b3 5f40 cmp.w r3, #12288 ; 0x3000
- 8003260: d009 beq.n 8003276 <UART_SetConfig+0x2be>
- 8003262: e00b b.n 800327c <UART_SetConfig+0x2c4>
- 8003264: 2300 movs r3, #0
- 8003266: 77fb strb r3, [r7, #31]
- 8003268: e04d b.n 8003306 <UART_SetConfig+0x34e>
- 800326a: 2302 movs r3, #2
- 800326c: 77fb strb r3, [r7, #31]
- 800326e: e04a b.n 8003306 <UART_SetConfig+0x34e>
- 8003270: 2304 movs r3, #4
- 8003272: 77fb strb r3, [r7, #31]
- 8003274: e047 b.n 8003306 <UART_SetConfig+0x34e>
- 8003276: 2308 movs r3, #8
- 8003278: 77fb strb r3, [r7, #31]
- 800327a: e044 b.n 8003306 <UART_SetConfig+0x34e>
- 800327c: 2310 movs r3, #16
- 800327e: 77fb strb r3, [r7, #31]
- 8003280: bf00 nop
- 8003282: e040 b.n 8003306 <UART_SetConfig+0x34e>
- 8003284: 687b ldr r3, [r7, #4]
- 8003286: 681b ldr r3, [r3, #0]
- 8003288: 4a11 ldr r2, [pc, #68] ; (80032d0 <UART_SetConfig+0x318>)
- 800328a: 4293 cmp r3, r2
- 800328c: d139 bne.n 8003302 <UART_SetConfig+0x34a>
- 800328e: 4b09 ldr r3, [pc, #36] ; (80032b4 <UART_SetConfig+0x2fc>)
- 8003290: f8d3 3090 ldr.w r3, [r3, #144] ; 0x90
- 8003294: f403 4340 and.w r3, r3, #49152 ; 0xc000
- 8003298: f5b3 4f80 cmp.w r3, #16384 ; 0x4000
- 800329c: d027 beq.n 80032ee <UART_SetConfig+0x336>
- 800329e: f5b3 4f80 cmp.w r3, #16384 ; 0x4000
- 80032a2: d817 bhi.n 80032d4 <UART_SetConfig+0x31c>
- 80032a4: 2b00 cmp r3, #0
- 80032a6: d01c beq.n 80032e2 <UART_SetConfig+0x32a>
- 80032a8: e027 b.n 80032fa <UART_SetConfig+0x342>
+ 8003252: d01c beq.n 800328e <UART_SetConfig+0x32a>
+ 8003254: e027 b.n 80032a6 <UART_SetConfig+0x342>
+ 8003256: bf00 nop
+ 8003258: efff69f3 .word 0xefff69f3
+ 800325c: 40011000 .word 0x40011000
+ 8003260: 40023800 .word 0x40023800
+ 8003264: 40004400 .word 0x40004400
+ 8003268: 40004800 .word 0x40004800
+ 800326c: 40004c00 .word 0x40004c00
+ 8003270: 40005000 .word 0x40005000
+ 8003274: 40011400 .word 0x40011400
+ 8003278: 40007800 .word 0x40007800
+ 800327c: 40007c00 .word 0x40007c00
+ 8003280: f5b3 4f00 cmp.w r3, #32768 ; 0x8000
+ 8003284: d006 beq.n 8003294 <UART_SetConfig+0x330>
+ 8003286: f5b3 4f40 cmp.w r3, #49152 ; 0xc000
+ 800328a: d009 beq.n 80032a0 <UART_SetConfig+0x33c>
+ 800328c: e00b b.n 80032a6 <UART_SetConfig+0x342>
+ 800328e: 2300 movs r3, #0
+ 8003290: 77fb strb r3, [r7, #31]
+ 8003292: e00e b.n 80032b2 <UART_SetConfig+0x34e>
+ 8003294: 2302 movs r3, #2
+ 8003296: 77fb strb r3, [r7, #31]
+ 8003298: e00b b.n 80032b2 <UART_SetConfig+0x34e>
+ 800329a: 2304 movs r3, #4
+ 800329c: 77fb strb r3, [r7, #31]
+ 800329e: e008 b.n 80032b2 <UART_SetConfig+0x34e>
+ 80032a0: 2308 movs r3, #8
+ 80032a2: 77fb strb r3, [r7, #31]
+ 80032a4: e005 b.n 80032b2 <UART_SetConfig+0x34e>
+ 80032a6: 2310 movs r3, #16
+ 80032a8: 77fb strb r3, [r7, #31]
80032aa: bf00 nop
- 80032ac: efff69f3 .word 0xefff69f3
- 80032b0: 40011000 .word 0x40011000
- 80032b4: 40023800 .word 0x40023800
- 80032b8: 40004400 .word 0x40004400
- 80032bc: 40004800 .word 0x40004800
- 80032c0: 40004c00 .word 0x40004c00
- 80032c4: 40005000 .word 0x40005000
- 80032c8: 40011400 .word 0x40011400
- 80032cc: 40007800 .word 0x40007800
- 80032d0: 40007c00 .word 0x40007c00
- 80032d4: f5b3 4f00 cmp.w r3, #32768 ; 0x8000
- 80032d8: d006 beq.n 80032e8 <UART_SetConfig+0x330>
- 80032da: f5b3 4f40 cmp.w r3, #49152 ; 0xc000
- 80032de: d009 beq.n 80032f4 <UART_SetConfig+0x33c>
- 80032e0: e00b b.n 80032fa <UART_SetConfig+0x342>
- 80032e2: 2300 movs r3, #0
- 80032e4: 77fb strb r3, [r7, #31]
- 80032e6: e00e b.n 8003306 <UART_SetConfig+0x34e>
- 80032e8: 2302 movs r3, #2
- 80032ea: 77fb strb r3, [r7, #31]
- 80032ec: e00b b.n 8003306 <UART_SetConfig+0x34e>
- 80032ee: 2304 movs r3, #4
- 80032f0: 77fb strb r3, [r7, #31]
- 80032f2: e008 b.n 8003306 <UART_SetConfig+0x34e>
- 80032f4: 2308 movs r3, #8
- 80032f6: 77fb strb r3, [r7, #31]
- 80032f8: e005 b.n 8003306 <UART_SetConfig+0x34e>
- 80032fa: 2310 movs r3, #16
- 80032fc: 77fb strb r3, [r7, #31]
- 80032fe: bf00 nop
- 8003300: e001 b.n 8003306 <UART_SetConfig+0x34e>
- 8003302: 2310 movs r3, #16
- 8003304: 77fb strb r3, [r7, #31]
+ 80032ac: e001 b.n 80032b2 <UART_SetConfig+0x34e>
+ 80032ae: 2310 movs r3, #16
+ 80032b0: 77fb strb r3, [r7, #31]
if (huart->Init.OverSampling == UART_OVERSAMPLING_8)
- 8003306: 687b ldr r3, [r7, #4]
- 8003308: 69db ldr r3, [r3, #28]
- 800330a: f5b3 4f00 cmp.w r3, #32768 ; 0x8000
- 800330e: d17c bne.n 800340a <UART_SetConfig+0x452>
+ 80032b2: 687b ldr r3, [r7, #4]
+ 80032b4: 69db ldr r3, [r3, #28]
+ 80032b6: f5b3 4f00 cmp.w r3, #32768 ; 0x8000
+ 80032ba: d17c bne.n 80033b6 <UART_SetConfig+0x452>
{
switch (clocksource)
- 8003310: 7ffb ldrb r3, [r7, #31]
- 8003312: 2b08 cmp r3, #8
- 8003314: d859 bhi.n 80033ca <UART_SetConfig+0x412>
- 8003316: a201 add r2, pc, #4 ; (adr r2, 800331c <UART_SetConfig+0x364>)
- 8003318: f852 f023 ldr.w pc, [r2, r3, lsl #2]
- 800331c: 08003341 .word 0x08003341
- 8003320: 0800335f .word 0x0800335f
- 8003324: 0800337d .word 0x0800337d
- 8003328: 080033cb .word 0x080033cb
- 800332c: 08003395 .word 0x08003395
- 8003330: 080033cb .word 0x080033cb
- 8003334: 080033cb .word 0x080033cb
- 8003338: 080033cb .word 0x080033cb
- 800333c: 080033b3 .word 0x080033b3
+ 80032bc: 7ffb ldrb r3, [r7, #31]
+ 80032be: 2b08 cmp r3, #8
+ 80032c0: d859 bhi.n 8003376 <UART_SetConfig+0x412>
+ 80032c2: a201 add r2, pc, #4 ; (adr r2, 80032c8 <UART_SetConfig+0x364>)
+ 80032c4: f852 f023 ldr.w pc, [r2, r3, lsl #2]
+ 80032c8: 080032ed .word 0x080032ed
+ 80032cc: 0800330b .word 0x0800330b
+ 80032d0: 08003329 .word 0x08003329
+ 80032d4: 08003377 .word 0x08003377
+ 80032d8: 08003341 .word 0x08003341
+ 80032dc: 08003377 .word 0x08003377
+ 80032e0: 08003377 .word 0x08003377
+ 80032e4: 08003377 .word 0x08003377
+ 80032e8: 0800335f .word 0x0800335f
{
case UART_CLOCKSOURCE_PCLK1:
usartdiv = (uint16_t)(UART_DIV_SAMPLING8(HAL_RCC_GetPCLK1Freq(), huart->Init.BaudRate));
- 8003340: f7fe fb38 bl 80019b4 <HAL_RCC_GetPCLK1Freq>
+ 80032ec: f7fe fb38 bl 8001960 <HAL_RCC_GetPCLK1Freq>
+ 80032f0: 4603 mov r3, r0
+ 80032f2: 005a lsls r2, r3, #1
+ 80032f4: 687b ldr r3, [r7, #4]
+ 80032f6: 685b ldr r3, [r3, #4]
+ 80032f8: 085b lsrs r3, r3, #1
+ 80032fa: 441a add r2, r3
+ 80032fc: 687b ldr r3, [r7, #4]
+ 80032fe: 685b ldr r3, [r3, #4]
+ 8003300: fbb2 f3f3 udiv r3, r2, r3
+ 8003304: b29b uxth r3, r3
+ 8003306: 61bb str r3, [r7, #24]
+ break;
+ 8003308: e038 b.n 800337c <UART_SetConfig+0x418>
+ case UART_CLOCKSOURCE_PCLK2:
+ usartdiv = (uint16_t)(UART_DIV_SAMPLING8(HAL_RCC_GetPCLK2Freq(), huart->Init.BaudRate));
+ 800330a: f7fe fb3d bl 8001988 <HAL_RCC_GetPCLK2Freq>
+ 800330e: 4603 mov r3, r0
+ 8003310: 005a lsls r2, r3, #1
+ 8003312: 687b ldr r3, [r7, #4]
+ 8003314: 685b ldr r3, [r3, #4]
+ 8003316: 085b lsrs r3, r3, #1
+ 8003318: 441a add r2, r3
+ 800331a: 687b ldr r3, [r7, #4]
+ 800331c: 685b ldr r3, [r3, #4]
+ 800331e: fbb2 f3f3 udiv r3, r2, r3
+ 8003322: b29b uxth r3, r3
+ 8003324: 61bb str r3, [r7, #24]
+ break;
+ 8003326: e029 b.n 800337c <UART_SetConfig+0x418>
+ case UART_CLOCKSOURCE_HSI:
+ usartdiv = (uint16_t)(UART_DIV_SAMPLING8(HSI_VALUE, huart->Init.BaudRate));
+ 8003328: 687b ldr r3, [r7, #4]
+ 800332a: 685b ldr r3, [r3, #4]
+ 800332c: 085a lsrs r2, r3, #1
+ 800332e: 4b5d ldr r3, [pc, #372] ; (80034a4 <UART_SetConfig+0x540>)
+ 8003330: 4413 add r3, r2
+ 8003332: 687a ldr r2, [r7, #4]
+ 8003334: 6852 ldr r2, [r2, #4]
+ 8003336: fbb3 f3f2 udiv r3, r3, r2
+ 800333a: b29b uxth r3, r3
+ 800333c: 61bb str r3, [r7, #24]
+ break;
+ 800333e: e01d b.n 800337c <UART_SetConfig+0x418>
+ case UART_CLOCKSOURCE_SYSCLK:
+ usartdiv = (uint16_t)(UART_DIV_SAMPLING8(HAL_RCC_GetSysClockFreq(), huart->Init.BaudRate));
+ 8003340: f7fe fa50 bl 80017e4 <HAL_RCC_GetSysClockFreq>
8003344: 4603 mov r3, r0
8003346: 005a lsls r2, r3, #1
8003348: 687b ldr r3, [r7, #4]
8003358: b29b uxth r3, r3
800335a: 61bb str r3, [r7, #24]
break;
- 800335c: e038 b.n 80033d0 <UART_SetConfig+0x418>
- case UART_CLOCKSOURCE_PCLK2:
- usartdiv = (uint16_t)(UART_DIV_SAMPLING8(HAL_RCC_GetPCLK2Freq(), huart->Init.BaudRate));
- 800335e: f7fe fb3d bl 80019dc <HAL_RCC_GetPCLK2Freq>
- 8003362: 4603 mov r3, r0
- 8003364: 005a lsls r2, r3, #1
- 8003366: 687b ldr r3, [r7, #4]
- 8003368: 685b ldr r3, [r3, #4]
- 800336a: 085b lsrs r3, r3, #1
- 800336c: 441a add r2, r3
- 800336e: 687b ldr r3, [r7, #4]
- 8003370: 685b ldr r3, [r3, #4]
- 8003372: fbb2 f3f3 udiv r3, r2, r3
- 8003376: b29b uxth r3, r3
- 8003378: 61bb str r3, [r7, #24]
- break;
- 800337a: e029 b.n 80033d0 <UART_SetConfig+0x418>
- case UART_CLOCKSOURCE_HSI:
- usartdiv = (uint16_t)(UART_DIV_SAMPLING8(HSI_VALUE, huart->Init.BaudRate));
- 800337c: 687b ldr r3, [r7, #4]
- 800337e: 685b ldr r3, [r3, #4]
- 8003380: 085a lsrs r2, r3, #1
- 8003382: 4b5d ldr r3, [pc, #372] ; (80034f8 <UART_SetConfig+0x540>)
- 8003384: 4413 add r3, r2
- 8003386: 687a ldr r2, [r7, #4]
- 8003388: 6852 ldr r2, [r2, #4]
- 800338a: fbb3 f3f2 udiv r3, r3, r2
- 800338e: b29b uxth r3, r3
- 8003390: 61bb str r3, [r7, #24]
- break;
- 8003392: e01d b.n 80033d0 <UART_SetConfig+0x418>
- case UART_CLOCKSOURCE_SYSCLK:
- usartdiv = (uint16_t)(UART_DIV_SAMPLING8(HAL_RCC_GetSysClockFreq(), huart->Init.BaudRate));
- 8003394: f7fe fa50 bl 8001838 <HAL_RCC_GetSysClockFreq>
- 8003398: 4603 mov r3, r0
- 800339a: 005a lsls r2, r3, #1
- 800339c: 687b ldr r3, [r7, #4]
- 800339e: 685b ldr r3, [r3, #4]
- 80033a0: 085b lsrs r3, r3, #1
- 80033a2: 441a add r2, r3
- 80033a4: 687b ldr r3, [r7, #4]
- 80033a6: 685b ldr r3, [r3, #4]
- 80033a8: fbb2 f3f3 udiv r3, r2, r3
- 80033ac: b29b uxth r3, r3
- 80033ae: 61bb str r3, [r7, #24]
- break;
- 80033b0: e00e b.n 80033d0 <UART_SetConfig+0x418>
+ 800335c: e00e b.n 800337c <UART_SetConfig+0x418>
case UART_CLOCKSOURCE_LSE:
usartdiv = (uint16_t)(UART_DIV_SAMPLING8(LSE_VALUE, huart->Init.BaudRate));
- 80033b2: 687b ldr r3, [r7, #4]
- 80033b4: 685b ldr r3, [r3, #4]
- 80033b6: 085b lsrs r3, r3, #1
- 80033b8: f503 3280 add.w r2, r3, #65536 ; 0x10000
- 80033bc: 687b ldr r3, [r7, #4]
- 80033be: 685b ldr r3, [r3, #4]
- 80033c0: fbb2 f3f3 udiv r3, r2, r3
- 80033c4: b29b uxth r3, r3
- 80033c6: 61bb str r3, [r7, #24]
+ 800335e: 687b ldr r3, [r7, #4]
+ 8003360: 685b ldr r3, [r3, #4]
+ 8003362: 085b lsrs r3, r3, #1
+ 8003364: f503 3280 add.w r2, r3, #65536 ; 0x10000
+ 8003368: 687b ldr r3, [r7, #4]
+ 800336a: 685b ldr r3, [r3, #4]
+ 800336c: fbb2 f3f3 udiv r3, r2, r3
+ 8003370: b29b uxth r3, r3
+ 8003372: 61bb str r3, [r7, #24]
break;
- 80033c8: e002 b.n 80033d0 <UART_SetConfig+0x418>
+ 8003374: e002 b.n 800337c <UART_SetConfig+0x418>
case UART_CLOCKSOURCE_UNDEFINED:
default:
ret = HAL_ERROR;
- 80033ca: 2301 movs r3, #1
- 80033cc: 75fb strb r3, [r7, #23]
+ 8003376: 2301 movs r3, #1
+ 8003378: 75fb strb r3, [r7, #23]
break;
- 80033ce: bf00 nop
+ 800337a: bf00 nop
}
/* USARTDIV must be greater than or equal to 0d16 */
if ((usartdiv >= UART_BRR_MIN) && (usartdiv <= UART_BRR_MAX))
- 80033d0: 69bb ldr r3, [r7, #24]
- 80033d2: 2b0f cmp r3, #15
- 80033d4: d916 bls.n 8003404 <UART_SetConfig+0x44c>
- 80033d6: 69bb ldr r3, [r7, #24]
- 80033d8: f5b3 3f80 cmp.w r3, #65536 ; 0x10000
- 80033dc: d212 bcs.n 8003404 <UART_SetConfig+0x44c>
+ 800337c: 69bb ldr r3, [r7, #24]
+ 800337e: 2b0f cmp r3, #15
+ 8003380: d916 bls.n 80033b0 <UART_SetConfig+0x44c>
+ 8003382: 69bb ldr r3, [r7, #24]
+ 8003384: f5b3 3f80 cmp.w r3, #65536 ; 0x10000
+ 8003388: d212 bcs.n 80033b0 <UART_SetConfig+0x44c>
{
brrtemp = (uint16_t)(usartdiv & 0xFFF0U);
- 80033de: 69bb ldr r3, [r7, #24]
- 80033e0: b29b uxth r3, r3
- 80033e2: f023 030f bic.w r3, r3, #15
- 80033e6: 81fb strh r3, [r7, #14]
+ 800338a: 69bb ldr r3, [r7, #24]
+ 800338c: b29b uxth r3, r3
+ 800338e: f023 030f bic.w r3, r3, #15
+ 8003392: 81fb strh r3, [r7, #14]
brrtemp |= (uint16_t)((usartdiv & (uint16_t)0x000FU) >> 1U);
- 80033e8: 69bb ldr r3, [r7, #24]
- 80033ea: 085b lsrs r3, r3, #1
- 80033ec: b29b uxth r3, r3
- 80033ee: f003 0307 and.w r3, r3, #7
- 80033f2: b29a uxth r2, r3
- 80033f4: 89fb ldrh r3, [r7, #14]
- 80033f6: 4313 orrs r3, r2
- 80033f8: 81fb strh r3, [r7, #14]
+ 8003394: 69bb ldr r3, [r7, #24]
+ 8003396: 085b lsrs r3, r3, #1
+ 8003398: b29b uxth r3, r3
+ 800339a: f003 0307 and.w r3, r3, #7
+ 800339e: b29a uxth r2, r3
+ 80033a0: 89fb ldrh r3, [r7, #14]
+ 80033a2: 4313 orrs r3, r2
+ 80033a4: 81fb strh r3, [r7, #14]
huart->Instance->BRR = brrtemp;
- 80033fa: 687b ldr r3, [r7, #4]
- 80033fc: 681b ldr r3, [r3, #0]
- 80033fe: 89fa ldrh r2, [r7, #14]
- 8003400: 60da str r2, [r3, #12]
- 8003402: e06e b.n 80034e2 <UART_SetConfig+0x52a>
+ 80033a6: 687b ldr r3, [r7, #4]
+ 80033a8: 681b ldr r3, [r3, #0]
+ 80033aa: 89fa ldrh r2, [r7, #14]
+ 80033ac: 60da str r2, [r3, #12]
+ 80033ae: e06e b.n 800348e <UART_SetConfig+0x52a>
}
else
{
ret = HAL_ERROR;
- 8003404: 2301 movs r3, #1
- 8003406: 75fb strb r3, [r7, #23]
- 8003408: e06b b.n 80034e2 <UART_SetConfig+0x52a>
+ 80033b0: 2301 movs r3, #1
+ 80033b2: 75fb strb r3, [r7, #23]
+ 80033b4: e06b b.n 800348e <UART_SetConfig+0x52a>
}
}
else
{
switch (clocksource)
- 800340a: 7ffb ldrb r3, [r7, #31]
- 800340c: 2b08 cmp r3, #8
- 800340e: d857 bhi.n 80034c0 <UART_SetConfig+0x508>
- 8003410: a201 add r2, pc, #4 ; (adr r2, 8003418 <UART_SetConfig+0x460>)
- 8003412: f852 f023 ldr.w pc, [r2, r3, lsl #2]
- 8003416: bf00 nop
- 8003418: 0800343d .word 0x0800343d
- 800341c: 08003459 .word 0x08003459
- 8003420: 08003475 .word 0x08003475
- 8003424: 080034c1 .word 0x080034c1
- 8003428: 0800348d .word 0x0800348d
- 800342c: 080034c1 .word 0x080034c1
- 8003430: 080034c1 .word 0x080034c1
- 8003434: 080034c1 .word 0x080034c1
- 8003438: 080034a9 .word 0x080034a9
+ 80033b6: 7ffb ldrb r3, [r7, #31]
+ 80033b8: 2b08 cmp r3, #8
+ 80033ba: d857 bhi.n 800346c <UART_SetConfig+0x508>
+ 80033bc: a201 add r2, pc, #4 ; (adr r2, 80033c4 <UART_SetConfig+0x460>)
+ 80033be: f852 f023 ldr.w pc, [r2, r3, lsl #2]
+ 80033c2: bf00 nop
+ 80033c4: 080033e9 .word 0x080033e9
+ 80033c8: 08003405 .word 0x08003405
+ 80033cc: 08003421 .word 0x08003421
+ 80033d0: 0800346d .word 0x0800346d
+ 80033d4: 08003439 .word 0x08003439
+ 80033d8: 0800346d .word 0x0800346d
+ 80033dc: 0800346d .word 0x0800346d
+ 80033e0: 0800346d .word 0x0800346d
+ 80033e4: 08003455 .word 0x08003455
{
case UART_CLOCKSOURCE_PCLK1:
usartdiv = (uint16_t)(UART_DIV_SAMPLING16(HAL_RCC_GetPCLK1Freq(), huart->Init.BaudRate));
- 800343c: f7fe faba bl 80019b4 <HAL_RCC_GetPCLK1Freq>
- 8003440: 4602 mov r2, r0
- 8003442: 687b ldr r3, [r7, #4]
- 8003444: 685b ldr r3, [r3, #4]
- 8003446: 085b lsrs r3, r3, #1
- 8003448: 441a add r2, r3
- 800344a: 687b ldr r3, [r7, #4]
- 800344c: 685b ldr r3, [r3, #4]
- 800344e: fbb2 f3f3 udiv r3, r2, r3
- 8003452: b29b uxth r3, r3
- 8003454: 61bb str r3, [r7, #24]
+ 80033e8: f7fe faba bl 8001960 <HAL_RCC_GetPCLK1Freq>
+ 80033ec: 4602 mov r2, r0
+ 80033ee: 687b ldr r3, [r7, #4]
+ 80033f0: 685b ldr r3, [r3, #4]
+ 80033f2: 085b lsrs r3, r3, #1
+ 80033f4: 441a add r2, r3
+ 80033f6: 687b ldr r3, [r7, #4]
+ 80033f8: 685b ldr r3, [r3, #4]
+ 80033fa: fbb2 f3f3 udiv r3, r2, r3
+ 80033fe: b29b uxth r3, r3
+ 8003400: 61bb str r3, [r7, #24]
break;
- 8003456: e036 b.n 80034c6 <UART_SetConfig+0x50e>
+ 8003402: e036 b.n 8003472 <UART_SetConfig+0x50e>
case UART_CLOCKSOURCE_PCLK2:
usartdiv = (uint16_t)(UART_DIV_SAMPLING16(HAL_RCC_GetPCLK2Freq(), huart->Init.BaudRate));
- 8003458: f7fe fac0 bl 80019dc <HAL_RCC_GetPCLK2Freq>
- 800345c: 4602 mov r2, r0
- 800345e: 687b ldr r3, [r7, #4]
- 8003460: 685b ldr r3, [r3, #4]
- 8003462: 085b lsrs r3, r3, #1
- 8003464: 441a add r2, r3
- 8003466: 687b ldr r3, [r7, #4]
- 8003468: 685b ldr r3, [r3, #4]
- 800346a: fbb2 f3f3 udiv r3, r2, r3
- 800346e: b29b uxth r3, r3
- 8003470: 61bb str r3, [r7, #24]
+ 8003404: f7fe fac0 bl 8001988 <HAL_RCC_GetPCLK2Freq>
+ 8003408: 4602 mov r2, r0
+ 800340a: 687b ldr r3, [r7, #4]
+ 800340c: 685b ldr r3, [r3, #4]
+ 800340e: 085b lsrs r3, r3, #1
+ 8003410: 441a add r2, r3
+ 8003412: 687b ldr r3, [r7, #4]
+ 8003414: 685b ldr r3, [r3, #4]
+ 8003416: fbb2 f3f3 udiv r3, r2, r3
+ 800341a: b29b uxth r3, r3
+ 800341c: 61bb str r3, [r7, #24]
break;
- 8003472: e028 b.n 80034c6 <UART_SetConfig+0x50e>
+ 800341e: e028 b.n 8003472 <UART_SetConfig+0x50e>
case UART_CLOCKSOURCE_HSI:
usartdiv = (uint16_t)(UART_DIV_SAMPLING16(HSI_VALUE, huart->Init.BaudRate));
- 8003474: 687b ldr r3, [r7, #4]
- 8003476: 685b ldr r3, [r3, #4]
- 8003478: 085a lsrs r2, r3, #1
- 800347a: 4b20 ldr r3, [pc, #128] ; (80034fc <UART_SetConfig+0x544>)
- 800347c: 4413 add r3, r2
- 800347e: 687a ldr r2, [r7, #4]
- 8003480: 6852 ldr r2, [r2, #4]
- 8003482: fbb3 f3f2 udiv r3, r3, r2
- 8003486: b29b uxth r3, r3
- 8003488: 61bb str r3, [r7, #24]
+ 8003420: 687b ldr r3, [r7, #4]
+ 8003422: 685b ldr r3, [r3, #4]
+ 8003424: 085a lsrs r2, r3, #1
+ 8003426: 4b20 ldr r3, [pc, #128] ; (80034a8 <UART_SetConfig+0x544>)
+ 8003428: 4413 add r3, r2
+ 800342a: 687a ldr r2, [r7, #4]
+ 800342c: 6852 ldr r2, [r2, #4]
+ 800342e: fbb3 f3f2 udiv r3, r3, r2
+ 8003432: b29b uxth r3, r3
+ 8003434: 61bb str r3, [r7, #24]
break;
- 800348a: e01c b.n 80034c6 <UART_SetConfig+0x50e>
+ 8003436: e01c b.n 8003472 <UART_SetConfig+0x50e>
case UART_CLOCKSOURCE_SYSCLK:
usartdiv = (uint16_t)(UART_DIV_SAMPLING16(HAL_RCC_GetSysClockFreq(), huart->Init.BaudRate));
- 800348c: f7fe f9d4 bl 8001838 <HAL_RCC_GetSysClockFreq>
- 8003490: 4602 mov r2, r0
- 8003492: 687b ldr r3, [r7, #4]
- 8003494: 685b ldr r3, [r3, #4]
- 8003496: 085b lsrs r3, r3, #1
- 8003498: 441a add r2, r3
- 800349a: 687b ldr r3, [r7, #4]
- 800349c: 685b ldr r3, [r3, #4]
- 800349e: fbb2 f3f3 udiv r3, r2, r3
- 80034a2: b29b uxth r3, r3
- 80034a4: 61bb str r3, [r7, #24]
+ 8003438: f7fe f9d4 bl 80017e4 <HAL_RCC_GetSysClockFreq>
+ 800343c: 4602 mov r2, r0
+ 800343e: 687b ldr r3, [r7, #4]
+ 8003440: 685b ldr r3, [r3, #4]
+ 8003442: 085b lsrs r3, r3, #1
+ 8003444: 441a add r2, r3
+ 8003446: 687b ldr r3, [r7, #4]
+ 8003448: 685b ldr r3, [r3, #4]
+ 800344a: fbb2 f3f3 udiv r3, r2, r3
+ 800344e: b29b uxth r3, r3
+ 8003450: 61bb str r3, [r7, #24]
break;
- 80034a6: e00e b.n 80034c6 <UART_SetConfig+0x50e>
+ 8003452: e00e b.n 8003472 <UART_SetConfig+0x50e>
case UART_CLOCKSOURCE_LSE:
usartdiv = (uint16_t)(UART_DIV_SAMPLING16(LSE_VALUE, huart->Init.BaudRate));
- 80034a8: 687b ldr r3, [r7, #4]
- 80034aa: 685b ldr r3, [r3, #4]
- 80034ac: 085b lsrs r3, r3, #1
- 80034ae: f503 4200 add.w r2, r3, #32768 ; 0x8000
- 80034b2: 687b ldr r3, [r7, #4]
- 80034b4: 685b ldr r3, [r3, #4]
- 80034b6: fbb2 f3f3 udiv r3, r2, r3
- 80034ba: b29b uxth r3, r3
- 80034bc: 61bb str r3, [r7, #24]
+ 8003454: 687b ldr r3, [r7, #4]
+ 8003456: 685b ldr r3, [r3, #4]
+ 8003458: 085b lsrs r3, r3, #1
+ 800345a: f503 4200 add.w r2, r3, #32768 ; 0x8000
+ 800345e: 687b ldr r3, [r7, #4]
+ 8003460: 685b ldr r3, [r3, #4]
+ 8003462: fbb2 f3f3 udiv r3, r2, r3
+ 8003466: b29b uxth r3, r3
+ 8003468: 61bb str r3, [r7, #24]
break;
- 80034be: e002 b.n 80034c6 <UART_SetConfig+0x50e>
+ 800346a: e002 b.n 8003472 <UART_SetConfig+0x50e>
case UART_CLOCKSOURCE_UNDEFINED:
default:
ret = HAL_ERROR;
- 80034c0: 2301 movs r3, #1
- 80034c2: 75fb strb r3, [r7, #23]
+ 800346c: 2301 movs r3, #1
+ 800346e: 75fb strb r3, [r7, #23]
break;
- 80034c4: bf00 nop
+ 8003470: bf00 nop
}
/* USARTDIV must be greater than or equal to 0d16 */
if ((usartdiv >= UART_BRR_MIN) && (usartdiv <= UART_BRR_MAX))
- 80034c6: 69bb ldr r3, [r7, #24]
- 80034c8: 2b0f cmp r3, #15
- 80034ca: d908 bls.n 80034de <UART_SetConfig+0x526>
- 80034cc: 69bb ldr r3, [r7, #24]
- 80034ce: f5b3 3f80 cmp.w r3, #65536 ; 0x10000
- 80034d2: d204 bcs.n 80034de <UART_SetConfig+0x526>
+ 8003472: 69bb ldr r3, [r7, #24]
+ 8003474: 2b0f cmp r3, #15
+ 8003476: d908 bls.n 800348a <UART_SetConfig+0x526>
+ 8003478: 69bb ldr r3, [r7, #24]
+ 800347a: f5b3 3f80 cmp.w r3, #65536 ; 0x10000
+ 800347e: d204 bcs.n 800348a <UART_SetConfig+0x526>
{
huart->Instance->BRR = usartdiv;
- 80034d4: 687b ldr r3, [r7, #4]
- 80034d6: 681b ldr r3, [r3, #0]
- 80034d8: 69ba ldr r2, [r7, #24]
- 80034da: 60da str r2, [r3, #12]
- 80034dc: e001 b.n 80034e2 <UART_SetConfig+0x52a>
+ 8003480: 687b ldr r3, [r7, #4]
+ 8003482: 681b ldr r3, [r3, #0]
+ 8003484: 69ba ldr r2, [r7, #24]
+ 8003486: 60da str r2, [r3, #12]
+ 8003488: e001 b.n 800348e <UART_SetConfig+0x52a>
}
else
{
ret = HAL_ERROR;
- 80034de: 2301 movs r3, #1
- 80034e0: 75fb strb r3, [r7, #23]
+ 800348a: 2301 movs r3, #1
+ 800348c: 75fb strb r3, [r7, #23]
}
}
/* Clear ISR function pointers */
huart->RxISR = NULL;
- 80034e2: 687b ldr r3, [r7, #4]
- 80034e4: 2200 movs r2, #0
- 80034e6: 661a str r2, [r3, #96] ; 0x60
+ 800348e: 687b ldr r3, [r7, #4]
+ 8003490: 2200 movs r2, #0
+ 8003492: 661a str r2, [r3, #96] ; 0x60
huart->TxISR = NULL;
- 80034e8: 687b ldr r3, [r7, #4]
- 80034ea: 2200 movs r2, #0
- 80034ec: 665a str r2, [r3, #100] ; 0x64
+ 8003494: 687b ldr r3, [r7, #4]
+ 8003496: 2200 movs r2, #0
+ 8003498: 665a str r2, [r3, #100] ; 0x64
return ret;
- 80034ee: 7dfb ldrb r3, [r7, #23]
+ 800349a: 7dfb ldrb r3, [r7, #23]
}
- 80034f0: 4618 mov r0, r3
- 80034f2: 3720 adds r7, #32
- 80034f4: 46bd mov sp, r7
- 80034f6: bd80 pop {r7, pc}
- 80034f8: 01e84800 .word 0x01e84800
- 80034fc: 00f42400 .word 0x00f42400
-
-08003500 <UART_AdvFeatureConfig>:
+ 800349c: 4618 mov r0, r3
+ 800349e: 3720 adds r7, #32
+ 80034a0: 46bd mov sp, r7
+ 80034a2: bd80 pop {r7, pc}
+ 80034a4: 01e84800 .word 0x01e84800
+ 80034a8: 00f42400 .word 0x00f42400
+
+080034ac <UART_AdvFeatureConfig>:
* @brief Configure the UART peripheral advanced features.
* @param huart UART handle.
* @retval None
*/
void UART_AdvFeatureConfig(UART_HandleTypeDef *huart)
{
- 8003500: b480 push {r7}
- 8003502: b083 sub sp, #12
- 8003504: af00 add r7, sp, #0
- 8003506: 6078 str r0, [r7, #4]
+ 80034ac: b480 push {r7}
+ 80034ae: b083 sub sp, #12
+ 80034b0: af00 add r7, sp, #0
+ 80034b2: 6078 str r0, [r7, #4]
/* Check whether the set of advanced features to configure is properly set */
assert_param(IS_UART_ADVFEATURE_INIT(huart->AdvancedInit.AdvFeatureInit));
/* if required, configure TX pin active level inversion */
if (HAL_IS_BIT_SET(huart->AdvancedInit.AdvFeatureInit, UART_ADVFEATURE_TXINVERT_INIT))
- 8003508: 687b ldr r3, [r7, #4]
- 800350a: 6a5b ldr r3, [r3, #36] ; 0x24
- 800350c: f003 0301 and.w r3, r3, #1
- 8003510: 2b00 cmp r3, #0
- 8003512: d00a beq.n 800352a <UART_AdvFeatureConfig+0x2a>
+ 80034b4: 687b ldr r3, [r7, #4]
+ 80034b6: 6a5b ldr r3, [r3, #36] ; 0x24
+ 80034b8: f003 0301 and.w r3, r3, #1
+ 80034bc: 2b00 cmp r3, #0
+ 80034be: d00a beq.n 80034d6 <UART_AdvFeatureConfig+0x2a>
{
assert_param(IS_UART_ADVFEATURE_TXINV(huart->AdvancedInit.TxPinLevelInvert));
MODIFY_REG(huart->Instance->CR2, USART_CR2_TXINV, huart->AdvancedInit.TxPinLevelInvert);
- 8003514: 687b ldr r3, [r7, #4]
- 8003516: 681b ldr r3, [r3, #0]
- 8003518: 685b ldr r3, [r3, #4]
- 800351a: f423 3100 bic.w r1, r3, #131072 ; 0x20000
- 800351e: 687b ldr r3, [r7, #4]
- 8003520: 6a9a ldr r2, [r3, #40] ; 0x28
- 8003522: 687b ldr r3, [r7, #4]
- 8003524: 681b ldr r3, [r3, #0]
- 8003526: 430a orrs r2, r1
- 8003528: 605a str r2, [r3, #4]
+ 80034c0: 687b ldr r3, [r7, #4]
+ 80034c2: 681b ldr r3, [r3, #0]
+ 80034c4: 685b ldr r3, [r3, #4]
+ 80034c6: f423 3100 bic.w r1, r3, #131072 ; 0x20000
+ 80034ca: 687b ldr r3, [r7, #4]
+ 80034cc: 6a9a ldr r2, [r3, #40] ; 0x28
+ 80034ce: 687b ldr r3, [r7, #4]
+ 80034d0: 681b ldr r3, [r3, #0]
+ 80034d2: 430a orrs r2, r1
+ 80034d4: 605a str r2, [r3, #4]
}
/* if required, configure RX pin active level inversion */
if (HAL_IS_BIT_SET(huart->AdvancedInit.AdvFeatureInit, UART_ADVFEATURE_RXINVERT_INIT))
- 800352a: 687b ldr r3, [r7, #4]
- 800352c: 6a5b ldr r3, [r3, #36] ; 0x24
- 800352e: f003 0302 and.w r3, r3, #2
- 8003532: 2b00 cmp r3, #0
- 8003534: d00a beq.n 800354c <UART_AdvFeatureConfig+0x4c>
+ 80034d6: 687b ldr r3, [r7, #4]
+ 80034d8: 6a5b ldr r3, [r3, #36] ; 0x24
+ 80034da: f003 0302 and.w r3, r3, #2
+ 80034de: 2b00 cmp r3, #0
+ 80034e0: d00a beq.n 80034f8 <UART_AdvFeatureConfig+0x4c>
{
assert_param(IS_UART_ADVFEATURE_RXINV(huart->AdvancedInit.RxPinLevelInvert));
MODIFY_REG(huart->Instance->CR2, USART_CR2_RXINV, huart->AdvancedInit.RxPinLevelInvert);
- 8003536: 687b ldr r3, [r7, #4]
- 8003538: 681b ldr r3, [r3, #0]
- 800353a: 685b ldr r3, [r3, #4]
- 800353c: f423 3180 bic.w r1, r3, #65536 ; 0x10000
- 8003540: 687b ldr r3, [r7, #4]
- 8003542: 6ada ldr r2, [r3, #44] ; 0x2c
- 8003544: 687b ldr r3, [r7, #4]
- 8003546: 681b ldr r3, [r3, #0]
- 8003548: 430a orrs r2, r1
- 800354a: 605a str r2, [r3, #4]
+ 80034e2: 687b ldr r3, [r7, #4]
+ 80034e4: 681b ldr r3, [r3, #0]
+ 80034e6: 685b ldr r3, [r3, #4]
+ 80034e8: f423 3180 bic.w r1, r3, #65536 ; 0x10000
+ 80034ec: 687b ldr r3, [r7, #4]
+ 80034ee: 6ada ldr r2, [r3, #44] ; 0x2c
+ 80034f0: 687b ldr r3, [r7, #4]
+ 80034f2: 681b ldr r3, [r3, #0]
+ 80034f4: 430a orrs r2, r1
+ 80034f6: 605a str r2, [r3, #4]
}
/* if required, configure data inversion */
if (HAL_IS_BIT_SET(huart->AdvancedInit.AdvFeatureInit, UART_ADVFEATURE_DATAINVERT_INIT))
- 800354c: 687b ldr r3, [r7, #4]
- 800354e: 6a5b ldr r3, [r3, #36] ; 0x24
- 8003550: f003 0304 and.w r3, r3, #4
- 8003554: 2b00 cmp r3, #0
- 8003556: d00a beq.n 800356e <UART_AdvFeatureConfig+0x6e>
+ 80034f8: 687b ldr r3, [r7, #4]
+ 80034fa: 6a5b ldr r3, [r3, #36] ; 0x24
+ 80034fc: f003 0304 and.w r3, r3, #4
+ 8003500: 2b00 cmp r3, #0
+ 8003502: d00a beq.n 800351a <UART_AdvFeatureConfig+0x6e>
{
assert_param(IS_UART_ADVFEATURE_DATAINV(huart->AdvancedInit.DataInvert));
MODIFY_REG(huart->Instance->CR2, USART_CR2_DATAINV, huart->AdvancedInit.DataInvert);
- 8003558: 687b ldr r3, [r7, #4]
- 800355a: 681b ldr r3, [r3, #0]
- 800355c: 685b ldr r3, [r3, #4]
- 800355e: f423 2180 bic.w r1, r3, #262144 ; 0x40000
- 8003562: 687b ldr r3, [r7, #4]
- 8003564: 6b1a ldr r2, [r3, #48] ; 0x30
- 8003566: 687b ldr r3, [r7, #4]
- 8003568: 681b ldr r3, [r3, #0]
- 800356a: 430a orrs r2, r1
- 800356c: 605a str r2, [r3, #4]
+ 8003504: 687b ldr r3, [r7, #4]
+ 8003506: 681b ldr r3, [r3, #0]
+ 8003508: 685b ldr r3, [r3, #4]
+ 800350a: f423 2180 bic.w r1, r3, #262144 ; 0x40000
+ 800350e: 687b ldr r3, [r7, #4]
+ 8003510: 6b1a ldr r2, [r3, #48] ; 0x30
+ 8003512: 687b ldr r3, [r7, #4]
+ 8003514: 681b ldr r3, [r3, #0]
+ 8003516: 430a orrs r2, r1
+ 8003518: 605a str r2, [r3, #4]
}
/* if required, configure RX/TX pins swap */
if (HAL_IS_BIT_SET(huart->AdvancedInit.AdvFeatureInit, UART_ADVFEATURE_SWAP_INIT))
- 800356e: 687b ldr r3, [r7, #4]
- 8003570: 6a5b ldr r3, [r3, #36] ; 0x24
- 8003572: f003 0308 and.w r3, r3, #8
- 8003576: 2b00 cmp r3, #0
- 8003578: d00a beq.n 8003590 <UART_AdvFeatureConfig+0x90>
+ 800351a: 687b ldr r3, [r7, #4]
+ 800351c: 6a5b ldr r3, [r3, #36] ; 0x24
+ 800351e: f003 0308 and.w r3, r3, #8
+ 8003522: 2b00 cmp r3, #0
+ 8003524: d00a beq.n 800353c <UART_AdvFeatureConfig+0x90>
{
assert_param(IS_UART_ADVFEATURE_SWAP(huart->AdvancedInit.Swap));
MODIFY_REG(huart->Instance->CR2, USART_CR2_SWAP, huart->AdvancedInit.Swap);
- 800357a: 687b ldr r3, [r7, #4]
- 800357c: 681b ldr r3, [r3, #0]
- 800357e: 685b ldr r3, [r3, #4]
- 8003580: f423 4100 bic.w r1, r3, #32768 ; 0x8000
- 8003584: 687b ldr r3, [r7, #4]
- 8003586: 6b5a ldr r2, [r3, #52] ; 0x34
- 8003588: 687b ldr r3, [r7, #4]
- 800358a: 681b ldr r3, [r3, #0]
- 800358c: 430a orrs r2, r1
- 800358e: 605a str r2, [r3, #4]
+ 8003526: 687b ldr r3, [r7, #4]
+ 8003528: 681b ldr r3, [r3, #0]
+ 800352a: 685b ldr r3, [r3, #4]
+ 800352c: f423 4100 bic.w r1, r3, #32768 ; 0x8000
+ 8003530: 687b ldr r3, [r7, #4]
+ 8003532: 6b5a ldr r2, [r3, #52] ; 0x34
+ 8003534: 687b ldr r3, [r7, #4]
+ 8003536: 681b ldr r3, [r3, #0]
+ 8003538: 430a orrs r2, r1
+ 800353a: 605a str r2, [r3, #4]
}
/* if required, configure RX overrun detection disabling */
if (HAL_IS_BIT_SET(huart->AdvancedInit.AdvFeatureInit, UART_ADVFEATURE_RXOVERRUNDISABLE_INIT))
- 8003590: 687b ldr r3, [r7, #4]
- 8003592: 6a5b ldr r3, [r3, #36] ; 0x24
- 8003594: f003 0310 and.w r3, r3, #16
- 8003598: 2b00 cmp r3, #0
- 800359a: d00a beq.n 80035b2 <UART_AdvFeatureConfig+0xb2>
+ 800353c: 687b ldr r3, [r7, #4]
+ 800353e: 6a5b ldr r3, [r3, #36] ; 0x24
+ 8003540: f003 0310 and.w r3, r3, #16
+ 8003544: 2b00 cmp r3, #0
+ 8003546: d00a beq.n 800355e <UART_AdvFeatureConfig+0xb2>
{
assert_param(IS_UART_OVERRUN(huart->AdvancedInit.OverrunDisable));
MODIFY_REG(huart->Instance->CR3, USART_CR3_OVRDIS, huart->AdvancedInit.OverrunDisable);
- 800359c: 687b ldr r3, [r7, #4]
- 800359e: 681b ldr r3, [r3, #0]
- 80035a0: 689b ldr r3, [r3, #8]
- 80035a2: f423 5180 bic.w r1, r3, #4096 ; 0x1000
- 80035a6: 687b ldr r3, [r7, #4]
- 80035a8: 6b9a ldr r2, [r3, #56] ; 0x38
- 80035aa: 687b ldr r3, [r7, #4]
- 80035ac: 681b ldr r3, [r3, #0]
- 80035ae: 430a orrs r2, r1
- 80035b0: 609a str r2, [r3, #8]
+ 8003548: 687b ldr r3, [r7, #4]
+ 800354a: 681b ldr r3, [r3, #0]
+ 800354c: 689b ldr r3, [r3, #8]
+ 800354e: f423 5180 bic.w r1, r3, #4096 ; 0x1000
+ 8003552: 687b ldr r3, [r7, #4]
+ 8003554: 6b9a ldr r2, [r3, #56] ; 0x38
+ 8003556: 687b ldr r3, [r7, #4]
+ 8003558: 681b ldr r3, [r3, #0]
+ 800355a: 430a orrs r2, r1
+ 800355c: 609a str r2, [r3, #8]
}
/* if required, configure DMA disabling on reception error */
if (HAL_IS_BIT_SET(huart->AdvancedInit.AdvFeatureInit, UART_ADVFEATURE_DMADISABLEONERROR_INIT))
- 80035b2: 687b ldr r3, [r7, #4]
- 80035b4: 6a5b ldr r3, [r3, #36] ; 0x24
- 80035b6: f003 0320 and.w r3, r3, #32
- 80035ba: 2b00 cmp r3, #0
- 80035bc: d00a beq.n 80035d4 <UART_AdvFeatureConfig+0xd4>
+ 800355e: 687b ldr r3, [r7, #4]
+ 8003560: 6a5b ldr r3, [r3, #36] ; 0x24
+ 8003562: f003 0320 and.w r3, r3, #32
+ 8003566: 2b00 cmp r3, #0
+ 8003568: d00a beq.n 8003580 <UART_AdvFeatureConfig+0xd4>
{
assert_param(IS_UART_ADVFEATURE_DMAONRXERROR(huart->AdvancedInit.DMADisableonRxError));
MODIFY_REG(huart->Instance->CR3, USART_CR3_DDRE, huart->AdvancedInit.DMADisableonRxError);
- 80035be: 687b ldr r3, [r7, #4]
- 80035c0: 681b ldr r3, [r3, #0]
- 80035c2: 689b ldr r3, [r3, #8]
- 80035c4: f423 5100 bic.w r1, r3, #8192 ; 0x2000
- 80035c8: 687b ldr r3, [r7, #4]
- 80035ca: 6bda ldr r2, [r3, #60] ; 0x3c
- 80035cc: 687b ldr r3, [r7, #4]
- 80035ce: 681b ldr r3, [r3, #0]
- 80035d0: 430a orrs r2, r1
- 80035d2: 609a str r2, [r3, #8]
+ 800356a: 687b ldr r3, [r7, #4]
+ 800356c: 681b ldr r3, [r3, #0]
+ 800356e: 689b ldr r3, [r3, #8]
+ 8003570: f423 5100 bic.w r1, r3, #8192 ; 0x2000
+ 8003574: 687b ldr r3, [r7, #4]
+ 8003576: 6bda ldr r2, [r3, #60] ; 0x3c
+ 8003578: 687b ldr r3, [r7, #4]
+ 800357a: 681b ldr r3, [r3, #0]
+ 800357c: 430a orrs r2, r1
+ 800357e: 609a str r2, [r3, #8]
}
/* if required, configure auto Baud rate detection scheme */
if (HAL_IS_BIT_SET(huart->AdvancedInit.AdvFeatureInit, UART_ADVFEATURE_AUTOBAUDRATE_INIT))
- 80035d4: 687b ldr r3, [r7, #4]
- 80035d6: 6a5b ldr r3, [r3, #36] ; 0x24
- 80035d8: f003 0340 and.w r3, r3, #64 ; 0x40
- 80035dc: 2b00 cmp r3, #0
- 80035de: d01a beq.n 8003616 <UART_AdvFeatureConfig+0x116>
+ 8003580: 687b ldr r3, [r7, #4]
+ 8003582: 6a5b ldr r3, [r3, #36] ; 0x24
+ 8003584: f003 0340 and.w r3, r3, #64 ; 0x40
+ 8003588: 2b00 cmp r3, #0
+ 800358a: d01a beq.n 80035c2 <UART_AdvFeatureConfig+0x116>
{
assert_param(IS_USART_AUTOBAUDRATE_DETECTION_INSTANCE(huart->Instance));
assert_param(IS_UART_ADVFEATURE_AUTOBAUDRATE(huart->AdvancedInit.AutoBaudRateEnable));
MODIFY_REG(huart->Instance->CR2, USART_CR2_ABREN, huart->AdvancedInit.AutoBaudRateEnable);
- 80035e0: 687b ldr r3, [r7, #4]
- 80035e2: 681b ldr r3, [r3, #0]
- 80035e4: 685b ldr r3, [r3, #4]
- 80035e6: f423 1180 bic.w r1, r3, #1048576 ; 0x100000
- 80035ea: 687b ldr r3, [r7, #4]
- 80035ec: 6c1a ldr r2, [r3, #64] ; 0x40
- 80035ee: 687b ldr r3, [r7, #4]
- 80035f0: 681b ldr r3, [r3, #0]
- 80035f2: 430a orrs r2, r1
- 80035f4: 605a str r2, [r3, #4]
+ 800358c: 687b ldr r3, [r7, #4]
+ 800358e: 681b ldr r3, [r3, #0]
+ 8003590: 685b ldr r3, [r3, #4]
+ 8003592: f423 1180 bic.w r1, r3, #1048576 ; 0x100000
+ 8003596: 687b ldr r3, [r7, #4]
+ 8003598: 6c1a ldr r2, [r3, #64] ; 0x40
+ 800359a: 687b ldr r3, [r7, #4]
+ 800359c: 681b ldr r3, [r3, #0]
+ 800359e: 430a orrs r2, r1
+ 80035a0: 605a str r2, [r3, #4]
/* set auto Baudrate detection parameters if detection is enabled */
if (huart->AdvancedInit.AutoBaudRateEnable == UART_ADVFEATURE_AUTOBAUDRATE_ENABLE)
- 80035f6: 687b ldr r3, [r7, #4]
- 80035f8: 6c1b ldr r3, [r3, #64] ; 0x40
- 80035fa: f5b3 1f80 cmp.w r3, #1048576 ; 0x100000
- 80035fe: d10a bne.n 8003616 <UART_AdvFeatureConfig+0x116>
+ 80035a2: 687b ldr r3, [r7, #4]
+ 80035a4: 6c1b ldr r3, [r3, #64] ; 0x40
+ 80035a6: f5b3 1f80 cmp.w r3, #1048576 ; 0x100000
+ 80035aa: d10a bne.n 80035c2 <UART_AdvFeatureConfig+0x116>
{
assert_param(IS_UART_ADVFEATURE_AUTOBAUDRATEMODE(huart->AdvancedInit.AutoBaudRateMode));
MODIFY_REG(huart->Instance->CR2, USART_CR2_ABRMODE, huart->AdvancedInit.AutoBaudRateMode);
- 8003600: 687b ldr r3, [r7, #4]
- 8003602: 681b ldr r3, [r3, #0]
- 8003604: 685b ldr r3, [r3, #4]
- 8003606: f423 01c0 bic.w r1, r3, #6291456 ; 0x600000
- 800360a: 687b ldr r3, [r7, #4]
- 800360c: 6c5a ldr r2, [r3, #68] ; 0x44
- 800360e: 687b ldr r3, [r7, #4]
- 8003610: 681b ldr r3, [r3, #0]
- 8003612: 430a orrs r2, r1
- 8003614: 605a str r2, [r3, #4]
+ 80035ac: 687b ldr r3, [r7, #4]
+ 80035ae: 681b ldr r3, [r3, #0]
+ 80035b0: 685b ldr r3, [r3, #4]
+ 80035b2: f423 01c0 bic.w r1, r3, #6291456 ; 0x600000
+ 80035b6: 687b ldr r3, [r7, #4]
+ 80035b8: 6c5a ldr r2, [r3, #68] ; 0x44
+ 80035ba: 687b ldr r3, [r7, #4]
+ 80035bc: 681b ldr r3, [r3, #0]
+ 80035be: 430a orrs r2, r1
+ 80035c0: 605a str r2, [r3, #4]
}
}
/* if required, configure MSB first on communication line */
if (HAL_IS_BIT_SET(huart->AdvancedInit.AdvFeatureInit, UART_ADVFEATURE_MSBFIRST_INIT))
- 8003616: 687b ldr r3, [r7, #4]
- 8003618: 6a5b ldr r3, [r3, #36] ; 0x24
- 800361a: f003 0380 and.w r3, r3, #128 ; 0x80
- 800361e: 2b00 cmp r3, #0
- 8003620: d00a beq.n 8003638 <UART_AdvFeatureConfig+0x138>
+ 80035c2: 687b ldr r3, [r7, #4]
+ 80035c4: 6a5b ldr r3, [r3, #36] ; 0x24
+ 80035c6: f003 0380 and.w r3, r3, #128 ; 0x80
+ 80035ca: 2b00 cmp r3, #0
+ 80035cc: d00a beq.n 80035e4 <UART_AdvFeatureConfig+0x138>
{
assert_param(IS_UART_ADVFEATURE_MSBFIRST(huart->AdvancedInit.MSBFirst));
MODIFY_REG(huart->Instance->CR2, USART_CR2_MSBFIRST, huart->AdvancedInit.MSBFirst);
- 8003622: 687b ldr r3, [r7, #4]
- 8003624: 681b ldr r3, [r3, #0]
- 8003626: 685b ldr r3, [r3, #4]
- 8003628: f423 2100 bic.w r1, r3, #524288 ; 0x80000
- 800362c: 687b ldr r3, [r7, #4]
- 800362e: 6c9a ldr r2, [r3, #72] ; 0x48
- 8003630: 687b ldr r3, [r7, #4]
- 8003632: 681b ldr r3, [r3, #0]
- 8003634: 430a orrs r2, r1
- 8003636: 605a str r2, [r3, #4]
+ 80035ce: 687b ldr r3, [r7, #4]
+ 80035d0: 681b ldr r3, [r3, #0]
+ 80035d2: 685b ldr r3, [r3, #4]
+ 80035d4: f423 2100 bic.w r1, r3, #524288 ; 0x80000
+ 80035d8: 687b ldr r3, [r7, #4]
+ 80035da: 6c9a ldr r2, [r3, #72] ; 0x48
+ 80035dc: 687b ldr r3, [r7, #4]
+ 80035de: 681b ldr r3, [r3, #0]
+ 80035e0: 430a orrs r2, r1
+ 80035e2: 605a str r2, [r3, #4]
}
}
- 8003638: bf00 nop
- 800363a: 370c adds r7, #12
- 800363c: 46bd mov sp, r7
- 800363e: f85d 7b04 ldr.w r7, [sp], #4
- 8003642: 4770 bx lr
+ 80035e4: bf00 nop
+ 80035e6: 370c adds r7, #12
+ 80035e8: 46bd mov sp, r7
+ 80035ea: f85d 7b04 ldr.w r7, [sp], #4
+ 80035ee: 4770 bx lr
-08003644 <UART_CheckIdleState>:
+080035f0 <UART_CheckIdleState>:
* @brief Check the UART Idle State.
* @param huart UART handle.
* @retval HAL status
*/
HAL_StatusTypeDef UART_CheckIdleState(UART_HandleTypeDef *huart)
{
- 8003644: b580 push {r7, lr}
- 8003646: b086 sub sp, #24
- 8003648: af02 add r7, sp, #8
- 800364a: 6078 str r0, [r7, #4]
+ 80035f0: b580 push {r7, lr}
+ 80035f2: b086 sub sp, #24
+ 80035f4: af02 add r7, sp, #8
+ 80035f6: 6078 str r0, [r7, #4]
uint32_t tickstart;
/* Initialize the UART ErrorCode */
huart->ErrorCode = HAL_UART_ERROR_NONE;
- 800364c: 687b ldr r3, [r7, #4]
- 800364e: 2200 movs r2, #0
- 8003650: 67da str r2, [r3, #124] ; 0x7c
+ 80035f8: 687b ldr r3, [r7, #4]
+ 80035fa: 2200 movs r2, #0
+ 80035fc: 67da str r2, [r3, #124] ; 0x7c
/* Init tickstart for timeout managment*/
tickstart = HAL_GetTick();
- 8003652: f7fd faad bl 8000bb0 <HAL_GetTick>
- 8003656: 60f8 str r0, [r7, #12]
+ 80035fe: f7fd faad bl 8000b5c <HAL_GetTick>
+ 8003602: 60f8 str r0, [r7, #12]
/* Check if the Transmitter is enabled */
if ((huart->Instance->CR1 & USART_CR1_TE) == USART_CR1_TE)
- 8003658: 687b ldr r3, [r7, #4]
- 800365a: 681b ldr r3, [r3, #0]
- 800365c: 681b ldr r3, [r3, #0]
- 800365e: f003 0308 and.w r3, r3, #8
- 8003662: 2b08 cmp r3, #8
- 8003664: d10e bne.n 8003684 <UART_CheckIdleState+0x40>
+ 8003604: 687b ldr r3, [r7, #4]
+ 8003606: 681b ldr r3, [r3, #0]
+ 8003608: 681b ldr r3, [r3, #0]
+ 800360a: f003 0308 and.w r3, r3, #8
+ 800360e: 2b08 cmp r3, #8
+ 8003610: d10e bne.n 8003630 <UART_CheckIdleState+0x40>
{
/* Wait until TEACK flag is set */
if (UART_WaitOnFlagUntilTimeout(huart, USART_ISR_TEACK, RESET, tickstart, HAL_UART_TIMEOUT_VALUE) != HAL_OK)
- 8003666: f06f 437e mvn.w r3, #4261412864 ; 0xfe000000
- 800366a: 9300 str r3, [sp, #0]
- 800366c: 68fb ldr r3, [r7, #12]
- 800366e: 2200 movs r2, #0
- 8003670: f44f 1100 mov.w r1, #2097152 ; 0x200000
- 8003674: 6878 ldr r0, [r7, #4]
- 8003676: f000 f814 bl 80036a2 <UART_WaitOnFlagUntilTimeout>
- 800367a: 4603 mov r3, r0
- 800367c: 2b00 cmp r3, #0
- 800367e: d001 beq.n 8003684 <UART_CheckIdleState+0x40>
+ 8003612: f06f 437e mvn.w r3, #4261412864 ; 0xfe000000
+ 8003616: 9300 str r3, [sp, #0]
+ 8003618: 68fb ldr r3, [r7, #12]
+ 800361a: 2200 movs r2, #0
+ 800361c: f44f 1100 mov.w r1, #2097152 ; 0x200000
+ 8003620: 6878 ldr r0, [r7, #4]
+ 8003622: f000 f814 bl 800364e <UART_WaitOnFlagUntilTimeout>
+ 8003626: 4603 mov r3, r0
+ 8003628: 2b00 cmp r3, #0
+ 800362a: d001 beq.n 8003630 <UART_CheckIdleState+0x40>
{
/* Timeout occurred */
return HAL_TIMEOUT;
- 8003680: 2303 movs r3, #3
- 8003682: e00a b.n 800369a <UART_CheckIdleState+0x56>
+ 800362c: 2303 movs r3, #3
+ 800362e: e00a b.n 8003646 <UART_CheckIdleState+0x56>
}
}
/* Initialize the UART State */
huart->gState = HAL_UART_STATE_READY;
- 8003684: 687b ldr r3, [r7, #4]
- 8003686: 2220 movs r2, #32
- 8003688: 675a str r2, [r3, #116] ; 0x74
+ 8003630: 687b ldr r3, [r7, #4]
+ 8003632: 2220 movs r2, #32
+ 8003634: 675a str r2, [r3, #116] ; 0x74
huart->RxState = HAL_UART_STATE_READY;
- 800368a: 687b ldr r3, [r7, #4]
- 800368c: 2220 movs r2, #32
- 800368e: 679a str r2, [r3, #120] ; 0x78
+ 8003636: 687b ldr r3, [r7, #4]
+ 8003638: 2220 movs r2, #32
+ 800363a: 679a str r2, [r3, #120] ; 0x78
/* Process Unlocked */
__HAL_UNLOCK(huart);
- 8003690: 687b ldr r3, [r7, #4]
- 8003692: 2200 movs r2, #0
- 8003694: f883 2070 strb.w r2, [r3, #112] ; 0x70
+ 800363c: 687b ldr r3, [r7, #4]
+ 800363e: 2200 movs r2, #0
+ 8003640: f883 2070 strb.w r2, [r3, #112] ; 0x70
return HAL_OK;
- 8003698: 2300 movs r3, #0
+ 8003644: 2300 movs r3, #0
}
- 800369a: 4618 mov r0, r3
- 800369c: 3710 adds r7, #16
- 800369e: 46bd mov sp, r7
- 80036a0: bd80 pop {r7, pc}
+ 8003646: 4618 mov r0, r3
+ 8003648: 3710 adds r7, #16
+ 800364a: 46bd mov sp, r7
+ 800364c: bd80 pop {r7, pc}
-080036a2 <UART_WaitOnFlagUntilTimeout>:
+0800364e <UART_WaitOnFlagUntilTimeout>:
* @param Tickstart Tick start value
* @param Timeout Timeout duration
* @retval HAL status
*/
HAL_StatusTypeDef UART_WaitOnFlagUntilTimeout(UART_HandleTypeDef *huart, uint32_t Flag, FlagStatus Status, uint32_t Tickstart, uint32_t Timeout)
{
- 80036a2: b580 push {r7, lr}
- 80036a4: b084 sub sp, #16
- 80036a6: af00 add r7, sp, #0
- 80036a8: 60f8 str r0, [r7, #12]
- 80036aa: 60b9 str r1, [r7, #8]
- 80036ac: 603b str r3, [r7, #0]
- 80036ae: 4613 mov r3, r2
- 80036b0: 71fb strb r3, [r7, #7]
+ 800364e: b580 push {r7, lr}
+ 8003650: b084 sub sp, #16
+ 8003652: af00 add r7, sp, #0
+ 8003654: 60f8 str r0, [r7, #12]
+ 8003656: 60b9 str r1, [r7, #8]
+ 8003658: 603b str r3, [r7, #0]
+ 800365a: 4613 mov r3, r2
+ 800365c: 71fb strb r3, [r7, #7]
/* Wait until flag is set */
while ((__HAL_UART_GET_FLAG(huart, Flag) ? SET : RESET) == Status)
- 80036b2: e02a b.n 800370a <UART_WaitOnFlagUntilTimeout+0x68>
+ 800365e: e02a b.n 80036b6 <UART_WaitOnFlagUntilTimeout+0x68>
{
/* Check for the Timeout */
if (Timeout != HAL_MAX_DELAY)
- 80036b4: 69bb ldr r3, [r7, #24]
- 80036b6: f1b3 3fff cmp.w r3, #4294967295 ; 0xffffffff
- 80036ba: d026 beq.n 800370a <UART_WaitOnFlagUntilTimeout+0x68>
+ 8003660: 69bb ldr r3, [r7, #24]
+ 8003662: f1b3 3fff cmp.w r3, #4294967295 ; 0xffffffff
+ 8003666: d026 beq.n 80036b6 <UART_WaitOnFlagUntilTimeout+0x68>
{
if (((HAL_GetTick() - Tickstart) > Timeout) || (Timeout == 0U))
- 80036bc: f7fd fa78 bl 8000bb0 <HAL_GetTick>
- 80036c0: 4602 mov r2, r0
- 80036c2: 683b ldr r3, [r7, #0]
- 80036c4: 1ad3 subs r3, r2, r3
- 80036c6: 69ba ldr r2, [r7, #24]
- 80036c8: 429a cmp r2, r3
- 80036ca: d302 bcc.n 80036d2 <UART_WaitOnFlagUntilTimeout+0x30>
- 80036cc: 69bb ldr r3, [r7, #24]
- 80036ce: 2b00 cmp r3, #0
- 80036d0: d11b bne.n 800370a <UART_WaitOnFlagUntilTimeout+0x68>
+ 8003668: f7fd fa78 bl 8000b5c <HAL_GetTick>
+ 800366c: 4602 mov r2, r0
+ 800366e: 683b ldr r3, [r7, #0]
+ 8003670: 1ad3 subs r3, r2, r3
+ 8003672: 69ba ldr r2, [r7, #24]
+ 8003674: 429a cmp r2, r3
+ 8003676: d302 bcc.n 800367e <UART_WaitOnFlagUntilTimeout+0x30>
+ 8003678: 69bb ldr r3, [r7, #24]
+ 800367a: 2b00 cmp r3, #0
+ 800367c: d11b bne.n 80036b6 <UART_WaitOnFlagUntilTimeout+0x68>
{
/* Disable TXE, RXNE, PE and ERR (Frame error, noise error, overrun error) interrupts for the interrupt process */
CLEAR_BIT(huart->Instance->CR1, (USART_CR1_RXNEIE | USART_CR1_PEIE | USART_CR1_TXEIE));
- 80036d2: 68fb ldr r3, [r7, #12]
- 80036d4: 681b ldr r3, [r3, #0]
- 80036d6: 681a ldr r2, [r3, #0]
- 80036d8: 68fb ldr r3, [r7, #12]
- 80036da: 681b ldr r3, [r3, #0]
- 80036dc: f422 72d0 bic.w r2, r2, #416 ; 0x1a0
- 80036e0: 601a str r2, [r3, #0]
+ 800367e: 68fb ldr r3, [r7, #12]
+ 8003680: 681b ldr r3, [r3, #0]
+ 8003682: 681a ldr r2, [r3, #0]
+ 8003684: 68fb ldr r3, [r7, #12]
+ 8003686: 681b ldr r3, [r3, #0]
+ 8003688: f422 72d0 bic.w r2, r2, #416 ; 0x1a0
+ 800368c: 601a str r2, [r3, #0]
CLEAR_BIT(huart->Instance->CR3, USART_CR3_EIE);
- 80036e2: 68fb ldr r3, [r7, #12]
- 80036e4: 681b ldr r3, [r3, #0]
- 80036e6: 689a ldr r2, [r3, #8]
- 80036e8: 68fb ldr r3, [r7, #12]
- 80036ea: 681b ldr r3, [r3, #0]
- 80036ec: f022 0201 bic.w r2, r2, #1
- 80036f0: 609a str r2, [r3, #8]
+ 800368e: 68fb ldr r3, [r7, #12]
+ 8003690: 681b ldr r3, [r3, #0]
+ 8003692: 689a ldr r2, [r3, #8]
+ 8003694: 68fb ldr r3, [r7, #12]
+ 8003696: 681b ldr r3, [r3, #0]
+ 8003698: f022 0201 bic.w r2, r2, #1
+ 800369c: 609a str r2, [r3, #8]
huart->gState = HAL_UART_STATE_READY;
- 80036f2: 68fb ldr r3, [r7, #12]
- 80036f4: 2220 movs r2, #32
- 80036f6: 675a str r2, [r3, #116] ; 0x74
+ 800369e: 68fb ldr r3, [r7, #12]
+ 80036a0: 2220 movs r2, #32
+ 80036a2: 675a str r2, [r3, #116] ; 0x74
huart->RxState = HAL_UART_STATE_READY;
- 80036f8: 68fb ldr r3, [r7, #12]
- 80036fa: 2220 movs r2, #32
- 80036fc: 679a str r2, [r3, #120] ; 0x78
+ 80036a4: 68fb ldr r3, [r7, #12]
+ 80036a6: 2220 movs r2, #32
+ 80036a8: 679a str r2, [r3, #120] ; 0x78
/* Process Unlocked */
__HAL_UNLOCK(huart);
- 80036fe: 68fb ldr r3, [r7, #12]
- 8003700: 2200 movs r2, #0
- 8003702: f883 2070 strb.w r2, [r3, #112] ; 0x70
+ 80036aa: 68fb ldr r3, [r7, #12]
+ 80036ac: 2200 movs r2, #0
+ 80036ae: f883 2070 strb.w r2, [r3, #112] ; 0x70
return HAL_TIMEOUT;
- 8003706: 2303 movs r3, #3
- 8003708: e00f b.n 800372a <UART_WaitOnFlagUntilTimeout+0x88>
+ 80036b2: 2303 movs r3, #3
+ 80036b4: e00f b.n 80036d6 <UART_WaitOnFlagUntilTimeout+0x88>
while ((__HAL_UART_GET_FLAG(huart, Flag) ? SET : RESET) == Status)
- 800370a: 68fb ldr r3, [r7, #12]
- 800370c: 681b ldr r3, [r3, #0]
- 800370e: 69da ldr r2, [r3, #28]
- 8003710: 68bb ldr r3, [r7, #8]
- 8003712: 4013 ands r3, r2
- 8003714: 68ba ldr r2, [r7, #8]
- 8003716: 429a cmp r2, r3
- 8003718: bf0c ite eq
- 800371a: 2301 moveq r3, #1
- 800371c: 2300 movne r3, #0
- 800371e: b2db uxtb r3, r3
- 8003720: 461a mov r2, r3
- 8003722: 79fb ldrb r3, [r7, #7]
- 8003724: 429a cmp r2, r3
- 8003726: d0c5 beq.n 80036b4 <UART_WaitOnFlagUntilTimeout+0x12>
+ 80036b6: 68fb ldr r3, [r7, #12]
+ 80036b8: 681b ldr r3, [r3, #0]
+ 80036ba: 69da ldr r2, [r3, #28]
+ 80036bc: 68bb ldr r3, [r7, #8]
+ 80036be: 4013 ands r3, r2
+ 80036c0: 68ba ldr r2, [r7, #8]
+ 80036c2: 429a cmp r2, r3
+ 80036c4: bf0c ite eq
+ 80036c6: 2301 moveq r3, #1
+ 80036c8: 2300 movne r3, #0
+ 80036ca: b2db uxtb r3, r3
+ 80036cc: 461a mov r2, r3
+ 80036ce: 79fb ldrb r3, [r7, #7]
+ 80036d0: 429a cmp r2, r3
+ 80036d2: d0c5 beq.n 8003660 <UART_WaitOnFlagUntilTimeout+0x12>
}
}
}
return HAL_OK;
- 8003728: 2300 movs r3, #0
+ 80036d4: 2300 movs r3, #0
}
- 800372a: 4618 mov r0, r3
- 800372c: 3710 adds r7, #16
- 800372e: 46bd mov sp, r7
- 8003730: bd80 pop {r7, pc}
+ 80036d6: 4618 mov r0, r3
+ 80036d8: 3710 adds r7, #16
+ 80036da: 46bd mov sp, r7
+ 80036dc: bd80 pop {r7, pc}
-08003732 <UART_EndRxTransfer>:
+080036de <UART_EndRxTransfer>:
* @brief End ongoing Rx transfer on UART peripheral (following error detection or Reception completion).
* @param huart UART handle.
* @retval None
*/
static void UART_EndRxTransfer(UART_HandleTypeDef *huart)
{
- 8003732: b480 push {r7}
- 8003734: b083 sub sp, #12
- 8003736: af00 add r7, sp, #0
- 8003738: 6078 str r0, [r7, #4]
+ 80036de: b480 push {r7}
+ 80036e0: b083 sub sp, #12
+ 80036e2: af00 add r7, sp, #0
+ 80036e4: 6078 str r0, [r7, #4]
/* Disable RXNE, PE and ERR (Frame error, noise error, overrun error) interrupts */
CLEAR_BIT(huart->Instance->CR1, (USART_CR1_RXNEIE | USART_CR1_PEIE));
- 800373a: 687b ldr r3, [r7, #4]
- 800373c: 681b ldr r3, [r3, #0]
- 800373e: 681a ldr r2, [r3, #0]
- 8003740: 687b ldr r3, [r7, #4]
- 8003742: 681b ldr r3, [r3, #0]
- 8003744: f422 7290 bic.w r2, r2, #288 ; 0x120
- 8003748: 601a str r2, [r3, #0]
+ 80036e6: 687b ldr r3, [r7, #4]
+ 80036e8: 681b ldr r3, [r3, #0]
+ 80036ea: 681a ldr r2, [r3, #0]
+ 80036ec: 687b ldr r3, [r7, #4]
+ 80036ee: 681b ldr r3, [r3, #0]
+ 80036f0: f422 7290 bic.w r2, r2, #288 ; 0x120
+ 80036f4: 601a str r2, [r3, #0]
CLEAR_BIT(huart->Instance->CR3, USART_CR3_EIE);
- 800374a: 687b ldr r3, [r7, #4]
- 800374c: 681b ldr r3, [r3, #0]
- 800374e: 689a ldr r2, [r3, #8]
- 8003750: 687b ldr r3, [r7, #4]
- 8003752: 681b ldr r3, [r3, #0]
- 8003754: f022 0201 bic.w r2, r2, #1
- 8003758: 609a str r2, [r3, #8]
+ 80036f6: 687b ldr r3, [r7, #4]
+ 80036f8: 681b ldr r3, [r3, #0]
+ 80036fa: 689a ldr r2, [r3, #8]
+ 80036fc: 687b ldr r3, [r7, #4]
+ 80036fe: 681b ldr r3, [r3, #0]
+ 8003700: f022 0201 bic.w r2, r2, #1
+ 8003704: 609a str r2, [r3, #8]
/* At end of Rx process, restore huart->RxState to Ready */
huart->RxState = HAL_UART_STATE_READY;
- 800375a: 687b ldr r3, [r7, #4]
- 800375c: 2220 movs r2, #32
- 800375e: 679a str r2, [r3, #120] ; 0x78
+ 8003706: 687b ldr r3, [r7, #4]
+ 8003708: 2220 movs r2, #32
+ 800370a: 679a str r2, [r3, #120] ; 0x78
/* Reset RxIsr function pointer */
huart->RxISR = NULL;
- 8003760: 687b ldr r3, [r7, #4]
- 8003762: 2200 movs r2, #0
- 8003764: 661a str r2, [r3, #96] ; 0x60
+ 800370c: 687b ldr r3, [r7, #4]
+ 800370e: 2200 movs r2, #0
+ 8003710: 661a str r2, [r3, #96] ; 0x60
}
- 8003766: bf00 nop
- 8003768: 370c adds r7, #12
- 800376a: 46bd mov sp, r7
- 800376c: f85d 7b04 ldr.w r7, [sp], #4
- 8003770: 4770 bx lr
+ 8003712: bf00 nop
+ 8003714: 370c adds r7, #12
+ 8003716: 46bd mov sp, r7
+ 8003718: f85d 7b04 ldr.w r7, [sp], #4
+ 800371c: 4770 bx lr
-08003772 <UART_DMAAbortOnError>:
+0800371e <UART_DMAAbortOnError>:
* (To be called at end of DMA Abort procedure following error occurrence).
* @param hdma DMA handle.
* @retval None
*/
static void UART_DMAAbortOnError(DMA_HandleTypeDef *hdma)
{
- 8003772: b580 push {r7, lr}
- 8003774: b084 sub sp, #16
- 8003776: af00 add r7, sp, #0
- 8003778: 6078 str r0, [r7, #4]
+ 800371e: b580 push {r7, lr}
+ 8003720: b084 sub sp, #16
+ 8003722: af00 add r7, sp, #0
+ 8003724: 6078 str r0, [r7, #4]
UART_HandleTypeDef *huart = (UART_HandleTypeDef *)(hdma->Parent);
- 800377a: 687b ldr r3, [r7, #4]
- 800377c: 6b9b ldr r3, [r3, #56] ; 0x38
- 800377e: 60fb str r3, [r7, #12]
+ 8003726: 687b ldr r3, [r7, #4]
+ 8003728: 6b9b ldr r3, [r3, #56] ; 0x38
+ 800372a: 60fb str r3, [r7, #12]
huart->RxXferCount = 0U;
- 8003780: 68fb ldr r3, [r7, #12]
- 8003782: 2200 movs r2, #0
- 8003784: f8a3 205a strh.w r2, [r3, #90] ; 0x5a
+ 800372c: 68fb ldr r3, [r7, #12]
+ 800372e: 2200 movs r2, #0
+ 8003730: f8a3 205a strh.w r2, [r3, #90] ; 0x5a
huart->TxXferCount = 0U;
- 8003788: 68fb ldr r3, [r7, #12]
- 800378a: 2200 movs r2, #0
- 800378c: f8a3 2052 strh.w r2, [r3, #82] ; 0x52
+ 8003734: 68fb ldr r3, [r7, #12]
+ 8003736: 2200 movs r2, #0
+ 8003738: f8a3 2052 strh.w r2, [r3, #82] ; 0x52
#if (USE_HAL_UART_REGISTER_CALLBACKS == 1)
/*Call registered error callback*/
huart->ErrorCallback(huart);
#else
/*Call legacy weak error callback*/
HAL_UART_ErrorCallback(huart);
- 8003790: 68f8 ldr r0, [r7, #12]
- 8003792: f7fd f855 bl 8000840 <HAL_UART_ErrorCallback>
+ 800373c: 68f8 ldr r0, [r7, #12]
+ 800373e: f7fd f873 bl 8000828 <HAL_UART_ErrorCallback>
#endif /* USE_HAL_UART_REGISTER_CALLBACKS */
}
- 8003796: bf00 nop
- 8003798: 3710 adds r7, #16
- 800379a: 46bd mov sp, r7
- 800379c: bd80 pop {r7, pc}
+ 8003742: bf00 nop
+ 8003744: 3710 adds r7, #16
+ 8003746: 46bd mov sp, r7
+ 8003748: bd80 pop {r7, pc}
-0800379e <UART_EndTransmit_IT>:
+0800374a <UART_EndTransmit_IT>:
* @param huart pointer to a UART_HandleTypeDef structure that contains
* the configuration information for the specified UART module.
* @retval None
*/
static void UART_EndTransmit_IT(UART_HandleTypeDef *huart)
{
- 800379e: b580 push {r7, lr}
- 80037a0: b082 sub sp, #8
- 80037a2: af00 add r7, sp, #0
- 80037a4: 6078 str r0, [r7, #4]
+ 800374a: b580 push {r7, lr}
+ 800374c: b082 sub sp, #8
+ 800374e: af00 add r7, sp, #0
+ 8003750: 6078 str r0, [r7, #4]
/* Disable the UART Transmit Complete Interrupt */
CLEAR_BIT(huart->Instance->CR1, USART_CR1_TCIE);
- 80037a6: 687b ldr r3, [r7, #4]
- 80037a8: 681b ldr r3, [r3, #0]
- 80037aa: 681a ldr r2, [r3, #0]
- 80037ac: 687b ldr r3, [r7, #4]
- 80037ae: 681b ldr r3, [r3, #0]
- 80037b0: f022 0240 bic.w r2, r2, #64 ; 0x40
- 80037b4: 601a str r2, [r3, #0]
+ 8003752: 687b ldr r3, [r7, #4]
+ 8003754: 681b ldr r3, [r3, #0]
+ 8003756: 681a ldr r2, [r3, #0]
+ 8003758: 687b ldr r3, [r7, #4]
+ 800375a: 681b ldr r3, [r3, #0]
+ 800375c: f022 0240 bic.w r2, r2, #64 ; 0x40
+ 8003760: 601a str r2, [r3, #0]
/* Tx process is ended, restore huart->gState to Ready */
huart->gState = HAL_UART_STATE_READY;
- 80037b6: 687b ldr r3, [r7, #4]
- 80037b8: 2220 movs r2, #32
- 80037ba: 675a str r2, [r3, #116] ; 0x74
+ 8003762: 687b ldr r3, [r7, #4]
+ 8003764: 2220 movs r2, #32
+ 8003766: 675a str r2, [r3, #116] ; 0x74
/* Cleat TxISR function pointer */
huart->TxISR = NULL;
- 80037bc: 687b ldr r3, [r7, #4]
- 80037be: 2200 movs r2, #0
- 80037c0: 665a str r2, [r3, #100] ; 0x64
+ 8003768: 687b ldr r3, [r7, #4]
+ 800376a: 2200 movs r2, #0
+ 800376c: 665a str r2, [r3, #100] ; 0x64
#if (USE_HAL_UART_REGISTER_CALLBACKS == 1)
/*Call registered Tx complete callback*/
huart->TxCpltCallback(huart);
#else
/*Call legacy weak Tx complete callback*/
HAL_UART_TxCpltCallback(huart);
- 80037c2: 6878 ldr r0, [r7, #4]
- 80037c4: f7ff fbee bl 8002fa4 <HAL_UART_TxCpltCallback>
+ 800376e: 6878 ldr r0, [r7, #4]
+ 8003770: f7ff fbee bl 8002f50 <HAL_UART_TxCpltCallback>
#endif /* USE_HAL_UART_REGISTER_CALLBACKS */
}
- 80037c8: bf00 nop
- 80037ca: 3708 adds r7, #8
- 80037cc: 46bd mov sp, r7
- 80037ce: bd80 pop {r7, pc}
+ 8003774: bf00 nop
+ 8003776: 3708 adds r7, #8
+ 8003778: 46bd mov sp, r7
+ 800377a: bd80 pop {r7, pc}
-080037d0 <UART_RxISR_8BIT>:
+0800377c <UART_RxISR_8BIT>:
* @brief RX interrrupt handler for 7 or 8 bits data word length .
* @param huart UART handle.
* @retval None
*/
static void UART_RxISR_8BIT(UART_HandleTypeDef *huart)
{
- 80037d0: b580 push {r7, lr}
- 80037d2: b084 sub sp, #16
- 80037d4: af00 add r7, sp, #0
- 80037d6: 6078 str r0, [r7, #4]
+ 800377c: b580 push {r7, lr}
+ 800377e: b084 sub sp, #16
+ 8003780: af00 add r7, sp, #0
+ 8003782: 6078 str r0, [r7, #4]
uint16_t uhMask = huart->Mask;
- 80037d8: 687b ldr r3, [r7, #4]
- 80037da: f8b3 305c ldrh.w r3, [r3, #92] ; 0x5c
- 80037de: 81fb strh r3, [r7, #14]
+ 8003784: 687b ldr r3, [r7, #4]
+ 8003786: f8b3 305c ldrh.w r3, [r3, #92] ; 0x5c
+ 800378a: 81fb strh r3, [r7, #14]
uint16_t uhdata;
/* Check that a Rx process is ongoing */
if (huart->RxState == HAL_UART_STATE_BUSY_RX)
- 80037e0: 687b ldr r3, [r7, #4]
- 80037e2: 6f9b ldr r3, [r3, #120] ; 0x78
- 80037e4: 2b22 cmp r3, #34 ; 0x22
- 80037e6: d13a bne.n 800385e <UART_RxISR_8BIT+0x8e>
+ 800378c: 687b ldr r3, [r7, #4]
+ 800378e: 6f9b ldr r3, [r3, #120] ; 0x78
+ 8003790: 2b22 cmp r3, #34 ; 0x22
+ 8003792: d13a bne.n 800380a <UART_RxISR_8BIT+0x8e>
{
uhdata = (uint16_t) READ_REG(huart->Instance->RDR);
- 80037e8: 687b ldr r3, [r7, #4]
- 80037ea: 681b ldr r3, [r3, #0]
- 80037ec: 6a5b ldr r3, [r3, #36] ; 0x24
- 80037ee: 81bb strh r3, [r7, #12]
+ 8003794: 687b ldr r3, [r7, #4]
+ 8003796: 681b ldr r3, [r3, #0]
+ 8003798: 6a5b ldr r3, [r3, #36] ; 0x24
+ 800379a: 81bb strh r3, [r7, #12]
*huart->pRxBuffPtr = (uint8_t)(uhdata & (uint8_t)uhMask);
- 80037f0: 89bb ldrh r3, [r7, #12]
- 80037f2: b2d9 uxtb r1, r3
- 80037f4: 89fb ldrh r3, [r7, #14]
- 80037f6: b2da uxtb r2, r3
- 80037f8: 687b ldr r3, [r7, #4]
- 80037fa: 6d5b ldr r3, [r3, #84] ; 0x54
- 80037fc: 400a ands r2, r1
- 80037fe: b2d2 uxtb r2, r2
- 8003800: 701a strb r2, [r3, #0]
+ 800379c: 89bb ldrh r3, [r7, #12]
+ 800379e: b2d9 uxtb r1, r3
+ 80037a0: 89fb ldrh r3, [r7, #14]
+ 80037a2: b2da uxtb r2, r3
+ 80037a4: 687b ldr r3, [r7, #4]
+ 80037a6: 6d5b ldr r3, [r3, #84] ; 0x54
+ 80037a8: 400a ands r2, r1
+ 80037aa: b2d2 uxtb r2, r2
+ 80037ac: 701a strb r2, [r3, #0]
huart->pRxBuffPtr++;
- 8003802: 687b ldr r3, [r7, #4]
- 8003804: 6d5b ldr r3, [r3, #84] ; 0x54
- 8003806: 1c5a adds r2, r3, #1
- 8003808: 687b ldr r3, [r7, #4]
- 800380a: 655a str r2, [r3, #84] ; 0x54
+ 80037ae: 687b ldr r3, [r7, #4]
+ 80037b0: 6d5b ldr r3, [r3, #84] ; 0x54
+ 80037b2: 1c5a adds r2, r3, #1
+ 80037b4: 687b ldr r3, [r7, #4]
+ 80037b6: 655a str r2, [r3, #84] ; 0x54
huart->RxXferCount--;
- 800380c: 687b ldr r3, [r7, #4]
- 800380e: f8b3 305a ldrh.w r3, [r3, #90] ; 0x5a
- 8003812: b29b uxth r3, r3
- 8003814: 3b01 subs r3, #1
- 8003816: b29a uxth r2, r3
- 8003818: 687b ldr r3, [r7, #4]
- 800381a: f8a3 205a strh.w r2, [r3, #90] ; 0x5a
+ 80037b8: 687b ldr r3, [r7, #4]
+ 80037ba: f8b3 305a ldrh.w r3, [r3, #90] ; 0x5a
+ 80037be: b29b uxth r3, r3
+ 80037c0: 3b01 subs r3, #1
+ 80037c2: b29a uxth r2, r3
+ 80037c4: 687b ldr r3, [r7, #4]
+ 80037c6: f8a3 205a strh.w r2, [r3, #90] ; 0x5a
if (huart->RxXferCount == 0U)
- 800381e: 687b ldr r3, [r7, #4]
- 8003820: f8b3 305a ldrh.w r3, [r3, #90] ; 0x5a
- 8003824: b29b uxth r3, r3
- 8003826: 2b00 cmp r3, #0
- 8003828: d121 bne.n 800386e <UART_RxISR_8BIT+0x9e>
+ 80037ca: 687b ldr r3, [r7, #4]
+ 80037cc: f8b3 305a ldrh.w r3, [r3, #90] ; 0x5a
+ 80037d0: b29b uxth r3, r3
+ 80037d2: 2b00 cmp r3, #0
+ 80037d4: d121 bne.n 800381a <UART_RxISR_8BIT+0x9e>
{
/* Disable the UART Parity Error Interrupt and RXNE interrupts */
CLEAR_BIT(huart->Instance->CR1, (USART_CR1_RXNEIE | USART_CR1_PEIE));
- 800382a: 687b ldr r3, [r7, #4]
- 800382c: 681b ldr r3, [r3, #0]
- 800382e: 681a ldr r2, [r3, #0]
- 8003830: 687b ldr r3, [r7, #4]
- 8003832: 681b ldr r3, [r3, #0]
- 8003834: f422 7290 bic.w r2, r2, #288 ; 0x120
- 8003838: 601a str r2, [r3, #0]
+ 80037d6: 687b ldr r3, [r7, #4]
+ 80037d8: 681b ldr r3, [r3, #0]
+ 80037da: 681a ldr r2, [r3, #0]
+ 80037dc: 687b ldr r3, [r7, #4]
+ 80037de: 681b ldr r3, [r3, #0]
+ 80037e0: f422 7290 bic.w r2, r2, #288 ; 0x120
+ 80037e4: 601a str r2, [r3, #0]
/* Disable the UART Error Interrupt: (Frame error, noise error, overrun error) */
CLEAR_BIT(huart->Instance->CR3, USART_CR3_EIE);
- 800383a: 687b ldr r3, [r7, #4]
- 800383c: 681b ldr r3, [r3, #0]
- 800383e: 689a ldr r2, [r3, #8]
- 8003840: 687b ldr r3, [r7, #4]
- 8003842: 681b ldr r3, [r3, #0]
- 8003844: f022 0201 bic.w r2, r2, #1
- 8003848: 609a str r2, [r3, #8]
+ 80037e6: 687b ldr r3, [r7, #4]
+ 80037e8: 681b ldr r3, [r3, #0]
+ 80037ea: 689a ldr r2, [r3, #8]
+ 80037ec: 687b ldr r3, [r7, #4]
+ 80037ee: 681b ldr r3, [r3, #0]
+ 80037f0: f022 0201 bic.w r2, r2, #1
+ 80037f4: 609a str r2, [r3, #8]
/* Rx process is completed, restore huart->RxState to Ready */
huart->RxState = HAL_UART_STATE_READY;
- 800384a: 687b ldr r3, [r7, #4]
- 800384c: 2220 movs r2, #32
- 800384e: 679a str r2, [r3, #120] ; 0x78
+ 80037f6: 687b ldr r3, [r7, #4]
+ 80037f8: 2220 movs r2, #32
+ 80037fa: 679a str r2, [r3, #120] ; 0x78
/* Clear RxISR function pointer */
huart->RxISR = NULL;
- 8003850: 687b ldr r3, [r7, #4]
- 8003852: 2200 movs r2, #0
- 8003854: 661a str r2, [r3, #96] ; 0x60
+ 80037fc: 687b ldr r3, [r7, #4]
+ 80037fe: 2200 movs r2, #0
+ 8003800: 661a str r2, [r3, #96] ; 0x60
#if (USE_HAL_UART_REGISTER_CALLBACKS == 1)
/*Call registered Rx complete callback*/
huart->RxCpltCallback(huart);
#else
/*Call legacy weak Rx complete callback*/
HAL_UART_RxCpltCallback(huart);
- 8003856: 6878 ldr r0, [r7, #4]
- 8003858: f7fc ffde bl 8000818 <HAL_UART_RxCpltCallback>
+ 8003802: 6878 ldr r0, [r7, #4]
+ 8003804: f7fc fffc bl 8000800 <HAL_UART_RxCpltCallback>
else
{
/* Clear RXNE interrupt flag */
__HAL_UART_SEND_REQ(huart, UART_RXDATA_FLUSH_REQUEST);
}
}
- 800385c: e007 b.n 800386e <UART_RxISR_8BIT+0x9e>
+ 8003808: e007 b.n 800381a <UART_RxISR_8BIT+0x9e>
__HAL_UART_SEND_REQ(huart, UART_RXDATA_FLUSH_REQUEST);
- 800385e: 687b ldr r3, [r7, #4]
- 8003860: 681b ldr r3, [r3, #0]
- 8003862: 699a ldr r2, [r3, #24]
- 8003864: 687b ldr r3, [r7, #4]
- 8003866: 681b ldr r3, [r3, #0]
- 8003868: f042 0208 orr.w r2, r2, #8
- 800386c: 619a str r2, [r3, #24]
+ 800380a: 687b ldr r3, [r7, #4]
+ 800380c: 681b ldr r3, [r3, #0]
+ 800380e: 699a ldr r2, [r3, #24]
+ 8003810: 687b ldr r3, [r7, #4]
+ 8003812: 681b ldr r3, [r3, #0]
+ 8003814: f042 0208 orr.w r2, r2, #8
+ 8003818: 619a str r2, [r3, #24]
}
- 800386e: bf00 nop
- 8003870: 3710 adds r7, #16
- 8003872: 46bd mov sp, r7
- 8003874: bd80 pop {r7, pc}
+ 800381a: bf00 nop
+ 800381c: 3710 adds r7, #16
+ 800381e: 46bd mov sp, r7
+ 8003820: bd80 pop {r7, pc}
-08003876 <UART_RxISR_16BIT>:
+08003822 <UART_RxISR_16BIT>:
* interruptions have been enabled by HAL_UART_Receive_IT()
* @param huart UART handle.
* @retval None
*/
static void UART_RxISR_16BIT(UART_HandleTypeDef *huart)
{
- 8003876: b580 push {r7, lr}
- 8003878: b084 sub sp, #16
- 800387a: af00 add r7, sp, #0
- 800387c: 6078 str r0, [r7, #4]
+ 8003822: b580 push {r7, lr}
+ 8003824: b084 sub sp, #16
+ 8003826: af00 add r7, sp, #0
+ 8003828: 6078 str r0, [r7, #4]
uint16_t *tmp;
uint16_t uhMask = huart->Mask;
- 800387e: 687b ldr r3, [r7, #4]
- 8003880: f8b3 305c ldrh.w r3, [r3, #92] ; 0x5c
- 8003884: 81fb strh r3, [r7, #14]
+ 800382a: 687b ldr r3, [r7, #4]
+ 800382c: f8b3 305c ldrh.w r3, [r3, #92] ; 0x5c
+ 8003830: 81fb strh r3, [r7, #14]
uint16_t uhdata;
/* Check that a Rx process is ongoing */
if (huart->RxState == HAL_UART_STATE_BUSY_RX)
- 8003886: 687b ldr r3, [r7, #4]
- 8003888: 6f9b ldr r3, [r3, #120] ; 0x78
- 800388a: 2b22 cmp r3, #34 ; 0x22
- 800388c: d13a bne.n 8003904 <UART_RxISR_16BIT+0x8e>
+ 8003832: 687b ldr r3, [r7, #4]
+ 8003834: 6f9b ldr r3, [r3, #120] ; 0x78
+ 8003836: 2b22 cmp r3, #34 ; 0x22
+ 8003838: d13a bne.n 80038b0 <UART_RxISR_16BIT+0x8e>
{
uhdata = (uint16_t) READ_REG(huart->Instance->RDR);
- 800388e: 687b ldr r3, [r7, #4]
- 8003890: 681b ldr r3, [r3, #0]
- 8003892: 6a5b ldr r3, [r3, #36] ; 0x24
- 8003894: 81bb strh r3, [r7, #12]
+ 800383a: 687b ldr r3, [r7, #4]
+ 800383c: 681b ldr r3, [r3, #0]
+ 800383e: 6a5b ldr r3, [r3, #36] ; 0x24
+ 8003840: 81bb strh r3, [r7, #12]
tmp = (uint16_t *) huart->pRxBuffPtr ;
- 8003896: 687b ldr r3, [r7, #4]
- 8003898: 6d5b ldr r3, [r3, #84] ; 0x54
- 800389a: 60bb str r3, [r7, #8]
+ 8003842: 687b ldr r3, [r7, #4]
+ 8003844: 6d5b ldr r3, [r3, #84] ; 0x54
+ 8003846: 60bb str r3, [r7, #8]
*tmp = (uint16_t)(uhdata & uhMask);
- 800389c: 89ba ldrh r2, [r7, #12]
- 800389e: 89fb ldrh r3, [r7, #14]
- 80038a0: 4013 ands r3, r2
- 80038a2: b29a uxth r2, r3
- 80038a4: 68bb ldr r3, [r7, #8]
- 80038a6: 801a strh r2, [r3, #0]
+ 8003848: 89ba ldrh r2, [r7, #12]
+ 800384a: 89fb ldrh r3, [r7, #14]
+ 800384c: 4013 ands r3, r2
+ 800384e: b29a uxth r2, r3
+ 8003850: 68bb ldr r3, [r7, #8]
+ 8003852: 801a strh r2, [r3, #0]
huart->pRxBuffPtr += 2U;
- 80038a8: 687b ldr r3, [r7, #4]
- 80038aa: 6d5b ldr r3, [r3, #84] ; 0x54
- 80038ac: 1c9a adds r2, r3, #2
- 80038ae: 687b ldr r3, [r7, #4]
- 80038b0: 655a str r2, [r3, #84] ; 0x54
+ 8003854: 687b ldr r3, [r7, #4]
+ 8003856: 6d5b ldr r3, [r3, #84] ; 0x54
+ 8003858: 1c9a adds r2, r3, #2
+ 800385a: 687b ldr r3, [r7, #4]
+ 800385c: 655a str r2, [r3, #84] ; 0x54
huart->RxXferCount--;
- 80038b2: 687b ldr r3, [r7, #4]
- 80038b4: f8b3 305a ldrh.w r3, [r3, #90] ; 0x5a
- 80038b8: b29b uxth r3, r3
- 80038ba: 3b01 subs r3, #1
- 80038bc: b29a uxth r2, r3
- 80038be: 687b ldr r3, [r7, #4]
- 80038c0: f8a3 205a strh.w r2, [r3, #90] ; 0x5a
+ 800385e: 687b ldr r3, [r7, #4]
+ 8003860: f8b3 305a ldrh.w r3, [r3, #90] ; 0x5a
+ 8003864: b29b uxth r3, r3
+ 8003866: 3b01 subs r3, #1
+ 8003868: b29a uxth r2, r3
+ 800386a: 687b ldr r3, [r7, #4]
+ 800386c: f8a3 205a strh.w r2, [r3, #90] ; 0x5a
if (huart->RxXferCount == 0U)
- 80038c4: 687b ldr r3, [r7, #4]
- 80038c6: f8b3 305a ldrh.w r3, [r3, #90] ; 0x5a
- 80038ca: b29b uxth r3, r3
- 80038cc: 2b00 cmp r3, #0
- 80038ce: d121 bne.n 8003914 <UART_RxISR_16BIT+0x9e>
+ 8003870: 687b ldr r3, [r7, #4]
+ 8003872: f8b3 305a ldrh.w r3, [r3, #90] ; 0x5a
+ 8003876: b29b uxth r3, r3
+ 8003878: 2b00 cmp r3, #0
+ 800387a: d121 bne.n 80038c0 <UART_RxISR_16BIT+0x9e>
{
/* Disable the UART Parity Error Interrupt and RXNE interrupt*/
CLEAR_BIT(huart->Instance->CR1, (USART_CR1_RXNEIE | USART_CR1_PEIE));
- 80038d0: 687b ldr r3, [r7, #4]
- 80038d2: 681b ldr r3, [r3, #0]
- 80038d4: 681a ldr r2, [r3, #0]
- 80038d6: 687b ldr r3, [r7, #4]
- 80038d8: 681b ldr r3, [r3, #0]
- 80038da: f422 7290 bic.w r2, r2, #288 ; 0x120
- 80038de: 601a str r2, [r3, #0]
+ 800387c: 687b ldr r3, [r7, #4]
+ 800387e: 681b ldr r3, [r3, #0]
+ 8003880: 681a ldr r2, [r3, #0]
+ 8003882: 687b ldr r3, [r7, #4]
+ 8003884: 681b ldr r3, [r3, #0]
+ 8003886: f422 7290 bic.w r2, r2, #288 ; 0x120
+ 800388a: 601a str r2, [r3, #0]
/* Disable the UART Error Interrupt: (Frame error, noise error, overrun error) */
CLEAR_BIT(huart->Instance->CR3, USART_CR3_EIE);
- 80038e0: 687b ldr r3, [r7, #4]
- 80038e2: 681b ldr r3, [r3, #0]
- 80038e4: 689a ldr r2, [r3, #8]
- 80038e6: 687b ldr r3, [r7, #4]
- 80038e8: 681b ldr r3, [r3, #0]
- 80038ea: f022 0201 bic.w r2, r2, #1
- 80038ee: 609a str r2, [r3, #8]
+ 800388c: 687b ldr r3, [r7, #4]
+ 800388e: 681b ldr r3, [r3, #0]
+ 8003890: 689a ldr r2, [r3, #8]
+ 8003892: 687b ldr r3, [r7, #4]
+ 8003894: 681b ldr r3, [r3, #0]
+ 8003896: f022 0201 bic.w r2, r2, #1
+ 800389a: 609a str r2, [r3, #8]
/* Rx process is completed, restore huart->RxState to Ready */
huart->RxState = HAL_UART_STATE_READY;
- 80038f0: 687b ldr r3, [r7, #4]
- 80038f2: 2220 movs r2, #32
- 80038f4: 679a str r2, [r3, #120] ; 0x78
+ 800389c: 687b ldr r3, [r7, #4]
+ 800389e: 2220 movs r2, #32
+ 80038a0: 679a str r2, [r3, #120] ; 0x78
/* Clear RxISR function pointer */
huart->RxISR = NULL;
- 80038f6: 687b ldr r3, [r7, #4]
- 80038f8: 2200 movs r2, #0
- 80038fa: 661a str r2, [r3, #96] ; 0x60
+ 80038a2: 687b ldr r3, [r7, #4]
+ 80038a4: 2200 movs r2, #0
+ 80038a6: 661a str r2, [r3, #96] ; 0x60
#if (USE_HAL_UART_REGISTER_CALLBACKS == 1)
/*Call registered Rx complete callback*/
huart->RxCpltCallback(huart);
#else
/*Call legacy weak Rx complete callback*/
HAL_UART_RxCpltCallback(huart);
- 80038fc: 6878 ldr r0, [r7, #4]
- 80038fe: f7fc ff8b bl 8000818 <HAL_UART_RxCpltCallback>
+ 80038a8: 6878 ldr r0, [r7, #4]
+ 80038aa: f7fc ffa9 bl 8000800 <HAL_UART_RxCpltCallback>
else
{
/* Clear RXNE interrupt flag */
__HAL_UART_SEND_REQ(huart, UART_RXDATA_FLUSH_REQUEST);
}
}
- 8003902: e007 b.n 8003914 <UART_RxISR_16BIT+0x9e>
+ 80038ae: e007 b.n 80038c0 <UART_RxISR_16BIT+0x9e>
__HAL_UART_SEND_REQ(huart, UART_RXDATA_FLUSH_REQUEST);
- 8003904: 687b ldr r3, [r7, #4]
- 8003906: 681b ldr r3, [r3, #0]
- 8003908: 699a ldr r2, [r3, #24]
- 800390a: 687b ldr r3, [r7, #4]
- 800390c: 681b ldr r3, [r3, #0]
- 800390e: f042 0208 orr.w r2, r2, #8
- 8003912: 619a str r2, [r3, #24]
+ 80038b0: 687b ldr r3, [r7, #4]
+ 80038b2: 681b ldr r3, [r3, #0]
+ 80038b4: 699a ldr r2, [r3, #24]
+ 80038b6: 687b ldr r3, [r7, #4]
+ 80038b8: 681b ldr r3, [r3, #0]
+ 80038ba: f042 0208 orr.w r2, r2, #8
+ 80038be: 619a str r2, [r3, #24]
}
- 8003914: bf00 nop
- 8003916: 3710 adds r7, #16
- 8003918: 46bd mov sp, r7
- 800391a: bd80 pop {r7, pc}
-
-0800391c <__libc_init_array>:
- 800391c: b570 push {r4, r5, r6, lr}
- 800391e: 4e0d ldr r6, [pc, #52] ; (8003954 <__libc_init_array+0x38>)
- 8003920: 4c0d ldr r4, [pc, #52] ; (8003958 <__libc_init_array+0x3c>)
- 8003922: 1ba4 subs r4, r4, r6
- 8003924: 10a4 asrs r4, r4, #2
- 8003926: 2500 movs r5, #0
- 8003928: 42a5 cmp r5, r4
- 800392a: d109 bne.n 8003940 <__libc_init_array+0x24>
- 800392c: 4e0b ldr r6, [pc, #44] ; (800395c <__libc_init_array+0x40>)
- 800392e: 4c0c ldr r4, [pc, #48] ; (8003960 <__libc_init_array+0x44>)
- 8003930: f000 f820 bl 8003974 <_init>
- 8003934: 1ba4 subs r4, r4, r6
- 8003936: 10a4 asrs r4, r4, #2
- 8003938: 2500 movs r5, #0
- 800393a: 42a5 cmp r5, r4
- 800393c: d105 bne.n 800394a <__libc_init_array+0x2e>
- 800393e: bd70 pop {r4, r5, r6, pc}
- 8003940: f856 3025 ldr.w r3, [r6, r5, lsl #2]
- 8003944: 4798 blx r3
- 8003946: 3501 adds r5, #1
- 8003948: e7ee b.n 8003928 <__libc_init_array+0xc>
- 800394a: f856 3025 ldr.w r3, [r6, r5, lsl #2]
- 800394e: 4798 blx r3
- 8003950: 3501 adds r5, #1
- 8003952: e7f2 b.n 800393a <__libc_init_array+0x1e>
- 8003954: 080039ac .word 0x080039ac
- 8003958: 080039ac .word 0x080039ac
- 800395c: 080039ac .word 0x080039ac
- 8003960: 080039b0 .word 0x080039b0
-
-08003964 <memset>:
- 8003964: 4402 add r2, r0
- 8003966: 4603 mov r3, r0
- 8003968: 4293 cmp r3, r2
- 800396a: d100 bne.n 800396e <memset+0xa>
- 800396c: 4770 bx lr
- 800396e: f803 1b01 strb.w r1, [r3], #1
- 8003972: e7f9 b.n 8003968 <memset+0x4>
-
-08003974 <_init>:
- 8003974: b5f8 push {r3, r4, r5, r6, r7, lr}
- 8003976: bf00 nop
- 8003978: bcf8 pop {r3, r4, r5, r6, r7}
- 800397a: bc08 pop {r3}
- 800397c: 469e mov lr, r3
- 800397e: 4770 bx lr
-
-08003980 <_fini>:
- 8003980: b5f8 push {r3, r4, r5, r6, r7, lr}
- 8003982: bf00 nop
- 8003984: bcf8 pop {r3, r4, r5, r6, r7}
- 8003986: bc08 pop {r3}
- 8003988: 469e mov lr, r3
- 800398a: 4770 bx lr
+ 80038c0: bf00 nop
+ 80038c2: 3710 adds r7, #16
+ 80038c4: 46bd mov sp, r7
+ 80038c6: bd80 pop {r7, pc}
+
+080038c8 <__libc_init_array>:
+ 80038c8: b570 push {r4, r5, r6, lr}
+ 80038ca: 4e0d ldr r6, [pc, #52] ; (8003900 <__libc_init_array+0x38>)
+ 80038cc: 4c0d ldr r4, [pc, #52] ; (8003904 <__libc_init_array+0x3c>)
+ 80038ce: 1ba4 subs r4, r4, r6
+ 80038d0: 10a4 asrs r4, r4, #2
+ 80038d2: 2500 movs r5, #0
+ 80038d4: 42a5 cmp r5, r4
+ 80038d6: d109 bne.n 80038ec <__libc_init_array+0x24>
+ 80038d8: 4e0b ldr r6, [pc, #44] ; (8003908 <__libc_init_array+0x40>)
+ 80038da: 4c0c ldr r4, [pc, #48] ; (800390c <__libc_init_array+0x44>)
+ 80038dc: f000 f820 bl 8003920 <_init>
+ 80038e0: 1ba4 subs r4, r4, r6
+ 80038e2: 10a4 asrs r4, r4, #2
+ 80038e4: 2500 movs r5, #0
+ 80038e6: 42a5 cmp r5, r4
+ 80038e8: d105 bne.n 80038f6 <__libc_init_array+0x2e>
+ 80038ea: bd70 pop {r4, r5, r6, pc}
+ 80038ec: f856 3025 ldr.w r3, [r6, r5, lsl #2]
+ 80038f0: 4798 blx r3
+ 80038f2: 3501 adds r5, #1
+ 80038f4: e7ee b.n 80038d4 <__libc_init_array+0xc>
+ 80038f6: f856 3025 ldr.w r3, [r6, r5, lsl #2]
+ 80038fa: 4798 blx r3
+ 80038fc: 3501 adds r5, #1
+ 80038fe: e7f2 b.n 80038e6 <__libc_init_array+0x1e>
+ 8003900: 08003958 .word 0x08003958
+ 8003904: 08003958 .word 0x08003958
+ 8003908: 08003958 .word 0x08003958
+ 800390c: 0800395c .word 0x0800395c
+
+08003910 <memset>:
+ 8003910: 4402 add r2, r0
+ 8003912: 4603 mov r3, r0
+ 8003914: 4293 cmp r3, r2
+ 8003916: d100 bne.n 800391a <memset+0xa>
+ 8003918: 4770 bx lr
+ 800391a: f803 1b01 strb.w r1, [r3], #1
+ 800391e: e7f9 b.n 8003914 <memset+0x4>
+
+08003920 <_init>:
+ 8003920: b5f8 push {r3, r4, r5, r6, r7, lr}
+ 8003922: bf00 nop
+ 8003924: bcf8 pop {r3, r4, r5, r6, r7}
+ 8003926: bc08 pop {r3}
+ 8003928: 469e mov lr, r3
+ 800392a: 4770 bx lr
+
+0800392c <_fini>:
+ 800392c: b5f8 push {r3, r4, r5, r6, r7, lr}
+ 800392e: bf00 nop
+ 8003930: bcf8 pop {r3, r4, r5, r6, r7}
+ 8003932: bc08 pop {r3}
+ 8003934: 469e mov lr, r3
+ 8003936: 4770 bx lr