diff --git a/firmware/modularkbd/Core/Src/main.c b/firmware/modularkbd/Core/Src/main.c index 69a0e5de..3ba76a3f 100644 --- a/firmware/modularkbd/Core/Src/main.c +++ b/firmware/modularkbd/Core/Src/main.c @@ -117,6 +117,7 @@ uint16_t DEPTH = 0; uint16_t PORT_DEPTH[] = {0xFF, 0xFF, 0xFF, 0xFF}; UART_HandleTypeDef* PARENT; UART_HandleTypeDef* PORTS[] = {&huart5, &huart1, &huart2, &huart4}; + //North East South West extern USBD_HandleTypeDef hUsbDeviceFS; volatile uint8_t MODE = MODE_INACTIVE; @@ -129,6 +130,7 @@ void SystemClock_Config(void); void handleUARTMessages(uint8_t *data, UART_HandleTypeDef *huart); void UART_DMA_SendReport(UART_HandleTypeDef *huart); void addUSBReport(uint8_t usageID); +void handleUARTMessages(uint8_t *data, UART_HandleTypeDef *sender); void matrixScan(void); void resetReport(void); void sendMessage(void); @@ -282,27 +284,27 @@ void SystemClock_Config(void) } /* USER CODE BEGIN 4 */ -//UART Message Requests Goes Here -void HAL_UART_RxCpltCallback(UART_HandleTypeDef *huart){ - //Parse recieved message - if (huart->Instance == USART1) { - handleUARTMessage(&RX1Msg); - HAL_UART_Receive_DMA(&huart1, (uint8_t*)&RX1Msg, sizeof(UARTMessage)); - } - else if (huart->Instance == USART2) { - handleUARTMessage(&RX2Msg); - HAL_UART_Receive_DMA(&huart2, (uint8_t*)&RX2Msg, sizeof(UARTMessage)); - } - else if (huart->Instance == USART4) { - handleUARTMessage(&RX4Msg); - HAL_UART_Receive_DMA(&huart4, (uint8_t*)&RX4Msg, sizeof(UARTMessage)); - } - else if (huart->Instance == USART5) { - handleUARTMessage(&RX5Msg); - HAL_UART_Receive_DMA(&huart5, (uint8_t*)&RX5Msg, sizeof(UARTMessage)); - } +// UART Message Requests Goes Here +void HAL_UART_RxCpltCallback(UART_HandleTypeDef *huart) { + if (huart->Instance == USART1) { + handleUARTMessages((uint8_t*)&RX1Msg, huart); + HAL_UART_Receive_DMA(&huart1, (uint8_t*)&RX1Msg, sizeof(UARTMessage)); + } + else if (huart->Instance == USART2) { + handleUARTMessages((uint8_t*)&RX2Msg, huart); + HAL_UART_Receive_DMA(&huart2, (uint8_t*)&RX2Msg, sizeof(UARTMessage)); + } + else if (huart->Instance == UART4) { + handleUARTMessages((uint8_t*)&RX4Msg, huart); + HAL_UART_Receive_DMA(&huart4, (uint8_t*)&RX4Msg, sizeof(UARTMessage)); + } + else if (huart->Instance == UART5) { + handleUARTMessages((uint8_t*)&RX5Msg, huart); + HAL_UART_Receive_DMA(&huart5, (uint8_t*)&RX5Msg, sizeof(UARTMessage)); + } } + void findBestParent(){ //Find least depth parent uint16_t least_val = 0xFF; @@ -321,11 +323,42 @@ void findBestParent(){ } } -//TODO: A function that gets called by RX Interrupt to handle messages that get sent -void handleUARTMessages(uint8_t *data, UART_HandleTypeDef *sender){ - //TODO: Handle messages coming from devices based on the message type. +// Called when UART RX interrupt completes +void handleUARTMessages(uint8_t *data, UART_HandleTypeDef *sender) { + UARTMessage msg; + UARTMessage reply; + + // Parse incoming message into struct + memcpy(&msg, data, sizeof(UARTMessage)); + + switch(msg.TYPE) { + + // Parent request reply + case 0xAA: + if(sender == &huart5) { + PORT_DEPTH[0] = msg.DEPTH; + } else if(sender == &huart1) { + PORT_DEPTH[1] = msg.DEPTH; + } else if(sender == &huart2) { + PORT_DEPTH[2] = msg.DEPTH; + } else if(sender == &huart4) { + PORT_DEPTH[3] = msg.DEPTH; + } + break; + + // Requested to be a parent + case 0xFF: + reply.TYPE = 0xAA; + reply.DEPTH = DEPTH; // use your local DEPTH + memset(reply.KEYPRESS, 0, sizeof(reply.KEYPRESS)); + + HAL_UART_Transmit(sender, (uint8_t*)&reply, sizeof(reply), HAL_MAX_DELAY); + break; + + } } + void addUSBReport(uint8_t usageID){ if(usageID < 0x04 || usageID > 0x73) return; //Usage ID is out of bounds uint16_t bit_index = usageID - 0x04; //Offset, UsageID starts with 0x04. Gives us the actual value of the bit diff --git a/firmware/modularkbd/Debug/Core/Src/main.cyclo b/firmware/modularkbd/Debug/Core/Src/main.cyclo index e69de29b..ef49be72 100644 --- a/firmware/modularkbd/Debug/Core/Src/main.cyclo +++ b/firmware/modularkbd/Debug/Core/Src/main.cyclo @@ -0,0 +1,9 @@ +../Core/Src/main.c:149:5:main 6 +../Core/Src/main.c:244:6:SystemClock_Config 3 +../Core/Src/main.c:288:6:HAL_UART_RxCpltCallback 5 +../Core/Src/main.c:308:6:findBestParent 4 +../Core/Src/main.c:327:6:handleUARTMessages 7 +../Core/Src/main.c:362:6:addUSBReport 3 +../Core/Src/main.c:370:6:matrixScan 4 +../Core/Src/main.c:383:6:resetReport 1 +../Core/Src/main.c:394:6:Error_Handler 1 diff --git a/firmware/modularkbd/Debug/Core/Src/main.o b/firmware/modularkbd/Debug/Core/Src/main.o new file mode 100644 index 00000000..06e667bf Binary files /dev/null and b/firmware/modularkbd/Debug/Core/Src/main.o differ diff --git a/firmware/modularkbd/Debug/Core/Src/main.su b/firmware/modularkbd/Debug/Core/Src/main.su index e69de29b..a4b1820e 100644 --- a/firmware/modularkbd/Debug/Core/Src/main.su +++ b/firmware/modularkbd/Debug/Core/Src/main.su @@ -0,0 +1,9 @@ +../Core/Src/main.c:149:5:main 24 static +../Core/Src/main.c:244:6:SystemClock_Config 88 static +../Core/Src/main.c:288:6:HAL_UART_RxCpltCallback 16 static +../Core/Src/main.c:308:6:findBestParent 24 static +../Core/Src/main.c:327:6:handleUARTMessages 48 static +../Core/Src/main.c:362:6:addUSBReport 24 static +../Core/Src/main.c:370:6:matrixScan 16 static +../Core/Src/main.c:383:6:resetReport 8 static +../Core/Src/main.c:394:6:Error_Handler 4 static,ignoring_inline_asm diff --git a/firmware/modularkbd/Debug/Middlewares/ST/STM32_USB_Device_Library/Class/HID/Src/usbd_hid.cyclo b/firmware/modularkbd/Debug/Middlewares/ST/STM32_USB_Device_Library/Class/HID/Src/usbd_hid.cyclo index d8331e4f..546301b3 100644 --- a/firmware/modularkbd/Debug/Middlewares/ST/STM32_USB_Device_Library/Class/HID/Src/usbd_hid.cyclo +++ b/firmware/modularkbd/Debug/Middlewares/ST/STM32_USB_Device_Library/Class/HID/Src/usbd_hid.cyclo @@ -1,10 +1,10 @@ -../Middlewares/ST/STM32_USB_Device_Library/Class/HID/Src/usbd_hid.c:279:16:USBD_HID_Init 3 -../Middlewares/ST/STM32_USB_Device_Library/Class/HID/Src/usbd_hid.c:326:16:USBD_HID_DeInit 2 -../Middlewares/ST/STM32_USB_Device_Library/Class/HID/Src/usbd_hid.c:357:16:USBD_HID_Setup 18 -../Middlewares/ST/STM32_USB_Device_Library/Class/HID/Src/usbd_hid.c:489:9:USBD_HID_SendReport 4 -../Middlewares/ST/STM32_USB_Device_Library/Class/HID/Src/usbd_hid.c:522:10:USBD_HID_GetPollingInterval 2 -../Middlewares/ST/STM32_USB_Device_Library/Class/HID/Src/usbd_hid.c:552:17:USBD_HID_GetFSCfgDesc 2 -../Middlewares/ST/STM32_USB_Device_Library/Class/HID/Src/usbd_hid.c:572:17:USBD_HID_GetHSCfgDesc 2 -../Middlewares/ST/STM32_USB_Device_Library/Class/HID/Src/usbd_hid.c:592:17:USBD_HID_GetOtherSpeedCfgDesc 2 -../Middlewares/ST/STM32_USB_Device_Library/Class/HID/Src/usbd_hid.c:613:16:USBD_HID_DataIn 1 -../Middlewares/ST/STM32_USB_Device_Library/Class/HID/Src/usbd_hid.c:630:17:USBD_HID_GetDeviceQualifierDesc 1 +../Middlewares/ST/STM32_USB_Device_Library/Class/HID/Src/usbd_hid.c:304:16:USBD_HID_Init 3 +../Middlewares/ST/STM32_USB_Device_Library/Class/HID/Src/usbd_hid.c:351:16:USBD_HID_DeInit 2 +../Middlewares/ST/STM32_USB_Device_Library/Class/HID/Src/usbd_hid.c:382:16:USBD_HID_Setup 18 +../Middlewares/ST/STM32_USB_Device_Library/Class/HID/Src/usbd_hid.c:514:9:USBD_HID_SendReport 4 +../Middlewares/ST/STM32_USB_Device_Library/Class/HID/Src/usbd_hid.c:547:10:USBD_HID_GetPollingInterval 2 +../Middlewares/ST/STM32_USB_Device_Library/Class/HID/Src/usbd_hid.c:577:17:USBD_HID_GetFSCfgDesc 2 +../Middlewares/ST/STM32_USB_Device_Library/Class/HID/Src/usbd_hid.c:597:17:USBD_HID_GetHSCfgDesc 2 +../Middlewares/ST/STM32_USB_Device_Library/Class/HID/Src/usbd_hid.c:617:17:USBD_HID_GetOtherSpeedCfgDesc 2 +../Middlewares/ST/STM32_USB_Device_Library/Class/HID/Src/usbd_hid.c:638:16:USBD_HID_DataIn 1 +../Middlewares/ST/STM32_USB_Device_Library/Class/HID/Src/usbd_hid.c:655:17:USBD_HID_GetDeviceQualifierDesc 1 diff --git a/firmware/modularkbd/Debug/Middlewares/ST/STM32_USB_Device_Library/Class/HID/Src/usbd_hid.o b/firmware/modularkbd/Debug/Middlewares/ST/STM32_USB_Device_Library/Class/HID/Src/usbd_hid.o index 8fae3ec6..fd892965 100644 Binary files a/firmware/modularkbd/Debug/Middlewares/ST/STM32_USB_Device_Library/Class/HID/Src/usbd_hid.o and b/firmware/modularkbd/Debug/Middlewares/ST/STM32_USB_Device_Library/Class/HID/Src/usbd_hid.o differ diff --git a/firmware/modularkbd/Debug/Middlewares/ST/STM32_USB_Device_Library/Class/HID/Src/usbd_hid.su b/firmware/modularkbd/Debug/Middlewares/ST/STM32_USB_Device_Library/Class/HID/Src/usbd_hid.su index a2d7b870..fcd4edcf 100644 --- a/firmware/modularkbd/Debug/Middlewares/ST/STM32_USB_Device_Library/Class/HID/Src/usbd_hid.su +++ b/firmware/modularkbd/Debug/Middlewares/ST/STM32_USB_Device_Library/Class/HID/Src/usbd_hid.su @@ -1,10 +1,10 @@ -../Middlewares/ST/STM32_USB_Device_Library/Class/HID/Src/usbd_hid.c:279:16:USBD_HID_Init 24 static -../Middlewares/ST/STM32_USB_Device_Library/Class/HID/Src/usbd_hid.c:326:16:USBD_HID_DeInit 16 static -../Middlewares/ST/STM32_USB_Device_Library/Class/HID/Src/usbd_hid.c:357:16:USBD_HID_Setup 32 static -../Middlewares/ST/STM32_USB_Device_Library/Class/HID/Src/usbd_hid.c:489:9:USBD_HID_SendReport 32 static -../Middlewares/ST/STM32_USB_Device_Library/Class/HID/Src/usbd_hid.c:522:10:USBD_HID_GetPollingInterval 24 static -../Middlewares/ST/STM32_USB_Device_Library/Class/HID/Src/usbd_hid.c:552:17:USBD_HID_GetFSCfgDesc 24 static -../Middlewares/ST/STM32_USB_Device_Library/Class/HID/Src/usbd_hid.c:572:17:USBD_HID_GetHSCfgDesc 24 static -../Middlewares/ST/STM32_USB_Device_Library/Class/HID/Src/usbd_hid.c:592:17:USBD_HID_GetOtherSpeedCfgDesc 24 static -../Middlewares/ST/STM32_USB_Device_Library/Class/HID/Src/usbd_hid.c:613:16:USBD_HID_DataIn 16 static -../Middlewares/ST/STM32_USB_Device_Library/Class/HID/Src/usbd_hid.c:630:17:USBD_HID_GetDeviceQualifierDesc 16 static +../Middlewares/ST/STM32_USB_Device_Library/Class/HID/Src/usbd_hid.c:304:16:USBD_HID_Init 24 static +../Middlewares/ST/STM32_USB_Device_Library/Class/HID/Src/usbd_hid.c:351:16:USBD_HID_DeInit 16 static +../Middlewares/ST/STM32_USB_Device_Library/Class/HID/Src/usbd_hid.c:382:16:USBD_HID_Setup 32 static +../Middlewares/ST/STM32_USB_Device_Library/Class/HID/Src/usbd_hid.c:514:9:USBD_HID_SendReport 32 static +../Middlewares/ST/STM32_USB_Device_Library/Class/HID/Src/usbd_hid.c:547:10:USBD_HID_GetPollingInterval 24 static +../Middlewares/ST/STM32_USB_Device_Library/Class/HID/Src/usbd_hid.c:577:17:USBD_HID_GetFSCfgDesc 24 static +../Middlewares/ST/STM32_USB_Device_Library/Class/HID/Src/usbd_hid.c:597:17:USBD_HID_GetHSCfgDesc 24 static +../Middlewares/ST/STM32_USB_Device_Library/Class/HID/Src/usbd_hid.c:617:17:USBD_HID_GetOtherSpeedCfgDesc 24 static +../Middlewares/ST/STM32_USB_Device_Library/Class/HID/Src/usbd_hid.c:638:16:USBD_HID_DataIn 16 static +../Middlewares/ST/STM32_USB_Device_Library/Class/HID/Src/usbd_hid.c:655:17:USBD_HID_GetDeviceQualifierDesc 16 static diff --git a/firmware/modularkbd/Debug/USB_DEVICE/App/usb_device.o b/firmware/modularkbd/Debug/USB_DEVICE/App/usb_device.o index 4aaa7d5d..61f5504a 100644 Binary files a/firmware/modularkbd/Debug/USB_DEVICE/App/usb_device.o and b/firmware/modularkbd/Debug/USB_DEVICE/App/usb_device.o differ diff --git a/firmware/modularkbd/Debug/USB_DEVICE/Target/usbd_conf.o b/firmware/modularkbd/Debug/USB_DEVICE/Target/usbd_conf.o index 4e2265be..177f1296 100644 Binary files a/firmware/modularkbd/Debug/USB_DEVICE/Target/usbd_conf.o and b/firmware/modularkbd/Debug/USB_DEVICE/Target/usbd_conf.o differ diff --git a/firmware/modularkbd/Debug/modularkbd.elf b/firmware/modularkbd/Debug/modularkbd.elf new file mode 100755 index 00000000..74625778 Binary files /dev/null and b/firmware/modularkbd/Debug/modularkbd.elf differ diff --git a/firmware/modularkbd/Debug/modularkbd.list b/firmware/modularkbd/Debug/modularkbd.list index b7a0b33c..cb60e002 100644 --- a/firmware/modularkbd/Debug/modularkbd.list +++ b/firmware/modularkbd/Debug/modularkbd.list @@ -5,47 +5,47 @@ Sections: Idx Name Size VMA LMA File off Algn 0 .isr_vector 000001c4 08000000 08000000 00001000 2**0 CONTENTS, ALLOC, LOAD, READONLY, DATA - 1 .text 0000a2e0 080001c4 080001c4 000011c4 2**2 + 1 .text 0000a968 080001c4 080001c4 000011c4 2**2 CONTENTS, ALLOC, LOAD, READONLY, CODE - 2 .rodata 0000005c 0800a4a4 0800a4a4 0000b4a4 2**2 + 2 .rodata 0000005c 0800ab2c 0800ab2c 0000bb2c 2**2 CONTENTS, ALLOC, LOAD, READONLY, DATA - 3 .ARM.extab 00000000 0800a500 0800a500 0000c1bc 2**0 + 3 .ARM.extab 00000000 0800ab88 0800ab88 0000c1a0 2**0 CONTENTS, READONLY - 4 .ARM 00000008 0800a500 0800a500 0000b500 2**2 + 4 .ARM 00000008 0800ab88 0800ab88 0000bb88 2**2 CONTENTS, ALLOC, LOAD, READONLY, DATA - 5 .preinit_array 00000000 0800a508 0800a508 0000c1bc 2**0 + 5 .preinit_array 00000000 0800ab90 0800ab90 0000c1a0 2**0 CONTENTS, ALLOC, LOAD, DATA - 6 .init_array 00000004 0800a508 0800a508 0000b508 2**2 + 6 .init_array 00000004 0800ab90 0800ab90 0000bb90 2**2 CONTENTS, ALLOC, LOAD, READONLY, DATA - 7 .fini_array 00000004 0800a50c 0800a50c 0000b50c 2**2 + 7 .fini_array 00000004 0800ab94 0800ab94 0000bb94 2**2 CONTENTS, ALLOC, LOAD, READONLY, DATA - 8 .data 000001bc 20000000 0800a510 0000c000 2**2 + 8 .data 000001a0 20000000 0800ab98 0000c000 2**2 CONTENTS, ALLOC, LOAD, DATA - 9 .bss 00000f14 200001bc 0800a6cc 0000c1bc 2**2 + 9 .bss 00000f58 200001a0 0800ad38 0000c1a0 2**2 ALLOC - 10 ._user_heap_stack 00000600 200010d0 0800a6cc 0000d0d0 2**0 + 10 ._user_heap_stack 00000600 200010f8 0800ad38 0000d0f8 2**0 ALLOC - 11 .ARM.attributes 00000030 00000000 00000000 0000c1bc 2**0 + 11 .ARM.attributes 00000030 00000000 00000000 0000c1a0 2**0 CONTENTS, READONLY - 12 .debug_info 0001aeaf 00000000 00000000 0000c1ec 2**0 + 12 .debug_info 0001af7a 00000000 00000000 0000c1d0 2**0 CONTENTS, READONLY, DEBUGGING, OCTETS - 13 .debug_abbrev 00004050 00000000 00000000 0002709b 2**0 + 13 .debug_abbrev 00004057 00000000 00000000 0002714a 2**0 CONTENTS, READONLY, DEBUGGING, OCTETS - 14 .debug_aranges 00001780 00000000 00000000 0002b0f0 2**3 + 14 .debug_aranges 00001780 00000000 00000000 0002b1a8 2**3 CONTENTS, READONLY, DEBUGGING, OCTETS - 15 .debug_rnglists 0000123c 00000000 00000000 0002c870 2**0 + 15 .debug_rnglists 0000123e 00000000 00000000 0002c928 2**0 CONTENTS, READONLY, DEBUGGING, OCTETS - 16 .debug_macro 00026060 00000000 00000000 0002daac 2**0 + 16 .debug_macro 00026060 00000000 00000000 0002db66 2**0 CONTENTS, READONLY, DEBUGGING, OCTETS - 17 .debug_line 0001e5a9 00000000 00000000 00053b0c 2**0 + 17 .debug_line 0001e635 00000000 00000000 00053bc6 2**0 CONTENTS, READONLY, DEBUGGING, OCTETS - 18 .debug_str 000d7e93 00000000 00000000 000720b5 2**0 + 18 .debug_str 000d7eb7 00000000 00000000 000721fb 2**0 CONTENTS, READONLY, DEBUGGING, OCTETS - 19 .comment 00000043 00000000 00000000 00149f48 2**0 + 19 .comment 00000043 00000000 00000000 0014a0b2 2**0 CONTENTS, READONLY - 20 .debug_frame 000062a4 00000000 00000000 00149f8c 2**2 + 20 .debug_frame 000062c4 00000000 00000000 0014a0f8 2**2 CONTENTS, READONLY, DEBUGGING, OCTETS - 21 .debug_line_str 00000062 00000000 00000000 00150230 2**0 + 21 .debug_line_str 00000062 00000000 00000000 001503bc 2**0 CONTENTS, READONLY, DEBUGGING, OCTETS Disassembly of section .text: @@ -62,9 +62,9 @@ Disassembly of section .text: 80001d6: 2301 movs r3, #1 80001d8: 7023 strb r3, [r4, #0] 80001da: bd10 pop {r4, pc} - 80001dc: 200001bc .word 0x200001bc + 80001dc: 200001a0 .word 0x200001a0 80001e0: 00000000 .word 0x00000000 - 80001e4: 0800a48c .word 0x0800a48c + 80001e4: 0800ab14 .word 0x0800ab14 080001e8 : 80001e8: b508 push {r3, lr} @@ -75,8 +75,8 @@ Disassembly of section .text: 80001f2: f3af 8000 nop.w 80001f6: bd08 pop {r3, pc} 80001f8: 00000000 .word 0x00000000 - 80001fc: 200001c0 .word 0x200001c0 - 8000200: 0800a48c .word 0x0800a48c + 80001fc: 200001a4 .word 0x200001a4 + 8000200: 0800ab14 .word 0x0800ab14 08000204 <__aeabi_uldivmod>: 8000204: b953 cbnz r3, 800021c <__aeabi_uldivmod+0x18> @@ -414,73 +414,73 @@ void MX_DMA_Init(void) 800056e: 2200 movs r2, #0 8000570: 2100 movs r1, #0 8000572: 200b movs r0, #11 - 8000574: f001 fa6b bl 8001a4e + 8000574: f001 fb33 bl 8001bde HAL_NVIC_EnableIRQ(DMA1_Stream0_IRQn); 8000578: 200b movs r0, #11 - 800057a: f001 fa84 bl 8001a86 + 800057a: f001 fb4c bl 8001c16 /* DMA1_Stream2_IRQn interrupt configuration */ HAL_NVIC_SetPriority(DMA1_Stream2_IRQn, 0, 0); 800057e: 2200 movs r2, #0 8000580: 2100 movs r1, #0 8000582: 200d movs r0, #13 - 8000584: f001 fa63 bl 8001a4e + 8000584: f001 fb2b bl 8001bde HAL_NVIC_EnableIRQ(DMA1_Stream2_IRQn); 8000588: 200d movs r0, #13 - 800058a: f001 fa7c bl 8001a86 + 800058a: f001 fb44 bl 8001c16 /* DMA1_Stream4_IRQn interrupt configuration */ HAL_NVIC_SetPriority(DMA1_Stream4_IRQn, 0, 0); 800058e: 2200 movs r2, #0 8000590: 2100 movs r1, #0 8000592: 200f movs r0, #15 - 8000594: f001 fa5b bl 8001a4e + 8000594: f001 fb23 bl 8001bde HAL_NVIC_EnableIRQ(DMA1_Stream4_IRQn); 8000598: 200f movs r0, #15 - 800059a: f001 fa74 bl 8001a86 + 800059a: f001 fb3c bl 8001c16 /* DMA1_Stream5_IRQn interrupt configuration */ HAL_NVIC_SetPriority(DMA1_Stream5_IRQn, 0, 0); 800059e: 2200 movs r2, #0 80005a0: 2100 movs r1, #0 80005a2: 2010 movs r0, #16 - 80005a4: f001 fa53 bl 8001a4e + 80005a4: f001 fb1b bl 8001bde HAL_NVIC_EnableIRQ(DMA1_Stream5_IRQn); 80005a8: 2010 movs r0, #16 - 80005aa: f001 fa6c bl 8001a86 + 80005aa: f001 fb34 bl 8001c16 /* DMA1_Stream6_IRQn interrupt configuration */ HAL_NVIC_SetPriority(DMA1_Stream6_IRQn, 0, 0); 80005ae: 2200 movs r2, #0 80005b0: 2100 movs r1, #0 80005b2: 2011 movs r0, #17 - 80005b4: f001 fa4b bl 8001a4e + 80005b4: f001 fb13 bl 8001bde HAL_NVIC_EnableIRQ(DMA1_Stream6_IRQn); 80005b8: 2011 movs r0, #17 - 80005ba: f001 fa64 bl 8001a86 + 80005ba: f001 fb2c bl 8001c16 /* DMA1_Stream7_IRQn interrupt configuration */ HAL_NVIC_SetPriority(DMA1_Stream7_IRQn, 0, 0); 80005be: 2200 movs r2, #0 80005c0: 2100 movs r1, #0 80005c2: 202f movs r0, #47 @ 0x2f - 80005c4: f001 fa43 bl 8001a4e + 80005c4: f001 fb0b bl 8001bde HAL_NVIC_EnableIRQ(DMA1_Stream7_IRQn); 80005c8: 202f movs r0, #47 @ 0x2f - 80005ca: f001 fa5c bl 8001a86 + 80005ca: f001 fb24 bl 8001c16 /* DMA2_Stream2_IRQn interrupt configuration */ HAL_NVIC_SetPriority(DMA2_Stream2_IRQn, 0, 0); 80005ce: 2200 movs r2, #0 80005d0: 2100 movs r1, #0 80005d2: 203a movs r0, #58 @ 0x3a - 80005d4: f001 fa3b bl 8001a4e + 80005d4: f001 fb03 bl 8001bde HAL_NVIC_EnableIRQ(DMA2_Stream2_IRQn); 80005d8: 203a movs r0, #58 @ 0x3a - 80005da: f001 fa54 bl 8001a86 + 80005da: f001 fb1c bl 8001c16 /* DMA2_Stream7_IRQn interrupt configuration */ HAL_NVIC_SetPriority(DMA2_Stream7_IRQn, 0, 0); 80005de: 2200 movs r2, #0 80005e0: 2100 movs r1, #0 80005e2: 2046 movs r0, #70 @ 0x46 - 80005e4: f001 fa33 bl 8001a4e + 80005e4: f001 fafb bl 8001bde HAL_NVIC_EnableIRQ(DMA2_Stream7_IRQn); 80005e8: 2046 movs r0, #70 @ 0x46 - 80005ea: f001 fa4c bl 8001a86 + 80005ea: f001 fb14 bl 8001c16 } 80005ee: bf00 nop @@ -582,14 +582,14 @@ void MX_GPIO_Init(void) 800069e: 2200 movs r2, #0 80006a0: f44f 7170 mov.w r1, #960 @ 0x3c0 80006a4: 4822 ldr r0, [pc, #136] @ (8000730 ) - 80006a6: f001 ffb7 bl 8002618 + 80006a6: f002 f87f bl 80027a8 /*Configure GPIO pin Output Level */ HAL_GPIO_WritePin(GPIOA, GPIO_PIN_8, GPIO_PIN_RESET); 80006aa: 2200 movs r2, #0 80006ac: f44f 7180 mov.w r1, #256 @ 0x100 80006b0: 4820 ldr r0, [pc, #128] @ (8000734 ) - 80006b2: f001 ffb1 bl 8002618 + 80006b2: f002 f879 bl 80027a8 /*Configure GPIO pins : PC4 PC5 */ GPIO_InitStruct.Pin = GPIO_PIN_4|GPIO_PIN_5; @@ -605,7 +605,7 @@ void MX_GPIO_Init(void) 80006c2: f107 0314 add.w r3, r7, #20 80006c6: 4619 mov r1, r3 80006c8: 4819 ldr r0, [pc, #100] @ (8000730 ) - 80006ca: f001 fdf9 bl 80022c0 + 80006ca: f001 fec1 bl 8002450 /*Configure GPIO pins : PB0 PB1 PB2 PB10 */ GPIO_InitStruct.Pin = GPIO_PIN_0|GPIO_PIN_1|GPIO_PIN_2|GPIO_PIN_10; @@ -621,7 +621,7 @@ void MX_GPIO_Init(void) 80006dc: f107 0314 add.w r3, r7, #20 80006e0: 4619 mov r1, r3 80006e2: 4815 ldr r0, [pc, #84] @ (8000738 ) - 80006e4: f001 fdec bl 80022c0 + 80006e4: f001 feb4 bl 8002450 /*Configure GPIO pins : PC6 PC7 PC8 PC9 */ GPIO_InitStruct.Pin = GPIO_PIN_6|GPIO_PIN_7|GPIO_PIN_8|GPIO_PIN_9; @@ -640,7 +640,7 @@ void MX_GPIO_Init(void) 80006fa: f107 0314 add.w r3, r7, #20 80006fe: 4619 mov r1, r3 8000700: 480b ldr r0, [pc, #44] @ (8000730 ) - 8000702: f001 fddd bl 80022c0 + 8000702: f001 fea5 bl 8002450 /*Configure GPIO pin : PA8 */ GPIO_InitStruct.Pin = GPIO_PIN_8; @@ -659,7 +659,7 @@ void MX_GPIO_Init(void) 8000718: f107 0314 add.w r3, r7, #20 800071c: 4619 mov r1, r3 800071e: 4805 ldr r0, [pc, #20] @ (8000734 ) - 8000720: f001 fdce bl 80022c0 + 8000720: f001 fe96 bl 8002450 } 8000724: bf00 nop @@ -723,13 +723,13 @@ void MX_I2C1_Init(void) 8000776: 621a str r2, [r3, #32] if (HAL_I2C_Init(&hi2c1) != HAL_OK) 8000778: 4804 ldr r0, [pc, #16] @ (800078c ) - 800077a: f001 ff67 bl 800264c + 800077a: f002 f82f bl 80027dc 800077e: 4603 mov r3, r0 8000780: 2b00 cmp r3, #0 8000782: d001 beq.n 8000788 { Error_Handler(); - 8000784: f000 fa20 bl 8000bc8 + 8000784: f000 fae8 bl 8000d58 } /* USER CODE BEGIN I2C1_Init 2 */ @@ -738,7 +738,7 @@ void MX_I2C1_Init(void) } 8000788: bf00 nop 800078a: bd80 pop {r7, pc} - 800078c: 200001d8 .word 0x200001d8 + 800078c: 200001bc .word 0x200001bc 8000790: 40005400 .word 0x40005400 8000794: 000186a0 .word 0x000186a0 @@ -806,7 +806,7 @@ void HAL_I2C_MspInit(I2C_HandleTypeDef* i2cHandle) 80007ea: f107 0314 add.w r3, r7, #20 80007ee: 4619 mov r1, r3 80007f0: 480c ldr r0, [pc, #48] @ (8000824 ) - 80007f2: f001 fd65 bl 80022c0 + 80007f2: f001 fe2d bl 8002450 /* I2C1 clock enable */ __HAL_RCC_I2C1_CLK_ENABLE(); @@ -852,14 +852,14 @@ int main(void) /* Reset of all peripherals, Initializes the Flash interface and the Systick. */ HAL_Init(); - 800082e: f000 ff9d bl 800176c + 800082e: f001 f865 bl 80018fc /* USER CODE BEGIN Init */ /* USER CODE END Init */ /* Configure the system clock */ SystemClock_Config(); - 8000832: f000 f87b bl 800092c + 8000832: f000 f897 bl 8000964 /* USER CODE BEGIN SysInit */ /* USER CODE END SysInit */ @@ -870,8278 +870,8228 @@ int main(void) MX_DMA_Init(); 800083a: f7ff fe79 bl 8000530 MX_TIM2_Init(); - 800083e: f000 fab5 bl 8000dac + 800083e: f000 fb7d bl 8000f3c MX_TIM3_Init(); - 8000842: f000 fb0b bl 8000e5c + 8000842: f000 fbd3 bl 8000fec MX_UART4_Init(); - 8000846: f000 fbfd bl 8001044 + 8000846: f000 fcc5 bl 80011d4 MX_UART5_Init(); - 800084a: f000 fc25 bl 8001098 + 800084a: f000 fced bl 8001228 MX_USART1_UART_Init(); - 800084e: f000 fc4d bl 80010ec + 800084e: f000 fd15 bl 800127c MX_USART2_UART_Init(); - 8000852: f000 fc75 bl 8001140 + 8000852: f000 fd3d bl 80012d0 MX_I2C1_Init(); 8000856: f7ff ff71 bl 800073c MX_USB_DEVICE_Init(); - 800085a: f009 f93d bl 8009ad8 + 800085a: f009 fc73 bl 800a144 + /* USER CODE BEGIN 2 */ + + //Enable UART RX DMA for all ports + HAL_UART_Receive_DMA(&huart1, (uint8_t*)&RX1Msg, sizeof(UARTMessage)); + 800085e: 2210 movs r2, #16 + 8000860: 4934 ldr r1, [pc, #208] @ (8000934 ) + 8000862: 4835 ldr r0, [pc, #212] @ (8000938 ) + 8000864: f005 fa12 bl 8005c8c + HAL_UART_Receive_DMA(&huart2, (uint8_t*)&RX2Msg, sizeof(UARTMessage)); + 8000868: 2210 movs r2, #16 + 800086a: 4934 ldr r1, [pc, #208] @ (800093c ) + 800086c: 4834 ldr r0, [pc, #208] @ (8000940 ) + 800086e: f005 fa0d bl 8005c8c + HAL_UART_Receive_DMA(&huart4, (uint8_t*)&RX4Msg, sizeof(UARTMessage)); + 8000872: 2210 movs r2, #16 + 8000874: 4933 ldr r1, [pc, #204] @ (8000944 ) + 8000876: 4834 ldr r0, [pc, #208] @ (8000948 ) + 8000878: f005 fa08 bl 8005c8c + HAL_UART_Receive_DMA(&huart5, (uint8_t*)&RX5Msg, sizeof(UARTMessage)); + 800087c: 2210 movs r2, #16 + 800087e: 4933 ldr r1, [pc, #204] @ (800094c ) + 8000880: 4833 ldr r0, [pc, #204] @ (8000950 ) + 8000882: f005 fa03 bl 8005c8c /* Infinite loop */ /* USER CODE BEGIN WHILE */ while (1) { switch (MODE){ - 800085e: 4b2b ldr r3, [pc, #172] @ (800090c ) - 8000860: 781b ldrb r3, [r3, #0] - 8000862: b2db uxtb r3, r3 - 8000864: 2b02 cmp r3, #2 - 8000866: d006 beq.n 8000876 - 8000868: 2b02 cmp r3, #2 - 800086a: dc4a bgt.n 8000902 - 800086c: 2b00 cmp r3, #0 - 800086e: d007 beq.n 8000880 - 8000870: 2b01 cmp r3, #1 - 8000872: d03c beq.n 80008ee - 8000874: e045 b.n 8000902 + 8000886: 4b33 ldr r3, [pc, #204] @ (8000954 ) + 8000888: 781b ldrb r3, [r3, #0] + 800088a: b2db uxtb r3, r3 + 800088c: 2b02 cmp r3, #2 + 800088e: d006 beq.n 800089e + 8000890: 2b02 cmp r3, #2 + 8000892: dc4a bgt.n 800092a + 8000894: 2b00 cmp r3, #0 + 8000896: d007 beq.n 80008a8 + 8000898: 2b01 cmp r3, #1 + 800089a: d03c beq.n 8000916 + 800089c: e045 b.n 800092a case MODE_ACTIVE: resetReport(); - 8000876: f000 f997 bl 8000ba8 + 800089e: f000 fa4b bl 8000d38 matrixScan(); - 800087a: f000 f93b bl 8000af4 + 80008a2: f000 f9ef bl 8000c84 break; - 800087e: e040 b.n 8000902 + 80008a6: e040 b.n 800092a case MODE_INACTIVE: //If the module is connected through the USB then mode is mainboard if(hUsbDeviceFS.dev_state == USBD_STATE_CONFIGURED){ - 8000880: 4b23 ldr r3, [pc, #140] @ (8000910 ) - 8000882: f893 329c ldrb.w r3, [r3, #668] @ 0x29c - 8000886: b2db uxtb r3, r3 - 8000888: 2b03 cmp r3, #3 - 800088a: d106 bne.n 800089a + 80008a8: 4b2b ldr r3, [pc, #172] @ (8000958 ) + 80008aa: f893 329c ldrb.w r3, [r3, #668] @ 0x29c + 80008ae: b2db uxtb r3, r3 + 80008b0: 2b03 cmp r3, #3 + 80008b2: d106 bne.n 80008c2 MODE = MODE_MAINBOARD; - 800088c: 4b1f ldr r3, [pc, #124] @ (800090c ) - 800088e: 2201 movs r2, #1 - 8000890: 701a strb r2, [r3, #0] + 80008b4: 4b27 ldr r3, [pc, #156] @ (8000954 ) + 80008b6: 2201 movs r2, #1 + 80008b8: 701a strb r2, [r3, #0] DEPTH = 0; - 8000892: 4b20 ldr r3, [pc, #128] @ (8000914 ) - 8000894: 2200 movs r2, #0 - 8000896: 801a strh r2, [r3, #0] + 80008ba: 4b28 ldr r3, [pc, #160] @ (800095c ) + 80008bc: 2200 movs r2, #0 + 80008be: 801a strh r2, [r3, #0] + HAL_UART_Transmit_DMA(&huart4, (uint8_t*)&REQ, sizeof(REQ)); HAL_UART_Transmit_DMA(&huart5, (uint8_t*)&REQ, sizeof(REQ)); HAL_Delay(500); - findBestParent(); //So true... } break; - 8000898: e033 b.n 8000902 + 80008c0: e033 b.n 800092a REQ.DEPTH = 0; - 800089a: 2300 movs r3, #0 - 800089c: 803b strh r3, [r7, #0] + 80008c2: 2300 movs r3, #0 + 80008c4: 803b strh r3, [r7, #0] REQ.TYPE = 0xFF; //Message code for request is 0xFF - 800089e: 23ff movs r3, #255 @ 0xff - 80008a0: 807b strh r3, [r7, #2] + 80008c6: 23ff movs r3, #255 @ 0xff + 80008c8: 807b strh r3, [r7, #2] memset(REQ.KEYPRESS, 0, sizeof(REQ.KEYPRESS)); - 80008a2: 463b mov r3, r7 - 80008a4: 3304 adds r3, #4 - 80008a6: 220c movs r2, #12 - 80008a8: 2100 movs r1, #0 - 80008aa: 4618 mov r0, r3 - 80008ac: f009 fdc2 bl 800a434 + 80008ca: 463b mov r3, r7 + 80008cc: 3304 adds r3, #4 + 80008ce: 220c movs r2, #12 + 80008d0: 2100 movs r1, #0 + 80008d2: 4618 mov r0, r3 + 80008d4: f00a f8e4 bl 800aaa0 HAL_UART_Transmit_DMA(&huart1, (uint8_t*)&REQ, sizeof(REQ)); - 80008b0: 463b mov r3, r7 - 80008b2: 2210 movs r2, #16 - 80008b4: 4619 mov r1, r3 - 80008b6: 4818 ldr r0, [pc, #96] @ (8000918 ) - 80008b8: f005 f818 bl 80058ec + 80008d8: 463b mov r3, r7 + 80008da: 2210 movs r2, #16 + 80008dc: 4619 mov r1, r3 + 80008de: 4816 ldr r0, [pc, #88] @ (8000938 ) + 80008e0: f005 f958 bl 8005b94 HAL_UART_Transmit_DMA(&huart2, (uint8_t*)&REQ, sizeof(REQ)); - 80008bc: 463b mov r3, r7 - 80008be: 2210 movs r2, #16 - 80008c0: 4619 mov r1, r3 - 80008c2: 4816 ldr r0, [pc, #88] @ (800091c ) - 80008c4: f005 f812 bl 80058ec + 80008e4: 463b mov r3, r7 + 80008e6: 2210 movs r2, #16 + 80008e8: 4619 mov r1, r3 + 80008ea: 4815 ldr r0, [pc, #84] @ (8000940 ) + 80008ec: f005 f952 bl 8005b94 HAL_UART_Transmit_DMA(&huart4, (uint8_t*)&REQ, sizeof(REQ)); - 80008c8: 463b mov r3, r7 - 80008ca: 2210 movs r2, #16 - 80008cc: 4619 mov r1, r3 - 80008ce: 4814 ldr r0, [pc, #80] @ (8000920 ) - 80008d0: f005 f80c bl 80058ec + 80008f0: 463b mov r3, r7 + 80008f2: 2210 movs r2, #16 + 80008f4: 4619 mov r1, r3 + 80008f6: 4814 ldr r0, [pc, #80] @ (8000948 ) + 80008f8: f005 f94c bl 8005b94 HAL_UART_Transmit_DMA(&huart5, (uint8_t*)&REQ, sizeof(REQ)); - 80008d4: 463b mov r3, r7 - 80008d6: 2210 movs r2, #16 - 80008d8: 4619 mov r1, r3 - 80008da: 4812 ldr r0, [pc, #72] @ (8000924 ) - 80008dc: f005 f806 bl 80058ec + 80008fc: 463b mov r3, r7 + 80008fe: 2210 movs r2, #16 + 8000900: 4619 mov r1, r3 + 8000902: 4813 ldr r0, [pc, #76] @ (8000950 ) + 8000904: f005 f946 bl 8005b94 HAL_Delay(500); - 80008e0: f44f 70fa mov.w r0, #500 @ 0x1f4 - 80008e4: f000 ffb4 bl 8001850 + 8000908: f44f 70fa mov.w r0, #500 @ 0x1f4 + 800090c: f001 f868 bl 80019e0 findBestParent(); //So true... - 80008e8: f000 f896 bl 8000a18 + 8000910: f000 f8f0 bl 8000af4 break; - 80008ec: e009 b.n 8000902 + 8000914: e009 b.n 800092a case MODE_MAINBOARD: resetReport(); - 80008ee: f000 f95b bl 8000ba8 + 8000916: f000 fa0f bl 8000d38 matrixScan(); - 80008f2: f000 f8ff bl 8000af4 + 800091a: f000 f9b3 bl 8000c84 USBD_HID_SendReport(&hUsbDeviceFS, (uint8_t*)&REPORT, sizeof(REPORT)); - 80008f6: 220e movs r2, #14 - 80008f8: 490b ldr r1, [pc, #44] @ (8000928 ) - 80008fa: 4805 ldr r0, [pc, #20] @ (8000910 ) - 80008fc: f007 fd20 bl 8008340 + 800091e: 220e movs r2, #14 + 8000920: 490f ldr r1, [pc, #60] @ (8000960 ) + 8000922: 480d ldr r0, [pc, #52] @ (8000958 ) + 8000924: f008 f842 bl 80089ac break; - 8000900: bf00 nop + 8000928: bf00 nop } HAL_Delay(50); - 8000902: 2032 movs r0, #50 @ 0x32 - 8000904: f000 ffa4 bl 8001850 + 800092a: 2032 movs r0, #50 @ 0x32 + 800092c: f001 f858 bl 80019e0 switch (MODE){ - 8000908: e7a9 b.n 800085e - 800090a: bf00 nop - 800090c: 20000240 .word 0x20000240 - 8000910: 200006fc .word 0x200006fc - 8000914: 2000023a .word 0x2000023a - 8000918: 20000364 .word 0x20000364 - 800091c: 200003ac .word 0x200003ac - 8000920: 200002d4 .word 0x200002d4 - 8000924: 2000031c .word 0x2000031c - 8000928: 2000022c .word 0x2000022c + 8000930: e7a9 b.n 8000886 + 8000932: bf00 nop + 8000934: 20000230 .word 0x20000230 + 8000938: 2000038c .word 0x2000038c + 800093c: 20000240 .word 0x20000240 + 8000940: 200003d4 .word 0x200003d4 + 8000944: 20000250 .word 0x20000250 + 8000948: 200002fc .word 0x200002fc + 800094c: 20000220 .word 0x20000220 + 8000950: 20000344 .word 0x20000344 + 8000954: 20000268 .word 0x20000268 + 8000958: 20000724 .word 0x20000724 + 800095c: 20000260 .word 0x20000260 + 8000960: 20000210 .word 0x20000210 -0800092c : +08000964 : /** * @brief System Clock Configuration * @retval None */ void SystemClock_Config(void) { - 800092c: b580 push {r7, lr} - 800092e: b094 sub sp, #80 @ 0x50 - 8000930: af00 add r7, sp, #0 + 8000964: b580 push {r7, lr} + 8000966: b094 sub sp, #80 @ 0x50 + 8000968: af00 add r7, sp, #0 RCC_OscInitTypeDef RCC_OscInitStruct = {0}; - 8000932: f107 031c add.w r3, r7, #28 - 8000936: 2234 movs r2, #52 @ 0x34 - 8000938: 2100 movs r1, #0 - 800093a: 4618 mov r0, r3 - 800093c: f009 fd7a bl 800a434 + 800096a: f107 031c add.w r3, r7, #28 + 800096e: 2234 movs r2, #52 @ 0x34 + 8000970: 2100 movs r1, #0 + 8000972: 4618 mov r0, r3 + 8000974: f00a f894 bl 800aaa0 RCC_ClkInitTypeDef RCC_ClkInitStruct = {0}; - 8000940: f107 0308 add.w r3, r7, #8 - 8000944: 2200 movs r2, #0 - 8000946: 601a str r2, [r3, #0] - 8000948: 605a str r2, [r3, #4] - 800094a: 609a str r2, [r3, #8] - 800094c: 60da str r2, [r3, #12] - 800094e: 611a str r2, [r3, #16] + 8000978: f107 0308 add.w r3, r7, #8 + 800097c: 2200 movs r2, #0 + 800097e: 601a str r2, [r3, #0] + 8000980: 605a str r2, [r3, #4] + 8000982: 609a str r2, [r3, #8] + 8000984: 60da str r2, [r3, #12] + 8000986: 611a str r2, [r3, #16] /** Configure the main internal regulator output voltage */ __HAL_RCC_PWR_CLK_ENABLE(); - 8000950: 2300 movs r3, #0 - 8000952: 607b str r3, [r7, #4] - 8000954: 4b29 ldr r3, [pc, #164] @ (80009fc ) - 8000956: 6c1b ldr r3, [r3, #64] @ 0x40 - 8000958: 4a28 ldr r2, [pc, #160] @ (80009fc ) - 800095a: f043 5380 orr.w r3, r3, #268435456 @ 0x10000000 - 800095e: 6413 str r3, [r2, #64] @ 0x40 - 8000960: 4b26 ldr r3, [pc, #152] @ (80009fc ) - 8000962: 6c1b ldr r3, [r3, #64] @ 0x40 - 8000964: f003 5380 and.w r3, r3, #268435456 @ 0x10000000 - 8000968: 607b str r3, [r7, #4] - 800096a: 687b ldr r3, [r7, #4] + 8000988: 2300 movs r3, #0 + 800098a: 607b str r3, [r7, #4] + 800098c: 4b29 ldr r3, [pc, #164] @ (8000a34 ) + 800098e: 6c1b ldr r3, [r3, #64] @ 0x40 + 8000990: 4a28 ldr r2, [pc, #160] @ (8000a34 ) + 8000992: f043 5380 orr.w r3, r3, #268435456 @ 0x10000000 + 8000996: 6413 str r3, [r2, #64] @ 0x40 + 8000998: 4b26 ldr r3, [pc, #152] @ (8000a34 ) + 800099a: 6c1b ldr r3, [r3, #64] @ 0x40 + 800099c: f003 5380 and.w r3, r3, #268435456 @ 0x10000000 + 80009a0: 607b str r3, [r7, #4] + 80009a2: 687b ldr r3, [r7, #4] __HAL_PWR_VOLTAGESCALING_CONFIG(PWR_REGULATOR_VOLTAGE_SCALE3); - 800096c: 2300 movs r3, #0 - 800096e: 603b str r3, [r7, #0] - 8000970: 4b23 ldr r3, [pc, #140] @ (8000a00 ) - 8000972: 681b ldr r3, [r3, #0] - 8000974: f423 4340 bic.w r3, r3, #49152 @ 0xc000 - 8000978: 4a21 ldr r2, [pc, #132] @ (8000a00 ) - 800097a: f443 4380 orr.w r3, r3, #16384 @ 0x4000 - 800097e: 6013 str r3, [r2, #0] - 8000980: 4b1f ldr r3, [pc, #124] @ (8000a00 ) - 8000982: 681b ldr r3, [r3, #0] - 8000984: f403 4340 and.w r3, r3, #49152 @ 0xc000 - 8000988: 603b str r3, [r7, #0] - 800098a: 683b ldr r3, [r7, #0] + 80009a4: 2300 movs r3, #0 + 80009a6: 603b str r3, [r7, #0] + 80009a8: 4b23 ldr r3, [pc, #140] @ (8000a38 ) + 80009aa: 681b ldr r3, [r3, #0] + 80009ac: f423 4340 bic.w r3, r3, #49152 @ 0xc000 + 80009b0: 4a21 ldr r2, [pc, #132] @ (8000a38 ) + 80009b2: f443 4380 orr.w r3, r3, #16384 @ 0x4000 + 80009b6: 6013 str r3, [r2, #0] + 80009b8: 4b1f ldr r3, [pc, #124] @ (8000a38 ) + 80009ba: 681b ldr r3, [r3, #0] + 80009bc: f403 4340 and.w r3, r3, #49152 @ 0xc000 + 80009c0: 603b str r3, [r7, #0] + 80009c2: 683b ldr r3, [r7, #0] /** Initializes the RCC Oscillators according to the specified parameters * in the RCC_OscInitTypeDef structure. */ RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_HSE; - 800098c: 2301 movs r3, #1 - 800098e: 61fb str r3, [r7, #28] + 80009c4: 2301 movs r3, #1 + 80009c6: 61fb str r3, [r7, #28] RCC_OscInitStruct.HSEState = RCC_HSE_ON; - 8000990: f44f 3380 mov.w r3, #65536 @ 0x10000 - 8000994: 623b str r3, [r7, #32] + 80009c8: f44f 3380 mov.w r3, #65536 @ 0x10000 + 80009cc: 623b str r3, [r7, #32] RCC_OscInitStruct.PLL.PLLState = RCC_PLL_ON; - 8000996: 2302 movs r3, #2 - 8000998: 637b str r3, [r7, #52] @ 0x34 + 80009ce: 2302 movs r3, #2 + 80009d0: 637b str r3, [r7, #52] @ 0x34 RCC_OscInitStruct.PLL.PLLSource = RCC_PLLSOURCE_HSE; - 800099a: f44f 0380 mov.w r3, #4194304 @ 0x400000 - 800099e: 63bb str r3, [r7, #56] @ 0x38 + 80009d2: f44f 0380 mov.w r3, #4194304 @ 0x400000 + 80009d6: 63bb str r3, [r7, #56] @ 0x38 RCC_OscInitStruct.PLL.PLLM = 4; - 80009a0: 2304 movs r3, #4 - 80009a2: 63fb str r3, [r7, #60] @ 0x3c + 80009d8: 2304 movs r3, #4 + 80009da: 63fb str r3, [r7, #60] @ 0x3c RCC_OscInitStruct.PLL.PLLN = 96; - 80009a4: 2360 movs r3, #96 @ 0x60 - 80009a6: 643b str r3, [r7, #64] @ 0x40 + 80009dc: 2360 movs r3, #96 @ 0x60 + 80009de: 643b str r3, [r7, #64] @ 0x40 RCC_OscInitStruct.PLL.PLLP = RCC_PLLP_DIV2; - 80009a8: 2302 movs r3, #2 - 80009aa: 647b str r3, [r7, #68] @ 0x44 + 80009e0: 2302 movs r3, #2 + 80009e2: 647b str r3, [r7, #68] @ 0x44 RCC_OscInitStruct.PLL.PLLQ = 4; - 80009ac: 2304 movs r3, #4 - 80009ae: 64bb str r3, [r7, #72] @ 0x48 + 80009e4: 2304 movs r3, #4 + 80009e6: 64bb str r3, [r7, #72] @ 0x48 RCC_OscInitStruct.PLL.PLLR = 2; - 80009b0: 2302 movs r3, #2 - 80009b2: 64fb str r3, [r7, #76] @ 0x4c + 80009e8: 2302 movs r3, #2 + 80009ea: 64fb str r3, [r7, #76] @ 0x4c if (HAL_RCC_OscConfig(&RCC_OscInitStruct) != HAL_OK) - 80009b4: f107 031c add.w r3, r7, #28 - 80009b8: 4618 mov r0, r3 - 80009ba: f004 f885 bl 8004ac8 - 80009be: 4603 mov r3, r0 - 80009c0: 2b00 cmp r3, #0 - 80009c2: d001 beq.n 80009c8 + 80009ec: f107 031c add.w r3, r7, #28 + 80009f0: 4618 mov r0, r3 + 80009f2: f004 f931 bl 8004c58 + 80009f6: 4603 mov r3, r0 + 80009f8: 2b00 cmp r3, #0 + 80009fa: d001 beq.n 8000a00 { Error_Handler(); - 80009c4: f000 f900 bl 8000bc8 + 80009fc: f000 f9ac bl 8000d58 } /** Initializes the CPU, AHB and APB buses clocks */ RCC_ClkInitStruct.ClockType = RCC_CLOCKTYPE_HCLK|RCC_CLOCKTYPE_SYSCLK - 80009c8: 230f movs r3, #15 - 80009ca: 60bb str r3, [r7, #8] + 8000a00: 230f movs r3, #15 + 8000a02: 60bb str r3, [r7, #8] |RCC_CLOCKTYPE_PCLK1|RCC_CLOCKTYPE_PCLK2; RCC_ClkInitStruct.SYSCLKSource = RCC_SYSCLKSOURCE_PLLCLK; - 80009cc: 2302 movs r3, #2 - 80009ce: 60fb str r3, [r7, #12] + 8000a04: 2302 movs r3, #2 + 8000a06: 60fb str r3, [r7, #12] RCC_ClkInitStruct.AHBCLKDivider = RCC_SYSCLK_DIV2; - 80009d0: 2380 movs r3, #128 @ 0x80 - 80009d2: 613b str r3, [r7, #16] + 8000a08: 2380 movs r3, #128 @ 0x80 + 8000a0a: 613b str r3, [r7, #16] RCC_ClkInitStruct.APB1CLKDivider = RCC_HCLK_DIV2; - 80009d4: f44f 5380 mov.w r3, #4096 @ 0x1000 - 80009d8: 617b str r3, [r7, #20] + 8000a0c: f44f 5380 mov.w r3, #4096 @ 0x1000 + 8000a10: 617b str r3, [r7, #20] RCC_ClkInitStruct.APB2CLKDivider = RCC_HCLK_DIV1; - 80009da: 2300 movs r3, #0 - 80009dc: 61bb str r3, [r7, #24] + 8000a12: 2300 movs r3, #0 + 8000a14: 61bb str r3, [r7, #24] if (HAL_RCC_ClockConfig(&RCC_ClkInitStruct, FLASH_LATENCY_1) != HAL_OK) - 80009de: f107 0308 add.w r3, r7, #8 - 80009e2: 2101 movs r1, #1 - 80009e4: 4618 mov r0, r3 - 80009e6: f003 f9fb bl 8003de0 - 80009ea: 4603 mov r3, r0 - 80009ec: 2b00 cmp r3, #0 - 80009ee: d001 beq.n 80009f4 + 8000a16: f107 0308 add.w r3, r7, #8 + 8000a1a: 2101 movs r1, #1 + 8000a1c: 4618 mov r0, r3 + 8000a1e: f003 faa7 bl 8003f70 + 8000a22: 4603 mov r3, r0 + 8000a24: 2b00 cmp r3, #0 + 8000a26: d001 beq.n 8000a2c { Error_Handler(); - 80009f0: f000 f8ea bl 8000bc8 + 8000a28: f000 f996 bl 8000d58 } } - 80009f4: bf00 nop - 80009f6: 3750 adds r7, #80 @ 0x50 - 80009f8: 46bd mov sp, r7 - 80009fa: bd80 pop {r7, pc} - 80009fc: 40023800 .word 0x40023800 - 8000a00: 40007000 .word 0x40007000 + 8000a2c: bf00 nop + 8000a2e: 3750 adds r7, #80 @ 0x50 + 8000a30: 46bd mov sp, r7 + 8000a32: bd80 pop {r7, pc} + 8000a34: 40023800 .word 0x40023800 + 8000a38: 40007000 .word 0x40007000 -08000a04 : +08000a3c : /* USER CODE BEGIN 4 */ -//UART Message Requests Goes Here -void HAL_UART_RxCpltCallback(UART_HandleTypeDef *huart){ - 8000a04: b480 push {r7} - 8000a06: b083 sub sp, #12 - 8000a08: af00 add r7, sp, #0 - 8000a0a: 6078 str r0, [r7, #4] - +// UART Message Requests Goes Here +void HAL_UART_RxCpltCallback(UART_HandleTypeDef *huart) { + 8000a3c: b580 push {r7, lr} + 8000a3e: b082 sub sp, #8 + 8000a40: af00 add r7, sp, #0 + 8000a42: 6078 str r0, [r7, #4] + if (huart->Instance == USART1) { + 8000a44: 687b ldr r3, [r7, #4] + 8000a46: 681b ldr r3, [r3, #0] + 8000a48: 4a1e ldr r2, [pc, #120] @ (8000ac4 ) + 8000a4a: 4293 cmp r3, r2 + 8000a4c: d109 bne.n 8000a62 + handleUARTMessages((uint8_t*)&RX1Msg, huart); + 8000a4e: 6879 ldr r1, [r7, #4] + 8000a50: 481d ldr r0, [pc, #116] @ (8000ac8 ) + 8000a52: f000 f889 bl 8000b68 + HAL_UART_Receive_DMA(&huart1, (uint8_t*)&RX1Msg, sizeof(UARTMessage)); + 8000a56: 2210 movs r2, #16 + 8000a58: 491b ldr r1, [pc, #108] @ (8000ac8 ) + 8000a5a: 481c ldr r0, [pc, #112] @ (8000acc ) + 8000a5c: f005 f916 bl 8005c8c + } + else if (huart->Instance == UART5) { + handleUARTMessages((uint8_t*)&RX5Msg, huart); + HAL_UART_Receive_DMA(&huart5, (uint8_t*)&RX5Msg, sizeof(UARTMessage)); + } } - 8000a0c: bf00 nop - 8000a0e: 370c adds r7, #12 - 8000a10: 46bd mov sp, r7 - 8000a12: f85d 7b04 ldr.w r7, [sp], #4 - 8000a16: 4770 bx lr + 8000a60: e02b b.n 8000aba + else if (huart->Instance == USART2) { + 8000a62: 687b ldr r3, [r7, #4] + 8000a64: 681b ldr r3, [r3, #0] + 8000a66: 4a1a ldr r2, [pc, #104] @ (8000ad0 ) + 8000a68: 4293 cmp r3, r2 + 8000a6a: d109 bne.n 8000a80 + handleUARTMessages((uint8_t*)&RX2Msg, huart); + 8000a6c: 6879 ldr r1, [r7, #4] + 8000a6e: 4819 ldr r0, [pc, #100] @ (8000ad4 ) + 8000a70: f000 f87a bl 8000b68 + HAL_UART_Receive_DMA(&huart2, (uint8_t*)&RX2Msg, sizeof(UARTMessage)); + 8000a74: 2210 movs r2, #16 + 8000a76: 4917 ldr r1, [pc, #92] @ (8000ad4 ) + 8000a78: 4817 ldr r0, [pc, #92] @ (8000ad8 ) + 8000a7a: f005 f907 bl 8005c8c +} + 8000a7e: e01c b.n 8000aba + else if (huart->Instance == UART4) { + 8000a80: 687b ldr r3, [r7, #4] + 8000a82: 681b ldr r3, [r3, #0] + 8000a84: 4a15 ldr r2, [pc, #84] @ (8000adc ) + 8000a86: 4293 cmp r3, r2 + 8000a88: d109 bne.n 8000a9e + handleUARTMessages((uint8_t*)&RX4Msg, huart); + 8000a8a: 6879 ldr r1, [r7, #4] + 8000a8c: 4814 ldr r0, [pc, #80] @ (8000ae0 ) + 8000a8e: f000 f86b bl 8000b68 + HAL_UART_Receive_DMA(&huart4, (uint8_t*)&RX4Msg, sizeof(UARTMessage)); + 8000a92: 2210 movs r2, #16 + 8000a94: 4912 ldr r1, [pc, #72] @ (8000ae0 ) + 8000a96: 4813 ldr r0, [pc, #76] @ (8000ae4 ) + 8000a98: f005 f8f8 bl 8005c8c +} + 8000a9c: e00d b.n 8000aba + else if (huart->Instance == UART5) { + 8000a9e: 687b ldr r3, [r7, #4] + 8000aa0: 681b ldr r3, [r3, #0] + 8000aa2: 4a11 ldr r2, [pc, #68] @ (8000ae8 ) + 8000aa4: 4293 cmp r3, r2 + 8000aa6: d108 bne.n 8000aba + handleUARTMessages((uint8_t*)&RX5Msg, huart); + 8000aa8: 6879 ldr r1, [r7, #4] + 8000aaa: 4810 ldr r0, [pc, #64] @ (8000aec ) + 8000aac: f000 f85c bl 8000b68 + HAL_UART_Receive_DMA(&huart5, (uint8_t*)&RX5Msg, sizeof(UARTMessage)); + 8000ab0: 2210 movs r2, #16 + 8000ab2: 490e ldr r1, [pc, #56] @ (8000aec ) + 8000ab4: 480e ldr r0, [pc, #56] @ (8000af0 ) + 8000ab6: f005 f8e9 bl 8005c8c +} + 8000aba: bf00 nop + 8000abc: 3708 adds r7, #8 + 8000abe: 46bd mov sp, r7 + 8000ac0: bd80 pop {r7, pc} + 8000ac2: bf00 nop + 8000ac4: 40011000 .word 0x40011000 + 8000ac8: 20000230 .word 0x20000230 + 8000acc: 2000038c .word 0x2000038c + 8000ad0: 40004400 .word 0x40004400 + 8000ad4: 20000240 .word 0x20000240 + 8000ad8: 200003d4 .word 0x200003d4 + 8000adc: 40004c00 .word 0x40004c00 + 8000ae0: 20000250 .word 0x20000250 + 8000ae4: 200002fc .word 0x200002fc + 8000ae8: 40005000 .word 0x40005000 + 8000aec: 20000220 .word 0x20000220 + 8000af0: 20000344 .word 0x20000344 + +08000af4 : -08000a18 : void findBestParent(){ - 8000a18: b480 push {r7} - 8000a1a: b085 sub sp, #20 - 8000a1c: af00 add r7, sp, #0 + 8000af4: b480 push {r7} + 8000af6: b085 sub sp, #20 + 8000af8: af00 add r7, sp, #0 //Find least depth parent uint16_t least_val = 0xFF; - 8000a1e: 23ff movs r3, #255 @ 0xff - 8000a20: 81fb strh r3, [r7, #14] + 8000afa: 23ff movs r3, #255 @ 0xff + 8000afc: 81fb strh r3, [r7, #14] UART_HandleTypeDef* least_port = NULL; - 8000a22: 2300 movs r3, #0 - 8000a24: 60bb str r3, [r7, #8] + 8000afe: 2300 movs r3, #0 + 8000b00: 60bb str r3, [r7, #8] for(uint8_t i = 0; i < 4; i++){ - 8000a26: 2300 movs r3, #0 - 8000a28: 71fb strb r3, [r7, #7] - 8000a2a: e013 b.n 8000a54 + 8000b02: 2300 movs r3, #0 + 8000b04: 71fb strb r3, [r7, #7] + 8000b06: e013 b.n 8000b30 if(PORT_DEPTH[i]) - 8000a30: f832 3013 ldrh.w r3, [r2, r3, lsl #1] - 8000a34: 89fa ldrh r2, [r7, #14] - 8000a36: 429a cmp r2, r3 - 8000a38: d909 bls.n 8000a4e + 8000b08: 79fb ldrb r3, [r7, #7] + 8000b0a: 4a13 ldr r2, [pc, #76] @ (8000b58 ) + 8000b0c: f832 3013 ldrh.w r3, [r2, r3, lsl #1] + 8000b10: 89fa ldrh r2, [r7, #14] + 8000b12: 429a cmp r2, r3 + 8000b14: d909 bls.n 8000b2a least_port = PORTS[i]; - 8000a3a: 79fb ldrb r3, [r7, #7] - 8000a3c: 4a10 ldr r2, [pc, #64] @ (8000a80 ) - 8000a3e: f852 3023 ldr.w r3, [r2, r3, lsl #2] - 8000a42: 60bb str r3, [r7, #8] + 8000b16: 79fb ldrb r3, [r7, #7] + 8000b18: 4a10 ldr r2, [pc, #64] @ (8000b5c ) + 8000b1a: f852 3023 ldr.w r3, [r2, r3, lsl #2] + 8000b1e: 60bb str r3, [r7, #8] least_val = PORT_DEPTH[i]; - 8000a44: 79fb ldrb r3, [r7, #7] - 8000a46: 4a0d ldr r2, [pc, #52] @ (8000a7c ) - 8000a48: f832 3013 ldrh.w r3, [r2, r3, lsl #1] - 8000a4c: 81fb strh r3, [r7, #14] + 8000b20: 79fb ldrb r3, [r7, #7] + 8000b22: 4a0d ldr r2, [pc, #52] @ (8000b58 ) + 8000b24: f832 3013 ldrh.w r3, [r2, r3, lsl #1] + 8000b28: 81fb strh r3, [r7, #14] for(uint8_t i = 0; i < 4; i++){ - 8000a4e: 79fb ldrb r3, [r7, #7] - 8000a50: 3301 adds r3, #1 - 8000a52: 71fb strb r3, [r7, #7] - 8000a54: 79fb ldrb r3, [r7, #7] - 8000a56: 2b03 cmp r3, #3 - 8000a58: d9e8 bls.n 8000a2c + 8000b2a: 79fb ldrb r3, [r7, #7] + 8000b2c: 3301 adds r3, #1 + 8000b2e: 71fb strb r3, [r7, #7] + 8000b30: 79fb ldrb r3, [r7, #7] + 8000b32: 2b03 cmp r3, #3 + 8000b34: d9e8 bls.n 8000b08 } } //Assign if valid if(least_val < 0xFF){ - 8000a5a: 89fb ldrh r3, [r7, #14] - 8000a5c: 2bfe cmp r3, #254 @ 0xfe - 8000a5e: d807 bhi.n 8000a70 + 8000b36: 89fb ldrh r3, [r7, #14] + 8000b38: 2bfe cmp r3, #254 @ 0xfe + 8000b3a: d807 bhi.n 8000b4c PARENT = least_port; - 8000a60: 4a08 ldr r2, [pc, #32] @ (8000a84 ) - 8000a62: 68bb ldr r3, [r7, #8] - 8000a64: 6013 str r3, [r2, #0] + 8000b3c: 4a08 ldr r2, [pc, #32] @ (8000b60 ) + 8000b3e: 68bb ldr r3, [r7, #8] + 8000b40: 6013 str r3, [r2, #0] DEPTH = least_val + 1; - 8000a66: 89fb ldrh r3, [r7, #14] - 8000a68: 3301 adds r3, #1 - 8000a6a: b29a uxth r2, r3 - 8000a6c: 4b06 ldr r3, [pc, #24] @ (8000a88 ) - 8000a6e: 801a strh r2, [r3, #0] + 8000b42: 89fb ldrh r3, [r7, #14] + 8000b44: 3301 adds r3, #1 + 8000b46: b29a uxth r2, r3 + 8000b48: 4b06 ldr r3, [pc, #24] @ (8000b64 ) + 8000b4a: 801a strh r2, [r3, #0] } } - 8000a70: bf00 nop - 8000a72: 3714 adds r7, #20 - 8000a74: 46bd mov sp, r7 - 8000a76: f85d 7b04 ldr.w r7, [sp], #4 - 8000a7a: 4770 bx lr - 8000a7c: 20000078 .word 0x20000078 - 8000a80: 20000080 .word 0x20000080 - 8000a84: 2000023c .word 0x2000023c - 8000a88: 2000023a .word 0x2000023a + 8000b4c: bf00 nop + 8000b4e: 3714 adds r7, #20 + 8000b50: 46bd mov sp, r7 + 8000b52: f85d 7b04 ldr.w r7, [sp], #4 + 8000b56: 4770 bx lr + 8000b58: 20000078 .word 0x20000078 + 8000b5c: 20000080 .word 0x20000080 + 8000b60: 20000264 .word 0x20000264 + 8000b64: 20000260 .word 0x20000260 -08000a8c : -//TODO: A function that gets called by RX Interrupt to handle messages that get sent -void handleUARTMessages(uint8_t *data, UART_HandleTypeDef *sender){ - //TODO: Handle messages coming from devices based on the message type... +08000b68 : + +// Called when UART RX interrupt completes +void handleUARTMessages(uint8_t *data, UART_HandleTypeDef *sender) { + 8000b68: b580 push {r7, lr} + 8000b6a: b08a sub sp, #40 @ 0x28 + 8000b6c: af00 add r7, sp, #0 + 8000b6e: 6078 str r0, [r7, #4] + 8000b70: 6039 str r1, [r7, #0] + UARTMessage msg; + UARTMessage reply; + + // Parse incoming message into struct + memcpy(&msg, data, sizeof(UARTMessage)); + 8000b72: f107 0318 add.w r3, r7, #24 + 8000b76: 2210 movs r2, #16 + 8000b78: 6879 ldr r1, [r7, #4] + 8000b7a: 4618 mov r0, r3 + 8000b7c: f009 ffbc bl 800aaf8 + + switch(msg.TYPE) { + 8000b80: 8b7b ldrh r3, [r7, #26] + 8000b82: 2baa cmp r3, #170 @ 0xaa + 8000b84: d002 beq.n 8000b8c + 8000b86: 2bff cmp r3, #255 @ 0xff + 8000b88: d020 beq.n 8000bcc + + HAL_UART_Transmit(sender, (uint8_t*)&reply, sizeof(reply), HAL_MAX_DELAY); + break; + + } } + 8000b8a: e036 b.n 8000bfa + if(sender == &huart5) { + 8000b8c: 683b ldr r3, [r7, #0] + 8000b8e: 4a1d ldr r2, [pc, #116] @ (8000c04 ) + 8000b90: 4293 cmp r3, r2 + 8000b92: d103 bne.n 8000b9c + PORT_DEPTH[0] = msg.DEPTH; + 8000b94: 8b3a ldrh r2, [r7, #24] + 8000b96: 4b1c ldr r3, [pc, #112] @ (8000c08 ) + 8000b98: 801a strh r2, [r3, #0] + break; + 8000b9a: e02d b.n 8000bf8 + } else if(sender == &huart1) { + 8000b9c: 683b ldr r3, [r7, #0] + 8000b9e: 4a1b ldr r2, [pc, #108] @ (8000c0c ) + 8000ba0: 4293 cmp r3, r2 + 8000ba2: d103 bne.n 8000bac + PORT_DEPTH[1] = msg.DEPTH; + 8000ba4: 8b3a ldrh r2, [r7, #24] + 8000ba6: 4b18 ldr r3, [pc, #96] @ (8000c08 ) + 8000ba8: 805a strh r2, [r3, #2] + break; + 8000baa: e025 b.n 8000bf8 + } else if(sender == &huart2) { + 8000bac: 683b ldr r3, [r7, #0] + 8000bae: 4a18 ldr r2, [pc, #96] @ (8000c10 ) + 8000bb0: 4293 cmp r3, r2 + 8000bb2: d103 bne.n 8000bbc + PORT_DEPTH[2] = msg.DEPTH; + 8000bb4: 8b3a ldrh r2, [r7, #24] + 8000bb6: 4b14 ldr r3, [pc, #80] @ (8000c08 ) + 8000bb8: 809a strh r2, [r3, #4] + break; + 8000bba: e01d b.n 8000bf8 + } else if(sender == &huart4) { + 8000bbc: 683b ldr r3, [r7, #0] + 8000bbe: 4a15 ldr r2, [pc, #84] @ (8000c14 ) + 8000bc0: 4293 cmp r3, r2 + 8000bc2: d119 bne.n 8000bf8 + PORT_DEPTH[3] = msg.DEPTH; + 8000bc4: 8b3a ldrh r2, [r7, #24] + 8000bc6: 4b10 ldr r3, [pc, #64] @ (8000c08 ) + 8000bc8: 80da strh r2, [r3, #6] + break; + 8000bca: e015 b.n 8000bf8 + reply.TYPE = 0xAA; + 8000bcc: 23aa movs r3, #170 @ 0xaa + 8000bce: 817b strh r3, [r7, #10] + reply.DEPTH = DEPTH; // use your local DEPTH + 8000bd0: 4b11 ldr r3, [pc, #68] @ (8000c18 ) + 8000bd2: 881b ldrh r3, [r3, #0] + 8000bd4: 813b strh r3, [r7, #8] + memset(reply.KEYPRESS, 0, sizeof(reply.KEYPRESS)); + 8000bd6: f107 0308 add.w r3, r7, #8 + 8000bda: 3304 adds r3, #4 + 8000bdc: 220c movs r2, #12 + 8000bde: 2100 movs r1, #0 + 8000be0: 4618 mov r0, r3 + 8000be2: f009 ff5d bl 800aaa0 + HAL_UART_Transmit(sender, (uint8_t*)&reply, sizeof(reply), HAL_MAX_DELAY); + 8000be6: f107 0108 add.w r1, r7, #8 + 8000bea: f04f 33ff mov.w r3, #4294967295 @ 0xffffffff + 8000bee: 2210 movs r2, #16 + 8000bf0: 6838 ldr r0, [r7, #0] + 8000bf2: f004 ff43 bl 8005a7c + break; + 8000bf6: e000 b.n 8000bfa + break; + 8000bf8: bf00 nop +} + 8000bfa: bf00 nop + 8000bfc: 3728 adds r7, #40 @ 0x28 + 8000bfe: 46bd mov sp, r7 + 8000c00: bd80 pop {r7, pc} + 8000c02: bf00 nop + 8000c04: 20000344 .word 0x20000344 + 8000c08: 20000078 .word 0x20000078 + 8000c0c: 2000038c .word 0x2000038c + 8000c10: 200003d4 .word 0x200003d4 + 8000c14: 200002fc .word 0x200002fc + 8000c18: 20000260 .word 0x20000260 + +08000c1c : + void addUSBReport(uint8_t usageID){ - 8000a8c: b480 push {r7} - 8000a8e: b085 sub sp, #20 - 8000a90: af00 add r7, sp, #0 - 8000a92: 4603 mov r3, r0 - 8000a94: 71fb strb r3, [r7, #7] + 8000c1c: b480 push {r7} + 8000c1e: b085 sub sp, #20 + 8000c20: af00 add r7, sp, #0 + 8000c22: 4603 mov r3, r0 + 8000c24: 71fb strb r3, [r7, #7] if(usageID < 0x04 || usageID > 0x73) return; //Usage ID is out of bounds - 8000a96: 79fb ldrb r3, [r7, #7] - 8000a98: 2b03 cmp r3, #3 - 8000a9a: d922 bls.n 8000ae2 - 8000a9c: 79fb ldrb r3, [r7, #7] - 8000a9e: 2b73 cmp r3, #115 @ 0x73 - 8000aa0: d81f bhi.n 8000ae2 + 8000c26: 79fb ldrb r3, [r7, #7] + 8000c28: 2b03 cmp r3, #3 + 8000c2a: d922 bls.n 8000c72 + 8000c2c: 79fb ldrb r3, [r7, #7] + 8000c2e: 2b73 cmp r3, #115 @ 0x73 + 8000c30: d81f bhi.n 8000c72 uint16_t bit_index = usageID - 0x04; //Offset, UsageID starts with 0x04. Gives us the actual value of the bit - 8000aa2: 79fb ldrb r3, [r7, #7] - 8000aa4: b29b uxth r3, r3 - 8000aa6: 3b04 subs r3, #4 - 8000aa8: 81fb strh r3, [r7, #14] + 8000c32: 79fb ldrb r3, [r7, #7] + 8000c34: b29b uxth r3, r3 + 8000c36: 3b04 subs r3, #4 + 8000c38: 81fb strh r3, [r7, #14] uint8_t byte_index = bit_index/8; //Calculates which byte in the REPORT array - 8000aaa: 89fb ldrh r3, [r7, #14] - 8000aac: 08db lsrs r3, r3, #3 - 8000aae: b29b uxth r3, r3 - 8000ab0: 737b strb r3, [r7, #13] + 8000c3a: 89fb ldrh r3, [r7, #14] + 8000c3c: 08db lsrs r3, r3, #3 + 8000c3e: b29b uxth r3, r3 + 8000c40: 737b strb r3, [r7, #13] uint8_t bit_offset = bit_index%8; //Calculates which bits in the REPORT[byte_index] should be set/unset - 8000ab2: 89fb ldrh r3, [r7, #14] - 8000ab4: b2db uxtb r3, r3 - 8000ab6: f003 0307 and.w r3, r3, #7 - 8000aba: 733b strb r3, [r7, #12] + 8000c42: 89fb ldrh r3, [r7, #14] + 8000c44: b2db uxtb r3, r3 + 8000c46: f003 0307 and.w r3, r3, #7 + 8000c4a: 733b strb r3, [r7, #12] REPORT.KEYPRESS[byte_index] |= (1 << bit_offset); - 8000abc: 7b7b ldrb r3, [r7, #13] - 8000abe: 4a0c ldr r2, [pc, #48] @ (8000af0 ) - 8000ac0: 4413 add r3, r2 - 8000ac2: 789b ldrb r3, [r3, #2] - 8000ac4: b25a sxtb r2, r3 - 8000ac6: 7b3b ldrb r3, [r7, #12] - 8000ac8: 2101 movs r1, #1 - 8000aca: fa01 f303 lsl.w r3, r1, r3 - 8000ace: b25b sxtb r3, r3 - 8000ad0: 4313 orrs r3, r2 - 8000ad2: b25a sxtb r2, r3 - 8000ad4: 7b7b ldrb r3, [r7, #13] - 8000ad6: b2d1 uxtb r1, r2 - 8000ad8: 4a05 ldr r2, [pc, #20] @ (8000af0 ) - 8000ada: 4413 add r3, r2 - 8000adc: 460a mov r2, r1 - 8000ade: 709a strb r2, [r3, #2] - 8000ae0: e000 b.n 8000ae4 + 8000c4c: 7b7b ldrb r3, [r7, #13] + 8000c4e: 4a0c ldr r2, [pc, #48] @ (8000c80 ) + 8000c50: 4413 add r3, r2 + 8000c52: 789b ldrb r3, [r3, #2] + 8000c54: b25a sxtb r2, r3 + 8000c56: 7b3b ldrb r3, [r7, #12] + 8000c58: 2101 movs r1, #1 + 8000c5a: fa01 f303 lsl.w r3, r1, r3 + 8000c5e: b25b sxtb r3, r3 + 8000c60: 4313 orrs r3, r2 + 8000c62: b25a sxtb r2, r3 + 8000c64: 7b7b ldrb r3, [r7, #13] + 8000c66: b2d1 uxtb r1, r2 + 8000c68: 4a05 ldr r2, [pc, #20] @ (8000c80 ) + 8000c6a: 4413 add r3, r2 + 8000c6c: 460a mov r2, r1 + 8000c6e: 709a strb r2, [r3, #2] + 8000c70: e000 b.n 8000c74 if(usageID < 0x04 || usageID > 0x73) return; //Usage ID is out of bounds - 8000ae2: bf00 nop + 8000c72: bf00 nop } - 8000ae4: 3714 adds r7, #20 - 8000ae6: 46bd mov sp, r7 - 8000ae8: f85d 7b04 ldr.w r7, [sp], #4 - 8000aec: 4770 bx lr - 8000aee: bf00 nop - 8000af0: 2000022c .word 0x2000022c + 8000c74: 3714 adds r7, #20 + 8000c76: 46bd mov sp, r7 + 8000c78: f85d 7b04 ldr.w r7, [sp], #4 + 8000c7c: 4770 bx lr + 8000c7e: bf00 nop + 8000c80: 20000210 .word 0x20000210 -08000af4 : +08000c84 : void matrixScan(void){ - 8000af4: b580 push {r7, lr} - 8000af6: b082 sub sp, #8 - 8000af8: af00 add r7, sp, #0 + 8000c84: b580 push {r7, lr} + 8000c86: b082 sub sp, #8 + 8000c88: af00 add r7, sp, #0 for (uint8_t col = 0; col < COL; col++){ - 8000afa: 2300 movs r3, #0 - 8000afc: 71fb strb r3, [r7, #7] - 8000afe: e044 b.n 8000b8a + 8000c8a: 2300 movs r3, #0 + 8000c8c: 71fb strb r3, [r7, #7] + 8000c8e: e044 b.n 8000d1a HAL_GPIO_WritePin(COLUMN_PINS[col].GPIOx, COLUMN_PINS[col].PIN, GPIO_PIN_SET); - 8000b00: 79fb ldrb r3, [r7, #7] - 8000b02: 4a26 ldr r2, [pc, #152] @ (8000b9c ) - 8000b04: f852 0033 ldr.w r0, [r2, r3, lsl #3] - 8000b08: 79fb ldrb r3, [r7, #7] - 8000b0a: 4a24 ldr r2, [pc, #144] @ (8000b9c ) - 8000b0c: 00db lsls r3, r3, #3 - 8000b0e: 4413 add r3, r2 - 8000b10: 889b ldrh r3, [r3, #4] - 8000b12: 2201 movs r2, #1 - 8000b14: 4619 mov r1, r3 - 8000b16: f001 fd7f bl 8002618 + 8000c90: 79fb ldrb r3, [r7, #7] + 8000c92: 4a26 ldr r2, [pc, #152] @ (8000d2c ) + 8000c94: f852 0033 ldr.w r0, [r2, r3, lsl #3] + 8000c98: 79fb ldrb r3, [r7, #7] + 8000c9a: 4a24 ldr r2, [pc, #144] @ (8000d2c ) + 8000c9c: 00db lsls r3, r3, #3 + 8000c9e: 4413 add r3, r2 + 8000ca0: 889b ldrh r3, [r3, #4] + 8000ca2: 2201 movs r2, #1 + 8000ca4: 4619 mov r1, r3 + 8000ca6: f001 fd7f bl 80027a8 HAL_Delay(1); - 8000b1a: 2001 movs r0, #1 - 8000b1c: f000 fe98 bl 8001850 + 8000caa: 2001 movs r0, #1 + 8000cac: f000 fe98 bl 80019e0 for(uint8_t row = 0; row < ROW; row++){ - 8000b20: 2300 movs r3, #0 - 8000b22: 71bb strb r3, [r7, #6] - 8000b24: e01e b.n 8000b64 + 8000cb0: 2300 movs r3, #0 + 8000cb2: 71bb strb r3, [r7, #6] + 8000cb4: e01e b.n 8000cf4 if(HAL_GPIO_ReadPin(ROW_PINS[row].GPIOx, ROW_PINS[row].PIN)){ - 8000b26: 79bb ldrb r3, [r7, #6] - 8000b28: 4a1d ldr r2, [pc, #116] @ (8000ba0 ) - 8000b2a: f852 2033 ldr.w r2, [r2, r3, lsl #3] - 8000b2e: 79bb ldrb r3, [r7, #6] - 8000b30: 491b ldr r1, [pc, #108] @ (8000ba0 ) - 8000b32: 00db lsls r3, r3, #3 - 8000b34: 440b add r3, r1 - 8000b36: 889b ldrh r3, [r3, #4] - 8000b38: 4619 mov r1, r3 - 8000b3a: 4610 mov r0, r2 - 8000b3c: f001 fd54 bl 80025e8 - 8000b40: 4603 mov r3, r0 - 8000b42: 2b00 cmp r3, #0 - 8000b44: d00b beq.n 8000b5e + 8000cb6: 79bb ldrb r3, [r7, #6] + 8000cb8: 4a1d ldr r2, [pc, #116] @ (8000d30 ) + 8000cba: f852 2033 ldr.w r2, [r2, r3, lsl #3] + 8000cbe: 79bb ldrb r3, [r7, #6] + 8000cc0: 491b ldr r1, [pc, #108] @ (8000d30 ) + 8000cc2: 00db lsls r3, r3, #3 + 8000cc4: 440b add r3, r1 + 8000cc6: 889b ldrh r3, [r3, #4] + 8000cc8: 4619 mov r1, r3 + 8000cca: 4610 mov r0, r2 + 8000ccc: f001 fd54 bl 8002778 + 8000cd0: 4603 mov r3, r0 + 8000cd2: 2b00 cmp r3, #0 + 8000cd4: d00b beq.n 8000cee addUSBReport(KEYCODES[row][col]); - 8000b46: 79ba ldrb r2, [r7, #6] - 8000b48: 79f9 ldrb r1, [r7, #7] - 8000b4a: 4816 ldr r0, [pc, #88] @ (8000ba4 ) - 8000b4c: 4613 mov r3, r2 - 8000b4e: 009b lsls r3, r3, #2 - 8000b50: 4413 add r3, r2 - 8000b52: 4403 add r3, r0 - 8000b54: 440b add r3, r1 - 8000b56: 781b ldrb r3, [r3, #0] - 8000b58: 4618 mov r0, r3 - 8000b5a: f7ff ff97 bl 8000a8c + 8000cd6: 79ba ldrb r2, [r7, #6] + 8000cd8: 79f9 ldrb r1, [r7, #7] + 8000cda: 4816 ldr r0, [pc, #88] @ (8000d34 ) + 8000cdc: 4613 mov r3, r2 + 8000cde: 009b lsls r3, r3, #2 + 8000ce0: 4413 add r3, r2 + 8000ce2: 4403 add r3, r0 + 8000ce4: 440b add r3, r1 + 8000ce6: 781b ldrb r3, [r3, #0] + 8000ce8: 4618 mov r0, r3 + 8000cea: f7ff ff97 bl 8000c1c for(uint8_t row = 0; row < ROW; row++){ - 8000b5e: 79bb ldrb r3, [r7, #6] - 8000b60: 3301 adds r3, #1 - 8000b62: 71bb strb r3, [r7, #6] - 8000b64: 79bb ldrb r3, [r7, #6] - 8000b66: 2b05 cmp r3, #5 - 8000b68: d9dd bls.n 8000b26 + 8000cee: 79bb ldrb r3, [r7, #6] + 8000cf0: 3301 adds r3, #1 + 8000cf2: 71bb strb r3, [r7, #6] + 8000cf4: 79bb ldrb r3, [r7, #6] + 8000cf6: 2b05 cmp r3, #5 + 8000cf8: d9dd bls.n 8000cb6 } } HAL_GPIO_WritePin(COLUMN_PINS[col].GPIOx, COLUMN_PINS[col].PIN, GPIO_PIN_RESET); - 8000b6a: 79fb ldrb r3, [r7, #7] - 8000b6c: 4a0b ldr r2, [pc, #44] @ (8000b9c ) - 8000b6e: f852 0033 ldr.w r0, [r2, r3, lsl #3] - 8000b72: 79fb ldrb r3, [r7, #7] - 8000b74: 4a09 ldr r2, [pc, #36] @ (8000b9c ) - 8000b76: 00db lsls r3, r3, #3 - 8000b78: 4413 add r3, r2 - 8000b7a: 889b ldrh r3, [r3, #4] - 8000b7c: 2200 movs r2, #0 - 8000b7e: 4619 mov r1, r3 - 8000b80: f001 fd4a bl 8002618 + 8000cfa: 79fb ldrb r3, [r7, #7] + 8000cfc: 4a0b ldr r2, [pc, #44] @ (8000d2c ) + 8000cfe: f852 0033 ldr.w r0, [r2, r3, lsl #3] + 8000d02: 79fb ldrb r3, [r7, #7] + 8000d04: 4a09 ldr r2, [pc, #36] @ (8000d2c ) + 8000d06: 00db lsls r3, r3, #3 + 8000d08: 4413 add r3, r2 + 8000d0a: 889b ldrh r3, [r3, #4] + 8000d0c: 2200 movs r2, #0 + 8000d0e: 4619 mov r1, r3 + 8000d10: f001 fd4a bl 80027a8 for (uint8_t col = 0; col < COL; col++){ - 8000b84: 79fb ldrb r3, [r7, #7] - 8000b86: 3301 adds r3, #1 - 8000b88: 71fb strb r3, [r7, #7] - 8000b8a: 79fb ldrb r3, [r7, #7] - 8000b8c: 2b04 cmp r3, #4 - 8000b8e: d9b7 bls.n 8000b00 + 8000d14: 79fb ldrb r3, [r7, #7] + 8000d16: 3301 adds r3, #1 + 8000d18: 71fb strb r3, [r7, #7] + 8000d1a: 79fb ldrb r3, [r7, #7] + 8000d1c: 2b04 cmp r3, #4 + 8000d1e: d9b7 bls.n 8000c90 } } - 8000b90: bf00 nop - 8000b92: bf00 nop - 8000b94: 3708 adds r7, #8 - 8000b96: 46bd mov sp, r7 - 8000b98: bd80 pop {r7, pc} - 8000b9a: bf00 nop - 8000b9c: 20000030 .word 0x20000030 - 8000ba0: 20000000 .word 0x20000000 - 8000ba4: 20000058 .word 0x20000058 + 8000d20: bf00 nop + 8000d22: bf00 nop + 8000d24: 3708 adds r7, #8 + 8000d26: 46bd mov sp, r7 + 8000d28: bd80 pop {r7, pc} + 8000d2a: bf00 nop + 8000d2c: 20000030 .word 0x20000030 + 8000d30: 20000000 .word 0x20000000 + 8000d34: 20000058 .word 0x20000058 -08000ba8 : +08000d38 : void resetReport(void){ - 8000ba8: b580 push {r7, lr} - 8000baa: af00 add r7, sp, #0 + 8000d38: b580 push {r7, lr} + 8000d3a: af00 add r7, sp, #0 REPORT.MODIFIER = 0; - 8000bac: 4b04 ldr r3, [pc, #16] @ (8000bc0 ) - 8000bae: 2200 movs r2, #0 - 8000bb0: 701a strb r2, [r3, #0] + 8000d3c: 4b04 ldr r3, [pc, #16] @ (8000d50 ) + 8000d3e: 2200 movs r2, #0 + 8000d40: 701a strb r2, [r3, #0] memset(REPORT.KEYPRESS, 0, sizeof(REPORT.KEYPRESS)); - 8000bb2: 220c movs r2, #12 - 8000bb4: 2100 movs r1, #0 - 8000bb6: 4803 ldr r0, [pc, #12] @ (8000bc4 ) - 8000bb8: f009 fc3c bl 800a434 + 8000d42: 220c movs r2, #12 + 8000d44: 2100 movs r1, #0 + 8000d46: 4803 ldr r0, [pc, #12] @ (8000d54 ) + 8000d48: f009 feaa bl 800aaa0 } - 8000bbc: bf00 nop - 8000bbe: bd80 pop {r7, pc} - 8000bc0: 2000022c .word 0x2000022c - 8000bc4: 2000022e .word 0x2000022e + 8000d4c: bf00 nop + 8000d4e: bd80 pop {r7, pc} + 8000d50: 20000210 .word 0x20000210 + 8000d54: 20000212 .word 0x20000212 -08000bc8 : +08000d58 : /** * @brief This function is executed in case of error occurrence. * @retval None */ void Error_Handler(void) { - 8000bc8: b480 push {r7} - 8000bca: af00 add r7, sp, #0 + 8000d58: b480 push {r7} + 8000d5a: af00 add r7, sp, #0 \details Disables IRQ interrupts by setting special-purpose register PRIMASK. Can only be executed in Privileged modes. */ __STATIC_FORCEINLINE void __disable_irq(void) { __ASM volatile ("cpsid i" : : : "memory"); - 8000bcc: b672 cpsid i + 8000d5c: b672 cpsid i } - 8000bce: bf00 nop + 8000d5e: bf00 nop /* USER CODE BEGIN Error_Handler_Debug */ /* User can add his own implementation to report the HAL error return state */ __disable_irq(); while (1) - 8000bd0: bf00 nop - 8000bd2: e7fd b.n 8000bd0 + 8000d60: bf00 nop + 8000d62: e7fd b.n 8000d60 -08000bd4 : +08000d64 : /* USER CODE END 0 */ /** * Initializes the Global MSP. */ void HAL_MspInit(void) { - 8000bd4: b480 push {r7} - 8000bd6: b083 sub sp, #12 - 8000bd8: af00 add r7, sp, #0 + 8000d64: b480 push {r7} + 8000d66: b083 sub sp, #12 + 8000d68: af00 add r7, sp, #0 /* USER CODE BEGIN MspInit 0 */ /* USER CODE END MspInit 0 */ __HAL_RCC_SYSCFG_CLK_ENABLE(); - 8000bda: 2300 movs r3, #0 - 8000bdc: 607b str r3, [r7, #4] - 8000bde: 4b10 ldr r3, [pc, #64] @ (8000c20 ) - 8000be0: 6c5b ldr r3, [r3, #68] @ 0x44 - 8000be2: 4a0f ldr r2, [pc, #60] @ (8000c20 ) - 8000be4: f443 4380 orr.w r3, r3, #16384 @ 0x4000 - 8000be8: 6453 str r3, [r2, #68] @ 0x44 - 8000bea: 4b0d ldr r3, [pc, #52] @ (8000c20 ) - 8000bec: 6c5b ldr r3, [r3, #68] @ 0x44 - 8000bee: f403 4380 and.w r3, r3, #16384 @ 0x4000 - 8000bf2: 607b str r3, [r7, #4] - 8000bf4: 687b ldr r3, [r7, #4] + 8000d6a: 2300 movs r3, #0 + 8000d6c: 607b str r3, [r7, #4] + 8000d6e: 4b10 ldr r3, [pc, #64] @ (8000db0 ) + 8000d70: 6c5b ldr r3, [r3, #68] @ 0x44 + 8000d72: 4a0f ldr r2, [pc, #60] @ (8000db0 ) + 8000d74: f443 4380 orr.w r3, r3, #16384 @ 0x4000 + 8000d78: 6453 str r3, [r2, #68] @ 0x44 + 8000d7a: 4b0d ldr r3, [pc, #52] @ (8000db0 ) + 8000d7c: 6c5b ldr r3, [r3, #68] @ 0x44 + 8000d7e: f403 4380 and.w r3, r3, #16384 @ 0x4000 + 8000d82: 607b str r3, [r7, #4] + 8000d84: 687b ldr r3, [r7, #4] __HAL_RCC_PWR_CLK_ENABLE(); - 8000bf6: 2300 movs r3, #0 - 8000bf8: 603b str r3, [r7, #0] - 8000bfa: 4b09 ldr r3, [pc, #36] @ (8000c20 ) - 8000bfc: 6c1b ldr r3, [r3, #64] @ 0x40 - 8000bfe: 4a08 ldr r2, [pc, #32] @ (8000c20 ) - 8000c00: f043 5380 orr.w r3, r3, #268435456 @ 0x10000000 - 8000c04: 6413 str r3, [r2, #64] @ 0x40 - 8000c06: 4b06 ldr r3, [pc, #24] @ (8000c20 ) - 8000c08: 6c1b ldr r3, [r3, #64] @ 0x40 - 8000c0a: f003 5380 and.w r3, r3, #268435456 @ 0x10000000 - 8000c0e: 603b str r3, [r7, #0] - 8000c10: 683b ldr r3, [r7, #0] + 8000d86: 2300 movs r3, #0 + 8000d88: 603b str r3, [r7, #0] + 8000d8a: 4b09 ldr r3, [pc, #36] @ (8000db0 ) + 8000d8c: 6c1b ldr r3, [r3, #64] @ 0x40 + 8000d8e: 4a08 ldr r2, [pc, #32] @ (8000db0 ) + 8000d90: f043 5380 orr.w r3, r3, #268435456 @ 0x10000000 + 8000d94: 6413 str r3, [r2, #64] @ 0x40 + 8000d96: 4b06 ldr r3, [pc, #24] @ (8000db0 ) + 8000d98: 6c1b ldr r3, [r3, #64] @ 0x40 + 8000d9a: f003 5380 and.w r3, r3, #268435456 @ 0x10000000 + 8000d9e: 603b str r3, [r7, #0] + 8000da0: 683b ldr r3, [r7, #0] /* System interrupt init*/ /* USER CODE BEGIN MspInit 1 */ /* USER CODE END MspInit 1 */ } - 8000c12: bf00 nop - 8000c14: 370c adds r7, #12 - 8000c16: 46bd mov sp, r7 - 8000c18: f85d 7b04 ldr.w r7, [sp], #4 - 8000c1c: 4770 bx lr - 8000c1e: bf00 nop - 8000c20: 40023800 .word 0x40023800 + 8000da2: bf00 nop + 8000da4: 370c adds r7, #12 + 8000da6: 46bd mov sp, r7 + 8000da8: f85d 7b04 ldr.w r7, [sp], #4 + 8000dac: 4770 bx lr + 8000dae: bf00 nop + 8000db0: 40023800 .word 0x40023800 -08000c24 : +08000db4 : /******************************************************************************/ /** * @brief This function handles Non maskable interrupt. */ void NMI_Handler(void) { - 8000c24: b480 push {r7} - 8000c26: af00 add r7, sp, #0 + 8000db4: b480 push {r7} + 8000db6: af00 add r7, sp, #0 /* USER CODE BEGIN NonMaskableInt_IRQn 0 */ /* USER CODE END NonMaskableInt_IRQn 0 */ /* USER CODE BEGIN NonMaskableInt_IRQn 1 */ while (1) - 8000c28: bf00 nop - 8000c2a: e7fd b.n 8000c28 + 8000db8: bf00 nop + 8000dba: e7fd b.n 8000db8 -08000c2c : +08000dbc : /** * @brief This function handles Hard fault interrupt. */ void HardFault_Handler(void) { - 8000c2c: b480 push {r7} - 8000c2e: af00 add r7, sp, #0 + 8000dbc: b480 push {r7} + 8000dbe: af00 add r7, sp, #0 /* USER CODE BEGIN HardFault_IRQn 0 */ /* USER CODE END HardFault_IRQn 0 */ while (1) - 8000c30: bf00 nop - 8000c32: e7fd b.n 8000c30 + 8000dc0: bf00 nop + 8000dc2: e7fd b.n 8000dc0 -08000c34 : +08000dc4 : /** * @brief This function handles Memory management fault. */ void MemManage_Handler(void) { - 8000c34: b480 push {r7} - 8000c36: af00 add r7, sp, #0 + 8000dc4: b480 push {r7} + 8000dc6: af00 add r7, sp, #0 /* USER CODE BEGIN MemoryManagement_IRQn 0 */ /* USER CODE END MemoryManagement_IRQn 0 */ while (1) - 8000c38: bf00 nop - 8000c3a: e7fd b.n 8000c38 + 8000dc8: bf00 nop + 8000dca: e7fd b.n 8000dc8 -08000c3c : +08000dcc : /** * @brief This function handles Pre-fetch fault, memory access fault. */ void BusFault_Handler(void) { - 8000c3c: b480 push {r7} - 8000c3e: af00 add r7, sp, #0 + 8000dcc: b480 push {r7} + 8000dce: af00 add r7, sp, #0 /* USER CODE BEGIN BusFault_IRQn 0 */ /* USER CODE END BusFault_IRQn 0 */ while (1) - 8000c40: bf00 nop - 8000c42: e7fd b.n 8000c40 + 8000dd0: bf00 nop + 8000dd2: e7fd b.n 8000dd0 -08000c44 : +08000dd4 : /** * @brief This function handles Undefined instruction or illegal state. */ void UsageFault_Handler(void) { - 8000c44: b480 push {r7} - 8000c46: af00 add r7, sp, #0 + 8000dd4: b480 push {r7} + 8000dd6: af00 add r7, sp, #0 /* USER CODE BEGIN UsageFault_IRQn 0 */ /* USER CODE END UsageFault_IRQn 0 */ while (1) - 8000c48: bf00 nop - 8000c4a: e7fd b.n 8000c48 + 8000dd8: bf00 nop + 8000dda: e7fd b.n 8000dd8 -08000c4c : +08000ddc : /** * @brief This function handles System service call via SWI instruction. */ void SVC_Handler(void) { - 8000c4c: b480 push {r7} - 8000c4e: af00 add r7, sp, #0 + 8000ddc: b480 push {r7} + 8000dde: af00 add r7, sp, #0 /* USER CODE END SVCall_IRQn 0 */ /* USER CODE BEGIN SVCall_IRQn 1 */ /* USER CODE END SVCall_IRQn 1 */ } - 8000c50: bf00 nop - 8000c52: 46bd mov sp, r7 - 8000c54: f85d 7b04 ldr.w r7, [sp], #4 - 8000c58: 4770 bx lr + 8000de0: bf00 nop + 8000de2: 46bd mov sp, r7 + 8000de4: f85d 7b04 ldr.w r7, [sp], #4 + 8000de8: 4770 bx lr -08000c5a : +08000dea : /** * @brief This function handles Debug monitor. */ void DebugMon_Handler(void) { - 8000c5a: b480 push {r7} - 8000c5c: af00 add r7, sp, #0 + 8000dea: b480 push {r7} + 8000dec: af00 add r7, sp, #0 /* USER CODE END DebugMonitor_IRQn 0 */ /* USER CODE BEGIN DebugMonitor_IRQn 1 */ /* USER CODE END DebugMonitor_IRQn 1 */ } - 8000c5e: bf00 nop - 8000c60: 46bd mov sp, r7 - 8000c62: f85d 7b04 ldr.w r7, [sp], #4 - 8000c66: 4770 bx lr + 8000dee: bf00 nop + 8000df0: 46bd mov sp, r7 + 8000df2: f85d 7b04 ldr.w r7, [sp], #4 + 8000df6: 4770 bx lr -08000c68 : +08000df8 : /** * @brief This function handles Pendable request for system service. */ void PendSV_Handler(void) { - 8000c68: b480 push {r7} - 8000c6a: af00 add r7, sp, #0 + 8000df8: b480 push {r7} + 8000dfa: af00 add r7, sp, #0 /* USER CODE END PendSV_IRQn 0 */ /* USER CODE BEGIN PendSV_IRQn 1 */ /* USER CODE END PendSV_IRQn 1 */ } - 8000c6c: bf00 nop - 8000c6e: 46bd mov sp, r7 - 8000c70: f85d 7b04 ldr.w r7, [sp], #4 - 8000c74: 4770 bx lr + 8000dfc: bf00 nop + 8000dfe: 46bd mov sp, r7 + 8000e00: f85d 7b04 ldr.w r7, [sp], #4 + 8000e04: 4770 bx lr -08000c76 : +08000e06 : /** * @brief This function handles System tick timer. */ void SysTick_Handler(void) { - 8000c76: b580 push {r7, lr} - 8000c78: af00 add r7, sp, #0 + 8000e06: b580 push {r7, lr} + 8000e08: af00 add r7, sp, #0 /* USER CODE BEGIN SysTick_IRQn 0 */ /* USER CODE END SysTick_IRQn 0 */ HAL_IncTick(); - 8000c7a: f000 fdc9 bl 8001810 + 8000e0a: f000 fdc9 bl 80019a0 /* USER CODE BEGIN SysTick_IRQn 1 */ /* USER CODE END SysTick_IRQn 1 */ } - 8000c7e: bf00 nop - 8000c80: bd80 pop {r7, pc} + 8000e0e: bf00 nop + 8000e10: bd80 pop {r7, pc} ... -08000c84 : +08000e14 : /** * @brief This function handles DMA1 stream0 global interrupt. */ void DMA1_Stream0_IRQHandler(void) { - 8000c84: b580 push {r7, lr} - 8000c86: af00 add r7, sp, #0 + 8000e14: b580 push {r7, lr} + 8000e16: af00 add r7, sp, #0 /* USER CODE BEGIN DMA1_Stream0_IRQn 0 */ /* USER CODE END DMA1_Stream0_IRQn 0 */ HAL_DMA_IRQHandler(&hdma_uart5_rx); - 8000c88: 4802 ldr r0, [pc, #8] @ (8000c94 ) - 8000c8a: f001 f8af bl 8001dec + 8000e18: 4802 ldr r0, [pc, #8] @ (8000e24 ) + 8000e1a: f001 f8af bl 8001f7c /* USER CODE BEGIN DMA1_Stream0_IRQn 1 */ /* USER CODE END DMA1_Stream0_IRQn 1 */ } - 8000c8e: bf00 nop - 8000c90: bd80 pop {r7, pc} - 8000c92: bf00 nop - 8000c94: 200004b4 .word 0x200004b4 + 8000e1e: bf00 nop + 8000e20: bd80 pop {r7, pc} + 8000e22: bf00 nop + 8000e24: 200004dc .word 0x200004dc -08000c98 : +08000e28 : /** * @brief This function handles DMA1 stream2 global interrupt. */ void DMA1_Stream2_IRQHandler(void) { - 8000c98: b580 push {r7, lr} - 8000c9a: af00 add r7, sp, #0 + 8000e28: b580 push {r7, lr} + 8000e2a: af00 add r7, sp, #0 /* USER CODE BEGIN DMA1_Stream2_IRQn 0 */ /* USER CODE END DMA1_Stream2_IRQn 0 */ HAL_DMA_IRQHandler(&hdma_uart4_rx); - 8000c9c: 4802 ldr r0, [pc, #8] @ (8000ca8 ) - 8000c9e: f001 f8a5 bl 8001dec + 8000e2c: 4802 ldr r0, [pc, #8] @ (8000e38 ) + 8000e2e: f001 f8a5 bl 8001f7c /* USER CODE BEGIN DMA1_Stream2_IRQn 1 */ /* USER CODE END DMA1_Stream2_IRQn 1 */ } - 8000ca2: bf00 nop - 8000ca4: bd80 pop {r7, pc} - 8000ca6: bf00 nop - 8000ca8: 200003f4 .word 0x200003f4 + 8000e32: bf00 nop + 8000e34: bd80 pop {r7, pc} + 8000e36: bf00 nop + 8000e38: 2000041c .word 0x2000041c -08000cac : +08000e3c : /** * @brief This function handles DMA1 stream4 global interrupt. */ void DMA1_Stream4_IRQHandler(void) { - 8000cac: b580 push {r7, lr} - 8000cae: af00 add r7, sp, #0 + 8000e3c: b580 push {r7, lr} + 8000e3e: af00 add r7, sp, #0 /* USER CODE BEGIN DMA1_Stream4_IRQn 0 */ /* USER CODE END DMA1_Stream4_IRQn 0 */ HAL_DMA_IRQHandler(&hdma_uart4_tx); - 8000cb0: 4802 ldr r0, [pc, #8] @ (8000cbc ) - 8000cb2: f001 f89b bl 8001dec + 8000e40: 4802 ldr r0, [pc, #8] @ (8000e4c ) + 8000e42: f001 f89b bl 8001f7c /* USER CODE BEGIN DMA1_Stream4_IRQn 1 */ /* USER CODE END DMA1_Stream4_IRQn 1 */ } - 8000cb6: bf00 nop - 8000cb8: bd80 pop {r7, pc} - 8000cba: bf00 nop - 8000cbc: 20000454 .word 0x20000454 + 8000e46: bf00 nop + 8000e48: bd80 pop {r7, pc} + 8000e4a: bf00 nop + 8000e4c: 2000047c .word 0x2000047c -08000cc0 : +08000e50 : /** * @brief This function handles DMA1 stream5 global interrupt. */ void DMA1_Stream5_IRQHandler(void) { - 8000cc0: b580 push {r7, lr} - 8000cc2: af00 add r7, sp, #0 + 8000e50: b580 push {r7, lr} + 8000e52: af00 add r7, sp, #0 /* USER CODE BEGIN DMA1_Stream5_IRQn 0 */ /* USER CODE END DMA1_Stream5_IRQn 0 */ HAL_DMA_IRQHandler(&hdma_usart2_rx); - 8000cc4: 4802 ldr r0, [pc, #8] @ (8000cd0 ) - 8000cc6: f001 f891 bl 8001dec + 8000e54: 4802 ldr r0, [pc, #8] @ (8000e60 ) + 8000e56: f001 f891 bl 8001f7c /* USER CODE BEGIN DMA1_Stream5_IRQn 1 */ /* USER CODE END DMA1_Stream5_IRQn 1 */ } - 8000cca: bf00 nop - 8000ccc: bd80 pop {r7, pc} - 8000cce: bf00 nop - 8000cd0: 20000634 .word 0x20000634 + 8000e5a: bf00 nop + 8000e5c: bd80 pop {r7, pc} + 8000e5e: bf00 nop + 8000e60: 2000065c .word 0x2000065c -08000cd4 : +08000e64 : /** * @brief This function handles DMA1 stream6 global interrupt. */ void DMA1_Stream6_IRQHandler(void) { - 8000cd4: b580 push {r7, lr} - 8000cd6: af00 add r7, sp, #0 + 8000e64: b580 push {r7, lr} + 8000e66: af00 add r7, sp, #0 /* USER CODE BEGIN DMA1_Stream6_IRQn 0 */ /* USER CODE END DMA1_Stream6_IRQn 0 */ HAL_DMA_IRQHandler(&hdma_usart2_tx); - 8000cd8: 4802 ldr r0, [pc, #8] @ (8000ce4 ) - 8000cda: f001 f887 bl 8001dec + 8000e68: 4802 ldr r0, [pc, #8] @ (8000e74 ) + 8000e6a: f001 f887 bl 8001f7c /* USER CODE BEGIN DMA1_Stream6_IRQn 1 */ /* USER CODE END DMA1_Stream6_IRQn 1 */ } - 8000cde: bf00 nop - 8000ce0: bd80 pop {r7, pc} - 8000ce2: bf00 nop - 8000ce4: 20000694 .word 0x20000694 + 8000e6e: bf00 nop + 8000e70: bd80 pop {r7, pc} + 8000e72: bf00 nop + 8000e74: 200006bc .word 0x200006bc -08000ce8 : +08000e78 : /** * @brief This function handles USART1 global interrupt. */ void USART1_IRQHandler(void) { - 8000ce8: b580 push {r7, lr} - 8000cea: af00 add r7, sp, #0 + 8000e78: b580 push {r7, lr} + 8000e7a: af00 add r7, sp, #0 /* USER CODE BEGIN USART1_IRQn 0 */ /* USER CODE END USART1_IRQn 0 */ HAL_UART_IRQHandler(&huart1); - 8000cec: 4802 ldr r0, [pc, #8] @ (8000cf8 ) - 8000cee: f004 fe79 bl 80059e4 + 8000e7c: 4802 ldr r0, [pc, #8] @ (8000e88 ) + 8000e7e: f004 ff2b bl 8005cd8 /* USER CODE BEGIN USART1_IRQn 1 */ /* USER CODE END USART1_IRQn 1 */ } - 8000cf2: bf00 nop - 8000cf4: bd80 pop {r7, pc} - 8000cf6: bf00 nop - 8000cf8: 20000364 .word 0x20000364 + 8000e82: bf00 nop + 8000e84: bd80 pop {r7, pc} + 8000e86: bf00 nop + 8000e88: 2000038c .word 0x2000038c -08000cfc : +08000e8c : /** * @brief This function handles USART2 global interrupt. */ void USART2_IRQHandler(void) { - 8000cfc: b580 push {r7, lr} - 8000cfe: af00 add r7, sp, #0 + 8000e8c: b580 push {r7, lr} + 8000e8e: af00 add r7, sp, #0 /* USER CODE BEGIN USART2_IRQn 0 */ /* USER CODE END USART2_IRQn 0 */ HAL_UART_IRQHandler(&huart2); - 8000d00: 4802 ldr r0, [pc, #8] @ (8000d0c ) - 8000d02: f004 fe6f bl 80059e4 + 8000e90: 4802 ldr r0, [pc, #8] @ (8000e9c ) + 8000e92: f004 ff21 bl 8005cd8 /* USER CODE BEGIN USART2_IRQn 1 */ /* USER CODE END USART2_IRQn 1 */ } - 8000d06: bf00 nop - 8000d08: bd80 pop {r7, pc} - 8000d0a: bf00 nop - 8000d0c: 200003ac .word 0x200003ac + 8000e96: bf00 nop + 8000e98: bd80 pop {r7, pc} + 8000e9a: bf00 nop + 8000e9c: 200003d4 .word 0x200003d4 -08000d10 : +08000ea0 : /** * @brief This function handles DMA1 stream7 global interrupt. */ void DMA1_Stream7_IRQHandler(void) { - 8000d10: b580 push {r7, lr} - 8000d12: af00 add r7, sp, #0 + 8000ea0: b580 push {r7, lr} + 8000ea2: af00 add r7, sp, #0 /* USER CODE BEGIN DMA1_Stream7_IRQn 0 */ /* USER CODE END DMA1_Stream7_IRQn 0 */ HAL_DMA_IRQHandler(&hdma_uart5_tx); - 8000d14: 4802 ldr r0, [pc, #8] @ (8000d20 ) - 8000d16: f001 f869 bl 8001dec + 8000ea4: 4802 ldr r0, [pc, #8] @ (8000eb0 ) + 8000ea6: f001 f869 bl 8001f7c /* USER CODE BEGIN DMA1_Stream7_IRQn 1 */ /* USER CODE END DMA1_Stream7_IRQn 1 */ } - 8000d1a: bf00 nop - 8000d1c: bd80 pop {r7, pc} - 8000d1e: bf00 nop - 8000d20: 20000514 .word 0x20000514 + 8000eaa: bf00 nop + 8000eac: bd80 pop {r7, pc} + 8000eae: bf00 nop + 8000eb0: 2000053c .word 0x2000053c -08000d24 : +08000eb4 : /** * @brief This function handles UART4 global interrupt. */ void UART4_IRQHandler(void) { - 8000d24: b580 push {r7, lr} - 8000d26: af00 add r7, sp, #0 + 8000eb4: b580 push {r7, lr} + 8000eb6: af00 add r7, sp, #0 /* USER CODE BEGIN UART4_IRQn 0 */ /* USER CODE END UART4_IRQn 0 */ HAL_UART_IRQHandler(&huart4); - 8000d28: 4802 ldr r0, [pc, #8] @ (8000d34 ) - 8000d2a: f004 fe5b bl 80059e4 + 8000eb8: 4802 ldr r0, [pc, #8] @ (8000ec4 ) + 8000eba: f004 ff0d bl 8005cd8 /* USER CODE BEGIN UART4_IRQn 1 */ /* USER CODE END UART4_IRQn 1 */ } - 8000d2e: bf00 nop - 8000d30: bd80 pop {r7, pc} - 8000d32: bf00 nop - 8000d34: 200002d4 .word 0x200002d4 + 8000ebe: bf00 nop + 8000ec0: bd80 pop {r7, pc} + 8000ec2: bf00 nop + 8000ec4: 200002fc .word 0x200002fc -08000d38 : +08000ec8 : /** * @brief This function handles UART5 global interrupt. */ void UART5_IRQHandler(void) { - 8000d38: b580 push {r7, lr} - 8000d3a: af00 add r7, sp, #0 + 8000ec8: b580 push {r7, lr} + 8000eca: af00 add r7, sp, #0 /* USER CODE BEGIN UART5_IRQn 0 */ /* USER CODE END UART5_IRQn 0 */ HAL_UART_IRQHandler(&huart5); - 8000d3c: 4802 ldr r0, [pc, #8] @ (8000d48 ) - 8000d3e: f004 fe51 bl 80059e4 + 8000ecc: 4802 ldr r0, [pc, #8] @ (8000ed8 ) + 8000ece: f004 ff03 bl 8005cd8 /* USER CODE BEGIN UART5_IRQn 1 */ /* USER CODE END UART5_IRQn 1 */ } - 8000d42: bf00 nop - 8000d44: bd80 pop {r7, pc} - 8000d46: bf00 nop - 8000d48: 2000031c .word 0x2000031c + 8000ed2: bf00 nop + 8000ed4: bd80 pop {r7, pc} + 8000ed6: bf00 nop + 8000ed8: 20000344 .word 0x20000344 -08000d4c : +08000edc : /** * @brief This function handles DMA2 stream2 global interrupt. */ void DMA2_Stream2_IRQHandler(void) { - 8000d4c: b580 push {r7, lr} - 8000d4e: af00 add r7, sp, #0 + 8000edc: b580 push {r7, lr} + 8000ede: af00 add r7, sp, #0 /* USER CODE BEGIN DMA2_Stream2_IRQn 0 */ /* USER CODE END DMA2_Stream2_IRQn 0 */ HAL_DMA_IRQHandler(&hdma_usart1_rx); - 8000d50: 4802 ldr r0, [pc, #8] @ (8000d5c ) - 8000d52: f001 f84b bl 8001dec + 8000ee0: 4802 ldr r0, [pc, #8] @ (8000eec ) + 8000ee2: f001 f84b bl 8001f7c /* USER CODE BEGIN DMA2_Stream2_IRQn 1 */ /* USER CODE END DMA2_Stream2_IRQn 1 */ } - 8000d56: bf00 nop - 8000d58: bd80 pop {r7, pc} - 8000d5a: bf00 nop - 8000d5c: 20000574 .word 0x20000574 + 8000ee6: bf00 nop + 8000ee8: bd80 pop {r7, pc} + 8000eea: bf00 nop + 8000eec: 2000059c .word 0x2000059c -08000d60 : +08000ef0 : /** * @brief This function handles USB On The Go FS global interrupt. */ void OTG_FS_IRQHandler(void) { - 8000d60: b580 push {r7, lr} - 8000d62: af00 add r7, sp, #0 + 8000ef0: b580 push {r7, lr} + 8000ef2: af00 add r7, sp, #0 /* USER CODE BEGIN OTG_FS_IRQn 0 */ /* USER CODE END OTG_FS_IRQn 0 */ HAL_PCD_IRQHandler(&hpcd_USB_OTG_FS); - 8000d64: 4802 ldr r0, [pc, #8] @ (8000d70 ) - 8000d66: f001 ff00 bl 8002b6a + 8000ef4: 4802 ldr r0, [pc, #8] @ (8000f00 ) + 8000ef6: f001 ff00 bl 8002cfa /* USER CODE BEGIN OTG_FS_IRQn 1 */ /* USER CODE END OTG_FS_IRQn 1 */ } - 8000d6a: bf00 nop - 8000d6c: bd80 pop {r7, pc} - 8000d6e: bf00 nop - 8000d70: 20000bd8 .word 0x20000bd8 + 8000efa: bf00 nop + 8000efc: bd80 pop {r7, pc} + 8000efe: bf00 nop + 8000f00: 20000c00 .word 0x20000c00 -08000d74 : +08000f04 : /** * @brief This function handles DMA2 stream7 global interrupt. */ void DMA2_Stream7_IRQHandler(void) { - 8000d74: b580 push {r7, lr} - 8000d76: af00 add r7, sp, #0 + 8000f04: b580 push {r7, lr} + 8000f06: af00 add r7, sp, #0 /* USER CODE BEGIN DMA2_Stream7_IRQn 0 */ /* USER CODE END DMA2_Stream7_IRQn 0 */ HAL_DMA_IRQHandler(&hdma_usart1_tx); - 8000d78: 4802 ldr r0, [pc, #8] @ (8000d84 ) - 8000d7a: f001 f837 bl 8001dec + 8000f08: 4802 ldr r0, [pc, #8] @ (8000f14 ) + 8000f0a: f001 f837 bl 8001f7c /* USER CODE BEGIN DMA2_Stream7_IRQn 1 */ /* USER CODE END DMA2_Stream7_IRQn 1 */ } - 8000d7e: bf00 nop - 8000d80: bd80 pop {r7, pc} - 8000d82: bf00 nop - 8000d84: 200005d4 .word 0x200005d4 + 8000f0e: bf00 nop + 8000f10: bd80 pop {r7, pc} + 8000f12: bf00 nop + 8000f14: 200005fc .word 0x200005fc -08000d88 : +08000f18 : * configuration. * @param None * @retval None */ void SystemInit(void) { - 8000d88: b480 push {r7} - 8000d8a: af00 add r7, sp, #0 + 8000f18: b480 push {r7} + 8000f1a: 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 */ - 8000d8c: 4b06 ldr r3, [pc, #24] @ (8000da8 ) - 8000d8e: f8d3 3088 ldr.w r3, [r3, #136] @ 0x88 - 8000d92: 4a05 ldr r2, [pc, #20] @ (8000da8 ) - 8000d94: f443 0370 orr.w r3, r3, #15728640 @ 0xf00000 - 8000d98: f8c2 3088 str.w r3, [r2, #136] @ 0x88 + 8000f1c: 4b06 ldr r3, [pc, #24] @ (8000f38 ) + 8000f1e: f8d3 3088 ldr.w r3, [r3, #136] @ 0x88 + 8000f22: 4a05 ldr r2, [pc, #20] @ (8000f38 ) + 8000f24: f443 0370 orr.w r3, r3, #15728640 @ 0xf00000 + 8000f28: f8c2 3088 str.w r3, [r2, #136] @ 0x88 /* Configure the Vector Table location -------------------------------------*/ #if defined(USER_VECT_TAB_ADDRESS) SCB->VTOR = VECT_TAB_BASE_ADDRESS | VECT_TAB_OFFSET; /* Vector Table Relocation in Internal SRAM */ #endif /* USER_VECT_TAB_ADDRESS */ } - 8000d9c: bf00 nop - 8000d9e: 46bd mov sp, r7 - 8000da0: f85d 7b04 ldr.w r7, [sp], #4 - 8000da4: 4770 bx lr - 8000da6: bf00 nop - 8000da8: e000ed00 .word 0xe000ed00 + 8000f2c: bf00 nop + 8000f2e: 46bd mov sp, r7 + 8000f30: f85d 7b04 ldr.w r7, [sp], #4 + 8000f34: 4770 bx lr + 8000f36: bf00 nop + 8000f38: e000ed00 .word 0xe000ed00 -08000dac : +08000f3c : TIM_HandleTypeDef htim2; TIM_HandleTypeDef htim3; /* TIM2 init function */ void MX_TIM2_Init(void) { - 8000dac: b580 push {r7, lr} - 8000dae: b08a sub sp, #40 @ 0x28 - 8000db0: af00 add r7, sp, #0 + 8000f3c: b580 push {r7, lr} + 8000f3e: b08a sub sp, #40 @ 0x28 + 8000f40: af00 add r7, sp, #0 /* USER CODE BEGIN TIM2_Init 0 */ /* USER CODE END TIM2_Init 0 */ TIM_MasterConfigTypeDef sMasterConfig = {0}; - 8000db2: f107 0320 add.w r3, r7, #32 - 8000db6: 2200 movs r2, #0 - 8000db8: 601a str r2, [r3, #0] - 8000dba: 605a str r2, [r3, #4] + 8000f42: f107 0320 add.w r3, r7, #32 + 8000f46: 2200 movs r2, #0 + 8000f48: 601a str r2, [r3, #0] + 8000f4a: 605a str r2, [r3, #4] TIM_OC_InitTypeDef sConfigOC = {0}; - 8000dbc: 1d3b adds r3, r7, #4 - 8000dbe: 2200 movs r2, #0 - 8000dc0: 601a str r2, [r3, #0] - 8000dc2: 605a str r2, [r3, #4] - 8000dc4: 609a str r2, [r3, #8] - 8000dc6: 60da str r2, [r3, #12] - 8000dc8: 611a str r2, [r3, #16] - 8000dca: 615a str r2, [r3, #20] - 8000dcc: 619a str r2, [r3, #24] + 8000f4c: 1d3b adds r3, r7, #4 + 8000f4e: 2200 movs r2, #0 + 8000f50: 601a str r2, [r3, #0] + 8000f52: 605a str r2, [r3, #4] + 8000f54: 609a str r2, [r3, #8] + 8000f56: 60da str r2, [r3, #12] + 8000f58: 611a str r2, [r3, #16] + 8000f5a: 615a str r2, [r3, #20] + 8000f5c: 619a str r2, [r3, #24] /* USER CODE BEGIN TIM2_Init 1 */ /* USER CODE END TIM2_Init 1 */ htim2.Instance = TIM2; - 8000dce: 4b22 ldr r3, [pc, #136] @ (8000e58 ) - 8000dd0: f04f 4280 mov.w r2, #1073741824 @ 0x40000000 - 8000dd4: 601a str r2, [r3, #0] + 8000f5e: 4b22 ldr r3, [pc, #136] @ (8000fe8 ) + 8000f60: f04f 4280 mov.w r2, #1073741824 @ 0x40000000 + 8000f64: 601a str r2, [r3, #0] htim2.Init.Prescaler = 0; - 8000dd6: 4b20 ldr r3, [pc, #128] @ (8000e58 ) - 8000dd8: 2200 movs r2, #0 - 8000dda: 605a str r2, [r3, #4] + 8000f66: 4b20 ldr r3, [pc, #128] @ (8000fe8 ) + 8000f68: 2200 movs r2, #0 + 8000f6a: 605a str r2, [r3, #4] htim2.Init.CounterMode = TIM_COUNTERMODE_UP; - 8000ddc: 4b1e ldr r3, [pc, #120] @ (8000e58 ) - 8000dde: 2200 movs r2, #0 - 8000de0: 609a str r2, [r3, #8] + 8000f6c: 4b1e ldr r3, [pc, #120] @ (8000fe8 ) + 8000f6e: 2200 movs r2, #0 + 8000f70: 609a str r2, [r3, #8] htim2.Init.Period = 4294967295; - 8000de2: 4b1d ldr r3, [pc, #116] @ (8000e58 ) - 8000de4: f04f 32ff mov.w r2, #4294967295 @ 0xffffffff - 8000de8: 60da str r2, [r3, #12] + 8000f72: 4b1d ldr r3, [pc, #116] @ (8000fe8 ) + 8000f74: f04f 32ff mov.w r2, #4294967295 @ 0xffffffff + 8000f78: 60da str r2, [r3, #12] htim2.Init.ClockDivision = TIM_CLOCKDIVISION_DIV1; - 8000dea: 4b1b ldr r3, [pc, #108] @ (8000e58 ) - 8000dec: 2200 movs r2, #0 - 8000dee: 611a str r2, [r3, #16] + 8000f7a: 4b1b ldr r3, [pc, #108] @ (8000fe8 ) + 8000f7c: 2200 movs r2, #0 + 8000f7e: 611a str r2, [r3, #16] htim2.Init.AutoReloadPreload = TIM_AUTORELOAD_PRELOAD_DISABLE; - 8000df0: 4b19 ldr r3, [pc, #100] @ (8000e58 ) - 8000df2: 2200 movs r2, #0 - 8000df4: 619a str r2, [r3, #24] + 8000f80: 4b19 ldr r3, [pc, #100] @ (8000fe8 ) + 8000f82: 2200 movs r2, #0 + 8000f84: 619a str r2, [r3, #24] if (HAL_TIM_OC_Init(&htim2) != HAL_OK) - 8000df6: 4818 ldr r0, [pc, #96] @ (8000e58 ) - 8000df8: f004 f904 bl 8005004 - 8000dfc: 4603 mov r3, r0 - 8000dfe: 2b00 cmp r3, #0 - 8000e00: d001 beq.n 8000e06 + 8000f86: 4818 ldr r0, [pc, #96] @ (8000fe8 ) + 8000f88: f004 f904 bl 8005194 + 8000f8c: 4603 mov r3, r0 + 8000f8e: 2b00 cmp r3, #0 + 8000f90: d001 beq.n 8000f96 { Error_Handler(); - 8000e02: f7ff fee1 bl 8000bc8 + 8000f92: f7ff fee1 bl 8000d58 } sMasterConfig.MasterOutputTrigger = TIM_TRGO_RESET; - 8000e06: 2300 movs r3, #0 - 8000e08: 623b str r3, [r7, #32] + 8000f96: 2300 movs r3, #0 + 8000f98: 623b str r3, [r7, #32] sMasterConfig.MasterSlaveMode = TIM_MASTERSLAVEMODE_DISABLE; - 8000e0a: 2300 movs r3, #0 - 8000e0c: 627b str r3, [r7, #36] @ 0x24 + 8000f9a: 2300 movs r3, #0 + 8000f9c: 627b str r3, [r7, #36] @ 0x24 if (HAL_TIMEx_MasterConfigSynchronization(&htim2, &sMasterConfig) != HAL_OK) - 8000e0e: f107 0320 add.w r3, r7, #32 - 8000e12: 4619 mov r1, r3 - 8000e14: 4810 ldr r0, [pc, #64] @ (8000e58 ) - 8000e16: f004 fc9d bl 8005754 - 8000e1a: 4603 mov r3, r0 - 8000e1c: 2b00 cmp r3, #0 - 8000e1e: d001 beq.n 8000e24 + 8000f9e: f107 0320 add.w r3, r7, #32 + 8000fa2: 4619 mov r1, r3 + 8000fa4: 4810 ldr r0, [pc, #64] @ (8000fe8 ) + 8000fa6: f004 fc9d bl 80058e4 + 8000faa: 4603 mov r3, r0 + 8000fac: 2b00 cmp r3, #0 + 8000fae: d001 beq.n 8000fb4 { Error_Handler(); - 8000e20: f7ff fed2 bl 8000bc8 + 8000fb0: f7ff fed2 bl 8000d58 } sConfigOC.OCMode = TIM_OCMODE_FORCED_ACTIVE; - 8000e24: 2350 movs r3, #80 @ 0x50 - 8000e26: 607b str r3, [r7, #4] + 8000fb4: 2350 movs r3, #80 @ 0x50 + 8000fb6: 607b str r3, [r7, #4] sConfigOC.Pulse = 0; - 8000e28: 2300 movs r3, #0 - 8000e2a: 60bb str r3, [r7, #8] + 8000fb8: 2300 movs r3, #0 + 8000fba: 60bb str r3, [r7, #8] sConfigOC.OCPolarity = TIM_OCPOLARITY_HIGH; - 8000e2c: 2300 movs r3, #0 - 8000e2e: 60fb str r3, [r7, #12] + 8000fbc: 2300 movs r3, #0 + 8000fbe: 60fb str r3, [r7, #12] sConfigOC.OCFastMode = TIM_OCFAST_DISABLE; - 8000e30: 2300 movs r3, #0 - 8000e32: 617b str r3, [r7, #20] + 8000fc0: 2300 movs r3, #0 + 8000fc2: 617b str r3, [r7, #20] if (HAL_TIM_OC_ConfigChannel(&htim2, &sConfigOC, TIM_CHANNEL_1) != HAL_OK) - 8000e34: 1d3b adds r3, r7, #4 - 8000e36: 2200 movs r2, #0 - 8000e38: 4619 mov r1, r3 - 8000e3a: 4807 ldr r0, [pc, #28] @ (8000e58 ) - 8000e3c: f004 f9d8 bl 80051f0 - 8000e40: 4603 mov r3, r0 - 8000e42: 2b00 cmp r3, #0 - 8000e44: d001 beq.n 8000e4a + 8000fc4: 1d3b adds r3, r7, #4 + 8000fc6: 2200 movs r2, #0 + 8000fc8: 4619 mov r1, r3 + 8000fca: 4807 ldr r0, [pc, #28] @ (8000fe8 ) + 8000fcc: f004 f9d8 bl 8005380 + 8000fd0: 4603 mov r3, r0 + 8000fd2: 2b00 cmp r3, #0 + 8000fd4: d001 beq.n 8000fda { Error_Handler(); - 8000e46: f7ff febf bl 8000bc8 + 8000fd6: f7ff febf bl 8000d58 } /* USER CODE BEGIN TIM2_Init 2 */ /* USER CODE END TIM2_Init 2 */ HAL_TIM_MspPostInit(&htim2); - 8000e4a: 4803 ldr r0, [pc, #12] @ (8000e58 ) - 8000e4c: f000 f8c2 bl 8000fd4 + 8000fda: 4803 ldr r0, [pc, #12] @ (8000fe8 ) + 8000fdc: f000 f8c2 bl 8001164 } - 8000e50: bf00 nop - 8000e52: 3728 adds r7, #40 @ 0x28 - 8000e54: 46bd mov sp, r7 - 8000e56: bd80 pop {r7, pc} - 8000e58: 20000244 .word 0x20000244 + 8000fe0: bf00 nop + 8000fe2: 3728 adds r7, #40 @ 0x28 + 8000fe4: 46bd mov sp, r7 + 8000fe6: bd80 pop {r7, pc} + 8000fe8: 2000026c .word 0x2000026c -08000e5c : +08000fec : /* TIM3 init function */ void MX_TIM3_Init(void) { - 8000e5c: b580 push {r7, lr} - 8000e5e: b08c sub sp, #48 @ 0x30 - 8000e60: af00 add r7, sp, #0 + 8000fec: b580 push {r7, lr} + 8000fee: b08c sub sp, #48 @ 0x30 + 8000ff0: af00 add r7, sp, #0 /* USER CODE BEGIN TIM3_Init 0 */ /* USER CODE END TIM3_Init 0 */ TIM_Encoder_InitTypeDef sConfig = {0}; - 8000e62: f107 030c add.w r3, r7, #12 - 8000e66: 2224 movs r2, #36 @ 0x24 - 8000e68: 2100 movs r1, #0 - 8000e6a: 4618 mov r0, r3 - 8000e6c: f009 fae2 bl 800a434 + 8000ff2: f107 030c add.w r3, r7, #12 + 8000ff6: 2224 movs r2, #36 @ 0x24 + 8000ff8: 2100 movs r1, #0 + 8000ffa: 4618 mov r0, r3 + 8000ffc: f009 fd50 bl 800aaa0 TIM_MasterConfigTypeDef sMasterConfig = {0}; - 8000e70: 1d3b adds r3, r7, #4 - 8000e72: 2200 movs r2, #0 - 8000e74: 601a str r2, [r3, #0] - 8000e76: 605a str r2, [r3, #4] + 8001000: 1d3b adds r3, r7, #4 + 8001002: 2200 movs r2, #0 + 8001004: 601a str r2, [r3, #0] + 8001006: 605a str r2, [r3, #4] /* USER CODE BEGIN TIM3_Init 1 */ /* USER CODE END TIM3_Init 1 */ htim3.Instance = TIM3; - 8000e78: 4b20 ldr r3, [pc, #128] @ (8000efc ) - 8000e7a: 4a21 ldr r2, [pc, #132] @ (8000f00 ) - 8000e7c: 601a str r2, [r3, #0] + 8001008: 4b20 ldr r3, [pc, #128] @ (800108c ) + 800100a: 4a21 ldr r2, [pc, #132] @ (8001090 ) + 800100c: 601a str r2, [r3, #0] htim3.Init.Prescaler = 0; - 8000e7e: 4b1f ldr r3, [pc, #124] @ (8000efc ) - 8000e80: 2200 movs r2, #0 - 8000e82: 605a str r2, [r3, #4] + 800100e: 4b1f ldr r3, [pc, #124] @ (800108c ) + 8001010: 2200 movs r2, #0 + 8001012: 605a str r2, [r3, #4] htim3.Init.CounterMode = TIM_COUNTERMODE_UP; - 8000e84: 4b1d ldr r3, [pc, #116] @ (8000efc ) - 8000e86: 2200 movs r2, #0 - 8000e88: 609a str r2, [r3, #8] + 8001014: 4b1d ldr r3, [pc, #116] @ (800108c ) + 8001016: 2200 movs r2, #0 + 8001018: 609a str r2, [r3, #8] htim3.Init.Period = 65535; - 8000e8a: 4b1c ldr r3, [pc, #112] @ (8000efc ) - 8000e8c: f64f 72ff movw r2, #65535 @ 0xffff - 8000e90: 60da str r2, [r3, #12] + 800101a: 4b1c ldr r3, [pc, #112] @ (800108c ) + 800101c: f64f 72ff movw r2, #65535 @ 0xffff + 8001020: 60da str r2, [r3, #12] htim3.Init.ClockDivision = TIM_CLOCKDIVISION_DIV1; - 8000e92: 4b1a ldr r3, [pc, #104] @ (8000efc ) - 8000e94: 2200 movs r2, #0 - 8000e96: 611a str r2, [r3, #16] + 8001022: 4b1a ldr r3, [pc, #104] @ (800108c ) + 8001024: 2200 movs r2, #0 + 8001026: 611a str r2, [r3, #16] htim3.Init.AutoReloadPreload = TIM_AUTORELOAD_PRELOAD_DISABLE; - 8000e98: 4b18 ldr r3, [pc, #96] @ (8000efc ) - 8000e9a: 2200 movs r2, #0 - 8000e9c: 619a str r2, [r3, #24] + 8001028: 4b18 ldr r3, [pc, #96] @ (800108c ) + 800102a: 2200 movs r2, #0 + 800102c: 619a str r2, [r3, #24] sConfig.EncoderMode = TIM_ENCODERMODE_TI1; - 8000e9e: 2301 movs r3, #1 - 8000ea0: 60fb str r3, [r7, #12] + 800102e: 2301 movs r3, #1 + 8001030: 60fb str r3, [r7, #12] sConfig.IC1Polarity = TIM_ICPOLARITY_RISING; - 8000ea2: 2300 movs r3, #0 - 8000ea4: 613b str r3, [r7, #16] + 8001032: 2300 movs r3, #0 + 8001034: 613b str r3, [r7, #16] sConfig.IC1Selection = TIM_ICSELECTION_DIRECTTI; - 8000ea6: 2301 movs r3, #1 - 8000ea8: 617b str r3, [r7, #20] + 8001036: 2301 movs r3, #1 + 8001038: 617b str r3, [r7, #20] sConfig.IC1Prescaler = TIM_ICPSC_DIV1; - 8000eaa: 2300 movs r3, #0 - 8000eac: 61bb str r3, [r7, #24] + 800103a: 2300 movs r3, #0 + 800103c: 61bb str r3, [r7, #24] sConfig.IC1Filter = 0; - 8000eae: 2300 movs r3, #0 - 8000eb0: 61fb str r3, [r7, #28] + 800103e: 2300 movs r3, #0 + 8001040: 61fb str r3, [r7, #28] sConfig.IC2Polarity = TIM_ICPOLARITY_RISING; - 8000eb2: 2300 movs r3, #0 - 8000eb4: 623b str r3, [r7, #32] + 8001042: 2300 movs r3, #0 + 8001044: 623b str r3, [r7, #32] sConfig.IC2Selection = TIM_ICSELECTION_DIRECTTI; - 8000eb6: 2301 movs r3, #1 - 8000eb8: 627b str r3, [r7, #36] @ 0x24 + 8001046: 2301 movs r3, #1 + 8001048: 627b str r3, [r7, #36] @ 0x24 sConfig.IC2Prescaler = TIM_ICPSC_DIV1; - 8000eba: 2300 movs r3, #0 - 8000ebc: 62bb str r3, [r7, #40] @ 0x28 + 800104a: 2300 movs r3, #0 + 800104c: 62bb str r3, [r7, #40] @ 0x28 sConfig.IC2Filter = 0; - 8000ebe: 2300 movs r3, #0 - 8000ec0: 62fb str r3, [r7, #44] @ 0x2c + 800104e: 2300 movs r3, #0 + 8001050: 62fb str r3, [r7, #44] @ 0x2c if (HAL_TIM_Encoder_Init(&htim3, &sConfig) != HAL_OK) - 8000ec2: f107 030c add.w r3, r7, #12 - 8000ec6: 4619 mov r1, r3 - 8000ec8: 480c ldr r0, [pc, #48] @ (8000efc ) - 8000eca: f004 f8ea bl 80050a2 - 8000ece: 4603 mov r3, r0 - 8000ed0: 2b00 cmp r3, #0 - 8000ed2: d001 beq.n 8000ed8 + 8001052: f107 030c add.w r3, r7, #12 + 8001056: 4619 mov r1, r3 + 8001058: 480c ldr r0, [pc, #48] @ (800108c ) + 800105a: f004 f8ea bl 8005232 + 800105e: 4603 mov r3, r0 + 8001060: 2b00 cmp r3, #0 + 8001062: d001 beq.n 8001068 { Error_Handler(); - 8000ed4: f7ff fe78 bl 8000bc8 + 8001064: f7ff fe78 bl 8000d58 } sMasterConfig.MasterOutputTrigger = TIM_TRGO_RESET; - 8000ed8: 2300 movs r3, #0 - 8000eda: 607b str r3, [r7, #4] + 8001068: 2300 movs r3, #0 + 800106a: 607b str r3, [r7, #4] sMasterConfig.MasterSlaveMode = TIM_MASTERSLAVEMODE_DISABLE; - 8000edc: 2300 movs r3, #0 - 8000ede: 60bb str r3, [r7, #8] + 800106c: 2300 movs r3, #0 + 800106e: 60bb str r3, [r7, #8] if (HAL_TIMEx_MasterConfigSynchronization(&htim3, &sMasterConfig) != HAL_OK) - 8000ee0: 1d3b adds r3, r7, #4 - 8000ee2: 4619 mov r1, r3 - 8000ee4: 4805 ldr r0, [pc, #20] @ (8000efc ) - 8000ee6: f004 fc35 bl 8005754 - 8000eea: 4603 mov r3, r0 - 8000eec: 2b00 cmp r3, #0 - 8000eee: d001 beq.n 8000ef4 + 8001070: 1d3b adds r3, r7, #4 + 8001072: 4619 mov r1, r3 + 8001074: 4805 ldr r0, [pc, #20] @ (800108c ) + 8001076: f004 fc35 bl 80058e4 + 800107a: 4603 mov r3, r0 + 800107c: 2b00 cmp r3, #0 + 800107e: d001 beq.n 8001084 { Error_Handler(); - 8000ef0: f7ff fe6a bl 8000bc8 + 8001080: f7ff fe6a bl 8000d58 } /* USER CODE BEGIN TIM3_Init 2 */ /* USER CODE END TIM3_Init 2 */ } - 8000ef4: bf00 nop - 8000ef6: 3730 adds r7, #48 @ 0x30 - 8000ef8: 46bd mov sp, r7 - 8000efa: bd80 pop {r7, pc} - 8000efc: 2000028c .word 0x2000028c - 8000f00: 40000400 .word 0x40000400 + 8001084: bf00 nop + 8001086: 3730 adds r7, #48 @ 0x30 + 8001088: 46bd mov sp, r7 + 800108a: bd80 pop {r7, pc} + 800108c: 200002b4 .word 0x200002b4 + 8001090: 40000400 .word 0x40000400 -08000f04 : +08001094 : void HAL_TIM_OC_MspInit(TIM_HandleTypeDef* tim_ocHandle) { - 8000f04: b480 push {r7} - 8000f06: b085 sub sp, #20 - 8000f08: af00 add r7, sp, #0 - 8000f0a: 6078 str r0, [r7, #4] + 8001094: b480 push {r7} + 8001096: b085 sub sp, #20 + 8001098: af00 add r7, sp, #0 + 800109a: 6078 str r0, [r7, #4] if(tim_ocHandle->Instance==TIM2) - 8000f0c: 687b ldr r3, [r7, #4] - 8000f0e: 681b ldr r3, [r3, #0] - 8000f10: f1b3 4f80 cmp.w r3, #1073741824 @ 0x40000000 - 8000f14: d10d bne.n 8000f32 + 800109c: 687b ldr r3, [r7, #4] + 800109e: 681b ldr r3, [r3, #0] + 80010a0: f1b3 4f80 cmp.w r3, #1073741824 @ 0x40000000 + 80010a4: d10d bne.n 80010c2 { /* USER CODE BEGIN TIM2_MspInit 0 */ /* USER CODE END TIM2_MspInit 0 */ /* TIM2 clock enable */ __HAL_RCC_TIM2_CLK_ENABLE(); - 8000f16: 2300 movs r3, #0 - 8000f18: 60fb str r3, [r7, #12] - 8000f1a: 4b09 ldr r3, [pc, #36] @ (8000f40 ) - 8000f1c: 6c1b ldr r3, [r3, #64] @ 0x40 - 8000f1e: 4a08 ldr r2, [pc, #32] @ (8000f40 ) - 8000f20: f043 0301 orr.w r3, r3, #1 - 8000f24: 6413 str r3, [r2, #64] @ 0x40 - 8000f26: 4b06 ldr r3, [pc, #24] @ (8000f40 ) - 8000f28: 6c1b ldr r3, [r3, #64] @ 0x40 - 8000f2a: f003 0301 and.w r3, r3, #1 - 8000f2e: 60fb str r3, [r7, #12] - 8000f30: 68fb ldr r3, [r7, #12] + 80010a6: 2300 movs r3, #0 + 80010a8: 60fb str r3, [r7, #12] + 80010aa: 4b09 ldr r3, [pc, #36] @ (80010d0 ) + 80010ac: 6c1b ldr r3, [r3, #64] @ 0x40 + 80010ae: 4a08 ldr r2, [pc, #32] @ (80010d0 ) + 80010b0: f043 0301 orr.w r3, r3, #1 + 80010b4: 6413 str r3, [r2, #64] @ 0x40 + 80010b6: 4b06 ldr r3, [pc, #24] @ (80010d0 ) + 80010b8: 6c1b ldr r3, [r3, #64] @ 0x40 + 80010ba: f003 0301 and.w r3, r3, #1 + 80010be: 60fb str r3, [r7, #12] + 80010c0: 68fb ldr r3, [r7, #12] /* USER CODE BEGIN TIM2_MspInit 1 */ /* USER CODE END TIM2_MspInit 1 */ } } - 8000f32: bf00 nop - 8000f34: 3714 adds r7, #20 - 8000f36: 46bd mov sp, r7 - 8000f38: f85d 7b04 ldr.w r7, [sp], #4 - 8000f3c: 4770 bx lr - 8000f3e: bf00 nop - 8000f40: 40023800 .word 0x40023800 + 80010c2: bf00 nop + 80010c4: 3714 adds r7, #20 + 80010c6: 46bd mov sp, r7 + 80010c8: f85d 7b04 ldr.w r7, [sp], #4 + 80010cc: 4770 bx lr + 80010ce: bf00 nop + 80010d0: 40023800 .word 0x40023800 -08000f44 : +080010d4 : void HAL_TIM_Encoder_MspInit(TIM_HandleTypeDef* tim_encoderHandle) { - 8000f44: b580 push {r7, lr} - 8000f46: b08a sub sp, #40 @ 0x28 - 8000f48: af00 add r7, sp, #0 - 8000f4a: 6078 str r0, [r7, #4] + 80010d4: b580 push {r7, lr} + 80010d6: b08a sub sp, #40 @ 0x28 + 80010d8: af00 add r7, sp, #0 + 80010da: 6078 str r0, [r7, #4] GPIO_InitTypeDef GPIO_InitStruct = {0}; - 8000f4c: f107 0314 add.w r3, r7, #20 - 8000f50: 2200 movs r2, #0 - 8000f52: 601a str r2, [r3, #0] - 8000f54: 605a str r2, [r3, #4] - 8000f56: 609a str r2, [r3, #8] - 8000f58: 60da str r2, [r3, #12] - 8000f5a: 611a str r2, [r3, #16] + 80010dc: f107 0314 add.w r3, r7, #20 + 80010e0: 2200 movs r2, #0 + 80010e2: 601a str r2, [r3, #0] + 80010e4: 605a str r2, [r3, #4] + 80010e6: 609a str r2, [r3, #8] + 80010e8: 60da str r2, [r3, #12] + 80010ea: 611a str r2, [r3, #16] if(tim_encoderHandle->Instance==TIM3) - 8000f5c: 687b ldr r3, [r7, #4] - 8000f5e: 681b ldr r3, [r3, #0] - 8000f60: 4a19 ldr r2, [pc, #100] @ (8000fc8 ) - 8000f62: 4293 cmp r3, r2 - 8000f64: d12b bne.n 8000fbe + 80010ec: 687b ldr r3, [r7, #4] + 80010ee: 681b ldr r3, [r3, #0] + 80010f0: 4a19 ldr r2, [pc, #100] @ (8001158 ) + 80010f2: 4293 cmp r3, r2 + 80010f4: d12b bne.n 800114e { /* USER CODE BEGIN TIM3_MspInit 0 */ /* USER CODE END TIM3_MspInit 0 */ /* TIM3 clock enable */ __HAL_RCC_TIM3_CLK_ENABLE(); - 8000f66: 2300 movs r3, #0 - 8000f68: 613b str r3, [r7, #16] - 8000f6a: 4b18 ldr r3, [pc, #96] @ (8000fcc ) - 8000f6c: 6c1b ldr r3, [r3, #64] @ 0x40 - 8000f6e: 4a17 ldr r2, [pc, #92] @ (8000fcc ) - 8000f70: f043 0302 orr.w r3, r3, #2 - 8000f74: 6413 str r3, [r2, #64] @ 0x40 - 8000f76: 4b15 ldr r3, [pc, #84] @ (8000fcc ) - 8000f78: 6c1b ldr r3, [r3, #64] @ 0x40 - 8000f7a: f003 0302 and.w r3, r3, #2 - 8000f7e: 613b str r3, [r7, #16] - 8000f80: 693b ldr r3, [r7, #16] + 80010f6: 2300 movs r3, #0 + 80010f8: 613b str r3, [r7, #16] + 80010fa: 4b18 ldr r3, [pc, #96] @ (800115c ) + 80010fc: 6c1b ldr r3, [r3, #64] @ 0x40 + 80010fe: 4a17 ldr r2, [pc, #92] @ (800115c ) + 8001100: f043 0302 orr.w r3, r3, #2 + 8001104: 6413 str r3, [r2, #64] @ 0x40 + 8001106: 4b15 ldr r3, [pc, #84] @ (800115c ) + 8001108: 6c1b ldr r3, [r3, #64] @ 0x40 + 800110a: f003 0302 and.w r3, r3, #2 + 800110e: 613b str r3, [r7, #16] + 8001110: 693b ldr r3, [r7, #16] __HAL_RCC_GPIOA_CLK_ENABLE(); - 8000f82: 2300 movs r3, #0 - 8000f84: 60fb str r3, [r7, #12] - 8000f86: 4b11 ldr r3, [pc, #68] @ (8000fcc ) - 8000f88: 6b1b ldr r3, [r3, #48] @ 0x30 - 8000f8a: 4a10 ldr r2, [pc, #64] @ (8000fcc ) - 8000f8c: f043 0301 orr.w r3, r3, #1 - 8000f90: 6313 str r3, [r2, #48] @ 0x30 - 8000f92: 4b0e ldr r3, [pc, #56] @ (8000fcc ) - 8000f94: 6b1b ldr r3, [r3, #48] @ 0x30 - 8000f96: f003 0301 and.w r3, r3, #1 - 8000f9a: 60fb str r3, [r7, #12] - 8000f9c: 68fb ldr r3, [r7, #12] + 8001112: 2300 movs r3, #0 + 8001114: 60fb str r3, [r7, #12] + 8001116: 4b11 ldr r3, [pc, #68] @ (800115c ) + 8001118: 6b1b ldr r3, [r3, #48] @ 0x30 + 800111a: 4a10 ldr r2, [pc, #64] @ (800115c ) + 800111c: f043 0301 orr.w r3, r3, #1 + 8001120: 6313 str r3, [r2, #48] @ 0x30 + 8001122: 4b0e ldr r3, [pc, #56] @ (800115c ) + 8001124: 6b1b ldr r3, [r3, #48] @ 0x30 + 8001126: f003 0301 and.w r3, r3, #1 + 800112a: 60fb str r3, [r7, #12] + 800112c: 68fb ldr r3, [r7, #12] /**TIM3 GPIO Configuration PA6 ------> TIM3_CH1 PA7 ------> TIM3_CH2 */ GPIO_InitStruct.Pin = GPIO_PIN_6|GPIO_PIN_7; - 8000f9e: 23c0 movs r3, #192 @ 0xc0 - 8000fa0: 617b str r3, [r7, #20] + 800112e: 23c0 movs r3, #192 @ 0xc0 + 8001130: 617b str r3, [r7, #20] GPIO_InitStruct.Mode = GPIO_MODE_AF_PP; - 8000fa2: 2302 movs r3, #2 - 8000fa4: 61bb str r3, [r7, #24] + 8001132: 2302 movs r3, #2 + 8001134: 61bb str r3, [r7, #24] GPIO_InitStruct.Pull = GPIO_NOPULL; - 8000fa6: 2300 movs r3, #0 - 8000fa8: 61fb str r3, [r7, #28] + 8001136: 2300 movs r3, #0 + 8001138: 61fb str r3, [r7, #28] GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW; - 8000faa: 2300 movs r3, #0 - 8000fac: 623b str r3, [r7, #32] + 800113a: 2300 movs r3, #0 + 800113c: 623b str r3, [r7, #32] GPIO_InitStruct.Alternate = GPIO_AF2_TIM3; - 8000fae: 2302 movs r3, #2 - 8000fb0: 627b str r3, [r7, #36] @ 0x24 + 800113e: 2302 movs r3, #2 + 8001140: 627b str r3, [r7, #36] @ 0x24 HAL_GPIO_Init(GPIOA, &GPIO_InitStruct); - 8000fb2: f107 0314 add.w r3, r7, #20 - 8000fb6: 4619 mov r1, r3 - 8000fb8: 4805 ldr r0, [pc, #20] @ (8000fd0 ) - 8000fba: f001 f981 bl 80022c0 + 8001142: f107 0314 add.w r3, r7, #20 + 8001146: 4619 mov r1, r3 + 8001148: 4805 ldr r0, [pc, #20] @ (8001160 ) + 800114a: f001 f981 bl 8002450 /* USER CODE BEGIN TIM3_MspInit 1 */ /* USER CODE END TIM3_MspInit 1 */ } } - 8000fbe: bf00 nop - 8000fc0: 3728 adds r7, #40 @ 0x28 - 8000fc2: 46bd mov sp, r7 - 8000fc4: bd80 pop {r7, pc} - 8000fc6: bf00 nop - 8000fc8: 40000400 .word 0x40000400 - 8000fcc: 40023800 .word 0x40023800 - 8000fd0: 40020000 .word 0x40020000 + 800114e: bf00 nop + 8001150: 3728 adds r7, #40 @ 0x28 + 8001152: 46bd mov sp, r7 + 8001154: bd80 pop {r7, pc} + 8001156: bf00 nop + 8001158: 40000400 .word 0x40000400 + 800115c: 40023800 .word 0x40023800 + 8001160: 40020000 .word 0x40020000 -08000fd4 : +08001164 : void HAL_TIM_MspPostInit(TIM_HandleTypeDef* timHandle) { - 8000fd4: b580 push {r7, lr} - 8000fd6: b088 sub sp, #32 - 8000fd8: af00 add r7, sp, #0 - 8000fda: 6078 str r0, [r7, #4] + 8001164: b580 push {r7, lr} + 8001166: b088 sub sp, #32 + 8001168: af00 add r7, sp, #0 + 800116a: 6078 str r0, [r7, #4] GPIO_InitTypeDef GPIO_InitStruct = {0}; - 8000fdc: f107 030c add.w r3, r7, #12 - 8000fe0: 2200 movs r2, #0 - 8000fe2: 601a str r2, [r3, #0] - 8000fe4: 605a str r2, [r3, #4] - 8000fe6: 609a str r2, [r3, #8] - 8000fe8: 60da str r2, [r3, #12] - 8000fea: 611a str r2, [r3, #16] + 800116c: f107 030c add.w r3, r7, #12 + 8001170: 2200 movs r2, #0 + 8001172: 601a str r2, [r3, #0] + 8001174: 605a str r2, [r3, #4] + 8001176: 609a str r2, [r3, #8] + 8001178: 60da str r2, [r3, #12] + 800117a: 611a str r2, [r3, #16] if(timHandle->Instance==TIM2) - 8000fec: 687b ldr r3, [r7, #4] - 8000fee: 681b ldr r3, [r3, #0] - 8000ff0: f1b3 4f80 cmp.w r3, #1073741824 @ 0x40000000 - 8000ff4: d11d bne.n 8001032 + 800117c: 687b ldr r3, [r7, #4] + 800117e: 681b ldr r3, [r3, #0] + 8001180: f1b3 4f80 cmp.w r3, #1073741824 @ 0x40000000 + 8001184: d11d bne.n 80011c2 { /* USER CODE BEGIN TIM2_MspPostInit 0 */ /* USER CODE END TIM2_MspPostInit 0 */ __HAL_RCC_GPIOA_CLK_ENABLE(); - 8000ff6: 2300 movs r3, #0 - 8000ff8: 60bb str r3, [r7, #8] - 8000ffa: 4b10 ldr r3, [pc, #64] @ (800103c ) - 8000ffc: 6b1b ldr r3, [r3, #48] @ 0x30 - 8000ffe: 4a0f ldr r2, [pc, #60] @ (800103c ) - 8001000: f043 0301 orr.w r3, r3, #1 - 8001004: 6313 str r3, [r2, #48] @ 0x30 - 8001006: 4b0d ldr r3, [pc, #52] @ (800103c ) - 8001008: 6b1b ldr r3, [r3, #48] @ 0x30 - 800100a: f003 0301 and.w r3, r3, #1 - 800100e: 60bb str r3, [r7, #8] - 8001010: 68bb ldr r3, [r7, #8] + 8001186: 2300 movs r3, #0 + 8001188: 60bb str r3, [r7, #8] + 800118a: 4b10 ldr r3, [pc, #64] @ (80011cc ) + 800118c: 6b1b ldr r3, [r3, #48] @ 0x30 + 800118e: 4a0f ldr r2, [pc, #60] @ (80011cc ) + 8001190: f043 0301 orr.w r3, r3, #1 + 8001194: 6313 str r3, [r2, #48] @ 0x30 + 8001196: 4b0d ldr r3, [pc, #52] @ (80011cc ) + 8001198: 6b1b ldr r3, [r3, #48] @ 0x30 + 800119a: f003 0301 and.w r3, r3, #1 + 800119e: 60bb str r3, [r7, #8] + 80011a0: 68bb ldr r3, [r7, #8] /**TIM2 GPIO Configuration PA5 ------> TIM2_CH1 */ GPIO_InitStruct.Pin = GPIO_PIN_5; - 8001012: 2320 movs r3, #32 - 8001014: 60fb str r3, [r7, #12] + 80011a2: 2320 movs r3, #32 + 80011a4: 60fb str r3, [r7, #12] GPIO_InitStruct.Mode = GPIO_MODE_AF_PP; - 8001016: 2302 movs r3, #2 - 8001018: 613b str r3, [r7, #16] + 80011a6: 2302 movs r3, #2 + 80011a8: 613b str r3, [r7, #16] GPIO_InitStruct.Pull = GPIO_NOPULL; - 800101a: 2300 movs r3, #0 - 800101c: 617b str r3, [r7, #20] + 80011aa: 2300 movs r3, #0 + 80011ac: 617b str r3, [r7, #20] GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW; - 800101e: 2300 movs r3, #0 - 8001020: 61bb str r3, [r7, #24] + 80011ae: 2300 movs r3, #0 + 80011b0: 61bb str r3, [r7, #24] GPIO_InitStruct.Alternate = GPIO_AF1_TIM2; - 8001022: 2301 movs r3, #1 - 8001024: 61fb str r3, [r7, #28] + 80011b2: 2301 movs r3, #1 + 80011b4: 61fb str r3, [r7, #28] HAL_GPIO_Init(GPIOA, &GPIO_InitStruct); - 8001026: f107 030c add.w r3, r7, #12 - 800102a: 4619 mov r1, r3 - 800102c: 4804 ldr r0, [pc, #16] @ (8001040 ) - 800102e: f001 f947 bl 80022c0 + 80011b6: f107 030c add.w r3, r7, #12 + 80011ba: 4619 mov r1, r3 + 80011bc: 4804 ldr r0, [pc, #16] @ (80011d0 ) + 80011be: f001 f947 bl 8002450 /* USER CODE BEGIN TIM2_MspPostInit 1 */ /* USER CODE END TIM2_MspPostInit 1 */ } } - 8001032: bf00 nop - 8001034: 3720 adds r7, #32 - 8001036: 46bd mov sp, r7 - 8001038: bd80 pop {r7, pc} - 800103a: bf00 nop - 800103c: 40023800 .word 0x40023800 - 8001040: 40020000 .word 0x40020000 + 80011c2: bf00 nop + 80011c4: 3720 adds r7, #32 + 80011c6: 46bd mov sp, r7 + 80011c8: bd80 pop {r7, pc} + 80011ca: bf00 nop + 80011cc: 40023800 .word 0x40023800 + 80011d0: 40020000 .word 0x40020000 -08001044 : +080011d4 : DMA_HandleTypeDef hdma_usart2_rx; DMA_HandleTypeDef hdma_usart2_tx; /* UART4 init function */ void MX_UART4_Init(void) { - 8001044: b580 push {r7, lr} - 8001046: af00 add r7, sp, #0 + 80011d4: b580 push {r7, lr} + 80011d6: af00 add r7, sp, #0 /* USER CODE END UART4_Init 0 */ /* USER CODE BEGIN UART4_Init 1 */ /* USER CODE END UART4_Init 1 */ huart4.Instance = UART4; - 8001048: 4b11 ldr r3, [pc, #68] @ (8001090 ) - 800104a: 4a12 ldr r2, [pc, #72] @ (8001094 ) - 800104c: 601a str r2, [r3, #0] + 80011d8: 4b11 ldr r3, [pc, #68] @ (8001220 ) + 80011da: 4a12 ldr r2, [pc, #72] @ (8001224 ) + 80011dc: 601a str r2, [r3, #0] huart4.Init.BaudRate = 115200; - 800104e: 4b10 ldr r3, [pc, #64] @ (8001090 ) - 8001050: f44f 32e1 mov.w r2, #115200 @ 0x1c200 - 8001054: 605a str r2, [r3, #4] + 80011de: 4b10 ldr r3, [pc, #64] @ (8001220 ) + 80011e0: f44f 32e1 mov.w r2, #115200 @ 0x1c200 + 80011e4: 605a str r2, [r3, #4] huart4.Init.WordLength = UART_WORDLENGTH_8B; - 8001056: 4b0e ldr r3, [pc, #56] @ (8001090 ) - 8001058: 2200 movs r2, #0 - 800105a: 609a str r2, [r3, #8] + 80011e6: 4b0e ldr r3, [pc, #56] @ (8001220 ) + 80011e8: 2200 movs r2, #0 + 80011ea: 609a str r2, [r3, #8] huart4.Init.StopBits = UART_STOPBITS_1; - 800105c: 4b0c ldr r3, [pc, #48] @ (8001090 ) - 800105e: 2200 movs r2, #0 - 8001060: 60da str r2, [r3, #12] + 80011ec: 4b0c ldr r3, [pc, #48] @ (8001220 ) + 80011ee: 2200 movs r2, #0 + 80011f0: 60da str r2, [r3, #12] huart4.Init.Parity = UART_PARITY_NONE; - 8001062: 4b0b ldr r3, [pc, #44] @ (8001090 ) - 8001064: 2200 movs r2, #0 - 8001066: 611a str r2, [r3, #16] + 80011f2: 4b0b ldr r3, [pc, #44] @ (8001220 ) + 80011f4: 2200 movs r2, #0 + 80011f6: 611a str r2, [r3, #16] huart4.Init.Mode = UART_MODE_TX_RX; - 8001068: 4b09 ldr r3, [pc, #36] @ (8001090 ) - 800106a: 220c movs r2, #12 - 800106c: 615a str r2, [r3, #20] + 80011f8: 4b09 ldr r3, [pc, #36] @ (8001220 ) + 80011fa: 220c movs r2, #12 + 80011fc: 615a str r2, [r3, #20] huart4.Init.HwFlowCtl = UART_HWCONTROL_NONE; - 800106e: 4b08 ldr r3, [pc, #32] @ (8001090 ) - 8001070: 2200 movs r2, #0 - 8001072: 619a str r2, [r3, #24] + 80011fe: 4b08 ldr r3, [pc, #32] @ (8001220 ) + 8001200: 2200 movs r2, #0 + 8001202: 619a str r2, [r3, #24] huart4.Init.OverSampling = UART_OVERSAMPLING_16; - 8001074: 4b06 ldr r3, [pc, #24] @ (8001090 ) - 8001076: 2200 movs r2, #0 - 8001078: 61da str r2, [r3, #28] + 8001204: 4b06 ldr r3, [pc, #24] @ (8001220 ) + 8001206: 2200 movs r2, #0 + 8001208: 61da str r2, [r3, #28] if (HAL_UART_Init(&huart4) != HAL_OK) - 800107a: 4805 ldr r0, [pc, #20] @ (8001090 ) - 800107c: f004 fbe6 bl 800584c - 8001080: 4603 mov r3, r0 - 8001082: 2b00 cmp r3, #0 - 8001084: d001 beq.n 800108a + 800120a: 4805 ldr r0, [pc, #20] @ (8001220 ) + 800120c: f004 fbe6 bl 80059dc + 8001210: 4603 mov r3, r0 + 8001212: 2b00 cmp r3, #0 + 8001214: d001 beq.n 800121a { Error_Handler(); - 8001086: f7ff fd9f bl 8000bc8 + 8001216: f7ff fd9f bl 8000d58 } /* USER CODE BEGIN UART4_Init 2 */ /* USER CODE END UART4_Init 2 */ } - 800108a: bf00 nop - 800108c: bd80 pop {r7, pc} - 800108e: bf00 nop - 8001090: 200002d4 .word 0x200002d4 - 8001094: 40004c00 .word 0x40004c00 + 800121a: bf00 nop + 800121c: bd80 pop {r7, pc} + 800121e: bf00 nop + 8001220: 200002fc .word 0x200002fc + 8001224: 40004c00 .word 0x40004c00 -08001098 : +08001228 : /* UART5 init function */ void MX_UART5_Init(void) { - 8001098: b580 push {r7, lr} - 800109a: af00 add r7, sp, #0 + 8001228: b580 push {r7, lr} + 800122a: af00 add r7, sp, #0 /* USER CODE END UART5_Init 0 */ /* USER CODE BEGIN UART5_Init 1 */ /* USER CODE END UART5_Init 1 */ huart5.Instance = UART5; - 800109c: 4b11 ldr r3, [pc, #68] @ (80010e4 ) - 800109e: 4a12 ldr r2, [pc, #72] @ (80010e8 ) - 80010a0: 601a str r2, [r3, #0] + 800122c: 4b11 ldr r3, [pc, #68] @ (8001274 ) + 800122e: 4a12 ldr r2, [pc, #72] @ (8001278 ) + 8001230: 601a str r2, [r3, #0] huart5.Init.BaudRate = 115200; - 80010a2: 4b10 ldr r3, [pc, #64] @ (80010e4 ) - 80010a4: f44f 32e1 mov.w r2, #115200 @ 0x1c200 - 80010a8: 605a str r2, [r3, #4] + 8001232: 4b10 ldr r3, [pc, #64] @ (8001274 ) + 8001234: f44f 32e1 mov.w r2, #115200 @ 0x1c200 + 8001238: 605a str r2, [r3, #4] huart5.Init.WordLength = UART_WORDLENGTH_8B; - 80010aa: 4b0e ldr r3, [pc, #56] @ (80010e4 ) - 80010ac: 2200 movs r2, #0 - 80010ae: 609a str r2, [r3, #8] + 800123a: 4b0e ldr r3, [pc, #56] @ (8001274 ) + 800123c: 2200 movs r2, #0 + 800123e: 609a str r2, [r3, #8] huart5.Init.StopBits = UART_STOPBITS_1; - 80010b0: 4b0c ldr r3, [pc, #48] @ (80010e4 ) - 80010b2: 2200 movs r2, #0 - 80010b4: 60da str r2, [r3, #12] + 8001240: 4b0c ldr r3, [pc, #48] @ (8001274 ) + 8001242: 2200 movs r2, #0 + 8001244: 60da str r2, [r3, #12] huart5.Init.Parity = UART_PARITY_NONE; - 80010b6: 4b0b ldr r3, [pc, #44] @ (80010e4 ) - 80010b8: 2200 movs r2, #0 - 80010ba: 611a str r2, [r3, #16] + 8001246: 4b0b ldr r3, [pc, #44] @ (8001274 ) + 8001248: 2200 movs r2, #0 + 800124a: 611a str r2, [r3, #16] huart5.Init.Mode = UART_MODE_TX_RX; - 80010bc: 4b09 ldr r3, [pc, #36] @ (80010e4 ) - 80010be: 220c movs r2, #12 - 80010c0: 615a str r2, [r3, #20] + 800124c: 4b09 ldr r3, [pc, #36] @ (8001274 ) + 800124e: 220c movs r2, #12 + 8001250: 615a str r2, [r3, #20] huart5.Init.HwFlowCtl = UART_HWCONTROL_NONE; - 80010c2: 4b08 ldr r3, [pc, #32] @ (80010e4 ) - 80010c4: 2200 movs r2, #0 - 80010c6: 619a str r2, [r3, #24] + 8001252: 4b08 ldr r3, [pc, #32] @ (8001274 ) + 8001254: 2200 movs r2, #0 + 8001256: 619a str r2, [r3, #24] huart5.Init.OverSampling = UART_OVERSAMPLING_16; - 80010c8: 4b06 ldr r3, [pc, #24] @ (80010e4 ) - 80010ca: 2200 movs r2, #0 - 80010cc: 61da str r2, [r3, #28] + 8001258: 4b06 ldr r3, [pc, #24] @ (8001274 ) + 800125a: 2200 movs r2, #0 + 800125c: 61da str r2, [r3, #28] if (HAL_UART_Init(&huart5) != HAL_OK) - 80010ce: 4805 ldr r0, [pc, #20] @ (80010e4 ) - 80010d0: f004 fbbc bl 800584c - 80010d4: 4603 mov r3, r0 - 80010d6: 2b00 cmp r3, #0 - 80010d8: d001 beq.n 80010de + 800125e: 4805 ldr r0, [pc, #20] @ (8001274 ) + 8001260: f004 fbbc bl 80059dc + 8001264: 4603 mov r3, r0 + 8001266: 2b00 cmp r3, #0 + 8001268: d001 beq.n 800126e { Error_Handler(); - 80010da: f7ff fd75 bl 8000bc8 + 800126a: f7ff fd75 bl 8000d58 } /* USER CODE BEGIN UART5_Init 2 */ /* USER CODE END UART5_Init 2 */ } - 80010de: bf00 nop - 80010e0: bd80 pop {r7, pc} - 80010e2: bf00 nop - 80010e4: 2000031c .word 0x2000031c - 80010e8: 40005000 .word 0x40005000 + 800126e: bf00 nop + 8001270: bd80 pop {r7, pc} + 8001272: bf00 nop + 8001274: 20000344 .word 0x20000344 + 8001278: 40005000 .word 0x40005000 -080010ec : +0800127c : /* USART1 init function */ void MX_USART1_UART_Init(void) { - 80010ec: b580 push {r7, lr} - 80010ee: af00 add r7, sp, #0 + 800127c: b580 push {r7, lr} + 800127e: af00 add r7, sp, #0 /* USER CODE END USART1_Init 0 */ /* USER CODE BEGIN USART1_Init 1 */ /* USER CODE END USART1_Init 1 */ huart1.Instance = USART1; - 80010f0: 4b11 ldr r3, [pc, #68] @ (8001138 ) - 80010f2: 4a12 ldr r2, [pc, #72] @ (800113c ) - 80010f4: 601a str r2, [r3, #0] + 8001280: 4b11 ldr r3, [pc, #68] @ (80012c8 ) + 8001282: 4a12 ldr r2, [pc, #72] @ (80012cc ) + 8001284: 601a str r2, [r3, #0] huart1.Init.BaudRate = 115200; - 80010f6: 4b10 ldr r3, [pc, #64] @ (8001138 ) - 80010f8: f44f 32e1 mov.w r2, #115200 @ 0x1c200 - 80010fc: 605a str r2, [r3, #4] + 8001286: 4b10 ldr r3, [pc, #64] @ (80012c8 ) + 8001288: f44f 32e1 mov.w r2, #115200 @ 0x1c200 + 800128c: 605a str r2, [r3, #4] huart1.Init.WordLength = UART_WORDLENGTH_8B; - 80010fe: 4b0e ldr r3, [pc, #56] @ (8001138 ) - 8001100: 2200 movs r2, #0 - 8001102: 609a str r2, [r3, #8] + 800128e: 4b0e ldr r3, [pc, #56] @ (80012c8 ) + 8001290: 2200 movs r2, #0 + 8001292: 609a str r2, [r3, #8] huart1.Init.StopBits = UART_STOPBITS_1; - 8001104: 4b0c ldr r3, [pc, #48] @ (8001138 ) - 8001106: 2200 movs r2, #0 - 8001108: 60da str r2, [r3, #12] + 8001294: 4b0c ldr r3, [pc, #48] @ (80012c8 ) + 8001296: 2200 movs r2, #0 + 8001298: 60da str r2, [r3, #12] huart1.Init.Parity = UART_PARITY_NONE; - 800110a: 4b0b ldr r3, [pc, #44] @ (8001138 ) - 800110c: 2200 movs r2, #0 - 800110e: 611a str r2, [r3, #16] + 800129a: 4b0b ldr r3, [pc, #44] @ (80012c8 ) + 800129c: 2200 movs r2, #0 + 800129e: 611a str r2, [r3, #16] huart1.Init.Mode = UART_MODE_TX_RX; - 8001110: 4b09 ldr r3, [pc, #36] @ (8001138 ) - 8001112: 220c movs r2, #12 - 8001114: 615a str r2, [r3, #20] + 80012a0: 4b09 ldr r3, [pc, #36] @ (80012c8 ) + 80012a2: 220c movs r2, #12 + 80012a4: 615a str r2, [r3, #20] huart1.Init.HwFlowCtl = UART_HWCONTROL_NONE; - 8001116: 4b08 ldr r3, [pc, #32] @ (8001138 ) - 8001118: 2200 movs r2, #0 - 800111a: 619a str r2, [r3, #24] + 80012a6: 4b08 ldr r3, [pc, #32] @ (80012c8 ) + 80012a8: 2200 movs r2, #0 + 80012aa: 619a str r2, [r3, #24] huart1.Init.OverSampling = UART_OVERSAMPLING_16; - 800111c: 4b06 ldr r3, [pc, #24] @ (8001138 ) - 800111e: 2200 movs r2, #0 - 8001120: 61da str r2, [r3, #28] + 80012ac: 4b06 ldr r3, [pc, #24] @ (80012c8 ) + 80012ae: 2200 movs r2, #0 + 80012b0: 61da str r2, [r3, #28] if (HAL_UART_Init(&huart1) != HAL_OK) - 8001122: 4805 ldr r0, [pc, #20] @ (8001138 ) - 8001124: f004 fb92 bl 800584c - 8001128: 4603 mov r3, r0 - 800112a: 2b00 cmp r3, #0 - 800112c: d001 beq.n 8001132 + 80012b2: 4805 ldr r0, [pc, #20] @ (80012c8 ) + 80012b4: f004 fb92 bl 80059dc + 80012b8: 4603 mov r3, r0 + 80012ba: 2b00 cmp r3, #0 + 80012bc: d001 beq.n 80012c2 { Error_Handler(); - 800112e: f7ff fd4b bl 8000bc8 + 80012be: f7ff fd4b bl 8000d58 } /* USER CODE BEGIN USART1_Init 2 */ /* USER CODE END USART1_Init 2 */ } - 8001132: bf00 nop - 8001134: bd80 pop {r7, pc} - 8001136: bf00 nop - 8001138: 20000364 .word 0x20000364 - 800113c: 40011000 .word 0x40011000 + 80012c2: bf00 nop + 80012c4: bd80 pop {r7, pc} + 80012c6: bf00 nop + 80012c8: 2000038c .word 0x2000038c + 80012cc: 40011000 .word 0x40011000 -08001140 : +080012d0 : /* USART2 init function */ void MX_USART2_UART_Init(void) { - 8001140: b580 push {r7, lr} - 8001142: af00 add r7, sp, #0 + 80012d0: b580 push {r7, lr} + 80012d2: af00 add r7, sp, #0 /* USER CODE END USART2_Init 0 */ /* USER CODE BEGIN USART2_Init 1 */ /* USER CODE END USART2_Init 1 */ huart2.Instance = USART2; - 8001144: 4b11 ldr r3, [pc, #68] @ (800118c ) - 8001146: 4a12 ldr r2, [pc, #72] @ (8001190 ) - 8001148: 601a str r2, [r3, #0] + 80012d4: 4b11 ldr r3, [pc, #68] @ (800131c ) + 80012d6: 4a12 ldr r2, [pc, #72] @ (8001320 ) + 80012d8: 601a str r2, [r3, #0] huart2.Init.BaudRate = 115200; - 800114a: 4b10 ldr r3, [pc, #64] @ (800118c ) - 800114c: f44f 32e1 mov.w r2, #115200 @ 0x1c200 - 8001150: 605a str r2, [r3, #4] + 80012da: 4b10 ldr r3, [pc, #64] @ (800131c ) + 80012dc: f44f 32e1 mov.w r2, #115200 @ 0x1c200 + 80012e0: 605a str r2, [r3, #4] huart2.Init.WordLength = UART_WORDLENGTH_8B; - 8001152: 4b0e ldr r3, [pc, #56] @ (800118c ) - 8001154: 2200 movs r2, #0 - 8001156: 609a str r2, [r3, #8] + 80012e2: 4b0e ldr r3, [pc, #56] @ (800131c ) + 80012e4: 2200 movs r2, #0 + 80012e6: 609a str r2, [r3, #8] huart2.Init.StopBits = UART_STOPBITS_1; - 8001158: 4b0c ldr r3, [pc, #48] @ (800118c ) - 800115a: 2200 movs r2, #0 - 800115c: 60da str r2, [r3, #12] + 80012e8: 4b0c ldr r3, [pc, #48] @ (800131c ) + 80012ea: 2200 movs r2, #0 + 80012ec: 60da str r2, [r3, #12] huart2.Init.Parity = UART_PARITY_NONE; - 800115e: 4b0b ldr r3, [pc, #44] @ (800118c ) - 8001160: 2200 movs r2, #0 - 8001162: 611a str r2, [r3, #16] + 80012ee: 4b0b ldr r3, [pc, #44] @ (800131c ) + 80012f0: 2200 movs r2, #0 + 80012f2: 611a str r2, [r3, #16] huart2.Init.Mode = UART_MODE_TX_RX; - 8001164: 4b09 ldr r3, [pc, #36] @ (800118c ) - 8001166: 220c movs r2, #12 - 8001168: 615a str r2, [r3, #20] + 80012f4: 4b09 ldr r3, [pc, #36] @ (800131c ) + 80012f6: 220c movs r2, #12 + 80012f8: 615a str r2, [r3, #20] huart2.Init.HwFlowCtl = UART_HWCONTROL_NONE; - 800116a: 4b08 ldr r3, [pc, #32] @ (800118c ) - 800116c: 2200 movs r2, #0 - 800116e: 619a str r2, [r3, #24] + 80012fa: 4b08 ldr r3, [pc, #32] @ (800131c ) + 80012fc: 2200 movs r2, #0 + 80012fe: 619a str r2, [r3, #24] huart2.Init.OverSampling = UART_OVERSAMPLING_16; - 8001170: 4b06 ldr r3, [pc, #24] @ (800118c ) - 8001172: 2200 movs r2, #0 - 8001174: 61da str r2, [r3, #28] + 8001300: 4b06 ldr r3, [pc, #24] @ (800131c ) + 8001302: 2200 movs r2, #0 + 8001304: 61da str r2, [r3, #28] if (HAL_UART_Init(&huart2) != HAL_OK) - 8001176: 4805 ldr r0, [pc, #20] @ (800118c ) - 8001178: f004 fb68 bl 800584c - 800117c: 4603 mov r3, r0 - 800117e: 2b00 cmp r3, #0 - 8001180: d001 beq.n 8001186 + 8001306: 4805 ldr r0, [pc, #20] @ (800131c ) + 8001308: f004 fb68 bl 80059dc + 800130c: 4603 mov r3, r0 + 800130e: 2b00 cmp r3, #0 + 8001310: d001 beq.n 8001316 { Error_Handler(); - 8001182: f7ff fd21 bl 8000bc8 + 8001312: f7ff fd21 bl 8000d58 } /* USER CODE BEGIN USART2_Init 2 */ /* USER CODE END USART2_Init 2 */ } - 8001186: bf00 nop - 8001188: bd80 pop {r7, pc} - 800118a: bf00 nop - 800118c: 200003ac .word 0x200003ac - 8001190: 40004400 .word 0x40004400 + 8001316: bf00 nop + 8001318: bd80 pop {r7, pc} + 800131a: bf00 nop + 800131c: 200003d4 .word 0x200003d4 + 8001320: 40004400 .word 0x40004400 -08001194 : +08001324 : void HAL_UART_MspInit(UART_HandleTypeDef* uartHandle) { - 8001194: b580 push {r7, lr} - 8001196: b090 sub sp, #64 @ 0x40 - 8001198: af00 add r7, sp, #0 - 800119a: 6078 str r0, [r7, #4] + 8001324: b580 push {r7, lr} + 8001326: b090 sub sp, #64 @ 0x40 + 8001328: af00 add r7, sp, #0 + 800132a: 6078 str r0, [r7, #4] GPIO_InitTypeDef GPIO_InitStruct = {0}; - 800119c: f107 032c add.w r3, r7, #44 @ 0x2c - 80011a0: 2200 movs r2, #0 - 80011a2: 601a str r2, [r3, #0] - 80011a4: 605a str r2, [r3, #4] - 80011a6: 609a str r2, [r3, #8] - 80011a8: 60da str r2, [r3, #12] - 80011aa: 611a str r2, [r3, #16] + 800132c: f107 032c add.w r3, r7, #44 @ 0x2c + 8001330: 2200 movs r2, #0 + 8001332: 601a str r2, [r3, #0] + 8001334: 605a str r2, [r3, #4] + 8001336: 609a str r2, [r3, #8] + 8001338: 60da str r2, [r3, #12] + 800133a: 611a str r2, [r3, #16] if(uartHandle->Instance==UART4) - 80011ac: 687b ldr r3, [r7, #4] - 80011ae: 681b ldr r3, [r3, #0] - 80011b0: 4a4a ldr r2, [pc, #296] @ (80012dc ) - 80011b2: 4293 cmp r3, r2 - 80011b4: f040 80a0 bne.w 80012f8 + 800133c: 687b ldr r3, [r7, #4] + 800133e: 681b ldr r3, [r3, #0] + 8001340: 4a4a ldr r2, [pc, #296] @ (800146c ) + 8001342: 4293 cmp r3, r2 + 8001344: f040 80a0 bne.w 8001488 { /* USER CODE BEGIN UART4_MspInit 0 */ /* USER CODE END UART4_MspInit 0 */ /* UART4 clock enable */ __HAL_RCC_UART4_CLK_ENABLE(); - 80011b8: 2300 movs r3, #0 - 80011ba: 62bb str r3, [r7, #40] @ 0x28 - 80011bc: 4b48 ldr r3, [pc, #288] @ (80012e0 ) - 80011be: 6c1b ldr r3, [r3, #64] @ 0x40 - 80011c0: 4a47 ldr r2, [pc, #284] @ (80012e0 ) - 80011c2: f443 2300 orr.w r3, r3, #524288 @ 0x80000 - 80011c6: 6413 str r3, [r2, #64] @ 0x40 - 80011c8: 4b45 ldr r3, [pc, #276] @ (80012e0 ) - 80011ca: 6c1b ldr r3, [r3, #64] @ 0x40 - 80011cc: f403 2300 and.w r3, r3, #524288 @ 0x80000 - 80011d0: 62bb str r3, [r7, #40] @ 0x28 - 80011d2: 6abb ldr r3, [r7, #40] @ 0x28 + 8001348: 2300 movs r3, #0 + 800134a: 62bb str r3, [r7, #40] @ 0x28 + 800134c: 4b48 ldr r3, [pc, #288] @ (8001470 ) + 800134e: 6c1b ldr r3, [r3, #64] @ 0x40 + 8001350: 4a47 ldr r2, [pc, #284] @ (8001470 ) + 8001352: f443 2300 orr.w r3, r3, #524288 @ 0x80000 + 8001356: 6413 str r3, [r2, #64] @ 0x40 + 8001358: 4b45 ldr r3, [pc, #276] @ (8001470 ) + 800135a: 6c1b ldr r3, [r3, #64] @ 0x40 + 800135c: f403 2300 and.w r3, r3, #524288 @ 0x80000 + 8001360: 62bb str r3, [r7, #40] @ 0x28 + 8001362: 6abb ldr r3, [r7, #40] @ 0x28 __HAL_RCC_GPIOA_CLK_ENABLE(); - 80011d4: 2300 movs r3, #0 - 80011d6: 627b str r3, [r7, #36] @ 0x24 - 80011d8: 4b41 ldr r3, [pc, #260] @ (80012e0 ) - 80011da: 6b1b ldr r3, [r3, #48] @ 0x30 - 80011dc: 4a40 ldr r2, [pc, #256] @ (80012e0 ) - 80011de: f043 0301 orr.w r3, r3, #1 - 80011e2: 6313 str r3, [r2, #48] @ 0x30 - 80011e4: 4b3e ldr r3, [pc, #248] @ (80012e0 ) - 80011e6: 6b1b ldr r3, [r3, #48] @ 0x30 - 80011e8: f003 0301 and.w r3, r3, #1 - 80011ec: 627b str r3, [r7, #36] @ 0x24 - 80011ee: 6a7b ldr r3, [r7, #36] @ 0x24 + 8001364: 2300 movs r3, #0 + 8001366: 627b str r3, [r7, #36] @ 0x24 + 8001368: 4b41 ldr r3, [pc, #260] @ (8001470 ) + 800136a: 6b1b ldr r3, [r3, #48] @ 0x30 + 800136c: 4a40 ldr r2, [pc, #256] @ (8001470 ) + 800136e: f043 0301 orr.w r3, r3, #1 + 8001372: 6313 str r3, [r2, #48] @ 0x30 + 8001374: 4b3e ldr r3, [pc, #248] @ (8001470 ) + 8001376: 6b1b ldr r3, [r3, #48] @ 0x30 + 8001378: f003 0301 and.w r3, r3, #1 + 800137c: 627b str r3, [r7, #36] @ 0x24 + 800137e: 6a7b ldr r3, [r7, #36] @ 0x24 /**UART4 GPIO Configuration PA0-WKUP ------> UART4_TX PA1 ------> UART4_RX */ GPIO_InitStruct.Pin = GPIO_PIN_0|GPIO_PIN_1; - 80011f0: 2303 movs r3, #3 - 80011f2: 62fb str r3, [r7, #44] @ 0x2c + 8001380: 2303 movs r3, #3 + 8001382: 62fb str r3, [r7, #44] @ 0x2c GPIO_InitStruct.Mode = GPIO_MODE_AF_PP; - 80011f4: 2302 movs r3, #2 - 80011f6: 633b str r3, [r7, #48] @ 0x30 + 8001384: 2302 movs r3, #2 + 8001386: 633b str r3, [r7, #48] @ 0x30 GPIO_InitStruct.Pull = GPIO_NOPULL; - 80011f8: 2300 movs r3, #0 - 80011fa: 637b str r3, [r7, #52] @ 0x34 + 8001388: 2300 movs r3, #0 + 800138a: 637b str r3, [r7, #52] @ 0x34 GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_VERY_HIGH; - 80011fc: 2303 movs r3, #3 - 80011fe: 63bb str r3, [r7, #56] @ 0x38 + 800138c: 2303 movs r3, #3 + 800138e: 63bb str r3, [r7, #56] @ 0x38 GPIO_InitStruct.Alternate = GPIO_AF8_UART4; - 8001200: 2308 movs r3, #8 - 8001202: 63fb str r3, [r7, #60] @ 0x3c + 8001390: 2308 movs r3, #8 + 8001392: 63fb str r3, [r7, #60] @ 0x3c HAL_GPIO_Init(GPIOA, &GPIO_InitStruct); - 8001204: f107 032c add.w r3, r7, #44 @ 0x2c - 8001208: 4619 mov r1, r3 - 800120a: 4836 ldr r0, [pc, #216] @ (80012e4 ) - 800120c: f001 f858 bl 80022c0 + 8001394: f107 032c add.w r3, r7, #44 @ 0x2c + 8001398: 4619 mov r1, r3 + 800139a: 4836 ldr r0, [pc, #216] @ (8001474 ) + 800139c: f001 f858 bl 8002450 /* UART4 DMA Init */ /* UART4_RX Init */ hdma_uart4_rx.Instance = DMA1_Stream2; - 8001210: 4b35 ldr r3, [pc, #212] @ (80012e8 ) - 8001212: 4a36 ldr r2, [pc, #216] @ (80012ec ) - 8001214: 601a str r2, [r3, #0] + 80013a0: 4b35 ldr r3, [pc, #212] @ (8001478 ) + 80013a2: 4a36 ldr r2, [pc, #216] @ (800147c ) + 80013a4: 601a str r2, [r3, #0] hdma_uart4_rx.Init.Channel = DMA_CHANNEL_4; - 8001216: 4b34 ldr r3, [pc, #208] @ (80012e8 ) - 8001218: f04f 6200 mov.w r2, #134217728 @ 0x8000000 - 800121c: 605a str r2, [r3, #4] + 80013a6: 4b34 ldr r3, [pc, #208] @ (8001478 ) + 80013a8: f04f 6200 mov.w r2, #134217728 @ 0x8000000 + 80013ac: 605a str r2, [r3, #4] hdma_uart4_rx.Init.Direction = DMA_PERIPH_TO_MEMORY; - 800121e: 4b32 ldr r3, [pc, #200] @ (80012e8 ) - 8001220: 2200 movs r2, #0 - 8001222: 609a str r2, [r3, #8] + 80013ae: 4b32 ldr r3, [pc, #200] @ (8001478 ) + 80013b0: 2200 movs r2, #0 + 80013b2: 609a str r2, [r3, #8] hdma_uart4_rx.Init.PeriphInc = DMA_PINC_DISABLE; - 8001224: 4b30 ldr r3, [pc, #192] @ (80012e8 ) - 8001226: 2200 movs r2, #0 - 8001228: 60da str r2, [r3, #12] + 80013b4: 4b30 ldr r3, [pc, #192] @ (8001478 ) + 80013b6: 2200 movs r2, #0 + 80013b8: 60da str r2, [r3, #12] hdma_uart4_rx.Init.MemInc = DMA_MINC_ENABLE; - 800122a: 4b2f ldr r3, [pc, #188] @ (80012e8 ) - 800122c: f44f 6280 mov.w r2, #1024 @ 0x400 - 8001230: 611a str r2, [r3, #16] + 80013ba: 4b2f ldr r3, [pc, #188] @ (8001478 ) + 80013bc: f44f 6280 mov.w r2, #1024 @ 0x400 + 80013c0: 611a str r2, [r3, #16] hdma_uart4_rx.Init.PeriphDataAlignment = DMA_PDATAALIGN_BYTE; - 8001232: 4b2d ldr r3, [pc, #180] @ (80012e8 ) - 8001234: 2200 movs r2, #0 - 8001236: 615a str r2, [r3, #20] + 80013c2: 4b2d ldr r3, [pc, #180] @ (8001478 ) + 80013c4: 2200 movs r2, #0 + 80013c6: 615a str r2, [r3, #20] hdma_uart4_rx.Init.MemDataAlignment = DMA_MDATAALIGN_BYTE; - 8001238: 4b2b ldr r3, [pc, #172] @ (80012e8 ) - 800123a: 2200 movs r2, #0 - 800123c: 619a str r2, [r3, #24] + 80013c8: 4b2b ldr r3, [pc, #172] @ (8001478 ) + 80013ca: 2200 movs r2, #0 + 80013cc: 619a str r2, [r3, #24] hdma_uart4_rx.Init.Mode = DMA_NORMAL; - 800123e: 4b2a ldr r3, [pc, #168] @ (80012e8 ) - 8001240: 2200 movs r2, #0 - 8001242: 61da str r2, [r3, #28] + 80013ce: 4b2a ldr r3, [pc, #168] @ (8001478 ) + 80013d0: 2200 movs r2, #0 + 80013d2: 61da str r2, [r3, #28] hdma_uart4_rx.Init.Priority = DMA_PRIORITY_LOW; - 8001244: 4b28 ldr r3, [pc, #160] @ (80012e8 ) - 8001246: 2200 movs r2, #0 - 8001248: 621a str r2, [r3, #32] + 80013d4: 4b28 ldr r3, [pc, #160] @ (8001478 ) + 80013d6: 2200 movs r2, #0 + 80013d8: 621a str r2, [r3, #32] hdma_uart4_rx.Init.FIFOMode = DMA_FIFOMODE_DISABLE; - 800124a: 4b27 ldr r3, [pc, #156] @ (80012e8 ) - 800124c: 2200 movs r2, #0 - 800124e: 625a str r2, [r3, #36] @ 0x24 + 80013da: 4b27 ldr r3, [pc, #156] @ (8001478 ) + 80013dc: 2200 movs r2, #0 + 80013de: 625a str r2, [r3, #36] @ 0x24 if (HAL_DMA_Init(&hdma_uart4_rx) != HAL_OK) - 8001250: 4825 ldr r0, [pc, #148] @ (80012e8 ) - 8001252: f000 fc33 bl 8001abc - 8001256: 4603 mov r3, r0 - 8001258: 2b00 cmp r3, #0 - 800125a: d001 beq.n 8001260 + 80013e0: 4825 ldr r0, [pc, #148] @ (8001478 ) + 80013e2: f000 fc33 bl 8001c4c + 80013e6: 4603 mov r3, r0 + 80013e8: 2b00 cmp r3, #0 + 80013ea: d001 beq.n 80013f0 { Error_Handler(); - 800125c: f7ff fcb4 bl 8000bc8 + 80013ec: f7ff fcb4 bl 8000d58 } __HAL_LINKDMA(uartHandle,hdmarx,hdma_uart4_rx); - 8001260: 687b ldr r3, [r7, #4] - 8001262: 4a21 ldr r2, [pc, #132] @ (80012e8 ) - 8001264: 63da str r2, [r3, #60] @ 0x3c - 8001266: 4a20 ldr r2, [pc, #128] @ (80012e8 ) - 8001268: 687b ldr r3, [r7, #4] - 800126a: 6393 str r3, [r2, #56] @ 0x38 + 80013f0: 687b ldr r3, [r7, #4] + 80013f2: 4a21 ldr r2, [pc, #132] @ (8001478 ) + 80013f4: 63da str r2, [r3, #60] @ 0x3c + 80013f6: 4a20 ldr r2, [pc, #128] @ (8001478 ) + 80013f8: 687b ldr r3, [r7, #4] + 80013fa: 6393 str r3, [r2, #56] @ 0x38 /* UART4_TX Init */ hdma_uart4_tx.Instance = DMA1_Stream4; - 800126c: 4b20 ldr r3, [pc, #128] @ (80012f0 ) - 800126e: 4a21 ldr r2, [pc, #132] @ (80012f4 ) - 8001270: 601a str r2, [r3, #0] + 80013fc: 4b20 ldr r3, [pc, #128] @ (8001480 ) + 80013fe: 4a21 ldr r2, [pc, #132] @ (8001484 ) + 8001400: 601a str r2, [r3, #0] hdma_uart4_tx.Init.Channel = DMA_CHANNEL_4; - 8001272: 4b1f ldr r3, [pc, #124] @ (80012f0 ) - 8001274: f04f 6200 mov.w r2, #134217728 @ 0x8000000 - 8001278: 605a str r2, [r3, #4] + 8001402: 4b1f ldr r3, [pc, #124] @ (8001480 ) + 8001404: f04f 6200 mov.w r2, #134217728 @ 0x8000000 + 8001408: 605a str r2, [r3, #4] hdma_uart4_tx.Init.Direction = DMA_MEMORY_TO_PERIPH; - 800127a: 4b1d ldr r3, [pc, #116] @ (80012f0 ) - 800127c: 2240 movs r2, #64 @ 0x40 - 800127e: 609a str r2, [r3, #8] + 800140a: 4b1d ldr r3, [pc, #116] @ (8001480 ) + 800140c: 2240 movs r2, #64 @ 0x40 + 800140e: 609a str r2, [r3, #8] hdma_uart4_tx.Init.PeriphInc = DMA_PINC_DISABLE; - 8001280: 4b1b ldr r3, [pc, #108] @ (80012f0 ) - 8001282: 2200 movs r2, #0 - 8001284: 60da str r2, [r3, #12] + 8001410: 4b1b ldr r3, [pc, #108] @ (8001480 ) + 8001412: 2200 movs r2, #0 + 8001414: 60da str r2, [r3, #12] hdma_uart4_tx.Init.MemInc = DMA_MINC_ENABLE; - 8001286: 4b1a ldr r3, [pc, #104] @ (80012f0 ) - 8001288: f44f 6280 mov.w r2, #1024 @ 0x400 - 800128c: 611a str r2, [r3, #16] + 8001416: 4b1a ldr r3, [pc, #104] @ (8001480 ) + 8001418: f44f 6280 mov.w r2, #1024 @ 0x400 + 800141c: 611a str r2, [r3, #16] hdma_uart4_tx.Init.PeriphDataAlignment = DMA_PDATAALIGN_BYTE; - 800128e: 4b18 ldr r3, [pc, #96] @ (80012f0 ) - 8001290: 2200 movs r2, #0 - 8001292: 615a str r2, [r3, #20] + 800141e: 4b18 ldr r3, [pc, #96] @ (8001480 ) + 8001420: 2200 movs r2, #0 + 8001422: 615a str r2, [r3, #20] hdma_uart4_tx.Init.MemDataAlignment = DMA_MDATAALIGN_BYTE; - 8001294: 4b16 ldr r3, [pc, #88] @ (80012f0 ) - 8001296: 2200 movs r2, #0 - 8001298: 619a str r2, [r3, #24] + 8001424: 4b16 ldr r3, [pc, #88] @ (8001480 ) + 8001426: 2200 movs r2, #0 + 8001428: 619a str r2, [r3, #24] hdma_uart4_tx.Init.Mode = DMA_NORMAL; - 800129a: 4b15 ldr r3, [pc, #84] @ (80012f0 ) - 800129c: 2200 movs r2, #0 - 800129e: 61da str r2, [r3, #28] + 800142a: 4b15 ldr r3, [pc, #84] @ (8001480 ) + 800142c: 2200 movs r2, #0 + 800142e: 61da str r2, [r3, #28] hdma_uart4_tx.Init.Priority = DMA_PRIORITY_LOW; - 80012a0: 4b13 ldr r3, [pc, #76] @ (80012f0 ) - 80012a2: 2200 movs r2, #0 - 80012a4: 621a str r2, [r3, #32] + 8001430: 4b13 ldr r3, [pc, #76] @ (8001480 ) + 8001432: 2200 movs r2, #0 + 8001434: 621a str r2, [r3, #32] hdma_uart4_tx.Init.FIFOMode = DMA_FIFOMODE_DISABLE; - 80012a6: 4b12 ldr r3, [pc, #72] @ (80012f0 ) - 80012a8: 2200 movs r2, #0 - 80012aa: 625a str r2, [r3, #36] @ 0x24 + 8001436: 4b12 ldr r3, [pc, #72] @ (8001480 ) + 8001438: 2200 movs r2, #0 + 800143a: 625a str r2, [r3, #36] @ 0x24 if (HAL_DMA_Init(&hdma_uart4_tx) != HAL_OK) - 80012ac: 4810 ldr r0, [pc, #64] @ (80012f0 ) - 80012ae: f000 fc05 bl 8001abc - 80012b2: 4603 mov r3, r0 - 80012b4: 2b00 cmp r3, #0 - 80012b6: d001 beq.n 80012bc + 800143c: 4810 ldr r0, [pc, #64] @ (8001480 ) + 800143e: f000 fc05 bl 8001c4c + 8001442: 4603 mov r3, r0 + 8001444: 2b00 cmp r3, #0 + 8001446: d001 beq.n 800144c { Error_Handler(); - 80012b8: f7ff fc86 bl 8000bc8 + 8001448: f7ff fc86 bl 8000d58 } __HAL_LINKDMA(uartHandle,hdmatx,hdma_uart4_tx); - 80012bc: 687b ldr r3, [r7, #4] - 80012be: 4a0c ldr r2, [pc, #48] @ (80012f0 ) - 80012c0: 639a str r2, [r3, #56] @ 0x38 - 80012c2: 4a0b ldr r2, [pc, #44] @ (80012f0 ) - 80012c4: 687b ldr r3, [r7, #4] - 80012c6: 6393 str r3, [r2, #56] @ 0x38 + 800144c: 687b ldr r3, [r7, #4] + 800144e: 4a0c ldr r2, [pc, #48] @ (8001480 ) + 8001450: 639a str r2, [r3, #56] @ 0x38 + 8001452: 4a0b ldr r2, [pc, #44] @ (8001480 ) + 8001454: 687b ldr r3, [r7, #4] + 8001456: 6393 str r3, [r2, #56] @ 0x38 /* UART4 interrupt Init */ HAL_NVIC_SetPriority(UART4_IRQn, 0, 0); - 80012c8: 2200 movs r2, #0 - 80012ca: 2100 movs r1, #0 - 80012cc: 2034 movs r0, #52 @ 0x34 - 80012ce: f000 fbbe bl 8001a4e + 8001458: 2200 movs r2, #0 + 800145a: 2100 movs r1, #0 + 800145c: 2034 movs r0, #52 @ 0x34 + 800145e: f000 fbbe bl 8001bde HAL_NVIC_EnableIRQ(UART4_IRQn); - 80012d2: 2034 movs r0, #52 @ 0x34 - 80012d4: f000 fbd7 bl 8001a86 + 8001462: 2034 movs r0, #52 @ 0x34 + 8001464: f000 fbd7 bl 8001c16 HAL_NVIC_EnableIRQ(USART2_IRQn); /* USER CODE BEGIN USART2_MspInit 1 */ /* USER CODE END USART2_MspInit 1 */ } } - 80012d8: e202 b.n 80016e0 - 80012da: bf00 nop - 80012dc: 40004c00 .word 0x40004c00 - 80012e0: 40023800 .word 0x40023800 - 80012e4: 40020000 .word 0x40020000 - 80012e8: 200003f4 .word 0x200003f4 - 80012ec: 40026040 .word 0x40026040 - 80012f0: 20000454 .word 0x20000454 - 80012f4: 40026070 .word 0x40026070 + 8001468: e202 b.n 8001870 + 800146a: bf00 nop + 800146c: 40004c00 .word 0x40004c00 + 8001470: 40023800 .word 0x40023800 + 8001474: 40020000 .word 0x40020000 + 8001478: 2000041c .word 0x2000041c + 800147c: 40026040 .word 0x40026040 + 8001480: 2000047c .word 0x2000047c + 8001484: 40026070 .word 0x40026070 else if(uartHandle->Instance==UART5) - 80012f8: 687b ldr r3, [r7, #4] - 80012fa: 681b ldr r3, [r3, #0] - 80012fc: 4a59 ldr r2, [pc, #356] @ (8001464 ) - 80012fe: 4293 cmp r3, r2 - 8001300: f040 80c0 bne.w 8001484 + 8001488: 687b ldr r3, [r7, #4] + 800148a: 681b ldr r3, [r3, #0] + 800148c: 4a59 ldr r2, [pc, #356] @ (80015f4 ) + 800148e: 4293 cmp r3, r2 + 8001490: f040 80c0 bne.w 8001614 __HAL_RCC_UART5_CLK_ENABLE(); - 8001304: 2300 movs r3, #0 - 8001306: 623b str r3, [r7, #32] - 8001308: 4b57 ldr r3, [pc, #348] @ (8001468 ) - 800130a: 6c1b ldr r3, [r3, #64] @ 0x40 - 800130c: 4a56 ldr r2, [pc, #344] @ (8001468 ) - 800130e: f443 1380 orr.w r3, r3, #1048576 @ 0x100000 - 8001312: 6413 str r3, [r2, #64] @ 0x40 - 8001314: 4b54 ldr r3, [pc, #336] @ (8001468 ) - 8001316: 6c1b ldr r3, [r3, #64] @ 0x40 - 8001318: f403 1380 and.w r3, r3, #1048576 @ 0x100000 - 800131c: 623b str r3, [r7, #32] - 800131e: 6a3b ldr r3, [r7, #32] + 8001494: 2300 movs r3, #0 + 8001496: 623b str r3, [r7, #32] + 8001498: 4b57 ldr r3, [pc, #348] @ (80015f8 ) + 800149a: 6c1b ldr r3, [r3, #64] @ 0x40 + 800149c: 4a56 ldr r2, [pc, #344] @ (80015f8 ) + 800149e: f443 1380 orr.w r3, r3, #1048576 @ 0x100000 + 80014a2: 6413 str r3, [r2, #64] @ 0x40 + 80014a4: 4b54 ldr r3, [pc, #336] @ (80015f8 ) + 80014a6: 6c1b ldr r3, [r3, #64] @ 0x40 + 80014a8: f403 1380 and.w r3, r3, #1048576 @ 0x100000 + 80014ac: 623b str r3, [r7, #32] + 80014ae: 6a3b ldr r3, [r7, #32] __HAL_RCC_GPIOC_CLK_ENABLE(); - 8001320: 2300 movs r3, #0 - 8001322: 61fb str r3, [r7, #28] - 8001324: 4b50 ldr r3, [pc, #320] @ (8001468 ) - 8001326: 6b1b ldr r3, [r3, #48] @ 0x30 - 8001328: 4a4f ldr r2, [pc, #316] @ (8001468 ) - 800132a: f043 0304 orr.w r3, r3, #4 - 800132e: 6313 str r3, [r2, #48] @ 0x30 - 8001330: 4b4d ldr r3, [pc, #308] @ (8001468 ) - 8001332: 6b1b ldr r3, [r3, #48] @ 0x30 - 8001334: f003 0304 and.w r3, r3, #4 - 8001338: 61fb str r3, [r7, #28] - 800133a: 69fb ldr r3, [r7, #28] + 80014b0: 2300 movs r3, #0 + 80014b2: 61fb str r3, [r7, #28] + 80014b4: 4b50 ldr r3, [pc, #320] @ (80015f8 ) + 80014b6: 6b1b ldr r3, [r3, #48] @ 0x30 + 80014b8: 4a4f ldr r2, [pc, #316] @ (80015f8 ) + 80014ba: f043 0304 orr.w r3, r3, #4 + 80014be: 6313 str r3, [r2, #48] @ 0x30 + 80014c0: 4b4d ldr r3, [pc, #308] @ (80015f8 ) + 80014c2: 6b1b ldr r3, [r3, #48] @ 0x30 + 80014c4: f003 0304 and.w r3, r3, #4 + 80014c8: 61fb str r3, [r7, #28] + 80014ca: 69fb ldr r3, [r7, #28] __HAL_RCC_GPIOD_CLK_ENABLE(); - 800133c: 2300 movs r3, #0 - 800133e: 61bb str r3, [r7, #24] - 8001340: 4b49 ldr r3, [pc, #292] @ (8001468 ) - 8001342: 6b1b ldr r3, [r3, #48] @ 0x30 - 8001344: 4a48 ldr r2, [pc, #288] @ (8001468 ) - 8001346: f043 0308 orr.w r3, r3, #8 - 800134a: 6313 str r3, [r2, #48] @ 0x30 - 800134c: 4b46 ldr r3, [pc, #280] @ (8001468 ) - 800134e: 6b1b ldr r3, [r3, #48] @ 0x30 - 8001350: f003 0308 and.w r3, r3, #8 - 8001354: 61bb str r3, [r7, #24] - 8001356: 69bb ldr r3, [r7, #24] + 80014cc: 2300 movs r3, #0 + 80014ce: 61bb str r3, [r7, #24] + 80014d0: 4b49 ldr r3, [pc, #292] @ (80015f8 ) + 80014d2: 6b1b ldr r3, [r3, #48] @ 0x30 + 80014d4: 4a48 ldr r2, [pc, #288] @ (80015f8 ) + 80014d6: f043 0308 orr.w r3, r3, #8 + 80014da: 6313 str r3, [r2, #48] @ 0x30 + 80014dc: 4b46 ldr r3, [pc, #280] @ (80015f8 ) + 80014de: 6b1b ldr r3, [r3, #48] @ 0x30 + 80014e0: f003 0308 and.w r3, r3, #8 + 80014e4: 61bb str r3, [r7, #24] + 80014e6: 69bb ldr r3, [r7, #24] GPIO_InitStruct.Pin = GPIO_PIN_12; - 8001358: f44f 5380 mov.w r3, #4096 @ 0x1000 - 800135c: 62fb str r3, [r7, #44] @ 0x2c + 80014e8: f44f 5380 mov.w r3, #4096 @ 0x1000 + 80014ec: 62fb str r3, [r7, #44] @ 0x2c GPIO_InitStruct.Mode = GPIO_MODE_AF_PP; - 800135e: 2302 movs r3, #2 - 8001360: 633b str r3, [r7, #48] @ 0x30 + 80014ee: 2302 movs r3, #2 + 80014f0: 633b str r3, [r7, #48] @ 0x30 GPIO_InitStruct.Pull = GPIO_NOPULL; - 8001362: 2300 movs r3, #0 - 8001364: 637b str r3, [r7, #52] @ 0x34 + 80014f2: 2300 movs r3, #0 + 80014f4: 637b str r3, [r7, #52] @ 0x34 GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_VERY_HIGH; - 8001366: 2303 movs r3, #3 - 8001368: 63bb str r3, [r7, #56] @ 0x38 + 80014f6: 2303 movs r3, #3 + 80014f8: 63bb str r3, [r7, #56] @ 0x38 GPIO_InitStruct.Alternate = GPIO_AF8_UART5; - 800136a: 2308 movs r3, #8 - 800136c: 63fb str r3, [r7, #60] @ 0x3c + 80014fa: 2308 movs r3, #8 + 80014fc: 63fb str r3, [r7, #60] @ 0x3c HAL_GPIO_Init(GPIOC, &GPIO_InitStruct); - 800136e: f107 032c add.w r3, r7, #44 @ 0x2c - 8001372: 4619 mov r1, r3 - 8001374: 483d ldr r0, [pc, #244] @ (800146c ) - 8001376: f000 ffa3 bl 80022c0 + 80014fe: f107 032c add.w r3, r7, #44 @ 0x2c + 8001502: 4619 mov r1, r3 + 8001504: 483d ldr r0, [pc, #244] @ (80015fc ) + 8001506: f000 ffa3 bl 8002450 GPIO_InitStruct.Pin = GPIO_PIN_2; - 800137a: 2304 movs r3, #4 - 800137c: 62fb str r3, [r7, #44] @ 0x2c + 800150a: 2304 movs r3, #4 + 800150c: 62fb str r3, [r7, #44] @ 0x2c GPIO_InitStruct.Mode = GPIO_MODE_AF_PP; - 800137e: 2302 movs r3, #2 - 8001380: 633b str r3, [r7, #48] @ 0x30 + 800150e: 2302 movs r3, #2 + 8001510: 633b str r3, [r7, #48] @ 0x30 GPIO_InitStruct.Pull = GPIO_NOPULL; - 8001382: 2300 movs r3, #0 - 8001384: 637b str r3, [r7, #52] @ 0x34 + 8001512: 2300 movs r3, #0 + 8001514: 637b str r3, [r7, #52] @ 0x34 GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_VERY_HIGH; - 8001386: 2303 movs r3, #3 - 8001388: 63bb str r3, [r7, #56] @ 0x38 + 8001516: 2303 movs r3, #3 + 8001518: 63bb str r3, [r7, #56] @ 0x38 GPIO_InitStruct.Alternate = GPIO_AF8_UART5; - 800138a: 2308 movs r3, #8 - 800138c: 63fb str r3, [r7, #60] @ 0x3c + 800151a: 2308 movs r3, #8 + 800151c: 63fb str r3, [r7, #60] @ 0x3c HAL_GPIO_Init(GPIOD, &GPIO_InitStruct); - 800138e: f107 032c add.w r3, r7, #44 @ 0x2c - 8001392: 4619 mov r1, r3 - 8001394: 4836 ldr r0, [pc, #216] @ (8001470 ) - 8001396: f000 ff93 bl 80022c0 + 800151e: f107 032c add.w r3, r7, #44 @ 0x2c + 8001522: 4619 mov r1, r3 + 8001524: 4836 ldr r0, [pc, #216] @ (8001600 ) + 8001526: f000 ff93 bl 8002450 hdma_uart5_rx.Instance = DMA1_Stream0; - 800139a: 4b36 ldr r3, [pc, #216] @ (8001474 ) - 800139c: 4a36 ldr r2, [pc, #216] @ (8001478 ) - 800139e: 601a str r2, [r3, #0] + 800152a: 4b36 ldr r3, [pc, #216] @ (8001604 ) + 800152c: 4a36 ldr r2, [pc, #216] @ (8001608 ) + 800152e: 601a str r2, [r3, #0] hdma_uart5_rx.Init.Channel = DMA_CHANNEL_4; - 80013a0: 4b34 ldr r3, [pc, #208] @ (8001474 ) - 80013a2: f04f 6200 mov.w r2, #134217728 @ 0x8000000 - 80013a6: 605a str r2, [r3, #4] + 8001530: 4b34 ldr r3, [pc, #208] @ (8001604 ) + 8001532: f04f 6200 mov.w r2, #134217728 @ 0x8000000 + 8001536: 605a str r2, [r3, #4] hdma_uart5_rx.Init.Direction = DMA_PERIPH_TO_MEMORY; - 80013a8: 4b32 ldr r3, [pc, #200] @ (8001474 ) - 80013aa: 2200 movs r2, #0 - 80013ac: 609a str r2, [r3, #8] + 8001538: 4b32 ldr r3, [pc, #200] @ (8001604 ) + 800153a: 2200 movs r2, #0 + 800153c: 609a str r2, [r3, #8] hdma_uart5_rx.Init.PeriphInc = DMA_PINC_DISABLE; - 80013ae: 4b31 ldr r3, [pc, #196] @ (8001474 ) - 80013b0: 2200 movs r2, #0 - 80013b2: 60da str r2, [r3, #12] + 800153e: 4b31 ldr r3, [pc, #196] @ (8001604 ) + 8001540: 2200 movs r2, #0 + 8001542: 60da str r2, [r3, #12] hdma_uart5_rx.Init.MemInc = DMA_MINC_ENABLE; - 80013b4: 4b2f ldr r3, [pc, #188] @ (8001474 ) - 80013b6: f44f 6280 mov.w r2, #1024 @ 0x400 - 80013ba: 611a str r2, [r3, #16] + 8001544: 4b2f ldr r3, [pc, #188] @ (8001604 ) + 8001546: f44f 6280 mov.w r2, #1024 @ 0x400 + 800154a: 611a str r2, [r3, #16] hdma_uart5_rx.Init.PeriphDataAlignment = DMA_PDATAALIGN_BYTE; - 80013bc: 4b2d ldr r3, [pc, #180] @ (8001474 ) - 80013be: 2200 movs r2, #0 - 80013c0: 615a str r2, [r3, #20] + 800154c: 4b2d ldr r3, [pc, #180] @ (8001604 ) + 800154e: 2200 movs r2, #0 + 8001550: 615a str r2, [r3, #20] hdma_uart5_rx.Init.MemDataAlignment = DMA_MDATAALIGN_BYTE; - 80013c2: 4b2c ldr r3, [pc, #176] @ (8001474 ) - 80013c4: 2200 movs r2, #0 - 80013c6: 619a str r2, [r3, #24] + 8001552: 4b2c ldr r3, [pc, #176] @ (8001604 ) + 8001554: 2200 movs r2, #0 + 8001556: 619a str r2, [r3, #24] hdma_uart5_rx.Init.Mode = DMA_NORMAL; - 80013c8: 4b2a ldr r3, [pc, #168] @ (8001474 ) - 80013ca: 2200 movs r2, #0 - 80013cc: 61da str r2, [r3, #28] + 8001558: 4b2a ldr r3, [pc, #168] @ (8001604 ) + 800155a: 2200 movs r2, #0 + 800155c: 61da str r2, [r3, #28] hdma_uart5_rx.Init.Priority = DMA_PRIORITY_LOW; - 80013ce: 4b29 ldr r3, [pc, #164] @ (8001474 ) - 80013d0: 2200 movs r2, #0 - 80013d2: 621a str r2, [r3, #32] + 800155e: 4b29 ldr r3, [pc, #164] @ (8001604 ) + 8001560: 2200 movs r2, #0 + 8001562: 621a str r2, [r3, #32] hdma_uart5_rx.Init.FIFOMode = DMA_FIFOMODE_DISABLE; - 80013d4: 4b27 ldr r3, [pc, #156] @ (8001474 ) - 80013d6: 2200 movs r2, #0 - 80013d8: 625a str r2, [r3, #36] @ 0x24 + 8001564: 4b27 ldr r3, [pc, #156] @ (8001604 ) + 8001566: 2200 movs r2, #0 + 8001568: 625a str r2, [r3, #36] @ 0x24 if (HAL_DMA_Init(&hdma_uart5_rx) != HAL_OK) - 80013da: 4826 ldr r0, [pc, #152] @ (8001474 ) - 80013dc: f000 fb6e bl 8001abc - 80013e0: 4603 mov r3, r0 - 80013e2: 2b00 cmp r3, #0 - 80013e4: d001 beq.n 80013ea + 800156a: 4826 ldr r0, [pc, #152] @ (8001604 ) + 800156c: f000 fb6e bl 8001c4c + 8001570: 4603 mov r3, r0 + 8001572: 2b00 cmp r3, #0 + 8001574: d001 beq.n 800157a Error_Handler(); - 80013e6: f7ff fbef bl 8000bc8 + 8001576: f7ff fbef bl 8000d58 __HAL_LINKDMA(uartHandle,hdmarx,hdma_uart5_rx); - 80013ea: 687b ldr r3, [r7, #4] - 80013ec: 4a21 ldr r2, [pc, #132] @ (8001474 ) - 80013ee: 63da str r2, [r3, #60] @ 0x3c - 80013f0: 4a20 ldr r2, [pc, #128] @ (8001474 ) - 80013f2: 687b ldr r3, [r7, #4] - 80013f4: 6393 str r3, [r2, #56] @ 0x38 + 800157a: 687b ldr r3, [r7, #4] + 800157c: 4a21 ldr r2, [pc, #132] @ (8001604 ) + 800157e: 63da str r2, [r3, #60] @ 0x3c + 8001580: 4a20 ldr r2, [pc, #128] @ (8001604 ) + 8001582: 687b ldr r3, [r7, #4] + 8001584: 6393 str r3, [r2, #56] @ 0x38 hdma_uart5_tx.Instance = DMA1_Stream7; - 80013f6: 4b21 ldr r3, [pc, #132] @ (800147c ) - 80013f8: 4a21 ldr r2, [pc, #132] @ (8001480 ) - 80013fa: 601a str r2, [r3, #0] + 8001586: 4b21 ldr r3, [pc, #132] @ (800160c ) + 8001588: 4a21 ldr r2, [pc, #132] @ (8001610 ) + 800158a: 601a str r2, [r3, #0] hdma_uart5_tx.Init.Channel = DMA_CHANNEL_4; - 80013fc: 4b1f ldr r3, [pc, #124] @ (800147c ) - 80013fe: f04f 6200 mov.w r2, #134217728 @ 0x8000000 - 8001402: 605a str r2, [r3, #4] + 800158c: 4b1f ldr r3, [pc, #124] @ (800160c ) + 800158e: f04f 6200 mov.w r2, #134217728 @ 0x8000000 + 8001592: 605a str r2, [r3, #4] hdma_uart5_tx.Init.Direction = DMA_MEMORY_TO_PERIPH; - 8001404: 4b1d ldr r3, [pc, #116] @ (800147c ) - 8001406: 2240 movs r2, #64 @ 0x40 - 8001408: 609a str r2, [r3, #8] + 8001594: 4b1d ldr r3, [pc, #116] @ (800160c ) + 8001596: 2240 movs r2, #64 @ 0x40 + 8001598: 609a str r2, [r3, #8] hdma_uart5_tx.Init.PeriphInc = DMA_PINC_DISABLE; - 800140a: 4b1c ldr r3, [pc, #112] @ (800147c ) - 800140c: 2200 movs r2, #0 - 800140e: 60da str r2, [r3, #12] + 800159a: 4b1c ldr r3, [pc, #112] @ (800160c ) + 800159c: 2200 movs r2, #0 + 800159e: 60da str r2, [r3, #12] hdma_uart5_tx.Init.MemInc = DMA_MINC_ENABLE; - 8001410: 4b1a ldr r3, [pc, #104] @ (800147c ) - 8001412: f44f 6280 mov.w r2, #1024 @ 0x400 - 8001416: 611a str r2, [r3, #16] + 80015a0: 4b1a ldr r3, [pc, #104] @ (800160c ) + 80015a2: f44f 6280 mov.w r2, #1024 @ 0x400 + 80015a6: 611a str r2, [r3, #16] hdma_uart5_tx.Init.PeriphDataAlignment = DMA_PDATAALIGN_BYTE; - 8001418: 4b18 ldr r3, [pc, #96] @ (800147c ) - 800141a: 2200 movs r2, #0 - 800141c: 615a str r2, [r3, #20] + 80015a8: 4b18 ldr r3, [pc, #96] @ (800160c ) + 80015aa: 2200 movs r2, #0 + 80015ac: 615a str r2, [r3, #20] hdma_uart5_tx.Init.MemDataAlignment = DMA_MDATAALIGN_BYTE; - 800141e: 4b17 ldr r3, [pc, #92] @ (800147c ) - 8001420: 2200 movs r2, #0 - 8001422: 619a str r2, [r3, #24] + 80015ae: 4b17 ldr r3, [pc, #92] @ (800160c ) + 80015b0: 2200 movs r2, #0 + 80015b2: 619a str r2, [r3, #24] hdma_uart5_tx.Init.Mode = DMA_NORMAL; - 8001424: 4b15 ldr r3, [pc, #84] @ (800147c ) - 8001426: 2200 movs r2, #0 - 8001428: 61da str r2, [r3, #28] + 80015b4: 4b15 ldr r3, [pc, #84] @ (800160c ) + 80015b6: 2200 movs r2, #0 + 80015b8: 61da str r2, [r3, #28] hdma_uart5_tx.Init.Priority = DMA_PRIORITY_LOW; - 800142a: 4b14 ldr r3, [pc, #80] @ (800147c ) - 800142c: 2200 movs r2, #0 - 800142e: 621a str r2, [r3, #32] + 80015ba: 4b14 ldr r3, [pc, #80] @ (800160c ) + 80015bc: 2200 movs r2, #0 + 80015be: 621a str r2, [r3, #32] hdma_uart5_tx.Init.FIFOMode = DMA_FIFOMODE_DISABLE; - 8001430: 4b12 ldr r3, [pc, #72] @ (800147c ) - 8001432: 2200 movs r2, #0 - 8001434: 625a str r2, [r3, #36] @ 0x24 + 80015c0: 4b12 ldr r3, [pc, #72] @ (800160c ) + 80015c2: 2200 movs r2, #0 + 80015c4: 625a str r2, [r3, #36] @ 0x24 if (HAL_DMA_Init(&hdma_uart5_tx) != HAL_OK) - 8001436: 4811 ldr r0, [pc, #68] @ (800147c ) - 8001438: f000 fb40 bl 8001abc - 800143c: 4603 mov r3, r0 - 800143e: 2b00 cmp r3, #0 - 8001440: d001 beq.n 8001446 + 80015c6: 4811 ldr r0, [pc, #68] @ (800160c ) + 80015c8: f000 fb40 bl 8001c4c + 80015cc: 4603 mov r3, r0 + 80015ce: 2b00 cmp r3, #0 + 80015d0: d001 beq.n 80015d6 Error_Handler(); - 8001442: f7ff fbc1 bl 8000bc8 + 80015d2: f7ff fbc1 bl 8000d58 __HAL_LINKDMA(uartHandle,hdmatx,hdma_uart5_tx); - 8001446: 687b ldr r3, [r7, #4] - 8001448: 4a0c ldr r2, [pc, #48] @ (800147c ) - 800144a: 639a str r2, [r3, #56] @ 0x38 - 800144c: 4a0b ldr r2, [pc, #44] @ (800147c ) - 800144e: 687b ldr r3, [r7, #4] - 8001450: 6393 str r3, [r2, #56] @ 0x38 + 80015d6: 687b ldr r3, [r7, #4] + 80015d8: 4a0c ldr r2, [pc, #48] @ (800160c ) + 80015da: 639a str r2, [r3, #56] @ 0x38 + 80015dc: 4a0b ldr r2, [pc, #44] @ (800160c ) + 80015de: 687b ldr r3, [r7, #4] + 80015e0: 6393 str r3, [r2, #56] @ 0x38 HAL_NVIC_SetPriority(UART5_IRQn, 0, 0); - 8001452: 2200 movs r2, #0 - 8001454: 2100 movs r1, #0 - 8001456: 2035 movs r0, #53 @ 0x35 - 8001458: f000 faf9 bl 8001a4e + 80015e2: 2200 movs r2, #0 + 80015e4: 2100 movs r1, #0 + 80015e6: 2035 movs r0, #53 @ 0x35 + 80015e8: f000 faf9 bl 8001bde HAL_NVIC_EnableIRQ(UART5_IRQn); - 800145c: 2035 movs r0, #53 @ 0x35 - 800145e: f000 fb12 bl 8001a86 + 80015ec: 2035 movs r0, #53 @ 0x35 + 80015ee: f000 fb12 bl 8001c16 } - 8001462: e13d b.n 80016e0 - 8001464: 40005000 .word 0x40005000 - 8001468: 40023800 .word 0x40023800 - 800146c: 40020800 .word 0x40020800 - 8001470: 40020c00 .word 0x40020c00 - 8001474: 200004b4 .word 0x200004b4 - 8001478: 40026010 .word 0x40026010 - 800147c: 20000514 .word 0x20000514 - 8001480: 400260b8 .word 0x400260b8 + 80015f2: e13d b.n 8001870 + 80015f4: 40005000 .word 0x40005000 + 80015f8: 40023800 .word 0x40023800 + 80015fc: 40020800 .word 0x40020800 + 8001600: 40020c00 .word 0x40020c00 + 8001604: 200004dc .word 0x200004dc + 8001608: 40026010 .word 0x40026010 + 800160c: 2000053c .word 0x2000053c + 8001610: 400260b8 .word 0x400260b8 else if(uartHandle->Instance==USART1) - 8001484: 687b ldr r3, [r7, #4] - 8001486: 681b ldr r3, [r3, #0] - 8001488: 4a97 ldr r2, [pc, #604] @ (80016e8 ) - 800148a: 4293 cmp r3, r2 - 800148c: f040 8092 bne.w 80015b4 + 8001614: 687b ldr r3, [r7, #4] + 8001616: 681b ldr r3, [r3, #0] + 8001618: 4a97 ldr r2, [pc, #604] @ (8001878 ) + 800161a: 4293 cmp r3, r2 + 800161c: f040 8092 bne.w 8001744 __HAL_RCC_USART1_CLK_ENABLE(); - 8001490: 2300 movs r3, #0 - 8001492: 617b str r3, [r7, #20] - 8001494: 4b95 ldr r3, [pc, #596] @ (80016ec ) - 8001496: 6c5b ldr r3, [r3, #68] @ 0x44 - 8001498: 4a94 ldr r2, [pc, #592] @ (80016ec ) - 800149a: f043 0310 orr.w r3, r3, #16 - 800149e: 6453 str r3, [r2, #68] @ 0x44 - 80014a0: 4b92 ldr r3, [pc, #584] @ (80016ec ) - 80014a2: 6c5b ldr r3, [r3, #68] @ 0x44 - 80014a4: f003 0310 and.w r3, r3, #16 - 80014a8: 617b str r3, [r7, #20] - 80014aa: 697b ldr r3, [r7, #20] + 8001620: 2300 movs r3, #0 + 8001622: 617b str r3, [r7, #20] + 8001624: 4b95 ldr r3, [pc, #596] @ (800187c ) + 8001626: 6c5b ldr r3, [r3, #68] @ 0x44 + 8001628: 4a94 ldr r2, [pc, #592] @ (800187c ) + 800162a: f043 0310 orr.w r3, r3, #16 + 800162e: 6453 str r3, [r2, #68] @ 0x44 + 8001630: 4b92 ldr r3, [pc, #584] @ (800187c ) + 8001632: 6c5b ldr r3, [r3, #68] @ 0x44 + 8001634: f003 0310 and.w r3, r3, #16 + 8001638: 617b str r3, [r7, #20] + 800163a: 697b ldr r3, [r7, #20] __HAL_RCC_GPIOA_CLK_ENABLE(); - 80014ac: 2300 movs r3, #0 - 80014ae: 613b str r3, [r7, #16] - 80014b0: 4b8e ldr r3, [pc, #568] @ (80016ec ) - 80014b2: 6b1b ldr r3, [r3, #48] @ 0x30 - 80014b4: 4a8d ldr r2, [pc, #564] @ (80016ec ) - 80014b6: f043 0301 orr.w r3, r3, #1 - 80014ba: 6313 str r3, [r2, #48] @ 0x30 - 80014bc: 4b8b ldr r3, [pc, #556] @ (80016ec ) - 80014be: 6b1b ldr r3, [r3, #48] @ 0x30 - 80014c0: f003 0301 and.w r3, r3, #1 - 80014c4: 613b str r3, [r7, #16] - 80014c6: 693b ldr r3, [r7, #16] + 800163c: 2300 movs r3, #0 + 800163e: 613b str r3, [r7, #16] + 8001640: 4b8e ldr r3, [pc, #568] @ (800187c ) + 8001642: 6b1b ldr r3, [r3, #48] @ 0x30 + 8001644: 4a8d ldr r2, [pc, #564] @ (800187c ) + 8001646: f043 0301 orr.w r3, r3, #1 + 800164a: 6313 str r3, [r2, #48] @ 0x30 + 800164c: 4b8b ldr r3, [pc, #556] @ (800187c ) + 800164e: 6b1b ldr r3, [r3, #48] @ 0x30 + 8001650: f003 0301 and.w r3, r3, #1 + 8001654: 613b str r3, [r7, #16] + 8001656: 693b ldr r3, [r7, #16] GPIO_InitStruct.Pin = GPIO_PIN_9|GPIO_PIN_10; - 80014c8: f44f 63c0 mov.w r3, #1536 @ 0x600 - 80014cc: 62fb str r3, [r7, #44] @ 0x2c + 8001658: f44f 63c0 mov.w r3, #1536 @ 0x600 + 800165c: 62fb str r3, [r7, #44] @ 0x2c GPIO_InitStruct.Mode = GPIO_MODE_AF_PP; - 80014ce: 2302 movs r3, #2 - 80014d0: 633b str r3, [r7, #48] @ 0x30 + 800165e: 2302 movs r3, #2 + 8001660: 633b str r3, [r7, #48] @ 0x30 GPIO_InitStruct.Pull = GPIO_NOPULL; - 80014d2: 2300 movs r3, #0 - 80014d4: 637b str r3, [r7, #52] @ 0x34 + 8001662: 2300 movs r3, #0 + 8001664: 637b str r3, [r7, #52] @ 0x34 GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_VERY_HIGH; - 80014d6: 2303 movs r3, #3 - 80014d8: 63bb str r3, [r7, #56] @ 0x38 + 8001666: 2303 movs r3, #3 + 8001668: 63bb str r3, [r7, #56] @ 0x38 GPIO_InitStruct.Alternate = GPIO_AF7_USART1; - 80014da: 2307 movs r3, #7 - 80014dc: 63fb str r3, [r7, #60] @ 0x3c + 800166a: 2307 movs r3, #7 + 800166c: 63fb str r3, [r7, #60] @ 0x3c HAL_GPIO_Init(GPIOA, &GPIO_InitStruct); - 80014de: f107 032c add.w r3, r7, #44 @ 0x2c - 80014e2: 4619 mov r1, r3 - 80014e4: 4882 ldr r0, [pc, #520] @ (80016f0 ) - 80014e6: f000 feeb bl 80022c0 + 800166e: f107 032c add.w r3, r7, #44 @ 0x2c + 8001672: 4619 mov r1, r3 + 8001674: 4882 ldr r0, [pc, #520] @ (8001880 ) + 8001676: f000 feeb bl 8002450 hdma_usart1_rx.Instance = DMA2_Stream2; - 80014ea: 4b82 ldr r3, [pc, #520] @ (80016f4 ) - 80014ec: 4a82 ldr r2, [pc, #520] @ (80016f8 ) - 80014ee: 601a str r2, [r3, #0] + 800167a: 4b82 ldr r3, [pc, #520] @ (8001884 ) + 800167c: 4a82 ldr r2, [pc, #520] @ (8001888 ) + 800167e: 601a str r2, [r3, #0] hdma_usart1_rx.Init.Channel = DMA_CHANNEL_4; - 80014f0: 4b80 ldr r3, [pc, #512] @ (80016f4 ) - 80014f2: f04f 6200 mov.w r2, #134217728 @ 0x8000000 - 80014f6: 605a str r2, [r3, #4] + 8001680: 4b80 ldr r3, [pc, #512] @ (8001884 ) + 8001682: f04f 6200 mov.w r2, #134217728 @ 0x8000000 + 8001686: 605a str r2, [r3, #4] hdma_usart1_rx.Init.Direction = DMA_PERIPH_TO_MEMORY; - 80014f8: 4b7e ldr r3, [pc, #504] @ (80016f4 ) - 80014fa: 2200 movs r2, #0 - 80014fc: 609a str r2, [r3, #8] - hdma_usart1_rx.Init.PeriphInc = DMA_PINC_DISABLE; - 80014fe: 4b7d ldr r3, [pc, #500] @ (80016f4 ) - 8001500: 2200 movs r2, #0 - 8001502: 60da str r2, [r3, #12] - hdma_usart1_rx.Init.MemInc = DMA_MINC_ENABLE; - 8001504: 4b7b ldr r3, [pc, #492] @ (80016f4 ) - 8001506: f44f 6280 mov.w r2, #1024 @ 0x400 - 800150a: 611a str r2, [r3, #16] - hdma_usart1_rx.Init.PeriphDataAlignment = DMA_PDATAALIGN_BYTE; - 800150c: 4b79 ldr r3, [pc, #484] @ (80016f4 ) - 800150e: 2200 movs r2, #0 - 8001510: 615a str r2, [r3, #20] - hdma_usart1_rx.Init.MemDataAlignment = DMA_MDATAALIGN_BYTE; - 8001512: 4b78 ldr r3, [pc, #480] @ (80016f4 ) - 8001514: 2200 movs r2, #0 - 8001516: 619a str r2, [r3, #24] - hdma_usart1_rx.Init.Mode = DMA_NORMAL; - 8001518: 4b76 ldr r3, [pc, #472] @ (80016f4 ) - 800151a: 2200 movs r2, #0 - 800151c: 61da str r2, [r3, #28] - hdma_usart1_rx.Init.Priority = DMA_PRIORITY_LOW; - 800151e: 4b75 ldr r3, [pc, #468] @ (80016f4 ) - 8001520: 2200 movs r2, #0 - 8001522: 621a str r2, [r3, #32] - hdma_usart1_rx.Init.FIFOMode = DMA_FIFOMODE_DISABLE; - 8001524: 4b73 ldr r3, [pc, #460] @ (80016f4 ) - 8001526: 2200 movs r2, #0 - 8001528: 625a str r2, [r3, #36] @ 0x24 - if (HAL_DMA_Init(&hdma_usart1_rx) != HAL_OK) - 800152a: 4872 ldr r0, [pc, #456] @ (80016f4 ) - 800152c: f000 fac6 bl 8001abc - 8001530: 4603 mov r3, r0 - 8001532: 2b00 cmp r3, #0 - 8001534: d001 beq.n 800153a - Error_Handler(); - 8001536: f7ff fb47 bl 8000bc8 - __HAL_LINKDMA(uartHandle,hdmarx,hdma_usart1_rx); - 800153a: 687b ldr r3, [r7, #4] - 800153c: 4a6d ldr r2, [pc, #436] @ (80016f4 ) - 800153e: 63da str r2, [r3, #60] @ 0x3c - 8001540: 4a6c ldr r2, [pc, #432] @ (80016f4 ) - 8001542: 687b ldr r3, [r7, #4] - 8001544: 6393 str r3, [r2, #56] @ 0x38 - hdma_usart1_tx.Instance = DMA2_Stream7; - 8001546: 4b6d ldr r3, [pc, #436] @ (80016fc ) - 8001548: 4a6d ldr r2, [pc, #436] @ (8001700 ) - 800154a: 601a str r2, [r3, #0] - hdma_usart1_tx.Init.Channel = DMA_CHANNEL_4; - 800154c: 4b6b ldr r3, [pc, #428] @ (80016fc ) - 800154e: f04f 6200 mov.w r2, #134217728 @ 0x8000000 - 8001552: 605a str r2, [r3, #4] - hdma_usart1_tx.Init.Direction = DMA_MEMORY_TO_PERIPH; - 8001554: 4b69 ldr r3, [pc, #420] @ (80016fc ) - 8001556: 2240 movs r2, #64 @ 0x40 - 8001558: 609a str r2, [r3, #8] - hdma_usart1_tx.Init.PeriphInc = DMA_PINC_DISABLE; - 800155a: 4b68 ldr r3, [pc, #416] @ (80016fc ) - 800155c: 2200 movs r2, #0 - 800155e: 60da str r2, [r3, #12] - hdma_usart1_tx.Init.MemInc = DMA_MINC_ENABLE; - 8001560: 4b66 ldr r3, [pc, #408] @ (80016fc ) - 8001562: f44f 6280 mov.w r2, #1024 @ 0x400 - 8001566: 611a str r2, [r3, #16] - hdma_usart1_tx.Init.PeriphDataAlignment = DMA_PDATAALIGN_BYTE; - 8001568: 4b64 ldr r3, [pc, #400] @ (80016fc ) - 800156a: 2200 movs r2, #0 - 800156c: 615a str r2, [r3, #20] - hdma_usart1_tx.Init.MemDataAlignment = DMA_MDATAALIGN_BYTE; - 800156e: 4b63 ldr r3, [pc, #396] @ (80016fc ) - 8001570: 2200 movs r2, #0 - 8001572: 619a str r2, [r3, #24] - hdma_usart1_tx.Init.Mode = DMA_NORMAL; - 8001574: 4b61 ldr r3, [pc, #388] @ (80016fc ) - 8001576: 2200 movs r2, #0 - 8001578: 61da str r2, [r3, #28] - hdma_usart1_tx.Init.Priority = DMA_PRIORITY_LOW; - 800157a: 4b60 ldr r3, [pc, #384] @ (80016fc ) - 800157c: 2200 movs r2, #0 - 800157e: 621a str r2, [r3, #32] - hdma_usart1_tx.Init.FIFOMode = DMA_FIFOMODE_DISABLE; - 8001580: 4b5e ldr r3, [pc, #376] @ (80016fc ) - 8001582: 2200 movs r2, #0 - 8001584: 625a str r2, [r3, #36] @ 0x24 - if (HAL_DMA_Init(&hdma_usart1_tx) != HAL_OK) - 8001586: 485d ldr r0, [pc, #372] @ (80016fc ) - 8001588: f000 fa98 bl 8001abc - 800158c: 4603 mov r3, r0 - 800158e: 2b00 cmp r3, #0 - 8001590: d001 beq.n 8001596 - Error_Handler(); - 8001592: f7ff fb19 bl 8000bc8 - __HAL_LINKDMA(uartHandle,hdmatx,hdma_usart1_tx); - 8001596: 687b ldr r3, [r7, #4] - 8001598: 4a58 ldr r2, [pc, #352] @ (80016fc ) - 800159a: 639a str r2, [r3, #56] @ 0x38 - 800159c: 4a57 ldr r2, [pc, #348] @ (80016fc ) - 800159e: 687b ldr r3, [r7, #4] - 80015a0: 6393 str r3, [r2, #56] @ 0x38 - HAL_NVIC_SetPriority(USART1_IRQn, 0, 0); - 80015a2: 2200 movs r2, #0 - 80015a4: 2100 movs r1, #0 - 80015a6: 2025 movs r0, #37 @ 0x25 - 80015a8: f000 fa51 bl 8001a4e - HAL_NVIC_EnableIRQ(USART1_IRQn); - 80015ac: 2025 movs r0, #37 @ 0x25 - 80015ae: f000 fa6a bl 8001a86 -} - 80015b2: e095 b.n 80016e0 - else if(uartHandle->Instance==USART2) - 80015b4: 687b ldr r3, [r7, #4] - 80015b6: 681b ldr r3, [r3, #0] - 80015b8: 4a52 ldr r2, [pc, #328] @ (8001704 ) - 80015ba: 4293 cmp r3, r2 - 80015bc: f040 8090 bne.w 80016e0 - __HAL_RCC_USART2_CLK_ENABLE(); - 80015c0: 2300 movs r3, #0 - 80015c2: 60fb str r3, [r7, #12] - 80015c4: 4b49 ldr r3, [pc, #292] @ (80016ec ) - 80015c6: 6c1b ldr r3, [r3, #64] @ 0x40 - 80015c8: 4a48 ldr r2, [pc, #288] @ (80016ec ) - 80015ca: f443 3300 orr.w r3, r3, #131072 @ 0x20000 - 80015ce: 6413 str r3, [r2, #64] @ 0x40 - 80015d0: 4b46 ldr r3, [pc, #280] @ (80016ec ) - 80015d2: 6c1b ldr r3, [r3, #64] @ 0x40 - 80015d4: f403 3300 and.w r3, r3, #131072 @ 0x20000 - 80015d8: 60fb str r3, [r7, #12] - 80015da: 68fb ldr r3, [r7, #12] - __HAL_RCC_GPIOA_CLK_ENABLE(); - 80015dc: 2300 movs r3, #0 - 80015de: 60bb str r3, [r7, #8] - 80015e0: 4b42 ldr r3, [pc, #264] @ (80016ec ) - 80015e2: 6b1b ldr r3, [r3, #48] @ 0x30 - 80015e4: 4a41 ldr r2, [pc, #260] @ (80016ec ) - 80015e6: f043 0301 orr.w r3, r3, #1 - 80015ea: 6313 str r3, [r2, #48] @ 0x30 - 80015ec: 4b3f ldr r3, [pc, #252] @ (80016ec ) - 80015ee: 6b1b ldr r3, [r3, #48] @ 0x30 - 80015f0: f003 0301 and.w r3, r3, #1 - 80015f4: 60bb str r3, [r7, #8] - 80015f6: 68bb ldr r3, [r7, #8] - GPIO_InitStruct.Pin = GPIO_PIN_2|GPIO_PIN_3; - 80015f8: 230c movs r3, #12 - 80015fa: 62fb str r3, [r7, #44] @ 0x2c - GPIO_InitStruct.Mode = GPIO_MODE_AF_PP; - 80015fc: 2302 movs r3, #2 - 80015fe: 633b str r3, [r7, #48] @ 0x30 - GPIO_InitStruct.Pull = GPIO_NOPULL; - 8001600: 2300 movs r3, #0 - 8001602: 637b str r3, [r7, #52] @ 0x34 - GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_VERY_HIGH; - 8001604: 2303 movs r3, #3 - 8001606: 63bb str r3, [r7, #56] @ 0x38 - GPIO_InitStruct.Alternate = GPIO_AF7_USART2; - 8001608: 2307 movs r3, #7 - 800160a: 63fb str r3, [r7, #60] @ 0x3c - HAL_GPIO_Init(GPIOA, &GPIO_InitStruct); - 800160c: f107 032c add.w r3, r7, #44 @ 0x2c - 8001610: 4619 mov r1, r3 - 8001612: 4837 ldr r0, [pc, #220] @ (80016f0 ) - 8001614: f000 fe54 bl 80022c0 - hdma_usart2_rx.Instance = DMA1_Stream5; - 8001618: 4b3b ldr r3, [pc, #236] @ (8001708 ) - 800161a: 4a3c ldr r2, [pc, #240] @ (800170c ) - 800161c: 601a str r2, [r3, #0] - hdma_usart2_rx.Init.Channel = DMA_CHANNEL_4; - 800161e: 4b3a ldr r3, [pc, #232] @ (8001708 ) - 8001620: f04f 6200 mov.w r2, #134217728 @ 0x8000000 - 8001624: 605a str r2, [r3, #4] - hdma_usart2_rx.Init.Direction = DMA_PERIPH_TO_MEMORY; - 8001626: 4b38 ldr r3, [pc, #224] @ (8001708 ) - 8001628: 2200 movs r2, #0 - 800162a: 609a str r2, [r3, #8] - hdma_usart2_rx.Init.PeriphInc = DMA_PINC_DISABLE; - 800162c: 4b36 ldr r3, [pc, #216] @ (8001708 ) - 800162e: 2200 movs r2, #0 - 8001630: 60da str r2, [r3, #12] - hdma_usart2_rx.Init.MemInc = DMA_MINC_ENABLE; - 8001632: 4b35 ldr r3, [pc, #212] @ (8001708 ) - 8001634: f44f 6280 mov.w r2, #1024 @ 0x400 - 8001638: 611a str r2, [r3, #16] - hdma_usart2_rx.Init.PeriphDataAlignment = DMA_PDATAALIGN_BYTE; - 800163a: 4b33 ldr r3, [pc, #204] @ (8001708 ) - 800163c: 2200 movs r2, #0 - 800163e: 615a str r2, [r3, #20] - hdma_usart2_rx.Init.MemDataAlignment = DMA_MDATAALIGN_BYTE; - 8001640: 4b31 ldr r3, [pc, #196] @ (8001708 ) - 8001642: 2200 movs r2, #0 - 8001644: 619a str r2, [r3, #24] - hdma_usart2_rx.Init.Mode = DMA_NORMAL; - 8001646: 4b30 ldr r3, [pc, #192] @ (8001708 ) - 8001648: 2200 movs r2, #0 - 800164a: 61da str r2, [r3, #28] - hdma_usart2_rx.Init.Priority = DMA_PRIORITY_LOW; - 800164c: 4b2e ldr r3, [pc, #184] @ (8001708 ) - 800164e: 2200 movs r2, #0 - 8001650: 621a str r2, [r3, #32] - hdma_usart2_rx.Init.FIFOMode = DMA_FIFOMODE_DISABLE; - 8001652: 4b2d ldr r3, [pc, #180] @ (8001708 ) - 8001654: 2200 movs r2, #0 - 8001656: 625a str r2, [r3, #36] @ 0x24 - if (HAL_DMA_Init(&hdma_usart2_rx) != HAL_OK) - 8001658: 482b ldr r0, [pc, #172] @ (8001708 ) - 800165a: f000 fa2f bl 8001abc - 800165e: 4603 mov r3, r0 - 8001660: 2b00 cmp r3, #0 - 8001662: d001 beq.n 8001668 - Error_Handler(); - 8001664: f7ff fab0 bl 8000bc8 - __HAL_LINKDMA(uartHandle,hdmarx,hdma_usart2_rx); - 8001668: 687b ldr r3, [r7, #4] - 800166a: 4a27 ldr r2, [pc, #156] @ (8001708 ) - 800166c: 63da str r2, [r3, #60] @ 0x3c - 800166e: 4a26 ldr r2, [pc, #152] @ (8001708 ) - 8001670: 687b ldr r3, [r7, #4] - 8001672: 6393 str r3, [r2, #56] @ 0x38 - hdma_usart2_tx.Instance = DMA1_Stream6; - 8001674: 4b26 ldr r3, [pc, #152] @ (8001710 ) - 8001676: 4a27 ldr r2, [pc, #156] @ (8001714 ) - 8001678: 601a str r2, [r3, #0] - hdma_usart2_tx.Init.Channel = DMA_CHANNEL_4; - 800167a: 4b25 ldr r3, [pc, #148] @ (8001710 ) - 800167c: f04f 6200 mov.w r2, #134217728 @ 0x8000000 - 8001680: 605a str r2, [r3, #4] - hdma_usart2_tx.Init.Direction = DMA_MEMORY_TO_PERIPH; - 8001682: 4b23 ldr r3, [pc, #140] @ (8001710 ) - 8001684: 2240 movs r2, #64 @ 0x40 - 8001686: 609a str r2, [r3, #8] - hdma_usart2_tx.Init.PeriphInc = DMA_PINC_DISABLE; - 8001688: 4b21 ldr r3, [pc, #132] @ (8001710 ) + 8001688: 4b7e ldr r3, [pc, #504] @ (8001884 ) 800168a: 2200 movs r2, #0 - 800168c: 60da str r2, [r3, #12] - hdma_usart2_tx.Init.MemInc = DMA_MINC_ENABLE; - 800168e: 4b20 ldr r3, [pc, #128] @ (8001710 ) - 8001690: f44f 6280 mov.w r2, #1024 @ 0x400 - 8001694: 611a str r2, [r3, #16] - hdma_usart2_tx.Init.PeriphDataAlignment = DMA_PDATAALIGN_BYTE; - 8001696: 4b1e ldr r3, [pc, #120] @ (8001710 ) - 8001698: 2200 movs r2, #0 - 800169a: 615a str r2, [r3, #20] - hdma_usart2_tx.Init.MemDataAlignment = DMA_MDATAALIGN_BYTE; - 800169c: 4b1c ldr r3, [pc, #112] @ (8001710 ) + 800168c: 609a str r2, [r3, #8] + hdma_usart1_rx.Init.PeriphInc = DMA_PINC_DISABLE; + 800168e: 4b7d ldr r3, [pc, #500] @ (8001884 ) + 8001690: 2200 movs r2, #0 + 8001692: 60da str r2, [r3, #12] + hdma_usart1_rx.Init.MemInc = DMA_MINC_ENABLE; + 8001694: 4b7b ldr r3, [pc, #492] @ (8001884 ) + 8001696: f44f 6280 mov.w r2, #1024 @ 0x400 + 800169a: 611a str r2, [r3, #16] + hdma_usart1_rx.Init.PeriphDataAlignment = DMA_PDATAALIGN_BYTE; + 800169c: 4b79 ldr r3, [pc, #484] @ (8001884 ) 800169e: 2200 movs r2, #0 - 80016a0: 619a str r2, [r3, #24] - hdma_usart2_tx.Init.Mode = DMA_NORMAL; - 80016a2: 4b1b ldr r3, [pc, #108] @ (8001710 ) + 80016a0: 615a str r2, [r3, #20] + hdma_usart1_rx.Init.MemDataAlignment = DMA_MDATAALIGN_BYTE; + 80016a2: 4b78 ldr r3, [pc, #480] @ (8001884 ) 80016a4: 2200 movs r2, #0 - 80016a6: 61da str r2, [r3, #28] - hdma_usart2_tx.Init.Priority = DMA_PRIORITY_LOW; - 80016a8: 4b19 ldr r3, [pc, #100] @ (8001710 ) + 80016a6: 619a str r2, [r3, #24] + hdma_usart1_rx.Init.Mode = DMA_NORMAL; + 80016a8: 4b76 ldr r3, [pc, #472] @ (8001884 ) 80016aa: 2200 movs r2, #0 - 80016ac: 621a str r2, [r3, #32] - hdma_usart2_tx.Init.FIFOMode = DMA_FIFOMODE_DISABLE; - 80016ae: 4b18 ldr r3, [pc, #96] @ (8001710 ) + 80016ac: 61da str r2, [r3, #28] + hdma_usart1_rx.Init.Priority = DMA_PRIORITY_LOW; + 80016ae: 4b75 ldr r3, [pc, #468] @ (8001884 ) 80016b0: 2200 movs r2, #0 - 80016b2: 625a str r2, [r3, #36] @ 0x24 - if (HAL_DMA_Init(&hdma_usart2_tx) != HAL_OK) - 80016b4: 4816 ldr r0, [pc, #88] @ (8001710 ) - 80016b6: f000 fa01 bl 8001abc - 80016ba: 4603 mov r3, r0 - 80016bc: 2b00 cmp r3, #0 - 80016be: d001 beq.n 80016c4 + 80016b2: 621a str r2, [r3, #32] + hdma_usart1_rx.Init.FIFOMode = DMA_FIFOMODE_DISABLE; + 80016b4: 4b73 ldr r3, [pc, #460] @ (8001884 ) + 80016b6: 2200 movs r2, #0 + 80016b8: 625a str r2, [r3, #36] @ 0x24 + if (HAL_DMA_Init(&hdma_usart1_rx) != HAL_OK) + 80016ba: 4872 ldr r0, [pc, #456] @ (8001884 ) + 80016bc: f000 fac6 bl 8001c4c + 80016c0: 4603 mov r3, r0 + 80016c2: 2b00 cmp r3, #0 + 80016c4: d001 beq.n 80016ca Error_Handler(); - 80016c0: f7ff fa82 bl 8000bc8 - __HAL_LINKDMA(uartHandle,hdmatx,hdma_usart2_tx); - 80016c4: 687b ldr r3, [r7, #4] - 80016c6: 4a12 ldr r2, [pc, #72] @ (8001710 ) - 80016c8: 639a str r2, [r3, #56] @ 0x38 - 80016ca: 4a11 ldr r2, [pc, #68] @ (8001710 ) - 80016cc: 687b ldr r3, [r7, #4] - 80016ce: 6393 str r3, [r2, #56] @ 0x38 - HAL_NVIC_SetPriority(USART2_IRQn, 0, 0); - 80016d0: 2200 movs r2, #0 - 80016d2: 2100 movs r1, #0 - 80016d4: 2026 movs r0, #38 @ 0x26 - 80016d6: f000 f9ba bl 8001a4e - HAL_NVIC_EnableIRQ(USART2_IRQn); - 80016da: 2026 movs r0, #38 @ 0x26 - 80016dc: f000 f9d3 bl 8001a86 + 80016c6: f7ff fb47 bl 8000d58 + __HAL_LINKDMA(uartHandle,hdmarx,hdma_usart1_rx); + 80016ca: 687b ldr r3, [r7, #4] + 80016cc: 4a6d ldr r2, [pc, #436] @ (8001884 ) + 80016ce: 63da str r2, [r3, #60] @ 0x3c + 80016d0: 4a6c ldr r2, [pc, #432] @ (8001884 ) + 80016d2: 687b ldr r3, [r7, #4] + 80016d4: 6393 str r3, [r2, #56] @ 0x38 + hdma_usart1_tx.Instance = DMA2_Stream7; + 80016d6: 4b6d ldr r3, [pc, #436] @ (800188c ) + 80016d8: 4a6d ldr r2, [pc, #436] @ (8001890 ) + 80016da: 601a str r2, [r3, #0] + hdma_usart1_tx.Init.Channel = DMA_CHANNEL_4; + 80016dc: 4b6b ldr r3, [pc, #428] @ (800188c ) + 80016de: f04f 6200 mov.w r2, #134217728 @ 0x8000000 + 80016e2: 605a str r2, [r3, #4] + hdma_usart1_tx.Init.Direction = DMA_MEMORY_TO_PERIPH; + 80016e4: 4b69 ldr r3, [pc, #420] @ (800188c ) + 80016e6: 2240 movs r2, #64 @ 0x40 + 80016e8: 609a str r2, [r3, #8] + hdma_usart1_tx.Init.PeriphInc = DMA_PINC_DISABLE; + 80016ea: 4b68 ldr r3, [pc, #416] @ (800188c ) + 80016ec: 2200 movs r2, #0 + 80016ee: 60da str r2, [r3, #12] + hdma_usart1_tx.Init.MemInc = DMA_MINC_ENABLE; + 80016f0: 4b66 ldr r3, [pc, #408] @ (800188c ) + 80016f2: f44f 6280 mov.w r2, #1024 @ 0x400 + 80016f6: 611a str r2, [r3, #16] + hdma_usart1_tx.Init.PeriphDataAlignment = DMA_PDATAALIGN_BYTE; + 80016f8: 4b64 ldr r3, [pc, #400] @ (800188c ) + 80016fa: 2200 movs r2, #0 + 80016fc: 615a str r2, [r3, #20] + hdma_usart1_tx.Init.MemDataAlignment = DMA_MDATAALIGN_BYTE; + 80016fe: 4b63 ldr r3, [pc, #396] @ (800188c ) + 8001700: 2200 movs r2, #0 + 8001702: 619a str r2, [r3, #24] + hdma_usart1_tx.Init.Mode = DMA_NORMAL; + 8001704: 4b61 ldr r3, [pc, #388] @ (800188c ) + 8001706: 2200 movs r2, #0 + 8001708: 61da str r2, [r3, #28] + hdma_usart1_tx.Init.Priority = DMA_PRIORITY_LOW; + 800170a: 4b60 ldr r3, [pc, #384] @ (800188c ) + 800170c: 2200 movs r2, #0 + 800170e: 621a str r2, [r3, #32] + hdma_usart1_tx.Init.FIFOMode = DMA_FIFOMODE_DISABLE; + 8001710: 4b5e ldr r3, [pc, #376] @ (800188c ) + 8001712: 2200 movs r2, #0 + 8001714: 625a str r2, [r3, #36] @ 0x24 + if (HAL_DMA_Init(&hdma_usart1_tx) != HAL_OK) + 8001716: 485d ldr r0, [pc, #372] @ (800188c ) + 8001718: f000 fa98 bl 8001c4c + 800171c: 4603 mov r3, r0 + 800171e: 2b00 cmp r3, #0 + 8001720: d001 beq.n 8001726 + Error_Handler(); + 8001722: f7ff fb19 bl 8000d58 + __HAL_LINKDMA(uartHandle,hdmatx,hdma_usart1_tx); + 8001726: 687b ldr r3, [r7, #4] + 8001728: 4a58 ldr r2, [pc, #352] @ (800188c ) + 800172a: 639a str r2, [r3, #56] @ 0x38 + 800172c: 4a57 ldr r2, [pc, #348] @ (800188c ) + 800172e: 687b ldr r3, [r7, #4] + 8001730: 6393 str r3, [r2, #56] @ 0x38 + HAL_NVIC_SetPriority(USART1_IRQn, 0, 0); + 8001732: 2200 movs r2, #0 + 8001734: 2100 movs r1, #0 + 8001736: 2025 movs r0, #37 @ 0x25 + 8001738: f000 fa51 bl 8001bde + HAL_NVIC_EnableIRQ(USART1_IRQn); + 800173c: 2025 movs r0, #37 @ 0x25 + 800173e: f000 fa6a bl 8001c16 } - 80016e0: bf00 nop - 80016e2: 3740 adds r7, #64 @ 0x40 - 80016e4: 46bd mov sp, r7 - 80016e6: bd80 pop {r7, pc} - 80016e8: 40011000 .word 0x40011000 - 80016ec: 40023800 .word 0x40023800 - 80016f0: 40020000 .word 0x40020000 - 80016f4: 20000574 .word 0x20000574 - 80016f8: 40026440 .word 0x40026440 - 80016fc: 200005d4 .word 0x200005d4 - 8001700: 400264b8 .word 0x400264b8 - 8001704: 40004400 .word 0x40004400 - 8001708: 20000634 .word 0x20000634 - 800170c: 40026088 .word 0x40026088 - 8001710: 20000694 .word 0x20000694 - 8001714: 400260a0 .word 0x400260a0 + 8001742: e095 b.n 8001870 + else if(uartHandle->Instance==USART2) + 8001744: 687b ldr r3, [r7, #4] + 8001746: 681b ldr r3, [r3, #0] + 8001748: 4a52 ldr r2, [pc, #328] @ (8001894 ) + 800174a: 4293 cmp r3, r2 + 800174c: f040 8090 bne.w 8001870 + __HAL_RCC_USART2_CLK_ENABLE(); + 8001750: 2300 movs r3, #0 + 8001752: 60fb str r3, [r7, #12] + 8001754: 4b49 ldr r3, [pc, #292] @ (800187c ) + 8001756: 6c1b ldr r3, [r3, #64] @ 0x40 + 8001758: 4a48 ldr r2, [pc, #288] @ (800187c ) + 800175a: f443 3300 orr.w r3, r3, #131072 @ 0x20000 + 800175e: 6413 str r3, [r2, #64] @ 0x40 + 8001760: 4b46 ldr r3, [pc, #280] @ (800187c ) + 8001762: 6c1b ldr r3, [r3, #64] @ 0x40 + 8001764: f403 3300 and.w r3, r3, #131072 @ 0x20000 + 8001768: 60fb str r3, [r7, #12] + 800176a: 68fb ldr r3, [r7, #12] + __HAL_RCC_GPIOA_CLK_ENABLE(); + 800176c: 2300 movs r3, #0 + 800176e: 60bb str r3, [r7, #8] + 8001770: 4b42 ldr r3, [pc, #264] @ (800187c ) + 8001772: 6b1b ldr r3, [r3, #48] @ 0x30 + 8001774: 4a41 ldr r2, [pc, #260] @ (800187c ) + 8001776: f043 0301 orr.w r3, r3, #1 + 800177a: 6313 str r3, [r2, #48] @ 0x30 + 800177c: 4b3f ldr r3, [pc, #252] @ (800187c ) + 800177e: 6b1b ldr r3, [r3, #48] @ 0x30 + 8001780: f003 0301 and.w r3, r3, #1 + 8001784: 60bb str r3, [r7, #8] + 8001786: 68bb ldr r3, [r7, #8] + GPIO_InitStruct.Pin = GPIO_PIN_2|GPIO_PIN_3; + 8001788: 230c movs r3, #12 + 800178a: 62fb str r3, [r7, #44] @ 0x2c + GPIO_InitStruct.Mode = GPIO_MODE_AF_PP; + 800178c: 2302 movs r3, #2 + 800178e: 633b str r3, [r7, #48] @ 0x30 + GPIO_InitStruct.Pull = GPIO_NOPULL; + 8001790: 2300 movs r3, #0 + 8001792: 637b str r3, [r7, #52] @ 0x34 + GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_VERY_HIGH; + 8001794: 2303 movs r3, #3 + 8001796: 63bb str r3, [r7, #56] @ 0x38 + GPIO_InitStruct.Alternate = GPIO_AF7_USART2; + 8001798: 2307 movs r3, #7 + 800179a: 63fb str r3, [r7, #60] @ 0x3c + HAL_GPIO_Init(GPIOA, &GPIO_InitStruct); + 800179c: f107 032c add.w r3, r7, #44 @ 0x2c + 80017a0: 4619 mov r1, r3 + 80017a2: 4837 ldr r0, [pc, #220] @ (8001880 ) + 80017a4: f000 fe54 bl 8002450 + hdma_usart2_rx.Instance = DMA1_Stream5; + 80017a8: 4b3b ldr r3, [pc, #236] @ (8001898 ) + 80017aa: 4a3c ldr r2, [pc, #240] @ (800189c ) + 80017ac: 601a str r2, [r3, #0] + hdma_usart2_rx.Init.Channel = DMA_CHANNEL_4; + 80017ae: 4b3a ldr r3, [pc, #232] @ (8001898 ) + 80017b0: f04f 6200 mov.w r2, #134217728 @ 0x8000000 + 80017b4: 605a str r2, [r3, #4] + hdma_usart2_rx.Init.Direction = DMA_PERIPH_TO_MEMORY; + 80017b6: 4b38 ldr r3, [pc, #224] @ (8001898 ) + 80017b8: 2200 movs r2, #0 + 80017ba: 609a str r2, [r3, #8] + hdma_usart2_rx.Init.PeriphInc = DMA_PINC_DISABLE; + 80017bc: 4b36 ldr r3, [pc, #216] @ (8001898 ) + 80017be: 2200 movs r2, #0 + 80017c0: 60da str r2, [r3, #12] + hdma_usart2_rx.Init.MemInc = DMA_MINC_ENABLE; + 80017c2: 4b35 ldr r3, [pc, #212] @ (8001898 ) + 80017c4: f44f 6280 mov.w r2, #1024 @ 0x400 + 80017c8: 611a str r2, [r3, #16] + hdma_usart2_rx.Init.PeriphDataAlignment = DMA_PDATAALIGN_BYTE; + 80017ca: 4b33 ldr r3, [pc, #204] @ (8001898 ) + 80017cc: 2200 movs r2, #0 + 80017ce: 615a str r2, [r3, #20] + hdma_usart2_rx.Init.MemDataAlignment = DMA_MDATAALIGN_BYTE; + 80017d0: 4b31 ldr r3, [pc, #196] @ (8001898 ) + 80017d2: 2200 movs r2, #0 + 80017d4: 619a str r2, [r3, #24] + hdma_usart2_rx.Init.Mode = DMA_NORMAL; + 80017d6: 4b30 ldr r3, [pc, #192] @ (8001898 ) + 80017d8: 2200 movs r2, #0 + 80017da: 61da str r2, [r3, #28] + hdma_usart2_rx.Init.Priority = DMA_PRIORITY_LOW; + 80017dc: 4b2e ldr r3, [pc, #184] @ (8001898 ) + 80017de: 2200 movs r2, #0 + 80017e0: 621a str r2, [r3, #32] + hdma_usart2_rx.Init.FIFOMode = DMA_FIFOMODE_DISABLE; + 80017e2: 4b2d ldr r3, [pc, #180] @ (8001898 ) + 80017e4: 2200 movs r2, #0 + 80017e6: 625a str r2, [r3, #36] @ 0x24 + if (HAL_DMA_Init(&hdma_usart2_rx) != HAL_OK) + 80017e8: 482b ldr r0, [pc, #172] @ (8001898 ) + 80017ea: f000 fa2f bl 8001c4c + 80017ee: 4603 mov r3, r0 + 80017f0: 2b00 cmp r3, #0 + 80017f2: d001 beq.n 80017f8 + Error_Handler(); + 80017f4: f7ff fab0 bl 8000d58 + __HAL_LINKDMA(uartHandle,hdmarx,hdma_usart2_rx); + 80017f8: 687b ldr r3, [r7, #4] + 80017fa: 4a27 ldr r2, [pc, #156] @ (8001898 ) + 80017fc: 63da str r2, [r3, #60] @ 0x3c + 80017fe: 4a26 ldr r2, [pc, #152] @ (8001898 ) + 8001800: 687b ldr r3, [r7, #4] + 8001802: 6393 str r3, [r2, #56] @ 0x38 + hdma_usart2_tx.Instance = DMA1_Stream6; + 8001804: 4b26 ldr r3, [pc, #152] @ (80018a0 ) + 8001806: 4a27 ldr r2, [pc, #156] @ (80018a4 ) + 8001808: 601a str r2, [r3, #0] + hdma_usart2_tx.Init.Channel = DMA_CHANNEL_4; + 800180a: 4b25 ldr r3, [pc, #148] @ (80018a0 ) + 800180c: f04f 6200 mov.w r2, #134217728 @ 0x8000000 + 8001810: 605a str r2, [r3, #4] + hdma_usart2_tx.Init.Direction = DMA_MEMORY_TO_PERIPH; + 8001812: 4b23 ldr r3, [pc, #140] @ (80018a0 ) + 8001814: 2240 movs r2, #64 @ 0x40 + 8001816: 609a str r2, [r3, #8] + hdma_usart2_tx.Init.PeriphInc = DMA_PINC_DISABLE; + 8001818: 4b21 ldr r3, [pc, #132] @ (80018a0 ) + 800181a: 2200 movs r2, #0 + 800181c: 60da str r2, [r3, #12] + hdma_usart2_tx.Init.MemInc = DMA_MINC_ENABLE; + 800181e: 4b20 ldr r3, [pc, #128] @ (80018a0 ) + 8001820: f44f 6280 mov.w r2, #1024 @ 0x400 + 8001824: 611a str r2, [r3, #16] + hdma_usart2_tx.Init.PeriphDataAlignment = DMA_PDATAALIGN_BYTE; + 8001826: 4b1e ldr r3, [pc, #120] @ (80018a0 ) + 8001828: 2200 movs r2, #0 + 800182a: 615a str r2, [r3, #20] + hdma_usart2_tx.Init.MemDataAlignment = DMA_MDATAALIGN_BYTE; + 800182c: 4b1c ldr r3, [pc, #112] @ (80018a0 ) + 800182e: 2200 movs r2, #0 + 8001830: 619a str r2, [r3, #24] + hdma_usart2_tx.Init.Mode = DMA_NORMAL; + 8001832: 4b1b ldr r3, [pc, #108] @ (80018a0 ) + 8001834: 2200 movs r2, #0 + 8001836: 61da str r2, [r3, #28] + hdma_usart2_tx.Init.Priority = DMA_PRIORITY_LOW; + 8001838: 4b19 ldr r3, [pc, #100] @ (80018a0 ) + 800183a: 2200 movs r2, #0 + 800183c: 621a str r2, [r3, #32] + hdma_usart2_tx.Init.FIFOMode = DMA_FIFOMODE_DISABLE; + 800183e: 4b18 ldr r3, [pc, #96] @ (80018a0 ) + 8001840: 2200 movs r2, #0 + 8001842: 625a str r2, [r3, #36] @ 0x24 + if (HAL_DMA_Init(&hdma_usart2_tx) != HAL_OK) + 8001844: 4816 ldr r0, [pc, #88] @ (80018a0 ) + 8001846: f000 fa01 bl 8001c4c + 800184a: 4603 mov r3, r0 + 800184c: 2b00 cmp r3, #0 + 800184e: d001 beq.n 8001854 + Error_Handler(); + 8001850: f7ff fa82 bl 8000d58 + __HAL_LINKDMA(uartHandle,hdmatx,hdma_usart2_tx); + 8001854: 687b ldr r3, [r7, #4] + 8001856: 4a12 ldr r2, [pc, #72] @ (80018a0 ) + 8001858: 639a str r2, [r3, #56] @ 0x38 + 800185a: 4a11 ldr r2, [pc, #68] @ (80018a0 ) + 800185c: 687b ldr r3, [r7, #4] + 800185e: 6393 str r3, [r2, #56] @ 0x38 + HAL_NVIC_SetPriority(USART2_IRQn, 0, 0); + 8001860: 2200 movs r2, #0 + 8001862: 2100 movs r1, #0 + 8001864: 2026 movs r0, #38 @ 0x26 + 8001866: f000 f9ba bl 8001bde + HAL_NVIC_EnableIRQ(USART2_IRQn); + 800186a: 2026 movs r0, #38 @ 0x26 + 800186c: f000 f9d3 bl 8001c16 +} + 8001870: bf00 nop + 8001872: 3740 adds r7, #64 @ 0x40 + 8001874: 46bd mov sp, r7 + 8001876: bd80 pop {r7, pc} + 8001878: 40011000 .word 0x40011000 + 800187c: 40023800 .word 0x40023800 + 8001880: 40020000 .word 0x40020000 + 8001884: 2000059c .word 0x2000059c + 8001888: 40026440 .word 0x40026440 + 800188c: 200005fc .word 0x200005fc + 8001890: 400264b8 .word 0x400264b8 + 8001894: 40004400 .word 0x40004400 + 8001898: 2000065c .word 0x2000065c + 800189c: 40026088 .word 0x40026088 + 80018a0: 200006bc .word 0x200006bc + 80018a4: 400260a0 .word 0x400260a0 -08001718 : +080018a8 : .section .text.Reset_Handler .weak Reset_Handler .type Reset_Handler, %function Reset_Handler: ldr sp, =_estack /* set stack pointer */ - 8001718: f8df d034 ldr.w sp, [pc, #52] @ 8001750 + 80018a8: f8df d034 ldr.w sp, [pc, #52] @ 80018e0 /* Call the clock system initialization function.*/ bl SystemInit - 800171c: f7ff fb34 bl 8000d88 + 80018ac: f7ff fb34 bl 8000f18 /* Copy the data segment initializers from flash to SRAM */ ldr r0, =_sdata - 8001720: 480c ldr r0, [pc, #48] @ (8001754 ) + 80018b0: 480c ldr r0, [pc, #48] @ (80018e4 ) ldr r1, =_edata - 8001722: 490d ldr r1, [pc, #52] @ (8001758 ) + 80018b2: 490d ldr r1, [pc, #52] @ (80018e8 ) ldr r2, =_sidata - 8001724: 4a0d ldr r2, [pc, #52] @ (800175c ) + 80018b4: 4a0d ldr r2, [pc, #52] @ (80018ec ) movs r3, #0 - 8001726: 2300 movs r3, #0 + 80018b6: 2300 movs r3, #0 b LoopCopyDataInit - 8001728: e002 b.n 8001730 + 80018b8: e002 b.n 80018c0 -0800172a : +080018ba : CopyDataInit: ldr r4, [r2, r3] - 800172a: 58d4 ldr r4, [r2, r3] + 80018ba: 58d4 ldr r4, [r2, r3] str r4, [r0, r3] - 800172c: 50c4 str r4, [r0, r3] + 80018bc: 50c4 str r4, [r0, r3] adds r3, r3, #4 - 800172e: 3304 adds r3, #4 + 80018be: 3304 adds r3, #4 -08001730 : +080018c0 : LoopCopyDataInit: adds r4, r0, r3 - 8001730: 18c4 adds r4, r0, r3 + 80018c0: 18c4 adds r4, r0, r3 cmp r4, r1 - 8001732: 428c cmp r4, r1 + 80018c2: 428c cmp r4, r1 bcc CopyDataInit - 8001734: d3f9 bcc.n 800172a + 80018c4: d3f9 bcc.n 80018ba /* Zero fill the bss segment. */ ldr r2, =_sbss - 8001736: 4a0a ldr r2, [pc, #40] @ (8001760 ) + 80018c6: 4a0a ldr r2, [pc, #40] @ (80018f0 ) ldr r4, =_ebss - 8001738: 4c0a ldr r4, [pc, #40] @ (8001764 ) + 80018c8: 4c0a ldr r4, [pc, #40] @ (80018f4 ) movs r3, #0 - 800173a: 2300 movs r3, #0 + 80018ca: 2300 movs r3, #0 b LoopFillZerobss - 800173c: e001 b.n 8001742 + 80018cc: e001 b.n 80018d2 -0800173e : +080018ce : FillZerobss: str r3, [r2] - 800173e: 6013 str r3, [r2, #0] + 80018ce: 6013 str r3, [r2, #0] adds r2, r2, #4 - 8001740: 3204 adds r2, #4 + 80018d0: 3204 adds r2, #4 -08001742 : +080018d2 : LoopFillZerobss: cmp r2, r4 - 8001742: 42a2 cmp r2, r4 + 80018d2: 42a2 cmp r2, r4 bcc FillZerobss - 8001744: d3fb bcc.n 800173e + 80018d4: d3fb bcc.n 80018ce /* Call static constructors */ bl __libc_init_array - 8001746: f008 fe7d bl 800a444 <__libc_init_array> + 80018d6: f009 f8eb bl 800aab0 <__libc_init_array> /* Call the application's entry point.*/ bl main - 800174a: f7ff f86d bl 8000828
+ 80018da: f7fe ffa5 bl 8000828
bx lr - 800174e: 4770 bx lr + 80018de: 4770 bx lr ldr sp, =_estack /* set stack pointer */ - 8001750: 20020000 .word 0x20020000 + 80018e0: 20020000 .word 0x20020000 ldr r0, =_sdata - 8001754: 20000000 .word 0x20000000 + 80018e4: 20000000 .word 0x20000000 ldr r1, =_edata - 8001758: 200001bc .word 0x200001bc + 80018e8: 200001a0 .word 0x200001a0 ldr r2, =_sidata - 800175c: 0800a510 .word 0x0800a510 + 80018ec: 0800ab98 .word 0x0800ab98 ldr r2, =_sbss - 8001760: 200001bc .word 0x200001bc + 80018f0: 200001a0 .word 0x200001a0 ldr r4, =_ebss - 8001764: 200010d0 .word 0x200010d0 + 80018f4: 200010f8 .word 0x200010f8 -08001768 : +080018f8 : * @retval None */ .section .text.Default_Handler,"ax",%progbits Default_Handler: Infinite_Loop: b Infinite_Loop - 8001768: e7fe b.n 8001768 + 80018f8: e7fe b.n 80018f8 ... -0800176c : +080018fc : * 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) { - 800176c: b580 push {r7, lr} - 800176e: af00 add r7, sp, #0 + 80018fc: b580 push {r7, lr} + 80018fe: af00 add r7, sp, #0 /* Configure Flash prefetch, Instruction cache, Data cache */ #if (INSTRUCTION_CACHE_ENABLE != 0U) __HAL_FLASH_INSTRUCTION_CACHE_ENABLE(); - 8001770: 4b0e ldr r3, [pc, #56] @ (80017ac ) - 8001772: 681b ldr r3, [r3, #0] - 8001774: 4a0d ldr r2, [pc, #52] @ (80017ac ) - 8001776: f443 7300 orr.w r3, r3, #512 @ 0x200 - 800177a: 6013 str r3, [r2, #0] + 8001900: 4b0e ldr r3, [pc, #56] @ (800193c ) + 8001902: 681b ldr r3, [r3, #0] + 8001904: 4a0d ldr r2, [pc, #52] @ (800193c ) + 8001906: f443 7300 orr.w r3, r3, #512 @ 0x200 + 800190a: 6013 str r3, [r2, #0] #endif /* INSTRUCTION_CACHE_ENABLE */ #if (DATA_CACHE_ENABLE != 0U) __HAL_FLASH_DATA_CACHE_ENABLE(); - 800177c: 4b0b ldr r3, [pc, #44] @ (80017ac ) - 800177e: 681b ldr r3, [r3, #0] - 8001780: 4a0a ldr r2, [pc, #40] @ (80017ac ) - 8001782: f443 6380 orr.w r3, r3, #1024 @ 0x400 - 8001786: 6013 str r3, [r2, #0] + 800190c: 4b0b ldr r3, [pc, #44] @ (800193c ) + 800190e: 681b ldr r3, [r3, #0] + 8001910: 4a0a ldr r2, [pc, #40] @ (800193c ) + 8001912: f443 6380 orr.w r3, r3, #1024 @ 0x400 + 8001916: 6013 str r3, [r2, #0] #endif /* DATA_CACHE_ENABLE */ #if (PREFETCH_ENABLE != 0U) __HAL_FLASH_PREFETCH_BUFFER_ENABLE(); - 8001788: 4b08 ldr r3, [pc, #32] @ (80017ac ) - 800178a: 681b ldr r3, [r3, #0] - 800178c: 4a07 ldr r2, [pc, #28] @ (80017ac ) - 800178e: f443 7380 orr.w r3, r3, #256 @ 0x100 - 8001792: 6013 str r3, [r2, #0] + 8001918: 4b08 ldr r3, [pc, #32] @ (800193c ) + 800191a: 681b ldr r3, [r3, #0] + 800191c: 4a07 ldr r2, [pc, #28] @ (800193c ) + 800191e: f443 7380 orr.w r3, r3, #256 @ 0x100 + 8001922: 6013 str r3, [r2, #0] #endif /* PREFETCH_ENABLE */ /* Set Interrupt Group Priority */ HAL_NVIC_SetPriorityGrouping(NVIC_PRIORITYGROUP_4); - 8001794: 2003 movs r0, #3 - 8001796: f000 f94f bl 8001a38 + 8001924: 2003 movs r0, #3 + 8001926: f000 f94f bl 8001bc8 /* Use systick as time base source and configure 1ms tick (default clock after Reset is HSI) */ HAL_InitTick(TICK_INT_PRIORITY); - 800179a: 200f movs r0, #15 - 800179c: f000 f808 bl 80017b0 + 800192a: 200f movs r0, #15 + 800192c: f000 f808 bl 8001940 /* Init the low level hardware */ HAL_MspInit(); - 80017a0: f7ff fa18 bl 8000bd4 + 8001930: f7ff fa18 bl 8000d64 /* Return function status */ return HAL_OK; - 80017a4: 2300 movs r3, #0 + 8001934: 2300 movs r3, #0 } - 80017a6: 4618 mov r0, r3 - 80017a8: bd80 pop {r7, pc} - 80017aa: bf00 nop - 80017ac: 40023c00 .word 0x40023c00 + 8001936: 4618 mov r0, r3 + 8001938: bd80 pop {r7, pc} + 800193a: bf00 nop + 800193c: 40023c00 .word 0x40023c00 -080017b0 : +08001940 : * implementation in user file. * @param TickPriority Tick interrupt priority. * @retval HAL status */ __weak HAL_StatusTypeDef HAL_InitTick(uint32_t TickPriority) { - 80017b0: b580 push {r7, lr} - 80017b2: b082 sub sp, #8 - 80017b4: af00 add r7, sp, #0 - 80017b6: 6078 str r0, [r7, #4] + 8001940: b580 push {r7, lr} + 8001942: b082 sub sp, #8 + 8001944: af00 add r7, sp, #0 + 8001946: 6078 str r0, [r7, #4] /* Configure the SysTick to have interrupt in 1ms time basis*/ if (HAL_SYSTICK_Config(SystemCoreClock / (1000U / uwTickFreq)) > 0U) - 80017b8: 4b12 ldr r3, [pc, #72] @ (8001804 ) - 80017ba: 681a ldr r2, [r3, #0] - 80017bc: 4b12 ldr r3, [pc, #72] @ (8001808 ) - 80017be: 781b ldrb r3, [r3, #0] - 80017c0: 4619 mov r1, r3 - 80017c2: f44f 737a mov.w r3, #1000 @ 0x3e8 - 80017c6: fbb3 f3f1 udiv r3, r3, r1 - 80017ca: fbb2 f3f3 udiv r3, r2, r3 - 80017ce: 4618 mov r0, r3 - 80017d0: f000 f967 bl 8001aa2 - 80017d4: 4603 mov r3, r0 - 80017d6: 2b00 cmp r3, #0 - 80017d8: d001 beq.n 80017de + 8001948: 4b12 ldr r3, [pc, #72] @ (8001994 ) + 800194a: 681a ldr r2, [r3, #0] + 800194c: 4b12 ldr r3, [pc, #72] @ (8001998 ) + 800194e: 781b ldrb r3, [r3, #0] + 8001950: 4619 mov r1, r3 + 8001952: f44f 737a mov.w r3, #1000 @ 0x3e8 + 8001956: fbb3 f3f1 udiv r3, r3, r1 + 800195a: fbb2 f3f3 udiv r3, r2, r3 + 800195e: 4618 mov r0, r3 + 8001960: f000 f967 bl 8001c32 + 8001964: 4603 mov r3, r0 + 8001966: 2b00 cmp r3, #0 + 8001968: d001 beq.n 800196e { return HAL_ERROR; - 80017da: 2301 movs r3, #1 - 80017dc: e00e b.n 80017fc + 800196a: 2301 movs r3, #1 + 800196c: e00e b.n 800198c } /* Configure the SysTick IRQ priority */ if (TickPriority < (1UL << __NVIC_PRIO_BITS)) - 80017de: 687b ldr r3, [r7, #4] - 80017e0: 2b0f cmp r3, #15 - 80017e2: d80a bhi.n 80017fa + 800196e: 687b ldr r3, [r7, #4] + 8001970: 2b0f cmp r3, #15 + 8001972: d80a bhi.n 800198a { HAL_NVIC_SetPriority(SysTick_IRQn, TickPriority, 0U); - 80017e4: 2200 movs r2, #0 - 80017e6: 6879 ldr r1, [r7, #4] - 80017e8: f04f 30ff mov.w r0, #4294967295 @ 0xffffffff - 80017ec: f000 f92f bl 8001a4e + 8001974: 2200 movs r2, #0 + 8001976: 6879 ldr r1, [r7, #4] + 8001978: f04f 30ff mov.w r0, #4294967295 @ 0xffffffff + 800197c: f000 f92f bl 8001bde uwTickPrio = TickPriority; - 80017f0: 4a06 ldr r2, [pc, #24] @ (800180c ) - 80017f2: 687b ldr r3, [r7, #4] - 80017f4: 6013 str r3, [r2, #0] + 8001980: 4a06 ldr r2, [pc, #24] @ (800199c ) + 8001982: 687b ldr r3, [r7, #4] + 8001984: 6013 str r3, [r2, #0] { return HAL_ERROR; } /* Return function status */ return HAL_OK; - 80017f6: 2300 movs r3, #0 - 80017f8: e000 b.n 80017fc + 8001986: 2300 movs r3, #0 + 8001988: e000 b.n 800198c return HAL_ERROR; - 80017fa: 2301 movs r3, #1 + 800198a: 2301 movs r3, #1 } - 80017fc: 4618 mov r0, r3 - 80017fe: 3708 adds r7, #8 - 8001800: 46bd mov sp, r7 - 8001802: bd80 pop {r7, pc} - 8001804: 20000090 .word 0x20000090 - 8001808: 20000098 .word 0x20000098 - 800180c: 20000094 .word 0x20000094 + 800198c: 4618 mov r0, r3 + 800198e: 3708 adds r7, #8 + 8001990: 46bd mov sp, r7 + 8001992: bd80 pop {r7, pc} + 8001994: 20000090 .word 0x20000090 + 8001998: 20000098 .word 0x20000098 + 800199c: 20000094 .word 0x20000094 -08001810 : +080019a0 : * @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) { - 8001810: b480 push {r7} - 8001812: af00 add r7, sp, #0 + 80019a0: b480 push {r7} + 80019a2: af00 add r7, sp, #0 uwTick += uwTickFreq; - 8001814: 4b06 ldr r3, [pc, #24] @ (8001830 ) - 8001816: 781b ldrb r3, [r3, #0] - 8001818: 461a mov r2, r3 - 800181a: 4b06 ldr r3, [pc, #24] @ (8001834 ) - 800181c: 681b ldr r3, [r3, #0] - 800181e: 4413 add r3, r2 - 8001820: 4a04 ldr r2, [pc, #16] @ (8001834 ) - 8001822: 6013 str r3, [r2, #0] + 80019a4: 4b06 ldr r3, [pc, #24] @ (80019c0 ) + 80019a6: 781b ldrb r3, [r3, #0] + 80019a8: 461a mov r2, r3 + 80019aa: 4b06 ldr r3, [pc, #24] @ (80019c4 ) + 80019ac: 681b ldr r3, [r3, #0] + 80019ae: 4413 add r3, r2 + 80019b0: 4a04 ldr r2, [pc, #16] @ (80019c4 ) + 80019b2: 6013 str r3, [r2, #0] } - 8001824: bf00 nop - 8001826: 46bd mov sp, r7 - 8001828: f85d 7b04 ldr.w r7, [sp], #4 - 800182c: 4770 bx lr - 800182e: bf00 nop - 8001830: 20000098 .word 0x20000098 - 8001834: 200006f4 .word 0x200006f4 + 80019b4: bf00 nop + 80019b6: 46bd mov sp, r7 + 80019b8: f85d 7b04 ldr.w r7, [sp], #4 + 80019bc: 4770 bx lr + 80019be: bf00 nop + 80019c0: 20000098 .word 0x20000098 + 80019c4: 2000071c .word 0x2000071c -08001838 : +080019c8 : * @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) { - 8001838: b480 push {r7} - 800183a: af00 add r7, sp, #0 + 80019c8: b480 push {r7} + 80019ca: af00 add r7, sp, #0 return uwTick; - 800183c: 4b03 ldr r3, [pc, #12] @ (800184c ) - 800183e: 681b ldr r3, [r3, #0] + 80019cc: 4b03 ldr r3, [pc, #12] @ (80019dc ) + 80019ce: 681b ldr r3, [r3, #0] } - 8001840: 4618 mov r0, r3 - 8001842: 46bd mov sp, r7 - 8001844: f85d 7b04 ldr.w r7, [sp], #4 - 8001848: 4770 bx lr - 800184a: bf00 nop - 800184c: 200006f4 .word 0x200006f4 + 80019d0: 4618 mov r0, r3 + 80019d2: 46bd mov sp, r7 + 80019d4: f85d 7b04 ldr.w r7, [sp], #4 + 80019d8: 4770 bx lr + 80019da: bf00 nop + 80019dc: 2000071c .word 0x2000071c -08001850 : +080019e0 : * implementations in user file. * @param Delay specifies the delay time length, in milliseconds. * @retval None */ __weak void HAL_Delay(uint32_t Delay) { - 8001850: b580 push {r7, lr} - 8001852: b084 sub sp, #16 - 8001854: af00 add r7, sp, #0 - 8001856: 6078 str r0, [r7, #4] + 80019e0: b580 push {r7, lr} + 80019e2: b084 sub sp, #16 + 80019e4: af00 add r7, sp, #0 + 80019e6: 6078 str r0, [r7, #4] uint32_t tickstart = HAL_GetTick(); - 8001858: f7ff ffee bl 8001838 - 800185c: 60b8 str r0, [r7, #8] + 80019e8: f7ff ffee bl 80019c8 + 80019ec: 60b8 str r0, [r7, #8] uint32_t wait = Delay; - 800185e: 687b ldr r3, [r7, #4] - 8001860: 60fb str r3, [r7, #12] + 80019ee: 687b ldr r3, [r7, #4] + 80019f0: 60fb str r3, [r7, #12] /* Add a freq to guarantee minimum wait */ if (wait < HAL_MAX_DELAY) - 8001862: 68fb ldr r3, [r7, #12] - 8001864: f1b3 3fff cmp.w r3, #4294967295 @ 0xffffffff - 8001868: d005 beq.n 8001876 + 80019f2: 68fb ldr r3, [r7, #12] + 80019f4: f1b3 3fff cmp.w r3, #4294967295 @ 0xffffffff + 80019f8: d005 beq.n 8001a06 { wait += (uint32_t)(uwTickFreq); - 800186a: 4b0a ldr r3, [pc, #40] @ (8001894 ) - 800186c: 781b ldrb r3, [r3, #0] - 800186e: 461a mov r2, r3 - 8001870: 68fb ldr r3, [r7, #12] - 8001872: 4413 add r3, r2 - 8001874: 60fb str r3, [r7, #12] + 80019fa: 4b0a ldr r3, [pc, #40] @ (8001a24 ) + 80019fc: 781b ldrb r3, [r3, #0] + 80019fe: 461a mov r2, r3 + 8001a00: 68fb ldr r3, [r7, #12] + 8001a02: 4413 add r3, r2 + 8001a04: 60fb str r3, [r7, #12] } while((HAL_GetTick() - tickstart) < wait) - 8001876: bf00 nop - 8001878: f7ff ffde bl 8001838 - 800187c: 4602 mov r2, r0 - 800187e: 68bb ldr r3, [r7, #8] - 8001880: 1ad3 subs r3, r2, r3 - 8001882: 68fa ldr r2, [r7, #12] - 8001884: 429a cmp r2, r3 - 8001886: d8f7 bhi.n 8001878 + 8001a06: bf00 nop + 8001a08: f7ff ffde bl 80019c8 + 8001a0c: 4602 mov r2, r0 + 8001a0e: 68bb ldr r3, [r7, #8] + 8001a10: 1ad3 subs r3, r2, r3 + 8001a12: 68fa ldr r2, [r7, #12] + 8001a14: 429a cmp r2, r3 + 8001a16: d8f7 bhi.n 8001a08 { } } - 8001888: bf00 nop - 800188a: bf00 nop - 800188c: 3710 adds r7, #16 - 800188e: 46bd mov sp, r7 - 8001890: bd80 pop {r7, pc} - 8001892: bf00 nop - 8001894: 20000098 .word 0x20000098 + 8001a18: bf00 nop + 8001a1a: bf00 nop + 8001a1c: 3710 adds r7, #16 + 8001a1e: 46bd mov sp, r7 + 8001a20: bd80 pop {r7, pc} + 8001a22: bf00 nop + 8001a24: 20000098 .word 0x20000098 -08001898 <__NVIC_SetPriorityGrouping>: +08001a28 <__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) { - 8001898: b480 push {r7} - 800189a: b085 sub sp, #20 - 800189c: af00 add r7, sp, #0 - 800189e: 6078 str r0, [r7, #4] + 8001a28: b480 push {r7} + 8001a2a: b085 sub sp, #20 + 8001a2c: af00 add r7, sp, #0 + 8001a2e: 6078 str r0, [r7, #4] uint32_t reg_value; uint32_t PriorityGroupTmp = (PriorityGroup & (uint32_t)0x07UL); /* only values 0..7 are used */ - 80018a0: 687b ldr r3, [r7, #4] - 80018a2: f003 0307 and.w r3, r3, #7 - 80018a6: 60fb str r3, [r7, #12] + 8001a30: 687b ldr r3, [r7, #4] + 8001a32: f003 0307 and.w r3, r3, #7 + 8001a36: 60fb str r3, [r7, #12] reg_value = SCB->AIRCR; /* read old register configuration */ - 80018a8: 4b0c ldr r3, [pc, #48] @ (80018dc <__NVIC_SetPriorityGrouping+0x44>) - 80018aa: 68db ldr r3, [r3, #12] - 80018ac: 60bb str r3, [r7, #8] + 8001a38: 4b0c ldr r3, [pc, #48] @ (8001a6c <__NVIC_SetPriorityGrouping+0x44>) + 8001a3a: 68db ldr r3, [r3, #12] + 8001a3c: 60bb str r3, [r7, #8] reg_value &= ~((uint32_t)(SCB_AIRCR_VECTKEY_Msk | SCB_AIRCR_PRIGROUP_Msk)); /* clear bits to change */ - 80018ae: 68ba ldr r2, [r7, #8] - 80018b0: f64f 03ff movw r3, #63743 @ 0xf8ff - 80018b4: 4013 ands r3, r2 - 80018b6: 60bb str r3, [r7, #8] + 8001a3e: 68ba ldr r2, [r7, #8] + 8001a40: f64f 03ff movw r3, #63743 @ 0xf8ff + 8001a44: 4013 ands r3, r2 + 8001a46: 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 */ - 80018b8: 68fb ldr r3, [r7, #12] - 80018ba: 021a lsls r2, r3, #8 + 8001a48: 68fb ldr r3, [r7, #12] + 8001a4a: 021a lsls r2, r3, #8 ((uint32_t)0x5FAUL << SCB_AIRCR_VECTKEY_Pos) | - 80018bc: 68bb ldr r3, [r7, #8] - 80018be: 4313 orrs r3, r2 + 8001a4c: 68bb ldr r3, [r7, #8] + 8001a4e: 4313 orrs r3, r2 reg_value = (reg_value | - 80018c0: f043 63bf orr.w r3, r3, #100139008 @ 0x5f80000 - 80018c4: f443 3300 orr.w r3, r3, #131072 @ 0x20000 - 80018c8: 60bb str r3, [r7, #8] + 8001a50: f043 63bf orr.w r3, r3, #100139008 @ 0x5f80000 + 8001a54: f443 3300 orr.w r3, r3, #131072 @ 0x20000 + 8001a58: 60bb str r3, [r7, #8] SCB->AIRCR = reg_value; - 80018ca: 4a04 ldr r2, [pc, #16] @ (80018dc <__NVIC_SetPriorityGrouping+0x44>) - 80018cc: 68bb ldr r3, [r7, #8] - 80018ce: 60d3 str r3, [r2, #12] + 8001a5a: 4a04 ldr r2, [pc, #16] @ (8001a6c <__NVIC_SetPriorityGrouping+0x44>) + 8001a5c: 68bb ldr r3, [r7, #8] + 8001a5e: 60d3 str r3, [r2, #12] } - 80018d0: bf00 nop - 80018d2: 3714 adds r7, #20 - 80018d4: 46bd mov sp, r7 - 80018d6: f85d 7b04 ldr.w r7, [sp], #4 - 80018da: 4770 bx lr - 80018dc: e000ed00 .word 0xe000ed00 + 8001a60: bf00 nop + 8001a62: 3714 adds r7, #20 + 8001a64: 46bd mov sp, r7 + 8001a66: f85d 7b04 ldr.w r7, [sp], #4 + 8001a6a: 4770 bx lr + 8001a6c: e000ed00 .word 0xe000ed00 -080018e0 <__NVIC_GetPriorityGrouping>: +08001a70 <__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) { - 80018e0: b480 push {r7} - 80018e2: af00 add r7, sp, #0 + 8001a70: b480 push {r7} + 8001a72: af00 add r7, sp, #0 return ((uint32_t)((SCB->AIRCR & SCB_AIRCR_PRIGROUP_Msk) >> SCB_AIRCR_PRIGROUP_Pos)); - 80018e4: 4b04 ldr r3, [pc, #16] @ (80018f8 <__NVIC_GetPriorityGrouping+0x18>) - 80018e6: 68db ldr r3, [r3, #12] - 80018e8: 0a1b lsrs r3, r3, #8 - 80018ea: f003 0307 and.w r3, r3, #7 + 8001a74: 4b04 ldr r3, [pc, #16] @ (8001a88 <__NVIC_GetPriorityGrouping+0x18>) + 8001a76: 68db ldr r3, [r3, #12] + 8001a78: 0a1b lsrs r3, r3, #8 + 8001a7a: f003 0307 and.w r3, r3, #7 } - 80018ee: 4618 mov r0, r3 - 80018f0: 46bd mov sp, r7 - 80018f2: f85d 7b04 ldr.w r7, [sp], #4 - 80018f6: 4770 bx lr - 80018f8: e000ed00 .word 0xe000ed00 + 8001a7e: 4618 mov r0, r3 + 8001a80: 46bd mov sp, r7 + 8001a82: f85d 7b04 ldr.w r7, [sp], #4 + 8001a86: 4770 bx lr + 8001a88: e000ed00 .word 0xe000ed00 -080018fc <__NVIC_EnableIRQ>: +08001a8c <__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) { - 80018fc: b480 push {r7} - 80018fe: b083 sub sp, #12 - 8001900: af00 add r7, sp, #0 - 8001902: 4603 mov r3, r0 - 8001904: 71fb strb r3, [r7, #7] + 8001a8c: b480 push {r7} + 8001a8e: b083 sub sp, #12 + 8001a90: af00 add r7, sp, #0 + 8001a92: 4603 mov r3, r0 + 8001a94: 71fb strb r3, [r7, #7] if ((int32_t)(IRQn) >= 0) - 8001906: f997 3007 ldrsb.w r3, [r7, #7] - 800190a: 2b00 cmp r3, #0 - 800190c: db0b blt.n 8001926 <__NVIC_EnableIRQ+0x2a> + 8001a96: f997 3007 ldrsb.w r3, [r7, #7] + 8001a9a: 2b00 cmp r3, #0 + 8001a9c: db0b blt.n 8001ab6 <__NVIC_EnableIRQ+0x2a> { __COMPILER_BARRIER(); NVIC->ISER[(((uint32_t)IRQn) >> 5UL)] = (uint32_t)(1UL << (((uint32_t)IRQn) & 0x1FUL)); - 800190e: 79fb ldrb r3, [r7, #7] - 8001910: f003 021f and.w r2, r3, #31 - 8001914: 4907 ldr r1, [pc, #28] @ (8001934 <__NVIC_EnableIRQ+0x38>) - 8001916: f997 3007 ldrsb.w r3, [r7, #7] - 800191a: 095b lsrs r3, r3, #5 - 800191c: 2001 movs r0, #1 - 800191e: fa00 f202 lsl.w r2, r0, r2 - 8001922: f841 2023 str.w r2, [r1, r3, lsl #2] + 8001a9e: 79fb ldrb r3, [r7, #7] + 8001aa0: f003 021f and.w r2, r3, #31 + 8001aa4: 4907 ldr r1, [pc, #28] @ (8001ac4 <__NVIC_EnableIRQ+0x38>) + 8001aa6: f997 3007 ldrsb.w r3, [r7, #7] + 8001aaa: 095b lsrs r3, r3, #5 + 8001aac: 2001 movs r0, #1 + 8001aae: fa00 f202 lsl.w r2, r0, r2 + 8001ab2: f841 2023 str.w r2, [r1, r3, lsl #2] __COMPILER_BARRIER(); } } - 8001926: bf00 nop - 8001928: 370c adds r7, #12 - 800192a: 46bd mov sp, r7 - 800192c: f85d 7b04 ldr.w r7, [sp], #4 - 8001930: 4770 bx lr - 8001932: bf00 nop - 8001934: e000e100 .word 0xe000e100 + 8001ab6: bf00 nop + 8001ab8: 370c adds r7, #12 + 8001aba: 46bd mov sp, r7 + 8001abc: f85d 7b04 ldr.w r7, [sp], #4 + 8001ac0: 4770 bx lr + 8001ac2: bf00 nop + 8001ac4: e000e100 .word 0xe000e100 -08001938 <__NVIC_SetPriority>: +08001ac8 <__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) { - 8001938: b480 push {r7} - 800193a: b083 sub sp, #12 - 800193c: af00 add r7, sp, #0 - 800193e: 4603 mov r3, r0 - 8001940: 6039 str r1, [r7, #0] - 8001942: 71fb strb r3, [r7, #7] + 8001ac8: b480 push {r7} + 8001aca: b083 sub sp, #12 + 8001acc: af00 add r7, sp, #0 + 8001ace: 4603 mov r3, r0 + 8001ad0: 6039 str r1, [r7, #0] + 8001ad2: 71fb strb r3, [r7, #7] if ((int32_t)(IRQn) >= 0) - 8001944: f997 3007 ldrsb.w r3, [r7, #7] - 8001948: 2b00 cmp r3, #0 - 800194a: db0a blt.n 8001962 <__NVIC_SetPriority+0x2a> + 8001ad4: f997 3007 ldrsb.w r3, [r7, #7] + 8001ad8: 2b00 cmp r3, #0 + 8001ada: db0a blt.n 8001af2 <__NVIC_SetPriority+0x2a> { NVIC->IP[((uint32_t)IRQn)] = (uint8_t)((priority << (8U - __NVIC_PRIO_BITS)) & (uint32_t)0xFFUL); - 800194c: 683b ldr r3, [r7, #0] - 800194e: b2da uxtb r2, r3 - 8001950: 490c ldr r1, [pc, #48] @ (8001984 <__NVIC_SetPriority+0x4c>) - 8001952: f997 3007 ldrsb.w r3, [r7, #7] - 8001956: 0112 lsls r2, r2, #4 - 8001958: b2d2 uxtb r2, r2 - 800195a: 440b add r3, r1 - 800195c: f883 2300 strb.w r2, [r3, #768] @ 0x300 + 8001adc: 683b ldr r3, [r7, #0] + 8001ade: b2da uxtb r2, r3 + 8001ae0: 490c ldr r1, [pc, #48] @ (8001b14 <__NVIC_SetPriority+0x4c>) + 8001ae2: f997 3007 ldrsb.w r3, [r7, #7] + 8001ae6: 0112 lsls r2, r2, #4 + 8001ae8: b2d2 uxtb r2, r2 + 8001aea: 440b add r3, r1 + 8001aec: f883 2300 strb.w r2, [r3, #768] @ 0x300 } else { SCB->SHP[(((uint32_t)IRQn) & 0xFUL)-4UL] = (uint8_t)((priority << (8U - __NVIC_PRIO_BITS)) & (uint32_t)0xFFUL); } } - 8001960: e00a b.n 8001978 <__NVIC_SetPriority+0x40> + 8001af0: e00a b.n 8001b08 <__NVIC_SetPriority+0x40> SCB->SHP[(((uint32_t)IRQn) & 0xFUL)-4UL] = (uint8_t)((priority << (8U - __NVIC_PRIO_BITS)) & (uint32_t)0xFFUL); - 8001962: 683b ldr r3, [r7, #0] - 8001964: b2da uxtb r2, r3 - 8001966: 4908 ldr r1, [pc, #32] @ (8001988 <__NVIC_SetPriority+0x50>) - 8001968: 79fb ldrb r3, [r7, #7] - 800196a: f003 030f and.w r3, r3, #15 - 800196e: 3b04 subs r3, #4 - 8001970: 0112 lsls r2, r2, #4 - 8001972: b2d2 uxtb r2, r2 - 8001974: 440b add r3, r1 - 8001976: 761a strb r2, [r3, #24] + 8001af2: 683b ldr r3, [r7, #0] + 8001af4: b2da uxtb r2, r3 + 8001af6: 4908 ldr r1, [pc, #32] @ (8001b18 <__NVIC_SetPriority+0x50>) + 8001af8: 79fb ldrb r3, [r7, #7] + 8001afa: f003 030f and.w r3, r3, #15 + 8001afe: 3b04 subs r3, #4 + 8001b00: 0112 lsls r2, r2, #4 + 8001b02: b2d2 uxtb r2, r2 + 8001b04: 440b add r3, r1 + 8001b06: 761a strb r2, [r3, #24] } - 8001978: bf00 nop - 800197a: 370c adds r7, #12 - 800197c: 46bd mov sp, r7 - 800197e: f85d 7b04 ldr.w r7, [sp], #4 - 8001982: 4770 bx lr - 8001984: e000e100 .word 0xe000e100 - 8001988: e000ed00 .word 0xe000ed00 + 8001b08: bf00 nop + 8001b0a: 370c adds r7, #12 + 8001b0c: 46bd mov sp, r7 + 8001b0e: f85d 7b04 ldr.w r7, [sp], #4 + 8001b12: 4770 bx lr + 8001b14: e000e100 .word 0xe000e100 + 8001b18: e000ed00 .word 0xe000ed00 -0800198c : +08001b1c : \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) { - 800198c: b480 push {r7} - 800198e: b089 sub sp, #36 @ 0x24 - 8001990: af00 add r7, sp, #0 - 8001992: 60f8 str r0, [r7, #12] - 8001994: 60b9 str r1, [r7, #8] - 8001996: 607a str r2, [r7, #4] + 8001b1c: b480 push {r7} + 8001b1e: b089 sub sp, #36 @ 0x24 + 8001b20: af00 add r7, sp, #0 + 8001b22: 60f8 str r0, [r7, #12] + 8001b24: 60b9 str r1, [r7, #8] + 8001b26: 607a str r2, [r7, #4] uint32_t PriorityGroupTmp = (PriorityGroup & (uint32_t)0x07UL); /* only values 0..7 are used */ - 8001998: 68fb ldr r3, [r7, #12] - 800199a: f003 0307 and.w r3, r3, #7 - 800199e: 61fb str r3, [r7, #28] + 8001b28: 68fb ldr r3, [r7, #12] + 8001b2a: f003 0307 and.w r3, r3, #7 + 8001b2e: 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); - 80019a0: 69fb ldr r3, [r7, #28] - 80019a2: f1c3 0307 rsb r3, r3, #7 - 80019a6: 2b04 cmp r3, #4 - 80019a8: bf28 it cs - 80019aa: 2304 movcs r3, #4 - 80019ac: 61bb str r3, [r7, #24] + 8001b30: 69fb ldr r3, [r7, #28] + 8001b32: f1c3 0307 rsb r3, r3, #7 + 8001b36: 2b04 cmp r3, #4 + 8001b38: bf28 it cs + 8001b3a: 2304 movcs r3, #4 + 8001b3c: 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)); - 80019ae: 69fb ldr r3, [r7, #28] - 80019b0: 3304 adds r3, #4 - 80019b2: 2b06 cmp r3, #6 - 80019b4: d902 bls.n 80019bc - 80019b6: 69fb ldr r3, [r7, #28] - 80019b8: 3b03 subs r3, #3 - 80019ba: e000 b.n 80019be - 80019bc: 2300 movs r3, #0 - 80019be: 617b str r3, [r7, #20] + 8001b3e: 69fb ldr r3, [r7, #28] + 8001b40: 3304 adds r3, #4 + 8001b42: 2b06 cmp r3, #6 + 8001b44: d902 bls.n 8001b4c + 8001b46: 69fb ldr r3, [r7, #28] + 8001b48: 3b03 subs r3, #3 + 8001b4a: e000 b.n 8001b4e + 8001b4c: 2300 movs r3, #0 + 8001b4e: 617b str r3, [r7, #20] return ( ((PreemptPriority & (uint32_t)((1UL << (PreemptPriorityBits)) - 1UL)) << SubPriorityBits) | - 80019c0: f04f 32ff mov.w r2, #4294967295 @ 0xffffffff - 80019c4: 69bb ldr r3, [r7, #24] - 80019c6: fa02 f303 lsl.w r3, r2, r3 - 80019ca: 43da mvns r2, r3 - 80019cc: 68bb ldr r3, [r7, #8] - 80019ce: 401a ands r2, r3 - 80019d0: 697b ldr r3, [r7, #20] - 80019d2: 409a lsls r2, r3 + 8001b50: f04f 32ff mov.w r2, #4294967295 @ 0xffffffff + 8001b54: 69bb ldr r3, [r7, #24] + 8001b56: fa02 f303 lsl.w r3, r2, r3 + 8001b5a: 43da mvns r2, r3 + 8001b5c: 68bb ldr r3, [r7, #8] + 8001b5e: 401a ands r2, r3 + 8001b60: 697b ldr r3, [r7, #20] + 8001b62: 409a lsls r2, r3 ((SubPriority & (uint32_t)((1UL << (SubPriorityBits )) - 1UL))) - 80019d4: f04f 31ff mov.w r1, #4294967295 @ 0xffffffff - 80019d8: 697b ldr r3, [r7, #20] - 80019da: fa01 f303 lsl.w r3, r1, r3 - 80019de: 43d9 mvns r1, r3 - 80019e0: 687b ldr r3, [r7, #4] - 80019e2: 400b ands r3, r1 + 8001b64: f04f 31ff mov.w r1, #4294967295 @ 0xffffffff + 8001b68: 697b ldr r3, [r7, #20] + 8001b6a: fa01 f303 lsl.w r3, r1, r3 + 8001b6e: 43d9 mvns r1, r3 + 8001b70: 687b ldr r3, [r7, #4] + 8001b72: 400b ands r3, r1 ((PreemptPriority & (uint32_t)((1UL << (PreemptPriorityBits)) - 1UL)) << SubPriorityBits) | - 80019e4: 4313 orrs r3, r2 + 8001b74: 4313 orrs r3, r2 ); } - 80019e6: 4618 mov r0, r3 - 80019e8: 3724 adds r7, #36 @ 0x24 - 80019ea: 46bd mov sp, r7 - 80019ec: f85d 7b04 ldr.w r7, [sp], #4 - 80019f0: 4770 bx lr + 8001b76: 4618 mov r0, r3 + 8001b78: 3724 adds r7, #36 @ 0x24 + 8001b7a: 46bd mov sp, r7 + 8001b7c: f85d 7b04 ldr.w r7, [sp], #4 + 8001b80: 4770 bx lr ... -080019f4 : +08001b84 : \note When the variable __Vendor_SysTickConfig is set to 1, then the function SysTick_Config is not included. In this case, the file device.h must contain a vendor-specific implementation of this function. */ __STATIC_INLINE uint32_t SysTick_Config(uint32_t ticks) { - 80019f4: b580 push {r7, lr} - 80019f6: b082 sub sp, #8 - 80019f8: af00 add r7, sp, #0 - 80019fa: 6078 str r0, [r7, #4] + 8001b84: b580 push {r7, lr} + 8001b86: b082 sub sp, #8 + 8001b88: af00 add r7, sp, #0 + 8001b8a: 6078 str r0, [r7, #4] if ((ticks - 1UL) > SysTick_LOAD_RELOAD_Msk) - 80019fc: 687b ldr r3, [r7, #4] - 80019fe: 3b01 subs r3, #1 - 8001a00: f1b3 7f80 cmp.w r3, #16777216 @ 0x1000000 - 8001a04: d301 bcc.n 8001a0a + 8001b8c: 687b ldr r3, [r7, #4] + 8001b8e: 3b01 subs r3, #1 + 8001b90: f1b3 7f80 cmp.w r3, #16777216 @ 0x1000000 + 8001b94: d301 bcc.n 8001b9a { return (1UL); /* Reload value impossible */ - 8001a06: 2301 movs r3, #1 - 8001a08: e00f b.n 8001a2a + 8001b96: 2301 movs r3, #1 + 8001b98: e00f b.n 8001bba } SysTick->LOAD = (uint32_t)(ticks - 1UL); /* set reload register */ - 8001a0a: 4a0a ldr r2, [pc, #40] @ (8001a34 ) - 8001a0c: 687b ldr r3, [r7, #4] - 8001a0e: 3b01 subs r3, #1 - 8001a10: 6053 str r3, [r2, #4] + 8001b9a: 4a0a ldr r2, [pc, #40] @ (8001bc4 ) + 8001b9c: 687b ldr r3, [r7, #4] + 8001b9e: 3b01 subs r3, #1 + 8001ba0: 6053 str r3, [r2, #4] NVIC_SetPriority (SysTick_IRQn, (1UL << __NVIC_PRIO_BITS) - 1UL); /* set Priority for Systick Interrupt */ - 8001a12: 210f movs r1, #15 - 8001a14: f04f 30ff mov.w r0, #4294967295 @ 0xffffffff - 8001a18: f7ff ff8e bl 8001938 <__NVIC_SetPriority> + 8001ba2: 210f movs r1, #15 + 8001ba4: f04f 30ff mov.w r0, #4294967295 @ 0xffffffff + 8001ba8: f7ff ff8e bl 8001ac8 <__NVIC_SetPriority> SysTick->VAL = 0UL; /* Load the SysTick Counter Value */ - 8001a1c: 4b05 ldr r3, [pc, #20] @ (8001a34 ) - 8001a1e: 2200 movs r2, #0 - 8001a20: 609a str r2, [r3, #8] + 8001bac: 4b05 ldr r3, [pc, #20] @ (8001bc4 ) + 8001bae: 2200 movs r2, #0 + 8001bb0: 609a str r2, [r3, #8] SysTick->CTRL = SysTick_CTRL_CLKSOURCE_Msk | - 8001a22: 4b04 ldr r3, [pc, #16] @ (8001a34 ) - 8001a24: 2207 movs r2, #7 - 8001a26: 601a str r2, [r3, #0] + 8001bb2: 4b04 ldr r3, [pc, #16] @ (8001bc4 ) + 8001bb4: 2207 movs r2, #7 + 8001bb6: 601a str r2, [r3, #0] SysTick_CTRL_TICKINT_Msk | SysTick_CTRL_ENABLE_Msk; /* Enable SysTick IRQ and SysTick Timer */ return (0UL); /* Function successful */ - 8001a28: 2300 movs r3, #0 + 8001bb8: 2300 movs r3, #0 } - 8001a2a: 4618 mov r0, r3 - 8001a2c: 3708 adds r7, #8 - 8001a2e: 46bd mov sp, r7 - 8001a30: bd80 pop {r7, pc} - 8001a32: bf00 nop - 8001a34: e000e010 .word 0xe000e010 + 8001bba: 4618 mov r0, r3 + 8001bbc: 3708 adds r7, #8 + 8001bbe: 46bd mov sp, r7 + 8001bc0: bd80 pop {r7, pc} + 8001bc2: bf00 nop + 8001bc4: e000e010 .word 0xe000e010 -08001a38 : +08001bc8 : * @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) { - 8001a38: b580 push {r7, lr} - 8001a3a: b082 sub sp, #8 - 8001a3c: af00 add r7, sp, #0 - 8001a3e: 6078 str r0, [r7, #4] + 8001bc8: b580 push {r7, lr} + 8001bca: b082 sub sp, #8 + 8001bcc: af00 add r7, sp, #0 + 8001bce: 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); - 8001a40: 6878 ldr r0, [r7, #4] - 8001a42: f7ff ff29 bl 8001898 <__NVIC_SetPriorityGrouping> + 8001bd0: 6878 ldr r0, [r7, #4] + 8001bd2: f7ff ff29 bl 8001a28 <__NVIC_SetPriorityGrouping> } - 8001a46: bf00 nop - 8001a48: 3708 adds r7, #8 - 8001a4a: 46bd mov sp, r7 - 8001a4c: bd80 pop {r7, pc} + 8001bd6: bf00 nop + 8001bd8: 3708 adds r7, #8 + 8001bda: 46bd mov sp, r7 + 8001bdc: bd80 pop {r7, pc} -08001a4e : +08001bde : * 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) { - 8001a4e: b580 push {r7, lr} - 8001a50: b086 sub sp, #24 - 8001a52: af00 add r7, sp, #0 - 8001a54: 4603 mov r3, r0 - 8001a56: 60b9 str r1, [r7, #8] - 8001a58: 607a str r2, [r7, #4] - 8001a5a: 73fb strb r3, [r7, #15] + 8001bde: b580 push {r7, lr} + 8001be0: b086 sub sp, #24 + 8001be2: af00 add r7, sp, #0 + 8001be4: 4603 mov r3, r0 + 8001be6: 60b9 str r1, [r7, #8] + 8001be8: 607a str r2, [r7, #4] + 8001bea: 73fb strb r3, [r7, #15] uint32_t prioritygroup = 0x00U; - 8001a5c: 2300 movs r3, #0 - 8001a5e: 617b str r3, [r7, #20] + 8001bec: 2300 movs r3, #0 + 8001bee: 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(); - 8001a60: f7ff ff3e bl 80018e0 <__NVIC_GetPriorityGrouping> - 8001a64: 6178 str r0, [r7, #20] + 8001bf0: f7ff ff3e bl 8001a70 <__NVIC_GetPriorityGrouping> + 8001bf4: 6178 str r0, [r7, #20] NVIC_SetPriority(IRQn, NVIC_EncodePriority(prioritygroup, PreemptPriority, SubPriority)); - 8001a66: 687a ldr r2, [r7, #4] - 8001a68: 68b9 ldr r1, [r7, #8] - 8001a6a: 6978 ldr r0, [r7, #20] - 8001a6c: f7ff ff8e bl 800198c - 8001a70: 4602 mov r2, r0 - 8001a72: f997 300f ldrsb.w r3, [r7, #15] - 8001a76: 4611 mov r1, r2 - 8001a78: 4618 mov r0, r3 - 8001a7a: f7ff ff5d bl 8001938 <__NVIC_SetPriority> + 8001bf6: 687a ldr r2, [r7, #4] + 8001bf8: 68b9 ldr r1, [r7, #8] + 8001bfa: 6978 ldr r0, [r7, #20] + 8001bfc: f7ff ff8e bl 8001b1c + 8001c00: 4602 mov r2, r0 + 8001c02: f997 300f ldrsb.w r3, [r7, #15] + 8001c06: 4611 mov r1, r2 + 8001c08: 4618 mov r0, r3 + 8001c0a: f7ff ff5d bl 8001ac8 <__NVIC_SetPriority> } - 8001a7e: bf00 nop - 8001a80: 3718 adds r7, #24 - 8001a82: 46bd mov sp, r7 - 8001a84: bd80 pop {r7, pc} + 8001c0e: bf00 nop + 8001c10: 3718 adds r7, #24 + 8001c12: 46bd mov sp, r7 + 8001c14: bd80 pop {r7, pc} -08001a86 : +08001c16 : * 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 (stm32f4xxxx.h)) * @retval None */ void HAL_NVIC_EnableIRQ(IRQn_Type IRQn) { - 8001a86: b580 push {r7, lr} - 8001a88: b082 sub sp, #8 - 8001a8a: af00 add r7, sp, #0 - 8001a8c: 4603 mov r3, r0 - 8001a8e: 71fb strb r3, [r7, #7] + 8001c16: b580 push {r7, lr} + 8001c18: b082 sub sp, #8 + 8001c1a: af00 add r7, sp, #0 + 8001c1c: 4603 mov r3, r0 + 8001c1e: 71fb strb r3, [r7, #7] /* Check the parameters */ assert_param(IS_NVIC_DEVICE_IRQ(IRQn)); /* Enable interrupt */ NVIC_EnableIRQ(IRQn); - 8001a90: f997 3007 ldrsb.w r3, [r7, #7] - 8001a94: 4618 mov r0, r3 - 8001a96: f7ff ff31 bl 80018fc <__NVIC_EnableIRQ> + 8001c20: f997 3007 ldrsb.w r3, [r7, #7] + 8001c24: 4618 mov r0, r3 + 8001c26: f7ff ff31 bl 8001a8c <__NVIC_EnableIRQ> } - 8001a9a: bf00 nop - 8001a9c: 3708 adds r7, #8 - 8001a9e: 46bd mov sp, r7 - 8001aa0: bd80 pop {r7, pc} + 8001c2a: bf00 nop + 8001c2c: 3708 adds r7, #8 + 8001c2e: 46bd mov sp, r7 + 8001c30: bd80 pop {r7, pc} -08001aa2 : +08001c32 : * @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) { - 8001aa2: b580 push {r7, lr} - 8001aa4: b082 sub sp, #8 - 8001aa6: af00 add r7, sp, #0 - 8001aa8: 6078 str r0, [r7, #4] + 8001c32: b580 push {r7, lr} + 8001c34: b082 sub sp, #8 + 8001c36: af00 add r7, sp, #0 + 8001c38: 6078 str r0, [r7, #4] return SysTick_Config(TicksNumb); - 8001aaa: 6878 ldr r0, [r7, #4] - 8001aac: f7ff ffa2 bl 80019f4 - 8001ab0: 4603 mov r3, r0 + 8001c3a: 6878 ldr r0, [r7, #4] + 8001c3c: f7ff ffa2 bl 8001b84 + 8001c40: 4603 mov r3, r0 } - 8001ab2: 4618 mov r0, r3 - 8001ab4: 3708 adds r7, #8 - 8001ab6: 46bd mov sp, r7 - 8001ab8: bd80 pop {r7, pc} + 8001c42: 4618 mov r0, r3 + 8001c44: 3708 adds r7, #8 + 8001c46: 46bd mov sp, r7 + 8001c48: bd80 pop {r7, pc} ... -08001abc : +08001c4c : * @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_Init(DMA_HandleTypeDef *hdma) { - 8001abc: b580 push {r7, lr} - 8001abe: b086 sub sp, #24 - 8001ac0: af00 add r7, sp, #0 - 8001ac2: 6078 str r0, [r7, #4] + 8001c4c: b580 push {r7, lr} + 8001c4e: b086 sub sp, #24 + 8001c50: af00 add r7, sp, #0 + 8001c52: 6078 str r0, [r7, #4] uint32_t tmp = 0U; - 8001ac4: 2300 movs r3, #0 - 8001ac6: 617b str r3, [r7, #20] + 8001c54: 2300 movs r3, #0 + 8001c56: 617b str r3, [r7, #20] uint32_t tickstart = HAL_GetTick(); - 8001ac8: f7ff feb6 bl 8001838 - 8001acc: 6138 str r0, [r7, #16] + 8001c58: f7ff feb6 bl 80019c8 + 8001c5c: 6138 str r0, [r7, #16] DMA_Base_Registers *regs; /* Check the DMA peripheral state */ if(hdma == NULL) - 8001ace: 687b ldr r3, [r7, #4] - 8001ad0: 2b00 cmp r3, #0 - 8001ad2: d101 bne.n 8001ad8 + 8001c5e: 687b ldr r3, [r7, #4] + 8001c60: 2b00 cmp r3, #0 + 8001c62: d101 bne.n 8001c68 { return HAL_ERROR; - 8001ad4: 2301 movs r3, #1 - 8001ad6: e099 b.n 8001c0c + 8001c64: 2301 movs r3, #1 + 8001c66: e099 b.n 8001d9c assert_param(IS_DMA_MEMORY_BURST(hdma->Init.MemBurst)); assert_param(IS_DMA_PERIPHERAL_BURST(hdma->Init.PeriphBurst)); } /* Change DMA peripheral state */ hdma->State = HAL_DMA_STATE_BUSY; - 8001ad8: 687b ldr r3, [r7, #4] - 8001ada: 2202 movs r2, #2 - 8001adc: f883 2035 strb.w r2, [r3, #53] @ 0x35 + 8001c68: 687b ldr r3, [r7, #4] + 8001c6a: 2202 movs r2, #2 + 8001c6c: f883 2035 strb.w r2, [r3, #53] @ 0x35 /* Allocate lock resource */ __HAL_UNLOCK(hdma); - 8001ae0: 687b ldr r3, [r7, #4] - 8001ae2: 2200 movs r2, #0 - 8001ae4: f883 2034 strb.w r2, [r3, #52] @ 0x34 + 8001c70: 687b ldr r3, [r7, #4] + 8001c72: 2200 movs r2, #0 + 8001c74: f883 2034 strb.w r2, [r3, #52] @ 0x34 /* Disable the peripheral */ __HAL_DMA_DISABLE(hdma); - 8001ae8: 687b ldr r3, [r7, #4] - 8001aea: 681b ldr r3, [r3, #0] - 8001aec: 681a ldr r2, [r3, #0] - 8001aee: 687b ldr r3, [r7, #4] - 8001af0: 681b ldr r3, [r3, #0] - 8001af2: f022 0201 bic.w r2, r2, #1 - 8001af6: 601a str r2, [r3, #0] + 8001c78: 687b ldr r3, [r7, #4] + 8001c7a: 681b ldr r3, [r3, #0] + 8001c7c: 681a ldr r2, [r3, #0] + 8001c7e: 687b ldr r3, [r7, #4] + 8001c80: 681b ldr r3, [r3, #0] + 8001c82: f022 0201 bic.w r2, r2, #1 + 8001c86: 601a str r2, [r3, #0] /* Check if the DMA Stream is effectively disabled */ while((hdma->Instance->CR & DMA_SxCR_EN) != RESET) - 8001af8: e00f b.n 8001b1a + 8001c88: e00f b.n 8001caa { /* Check for the Timeout */ if((HAL_GetTick() - tickstart ) > HAL_TIMEOUT_DMA_ABORT) - 8001afa: f7ff fe9d bl 8001838 - 8001afe: 4602 mov r2, r0 - 8001b00: 693b ldr r3, [r7, #16] - 8001b02: 1ad3 subs r3, r2, r3 - 8001b04: 2b05 cmp r3, #5 - 8001b06: d908 bls.n 8001b1a + 8001c8a: f7ff fe9d bl 80019c8 + 8001c8e: 4602 mov r2, r0 + 8001c90: 693b ldr r3, [r7, #16] + 8001c92: 1ad3 subs r3, r2, r3 + 8001c94: 2b05 cmp r3, #5 + 8001c96: d908 bls.n 8001caa { /* Update error code */ hdma->ErrorCode = HAL_DMA_ERROR_TIMEOUT; - 8001b08: 687b ldr r3, [r7, #4] - 8001b0a: 2220 movs r2, #32 - 8001b0c: 655a str r2, [r3, #84] @ 0x54 + 8001c98: 687b ldr r3, [r7, #4] + 8001c9a: 2220 movs r2, #32 + 8001c9c: 655a str r2, [r3, #84] @ 0x54 /* Change the DMA state */ hdma->State = HAL_DMA_STATE_TIMEOUT; - 8001b0e: 687b ldr r3, [r7, #4] - 8001b10: 2203 movs r2, #3 - 8001b12: f883 2035 strb.w r2, [r3, #53] @ 0x35 + 8001c9e: 687b ldr r3, [r7, #4] + 8001ca0: 2203 movs r2, #3 + 8001ca2: f883 2035 strb.w r2, [r3, #53] @ 0x35 return HAL_TIMEOUT; - 8001b16: 2303 movs r3, #3 - 8001b18: e078 b.n 8001c0c + 8001ca6: 2303 movs r3, #3 + 8001ca8: e078 b.n 8001d9c while((hdma->Instance->CR & DMA_SxCR_EN) != RESET) - 8001b1a: 687b ldr r3, [r7, #4] - 8001b1c: 681b ldr r3, [r3, #0] - 8001b1e: 681b ldr r3, [r3, #0] - 8001b20: f003 0301 and.w r3, r3, #1 - 8001b24: 2b00 cmp r3, #0 - 8001b26: d1e8 bne.n 8001afa + 8001caa: 687b ldr r3, [r7, #4] + 8001cac: 681b ldr r3, [r3, #0] + 8001cae: 681b ldr r3, [r3, #0] + 8001cb0: f003 0301 and.w r3, r3, #1 + 8001cb4: 2b00 cmp r3, #0 + 8001cb6: d1e8 bne.n 8001c8a } } /* Get the CR register value */ tmp = hdma->Instance->CR; - 8001b28: 687b ldr r3, [r7, #4] - 8001b2a: 681b ldr r3, [r3, #0] - 8001b2c: 681b ldr r3, [r3, #0] - 8001b2e: 617b str r3, [r7, #20] + 8001cb8: 687b ldr r3, [r7, #4] + 8001cba: 681b ldr r3, [r3, #0] + 8001cbc: 681b ldr r3, [r3, #0] + 8001cbe: 617b str r3, [r7, #20] /* Clear CHSEL, MBURST, PBURST, PL, MSIZE, PSIZE, MINC, PINC, CIRC, DIR, CT and DBM bits */ tmp &= ((uint32_t)~(DMA_SxCR_CHSEL | DMA_SxCR_MBURST | DMA_SxCR_PBURST | \ - 8001b30: 697a ldr r2, [r7, #20] - 8001b32: 4b38 ldr r3, [pc, #224] @ (8001c14 ) - 8001b34: 4013 ands r3, r2 - 8001b36: 617b str r3, [r7, #20] + 8001cc0: 697a ldr r2, [r7, #20] + 8001cc2: 4b38 ldr r3, [pc, #224] @ (8001da4 ) + 8001cc4: 4013 ands r3, r2 + 8001cc6: 617b str r3, [r7, #20] DMA_SxCR_PL | DMA_SxCR_MSIZE | DMA_SxCR_PSIZE | \ DMA_SxCR_MINC | DMA_SxCR_PINC | DMA_SxCR_CIRC | \ DMA_SxCR_DIR | DMA_SxCR_CT | DMA_SxCR_DBM)); /* Prepare the DMA Stream configuration */ tmp |= hdma->Init.Channel | hdma->Init.Direction | - 8001b38: 687b ldr r3, [r7, #4] - 8001b3a: 685a ldr r2, [r3, #4] - 8001b3c: 687b ldr r3, [r7, #4] - 8001b3e: 689b ldr r3, [r3, #8] - 8001b40: 431a orrs r2, r3 + 8001cc8: 687b ldr r3, [r7, #4] + 8001cca: 685a ldr r2, [r3, #4] + 8001ccc: 687b ldr r3, [r7, #4] + 8001cce: 689b ldr r3, [r3, #8] + 8001cd0: 431a orrs r2, r3 hdma->Init.PeriphInc | hdma->Init.MemInc | - 8001b42: 687b ldr r3, [r7, #4] - 8001b44: 68db ldr r3, [r3, #12] + 8001cd2: 687b ldr r3, [r7, #4] + 8001cd4: 68db ldr r3, [r3, #12] tmp |= hdma->Init.Channel | hdma->Init.Direction | - 8001b46: 431a orrs r2, r3 + 8001cd6: 431a orrs r2, r3 hdma->Init.PeriphInc | hdma->Init.MemInc | - 8001b48: 687b ldr r3, [r7, #4] - 8001b4a: 691b ldr r3, [r3, #16] - 8001b4c: 431a orrs r2, r3 + 8001cd8: 687b ldr r3, [r7, #4] + 8001cda: 691b ldr r3, [r3, #16] + 8001cdc: 431a orrs r2, r3 hdma->Init.PeriphDataAlignment | hdma->Init.MemDataAlignment | - 8001b4e: 687b ldr r3, [r7, #4] - 8001b50: 695b ldr r3, [r3, #20] + 8001cde: 687b ldr r3, [r7, #4] + 8001ce0: 695b ldr r3, [r3, #20] hdma->Init.PeriphInc | hdma->Init.MemInc | - 8001b52: 431a orrs r2, r3 + 8001ce2: 431a orrs r2, r3 hdma->Init.PeriphDataAlignment | hdma->Init.MemDataAlignment | - 8001b54: 687b ldr r3, [r7, #4] - 8001b56: 699b ldr r3, [r3, #24] - 8001b58: 431a orrs r2, r3 + 8001ce4: 687b ldr r3, [r7, #4] + 8001ce6: 699b ldr r3, [r3, #24] + 8001ce8: 431a orrs r2, r3 hdma->Init.Mode | hdma->Init.Priority; - 8001b5a: 687b ldr r3, [r7, #4] - 8001b5c: 69db ldr r3, [r3, #28] + 8001cea: 687b ldr r3, [r7, #4] + 8001cec: 69db ldr r3, [r3, #28] hdma->Init.PeriphDataAlignment | hdma->Init.MemDataAlignment | - 8001b5e: 431a orrs r2, r3 + 8001cee: 431a orrs r2, r3 hdma->Init.Mode | hdma->Init.Priority; - 8001b60: 687b ldr r3, [r7, #4] - 8001b62: 6a1b ldr r3, [r3, #32] - 8001b64: 4313 orrs r3, r2 + 8001cf0: 687b ldr r3, [r7, #4] + 8001cf2: 6a1b ldr r3, [r3, #32] + 8001cf4: 4313 orrs r3, r2 tmp |= hdma->Init.Channel | hdma->Init.Direction | - 8001b66: 697a ldr r2, [r7, #20] - 8001b68: 4313 orrs r3, r2 - 8001b6a: 617b str r3, [r7, #20] + 8001cf6: 697a ldr r2, [r7, #20] + 8001cf8: 4313 orrs r3, r2 + 8001cfa: 617b str r3, [r7, #20] /* the Memory burst and peripheral burst are not used when the FIFO is disabled */ if(hdma->Init.FIFOMode == DMA_FIFOMODE_ENABLE) - 8001b6c: 687b ldr r3, [r7, #4] - 8001b6e: 6a5b ldr r3, [r3, #36] @ 0x24 - 8001b70: 2b04 cmp r3, #4 - 8001b72: d107 bne.n 8001b84 + 8001cfc: 687b ldr r3, [r7, #4] + 8001cfe: 6a5b ldr r3, [r3, #36] @ 0x24 + 8001d00: 2b04 cmp r3, #4 + 8001d02: d107 bne.n 8001d14 { /* Get memory burst and peripheral burst */ tmp |= hdma->Init.MemBurst | hdma->Init.PeriphBurst; - 8001b74: 687b ldr r3, [r7, #4] - 8001b76: 6ada ldr r2, [r3, #44] @ 0x2c - 8001b78: 687b ldr r3, [r7, #4] - 8001b7a: 6b1b ldr r3, [r3, #48] @ 0x30 - 8001b7c: 4313 orrs r3, r2 - 8001b7e: 697a ldr r2, [r7, #20] - 8001b80: 4313 orrs r3, r2 - 8001b82: 617b str r3, [r7, #20] + 8001d04: 687b ldr r3, [r7, #4] + 8001d06: 6ada ldr r2, [r3, #44] @ 0x2c + 8001d08: 687b ldr r3, [r7, #4] + 8001d0a: 6b1b ldr r3, [r3, #48] @ 0x30 + 8001d0c: 4313 orrs r3, r2 + 8001d0e: 697a ldr r2, [r7, #20] + 8001d10: 4313 orrs r3, r2 + 8001d12: 617b str r3, [r7, #20] } /* Write to DMA Stream CR register */ hdma->Instance->CR = tmp; - 8001b84: 687b ldr r3, [r7, #4] - 8001b86: 681b ldr r3, [r3, #0] - 8001b88: 697a ldr r2, [r7, #20] - 8001b8a: 601a str r2, [r3, #0] + 8001d14: 687b ldr r3, [r7, #4] + 8001d16: 681b ldr r3, [r3, #0] + 8001d18: 697a ldr r2, [r7, #20] + 8001d1a: 601a str r2, [r3, #0] /* Get the FCR register value */ tmp = hdma->Instance->FCR; - 8001b8c: 687b ldr r3, [r7, #4] - 8001b8e: 681b ldr r3, [r3, #0] - 8001b90: 695b ldr r3, [r3, #20] - 8001b92: 617b str r3, [r7, #20] + 8001d1c: 687b ldr r3, [r7, #4] + 8001d1e: 681b ldr r3, [r3, #0] + 8001d20: 695b ldr r3, [r3, #20] + 8001d22: 617b str r3, [r7, #20] /* Clear Direct mode and FIFO threshold bits */ tmp &= (uint32_t)~(DMA_SxFCR_DMDIS | DMA_SxFCR_FTH); - 8001b94: 697b ldr r3, [r7, #20] - 8001b96: f023 0307 bic.w r3, r3, #7 - 8001b9a: 617b str r3, [r7, #20] + 8001d24: 697b ldr r3, [r7, #20] + 8001d26: f023 0307 bic.w r3, r3, #7 + 8001d2a: 617b str r3, [r7, #20] /* Prepare the DMA Stream FIFO configuration */ tmp |= hdma->Init.FIFOMode; - 8001b9c: 687b ldr r3, [r7, #4] - 8001b9e: 6a5b ldr r3, [r3, #36] @ 0x24 - 8001ba0: 697a ldr r2, [r7, #20] - 8001ba2: 4313 orrs r3, r2 - 8001ba4: 617b str r3, [r7, #20] + 8001d2c: 687b ldr r3, [r7, #4] + 8001d2e: 6a5b ldr r3, [r3, #36] @ 0x24 + 8001d30: 697a ldr r2, [r7, #20] + 8001d32: 4313 orrs r3, r2 + 8001d34: 617b str r3, [r7, #20] /* The FIFO threshold is not used when the FIFO mode is disabled */ if(hdma->Init.FIFOMode == DMA_FIFOMODE_ENABLE) - 8001ba6: 687b ldr r3, [r7, #4] - 8001ba8: 6a5b ldr r3, [r3, #36] @ 0x24 - 8001baa: 2b04 cmp r3, #4 - 8001bac: d117 bne.n 8001bde + 8001d36: 687b ldr r3, [r7, #4] + 8001d38: 6a5b ldr r3, [r3, #36] @ 0x24 + 8001d3a: 2b04 cmp r3, #4 + 8001d3c: d117 bne.n 8001d6e { /* Get the FIFO threshold */ tmp |= hdma->Init.FIFOThreshold; - 8001bae: 687b ldr r3, [r7, #4] - 8001bb0: 6a9b ldr r3, [r3, #40] @ 0x28 - 8001bb2: 697a ldr r2, [r7, #20] - 8001bb4: 4313 orrs r3, r2 - 8001bb6: 617b str r3, [r7, #20] + 8001d3e: 687b ldr r3, [r7, #4] + 8001d40: 6a9b ldr r3, [r3, #40] @ 0x28 + 8001d42: 697a ldr r2, [r7, #20] + 8001d44: 4313 orrs r3, r2 + 8001d46: 617b str r3, [r7, #20] /* Check compatibility between FIFO threshold level and size of the memory burst */ /* for INCR4, INCR8, INCR16 bursts */ if (hdma->Init.MemBurst != DMA_MBURST_SINGLE) - 8001bb8: 687b ldr r3, [r7, #4] - 8001bba: 6adb ldr r3, [r3, #44] @ 0x2c - 8001bbc: 2b00 cmp r3, #0 - 8001bbe: d00e beq.n 8001bde + 8001d48: 687b ldr r3, [r7, #4] + 8001d4a: 6adb ldr r3, [r3, #44] @ 0x2c + 8001d4c: 2b00 cmp r3, #0 + 8001d4e: d00e beq.n 8001d6e { if (DMA_CheckFifoParam(hdma) != HAL_OK) - 8001bc0: 6878 ldr r0, [r7, #4] - 8001bc2: f000 fb01 bl 80021c8 - 8001bc6: 4603 mov r3, r0 - 8001bc8: 2b00 cmp r3, #0 - 8001bca: d008 beq.n 8001bde + 8001d50: 6878 ldr r0, [r7, #4] + 8001d52: f000 fb01 bl 8002358 + 8001d56: 4603 mov r3, r0 + 8001d58: 2b00 cmp r3, #0 + 8001d5a: d008 beq.n 8001d6e { /* Update error code */ hdma->ErrorCode = HAL_DMA_ERROR_PARAM; - 8001bcc: 687b ldr r3, [r7, #4] - 8001bce: 2240 movs r2, #64 @ 0x40 - 8001bd0: 655a str r2, [r3, #84] @ 0x54 + 8001d5c: 687b ldr r3, [r7, #4] + 8001d5e: 2240 movs r2, #64 @ 0x40 + 8001d60: 655a str r2, [r3, #84] @ 0x54 /* Change the DMA state */ hdma->State = HAL_DMA_STATE_READY; - 8001bd2: 687b ldr r3, [r7, #4] - 8001bd4: 2201 movs r2, #1 - 8001bd6: f883 2035 strb.w r2, [r3, #53] @ 0x35 + 8001d62: 687b ldr r3, [r7, #4] + 8001d64: 2201 movs r2, #1 + 8001d66: f883 2035 strb.w r2, [r3, #53] @ 0x35 return HAL_ERROR; - 8001bda: 2301 movs r3, #1 - 8001bdc: e016 b.n 8001c0c + 8001d6a: 2301 movs r3, #1 + 8001d6c: e016 b.n 8001d9c } } } /* Write to DMA Stream FCR */ hdma->Instance->FCR = tmp; - 8001bde: 687b ldr r3, [r7, #4] - 8001be0: 681b ldr r3, [r3, #0] - 8001be2: 697a ldr r2, [r7, #20] - 8001be4: 615a str r2, [r3, #20] + 8001d6e: 687b ldr r3, [r7, #4] + 8001d70: 681b ldr r3, [r3, #0] + 8001d72: 697a ldr r2, [r7, #20] + 8001d74: 615a str r2, [r3, #20] /* Initialize StreamBaseAddress and StreamIndex parameters to be used to calculate DMA steam Base Address needed by HAL_DMA_IRQHandler() and HAL_DMA_PollForTransfer() */ regs = (DMA_Base_Registers *)DMA_CalcBaseAndBitshift(hdma); - 8001be6: 6878 ldr r0, [r7, #4] - 8001be8: f000 fab8 bl 800215c - 8001bec: 4603 mov r3, r0 - 8001bee: 60fb str r3, [r7, #12] + 8001d76: 6878 ldr r0, [r7, #4] + 8001d78: f000 fab8 bl 80022ec + 8001d7c: 4603 mov r3, r0 + 8001d7e: 60fb str r3, [r7, #12] /* Clear all interrupt flags */ regs->IFCR = 0x3FU << hdma->StreamIndex; - 8001bf0: 687b ldr r3, [r7, #4] - 8001bf2: 6ddb ldr r3, [r3, #92] @ 0x5c - 8001bf4: 223f movs r2, #63 @ 0x3f - 8001bf6: 409a lsls r2, r3 - 8001bf8: 68fb ldr r3, [r7, #12] - 8001bfa: 609a str r2, [r3, #8] + 8001d80: 687b ldr r3, [r7, #4] + 8001d82: 6ddb ldr r3, [r3, #92] @ 0x5c + 8001d84: 223f movs r2, #63 @ 0x3f + 8001d86: 409a lsls r2, r3 + 8001d88: 68fb ldr r3, [r7, #12] + 8001d8a: 609a str r2, [r3, #8] /* Initialize the error code */ hdma->ErrorCode = HAL_DMA_ERROR_NONE; - 8001bfc: 687b ldr r3, [r7, #4] - 8001bfe: 2200 movs r2, #0 - 8001c00: 655a str r2, [r3, #84] @ 0x54 + 8001d8c: 687b ldr r3, [r7, #4] + 8001d8e: 2200 movs r2, #0 + 8001d90: 655a str r2, [r3, #84] @ 0x54 /* Initialize the DMA state */ hdma->State = HAL_DMA_STATE_READY; - 8001c02: 687b ldr r3, [r7, #4] - 8001c04: 2201 movs r2, #1 - 8001c06: f883 2035 strb.w r2, [r3, #53] @ 0x35 + 8001d92: 687b ldr r3, [r7, #4] + 8001d94: 2201 movs r2, #1 + 8001d96: f883 2035 strb.w r2, [r3, #53] @ 0x35 return HAL_OK; - 8001c0a: 2300 movs r3, #0 + 8001d9a: 2300 movs r3, #0 } - 8001c0c: 4618 mov r0, r3 - 8001c0e: 3718 adds r7, #24 - 8001c10: 46bd mov sp, r7 - 8001c12: bd80 pop {r7, pc} - 8001c14: f010803f .word 0xf010803f + 8001d9c: 4618 mov r0, r3 + 8001d9e: 3718 adds r7, #24 + 8001da0: 46bd mov sp, r7 + 8001da2: bd80 pop {r7, pc} + 8001da4: f010803f .word 0xf010803f -08001c18 : +08001da8 : * @param DstAddress The destination memory Buffer address * @param DataLength The length of data to be transferred from source to destination * @retval HAL status */ HAL_StatusTypeDef HAL_DMA_Start_IT(DMA_HandleTypeDef *hdma, uint32_t SrcAddress, uint32_t DstAddress, uint32_t DataLength) { - 8001c18: b580 push {r7, lr} - 8001c1a: b086 sub sp, #24 - 8001c1c: af00 add r7, sp, #0 - 8001c1e: 60f8 str r0, [r7, #12] - 8001c20: 60b9 str r1, [r7, #8] - 8001c22: 607a str r2, [r7, #4] - 8001c24: 603b str r3, [r7, #0] + 8001da8: b580 push {r7, lr} + 8001daa: b086 sub sp, #24 + 8001dac: af00 add r7, sp, #0 + 8001dae: 60f8 str r0, [r7, #12] + 8001db0: 60b9 str r1, [r7, #8] + 8001db2: 607a str r2, [r7, #4] + 8001db4: 603b str r3, [r7, #0] HAL_StatusTypeDef status = HAL_OK; - 8001c26: 2300 movs r3, #0 - 8001c28: 75fb strb r3, [r7, #23] + 8001db6: 2300 movs r3, #0 + 8001db8: 75fb strb r3, [r7, #23] /* calculate DMA base and stream number */ DMA_Base_Registers *regs = (DMA_Base_Registers *)hdma->StreamBaseAddress; - 8001c2a: 68fb ldr r3, [r7, #12] - 8001c2c: 6d9b ldr r3, [r3, #88] @ 0x58 - 8001c2e: 613b str r3, [r7, #16] + 8001dba: 68fb ldr r3, [r7, #12] + 8001dbc: 6d9b ldr r3, [r3, #88] @ 0x58 + 8001dbe: 613b str r3, [r7, #16] /* Check the parameters */ assert_param(IS_DMA_BUFFER_SIZE(DataLength)); /* Process locked */ __HAL_LOCK(hdma); - 8001c30: 68fb ldr r3, [r7, #12] - 8001c32: f893 3034 ldrb.w r3, [r3, #52] @ 0x34 - 8001c36: 2b01 cmp r3, #1 - 8001c38: d101 bne.n 8001c3e - 8001c3a: 2302 movs r3, #2 - 8001c3c: e040 b.n 8001cc0 - 8001c3e: 68fb ldr r3, [r7, #12] - 8001c40: 2201 movs r2, #1 - 8001c42: f883 2034 strb.w r2, [r3, #52] @ 0x34 + 8001dc0: 68fb ldr r3, [r7, #12] + 8001dc2: f893 3034 ldrb.w r3, [r3, #52] @ 0x34 + 8001dc6: 2b01 cmp r3, #1 + 8001dc8: d101 bne.n 8001dce + 8001dca: 2302 movs r3, #2 + 8001dcc: e040 b.n 8001e50 + 8001dce: 68fb ldr r3, [r7, #12] + 8001dd0: 2201 movs r2, #1 + 8001dd2: f883 2034 strb.w r2, [r3, #52] @ 0x34 if(HAL_DMA_STATE_READY == hdma->State) - 8001c46: 68fb ldr r3, [r7, #12] - 8001c48: f893 3035 ldrb.w r3, [r3, #53] @ 0x35 - 8001c4c: b2db uxtb r3, r3 - 8001c4e: 2b01 cmp r3, #1 - 8001c50: d12f bne.n 8001cb2 + 8001dd6: 68fb ldr r3, [r7, #12] + 8001dd8: f893 3035 ldrb.w r3, [r3, #53] @ 0x35 + 8001ddc: b2db uxtb r3, r3 + 8001dde: 2b01 cmp r3, #1 + 8001de0: d12f bne.n 8001e42 { /* Change DMA peripheral state */ hdma->State = HAL_DMA_STATE_BUSY; - 8001c52: 68fb ldr r3, [r7, #12] - 8001c54: 2202 movs r2, #2 - 8001c56: f883 2035 strb.w r2, [r3, #53] @ 0x35 + 8001de2: 68fb ldr r3, [r7, #12] + 8001de4: 2202 movs r2, #2 + 8001de6: f883 2035 strb.w r2, [r3, #53] @ 0x35 /* Initialize the error code */ hdma->ErrorCode = HAL_DMA_ERROR_NONE; - 8001c5a: 68fb ldr r3, [r7, #12] - 8001c5c: 2200 movs r2, #0 - 8001c5e: 655a str r2, [r3, #84] @ 0x54 + 8001dea: 68fb ldr r3, [r7, #12] + 8001dec: 2200 movs r2, #0 + 8001dee: 655a str r2, [r3, #84] @ 0x54 /* Configure the source, destination address and the data length */ DMA_SetConfig(hdma, SrcAddress, DstAddress, DataLength); - 8001c60: 683b ldr r3, [r7, #0] - 8001c62: 687a ldr r2, [r7, #4] - 8001c64: 68b9 ldr r1, [r7, #8] - 8001c66: 68f8 ldr r0, [r7, #12] - 8001c68: f000 fa4a bl 8002100 + 8001df0: 683b ldr r3, [r7, #0] + 8001df2: 687a ldr r2, [r7, #4] + 8001df4: 68b9 ldr r1, [r7, #8] + 8001df6: 68f8 ldr r0, [r7, #12] + 8001df8: f000 fa4a bl 8002290 /* Clear all interrupt flags at correct offset within the register */ regs->IFCR = 0x3FU << hdma->StreamIndex; - 8001c6c: 68fb ldr r3, [r7, #12] - 8001c6e: 6ddb ldr r3, [r3, #92] @ 0x5c - 8001c70: 223f movs r2, #63 @ 0x3f - 8001c72: 409a lsls r2, r3 - 8001c74: 693b ldr r3, [r7, #16] - 8001c76: 609a str r2, [r3, #8] + 8001dfc: 68fb ldr r3, [r7, #12] + 8001dfe: 6ddb ldr r3, [r3, #92] @ 0x5c + 8001e00: 223f movs r2, #63 @ 0x3f + 8001e02: 409a lsls r2, r3 + 8001e04: 693b ldr r3, [r7, #16] + 8001e06: 609a str r2, [r3, #8] /* Enable Common interrupts*/ hdma->Instance->CR |= DMA_IT_TC | DMA_IT_TE | DMA_IT_DME; - 8001c78: 68fb ldr r3, [r7, #12] - 8001c7a: 681b ldr r3, [r3, #0] - 8001c7c: 681a ldr r2, [r3, #0] - 8001c7e: 68fb ldr r3, [r7, #12] - 8001c80: 681b ldr r3, [r3, #0] - 8001c82: f042 0216 orr.w r2, r2, #22 - 8001c86: 601a str r2, [r3, #0] + 8001e08: 68fb ldr r3, [r7, #12] + 8001e0a: 681b ldr r3, [r3, #0] + 8001e0c: 681a ldr r2, [r3, #0] + 8001e0e: 68fb ldr r3, [r7, #12] + 8001e10: 681b ldr r3, [r3, #0] + 8001e12: f042 0216 orr.w r2, r2, #22 + 8001e16: 601a str r2, [r3, #0] if(hdma->XferHalfCpltCallback != NULL) - 8001c88: 68fb ldr r3, [r7, #12] - 8001c8a: 6c1b ldr r3, [r3, #64] @ 0x40 - 8001c8c: 2b00 cmp r3, #0 - 8001c8e: d007 beq.n 8001ca0 + 8001e18: 68fb ldr r3, [r7, #12] + 8001e1a: 6c1b ldr r3, [r3, #64] @ 0x40 + 8001e1c: 2b00 cmp r3, #0 + 8001e1e: d007 beq.n 8001e30 { hdma->Instance->CR |= DMA_IT_HT; - 8001c90: 68fb ldr r3, [r7, #12] - 8001c92: 681b ldr r3, [r3, #0] - 8001c94: 681a ldr r2, [r3, #0] - 8001c96: 68fb ldr r3, [r7, #12] - 8001c98: 681b ldr r3, [r3, #0] - 8001c9a: f042 0208 orr.w r2, r2, #8 - 8001c9e: 601a str r2, [r3, #0] + 8001e20: 68fb ldr r3, [r7, #12] + 8001e22: 681b ldr r3, [r3, #0] + 8001e24: 681a ldr r2, [r3, #0] + 8001e26: 68fb ldr r3, [r7, #12] + 8001e28: 681b ldr r3, [r3, #0] + 8001e2a: f042 0208 orr.w r2, r2, #8 + 8001e2e: 601a str r2, [r3, #0] } /* Enable the Peripheral */ __HAL_DMA_ENABLE(hdma); - 8001ca0: 68fb ldr r3, [r7, #12] - 8001ca2: 681b ldr r3, [r3, #0] - 8001ca4: 681a ldr r2, [r3, #0] - 8001ca6: 68fb ldr r3, [r7, #12] - 8001ca8: 681b ldr r3, [r3, #0] - 8001caa: f042 0201 orr.w r2, r2, #1 - 8001cae: 601a str r2, [r3, #0] - 8001cb0: e005 b.n 8001cbe + 8001e30: 68fb ldr r3, [r7, #12] + 8001e32: 681b ldr r3, [r3, #0] + 8001e34: 681a ldr r2, [r3, #0] + 8001e36: 68fb ldr r3, [r7, #12] + 8001e38: 681b ldr r3, [r3, #0] + 8001e3a: f042 0201 orr.w r2, r2, #1 + 8001e3e: 601a str r2, [r3, #0] + 8001e40: e005 b.n 8001e4e } else { /* Process unlocked */ __HAL_UNLOCK(hdma); - 8001cb2: 68fb ldr r3, [r7, #12] - 8001cb4: 2200 movs r2, #0 - 8001cb6: f883 2034 strb.w r2, [r3, #52] @ 0x34 + 8001e42: 68fb ldr r3, [r7, #12] + 8001e44: 2200 movs r2, #0 + 8001e46: f883 2034 strb.w r2, [r3, #52] @ 0x34 /* Return error status */ status = HAL_BUSY; - 8001cba: 2302 movs r3, #2 - 8001cbc: 75fb strb r3, [r7, #23] + 8001e4a: 2302 movs r3, #2 + 8001e4c: 75fb strb r3, [r7, #23] } return status; - 8001cbe: 7dfb ldrb r3, [r7, #23] + 8001e4e: 7dfb ldrb r3, [r7, #23] } - 8001cc0: 4618 mov r0, r3 - 8001cc2: 3718 adds r7, #24 - 8001cc4: 46bd mov sp, r7 - 8001cc6: bd80 pop {r7, pc} + 8001e50: 4618 mov r0, r3 + 8001e52: 3718 adds r7, #24 + 8001e54: 46bd mov sp, r7 + 8001e56: bd80 pop {r7, pc} -08001cc8 : +08001e58 : * and the Stream will be effectively disabled only after the transfer of * this single data is finished. * @retval HAL status */ HAL_StatusTypeDef HAL_DMA_Abort(DMA_HandleTypeDef *hdma) { - 8001cc8: b580 push {r7, lr} - 8001cca: b084 sub sp, #16 - 8001ccc: af00 add r7, sp, #0 - 8001cce: 6078 str r0, [r7, #4] + 8001e58: b580 push {r7, lr} + 8001e5a: b084 sub sp, #16 + 8001e5c: af00 add r7, sp, #0 + 8001e5e: 6078 str r0, [r7, #4] /* calculate DMA base and stream number */ DMA_Base_Registers *regs = (DMA_Base_Registers *)hdma->StreamBaseAddress; - 8001cd0: 687b ldr r3, [r7, #4] - 8001cd2: 6d9b ldr r3, [r3, #88] @ 0x58 - 8001cd4: 60fb str r3, [r7, #12] + 8001e60: 687b ldr r3, [r7, #4] + 8001e62: 6d9b ldr r3, [r3, #88] @ 0x58 + 8001e64: 60fb str r3, [r7, #12] uint32_t tickstart = HAL_GetTick(); - 8001cd6: f7ff fdaf bl 8001838 - 8001cda: 60b8 str r0, [r7, #8] + 8001e66: f7ff fdaf bl 80019c8 + 8001e6a: 60b8 str r0, [r7, #8] if(hdma->State != HAL_DMA_STATE_BUSY) - 8001cdc: 687b ldr r3, [r7, #4] - 8001cde: f893 3035 ldrb.w r3, [r3, #53] @ 0x35 - 8001ce2: b2db uxtb r3, r3 - 8001ce4: 2b02 cmp r3, #2 - 8001ce6: d008 beq.n 8001cfa + 8001e6c: 687b ldr r3, [r7, #4] + 8001e6e: f893 3035 ldrb.w r3, [r3, #53] @ 0x35 + 8001e72: b2db uxtb r3, r3 + 8001e74: 2b02 cmp r3, #2 + 8001e76: d008 beq.n 8001e8a { hdma->ErrorCode = HAL_DMA_ERROR_NO_XFER; - 8001ce8: 687b ldr r3, [r7, #4] - 8001cea: 2280 movs r2, #128 @ 0x80 - 8001cec: 655a str r2, [r3, #84] @ 0x54 + 8001e78: 687b ldr r3, [r7, #4] + 8001e7a: 2280 movs r2, #128 @ 0x80 + 8001e7c: 655a str r2, [r3, #84] @ 0x54 /* Process Unlocked */ __HAL_UNLOCK(hdma); - 8001cee: 687b ldr r3, [r7, #4] - 8001cf0: 2200 movs r2, #0 - 8001cf2: f883 2034 strb.w r2, [r3, #52] @ 0x34 + 8001e7e: 687b ldr r3, [r7, #4] + 8001e80: 2200 movs r2, #0 + 8001e82: f883 2034 strb.w r2, [r3, #52] @ 0x34 return HAL_ERROR; - 8001cf6: 2301 movs r3, #1 - 8001cf8: e052 b.n 8001da0 + 8001e86: 2301 movs r3, #1 + 8001e88: e052 b.n 8001f30 } else { /* Disable all the transfer interrupts */ hdma->Instance->CR &= ~(DMA_IT_TC | DMA_IT_TE | DMA_IT_DME); - 8001cfa: 687b ldr r3, [r7, #4] - 8001cfc: 681b ldr r3, [r3, #0] - 8001cfe: 681a ldr r2, [r3, #0] - 8001d00: 687b ldr r3, [r7, #4] - 8001d02: 681b ldr r3, [r3, #0] - 8001d04: f022 0216 bic.w r2, r2, #22 - 8001d08: 601a str r2, [r3, #0] + 8001e8a: 687b ldr r3, [r7, #4] + 8001e8c: 681b ldr r3, [r3, #0] + 8001e8e: 681a ldr r2, [r3, #0] + 8001e90: 687b ldr r3, [r7, #4] + 8001e92: 681b ldr r3, [r3, #0] + 8001e94: f022 0216 bic.w r2, r2, #22 + 8001e98: 601a str r2, [r3, #0] hdma->Instance->FCR &= ~(DMA_IT_FE); - 8001d0a: 687b ldr r3, [r7, #4] - 8001d0c: 681b ldr r3, [r3, #0] - 8001d0e: 695a ldr r2, [r3, #20] - 8001d10: 687b ldr r3, [r7, #4] - 8001d12: 681b ldr r3, [r3, #0] - 8001d14: f022 0280 bic.w r2, r2, #128 @ 0x80 - 8001d18: 615a str r2, [r3, #20] + 8001e9a: 687b ldr r3, [r7, #4] + 8001e9c: 681b ldr r3, [r3, #0] + 8001e9e: 695a ldr r2, [r3, #20] + 8001ea0: 687b ldr r3, [r7, #4] + 8001ea2: 681b ldr r3, [r3, #0] + 8001ea4: f022 0280 bic.w r2, r2, #128 @ 0x80 + 8001ea8: 615a str r2, [r3, #20] if((hdma->XferHalfCpltCallback != NULL) || (hdma->XferM1HalfCpltCallback != NULL)) - 8001d1a: 687b ldr r3, [r7, #4] - 8001d1c: 6c1b ldr r3, [r3, #64] @ 0x40 - 8001d1e: 2b00 cmp r3, #0 - 8001d20: d103 bne.n 8001d2a - 8001d22: 687b ldr r3, [r7, #4] - 8001d24: 6c9b ldr r3, [r3, #72] @ 0x48 - 8001d26: 2b00 cmp r3, #0 - 8001d28: d007 beq.n 8001d3a + 8001eaa: 687b ldr r3, [r7, #4] + 8001eac: 6c1b ldr r3, [r3, #64] @ 0x40 + 8001eae: 2b00 cmp r3, #0 + 8001eb0: d103 bne.n 8001eba + 8001eb2: 687b ldr r3, [r7, #4] + 8001eb4: 6c9b ldr r3, [r3, #72] @ 0x48 + 8001eb6: 2b00 cmp r3, #0 + 8001eb8: d007 beq.n 8001eca { hdma->Instance->CR &= ~(DMA_IT_HT); - 8001d2a: 687b ldr r3, [r7, #4] - 8001d2c: 681b ldr r3, [r3, #0] - 8001d2e: 681a ldr r2, [r3, #0] - 8001d30: 687b ldr r3, [r7, #4] - 8001d32: 681b ldr r3, [r3, #0] - 8001d34: f022 0208 bic.w r2, r2, #8 - 8001d38: 601a str r2, [r3, #0] + 8001eba: 687b ldr r3, [r7, #4] + 8001ebc: 681b ldr r3, [r3, #0] + 8001ebe: 681a ldr r2, [r3, #0] + 8001ec0: 687b ldr r3, [r7, #4] + 8001ec2: 681b ldr r3, [r3, #0] + 8001ec4: f022 0208 bic.w r2, r2, #8 + 8001ec8: 601a str r2, [r3, #0] } /* Disable the stream */ __HAL_DMA_DISABLE(hdma); - 8001d3a: 687b ldr r3, [r7, #4] - 8001d3c: 681b ldr r3, [r3, #0] - 8001d3e: 681a ldr r2, [r3, #0] - 8001d40: 687b ldr r3, [r7, #4] - 8001d42: 681b ldr r3, [r3, #0] - 8001d44: f022 0201 bic.w r2, r2, #1 - 8001d48: 601a str r2, [r3, #0] + 8001eca: 687b ldr r3, [r7, #4] + 8001ecc: 681b ldr r3, [r3, #0] + 8001ece: 681a ldr r2, [r3, #0] + 8001ed0: 687b ldr r3, [r7, #4] + 8001ed2: 681b ldr r3, [r3, #0] + 8001ed4: f022 0201 bic.w r2, r2, #1 + 8001ed8: 601a str r2, [r3, #0] /* Check if the DMA Stream is effectively disabled */ while((hdma->Instance->CR & DMA_SxCR_EN) != RESET) - 8001d4a: e013 b.n 8001d74 + 8001eda: e013 b.n 8001f04 { /* Check for the Timeout */ if((HAL_GetTick() - tickstart ) > HAL_TIMEOUT_DMA_ABORT) - 8001d4c: f7ff fd74 bl 8001838 - 8001d50: 4602 mov r2, r0 - 8001d52: 68bb ldr r3, [r7, #8] - 8001d54: 1ad3 subs r3, r2, r3 - 8001d56: 2b05 cmp r3, #5 - 8001d58: d90c bls.n 8001d74 + 8001edc: f7ff fd74 bl 80019c8 + 8001ee0: 4602 mov r2, r0 + 8001ee2: 68bb ldr r3, [r7, #8] + 8001ee4: 1ad3 subs r3, r2, r3 + 8001ee6: 2b05 cmp r3, #5 + 8001ee8: d90c bls.n 8001f04 { /* Update error code */ hdma->ErrorCode = HAL_DMA_ERROR_TIMEOUT; - 8001d5a: 687b ldr r3, [r7, #4] - 8001d5c: 2220 movs r2, #32 - 8001d5e: 655a str r2, [r3, #84] @ 0x54 + 8001eea: 687b ldr r3, [r7, #4] + 8001eec: 2220 movs r2, #32 + 8001eee: 655a str r2, [r3, #84] @ 0x54 /* Change the DMA state */ hdma->State = HAL_DMA_STATE_TIMEOUT; - 8001d60: 687b ldr r3, [r7, #4] - 8001d62: 2203 movs r2, #3 - 8001d64: f883 2035 strb.w r2, [r3, #53] @ 0x35 + 8001ef0: 687b ldr r3, [r7, #4] + 8001ef2: 2203 movs r2, #3 + 8001ef4: f883 2035 strb.w r2, [r3, #53] @ 0x35 /* Process Unlocked */ __HAL_UNLOCK(hdma); - 8001d68: 687b ldr r3, [r7, #4] - 8001d6a: 2200 movs r2, #0 - 8001d6c: f883 2034 strb.w r2, [r3, #52] @ 0x34 + 8001ef8: 687b ldr r3, [r7, #4] + 8001efa: 2200 movs r2, #0 + 8001efc: f883 2034 strb.w r2, [r3, #52] @ 0x34 return HAL_TIMEOUT; - 8001d70: 2303 movs r3, #3 - 8001d72: e015 b.n 8001da0 + 8001f00: 2303 movs r3, #3 + 8001f02: e015 b.n 8001f30 while((hdma->Instance->CR & DMA_SxCR_EN) != RESET) - 8001d74: 687b ldr r3, [r7, #4] - 8001d76: 681b ldr r3, [r3, #0] - 8001d78: 681b ldr r3, [r3, #0] - 8001d7a: f003 0301 and.w r3, r3, #1 - 8001d7e: 2b00 cmp r3, #0 - 8001d80: d1e4 bne.n 8001d4c + 8001f04: 687b ldr r3, [r7, #4] + 8001f06: 681b ldr r3, [r3, #0] + 8001f08: 681b ldr r3, [r3, #0] + 8001f0a: f003 0301 and.w r3, r3, #1 + 8001f0e: 2b00 cmp r3, #0 + 8001f10: d1e4 bne.n 8001edc } } /* Clear all interrupt flags at correct offset within the register */ regs->IFCR = 0x3FU << hdma->StreamIndex; - 8001d82: 687b ldr r3, [r7, #4] - 8001d84: 6ddb ldr r3, [r3, #92] @ 0x5c - 8001d86: 223f movs r2, #63 @ 0x3f - 8001d88: 409a lsls r2, r3 - 8001d8a: 68fb ldr r3, [r7, #12] - 8001d8c: 609a str r2, [r3, #8] + 8001f12: 687b ldr r3, [r7, #4] + 8001f14: 6ddb ldr r3, [r3, #92] @ 0x5c + 8001f16: 223f movs r2, #63 @ 0x3f + 8001f18: 409a lsls r2, r3 + 8001f1a: 68fb ldr r3, [r7, #12] + 8001f1c: 609a str r2, [r3, #8] /* Change the DMA state*/ hdma->State = HAL_DMA_STATE_READY; - 8001d8e: 687b ldr r3, [r7, #4] - 8001d90: 2201 movs r2, #1 - 8001d92: f883 2035 strb.w r2, [r3, #53] @ 0x35 + 8001f1e: 687b ldr r3, [r7, #4] + 8001f20: 2201 movs r2, #1 + 8001f22: f883 2035 strb.w r2, [r3, #53] @ 0x35 /* Process Unlocked */ __HAL_UNLOCK(hdma); - 8001d96: 687b ldr r3, [r7, #4] - 8001d98: 2200 movs r2, #0 - 8001d9a: f883 2034 strb.w r2, [r3, #52] @ 0x34 + 8001f26: 687b ldr r3, [r7, #4] + 8001f28: 2200 movs r2, #0 + 8001f2a: f883 2034 strb.w r2, [r3, #52] @ 0x34 } return HAL_OK; - 8001d9e: 2300 movs r3, #0 + 8001f2e: 2300 movs r3, #0 } - 8001da0: 4618 mov r0, r3 - 8001da2: 3710 adds r7, #16 - 8001da4: 46bd mov sp, r7 - 8001da6: bd80 pop {r7, pc} + 8001f30: 4618 mov r0, r3 + 8001f32: 3710 adds r7, #16 + 8001f34: 46bd mov sp, r7 + 8001f36: bd80 pop {r7, pc} -08001da8 : +08001f38 : * @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) { - 8001da8: b480 push {r7} - 8001daa: b083 sub sp, #12 - 8001dac: af00 add r7, sp, #0 - 8001dae: 6078 str r0, [r7, #4] + 8001f38: b480 push {r7} + 8001f3a: b083 sub sp, #12 + 8001f3c: af00 add r7, sp, #0 + 8001f3e: 6078 str r0, [r7, #4] if(hdma->State != HAL_DMA_STATE_BUSY) - 8001db0: 687b ldr r3, [r7, #4] - 8001db2: f893 3035 ldrb.w r3, [r3, #53] @ 0x35 - 8001db6: b2db uxtb r3, r3 - 8001db8: 2b02 cmp r3, #2 - 8001dba: d004 beq.n 8001dc6 + 8001f40: 687b ldr r3, [r7, #4] + 8001f42: f893 3035 ldrb.w r3, [r3, #53] @ 0x35 + 8001f46: b2db uxtb r3, r3 + 8001f48: 2b02 cmp r3, #2 + 8001f4a: d004 beq.n 8001f56 { hdma->ErrorCode = HAL_DMA_ERROR_NO_XFER; - 8001dbc: 687b ldr r3, [r7, #4] - 8001dbe: 2280 movs r2, #128 @ 0x80 - 8001dc0: 655a str r2, [r3, #84] @ 0x54 + 8001f4c: 687b ldr r3, [r7, #4] + 8001f4e: 2280 movs r2, #128 @ 0x80 + 8001f50: 655a str r2, [r3, #84] @ 0x54 return HAL_ERROR; - 8001dc2: 2301 movs r3, #1 - 8001dc4: e00c b.n 8001de0 + 8001f52: 2301 movs r3, #1 + 8001f54: e00c b.n 8001f70 } else { /* Set Abort State */ hdma->State = HAL_DMA_STATE_ABORT; - 8001dc6: 687b ldr r3, [r7, #4] - 8001dc8: 2205 movs r2, #5 - 8001dca: f883 2035 strb.w r2, [r3, #53] @ 0x35 + 8001f56: 687b ldr r3, [r7, #4] + 8001f58: 2205 movs r2, #5 + 8001f5a: f883 2035 strb.w r2, [r3, #53] @ 0x35 /* Disable the stream */ __HAL_DMA_DISABLE(hdma); - 8001dce: 687b ldr r3, [r7, #4] - 8001dd0: 681b ldr r3, [r3, #0] - 8001dd2: 681a ldr r2, [r3, #0] - 8001dd4: 687b ldr r3, [r7, #4] - 8001dd6: 681b ldr r3, [r3, #0] - 8001dd8: f022 0201 bic.w r2, r2, #1 - 8001ddc: 601a str r2, [r3, #0] + 8001f5e: 687b ldr r3, [r7, #4] + 8001f60: 681b ldr r3, [r3, #0] + 8001f62: 681a ldr r2, [r3, #0] + 8001f64: 687b ldr r3, [r7, #4] + 8001f66: 681b ldr r3, [r3, #0] + 8001f68: f022 0201 bic.w r2, r2, #1 + 8001f6c: 601a str r2, [r3, #0] } return HAL_OK; - 8001dde: 2300 movs r3, #0 + 8001f6e: 2300 movs r3, #0 } - 8001de0: 4618 mov r0, r3 - 8001de2: 370c adds r7, #12 - 8001de4: 46bd mov sp, r7 - 8001de6: f85d 7b04 ldr.w r7, [sp], #4 - 8001dea: 4770 bx lr + 8001f70: 4618 mov r0, r3 + 8001f72: 370c adds r7, #12 + 8001f74: 46bd mov sp, r7 + 8001f76: f85d 7b04 ldr.w r7, [sp], #4 + 8001f7a: 4770 bx lr -08001dec : +08001f7c : * @param hdma pointer to a DMA_HandleTypeDef structure that contains * the configuration information for the specified DMA Stream. * @retval None */ void HAL_DMA_IRQHandler(DMA_HandleTypeDef *hdma) { - 8001dec: b580 push {r7, lr} - 8001dee: b086 sub sp, #24 - 8001df0: af00 add r7, sp, #0 - 8001df2: 6078 str r0, [r7, #4] + 8001f7c: b580 push {r7, lr} + 8001f7e: b086 sub sp, #24 + 8001f80: af00 add r7, sp, #0 + 8001f82: 6078 str r0, [r7, #4] uint32_t tmpisr; __IO uint32_t count = 0U; - 8001df4: 2300 movs r3, #0 - 8001df6: 60bb str r3, [r7, #8] + 8001f84: 2300 movs r3, #0 + 8001f86: 60bb str r3, [r7, #8] uint32_t timeout = SystemCoreClock / 9600U; - 8001df8: 4b8e ldr r3, [pc, #568] @ (8002034 ) - 8001dfa: 681b ldr r3, [r3, #0] - 8001dfc: 4a8e ldr r2, [pc, #568] @ (8002038 ) - 8001dfe: fba2 2303 umull r2, r3, r2, r3 - 8001e02: 0a9b lsrs r3, r3, #10 - 8001e04: 617b str r3, [r7, #20] + 8001f88: 4b8e ldr r3, [pc, #568] @ (80021c4 ) + 8001f8a: 681b ldr r3, [r3, #0] + 8001f8c: 4a8e ldr r2, [pc, #568] @ (80021c8 ) + 8001f8e: fba2 2303 umull r2, r3, r2, r3 + 8001f92: 0a9b lsrs r3, r3, #10 + 8001f94: 617b str r3, [r7, #20] /* calculate DMA base and stream number */ DMA_Base_Registers *regs = (DMA_Base_Registers *)hdma->StreamBaseAddress; - 8001e06: 687b ldr r3, [r7, #4] - 8001e08: 6d9b ldr r3, [r3, #88] @ 0x58 - 8001e0a: 613b str r3, [r7, #16] + 8001f96: 687b ldr r3, [r7, #4] + 8001f98: 6d9b ldr r3, [r3, #88] @ 0x58 + 8001f9a: 613b str r3, [r7, #16] tmpisr = regs->ISR; - 8001e0c: 693b ldr r3, [r7, #16] - 8001e0e: 681b ldr r3, [r3, #0] - 8001e10: 60fb str r3, [r7, #12] + 8001f9c: 693b ldr r3, [r7, #16] + 8001f9e: 681b ldr r3, [r3, #0] + 8001fa0: 60fb str r3, [r7, #12] /* Transfer Error Interrupt management ***************************************/ if ((tmpisr & (DMA_FLAG_TEIF0_4 << hdma->StreamIndex)) != RESET) - 8001e12: 687b ldr r3, [r7, #4] - 8001e14: 6ddb ldr r3, [r3, #92] @ 0x5c - 8001e16: 2208 movs r2, #8 - 8001e18: 409a lsls r2, r3 - 8001e1a: 68fb ldr r3, [r7, #12] - 8001e1c: 4013 ands r3, r2 - 8001e1e: 2b00 cmp r3, #0 - 8001e20: d01a beq.n 8001e58 + 8001fa2: 687b ldr r3, [r7, #4] + 8001fa4: 6ddb ldr r3, [r3, #92] @ 0x5c + 8001fa6: 2208 movs r2, #8 + 8001fa8: 409a lsls r2, r3 + 8001faa: 68fb ldr r3, [r7, #12] + 8001fac: 4013 ands r3, r2 + 8001fae: 2b00 cmp r3, #0 + 8001fb0: d01a beq.n 8001fe8 { if(__HAL_DMA_GET_IT_SOURCE(hdma, DMA_IT_TE) != RESET) - 8001e22: 687b ldr r3, [r7, #4] - 8001e24: 681b ldr r3, [r3, #0] - 8001e26: 681b ldr r3, [r3, #0] - 8001e28: f003 0304 and.w r3, r3, #4 - 8001e2c: 2b00 cmp r3, #0 - 8001e2e: d013 beq.n 8001e58 + 8001fb2: 687b ldr r3, [r7, #4] + 8001fb4: 681b ldr r3, [r3, #0] + 8001fb6: 681b ldr r3, [r3, #0] + 8001fb8: f003 0304 and.w r3, r3, #4 + 8001fbc: 2b00 cmp r3, #0 + 8001fbe: d013 beq.n 8001fe8 { /* Disable the transfer error interrupt */ hdma->Instance->CR &= ~(DMA_IT_TE); - 8001e30: 687b ldr r3, [r7, #4] - 8001e32: 681b ldr r3, [r3, #0] - 8001e34: 681a ldr r2, [r3, #0] - 8001e36: 687b ldr r3, [r7, #4] - 8001e38: 681b ldr r3, [r3, #0] - 8001e3a: f022 0204 bic.w r2, r2, #4 - 8001e3e: 601a str r2, [r3, #0] + 8001fc0: 687b ldr r3, [r7, #4] + 8001fc2: 681b ldr r3, [r3, #0] + 8001fc4: 681a ldr r2, [r3, #0] + 8001fc6: 687b ldr r3, [r7, #4] + 8001fc8: 681b ldr r3, [r3, #0] + 8001fca: f022 0204 bic.w r2, r2, #4 + 8001fce: 601a str r2, [r3, #0] /* Clear the transfer error flag */ regs->IFCR = DMA_FLAG_TEIF0_4 << hdma->StreamIndex; - 8001e40: 687b ldr r3, [r7, #4] - 8001e42: 6ddb ldr r3, [r3, #92] @ 0x5c - 8001e44: 2208 movs r2, #8 - 8001e46: 409a lsls r2, r3 - 8001e48: 693b ldr r3, [r7, #16] - 8001e4a: 609a str r2, [r3, #8] + 8001fd0: 687b ldr r3, [r7, #4] + 8001fd2: 6ddb ldr r3, [r3, #92] @ 0x5c + 8001fd4: 2208 movs r2, #8 + 8001fd6: 409a lsls r2, r3 + 8001fd8: 693b ldr r3, [r7, #16] + 8001fda: 609a str r2, [r3, #8] /* Update error code */ hdma->ErrorCode |= HAL_DMA_ERROR_TE; - 8001e4c: 687b ldr r3, [r7, #4] - 8001e4e: 6d5b ldr r3, [r3, #84] @ 0x54 - 8001e50: f043 0201 orr.w r2, r3, #1 - 8001e54: 687b ldr r3, [r7, #4] - 8001e56: 655a str r2, [r3, #84] @ 0x54 + 8001fdc: 687b ldr r3, [r7, #4] + 8001fde: 6d5b ldr r3, [r3, #84] @ 0x54 + 8001fe0: f043 0201 orr.w r2, r3, #1 + 8001fe4: 687b ldr r3, [r7, #4] + 8001fe6: 655a str r2, [r3, #84] @ 0x54 } } /* FIFO Error Interrupt management ******************************************/ if ((tmpisr & (DMA_FLAG_FEIF0_4 << hdma->StreamIndex)) != RESET) - 8001e58: 687b ldr r3, [r7, #4] - 8001e5a: 6ddb ldr r3, [r3, #92] @ 0x5c - 8001e5c: 2201 movs r2, #1 - 8001e5e: 409a lsls r2, r3 - 8001e60: 68fb ldr r3, [r7, #12] - 8001e62: 4013 ands r3, r2 - 8001e64: 2b00 cmp r3, #0 - 8001e66: d012 beq.n 8001e8e + 8001fe8: 687b ldr r3, [r7, #4] + 8001fea: 6ddb ldr r3, [r3, #92] @ 0x5c + 8001fec: 2201 movs r2, #1 + 8001fee: 409a lsls r2, r3 + 8001ff0: 68fb ldr r3, [r7, #12] + 8001ff2: 4013 ands r3, r2 + 8001ff4: 2b00 cmp r3, #0 + 8001ff6: d012 beq.n 800201e { if(__HAL_DMA_GET_IT_SOURCE(hdma, DMA_IT_FE) != RESET) - 8001e68: 687b ldr r3, [r7, #4] - 8001e6a: 681b ldr r3, [r3, #0] - 8001e6c: 695b ldr r3, [r3, #20] - 8001e6e: f003 0380 and.w r3, r3, #128 @ 0x80 - 8001e72: 2b00 cmp r3, #0 - 8001e74: d00b beq.n 8001e8e + 8001ff8: 687b ldr r3, [r7, #4] + 8001ffa: 681b ldr r3, [r3, #0] + 8001ffc: 695b ldr r3, [r3, #20] + 8001ffe: f003 0380 and.w r3, r3, #128 @ 0x80 + 8002002: 2b00 cmp r3, #0 + 8002004: d00b beq.n 800201e { /* Clear the FIFO error flag */ regs->IFCR = DMA_FLAG_FEIF0_4 << hdma->StreamIndex; - 8001e76: 687b ldr r3, [r7, #4] - 8001e78: 6ddb ldr r3, [r3, #92] @ 0x5c - 8001e7a: 2201 movs r2, #1 - 8001e7c: 409a lsls r2, r3 - 8001e7e: 693b ldr r3, [r7, #16] - 8001e80: 609a str r2, [r3, #8] + 8002006: 687b ldr r3, [r7, #4] + 8002008: 6ddb ldr r3, [r3, #92] @ 0x5c + 800200a: 2201 movs r2, #1 + 800200c: 409a lsls r2, r3 + 800200e: 693b ldr r3, [r7, #16] + 8002010: 609a str r2, [r3, #8] /* Update error code */ hdma->ErrorCode |= HAL_DMA_ERROR_FE; - 8001e82: 687b ldr r3, [r7, #4] - 8001e84: 6d5b ldr r3, [r3, #84] @ 0x54 - 8001e86: f043 0202 orr.w r2, r3, #2 - 8001e8a: 687b ldr r3, [r7, #4] - 8001e8c: 655a str r2, [r3, #84] @ 0x54 + 8002012: 687b ldr r3, [r7, #4] + 8002014: 6d5b ldr r3, [r3, #84] @ 0x54 + 8002016: f043 0202 orr.w r2, r3, #2 + 800201a: 687b ldr r3, [r7, #4] + 800201c: 655a str r2, [r3, #84] @ 0x54 } } /* Direct Mode Error Interrupt management ***********************************/ if ((tmpisr & (DMA_FLAG_DMEIF0_4 << hdma->StreamIndex)) != RESET) - 8001e8e: 687b ldr r3, [r7, #4] - 8001e90: 6ddb ldr r3, [r3, #92] @ 0x5c - 8001e92: 2204 movs r2, #4 - 8001e94: 409a lsls r2, r3 - 8001e96: 68fb ldr r3, [r7, #12] - 8001e98: 4013 ands r3, r2 - 8001e9a: 2b00 cmp r3, #0 - 8001e9c: d012 beq.n 8001ec4 + 800201e: 687b ldr r3, [r7, #4] + 8002020: 6ddb ldr r3, [r3, #92] @ 0x5c + 8002022: 2204 movs r2, #4 + 8002024: 409a lsls r2, r3 + 8002026: 68fb ldr r3, [r7, #12] + 8002028: 4013 ands r3, r2 + 800202a: 2b00 cmp r3, #0 + 800202c: d012 beq.n 8002054 { if(__HAL_DMA_GET_IT_SOURCE(hdma, DMA_IT_DME) != RESET) - 8001e9e: 687b ldr r3, [r7, #4] - 8001ea0: 681b ldr r3, [r3, #0] - 8001ea2: 681b ldr r3, [r3, #0] - 8001ea4: f003 0302 and.w r3, r3, #2 - 8001ea8: 2b00 cmp r3, #0 - 8001eaa: d00b beq.n 8001ec4 + 800202e: 687b ldr r3, [r7, #4] + 8002030: 681b ldr r3, [r3, #0] + 8002032: 681b ldr r3, [r3, #0] + 8002034: f003 0302 and.w r3, r3, #2 + 8002038: 2b00 cmp r3, #0 + 800203a: d00b beq.n 8002054 { /* Clear the direct mode error flag */ regs->IFCR = DMA_FLAG_DMEIF0_4 << hdma->StreamIndex; - 8001eac: 687b ldr r3, [r7, #4] - 8001eae: 6ddb ldr r3, [r3, #92] @ 0x5c - 8001eb0: 2204 movs r2, #4 - 8001eb2: 409a lsls r2, r3 - 8001eb4: 693b ldr r3, [r7, #16] - 8001eb6: 609a str r2, [r3, #8] + 800203c: 687b ldr r3, [r7, #4] + 800203e: 6ddb ldr r3, [r3, #92] @ 0x5c + 8002040: 2204 movs r2, #4 + 8002042: 409a lsls r2, r3 + 8002044: 693b ldr r3, [r7, #16] + 8002046: 609a str r2, [r3, #8] /* Update error code */ hdma->ErrorCode |= HAL_DMA_ERROR_DME; - 8001eb8: 687b ldr r3, [r7, #4] - 8001eba: 6d5b ldr r3, [r3, #84] @ 0x54 - 8001ebc: f043 0204 orr.w r2, r3, #4 - 8001ec0: 687b ldr r3, [r7, #4] - 8001ec2: 655a str r2, [r3, #84] @ 0x54 + 8002048: 687b ldr r3, [r7, #4] + 800204a: 6d5b ldr r3, [r3, #84] @ 0x54 + 800204c: f043 0204 orr.w r2, r3, #4 + 8002050: 687b ldr r3, [r7, #4] + 8002052: 655a str r2, [r3, #84] @ 0x54 } } /* Half Transfer Complete Interrupt management ******************************/ if ((tmpisr & (DMA_FLAG_HTIF0_4 << hdma->StreamIndex)) != RESET) - 8001ec4: 687b ldr r3, [r7, #4] - 8001ec6: 6ddb ldr r3, [r3, #92] @ 0x5c - 8001ec8: 2210 movs r2, #16 - 8001eca: 409a lsls r2, r3 - 8001ecc: 68fb ldr r3, [r7, #12] - 8001ece: 4013 ands r3, r2 - 8001ed0: 2b00 cmp r3, #0 - 8001ed2: d043 beq.n 8001f5c + 8002054: 687b ldr r3, [r7, #4] + 8002056: 6ddb ldr r3, [r3, #92] @ 0x5c + 8002058: 2210 movs r2, #16 + 800205a: 409a lsls r2, r3 + 800205c: 68fb ldr r3, [r7, #12] + 800205e: 4013 ands r3, r2 + 8002060: 2b00 cmp r3, #0 + 8002062: d043 beq.n 80020ec { if(__HAL_DMA_GET_IT_SOURCE(hdma, DMA_IT_HT) != RESET) - 8001ed4: 687b ldr r3, [r7, #4] - 8001ed6: 681b ldr r3, [r3, #0] - 8001ed8: 681b ldr r3, [r3, #0] - 8001eda: f003 0308 and.w r3, r3, #8 - 8001ede: 2b00 cmp r3, #0 - 8001ee0: d03c beq.n 8001f5c + 8002064: 687b ldr r3, [r7, #4] + 8002066: 681b ldr r3, [r3, #0] + 8002068: 681b ldr r3, [r3, #0] + 800206a: f003 0308 and.w r3, r3, #8 + 800206e: 2b00 cmp r3, #0 + 8002070: d03c beq.n 80020ec { /* Clear the half transfer complete flag */ regs->IFCR = DMA_FLAG_HTIF0_4 << hdma->StreamIndex; - 8001ee2: 687b ldr r3, [r7, #4] - 8001ee4: 6ddb ldr r3, [r3, #92] @ 0x5c - 8001ee6: 2210 movs r2, #16 - 8001ee8: 409a lsls r2, r3 - 8001eea: 693b ldr r3, [r7, #16] - 8001eec: 609a str r2, [r3, #8] + 8002072: 687b ldr r3, [r7, #4] + 8002074: 6ddb ldr r3, [r3, #92] @ 0x5c + 8002076: 2210 movs r2, #16 + 8002078: 409a lsls r2, r3 + 800207a: 693b ldr r3, [r7, #16] + 800207c: 609a str r2, [r3, #8] /* Multi_Buffering mode enabled */ if(((hdma->Instance->CR) & (uint32_t)(DMA_SxCR_DBM)) != RESET) - 8001eee: 687b ldr r3, [r7, #4] - 8001ef0: 681b ldr r3, [r3, #0] - 8001ef2: 681b ldr r3, [r3, #0] - 8001ef4: f403 2380 and.w r3, r3, #262144 @ 0x40000 - 8001ef8: 2b00 cmp r3, #0 - 8001efa: d018 beq.n 8001f2e + 800207e: 687b ldr r3, [r7, #4] + 8002080: 681b ldr r3, [r3, #0] + 8002082: 681b ldr r3, [r3, #0] + 8002084: f403 2380 and.w r3, r3, #262144 @ 0x40000 + 8002088: 2b00 cmp r3, #0 + 800208a: d018 beq.n 80020be { /* Current memory buffer used is Memory 0 */ if((hdma->Instance->CR & DMA_SxCR_CT) == RESET) - 8001efc: 687b ldr r3, [r7, #4] - 8001efe: 681b ldr r3, [r3, #0] - 8001f00: 681b ldr r3, [r3, #0] - 8001f02: f403 2300 and.w r3, r3, #524288 @ 0x80000 - 8001f06: 2b00 cmp r3, #0 - 8001f08: d108 bne.n 8001f1c + 800208c: 687b ldr r3, [r7, #4] + 800208e: 681b ldr r3, [r3, #0] + 8002090: 681b ldr r3, [r3, #0] + 8002092: f403 2300 and.w r3, r3, #524288 @ 0x80000 + 8002096: 2b00 cmp r3, #0 + 8002098: d108 bne.n 80020ac { if(hdma->XferHalfCpltCallback != NULL) - 8001f0a: 687b ldr r3, [r7, #4] - 8001f0c: 6c1b ldr r3, [r3, #64] @ 0x40 - 8001f0e: 2b00 cmp r3, #0 - 8001f10: d024 beq.n 8001f5c + 800209a: 687b ldr r3, [r7, #4] + 800209c: 6c1b ldr r3, [r3, #64] @ 0x40 + 800209e: 2b00 cmp r3, #0 + 80020a0: d024 beq.n 80020ec { /* Half transfer callback */ hdma->XferHalfCpltCallback(hdma); - 8001f12: 687b ldr r3, [r7, #4] - 8001f14: 6c1b ldr r3, [r3, #64] @ 0x40 - 8001f16: 6878 ldr r0, [r7, #4] - 8001f18: 4798 blx r3 - 8001f1a: e01f b.n 8001f5c + 80020a2: 687b ldr r3, [r7, #4] + 80020a4: 6c1b ldr r3, [r3, #64] @ 0x40 + 80020a6: 6878 ldr r0, [r7, #4] + 80020a8: 4798 blx r3 + 80020aa: e01f b.n 80020ec } } /* Current memory buffer used is Memory 1 */ else { if(hdma->XferM1HalfCpltCallback != NULL) - 8001f1c: 687b ldr r3, [r7, #4] - 8001f1e: 6c9b ldr r3, [r3, #72] @ 0x48 - 8001f20: 2b00 cmp r3, #0 - 8001f22: d01b beq.n 8001f5c + 80020ac: 687b ldr r3, [r7, #4] + 80020ae: 6c9b ldr r3, [r3, #72] @ 0x48 + 80020b0: 2b00 cmp r3, #0 + 80020b2: d01b beq.n 80020ec { /* Half transfer callback */ hdma->XferM1HalfCpltCallback(hdma); - 8001f24: 687b ldr r3, [r7, #4] - 8001f26: 6c9b ldr r3, [r3, #72] @ 0x48 - 8001f28: 6878 ldr r0, [r7, #4] - 8001f2a: 4798 blx r3 - 8001f2c: e016 b.n 8001f5c + 80020b4: 687b ldr r3, [r7, #4] + 80020b6: 6c9b ldr r3, [r3, #72] @ 0x48 + 80020b8: 6878 ldr r0, [r7, #4] + 80020ba: 4798 blx r3 + 80020bc: e016 b.n 80020ec } } else { /* Disable the half transfer interrupt if the DMA mode is not CIRCULAR */ if((hdma->Instance->CR & DMA_SxCR_CIRC) == RESET) - 8001f2e: 687b ldr r3, [r7, #4] - 8001f30: 681b ldr r3, [r3, #0] - 8001f32: 681b ldr r3, [r3, #0] - 8001f34: f403 7380 and.w r3, r3, #256 @ 0x100 - 8001f38: 2b00 cmp r3, #0 - 8001f3a: d107 bne.n 8001f4c + 80020be: 687b ldr r3, [r7, #4] + 80020c0: 681b ldr r3, [r3, #0] + 80020c2: 681b ldr r3, [r3, #0] + 80020c4: f403 7380 and.w r3, r3, #256 @ 0x100 + 80020c8: 2b00 cmp r3, #0 + 80020ca: d107 bne.n 80020dc { /* Disable the half transfer interrupt */ hdma->Instance->CR &= ~(DMA_IT_HT); - 8001f3c: 687b ldr r3, [r7, #4] - 8001f3e: 681b ldr r3, [r3, #0] - 8001f40: 681a ldr r2, [r3, #0] - 8001f42: 687b ldr r3, [r7, #4] - 8001f44: 681b ldr r3, [r3, #0] - 8001f46: f022 0208 bic.w r2, r2, #8 - 8001f4a: 601a str r2, [r3, #0] + 80020cc: 687b ldr r3, [r7, #4] + 80020ce: 681b ldr r3, [r3, #0] + 80020d0: 681a ldr r2, [r3, #0] + 80020d2: 687b ldr r3, [r7, #4] + 80020d4: 681b ldr r3, [r3, #0] + 80020d6: f022 0208 bic.w r2, r2, #8 + 80020da: 601a str r2, [r3, #0] } if(hdma->XferHalfCpltCallback != NULL) - 8001f4c: 687b ldr r3, [r7, #4] - 8001f4e: 6c1b ldr r3, [r3, #64] @ 0x40 - 8001f50: 2b00 cmp r3, #0 - 8001f52: d003 beq.n 8001f5c + 80020dc: 687b ldr r3, [r7, #4] + 80020de: 6c1b ldr r3, [r3, #64] @ 0x40 + 80020e0: 2b00 cmp r3, #0 + 80020e2: d003 beq.n 80020ec { /* Half transfer callback */ hdma->XferHalfCpltCallback(hdma); - 8001f54: 687b ldr r3, [r7, #4] - 8001f56: 6c1b ldr r3, [r3, #64] @ 0x40 - 8001f58: 6878 ldr r0, [r7, #4] - 8001f5a: 4798 blx r3 + 80020e4: 687b ldr r3, [r7, #4] + 80020e6: 6c1b ldr r3, [r3, #64] @ 0x40 + 80020e8: 6878 ldr r0, [r7, #4] + 80020ea: 4798 blx r3 } } } } /* Transfer Complete Interrupt management ***********************************/ if ((tmpisr & (DMA_FLAG_TCIF0_4 << hdma->StreamIndex)) != RESET) - 8001f5c: 687b ldr r3, [r7, #4] - 8001f5e: 6ddb ldr r3, [r3, #92] @ 0x5c - 8001f60: 2220 movs r2, #32 - 8001f62: 409a lsls r2, r3 - 8001f64: 68fb ldr r3, [r7, #12] - 8001f66: 4013 ands r3, r2 - 8001f68: 2b00 cmp r3, #0 - 8001f6a: f000 808f beq.w 800208c + 80020ec: 687b ldr r3, [r7, #4] + 80020ee: 6ddb ldr r3, [r3, #92] @ 0x5c + 80020f0: 2220 movs r2, #32 + 80020f2: 409a lsls r2, r3 + 80020f4: 68fb ldr r3, [r7, #12] + 80020f6: 4013 ands r3, r2 + 80020f8: 2b00 cmp r3, #0 + 80020fa: f000 808f beq.w 800221c { if(__HAL_DMA_GET_IT_SOURCE(hdma, DMA_IT_TC) != RESET) - 8001f6e: 687b ldr r3, [r7, #4] - 8001f70: 681b ldr r3, [r3, #0] - 8001f72: 681b ldr r3, [r3, #0] - 8001f74: f003 0310 and.w r3, r3, #16 - 8001f78: 2b00 cmp r3, #0 - 8001f7a: f000 8087 beq.w 800208c + 80020fe: 687b ldr r3, [r7, #4] + 8002100: 681b ldr r3, [r3, #0] + 8002102: 681b ldr r3, [r3, #0] + 8002104: f003 0310 and.w r3, r3, #16 + 8002108: 2b00 cmp r3, #0 + 800210a: f000 8087 beq.w 800221c { /* Clear the transfer complete flag */ regs->IFCR = DMA_FLAG_TCIF0_4 << hdma->StreamIndex; - 8001f7e: 687b ldr r3, [r7, #4] - 8001f80: 6ddb ldr r3, [r3, #92] @ 0x5c - 8001f82: 2220 movs r2, #32 - 8001f84: 409a lsls r2, r3 - 8001f86: 693b ldr r3, [r7, #16] - 8001f88: 609a str r2, [r3, #8] + 800210e: 687b ldr r3, [r7, #4] + 8002110: 6ddb ldr r3, [r3, #92] @ 0x5c + 8002112: 2220 movs r2, #32 + 8002114: 409a lsls r2, r3 + 8002116: 693b ldr r3, [r7, #16] + 8002118: 609a str r2, [r3, #8] if(HAL_DMA_STATE_ABORT == hdma->State) - 8001f8a: 687b ldr r3, [r7, #4] - 8001f8c: f893 3035 ldrb.w r3, [r3, #53] @ 0x35 - 8001f90: b2db uxtb r3, r3 - 8001f92: 2b05 cmp r3, #5 - 8001f94: d136 bne.n 8002004 + 800211a: 687b ldr r3, [r7, #4] + 800211c: f893 3035 ldrb.w r3, [r3, #53] @ 0x35 + 8002120: b2db uxtb r3, r3 + 8002122: 2b05 cmp r3, #5 + 8002124: d136 bne.n 8002194 { /* Disable all the transfer interrupts */ hdma->Instance->CR &= ~(DMA_IT_TC | DMA_IT_TE | DMA_IT_DME); - 8001f96: 687b ldr r3, [r7, #4] - 8001f98: 681b ldr r3, [r3, #0] - 8001f9a: 681a ldr r2, [r3, #0] - 8001f9c: 687b ldr r3, [r7, #4] - 8001f9e: 681b ldr r3, [r3, #0] - 8001fa0: f022 0216 bic.w r2, r2, #22 - 8001fa4: 601a str r2, [r3, #0] + 8002126: 687b ldr r3, [r7, #4] + 8002128: 681b ldr r3, [r3, #0] + 800212a: 681a ldr r2, [r3, #0] + 800212c: 687b ldr r3, [r7, #4] + 800212e: 681b ldr r3, [r3, #0] + 8002130: f022 0216 bic.w r2, r2, #22 + 8002134: 601a str r2, [r3, #0] hdma->Instance->FCR &= ~(DMA_IT_FE); - 8001fa6: 687b ldr r3, [r7, #4] - 8001fa8: 681b ldr r3, [r3, #0] - 8001faa: 695a ldr r2, [r3, #20] - 8001fac: 687b ldr r3, [r7, #4] - 8001fae: 681b ldr r3, [r3, #0] - 8001fb0: f022 0280 bic.w r2, r2, #128 @ 0x80 - 8001fb4: 615a str r2, [r3, #20] + 8002136: 687b ldr r3, [r7, #4] + 8002138: 681b ldr r3, [r3, #0] + 800213a: 695a ldr r2, [r3, #20] + 800213c: 687b ldr r3, [r7, #4] + 800213e: 681b ldr r3, [r3, #0] + 8002140: f022 0280 bic.w r2, r2, #128 @ 0x80 + 8002144: 615a str r2, [r3, #20] if((hdma->XferHalfCpltCallback != NULL) || (hdma->XferM1HalfCpltCallback != NULL)) - 8001fb6: 687b ldr r3, [r7, #4] - 8001fb8: 6c1b ldr r3, [r3, #64] @ 0x40 - 8001fba: 2b00 cmp r3, #0 - 8001fbc: d103 bne.n 8001fc6 - 8001fbe: 687b ldr r3, [r7, #4] - 8001fc0: 6c9b ldr r3, [r3, #72] @ 0x48 - 8001fc2: 2b00 cmp r3, #0 - 8001fc4: d007 beq.n 8001fd6 + 8002146: 687b ldr r3, [r7, #4] + 8002148: 6c1b ldr r3, [r3, #64] @ 0x40 + 800214a: 2b00 cmp r3, #0 + 800214c: d103 bne.n 8002156 + 800214e: 687b ldr r3, [r7, #4] + 8002150: 6c9b ldr r3, [r3, #72] @ 0x48 + 8002152: 2b00 cmp r3, #0 + 8002154: d007 beq.n 8002166 { hdma->Instance->CR &= ~(DMA_IT_HT); - 8001fc6: 687b ldr r3, [r7, #4] - 8001fc8: 681b ldr r3, [r3, #0] - 8001fca: 681a ldr r2, [r3, #0] - 8001fcc: 687b ldr r3, [r7, #4] - 8001fce: 681b ldr r3, [r3, #0] - 8001fd0: f022 0208 bic.w r2, r2, #8 - 8001fd4: 601a str r2, [r3, #0] + 8002156: 687b ldr r3, [r7, #4] + 8002158: 681b ldr r3, [r3, #0] + 800215a: 681a ldr r2, [r3, #0] + 800215c: 687b ldr r3, [r7, #4] + 800215e: 681b ldr r3, [r3, #0] + 8002160: f022 0208 bic.w r2, r2, #8 + 8002164: 601a str r2, [r3, #0] } /* Clear all interrupt flags at correct offset within the register */ regs->IFCR = 0x3FU << hdma->StreamIndex; - 8001fd6: 687b ldr r3, [r7, #4] - 8001fd8: 6ddb ldr r3, [r3, #92] @ 0x5c - 8001fda: 223f movs r2, #63 @ 0x3f - 8001fdc: 409a lsls r2, r3 - 8001fde: 693b ldr r3, [r7, #16] - 8001fe0: 609a str r2, [r3, #8] + 8002166: 687b ldr r3, [r7, #4] + 8002168: 6ddb ldr r3, [r3, #92] @ 0x5c + 800216a: 223f movs r2, #63 @ 0x3f + 800216c: 409a lsls r2, r3 + 800216e: 693b ldr r3, [r7, #16] + 8002170: 609a str r2, [r3, #8] /* Change the DMA state */ hdma->State = HAL_DMA_STATE_READY; - 8001fe2: 687b ldr r3, [r7, #4] - 8001fe4: 2201 movs r2, #1 - 8001fe6: f883 2035 strb.w r2, [r3, #53] @ 0x35 + 8002172: 687b ldr r3, [r7, #4] + 8002174: 2201 movs r2, #1 + 8002176: f883 2035 strb.w r2, [r3, #53] @ 0x35 /* Process Unlocked */ __HAL_UNLOCK(hdma); - 8001fea: 687b ldr r3, [r7, #4] - 8001fec: 2200 movs r2, #0 - 8001fee: f883 2034 strb.w r2, [r3, #52] @ 0x34 + 800217a: 687b ldr r3, [r7, #4] + 800217c: 2200 movs r2, #0 + 800217e: f883 2034 strb.w r2, [r3, #52] @ 0x34 if(hdma->XferAbortCallback != NULL) - 8001ff2: 687b ldr r3, [r7, #4] - 8001ff4: 6d1b ldr r3, [r3, #80] @ 0x50 - 8001ff6: 2b00 cmp r3, #0 - 8001ff8: d07e beq.n 80020f8 + 8002182: 687b ldr r3, [r7, #4] + 8002184: 6d1b ldr r3, [r3, #80] @ 0x50 + 8002186: 2b00 cmp r3, #0 + 8002188: d07e beq.n 8002288 { hdma->XferAbortCallback(hdma); - 8001ffa: 687b ldr r3, [r7, #4] - 8001ffc: 6d1b ldr r3, [r3, #80] @ 0x50 - 8001ffe: 6878 ldr r0, [r7, #4] - 8002000: 4798 blx r3 + 800218a: 687b ldr r3, [r7, #4] + 800218c: 6d1b ldr r3, [r3, #80] @ 0x50 + 800218e: 6878 ldr r0, [r7, #4] + 8002190: 4798 blx r3 } return; - 8002002: e079 b.n 80020f8 + 8002192: e079 b.n 8002288 } if(((hdma->Instance->CR) & (uint32_t)(DMA_SxCR_DBM)) != RESET) - 8002004: 687b ldr r3, [r7, #4] - 8002006: 681b ldr r3, [r3, #0] - 8002008: 681b ldr r3, [r3, #0] - 800200a: f403 2380 and.w r3, r3, #262144 @ 0x40000 - 800200e: 2b00 cmp r3, #0 - 8002010: d01d beq.n 800204e + 8002194: 687b ldr r3, [r7, #4] + 8002196: 681b ldr r3, [r3, #0] + 8002198: 681b ldr r3, [r3, #0] + 800219a: f403 2380 and.w r3, r3, #262144 @ 0x40000 + 800219e: 2b00 cmp r3, #0 + 80021a0: d01d beq.n 80021de { /* Current memory buffer used is Memory 0 */ if((hdma->Instance->CR & DMA_SxCR_CT) == RESET) - 8002012: 687b ldr r3, [r7, #4] - 8002014: 681b ldr r3, [r3, #0] - 8002016: 681b ldr r3, [r3, #0] - 8002018: f403 2300 and.w r3, r3, #524288 @ 0x80000 - 800201c: 2b00 cmp r3, #0 - 800201e: d10d bne.n 800203c + 80021a2: 687b ldr r3, [r7, #4] + 80021a4: 681b ldr r3, [r3, #0] + 80021a6: 681b ldr r3, [r3, #0] + 80021a8: f403 2300 and.w r3, r3, #524288 @ 0x80000 + 80021ac: 2b00 cmp r3, #0 + 80021ae: d10d bne.n 80021cc { if(hdma->XferM1CpltCallback != NULL) - 8002020: 687b ldr r3, [r7, #4] - 8002022: 6c5b ldr r3, [r3, #68] @ 0x44 - 8002024: 2b00 cmp r3, #0 - 8002026: d031 beq.n 800208c + 80021b0: 687b ldr r3, [r7, #4] + 80021b2: 6c5b ldr r3, [r3, #68] @ 0x44 + 80021b4: 2b00 cmp r3, #0 + 80021b6: d031 beq.n 800221c { /* Transfer complete Callback for memory1 */ hdma->XferM1CpltCallback(hdma); - 8002028: 687b ldr r3, [r7, #4] - 800202a: 6c5b ldr r3, [r3, #68] @ 0x44 - 800202c: 6878 ldr r0, [r7, #4] - 800202e: 4798 blx r3 - 8002030: e02c b.n 800208c - 8002032: bf00 nop - 8002034: 20000090 .word 0x20000090 - 8002038: 1b4e81b5 .word 0x1b4e81b5 + 80021b8: 687b ldr r3, [r7, #4] + 80021ba: 6c5b ldr r3, [r3, #68] @ 0x44 + 80021bc: 6878 ldr r0, [r7, #4] + 80021be: 4798 blx r3 + 80021c0: e02c b.n 800221c + 80021c2: bf00 nop + 80021c4: 20000090 .word 0x20000090 + 80021c8: 1b4e81b5 .word 0x1b4e81b5 } } /* Current memory buffer used is Memory 1 */ else { if(hdma->XferCpltCallback != NULL) - 800203c: 687b ldr r3, [r7, #4] - 800203e: 6bdb ldr r3, [r3, #60] @ 0x3c - 8002040: 2b00 cmp r3, #0 - 8002042: d023 beq.n 800208c + 80021cc: 687b ldr r3, [r7, #4] + 80021ce: 6bdb ldr r3, [r3, #60] @ 0x3c + 80021d0: 2b00 cmp r3, #0 + 80021d2: d023 beq.n 800221c { /* Transfer complete Callback for memory0 */ hdma->XferCpltCallback(hdma); - 8002044: 687b ldr r3, [r7, #4] - 8002046: 6bdb ldr r3, [r3, #60] @ 0x3c - 8002048: 6878 ldr r0, [r7, #4] - 800204a: 4798 blx r3 - 800204c: e01e b.n 800208c + 80021d4: 687b ldr r3, [r7, #4] + 80021d6: 6bdb ldr r3, [r3, #60] @ 0x3c + 80021d8: 6878 ldr r0, [r7, #4] + 80021da: 4798 blx r3 + 80021dc: e01e b.n 800221c } } /* Disable the transfer complete interrupt if the DMA mode is not CIRCULAR */ else { if((hdma->Instance->CR & DMA_SxCR_CIRC) == RESET) - 800204e: 687b ldr r3, [r7, #4] - 8002050: 681b ldr r3, [r3, #0] - 8002052: 681b ldr r3, [r3, #0] - 8002054: f403 7380 and.w r3, r3, #256 @ 0x100 - 8002058: 2b00 cmp r3, #0 - 800205a: d10f bne.n 800207c + 80021de: 687b ldr r3, [r7, #4] + 80021e0: 681b ldr r3, [r3, #0] + 80021e2: 681b ldr r3, [r3, #0] + 80021e4: f403 7380 and.w r3, r3, #256 @ 0x100 + 80021e8: 2b00 cmp r3, #0 + 80021ea: d10f bne.n 800220c { /* Disable the transfer complete interrupt */ hdma->Instance->CR &= ~(DMA_IT_TC); - 800205c: 687b ldr r3, [r7, #4] - 800205e: 681b ldr r3, [r3, #0] - 8002060: 681a ldr r2, [r3, #0] - 8002062: 687b ldr r3, [r7, #4] - 8002064: 681b ldr r3, [r3, #0] - 8002066: f022 0210 bic.w r2, r2, #16 - 800206a: 601a str r2, [r3, #0] + 80021ec: 687b ldr r3, [r7, #4] + 80021ee: 681b ldr r3, [r3, #0] + 80021f0: 681a ldr r2, [r3, #0] + 80021f2: 687b ldr r3, [r7, #4] + 80021f4: 681b ldr r3, [r3, #0] + 80021f6: f022 0210 bic.w r2, r2, #16 + 80021fa: 601a str r2, [r3, #0] /* Change the DMA state */ hdma->State = HAL_DMA_STATE_READY; - 800206c: 687b ldr r3, [r7, #4] - 800206e: 2201 movs r2, #1 - 8002070: f883 2035 strb.w r2, [r3, #53] @ 0x35 + 80021fc: 687b ldr r3, [r7, #4] + 80021fe: 2201 movs r2, #1 + 8002200: f883 2035 strb.w r2, [r3, #53] @ 0x35 /* Process Unlocked */ __HAL_UNLOCK(hdma); - 8002074: 687b ldr r3, [r7, #4] - 8002076: 2200 movs r2, #0 - 8002078: f883 2034 strb.w r2, [r3, #52] @ 0x34 + 8002204: 687b ldr r3, [r7, #4] + 8002206: 2200 movs r2, #0 + 8002208: f883 2034 strb.w r2, [r3, #52] @ 0x34 } if(hdma->XferCpltCallback != NULL) - 800207c: 687b ldr r3, [r7, #4] - 800207e: 6bdb ldr r3, [r3, #60] @ 0x3c - 8002080: 2b00 cmp r3, #0 - 8002082: d003 beq.n 800208c + 800220c: 687b ldr r3, [r7, #4] + 800220e: 6bdb ldr r3, [r3, #60] @ 0x3c + 8002210: 2b00 cmp r3, #0 + 8002212: d003 beq.n 800221c { /* Transfer complete callback */ hdma->XferCpltCallback(hdma); - 8002084: 687b ldr r3, [r7, #4] - 8002086: 6bdb ldr r3, [r3, #60] @ 0x3c - 8002088: 6878 ldr r0, [r7, #4] - 800208a: 4798 blx r3 + 8002214: 687b ldr r3, [r7, #4] + 8002216: 6bdb ldr r3, [r3, #60] @ 0x3c + 8002218: 6878 ldr r0, [r7, #4] + 800221a: 4798 blx r3 } } } /* manage error case */ if(hdma->ErrorCode != HAL_DMA_ERROR_NONE) - 800208c: 687b ldr r3, [r7, #4] - 800208e: 6d5b ldr r3, [r3, #84] @ 0x54 - 8002090: 2b00 cmp r3, #0 - 8002092: d032 beq.n 80020fa + 800221c: 687b ldr r3, [r7, #4] + 800221e: 6d5b ldr r3, [r3, #84] @ 0x54 + 8002220: 2b00 cmp r3, #0 + 8002222: d032 beq.n 800228a { if((hdma->ErrorCode & HAL_DMA_ERROR_TE) != RESET) - 8002094: 687b ldr r3, [r7, #4] - 8002096: 6d5b ldr r3, [r3, #84] @ 0x54 - 8002098: f003 0301 and.w r3, r3, #1 - 800209c: 2b00 cmp r3, #0 - 800209e: d022 beq.n 80020e6 + 8002224: 687b ldr r3, [r7, #4] + 8002226: 6d5b ldr r3, [r3, #84] @ 0x54 + 8002228: f003 0301 and.w r3, r3, #1 + 800222c: 2b00 cmp r3, #0 + 800222e: d022 beq.n 8002276 { hdma->State = HAL_DMA_STATE_ABORT; - 80020a0: 687b ldr r3, [r7, #4] - 80020a2: 2205 movs r2, #5 - 80020a4: f883 2035 strb.w r2, [r3, #53] @ 0x35 + 8002230: 687b ldr r3, [r7, #4] + 8002232: 2205 movs r2, #5 + 8002234: f883 2035 strb.w r2, [r3, #53] @ 0x35 /* Disable the stream */ __HAL_DMA_DISABLE(hdma); - 80020a8: 687b ldr r3, [r7, #4] - 80020aa: 681b ldr r3, [r3, #0] - 80020ac: 681a ldr r2, [r3, #0] - 80020ae: 687b ldr r3, [r7, #4] - 80020b0: 681b ldr r3, [r3, #0] - 80020b2: f022 0201 bic.w r2, r2, #1 - 80020b6: 601a str r2, [r3, #0] + 8002238: 687b ldr r3, [r7, #4] + 800223a: 681b ldr r3, [r3, #0] + 800223c: 681a ldr r2, [r3, #0] + 800223e: 687b ldr r3, [r7, #4] + 8002240: 681b ldr r3, [r3, #0] + 8002242: f022 0201 bic.w r2, r2, #1 + 8002246: 601a str r2, [r3, #0] do { if (++count > timeout) - 80020b8: 68bb ldr r3, [r7, #8] - 80020ba: 3301 adds r3, #1 - 80020bc: 60bb str r3, [r7, #8] - 80020be: 697a ldr r2, [r7, #20] - 80020c0: 429a cmp r2, r3 - 80020c2: d307 bcc.n 80020d4 + 8002248: 68bb ldr r3, [r7, #8] + 800224a: 3301 adds r3, #1 + 800224c: 60bb str r3, [r7, #8] + 800224e: 697a ldr r2, [r7, #20] + 8002250: 429a cmp r2, r3 + 8002252: d307 bcc.n 8002264 { break; } } while((hdma->Instance->CR & DMA_SxCR_EN) != RESET); - 80020c4: 687b ldr r3, [r7, #4] - 80020c6: 681b ldr r3, [r3, #0] - 80020c8: 681b ldr r3, [r3, #0] - 80020ca: f003 0301 and.w r3, r3, #1 - 80020ce: 2b00 cmp r3, #0 - 80020d0: d1f2 bne.n 80020b8 - 80020d2: e000 b.n 80020d6 + 8002254: 687b ldr r3, [r7, #4] + 8002256: 681b ldr r3, [r3, #0] + 8002258: 681b ldr r3, [r3, #0] + 800225a: f003 0301 and.w r3, r3, #1 + 800225e: 2b00 cmp r3, #0 + 8002260: d1f2 bne.n 8002248 + 8002262: e000 b.n 8002266 break; - 80020d4: bf00 nop + 8002264: bf00 nop /* Change the DMA state */ hdma->State = HAL_DMA_STATE_READY; - 80020d6: 687b ldr r3, [r7, #4] - 80020d8: 2201 movs r2, #1 - 80020da: f883 2035 strb.w r2, [r3, #53] @ 0x35 + 8002266: 687b ldr r3, [r7, #4] + 8002268: 2201 movs r2, #1 + 800226a: f883 2035 strb.w r2, [r3, #53] @ 0x35 /* Process Unlocked */ __HAL_UNLOCK(hdma); - 80020de: 687b ldr r3, [r7, #4] - 80020e0: 2200 movs r2, #0 - 80020e2: f883 2034 strb.w r2, [r3, #52] @ 0x34 + 800226e: 687b ldr r3, [r7, #4] + 8002270: 2200 movs r2, #0 + 8002272: f883 2034 strb.w r2, [r3, #52] @ 0x34 } if(hdma->XferErrorCallback != NULL) - 80020e6: 687b ldr r3, [r7, #4] - 80020e8: 6cdb ldr r3, [r3, #76] @ 0x4c - 80020ea: 2b00 cmp r3, #0 - 80020ec: d005 beq.n 80020fa + 8002276: 687b ldr r3, [r7, #4] + 8002278: 6cdb ldr r3, [r3, #76] @ 0x4c + 800227a: 2b00 cmp r3, #0 + 800227c: d005 beq.n 800228a { /* Transfer error callback */ hdma->XferErrorCallback(hdma); - 80020ee: 687b ldr r3, [r7, #4] - 80020f0: 6cdb ldr r3, [r3, #76] @ 0x4c - 80020f2: 6878 ldr r0, [r7, #4] - 80020f4: 4798 blx r3 - 80020f6: e000 b.n 80020fa + 800227e: 687b ldr r3, [r7, #4] + 8002280: 6cdb ldr r3, [r3, #76] @ 0x4c + 8002282: 6878 ldr r0, [r7, #4] + 8002284: 4798 blx r3 + 8002286: e000 b.n 800228a return; - 80020f8: bf00 nop + 8002288: bf00 nop } } } - 80020fa: 3718 adds r7, #24 - 80020fc: 46bd mov sp, r7 - 80020fe: bd80 pop {r7, pc} + 800228a: 3718 adds r7, #24 + 800228c: 46bd mov sp, r7 + 800228e: bd80 pop {r7, pc} -08002100 : +08002290 : * @param DstAddress The destination memory Buffer address * @param DataLength The length of data to be transferred from source to destination * @retval HAL status */ static void DMA_SetConfig(DMA_HandleTypeDef *hdma, uint32_t SrcAddress, uint32_t DstAddress, uint32_t DataLength) { - 8002100: b480 push {r7} - 8002102: b085 sub sp, #20 - 8002104: af00 add r7, sp, #0 - 8002106: 60f8 str r0, [r7, #12] - 8002108: 60b9 str r1, [r7, #8] - 800210a: 607a str r2, [r7, #4] - 800210c: 603b str r3, [r7, #0] + 8002290: b480 push {r7} + 8002292: b085 sub sp, #20 + 8002294: af00 add r7, sp, #0 + 8002296: 60f8 str r0, [r7, #12] + 8002298: 60b9 str r1, [r7, #8] + 800229a: 607a str r2, [r7, #4] + 800229c: 603b str r3, [r7, #0] /* Clear DBM bit */ hdma->Instance->CR &= (uint32_t)(~DMA_SxCR_DBM); - 800210e: 68fb ldr r3, [r7, #12] - 8002110: 681b ldr r3, [r3, #0] - 8002112: 681a ldr r2, [r3, #0] - 8002114: 68fb ldr r3, [r7, #12] - 8002116: 681b ldr r3, [r3, #0] - 8002118: f422 2280 bic.w r2, r2, #262144 @ 0x40000 - 800211c: 601a str r2, [r3, #0] + 800229e: 68fb ldr r3, [r7, #12] + 80022a0: 681b ldr r3, [r3, #0] + 80022a2: 681a ldr r2, [r3, #0] + 80022a4: 68fb ldr r3, [r7, #12] + 80022a6: 681b ldr r3, [r3, #0] + 80022a8: f422 2280 bic.w r2, r2, #262144 @ 0x40000 + 80022ac: 601a str r2, [r3, #0] /* Configure DMA Stream data length */ hdma->Instance->NDTR = DataLength; - 800211e: 68fb ldr r3, [r7, #12] - 8002120: 681b ldr r3, [r3, #0] - 8002122: 683a ldr r2, [r7, #0] - 8002124: 605a str r2, [r3, #4] + 80022ae: 68fb ldr r3, [r7, #12] + 80022b0: 681b ldr r3, [r3, #0] + 80022b2: 683a ldr r2, [r7, #0] + 80022b4: 605a str r2, [r3, #4] /* Memory to Peripheral */ if((hdma->Init.Direction) == DMA_MEMORY_TO_PERIPH) - 8002126: 68fb ldr r3, [r7, #12] - 8002128: 689b ldr r3, [r3, #8] - 800212a: 2b40 cmp r3, #64 @ 0x40 - 800212c: d108 bne.n 8002140 + 80022b6: 68fb ldr r3, [r7, #12] + 80022b8: 689b ldr r3, [r3, #8] + 80022ba: 2b40 cmp r3, #64 @ 0x40 + 80022bc: d108 bne.n 80022d0 { /* Configure DMA Stream destination address */ hdma->Instance->PAR = DstAddress; - 800212e: 68fb ldr r3, [r7, #12] - 8002130: 681b ldr r3, [r3, #0] - 8002132: 687a ldr r2, [r7, #4] - 8002134: 609a str r2, [r3, #8] + 80022be: 68fb ldr r3, [r7, #12] + 80022c0: 681b ldr r3, [r3, #0] + 80022c2: 687a ldr r2, [r7, #4] + 80022c4: 609a str r2, [r3, #8] /* Configure DMA Stream source address */ hdma->Instance->M0AR = SrcAddress; - 8002136: 68fb ldr r3, [r7, #12] - 8002138: 681b ldr r3, [r3, #0] - 800213a: 68ba ldr r2, [r7, #8] - 800213c: 60da str r2, [r3, #12] + 80022c6: 68fb ldr r3, [r7, #12] + 80022c8: 681b ldr r3, [r3, #0] + 80022ca: 68ba ldr r2, [r7, #8] + 80022cc: 60da str r2, [r3, #12] hdma->Instance->PAR = SrcAddress; /* Configure DMA Stream destination address */ hdma->Instance->M0AR = DstAddress; } } - 800213e: e007 b.n 8002150 + 80022ce: e007 b.n 80022e0 hdma->Instance->PAR = SrcAddress; - 8002140: 68fb ldr r3, [r7, #12] - 8002142: 681b ldr r3, [r3, #0] - 8002144: 68ba ldr r2, [r7, #8] - 8002146: 609a str r2, [r3, #8] + 80022d0: 68fb ldr r3, [r7, #12] + 80022d2: 681b ldr r3, [r3, #0] + 80022d4: 68ba ldr r2, [r7, #8] + 80022d6: 609a str r2, [r3, #8] hdma->Instance->M0AR = DstAddress; - 8002148: 68fb ldr r3, [r7, #12] - 800214a: 681b ldr r3, [r3, #0] - 800214c: 687a ldr r2, [r7, #4] - 800214e: 60da str r2, [r3, #12] + 80022d8: 68fb ldr r3, [r7, #12] + 80022da: 681b ldr r3, [r3, #0] + 80022dc: 687a ldr r2, [r7, #4] + 80022de: 60da str r2, [r3, #12] } - 8002150: bf00 nop - 8002152: 3714 adds r7, #20 - 8002154: 46bd mov sp, r7 - 8002156: f85d 7b04 ldr.w r7, [sp], #4 - 800215a: 4770 bx lr + 80022e0: bf00 nop + 80022e2: 3714 adds r7, #20 + 80022e4: 46bd mov sp, r7 + 80022e6: f85d 7b04 ldr.w r7, [sp], #4 + 80022ea: 4770 bx lr -0800215c : +080022ec : * @param hdma pointer to a DMA_HandleTypeDef structure that contains * the configuration information for the specified DMA Stream. * @retval Stream base address */ static uint32_t DMA_CalcBaseAndBitshift(DMA_HandleTypeDef *hdma) { - 800215c: b480 push {r7} - 800215e: b085 sub sp, #20 - 8002160: af00 add r7, sp, #0 - 8002162: 6078 str r0, [r7, #4] + 80022ec: b480 push {r7} + 80022ee: b085 sub sp, #20 + 80022f0: af00 add r7, sp, #0 + 80022f2: 6078 str r0, [r7, #4] uint32_t stream_number = (((uint32_t)hdma->Instance & 0xFFU) - 16U) / 24U; - 8002164: 687b ldr r3, [r7, #4] - 8002166: 681b ldr r3, [r3, #0] - 8002168: b2db uxtb r3, r3 - 800216a: 3b10 subs r3, #16 - 800216c: 4a14 ldr r2, [pc, #80] @ (80021c0 ) - 800216e: fba2 2303 umull r2, r3, r2, r3 - 8002172: 091b lsrs r3, r3, #4 - 8002174: 60fb str r3, [r7, #12] + 80022f4: 687b ldr r3, [r7, #4] + 80022f6: 681b ldr r3, [r3, #0] + 80022f8: b2db uxtb r3, r3 + 80022fa: 3b10 subs r3, #16 + 80022fc: 4a14 ldr r2, [pc, #80] @ (8002350 ) + 80022fe: fba2 2303 umull r2, r3, r2, r3 + 8002302: 091b lsrs r3, r3, #4 + 8002304: 60fb str r3, [r7, #12] /* lookup table for necessary bitshift of flags within status registers */ static const uint8_t flagBitshiftOffset[8U] = {0U, 6U, 16U, 22U, 0U, 6U, 16U, 22U}; hdma->StreamIndex = flagBitshiftOffset[stream_number]; - 8002176: 4a13 ldr r2, [pc, #76] @ (80021c4 ) - 8002178: 68fb ldr r3, [r7, #12] - 800217a: 4413 add r3, r2 - 800217c: 781b ldrb r3, [r3, #0] - 800217e: 461a mov r2, r3 - 8002180: 687b ldr r3, [r7, #4] - 8002182: 65da str r2, [r3, #92] @ 0x5c + 8002306: 4a13 ldr r2, [pc, #76] @ (8002354 ) + 8002308: 68fb ldr r3, [r7, #12] + 800230a: 4413 add r3, r2 + 800230c: 781b ldrb r3, [r3, #0] + 800230e: 461a mov r2, r3 + 8002310: 687b ldr r3, [r7, #4] + 8002312: 65da str r2, [r3, #92] @ 0x5c if (stream_number > 3U) - 8002184: 68fb ldr r3, [r7, #12] - 8002186: 2b03 cmp r3, #3 - 8002188: d909 bls.n 800219e + 8002314: 68fb ldr r3, [r7, #12] + 8002316: 2b03 cmp r3, #3 + 8002318: d909 bls.n 800232e { /* return pointer to HISR and HIFCR */ hdma->StreamBaseAddress = (((uint32_t)hdma->Instance & (uint32_t)(~0x3FFU)) + 4U); - 800218a: 687b ldr r3, [r7, #4] - 800218c: 681b ldr r3, [r3, #0] - 800218e: f423 737f bic.w r3, r3, #1020 @ 0x3fc - 8002192: f023 0303 bic.w r3, r3, #3 - 8002196: 1d1a adds r2, r3, #4 - 8002198: 687b ldr r3, [r7, #4] - 800219a: 659a str r2, [r3, #88] @ 0x58 - 800219c: e007 b.n 80021ae + 800231a: 687b ldr r3, [r7, #4] + 800231c: 681b ldr r3, [r3, #0] + 800231e: f423 737f bic.w r3, r3, #1020 @ 0x3fc + 8002322: f023 0303 bic.w r3, r3, #3 + 8002326: 1d1a adds r2, r3, #4 + 8002328: 687b ldr r3, [r7, #4] + 800232a: 659a str r2, [r3, #88] @ 0x58 + 800232c: e007 b.n 800233e } else { /* return pointer to LISR and LIFCR */ hdma->StreamBaseAddress = ((uint32_t)hdma->Instance & (uint32_t)(~0x3FFU)); - 800219e: 687b ldr r3, [r7, #4] - 80021a0: 681b ldr r3, [r3, #0] - 80021a2: f423 737f bic.w r3, r3, #1020 @ 0x3fc - 80021a6: f023 0303 bic.w r3, r3, #3 - 80021aa: 687a ldr r2, [r7, #4] - 80021ac: 6593 str r3, [r2, #88] @ 0x58 + 800232e: 687b ldr r3, [r7, #4] + 8002330: 681b ldr r3, [r3, #0] + 8002332: f423 737f bic.w r3, r3, #1020 @ 0x3fc + 8002336: f023 0303 bic.w r3, r3, #3 + 800233a: 687a ldr r2, [r7, #4] + 800233c: 6593 str r3, [r2, #88] @ 0x58 } return hdma->StreamBaseAddress; - 80021ae: 687b ldr r3, [r7, #4] - 80021b0: 6d9b ldr r3, [r3, #88] @ 0x58 + 800233e: 687b ldr r3, [r7, #4] + 8002340: 6d9b ldr r3, [r3, #88] @ 0x58 } - 80021b2: 4618 mov r0, r3 - 80021b4: 3714 adds r7, #20 - 80021b6: 46bd mov sp, r7 - 80021b8: f85d 7b04 ldr.w r7, [sp], #4 - 80021bc: 4770 bx lr - 80021be: bf00 nop - 80021c0: aaaaaaab .word 0xaaaaaaab - 80021c4: 0800a4f8 .word 0x0800a4f8 + 8002342: 4618 mov r0, r3 + 8002344: 3714 adds r7, #20 + 8002346: 46bd mov sp, r7 + 8002348: f85d 7b04 ldr.w r7, [sp], #4 + 800234c: 4770 bx lr + 800234e: bf00 nop + 8002350: aaaaaaab .word 0xaaaaaaab + 8002354: 0800ab80 .word 0x0800ab80 -080021c8 : +08002358 : * @param hdma pointer to a DMA_HandleTypeDef structure that contains * the configuration information for the specified DMA Stream. * @retval HAL status */ static HAL_StatusTypeDef DMA_CheckFifoParam(DMA_HandleTypeDef *hdma) { - 80021c8: b480 push {r7} - 80021ca: b085 sub sp, #20 - 80021cc: af00 add r7, sp, #0 - 80021ce: 6078 str r0, [r7, #4] + 8002358: b480 push {r7} + 800235a: b085 sub sp, #20 + 800235c: af00 add r7, sp, #0 + 800235e: 6078 str r0, [r7, #4] HAL_StatusTypeDef status = HAL_OK; - 80021d0: 2300 movs r3, #0 - 80021d2: 73fb strb r3, [r7, #15] + 8002360: 2300 movs r3, #0 + 8002362: 73fb strb r3, [r7, #15] uint32_t tmp = hdma->Init.FIFOThreshold; - 80021d4: 687b ldr r3, [r7, #4] - 80021d6: 6a9b ldr r3, [r3, #40] @ 0x28 - 80021d8: 60bb str r3, [r7, #8] + 8002364: 687b ldr r3, [r7, #4] + 8002366: 6a9b ldr r3, [r3, #40] @ 0x28 + 8002368: 60bb str r3, [r7, #8] /* Memory Data size equal to Byte */ if(hdma->Init.MemDataAlignment == DMA_MDATAALIGN_BYTE) - 80021da: 687b ldr r3, [r7, #4] - 80021dc: 699b ldr r3, [r3, #24] - 80021de: 2b00 cmp r3, #0 - 80021e0: d11f bne.n 8002222 + 800236a: 687b ldr r3, [r7, #4] + 800236c: 699b ldr r3, [r3, #24] + 800236e: 2b00 cmp r3, #0 + 8002370: d11f bne.n 80023b2 { switch (tmp) - 80021e2: 68bb ldr r3, [r7, #8] - 80021e4: 2b03 cmp r3, #3 - 80021e6: d856 bhi.n 8002296 - 80021e8: a201 add r2, pc, #4 @ (adr r2, 80021f0 ) - 80021ea: f852 f023 ldr.w pc, [r2, r3, lsl #2] - 80021ee: bf00 nop - 80021f0: 08002201 .word 0x08002201 - 80021f4: 08002213 .word 0x08002213 - 80021f8: 08002201 .word 0x08002201 - 80021fc: 08002297 .word 0x08002297 + 8002372: 68bb ldr r3, [r7, #8] + 8002374: 2b03 cmp r3, #3 + 8002376: d856 bhi.n 8002426 + 8002378: a201 add r2, pc, #4 @ (adr r2, 8002380 ) + 800237a: f852 f023 ldr.w pc, [r2, r3, lsl #2] + 800237e: bf00 nop + 8002380: 08002391 .word 0x08002391 + 8002384: 080023a3 .word 0x080023a3 + 8002388: 08002391 .word 0x08002391 + 800238c: 08002427 .word 0x08002427 { case DMA_FIFO_THRESHOLD_1QUARTERFULL: case DMA_FIFO_THRESHOLD_3QUARTERSFULL: if ((hdma->Init.MemBurst & DMA_SxCR_MBURST_1) == DMA_SxCR_MBURST_1) - 8002200: 687b ldr r3, [r7, #4] - 8002202: 6adb ldr r3, [r3, #44] @ 0x2c - 8002204: f003 7380 and.w r3, r3, #16777216 @ 0x1000000 - 8002208: 2b00 cmp r3, #0 - 800220a: d046 beq.n 800229a + 8002390: 687b ldr r3, [r7, #4] + 8002392: 6adb ldr r3, [r3, #44] @ 0x2c + 8002394: f003 7380 and.w r3, r3, #16777216 @ 0x1000000 + 8002398: 2b00 cmp r3, #0 + 800239a: d046 beq.n 800242a { status = HAL_ERROR; - 800220c: 2301 movs r3, #1 - 800220e: 73fb strb r3, [r7, #15] + 800239c: 2301 movs r3, #1 + 800239e: 73fb strb r3, [r7, #15] } break; - 8002210: e043 b.n 800229a + 80023a0: e043 b.n 800242a case DMA_FIFO_THRESHOLD_HALFFULL: if (hdma->Init.MemBurst == DMA_MBURST_INC16) - 8002212: 687b ldr r3, [r7, #4] - 8002214: 6adb ldr r3, [r3, #44] @ 0x2c - 8002216: f1b3 7fc0 cmp.w r3, #25165824 @ 0x1800000 - 800221a: d140 bne.n 800229e + 80023a2: 687b ldr r3, [r7, #4] + 80023a4: 6adb ldr r3, [r3, #44] @ 0x2c + 80023a6: f1b3 7fc0 cmp.w r3, #25165824 @ 0x1800000 + 80023aa: d140 bne.n 800242e { status = HAL_ERROR; - 800221c: 2301 movs r3, #1 - 800221e: 73fb strb r3, [r7, #15] + 80023ac: 2301 movs r3, #1 + 80023ae: 73fb strb r3, [r7, #15] } break; - 8002220: e03d b.n 800229e + 80023b0: e03d b.n 800242e break; } } /* Memory Data size equal to Half-Word */ else if (hdma->Init.MemDataAlignment == DMA_MDATAALIGN_HALFWORD) - 8002222: 687b ldr r3, [r7, #4] - 8002224: 699b ldr r3, [r3, #24] - 8002226: f5b3 5f00 cmp.w r3, #8192 @ 0x2000 - 800222a: d121 bne.n 8002270 + 80023b2: 687b ldr r3, [r7, #4] + 80023b4: 699b ldr r3, [r3, #24] + 80023b6: f5b3 5f00 cmp.w r3, #8192 @ 0x2000 + 80023ba: d121 bne.n 8002400 { switch (tmp) - 800222c: 68bb ldr r3, [r7, #8] - 800222e: 2b03 cmp r3, #3 - 8002230: d837 bhi.n 80022a2 - 8002232: a201 add r2, pc, #4 @ (adr r2, 8002238 ) - 8002234: f852 f023 ldr.w pc, [r2, r3, lsl #2] - 8002238: 08002249 .word 0x08002249 - 800223c: 0800224f .word 0x0800224f - 8002240: 08002249 .word 0x08002249 - 8002244: 08002261 .word 0x08002261 + 80023bc: 68bb ldr r3, [r7, #8] + 80023be: 2b03 cmp r3, #3 + 80023c0: d837 bhi.n 8002432 + 80023c2: a201 add r2, pc, #4 @ (adr r2, 80023c8 ) + 80023c4: f852 f023 ldr.w pc, [r2, r3, lsl #2] + 80023c8: 080023d9 .word 0x080023d9 + 80023cc: 080023df .word 0x080023df + 80023d0: 080023d9 .word 0x080023d9 + 80023d4: 080023f1 .word 0x080023f1 { case DMA_FIFO_THRESHOLD_1QUARTERFULL: case DMA_FIFO_THRESHOLD_3QUARTERSFULL: status = HAL_ERROR; - 8002248: 2301 movs r3, #1 - 800224a: 73fb strb r3, [r7, #15] + 80023d8: 2301 movs r3, #1 + 80023da: 73fb strb r3, [r7, #15] break; - 800224c: e030 b.n 80022b0 + 80023dc: e030 b.n 8002440 case DMA_FIFO_THRESHOLD_HALFFULL: if ((hdma->Init.MemBurst & DMA_SxCR_MBURST_1) == DMA_SxCR_MBURST_1) - 800224e: 687b ldr r3, [r7, #4] - 8002250: 6adb ldr r3, [r3, #44] @ 0x2c - 8002252: f003 7380 and.w r3, r3, #16777216 @ 0x1000000 - 8002256: 2b00 cmp r3, #0 - 8002258: d025 beq.n 80022a6 + 80023de: 687b ldr r3, [r7, #4] + 80023e0: 6adb ldr r3, [r3, #44] @ 0x2c + 80023e2: f003 7380 and.w r3, r3, #16777216 @ 0x1000000 + 80023e6: 2b00 cmp r3, #0 + 80023e8: d025 beq.n 8002436 { status = HAL_ERROR; - 800225a: 2301 movs r3, #1 - 800225c: 73fb strb r3, [r7, #15] + 80023ea: 2301 movs r3, #1 + 80023ec: 73fb strb r3, [r7, #15] } break; - 800225e: e022 b.n 80022a6 + 80023ee: e022 b.n 8002436 case DMA_FIFO_THRESHOLD_FULL: if (hdma->Init.MemBurst == DMA_MBURST_INC16) - 8002260: 687b ldr r3, [r7, #4] - 8002262: 6adb ldr r3, [r3, #44] @ 0x2c - 8002264: f1b3 7fc0 cmp.w r3, #25165824 @ 0x1800000 - 8002268: d11f bne.n 80022aa + 80023f0: 687b ldr r3, [r7, #4] + 80023f2: 6adb ldr r3, [r3, #44] @ 0x2c + 80023f4: f1b3 7fc0 cmp.w r3, #25165824 @ 0x1800000 + 80023f8: d11f bne.n 800243a { status = HAL_ERROR; - 800226a: 2301 movs r3, #1 - 800226c: 73fb strb r3, [r7, #15] + 80023fa: 2301 movs r3, #1 + 80023fc: 73fb strb r3, [r7, #15] } break; - 800226e: e01c b.n 80022aa + 80023fe: e01c b.n 800243a } /* Memory Data size equal to Word */ else { switch (tmp) - 8002270: 68bb ldr r3, [r7, #8] - 8002272: 2b02 cmp r3, #2 - 8002274: d903 bls.n 800227e - 8002276: 68bb ldr r3, [r7, #8] - 8002278: 2b03 cmp r3, #3 - 800227a: d003 beq.n 8002284 + 8002400: 68bb ldr r3, [r7, #8] + 8002402: 2b02 cmp r3, #2 + 8002404: d903 bls.n 800240e + 8002406: 68bb ldr r3, [r7, #8] + 8002408: 2b03 cmp r3, #3 + 800240a: d003 beq.n 8002414 { status = HAL_ERROR; } break; default: break; - 800227c: e018 b.n 80022b0 + 800240c: e018 b.n 8002440 status = HAL_ERROR; - 800227e: 2301 movs r3, #1 - 8002280: 73fb strb r3, [r7, #15] + 800240e: 2301 movs r3, #1 + 8002410: 73fb strb r3, [r7, #15] break; - 8002282: e015 b.n 80022b0 + 8002412: e015 b.n 8002440 if ((hdma->Init.MemBurst & DMA_SxCR_MBURST_1) == DMA_SxCR_MBURST_1) - 8002284: 687b ldr r3, [r7, #4] - 8002286: 6adb ldr r3, [r3, #44] @ 0x2c - 8002288: f003 7380 and.w r3, r3, #16777216 @ 0x1000000 - 800228c: 2b00 cmp r3, #0 - 800228e: d00e beq.n 80022ae + 8002414: 687b ldr r3, [r7, #4] + 8002416: 6adb ldr r3, [r3, #44] @ 0x2c + 8002418: f003 7380 and.w r3, r3, #16777216 @ 0x1000000 + 800241c: 2b00 cmp r3, #0 + 800241e: d00e beq.n 800243e status = HAL_ERROR; - 8002290: 2301 movs r3, #1 - 8002292: 73fb strb r3, [r7, #15] + 8002420: 2301 movs r3, #1 + 8002422: 73fb strb r3, [r7, #15] break; - 8002294: e00b b.n 80022ae + 8002424: e00b b.n 800243e break; - 8002296: bf00 nop - 8002298: e00a b.n 80022b0 + 8002426: bf00 nop + 8002428: e00a b.n 8002440 break; - 800229a: bf00 nop - 800229c: e008 b.n 80022b0 + 800242a: bf00 nop + 800242c: e008 b.n 8002440 break; - 800229e: bf00 nop - 80022a0: e006 b.n 80022b0 + 800242e: bf00 nop + 8002430: e006 b.n 8002440 break; - 80022a2: bf00 nop - 80022a4: e004 b.n 80022b0 + 8002432: bf00 nop + 8002434: e004 b.n 8002440 break; - 80022a6: bf00 nop - 80022a8: e002 b.n 80022b0 + 8002436: bf00 nop + 8002438: e002 b.n 8002440 break; - 80022aa: bf00 nop - 80022ac: e000 b.n 80022b0 + 800243a: bf00 nop + 800243c: e000 b.n 8002440 break; - 80022ae: bf00 nop + 800243e: bf00 nop } } return status; - 80022b0: 7bfb ldrb r3, [r7, #15] + 8002440: 7bfb ldrb r3, [r7, #15] } - 80022b2: 4618 mov r0, r3 - 80022b4: 3714 adds r7, #20 - 80022b6: 46bd mov sp, r7 - 80022b8: f85d 7b04 ldr.w r7, [sp], #4 - 80022bc: 4770 bx lr - 80022be: bf00 nop + 8002442: 4618 mov r0, r3 + 8002444: 3714 adds r7, #20 + 8002446: 46bd mov sp, r7 + 8002448: f85d 7b04 ldr.w r7, [sp], #4 + 800244c: 4770 bx lr + 800244e: bf00 nop -080022c0 : +08002450 : * @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) { - 80022c0: b480 push {r7} - 80022c2: b089 sub sp, #36 @ 0x24 - 80022c4: af00 add r7, sp, #0 - 80022c6: 6078 str r0, [r7, #4] - 80022c8: 6039 str r1, [r7, #0] + 8002450: b480 push {r7} + 8002452: b089 sub sp, #36 @ 0x24 + 8002454: af00 add r7, sp, #0 + 8002456: 6078 str r0, [r7, #4] + 8002458: 6039 str r1, [r7, #0] uint32_t position; uint32_t ioposition = 0x00U; - 80022ca: 2300 movs r3, #0 - 80022cc: 617b str r3, [r7, #20] + 800245a: 2300 movs r3, #0 + 800245c: 617b str r3, [r7, #20] uint32_t iocurrent = 0x00U; - 80022ce: 2300 movs r3, #0 - 80022d0: 613b str r3, [r7, #16] + 800245e: 2300 movs r3, #0 + 8002460: 613b str r3, [r7, #16] uint32_t temp = 0x00U; - 80022d2: 2300 movs r3, #0 - 80022d4: 61bb str r3, [r7, #24] + 8002462: 2300 movs r3, #0 + 8002464: 61bb str r3, [r7, #24] assert_param(IS_GPIO_ALL_INSTANCE(GPIOx)); assert_param(IS_GPIO_PIN(GPIO_Init->Pin)); assert_param(IS_GPIO_MODE(GPIO_Init->Mode)); /* Configure the port pins */ for(position = 0U; position < GPIO_NUMBER; position++) - 80022d6: 2300 movs r3, #0 - 80022d8: 61fb str r3, [r7, #28] - 80022da: e165 b.n 80025a8 + 8002466: 2300 movs r3, #0 + 8002468: 61fb str r3, [r7, #28] + 800246a: e165 b.n 8002738 { /* Get the IO position */ ioposition = 0x01U << position; - 80022dc: 2201 movs r2, #1 - 80022de: 69fb ldr r3, [r7, #28] - 80022e0: fa02 f303 lsl.w r3, r2, r3 - 80022e4: 617b str r3, [r7, #20] + 800246c: 2201 movs r2, #1 + 800246e: 69fb ldr r3, [r7, #28] + 8002470: fa02 f303 lsl.w r3, r2, r3 + 8002474: 617b str r3, [r7, #20] /* Get the current IO position */ iocurrent = (uint32_t)(GPIO_Init->Pin) & ioposition; - 80022e6: 683b ldr r3, [r7, #0] - 80022e8: 681b ldr r3, [r3, #0] - 80022ea: 697a ldr r2, [r7, #20] - 80022ec: 4013 ands r3, r2 - 80022ee: 613b str r3, [r7, #16] + 8002476: 683b ldr r3, [r7, #0] + 8002478: 681b ldr r3, [r3, #0] + 800247a: 697a ldr r2, [r7, #20] + 800247c: 4013 ands r3, r2 + 800247e: 613b str r3, [r7, #16] if(iocurrent == ioposition) - 80022f0: 693a ldr r2, [r7, #16] - 80022f2: 697b ldr r3, [r7, #20] - 80022f4: 429a cmp r2, r3 - 80022f6: f040 8154 bne.w 80025a2 + 8002480: 693a ldr r2, [r7, #16] + 8002482: 697b ldr r3, [r7, #20] + 8002484: 429a cmp r2, r3 + 8002486: f040 8154 bne.w 8002732 { /*--------------------- GPIO Mode Configuration ------------------------*/ /* In case of Output or Alternate function mode selection */ if(((GPIO_Init->Mode & GPIO_MODE) == MODE_OUTPUT) || \ - 80022fa: 683b ldr r3, [r7, #0] - 80022fc: 685b ldr r3, [r3, #4] - 80022fe: f003 0303 and.w r3, r3, #3 - 8002302: 2b01 cmp r3, #1 - 8002304: d005 beq.n 8002312 + 800248a: 683b ldr r3, [r7, #0] + 800248c: 685b ldr r3, [r3, #4] + 800248e: f003 0303 and.w r3, r3, #3 + 8002492: 2b01 cmp r3, #1 + 8002494: d005 beq.n 80024a2 (GPIO_Init->Mode & GPIO_MODE) == MODE_AF) - 8002306: 683b ldr r3, [r7, #0] - 8002308: 685b ldr r3, [r3, #4] - 800230a: f003 0303 and.w r3, r3, #3 + 8002496: 683b ldr r3, [r7, #0] + 8002498: 685b ldr r3, [r3, #4] + 800249a: f003 0303 and.w r3, r3, #3 if(((GPIO_Init->Mode & GPIO_MODE) == MODE_OUTPUT) || \ - 800230e: 2b02 cmp r3, #2 - 8002310: d130 bne.n 8002374 + 800249e: 2b02 cmp r3, #2 + 80024a0: d130 bne.n 8002504 { /* Check the Speed parameter */ assert_param(IS_GPIO_SPEED(GPIO_Init->Speed)); /* Configure the IO Speed */ temp = GPIOx->OSPEEDR; - 8002312: 687b ldr r3, [r7, #4] - 8002314: 689b ldr r3, [r3, #8] - 8002316: 61bb str r3, [r7, #24] + 80024a2: 687b ldr r3, [r7, #4] + 80024a4: 689b ldr r3, [r3, #8] + 80024a6: 61bb str r3, [r7, #24] temp &= ~(GPIO_OSPEEDER_OSPEEDR0 << (position * 2U)); - 8002318: 69fb ldr r3, [r7, #28] - 800231a: 005b lsls r3, r3, #1 - 800231c: 2203 movs r2, #3 - 800231e: fa02 f303 lsl.w r3, r2, r3 - 8002322: 43db mvns r3, r3 - 8002324: 69ba ldr r2, [r7, #24] - 8002326: 4013 ands r3, r2 - 8002328: 61bb str r3, [r7, #24] + 80024a8: 69fb ldr r3, [r7, #28] + 80024aa: 005b lsls r3, r3, #1 + 80024ac: 2203 movs r2, #3 + 80024ae: fa02 f303 lsl.w r3, r2, r3 + 80024b2: 43db mvns r3, r3 + 80024b4: 69ba ldr r2, [r7, #24] + 80024b6: 4013 ands r3, r2 + 80024b8: 61bb str r3, [r7, #24] temp |= (GPIO_Init->Speed << (position * 2U)); - 800232a: 683b ldr r3, [r7, #0] - 800232c: 68da ldr r2, [r3, #12] - 800232e: 69fb ldr r3, [r7, #28] - 8002330: 005b lsls r3, r3, #1 - 8002332: fa02 f303 lsl.w r3, r2, r3 - 8002336: 69ba ldr r2, [r7, #24] - 8002338: 4313 orrs r3, r2 - 800233a: 61bb str r3, [r7, #24] + 80024ba: 683b ldr r3, [r7, #0] + 80024bc: 68da ldr r2, [r3, #12] + 80024be: 69fb ldr r3, [r7, #28] + 80024c0: 005b lsls r3, r3, #1 + 80024c2: fa02 f303 lsl.w r3, r2, r3 + 80024c6: 69ba ldr r2, [r7, #24] + 80024c8: 4313 orrs r3, r2 + 80024ca: 61bb str r3, [r7, #24] GPIOx->OSPEEDR = temp; - 800233c: 687b ldr r3, [r7, #4] - 800233e: 69ba ldr r2, [r7, #24] - 8002340: 609a str r2, [r3, #8] + 80024cc: 687b ldr r3, [r7, #4] + 80024ce: 69ba ldr r2, [r7, #24] + 80024d0: 609a str r2, [r3, #8] /* Configure the IO Output Type */ temp = GPIOx->OTYPER; - 8002342: 687b ldr r3, [r7, #4] - 8002344: 685b ldr r3, [r3, #4] - 8002346: 61bb str r3, [r7, #24] + 80024d2: 687b ldr r3, [r7, #4] + 80024d4: 685b ldr r3, [r3, #4] + 80024d6: 61bb str r3, [r7, #24] temp &= ~(GPIO_OTYPER_OT_0 << position) ; - 8002348: 2201 movs r2, #1 - 800234a: 69fb ldr r3, [r7, #28] - 800234c: fa02 f303 lsl.w r3, r2, r3 - 8002350: 43db mvns r3, r3 - 8002352: 69ba ldr r2, [r7, #24] - 8002354: 4013 ands r3, r2 - 8002356: 61bb str r3, [r7, #24] + 80024d8: 2201 movs r2, #1 + 80024da: 69fb ldr r3, [r7, #28] + 80024dc: fa02 f303 lsl.w r3, r2, r3 + 80024e0: 43db mvns r3, r3 + 80024e2: 69ba ldr r2, [r7, #24] + 80024e4: 4013 ands r3, r2 + 80024e6: 61bb str r3, [r7, #24] temp |= (((GPIO_Init->Mode & OUTPUT_TYPE) >> OUTPUT_TYPE_Pos) << position); - 8002358: 683b ldr r3, [r7, #0] - 800235a: 685b ldr r3, [r3, #4] - 800235c: 091b lsrs r3, r3, #4 - 800235e: f003 0201 and.w r2, r3, #1 - 8002362: 69fb ldr r3, [r7, #28] - 8002364: fa02 f303 lsl.w r3, r2, r3 - 8002368: 69ba ldr r2, [r7, #24] - 800236a: 4313 orrs r3, r2 - 800236c: 61bb str r3, [r7, #24] + 80024e8: 683b ldr r3, [r7, #0] + 80024ea: 685b ldr r3, [r3, #4] + 80024ec: 091b lsrs r3, r3, #4 + 80024ee: f003 0201 and.w r2, r3, #1 + 80024f2: 69fb ldr r3, [r7, #28] + 80024f4: fa02 f303 lsl.w r3, r2, r3 + 80024f8: 69ba ldr r2, [r7, #24] + 80024fa: 4313 orrs r3, r2 + 80024fc: 61bb str r3, [r7, #24] GPIOx->OTYPER = temp; - 800236e: 687b ldr r3, [r7, #4] - 8002370: 69ba ldr r2, [r7, #24] - 8002372: 605a str r2, [r3, #4] + 80024fe: 687b ldr r3, [r7, #4] + 8002500: 69ba ldr r2, [r7, #24] + 8002502: 605a str r2, [r3, #4] } if((GPIO_Init->Mode & GPIO_MODE) != MODE_ANALOG) - 8002374: 683b ldr r3, [r7, #0] - 8002376: 685b ldr r3, [r3, #4] - 8002378: f003 0303 and.w r3, r3, #3 - 800237c: 2b03 cmp r3, #3 - 800237e: d017 beq.n 80023b0 + 8002504: 683b ldr r3, [r7, #0] + 8002506: 685b ldr r3, [r3, #4] + 8002508: f003 0303 and.w r3, r3, #3 + 800250c: 2b03 cmp r3, #3 + 800250e: d017 beq.n 8002540 { /* Check the parameters */ assert_param(IS_GPIO_PULL(GPIO_Init->Pull)); /* Activate the Pull-up or Pull down resistor for the current IO */ temp = GPIOx->PUPDR; - 8002380: 687b ldr r3, [r7, #4] - 8002382: 68db ldr r3, [r3, #12] - 8002384: 61bb str r3, [r7, #24] + 8002510: 687b ldr r3, [r7, #4] + 8002512: 68db ldr r3, [r3, #12] + 8002514: 61bb str r3, [r7, #24] temp &= ~(GPIO_PUPDR_PUPDR0 << (position * 2U)); - 8002386: 69fb ldr r3, [r7, #28] - 8002388: 005b lsls r3, r3, #1 - 800238a: 2203 movs r2, #3 - 800238c: fa02 f303 lsl.w r3, r2, r3 - 8002390: 43db mvns r3, r3 - 8002392: 69ba ldr r2, [r7, #24] - 8002394: 4013 ands r3, r2 - 8002396: 61bb str r3, [r7, #24] + 8002516: 69fb ldr r3, [r7, #28] + 8002518: 005b lsls r3, r3, #1 + 800251a: 2203 movs r2, #3 + 800251c: fa02 f303 lsl.w r3, r2, r3 + 8002520: 43db mvns r3, r3 + 8002522: 69ba ldr r2, [r7, #24] + 8002524: 4013 ands r3, r2 + 8002526: 61bb str r3, [r7, #24] temp |= ((GPIO_Init->Pull) << (position * 2U)); - 8002398: 683b ldr r3, [r7, #0] - 800239a: 689a ldr r2, [r3, #8] - 800239c: 69fb ldr r3, [r7, #28] - 800239e: 005b lsls r3, r3, #1 - 80023a0: fa02 f303 lsl.w r3, r2, r3 - 80023a4: 69ba ldr r2, [r7, #24] - 80023a6: 4313 orrs r3, r2 - 80023a8: 61bb str r3, [r7, #24] + 8002528: 683b ldr r3, [r7, #0] + 800252a: 689a ldr r2, [r3, #8] + 800252c: 69fb ldr r3, [r7, #28] + 800252e: 005b lsls r3, r3, #1 + 8002530: fa02 f303 lsl.w r3, r2, r3 + 8002534: 69ba ldr r2, [r7, #24] + 8002536: 4313 orrs r3, r2 + 8002538: 61bb str r3, [r7, #24] GPIOx->PUPDR = temp; - 80023aa: 687b ldr r3, [r7, #4] - 80023ac: 69ba ldr r2, [r7, #24] - 80023ae: 60da str r2, [r3, #12] + 800253a: 687b ldr r3, [r7, #4] + 800253c: 69ba ldr r2, [r7, #24] + 800253e: 60da str r2, [r3, #12] } /* In case of Alternate function mode selection */ if((GPIO_Init->Mode & GPIO_MODE) == MODE_AF) - 80023b0: 683b ldr r3, [r7, #0] - 80023b2: 685b ldr r3, [r3, #4] - 80023b4: f003 0303 and.w r3, r3, #3 - 80023b8: 2b02 cmp r3, #2 - 80023ba: d123 bne.n 8002404 + 8002540: 683b ldr r3, [r7, #0] + 8002542: 685b ldr r3, [r3, #4] + 8002544: f003 0303 and.w r3, r3, #3 + 8002548: 2b02 cmp r3, #2 + 800254a: d123 bne.n 8002594 { /* 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 >> 3U]; - 80023bc: 69fb ldr r3, [r7, #28] - 80023be: 08da lsrs r2, r3, #3 - 80023c0: 687b ldr r3, [r7, #4] - 80023c2: 3208 adds r2, #8 - 80023c4: f853 3022 ldr.w r3, [r3, r2, lsl #2] - 80023c8: 61bb str r3, [r7, #24] + 800254c: 69fb ldr r3, [r7, #28] + 800254e: 08da lsrs r2, r3, #3 + 8002550: 687b ldr r3, [r7, #4] + 8002552: 3208 adds r2, #8 + 8002554: f853 3022 ldr.w r3, [r3, r2, lsl #2] + 8002558: 61bb str r3, [r7, #24] temp &= ~(0xFU << ((uint32_t)(position & 0x07U) * 4U)) ; - 80023ca: 69fb ldr r3, [r7, #28] - 80023cc: f003 0307 and.w r3, r3, #7 - 80023d0: 009b lsls r3, r3, #2 - 80023d2: 220f movs r2, #15 - 80023d4: fa02 f303 lsl.w r3, r2, r3 - 80023d8: 43db mvns r3, r3 - 80023da: 69ba ldr r2, [r7, #24] - 80023dc: 4013 ands r3, r2 - 80023de: 61bb str r3, [r7, #24] + 800255a: 69fb ldr r3, [r7, #28] + 800255c: f003 0307 and.w r3, r3, #7 + 8002560: 009b lsls r3, r3, #2 + 8002562: 220f movs r2, #15 + 8002564: fa02 f303 lsl.w r3, r2, r3 + 8002568: 43db mvns r3, r3 + 800256a: 69ba ldr r2, [r7, #24] + 800256c: 4013 ands r3, r2 + 800256e: 61bb str r3, [r7, #24] temp |= ((uint32_t)(GPIO_Init->Alternate) << (((uint32_t)position & 0x07U) * 4U)); - 80023e0: 683b ldr r3, [r7, #0] - 80023e2: 691a ldr r2, [r3, #16] - 80023e4: 69fb ldr r3, [r7, #28] - 80023e6: f003 0307 and.w r3, r3, #7 - 80023ea: 009b lsls r3, r3, #2 - 80023ec: fa02 f303 lsl.w r3, r2, r3 - 80023f0: 69ba ldr r2, [r7, #24] - 80023f2: 4313 orrs r3, r2 - 80023f4: 61bb str r3, [r7, #24] + 8002570: 683b ldr r3, [r7, #0] + 8002572: 691a ldr r2, [r3, #16] + 8002574: 69fb ldr r3, [r7, #28] + 8002576: f003 0307 and.w r3, r3, #7 + 800257a: 009b lsls r3, r3, #2 + 800257c: fa02 f303 lsl.w r3, r2, r3 + 8002580: 69ba ldr r2, [r7, #24] + 8002582: 4313 orrs r3, r2 + 8002584: 61bb str r3, [r7, #24] GPIOx->AFR[position >> 3U] = temp; - 80023f6: 69fb ldr r3, [r7, #28] - 80023f8: 08da lsrs r2, r3, #3 - 80023fa: 687b ldr r3, [r7, #4] - 80023fc: 3208 adds r2, #8 - 80023fe: 69b9 ldr r1, [r7, #24] - 8002400: f843 1022 str.w r1, [r3, r2, lsl #2] + 8002586: 69fb ldr r3, [r7, #28] + 8002588: 08da lsrs r2, r3, #3 + 800258a: 687b ldr r3, [r7, #4] + 800258c: 3208 adds r2, #8 + 800258e: 69b9 ldr r1, [r7, #24] + 8002590: f843 1022 str.w r1, [r3, r2, lsl #2] } /* Configure IO Direction mode (Input, Output, Alternate or Analog) */ temp = GPIOx->MODER; - 8002404: 687b ldr r3, [r7, #4] - 8002406: 681b ldr r3, [r3, #0] - 8002408: 61bb str r3, [r7, #24] + 8002594: 687b ldr r3, [r7, #4] + 8002596: 681b ldr r3, [r3, #0] + 8002598: 61bb str r3, [r7, #24] temp &= ~(GPIO_MODER_MODER0 << (position * 2U)); - 800240a: 69fb ldr r3, [r7, #28] - 800240c: 005b lsls r3, r3, #1 - 800240e: 2203 movs r2, #3 - 8002410: fa02 f303 lsl.w r3, r2, r3 - 8002414: 43db mvns r3, r3 - 8002416: 69ba ldr r2, [r7, #24] - 8002418: 4013 ands r3, r2 - 800241a: 61bb str r3, [r7, #24] + 800259a: 69fb ldr r3, [r7, #28] + 800259c: 005b lsls r3, r3, #1 + 800259e: 2203 movs r2, #3 + 80025a0: fa02 f303 lsl.w r3, r2, r3 + 80025a4: 43db mvns r3, r3 + 80025a6: 69ba ldr r2, [r7, #24] + 80025a8: 4013 ands r3, r2 + 80025aa: 61bb str r3, [r7, #24] temp |= ((GPIO_Init->Mode & GPIO_MODE) << (position * 2U)); - 800241c: 683b ldr r3, [r7, #0] - 800241e: 685b ldr r3, [r3, #4] - 8002420: f003 0203 and.w r2, r3, #3 - 8002424: 69fb ldr r3, [r7, #28] - 8002426: 005b lsls r3, r3, #1 - 8002428: fa02 f303 lsl.w r3, r2, r3 - 800242c: 69ba ldr r2, [r7, #24] - 800242e: 4313 orrs r3, r2 - 8002430: 61bb str r3, [r7, #24] + 80025ac: 683b ldr r3, [r7, #0] + 80025ae: 685b ldr r3, [r3, #4] + 80025b0: f003 0203 and.w r2, r3, #3 + 80025b4: 69fb ldr r3, [r7, #28] + 80025b6: 005b lsls r3, r3, #1 + 80025b8: fa02 f303 lsl.w r3, r2, r3 + 80025bc: 69ba ldr r2, [r7, #24] + 80025be: 4313 orrs r3, r2 + 80025c0: 61bb str r3, [r7, #24] GPIOx->MODER = temp; - 8002432: 687b ldr r3, [r7, #4] - 8002434: 69ba ldr r2, [r7, #24] - 8002436: 601a str r2, [r3, #0] + 80025c2: 687b ldr r3, [r7, #4] + 80025c4: 69ba ldr r2, [r7, #24] + 80025c6: 601a str r2, [r3, #0] /*--------------------- EXTI Mode Configuration ------------------------*/ /* Configure the External Interrupt or event for the current IO */ if((GPIO_Init->Mode & EXTI_MODE) != 0x00U) - 8002438: 683b ldr r3, [r7, #0] - 800243a: 685b ldr r3, [r3, #4] - 800243c: f403 3340 and.w r3, r3, #196608 @ 0x30000 - 8002440: 2b00 cmp r3, #0 - 8002442: f000 80ae beq.w 80025a2 + 80025c8: 683b ldr r3, [r7, #0] + 80025ca: 685b ldr r3, [r3, #4] + 80025cc: f403 3340 and.w r3, r3, #196608 @ 0x30000 + 80025d0: 2b00 cmp r3, #0 + 80025d2: f000 80ae beq.w 8002732 { /* Enable SYSCFG Clock */ __HAL_RCC_SYSCFG_CLK_ENABLE(); - 8002446: 2300 movs r3, #0 - 8002448: 60fb str r3, [r7, #12] - 800244a: 4b5d ldr r3, [pc, #372] @ (80025c0 ) - 800244c: 6c5b ldr r3, [r3, #68] @ 0x44 - 800244e: 4a5c ldr r2, [pc, #368] @ (80025c0 ) - 8002450: f443 4380 orr.w r3, r3, #16384 @ 0x4000 - 8002454: 6453 str r3, [r2, #68] @ 0x44 - 8002456: 4b5a ldr r3, [pc, #360] @ (80025c0 ) - 8002458: 6c5b ldr r3, [r3, #68] @ 0x44 - 800245a: f403 4380 and.w r3, r3, #16384 @ 0x4000 - 800245e: 60fb str r3, [r7, #12] - 8002460: 68fb ldr r3, [r7, #12] + 80025d6: 2300 movs r3, #0 + 80025d8: 60fb str r3, [r7, #12] + 80025da: 4b5d ldr r3, [pc, #372] @ (8002750 ) + 80025dc: 6c5b ldr r3, [r3, #68] @ 0x44 + 80025de: 4a5c ldr r2, [pc, #368] @ (8002750 ) + 80025e0: f443 4380 orr.w r3, r3, #16384 @ 0x4000 + 80025e4: 6453 str r3, [r2, #68] @ 0x44 + 80025e6: 4b5a ldr r3, [pc, #360] @ (8002750 ) + 80025e8: 6c5b ldr r3, [r3, #68] @ 0x44 + 80025ea: f403 4380 and.w r3, r3, #16384 @ 0x4000 + 80025ee: 60fb str r3, [r7, #12] + 80025f0: 68fb ldr r3, [r7, #12] temp = SYSCFG->EXTICR[position >> 2U]; - 8002462: 4a58 ldr r2, [pc, #352] @ (80025c4 ) - 8002464: 69fb ldr r3, [r7, #28] - 8002466: 089b lsrs r3, r3, #2 - 8002468: 3302 adds r3, #2 - 800246a: f852 3023 ldr.w r3, [r2, r3, lsl #2] - 800246e: 61bb str r3, [r7, #24] + 80025f2: 4a58 ldr r2, [pc, #352] @ (8002754 ) + 80025f4: 69fb ldr r3, [r7, #28] + 80025f6: 089b lsrs r3, r3, #2 + 80025f8: 3302 adds r3, #2 + 80025fa: f852 3023 ldr.w r3, [r2, r3, lsl #2] + 80025fe: 61bb str r3, [r7, #24] temp &= ~(0x0FU << (4U * (position & 0x03U))); - 8002470: 69fb ldr r3, [r7, #28] - 8002472: f003 0303 and.w r3, r3, #3 - 8002476: 009b lsls r3, r3, #2 - 8002478: 220f movs r2, #15 - 800247a: fa02 f303 lsl.w r3, r2, r3 - 800247e: 43db mvns r3, r3 - 8002480: 69ba ldr r2, [r7, #24] - 8002482: 4013 ands r3, r2 - 8002484: 61bb str r3, [r7, #24] + 8002600: 69fb ldr r3, [r7, #28] + 8002602: f003 0303 and.w r3, r3, #3 + 8002606: 009b lsls r3, r3, #2 + 8002608: 220f movs r2, #15 + 800260a: fa02 f303 lsl.w r3, r2, r3 + 800260e: 43db mvns r3, r3 + 8002610: 69ba ldr r2, [r7, #24] + 8002612: 4013 ands r3, r2 + 8002614: 61bb str r3, [r7, #24] temp |= ((uint32_t)(GPIO_GET_INDEX(GPIOx)) << (4U * (position & 0x03U))); - 8002486: 687b ldr r3, [r7, #4] - 8002488: 4a4f ldr r2, [pc, #316] @ (80025c8 ) - 800248a: 4293 cmp r3, r2 - 800248c: d025 beq.n 80024da - 800248e: 687b ldr r3, [r7, #4] - 8002490: 4a4e ldr r2, [pc, #312] @ (80025cc ) - 8002492: 4293 cmp r3, r2 - 8002494: d01f beq.n 80024d6 - 8002496: 687b ldr r3, [r7, #4] - 8002498: 4a4d ldr r2, [pc, #308] @ (80025d0 ) - 800249a: 4293 cmp r3, r2 - 800249c: d019 beq.n 80024d2 - 800249e: 687b ldr r3, [r7, #4] - 80024a0: 4a4c ldr r2, [pc, #304] @ (80025d4 ) - 80024a2: 4293 cmp r3, r2 - 80024a4: d013 beq.n 80024ce - 80024a6: 687b ldr r3, [r7, #4] - 80024a8: 4a4b ldr r2, [pc, #300] @ (80025d8 ) - 80024aa: 4293 cmp r3, r2 - 80024ac: d00d beq.n 80024ca - 80024ae: 687b ldr r3, [r7, #4] - 80024b0: 4a4a ldr r2, [pc, #296] @ (80025dc ) - 80024b2: 4293 cmp r3, r2 - 80024b4: d007 beq.n 80024c6 - 80024b6: 687b ldr r3, [r7, #4] - 80024b8: 4a49 ldr r2, [pc, #292] @ (80025e0 ) - 80024ba: 4293 cmp r3, r2 - 80024bc: d101 bne.n 80024c2 - 80024be: 2306 movs r3, #6 - 80024c0: e00c b.n 80024dc - 80024c2: 2307 movs r3, #7 - 80024c4: e00a b.n 80024dc - 80024c6: 2305 movs r3, #5 - 80024c8: e008 b.n 80024dc - 80024ca: 2304 movs r3, #4 - 80024cc: e006 b.n 80024dc - 80024ce: 2303 movs r3, #3 - 80024d0: e004 b.n 80024dc - 80024d2: 2302 movs r3, #2 - 80024d4: e002 b.n 80024dc - 80024d6: 2301 movs r3, #1 - 80024d8: e000 b.n 80024dc - 80024da: 2300 movs r3, #0 - 80024dc: 69fa ldr r2, [r7, #28] - 80024de: f002 0203 and.w r2, r2, #3 - 80024e2: 0092 lsls r2, r2, #2 - 80024e4: 4093 lsls r3, r2 - 80024e6: 69ba ldr r2, [r7, #24] - 80024e8: 4313 orrs r3, r2 - 80024ea: 61bb str r3, [r7, #24] + 8002616: 687b ldr r3, [r7, #4] + 8002618: 4a4f ldr r2, [pc, #316] @ (8002758 ) + 800261a: 4293 cmp r3, r2 + 800261c: d025 beq.n 800266a + 800261e: 687b ldr r3, [r7, #4] + 8002620: 4a4e ldr r2, [pc, #312] @ (800275c ) + 8002622: 4293 cmp r3, r2 + 8002624: d01f beq.n 8002666 + 8002626: 687b ldr r3, [r7, #4] + 8002628: 4a4d ldr r2, [pc, #308] @ (8002760 ) + 800262a: 4293 cmp r3, r2 + 800262c: d019 beq.n 8002662 + 800262e: 687b ldr r3, [r7, #4] + 8002630: 4a4c ldr r2, [pc, #304] @ (8002764 ) + 8002632: 4293 cmp r3, r2 + 8002634: d013 beq.n 800265e + 8002636: 687b ldr r3, [r7, #4] + 8002638: 4a4b ldr r2, [pc, #300] @ (8002768 ) + 800263a: 4293 cmp r3, r2 + 800263c: d00d beq.n 800265a + 800263e: 687b ldr r3, [r7, #4] + 8002640: 4a4a ldr r2, [pc, #296] @ (800276c ) + 8002642: 4293 cmp r3, r2 + 8002644: d007 beq.n 8002656 + 8002646: 687b ldr r3, [r7, #4] + 8002648: 4a49 ldr r2, [pc, #292] @ (8002770 ) + 800264a: 4293 cmp r3, r2 + 800264c: d101 bne.n 8002652 + 800264e: 2306 movs r3, #6 + 8002650: e00c b.n 800266c + 8002652: 2307 movs r3, #7 + 8002654: e00a b.n 800266c + 8002656: 2305 movs r3, #5 + 8002658: e008 b.n 800266c + 800265a: 2304 movs r3, #4 + 800265c: e006 b.n 800266c + 800265e: 2303 movs r3, #3 + 8002660: e004 b.n 800266c + 8002662: 2302 movs r3, #2 + 8002664: e002 b.n 800266c + 8002666: 2301 movs r3, #1 + 8002668: e000 b.n 800266c + 800266a: 2300 movs r3, #0 + 800266c: 69fa ldr r2, [r7, #28] + 800266e: f002 0203 and.w r2, r2, #3 + 8002672: 0092 lsls r2, r2, #2 + 8002674: 4093 lsls r3, r2 + 8002676: 69ba ldr r2, [r7, #24] + 8002678: 4313 orrs r3, r2 + 800267a: 61bb str r3, [r7, #24] SYSCFG->EXTICR[position >> 2U] = temp; - 80024ec: 4935 ldr r1, [pc, #212] @ (80025c4 ) - 80024ee: 69fb ldr r3, [r7, #28] - 80024f0: 089b lsrs r3, r3, #2 - 80024f2: 3302 adds r3, #2 - 80024f4: 69ba ldr r2, [r7, #24] - 80024f6: f841 2023 str.w r2, [r1, r3, lsl #2] + 800267c: 4935 ldr r1, [pc, #212] @ (8002754 ) + 800267e: 69fb ldr r3, [r7, #28] + 8002680: 089b lsrs r3, r3, #2 + 8002682: 3302 adds r3, #2 + 8002684: 69ba ldr r2, [r7, #24] + 8002686: f841 2023 str.w r2, [r1, r3, lsl #2] /* Clear Rising Falling edge configuration */ temp = EXTI->RTSR; - 80024fa: 4b3a ldr r3, [pc, #232] @ (80025e4 ) - 80024fc: 689b ldr r3, [r3, #8] - 80024fe: 61bb str r3, [r7, #24] + 800268a: 4b3a ldr r3, [pc, #232] @ (8002774 ) + 800268c: 689b ldr r3, [r3, #8] + 800268e: 61bb str r3, [r7, #24] temp &= ~((uint32_t)iocurrent); - 8002500: 693b ldr r3, [r7, #16] - 8002502: 43db mvns r3, r3 - 8002504: 69ba ldr r2, [r7, #24] - 8002506: 4013 ands r3, r2 - 8002508: 61bb str r3, [r7, #24] + 8002690: 693b ldr r3, [r7, #16] + 8002692: 43db mvns r3, r3 + 8002694: 69ba ldr r2, [r7, #24] + 8002696: 4013 ands r3, r2 + 8002698: 61bb str r3, [r7, #24] if((GPIO_Init->Mode & TRIGGER_RISING) != 0x00U) - 800250a: 683b ldr r3, [r7, #0] - 800250c: 685b ldr r3, [r3, #4] - 800250e: f403 1380 and.w r3, r3, #1048576 @ 0x100000 - 8002512: 2b00 cmp r3, #0 - 8002514: d003 beq.n 800251e + 800269a: 683b ldr r3, [r7, #0] + 800269c: 685b ldr r3, [r3, #4] + 800269e: f403 1380 and.w r3, r3, #1048576 @ 0x100000 + 80026a2: 2b00 cmp r3, #0 + 80026a4: d003 beq.n 80026ae { temp |= iocurrent; - 8002516: 69ba ldr r2, [r7, #24] - 8002518: 693b ldr r3, [r7, #16] - 800251a: 4313 orrs r3, r2 - 800251c: 61bb str r3, [r7, #24] + 80026a6: 69ba ldr r2, [r7, #24] + 80026a8: 693b ldr r3, [r7, #16] + 80026aa: 4313 orrs r3, r2 + 80026ac: 61bb str r3, [r7, #24] } EXTI->RTSR = temp; - 800251e: 4a31 ldr r2, [pc, #196] @ (80025e4 ) - 8002520: 69bb ldr r3, [r7, #24] - 8002522: 6093 str r3, [r2, #8] + 80026ae: 4a31 ldr r2, [pc, #196] @ (8002774 ) + 80026b0: 69bb ldr r3, [r7, #24] + 80026b2: 6093 str r3, [r2, #8] temp = EXTI->FTSR; - 8002524: 4b2f ldr r3, [pc, #188] @ (80025e4 ) - 8002526: 68db ldr r3, [r3, #12] - 8002528: 61bb str r3, [r7, #24] + 80026b4: 4b2f ldr r3, [pc, #188] @ (8002774 ) + 80026b6: 68db ldr r3, [r3, #12] + 80026b8: 61bb str r3, [r7, #24] temp &= ~((uint32_t)iocurrent); - 800252a: 693b ldr r3, [r7, #16] - 800252c: 43db mvns r3, r3 - 800252e: 69ba ldr r2, [r7, #24] - 8002530: 4013 ands r3, r2 - 8002532: 61bb str r3, [r7, #24] + 80026ba: 693b ldr r3, [r7, #16] + 80026bc: 43db mvns r3, r3 + 80026be: 69ba ldr r2, [r7, #24] + 80026c0: 4013 ands r3, r2 + 80026c2: 61bb str r3, [r7, #24] if((GPIO_Init->Mode & TRIGGER_FALLING) != 0x00U) - 8002534: 683b ldr r3, [r7, #0] - 8002536: 685b ldr r3, [r3, #4] - 8002538: f403 1300 and.w r3, r3, #2097152 @ 0x200000 - 800253c: 2b00 cmp r3, #0 - 800253e: d003 beq.n 8002548 + 80026c4: 683b ldr r3, [r7, #0] + 80026c6: 685b ldr r3, [r3, #4] + 80026c8: f403 1300 and.w r3, r3, #2097152 @ 0x200000 + 80026cc: 2b00 cmp r3, #0 + 80026ce: d003 beq.n 80026d8 { temp |= iocurrent; - 8002540: 69ba ldr r2, [r7, #24] - 8002542: 693b ldr r3, [r7, #16] - 8002544: 4313 orrs r3, r2 - 8002546: 61bb str r3, [r7, #24] + 80026d0: 69ba ldr r2, [r7, #24] + 80026d2: 693b ldr r3, [r7, #16] + 80026d4: 4313 orrs r3, r2 + 80026d6: 61bb str r3, [r7, #24] } EXTI->FTSR = temp; - 8002548: 4a26 ldr r2, [pc, #152] @ (80025e4 ) - 800254a: 69bb ldr r3, [r7, #24] - 800254c: 60d3 str r3, [r2, #12] + 80026d8: 4a26 ldr r2, [pc, #152] @ (8002774 ) + 80026da: 69bb ldr r3, [r7, #24] + 80026dc: 60d3 str r3, [r2, #12] temp = EXTI->EMR; - 800254e: 4b25 ldr r3, [pc, #148] @ (80025e4 ) - 8002550: 685b ldr r3, [r3, #4] - 8002552: 61bb str r3, [r7, #24] + 80026de: 4b25 ldr r3, [pc, #148] @ (8002774 ) + 80026e0: 685b ldr r3, [r3, #4] + 80026e2: 61bb str r3, [r7, #24] temp &= ~((uint32_t)iocurrent); - 8002554: 693b ldr r3, [r7, #16] - 8002556: 43db mvns r3, r3 - 8002558: 69ba ldr r2, [r7, #24] - 800255a: 4013 ands r3, r2 - 800255c: 61bb str r3, [r7, #24] + 80026e4: 693b ldr r3, [r7, #16] + 80026e6: 43db mvns r3, r3 + 80026e8: 69ba ldr r2, [r7, #24] + 80026ea: 4013 ands r3, r2 + 80026ec: 61bb str r3, [r7, #24] if((GPIO_Init->Mode & EXTI_EVT) != 0x00U) - 800255e: 683b ldr r3, [r7, #0] - 8002560: 685b ldr r3, [r3, #4] - 8002562: f403 3300 and.w r3, r3, #131072 @ 0x20000 - 8002566: 2b00 cmp r3, #0 - 8002568: d003 beq.n 8002572 + 80026ee: 683b ldr r3, [r7, #0] + 80026f0: 685b ldr r3, [r3, #4] + 80026f2: f403 3300 and.w r3, r3, #131072 @ 0x20000 + 80026f6: 2b00 cmp r3, #0 + 80026f8: d003 beq.n 8002702 { temp |= iocurrent; - 800256a: 69ba ldr r2, [r7, #24] - 800256c: 693b ldr r3, [r7, #16] - 800256e: 4313 orrs r3, r2 - 8002570: 61bb str r3, [r7, #24] + 80026fa: 69ba ldr r2, [r7, #24] + 80026fc: 693b ldr r3, [r7, #16] + 80026fe: 4313 orrs r3, r2 + 8002700: 61bb str r3, [r7, #24] } EXTI->EMR = temp; - 8002572: 4a1c ldr r2, [pc, #112] @ (80025e4 ) - 8002574: 69bb ldr r3, [r7, #24] - 8002576: 6053 str r3, [r2, #4] + 8002702: 4a1c ldr r2, [pc, #112] @ (8002774 ) + 8002704: 69bb ldr r3, [r7, #24] + 8002706: 6053 str r3, [r2, #4] /* Clear EXTI line configuration */ temp = EXTI->IMR; - 8002578: 4b1a ldr r3, [pc, #104] @ (80025e4 ) - 800257a: 681b ldr r3, [r3, #0] - 800257c: 61bb str r3, [r7, #24] + 8002708: 4b1a ldr r3, [pc, #104] @ (8002774 ) + 800270a: 681b ldr r3, [r3, #0] + 800270c: 61bb str r3, [r7, #24] temp &= ~((uint32_t)iocurrent); - 800257e: 693b ldr r3, [r7, #16] - 8002580: 43db mvns r3, r3 - 8002582: 69ba ldr r2, [r7, #24] - 8002584: 4013 ands r3, r2 - 8002586: 61bb str r3, [r7, #24] + 800270e: 693b ldr r3, [r7, #16] + 8002710: 43db mvns r3, r3 + 8002712: 69ba ldr r2, [r7, #24] + 8002714: 4013 ands r3, r2 + 8002716: 61bb str r3, [r7, #24] if((GPIO_Init->Mode & EXTI_IT) != 0x00U) - 8002588: 683b ldr r3, [r7, #0] - 800258a: 685b ldr r3, [r3, #4] - 800258c: f403 3380 and.w r3, r3, #65536 @ 0x10000 - 8002590: 2b00 cmp r3, #0 - 8002592: d003 beq.n 800259c + 8002718: 683b ldr r3, [r7, #0] + 800271a: 685b ldr r3, [r3, #4] + 800271c: f403 3380 and.w r3, r3, #65536 @ 0x10000 + 8002720: 2b00 cmp r3, #0 + 8002722: d003 beq.n 800272c { temp |= iocurrent; - 8002594: 69ba ldr r2, [r7, #24] - 8002596: 693b ldr r3, [r7, #16] - 8002598: 4313 orrs r3, r2 - 800259a: 61bb str r3, [r7, #24] + 8002724: 69ba ldr r2, [r7, #24] + 8002726: 693b ldr r3, [r7, #16] + 8002728: 4313 orrs r3, r2 + 800272a: 61bb str r3, [r7, #24] } EXTI->IMR = temp; - 800259c: 4a11 ldr r2, [pc, #68] @ (80025e4 ) - 800259e: 69bb ldr r3, [r7, #24] - 80025a0: 6013 str r3, [r2, #0] + 800272c: 4a11 ldr r2, [pc, #68] @ (8002774 ) + 800272e: 69bb ldr r3, [r7, #24] + 8002730: 6013 str r3, [r2, #0] for(position = 0U; position < GPIO_NUMBER; position++) - 80025a2: 69fb ldr r3, [r7, #28] - 80025a4: 3301 adds r3, #1 - 80025a6: 61fb str r3, [r7, #28] - 80025a8: 69fb ldr r3, [r7, #28] - 80025aa: 2b0f cmp r3, #15 - 80025ac: f67f ae96 bls.w 80022dc + 8002732: 69fb ldr r3, [r7, #28] + 8002734: 3301 adds r3, #1 + 8002736: 61fb str r3, [r7, #28] + 8002738: 69fb ldr r3, [r7, #28] + 800273a: 2b0f cmp r3, #15 + 800273c: f67f ae96 bls.w 800246c } } } } - 80025b0: bf00 nop - 80025b2: bf00 nop - 80025b4: 3724 adds r7, #36 @ 0x24 - 80025b6: 46bd mov sp, r7 - 80025b8: f85d 7b04 ldr.w r7, [sp], #4 - 80025bc: 4770 bx lr - 80025be: bf00 nop - 80025c0: 40023800 .word 0x40023800 - 80025c4: 40013800 .word 0x40013800 - 80025c8: 40020000 .word 0x40020000 - 80025cc: 40020400 .word 0x40020400 - 80025d0: 40020800 .word 0x40020800 - 80025d4: 40020c00 .word 0x40020c00 - 80025d8: 40021000 .word 0x40021000 - 80025dc: 40021400 .word 0x40021400 - 80025e0: 40021800 .word 0x40021800 - 80025e4: 40013c00 .word 0x40013c00 + 8002740: bf00 nop + 8002742: bf00 nop + 8002744: 3724 adds r7, #36 @ 0x24 + 8002746: 46bd mov sp, r7 + 8002748: f85d 7b04 ldr.w r7, [sp], #4 + 800274c: 4770 bx lr + 800274e: bf00 nop + 8002750: 40023800 .word 0x40023800 + 8002754: 40013800 .word 0x40013800 + 8002758: 40020000 .word 0x40020000 + 800275c: 40020400 .word 0x40020400 + 8002760: 40020800 .word 0x40020800 + 8002764: 40020c00 .word 0x40020c00 + 8002768: 40021000 .word 0x40021000 + 800276c: 40021400 .word 0x40021400 + 8002770: 40021800 .word 0x40021800 + 8002774: 40013c00 .word 0x40013c00 -080025e8 : +08002778 : * @param GPIO_Pin specifies the port bit to read. * This parameter can be GPIO_PIN_x where x can be (0..15). * @retval The input port pin value. */ GPIO_PinState HAL_GPIO_ReadPin(GPIO_TypeDef* GPIOx, uint16_t GPIO_Pin) { - 80025e8: b480 push {r7} - 80025ea: b085 sub sp, #20 - 80025ec: af00 add r7, sp, #0 - 80025ee: 6078 str r0, [r7, #4] - 80025f0: 460b mov r3, r1 - 80025f2: 807b strh r3, [r7, #2] + 8002778: b480 push {r7} + 800277a: b085 sub sp, #20 + 800277c: af00 add r7, sp, #0 + 800277e: 6078 str r0, [r7, #4] + 8002780: 460b mov r3, r1 + 8002782: 807b strh r3, [r7, #2] GPIO_PinState bitstatus; /* Check the parameters */ assert_param(IS_GPIO_PIN(GPIO_Pin)); if((GPIOx->IDR & GPIO_Pin) != (uint32_t)GPIO_PIN_RESET) - 80025f4: 687b ldr r3, [r7, #4] - 80025f6: 691a ldr r2, [r3, #16] - 80025f8: 887b ldrh r3, [r7, #2] - 80025fa: 4013 ands r3, r2 - 80025fc: 2b00 cmp r3, #0 - 80025fe: d002 beq.n 8002606 + 8002784: 687b ldr r3, [r7, #4] + 8002786: 691a ldr r2, [r3, #16] + 8002788: 887b ldrh r3, [r7, #2] + 800278a: 4013 ands r3, r2 + 800278c: 2b00 cmp r3, #0 + 800278e: d002 beq.n 8002796 { bitstatus = GPIO_PIN_SET; - 8002600: 2301 movs r3, #1 - 8002602: 73fb strb r3, [r7, #15] - 8002604: e001 b.n 800260a + 8002790: 2301 movs r3, #1 + 8002792: 73fb strb r3, [r7, #15] + 8002794: e001 b.n 800279a } else { bitstatus = GPIO_PIN_RESET; - 8002606: 2300 movs r3, #0 - 8002608: 73fb strb r3, [r7, #15] + 8002796: 2300 movs r3, #0 + 8002798: 73fb strb r3, [r7, #15] } return bitstatus; - 800260a: 7bfb ldrb r3, [r7, #15] + 800279a: 7bfb ldrb r3, [r7, #15] } - 800260c: 4618 mov r0, r3 - 800260e: 3714 adds r7, #20 - 8002610: 46bd mov sp, r7 - 8002612: f85d 7b04 ldr.w r7, [sp], #4 - 8002616: 4770 bx lr + 800279c: 4618 mov r0, r3 + 800279e: 3714 adds r7, #20 + 80027a0: 46bd mov sp, r7 + 80027a2: f85d 7b04 ldr.w r7, [sp], #4 + 80027a6: 4770 bx lr -08002618 : +080027a8 : * @arg GPIO_PIN_RESET: to clear the port pin * @arg GPIO_PIN_SET: to set the port pin * @retval None */ void HAL_GPIO_WritePin(GPIO_TypeDef* GPIOx, uint16_t GPIO_Pin, GPIO_PinState PinState) { - 8002618: b480 push {r7} - 800261a: b083 sub sp, #12 - 800261c: af00 add r7, sp, #0 - 800261e: 6078 str r0, [r7, #4] - 8002620: 460b mov r3, r1 - 8002622: 807b strh r3, [r7, #2] - 8002624: 4613 mov r3, r2 - 8002626: 707b strb r3, [r7, #1] + 80027a8: b480 push {r7} + 80027aa: b083 sub sp, #12 + 80027ac: af00 add r7, sp, #0 + 80027ae: 6078 str r0, [r7, #4] + 80027b0: 460b mov r3, r1 + 80027b2: 807b strh r3, [r7, #2] + 80027b4: 4613 mov r3, r2 + 80027b6: 707b strb r3, [r7, #1] /* Check the parameters */ assert_param(IS_GPIO_PIN(GPIO_Pin)); assert_param(IS_GPIO_PIN_ACTION(PinState)); if(PinState != GPIO_PIN_RESET) - 8002628: 787b ldrb r3, [r7, #1] - 800262a: 2b00 cmp r3, #0 - 800262c: d003 beq.n 8002636 + 80027b8: 787b ldrb r3, [r7, #1] + 80027ba: 2b00 cmp r3, #0 + 80027bc: d003 beq.n 80027c6 { GPIOx->BSRR = GPIO_Pin; - 800262e: 887a ldrh r2, [r7, #2] - 8002630: 687b ldr r3, [r7, #4] - 8002632: 619a str r2, [r3, #24] + 80027be: 887a ldrh r2, [r7, #2] + 80027c0: 687b ldr r3, [r7, #4] + 80027c2: 619a str r2, [r3, #24] } else { GPIOx->BSRR = (uint32_t)GPIO_Pin << 16U; } } - 8002634: e003 b.n 800263e + 80027c4: e003 b.n 80027ce GPIOx->BSRR = (uint32_t)GPIO_Pin << 16U; - 8002636: 887b ldrh r3, [r7, #2] - 8002638: 041a lsls r2, r3, #16 - 800263a: 687b ldr r3, [r7, #4] - 800263c: 619a str r2, [r3, #24] + 80027c6: 887b ldrh r3, [r7, #2] + 80027c8: 041a lsls r2, r3, #16 + 80027ca: 687b ldr r3, [r7, #4] + 80027cc: 619a str r2, [r3, #24] } - 800263e: bf00 nop - 8002640: 370c adds r7, #12 - 8002642: 46bd mov sp, r7 - 8002644: f85d 7b04 ldr.w r7, [sp], #4 - 8002648: 4770 bx lr + 80027ce: bf00 nop + 80027d0: 370c adds r7, #12 + 80027d2: 46bd mov sp, r7 + 80027d4: f85d 7b04 ldr.w r7, [sp], #4 + 80027d8: 4770 bx lr ... -0800264c : +080027dc : * @param hi2c Pointer to a I2C_HandleTypeDef structure that contains * the configuration information for the specified I2C. * @retval HAL status */ HAL_StatusTypeDef HAL_I2C_Init(I2C_HandleTypeDef *hi2c) { - 800264c: b580 push {r7, lr} - 800264e: b084 sub sp, #16 - 8002650: af00 add r7, sp, #0 - 8002652: 6078 str r0, [r7, #4] + 80027dc: b580 push {r7, lr} + 80027de: b084 sub sp, #16 + 80027e0: af00 add r7, sp, #0 + 80027e2: 6078 str r0, [r7, #4] uint32_t freqrange; uint32_t pclk1; /* Check the I2C handle allocation */ if (hi2c == NULL) - 8002654: 687b ldr r3, [r7, #4] - 8002656: 2b00 cmp r3, #0 - 8002658: d101 bne.n 800265e + 80027e4: 687b ldr r3, [r7, #4] + 80027e6: 2b00 cmp r3, #0 + 80027e8: d101 bne.n 80027ee { return HAL_ERROR; - 800265a: 2301 movs r3, #1 - 800265c: e12b b.n 80028b6 + 80027ea: 2301 movs r3, #1 + 80027ec: e12b b.n 8002a46 assert_param(IS_I2C_DUAL_ADDRESS(hi2c->Init.DualAddressMode)); assert_param(IS_I2C_OWN_ADDRESS2(hi2c->Init.OwnAddress2)); assert_param(IS_I2C_GENERAL_CALL(hi2c->Init.GeneralCallMode)); assert_param(IS_I2C_NO_STRETCH(hi2c->Init.NoStretchMode)); if (hi2c->State == HAL_I2C_STATE_RESET) - 800265e: 687b ldr r3, [r7, #4] - 8002660: f893 303d ldrb.w r3, [r3, #61] @ 0x3d - 8002664: b2db uxtb r3, r3 - 8002666: 2b00 cmp r3, #0 - 8002668: d106 bne.n 8002678 + 80027ee: 687b ldr r3, [r7, #4] + 80027f0: f893 303d ldrb.w r3, [r3, #61] @ 0x3d + 80027f4: b2db uxtb r3, r3 + 80027f6: 2b00 cmp r3, #0 + 80027f8: d106 bne.n 8002808 { /* Allocate lock resource and initialize it */ hi2c->Lock = HAL_UNLOCKED; - 800266a: 687b ldr r3, [r7, #4] - 800266c: 2200 movs r2, #0 - 800266e: f883 203c strb.w r2, [r3, #60] @ 0x3c + 80027fa: 687b ldr r3, [r7, #4] + 80027fc: 2200 movs r2, #0 + 80027fe: f883 203c strb.w r2, [r3, #60] @ 0x3c /* Init the low level hardware : GPIO, CLOCK, NVIC */ hi2c->MspInitCallback(hi2c); #else /* Init the low level hardware : GPIO, CLOCK, NVIC */ HAL_I2C_MspInit(hi2c); - 8002672: 6878 ldr r0, [r7, #4] - 8002674: f7fe f890 bl 8000798 + 8002802: 6878 ldr r0, [r7, #4] + 8002804: f7fd ffc8 bl 8000798 #endif /* USE_HAL_I2C_REGISTER_CALLBACKS */ } hi2c->State = HAL_I2C_STATE_BUSY; - 8002678: 687b ldr r3, [r7, #4] - 800267a: 2224 movs r2, #36 @ 0x24 - 800267c: f883 203d strb.w r2, [r3, #61] @ 0x3d + 8002808: 687b ldr r3, [r7, #4] + 800280a: 2224 movs r2, #36 @ 0x24 + 800280c: f883 203d strb.w r2, [r3, #61] @ 0x3d /* Disable the selected I2C peripheral */ __HAL_I2C_DISABLE(hi2c); - 8002680: 687b ldr r3, [r7, #4] - 8002682: 681b ldr r3, [r3, #0] - 8002684: 681a ldr r2, [r3, #0] - 8002686: 687b ldr r3, [r7, #4] - 8002688: 681b ldr r3, [r3, #0] - 800268a: f022 0201 bic.w r2, r2, #1 - 800268e: 601a str r2, [r3, #0] + 8002810: 687b ldr r3, [r7, #4] + 8002812: 681b ldr r3, [r3, #0] + 8002814: 681a ldr r2, [r3, #0] + 8002816: 687b ldr r3, [r7, #4] + 8002818: 681b ldr r3, [r3, #0] + 800281a: f022 0201 bic.w r2, r2, #1 + 800281e: 601a str r2, [r3, #0] /*Reset I2C*/ hi2c->Instance->CR1 |= I2C_CR1_SWRST; - 8002690: 687b ldr r3, [r7, #4] - 8002692: 681b ldr r3, [r3, #0] - 8002694: 681a ldr r2, [r3, #0] - 8002696: 687b ldr r3, [r7, #4] - 8002698: 681b ldr r3, [r3, #0] - 800269a: f442 4200 orr.w r2, r2, #32768 @ 0x8000 - 800269e: 601a str r2, [r3, #0] + 8002820: 687b ldr r3, [r7, #4] + 8002822: 681b ldr r3, [r3, #0] + 8002824: 681a ldr r2, [r3, #0] + 8002826: 687b ldr r3, [r7, #4] + 8002828: 681b ldr r3, [r3, #0] + 800282a: f442 4200 orr.w r2, r2, #32768 @ 0x8000 + 800282e: 601a str r2, [r3, #0] hi2c->Instance->CR1 &= ~I2C_CR1_SWRST; - 80026a0: 687b ldr r3, [r7, #4] - 80026a2: 681b ldr r3, [r3, #0] - 80026a4: 681a ldr r2, [r3, #0] - 80026a6: 687b ldr r3, [r7, #4] - 80026a8: 681b ldr r3, [r3, #0] - 80026aa: f422 4200 bic.w r2, r2, #32768 @ 0x8000 - 80026ae: 601a str r2, [r3, #0] + 8002830: 687b ldr r3, [r7, #4] + 8002832: 681b ldr r3, [r3, #0] + 8002834: 681a ldr r2, [r3, #0] + 8002836: 687b ldr r3, [r7, #4] + 8002838: 681b ldr r3, [r3, #0] + 800283a: f422 4200 bic.w r2, r2, #32768 @ 0x8000 + 800283e: 601a str r2, [r3, #0] /* Get PCLK1 frequency */ pclk1 = HAL_RCC_GetPCLK1Freq(); - 80026b0: f001 fc88 bl 8003fc4 - 80026b4: 60f8 str r0, [r7, #12] + 8002840: f001 fc88 bl 8004154 + 8002844: 60f8 str r0, [r7, #12] /* Check the minimum allowed PCLK1 frequency */ if (I2C_MIN_PCLK_FREQ(pclk1, hi2c->Init.ClockSpeed) == 1U) - 80026b6: 687b ldr r3, [r7, #4] - 80026b8: 685b ldr r3, [r3, #4] - 80026ba: 4a81 ldr r2, [pc, #516] @ (80028c0 ) - 80026bc: 4293 cmp r3, r2 - 80026be: d807 bhi.n 80026d0 - 80026c0: 68fb ldr r3, [r7, #12] - 80026c2: 4a80 ldr r2, [pc, #512] @ (80028c4 ) - 80026c4: 4293 cmp r3, r2 - 80026c6: bf94 ite ls - 80026c8: 2301 movls r3, #1 - 80026ca: 2300 movhi r3, #0 - 80026cc: b2db uxtb r3, r3 - 80026ce: e006 b.n 80026de - 80026d0: 68fb ldr r3, [r7, #12] - 80026d2: 4a7d ldr r2, [pc, #500] @ (80028c8 ) - 80026d4: 4293 cmp r3, r2 - 80026d6: bf94 ite ls - 80026d8: 2301 movls r3, #1 - 80026da: 2300 movhi r3, #0 - 80026dc: b2db uxtb r3, r3 - 80026de: 2b00 cmp r3, #0 - 80026e0: d001 beq.n 80026e6 + 8002846: 687b ldr r3, [r7, #4] + 8002848: 685b ldr r3, [r3, #4] + 800284a: 4a81 ldr r2, [pc, #516] @ (8002a50 ) + 800284c: 4293 cmp r3, r2 + 800284e: d807 bhi.n 8002860 + 8002850: 68fb ldr r3, [r7, #12] + 8002852: 4a80 ldr r2, [pc, #512] @ (8002a54 ) + 8002854: 4293 cmp r3, r2 + 8002856: bf94 ite ls + 8002858: 2301 movls r3, #1 + 800285a: 2300 movhi r3, #0 + 800285c: b2db uxtb r3, r3 + 800285e: e006 b.n 800286e + 8002860: 68fb ldr r3, [r7, #12] + 8002862: 4a7d ldr r2, [pc, #500] @ (8002a58 ) + 8002864: 4293 cmp r3, r2 + 8002866: bf94 ite ls + 8002868: 2301 movls r3, #1 + 800286a: 2300 movhi r3, #0 + 800286c: b2db uxtb r3, r3 + 800286e: 2b00 cmp r3, #0 + 8002870: d001 beq.n 8002876 { return HAL_ERROR; - 80026e2: 2301 movs r3, #1 - 80026e4: e0e7 b.n 80028b6 + 8002872: 2301 movs r3, #1 + 8002874: e0e7 b.n 8002a46 } /* Calculate frequency range */ freqrange = I2C_FREQRANGE(pclk1); - 80026e6: 68fb ldr r3, [r7, #12] - 80026e8: 4a78 ldr r2, [pc, #480] @ (80028cc ) - 80026ea: fba2 2303 umull r2, r3, r2, r3 - 80026ee: 0c9b lsrs r3, r3, #18 - 80026f0: 60bb str r3, [r7, #8] + 8002876: 68fb ldr r3, [r7, #12] + 8002878: 4a78 ldr r2, [pc, #480] @ (8002a5c ) + 800287a: fba2 2303 umull r2, r3, r2, r3 + 800287e: 0c9b lsrs r3, r3, #18 + 8002880: 60bb str r3, [r7, #8] /*---------------------------- I2Cx CR2 Configuration ----------------------*/ /* Configure I2Cx: Frequency range */ MODIFY_REG(hi2c->Instance->CR2, I2C_CR2_FREQ, freqrange); - 80026f2: 687b ldr r3, [r7, #4] - 80026f4: 681b ldr r3, [r3, #0] - 80026f6: 685b ldr r3, [r3, #4] - 80026f8: f023 013f bic.w r1, r3, #63 @ 0x3f - 80026fc: 687b ldr r3, [r7, #4] - 80026fe: 681b ldr r3, [r3, #0] - 8002700: 68ba ldr r2, [r7, #8] - 8002702: 430a orrs r2, r1 - 8002704: 605a str r2, [r3, #4] + 8002882: 687b ldr r3, [r7, #4] + 8002884: 681b ldr r3, [r3, #0] + 8002886: 685b ldr r3, [r3, #4] + 8002888: f023 013f bic.w r1, r3, #63 @ 0x3f + 800288c: 687b ldr r3, [r7, #4] + 800288e: 681b ldr r3, [r3, #0] + 8002890: 68ba ldr r2, [r7, #8] + 8002892: 430a orrs r2, r1 + 8002894: 605a str r2, [r3, #4] /*---------------------------- I2Cx TRISE Configuration --------------------*/ /* Configure I2Cx: Rise Time */ MODIFY_REG(hi2c->Instance->TRISE, I2C_TRISE_TRISE, I2C_RISE_TIME(freqrange, hi2c->Init.ClockSpeed)); - 8002706: 687b ldr r3, [r7, #4] - 8002708: 681b ldr r3, [r3, #0] - 800270a: 6a1b ldr r3, [r3, #32] - 800270c: f023 013f bic.w r1, r3, #63 @ 0x3f - 8002710: 687b ldr r3, [r7, #4] - 8002712: 685b ldr r3, [r3, #4] - 8002714: 4a6a ldr r2, [pc, #424] @ (80028c0 ) - 8002716: 4293 cmp r3, r2 - 8002718: d802 bhi.n 8002720 - 800271a: 68bb ldr r3, [r7, #8] - 800271c: 3301 adds r3, #1 - 800271e: e009 b.n 8002734 - 8002720: 68bb ldr r3, [r7, #8] - 8002722: f44f 7296 mov.w r2, #300 @ 0x12c - 8002726: fb02 f303 mul.w r3, r2, r3 - 800272a: 4a69 ldr r2, [pc, #420] @ (80028d0 ) - 800272c: fba2 2303 umull r2, r3, r2, r3 - 8002730: 099b lsrs r3, r3, #6 - 8002732: 3301 adds r3, #1 - 8002734: 687a ldr r2, [r7, #4] - 8002736: 6812 ldr r2, [r2, #0] - 8002738: 430b orrs r3, r1 - 800273a: 6213 str r3, [r2, #32] + 8002896: 687b ldr r3, [r7, #4] + 8002898: 681b ldr r3, [r3, #0] + 800289a: 6a1b ldr r3, [r3, #32] + 800289c: f023 013f bic.w r1, r3, #63 @ 0x3f + 80028a0: 687b ldr r3, [r7, #4] + 80028a2: 685b ldr r3, [r3, #4] + 80028a4: 4a6a ldr r2, [pc, #424] @ (8002a50 ) + 80028a6: 4293 cmp r3, r2 + 80028a8: d802 bhi.n 80028b0 + 80028aa: 68bb ldr r3, [r7, #8] + 80028ac: 3301 adds r3, #1 + 80028ae: e009 b.n 80028c4 + 80028b0: 68bb ldr r3, [r7, #8] + 80028b2: f44f 7296 mov.w r2, #300 @ 0x12c + 80028b6: fb02 f303 mul.w r3, r2, r3 + 80028ba: 4a69 ldr r2, [pc, #420] @ (8002a60 ) + 80028bc: fba2 2303 umull r2, r3, r2, r3 + 80028c0: 099b lsrs r3, r3, #6 + 80028c2: 3301 adds r3, #1 + 80028c4: 687a ldr r2, [r7, #4] + 80028c6: 6812 ldr r2, [r2, #0] + 80028c8: 430b orrs r3, r1 + 80028ca: 6213 str r3, [r2, #32] /*---------------------------- I2Cx CCR Configuration ----------------------*/ /* Configure I2Cx: Speed */ MODIFY_REG(hi2c->Instance->CCR, (I2C_CCR_FS | I2C_CCR_DUTY | I2C_CCR_CCR), I2C_SPEED(pclk1, hi2c->Init.ClockSpeed, hi2c->Init.DutyCycle)); - 800273c: 687b ldr r3, [r7, #4] - 800273e: 681b ldr r3, [r3, #0] - 8002740: 69db ldr r3, [r3, #28] - 8002742: f423 424f bic.w r2, r3, #52992 @ 0xcf00 - 8002746: f022 02ff bic.w r2, r2, #255 @ 0xff - 800274a: 687b ldr r3, [r7, #4] - 800274c: 685b ldr r3, [r3, #4] - 800274e: 495c ldr r1, [pc, #368] @ (80028c0 ) - 8002750: 428b cmp r3, r1 - 8002752: d819 bhi.n 8002788 - 8002754: 68fb ldr r3, [r7, #12] - 8002756: 1e59 subs r1, r3, #1 - 8002758: 687b ldr r3, [r7, #4] - 800275a: 685b ldr r3, [r3, #4] - 800275c: 005b lsls r3, r3, #1 - 800275e: fbb1 f3f3 udiv r3, r1, r3 - 8002762: 1c59 adds r1, r3, #1 - 8002764: f640 73fc movw r3, #4092 @ 0xffc - 8002768: 400b ands r3, r1 - 800276a: 2b00 cmp r3, #0 - 800276c: d00a beq.n 8002784 - 800276e: 68fb ldr r3, [r7, #12] - 8002770: 1e59 subs r1, r3, #1 - 8002772: 687b ldr r3, [r7, #4] - 8002774: 685b ldr r3, [r3, #4] - 8002776: 005b lsls r3, r3, #1 - 8002778: fbb1 f3f3 udiv r3, r1, r3 - 800277c: 3301 adds r3, #1 - 800277e: f3c3 030b ubfx r3, r3, #0, #12 - 8002782: e051 b.n 8002828 - 8002784: 2304 movs r3, #4 - 8002786: e04f b.n 8002828 - 8002788: 687b ldr r3, [r7, #4] - 800278a: 689b ldr r3, [r3, #8] - 800278c: 2b00 cmp r3, #0 - 800278e: d111 bne.n 80027b4 - 8002790: 68fb ldr r3, [r7, #12] - 8002792: 1e58 subs r0, r3, #1 - 8002794: 687b ldr r3, [r7, #4] - 8002796: 6859 ldr r1, [r3, #4] - 8002798: 460b mov r3, r1 - 800279a: 005b lsls r3, r3, #1 - 800279c: 440b add r3, r1 - 800279e: fbb0 f3f3 udiv r3, r0, r3 - 80027a2: 3301 adds r3, #1 - 80027a4: f3c3 030b ubfx r3, r3, #0, #12 - 80027a8: 2b00 cmp r3, #0 - 80027aa: bf0c ite eq - 80027ac: 2301 moveq r3, #1 - 80027ae: 2300 movne r3, #0 - 80027b0: b2db uxtb r3, r3 - 80027b2: e012 b.n 80027da - 80027b4: 68fb ldr r3, [r7, #12] - 80027b6: 1e58 subs r0, r3, #1 - 80027b8: 687b ldr r3, [r7, #4] - 80027ba: 6859 ldr r1, [r3, #4] - 80027bc: 460b mov r3, r1 - 80027be: 009b lsls r3, r3, #2 - 80027c0: 440b add r3, r1 - 80027c2: 0099 lsls r1, r3, #2 - 80027c4: 440b add r3, r1 - 80027c6: fbb0 f3f3 udiv r3, r0, r3 - 80027ca: 3301 adds r3, #1 - 80027cc: f3c3 030b ubfx r3, r3, #0, #12 - 80027d0: 2b00 cmp r3, #0 - 80027d2: bf0c ite eq - 80027d4: 2301 moveq r3, #1 - 80027d6: 2300 movne r3, #0 - 80027d8: b2db uxtb r3, r3 - 80027da: 2b00 cmp r3, #0 - 80027dc: d001 beq.n 80027e2 - 80027de: 2301 movs r3, #1 - 80027e0: e022 b.n 8002828 - 80027e2: 687b ldr r3, [r7, #4] - 80027e4: 689b ldr r3, [r3, #8] - 80027e6: 2b00 cmp r3, #0 - 80027e8: d10e bne.n 8002808 - 80027ea: 68fb ldr r3, [r7, #12] - 80027ec: 1e58 subs r0, r3, #1 - 80027ee: 687b ldr r3, [r7, #4] - 80027f0: 6859 ldr r1, [r3, #4] - 80027f2: 460b mov r3, r1 - 80027f4: 005b lsls r3, r3, #1 - 80027f6: 440b add r3, r1 - 80027f8: fbb0 f3f3 udiv r3, r0, r3 - 80027fc: 3301 adds r3, #1 - 80027fe: f3c3 030b ubfx r3, r3, #0, #12 - 8002802: f443 4300 orr.w r3, r3, #32768 @ 0x8000 - 8002806: e00f b.n 8002828 - 8002808: 68fb ldr r3, [r7, #12] - 800280a: 1e58 subs r0, r3, #1 - 800280c: 687b ldr r3, [r7, #4] - 800280e: 6859 ldr r1, [r3, #4] - 8002810: 460b mov r3, r1 - 8002812: 009b lsls r3, r3, #2 - 8002814: 440b add r3, r1 - 8002816: 0099 lsls r1, r3, #2 - 8002818: 440b add r3, r1 - 800281a: fbb0 f3f3 udiv r3, r0, r3 - 800281e: 3301 adds r3, #1 - 8002820: f3c3 030b ubfx r3, r3, #0, #12 - 8002824: f443 4340 orr.w r3, r3, #49152 @ 0xc000 - 8002828: 6879 ldr r1, [r7, #4] - 800282a: 6809 ldr r1, [r1, #0] - 800282c: 4313 orrs r3, r2 - 800282e: 61cb str r3, [r1, #28] + 80028cc: 687b ldr r3, [r7, #4] + 80028ce: 681b ldr r3, [r3, #0] + 80028d0: 69db ldr r3, [r3, #28] + 80028d2: f423 424f bic.w r2, r3, #52992 @ 0xcf00 + 80028d6: f022 02ff bic.w r2, r2, #255 @ 0xff + 80028da: 687b ldr r3, [r7, #4] + 80028dc: 685b ldr r3, [r3, #4] + 80028de: 495c ldr r1, [pc, #368] @ (8002a50 ) + 80028e0: 428b cmp r3, r1 + 80028e2: d819 bhi.n 8002918 + 80028e4: 68fb ldr r3, [r7, #12] + 80028e6: 1e59 subs r1, r3, #1 + 80028e8: 687b ldr r3, [r7, #4] + 80028ea: 685b ldr r3, [r3, #4] + 80028ec: 005b lsls r3, r3, #1 + 80028ee: fbb1 f3f3 udiv r3, r1, r3 + 80028f2: 1c59 adds r1, r3, #1 + 80028f4: f640 73fc movw r3, #4092 @ 0xffc + 80028f8: 400b ands r3, r1 + 80028fa: 2b00 cmp r3, #0 + 80028fc: d00a beq.n 8002914 + 80028fe: 68fb ldr r3, [r7, #12] + 8002900: 1e59 subs r1, r3, #1 + 8002902: 687b ldr r3, [r7, #4] + 8002904: 685b ldr r3, [r3, #4] + 8002906: 005b lsls r3, r3, #1 + 8002908: fbb1 f3f3 udiv r3, r1, r3 + 800290c: 3301 adds r3, #1 + 800290e: f3c3 030b ubfx r3, r3, #0, #12 + 8002912: e051 b.n 80029b8 + 8002914: 2304 movs r3, #4 + 8002916: e04f b.n 80029b8 + 8002918: 687b ldr r3, [r7, #4] + 800291a: 689b ldr r3, [r3, #8] + 800291c: 2b00 cmp r3, #0 + 800291e: d111 bne.n 8002944 + 8002920: 68fb ldr r3, [r7, #12] + 8002922: 1e58 subs r0, r3, #1 + 8002924: 687b ldr r3, [r7, #4] + 8002926: 6859 ldr r1, [r3, #4] + 8002928: 460b mov r3, r1 + 800292a: 005b lsls r3, r3, #1 + 800292c: 440b add r3, r1 + 800292e: fbb0 f3f3 udiv r3, r0, r3 + 8002932: 3301 adds r3, #1 + 8002934: f3c3 030b ubfx r3, r3, #0, #12 + 8002938: 2b00 cmp r3, #0 + 800293a: bf0c ite eq + 800293c: 2301 moveq r3, #1 + 800293e: 2300 movne r3, #0 + 8002940: b2db uxtb r3, r3 + 8002942: e012 b.n 800296a + 8002944: 68fb ldr r3, [r7, #12] + 8002946: 1e58 subs r0, r3, #1 + 8002948: 687b ldr r3, [r7, #4] + 800294a: 6859 ldr r1, [r3, #4] + 800294c: 460b mov r3, r1 + 800294e: 009b lsls r3, r3, #2 + 8002950: 440b add r3, r1 + 8002952: 0099 lsls r1, r3, #2 + 8002954: 440b add r3, r1 + 8002956: fbb0 f3f3 udiv r3, r0, r3 + 800295a: 3301 adds r3, #1 + 800295c: f3c3 030b ubfx r3, r3, #0, #12 + 8002960: 2b00 cmp r3, #0 + 8002962: bf0c ite eq + 8002964: 2301 moveq r3, #1 + 8002966: 2300 movne r3, #0 + 8002968: b2db uxtb r3, r3 + 800296a: 2b00 cmp r3, #0 + 800296c: d001 beq.n 8002972 + 800296e: 2301 movs r3, #1 + 8002970: e022 b.n 80029b8 + 8002972: 687b ldr r3, [r7, #4] + 8002974: 689b ldr r3, [r3, #8] + 8002976: 2b00 cmp r3, #0 + 8002978: d10e bne.n 8002998 + 800297a: 68fb ldr r3, [r7, #12] + 800297c: 1e58 subs r0, r3, #1 + 800297e: 687b ldr r3, [r7, #4] + 8002980: 6859 ldr r1, [r3, #4] + 8002982: 460b mov r3, r1 + 8002984: 005b lsls r3, r3, #1 + 8002986: 440b add r3, r1 + 8002988: fbb0 f3f3 udiv r3, r0, r3 + 800298c: 3301 adds r3, #1 + 800298e: f3c3 030b ubfx r3, r3, #0, #12 + 8002992: f443 4300 orr.w r3, r3, #32768 @ 0x8000 + 8002996: e00f b.n 80029b8 + 8002998: 68fb ldr r3, [r7, #12] + 800299a: 1e58 subs r0, r3, #1 + 800299c: 687b ldr r3, [r7, #4] + 800299e: 6859 ldr r1, [r3, #4] + 80029a0: 460b mov r3, r1 + 80029a2: 009b lsls r3, r3, #2 + 80029a4: 440b add r3, r1 + 80029a6: 0099 lsls r1, r3, #2 + 80029a8: 440b add r3, r1 + 80029aa: fbb0 f3f3 udiv r3, r0, r3 + 80029ae: 3301 adds r3, #1 + 80029b0: f3c3 030b ubfx r3, r3, #0, #12 + 80029b4: f443 4340 orr.w r3, r3, #49152 @ 0xc000 + 80029b8: 6879 ldr r1, [r7, #4] + 80029ba: 6809 ldr r1, [r1, #0] + 80029bc: 4313 orrs r3, r2 + 80029be: 61cb str r3, [r1, #28] /*---------------------------- I2Cx CR1 Configuration ----------------------*/ /* Configure I2Cx: Generalcall and NoStretch mode */ MODIFY_REG(hi2c->Instance->CR1, (I2C_CR1_ENGC | I2C_CR1_NOSTRETCH), (hi2c->Init.GeneralCallMode | hi2c->Init.NoStretchMode)); - 8002830: 687b ldr r3, [r7, #4] - 8002832: 681b ldr r3, [r3, #0] - 8002834: 681b ldr r3, [r3, #0] - 8002836: f023 01c0 bic.w r1, r3, #192 @ 0xc0 - 800283a: 687b ldr r3, [r7, #4] - 800283c: 69da ldr r2, [r3, #28] - 800283e: 687b ldr r3, [r7, #4] - 8002840: 6a1b ldr r3, [r3, #32] - 8002842: 431a orrs r2, r3 - 8002844: 687b ldr r3, [r7, #4] - 8002846: 681b ldr r3, [r3, #0] - 8002848: 430a orrs r2, r1 - 800284a: 601a str r2, [r3, #0] + 80029c0: 687b ldr r3, [r7, #4] + 80029c2: 681b ldr r3, [r3, #0] + 80029c4: 681b ldr r3, [r3, #0] + 80029c6: f023 01c0 bic.w r1, r3, #192 @ 0xc0 + 80029ca: 687b ldr r3, [r7, #4] + 80029cc: 69da ldr r2, [r3, #28] + 80029ce: 687b ldr r3, [r7, #4] + 80029d0: 6a1b ldr r3, [r3, #32] + 80029d2: 431a orrs r2, r3 + 80029d4: 687b ldr r3, [r7, #4] + 80029d6: 681b ldr r3, [r3, #0] + 80029d8: 430a orrs r2, r1 + 80029da: 601a str r2, [r3, #0] /*---------------------------- I2Cx OAR1 Configuration ---------------------*/ /* Configure I2Cx: Own Address1 and addressing mode */ MODIFY_REG(hi2c->Instance->OAR1, (I2C_OAR1_ADDMODE | I2C_OAR1_ADD8_9 | I2C_OAR1_ADD1_7 | I2C_OAR1_ADD0), (hi2c->Init.AddressingMode | hi2c->Init.OwnAddress1)); - 800284c: 687b ldr r3, [r7, #4] - 800284e: 681b ldr r3, [r3, #0] - 8002850: 689b ldr r3, [r3, #8] - 8002852: f423 4303 bic.w r3, r3, #33536 @ 0x8300 - 8002856: f023 03ff bic.w r3, r3, #255 @ 0xff - 800285a: 687a ldr r2, [r7, #4] - 800285c: 6911 ldr r1, [r2, #16] - 800285e: 687a ldr r2, [r7, #4] - 8002860: 68d2 ldr r2, [r2, #12] - 8002862: 4311 orrs r1, r2 - 8002864: 687a ldr r2, [r7, #4] - 8002866: 6812 ldr r2, [r2, #0] - 8002868: 430b orrs r3, r1 - 800286a: 6093 str r3, [r2, #8] + 80029dc: 687b ldr r3, [r7, #4] + 80029de: 681b ldr r3, [r3, #0] + 80029e0: 689b ldr r3, [r3, #8] + 80029e2: f423 4303 bic.w r3, r3, #33536 @ 0x8300 + 80029e6: f023 03ff bic.w r3, r3, #255 @ 0xff + 80029ea: 687a ldr r2, [r7, #4] + 80029ec: 6911 ldr r1, [r2, #16] + 80029ee: 687a ldr r2, [r7, #4] + 80029f0: 68d2 ldr r2, [r2, #12] + 80029f2: 4311 orrs r1, r2 + 80029f4: 687a ldr r2, [r7, #4] + 80029f6: 6812 ldr r2, [r2, #0] + 80029f8: 430b orrs r3, r1 + 80029fa: 6093 str r3, [r2, #8] /*---------------------------- I2Cx OAR2 Configuration ---------------------*/ /* Configure I2Cx: Dual mode and Own Address2 */ MODIFY_REG(hi2c->Instance->OAR2, (I2C_OAR2_ENDUAL | I2C_OAR2_ADD2), (hi2c->Init.DualAddressMode | hi2c->Init.OwnAddress2)); - 800286c: 687b ldr r3, [r7, #4] - 800286e: 681b ldr r3, [r3, #0] - 8002870: 68db ldr r3, [r3, #12] - 8002872: f023 01ff bic.w r1, r3, #255 @ 0xff - 8002876: 687b ldr r3, [r7, #4] - 8002878: 695a ldr r2, [r3, #20] - 800287a: 687b ldr r3, [r7, #4] - 800287c: 699b ldr r3, [r3, #24] - 800287e: 431a orrs r2, r3 - 8002880: 687b ldr r3, [r7, #4] - 8002882: 681b ldr r3, [r3, #0] - 8002884: 430a orrs r2, r1 - 8002886: 60da str r2, [r3, #12] + 80029fc: 687b ldr r3, [r7, #4] + 80029fe: 681b ldr r3, [r3, #0] + 8002a00: 68db ldr r3, [r3, #12] + 8002a02: f023 01ff bic.w r1, r3, #255 @ 0xff + 8002a06: 687b ldr r3, [r7, #4] + 8002a08: 695a ldr r2, [r3, #20] + 8002a0a: 687b ldr r3, [r7, #4] + 8002a0c: 699b ldr r3, [r3, #24] + 8002a0e: 431a orrs r2, r3 + 8002a10: 687b ldr r3, [r7, #4] + 8002a12: 681b ldr r3, [r3, #0] + 8002a14: 430a orrs r2, r1 + 8002a16: 60da str r2, [r3, #12] /* Enable the selected I2C peripheral */ __HAL_I2C_ENABLE(hi2c); - 8002888: 687b ldr r3, [r7, #4] - 800288a: 681b ldr r3, [r3, #0] - 800288c: 681a ldr r2, [r3, #0] - 800288e: 687b ldr r3, [r7, #4] - 8002890: 681b ldr r3, [r3, #0] - 8002892: f042 0201 orr.w r2, r2, #1 - 8002896: 601a str r2, [r3, #0] + 8002a18: 687b ldr r3, [r7, #4] + 8002a1a: 681b ldr r3, [r3, #0] + 8002a1c: 681a ldr r2, [r3, #0] + 8002a1e: 687b ldr r3, [r7, #4] + 8002a20: 681b ldr r3, [r3, #0] + 8002a22: f042 0201 orr.w r2, r2, #1 + 8002a26: 601a str r2, [r3, #0] hi2c->ErrorCode = HAL_I2C_ERROR_NONE; - 8002898: 687b ldr r3, [r7, #4] - 800289a: 2200 movs r2, #0 - 800289c: 641a str r2, [r3, #64] @ 0x40 + 8002a28: 687b ldr r3, [r7, #4] + 8002a2a: 2200 movs r2, #0 + 8002a2c: 641a str r2, [r3, #64] @ 0x40 hi2c->State = HAL_I2C_STATE_READY; - 800289e: 687b ldr r3, [r7, #4] - 80028a0: 2220 movs r2, #32 - 80028a2: f883 203d strb.w r2, [r3, #61] @ 0x3d + 8002a2e: 687b ldr r3, [r7, #4] + 8002a30: 2220 movs r2, #32 + 8002a32: f883 203d strb.w r2, [r3, #61] @ 0x3d hi2c->PreviousState = I2C_STATE_NONE; - 80028a6: 687b ldr r3, [r7, #4] - 80028a8: 2200 movs r2, #0 - 80028aa: 631a str r2, [r3, #48] @ 0x30 + 8002a36: 687b ldr r3, [r7, #4] + 8002a38: 2200 movs r2, #0 + 8002a3a: 631a str r2, [r3, #48] @ 0x30 hi2c->Mode = HAL_I2C_MODE_NONE; - 80028ac: 687b ldr r3, [r7, #4] - 80028ae: 2200 movs r2, #0 - 80028b0: f883 203e strb.w r2, [r3, #62] @ 0x3e + 8002a3c: 687b ldr r3, [r7, #4] + 8002a3e: 2200 movs r2, #0 + 8002a40: f883 203e strb.w r2, [r3, #62] @ 0x3e return HAL_OK; - 80028b4: 2300 movs r3, #0 + 8002a44: 2300 movs r3, #0 } - 80028b6: 4618 mov r0, r3 - 80028b8: 3710 adds r7, #16 - 80028ba: 46bd mov sp, r7 - 80028bc: bd80 pop {r7, pc} - 80028be: bf00 nop - 80028c0: 000186a0 .word 0x000186a0 - 80028c4: 001e847f .word 0x001e847f - 80028c8: 003d08ff .word 0x003d08ff - 80028cc: 431bde83 .word 0x431bde83 - 80028d0: 10624dd3 .word 0x10624dd3 + 8002a46: 4618 mov r0, r3 + 8002a48: 3710 adds r7, #16 + 8002a4a: 46bd mov sp, r7 + 8002a4c: bd80 pop {r7, pc} + 8002a4e: bf00 nop + 8002a50: 000186a0 .word 0x000186a0 + 8002a54: 001e847f .word 0x001e847f + 8002a58: 003d08ff .word 0x003d08ff + 8002a5c: 431bde83 .word 0x431bde83 + 8002a60: 10624dd3 .word 0x10624dd3 -080028d4 : +08002a64 : * parameters in the PCD_InitTypeDef and initialize the associated handle. * @param hpcd PCD handle * @retval HAL status */ HAL_StatusTypeDef HAL_PCD_Init(PCD_HandleTypeDef *hpcd) { - 80028d4: b580 push {r7, lr} - 80028d6: b086 sub sp, #24 - 80028d8: af02 add r7, sp, #8 - 80028da: 6078 str r0, [r7, #4] + 8002a64: b580 push {r7, lr} + 8002a66: b086 sub sp, #24 + 8002a68: af02 add r7, sp, #8 + 8002a6a: 6078 str r0, [r7, #4] const USB_OTG_GlobalTypeDef *USBx; #endif /* defined (USB_OTG_FS) */ uint8_t i; /* Check the PCD handle allocation */ if (hpcd == NULL) - 80028dc: 687b ldr r3, [r7, #4] - 80028de: 2b00 cmp r3, #0 - 80028e0: d101 bne.n 80028e6 + 8002a6c: 687b ldr r3, [r7, #4] + 8002a6e: 2b00 cmp r3, #0 + 8002a70: d101 bne.n 8002a76 { return HAL_ERROR; - 80028e2: 2301 movs r3, #1 - 80028e4: e108 b.n 8002af8 + 8002a72: 2301 movs r3, #1 + 8002a74: e108 b.n 8002c88 /* Check the parameters */ assert_param(IS_PCD_ALL_INSTANCE(hpcd->Instance)); #if defined (USB_OTG_FS) USBx = hpcd->Instance; - 80028e6: 687b ldr r3, [r7, #4] - 80028e8: 681b ldr r3, [r3, #0] - 80028ea: 60bb str r3, [r7, #8] + 8002a76: 687b ldr r3, [r7, #4] + 8002a78: 681b ldr r3, [r3, #0] + 8002a7a: 60bb str r3, [r7, #8] #endif /* defined (USB_OTG_FS) */ if (hpcd->State == HAL_PCD_STATE_RESET) - 80028ec: 687b ldr r3, [r7, #4] - 80028ee: f893 3495 ldrb.w r3, [r3, #1173] @ 0x495 - 80028f2: b2db uxtb r3, r3 - 80028f4: 2b00 cmp r3, #0 - 80028f6: d106 bne.n 8002906 + 8002a7c: 687b ldr r3, [r7, #4] + 8002a7e: f893 3495 ldrb.w r3, [r3, #1173] @ 0x495 + 8002a82: b2db uxtb r3, r3 + 8002a84: 2b00 cmp r3, #0 + 8002a86: d106 bne.n 8002a96 { /* Allocate lock resource and initialize it */ hpcd->Lock = HAL_UNLOCKED; - 80028f8: 687b ldr r3, [r7, #4] - 80028fa: 2200 movs r2, #0 - 80028fc: f883 2494 strb.w r2, [r3, #1172] @ 0x494 + 8002a88: 687b ldr r3, [r7, #4] + 8002a8a: 2200 movs r2, #0 + 8002a8c: f883 2494 strb.w r2, [r3, #1172] @ 0x494 /* Init the low level hardware */ hpcd->MspInitCallback(hpcd); #else /* Init the low level hardware : GPIO, CLOCK, NVIC... */ HAL_PCD_MspInit(hpcd); - 8002900: 6878 ldr r0, [r7, #4] - 8002902: f007 fa31 bl 8009d68 + 8002a90: 6878 ldr r0, [r7, #4] + 8002a92: f007 fc9f bl 800a3d4 #endif /* (USE_HAL_PCD_REGISTER_CALLBACKS) */ } hpcd->State = HAL_PCD_STATE_BUSY; - 8002906: 687b ldr r3, [r7, #4] - 8002908: 2203 movs r2, #3 - 800290a: f883 2495 strb.w r2, [r3, #1173] @ 0x495 + 8002a96: 687b ldr r3, [r7, #4] + 8002a98: 2203 movs r2, #3 + 8002a9a: f883 2495 strb.w r2, [r3, #1173] @ 0x495 #if defined (USB_OTG_FS) /* Disable DMA mode for FS instance */ if (USBx == USB_OTG_FS) - 800290e: 68bb ldr r3, [r7, #8] - 8002910: f1b3 4fa0 cmp.w r3, #1342177280 @ 0x50000000 - 8002914: d102 bne.n 800291c + 8002a9e: 68bb ldr r3, [r7, #8] + 8002aa0: f1b3 4fa0 cmp.w r3, #1342177280 @ 0x50000000 + 8002aa4: d102 bne.n 8002aac { hpcd->Init.dma_enable = 0U; - 8002916: 687b ldr r3, [r7, #4] - 8002918: 2200 movs r2, #0 - 800291a: 719a strb r2, [r3, #6] + 8002aa6: 687b ldr r3, [r7, #4] + 8002aa8: 2200 movs r2, #0 + 8002aaa: 719a strb r2, [r3, #6] } #endif /* defined (USB_OTG_FS) */ /* Disable the Interrupts */ __HAL_PCD_DISABLE(hpcd); - 800291c: 687b ldr r3, [r7, #4] - 800291e: 681b ldr r3, [r3, #0] - 8002920: 4618 mov r0, r3 - 8002922: f004 f926 bl 8006b72 + 8002aac: 687b ldr r3, [r7, #4] + 8002aae: 681b ldr r3, [r3, #0] + 8002ab0: 4618 mov r0, r3 + 8002ab2: f004 fb94 bl 80071de /*Init the Core (common init.) */ if (USB_CoreInit(hpcd->Instance, hpcd->Init) != HAL_OK) - 8002926: 687b ldr r3, [r7, #4] - 8002928: 6818 ldr r0, [r3, #0] - 800292a: 687b ldr r3, [r7, #4] - 800292c: 7c1a ldrb r2, [r3, #16] - 800292e: f88d 2000 strb.w r2, [sp] - 8002932: 3304 adds r3, #4 - 8002934: cb0e ldmia r3, {r1, r2, r3} - 8002936: f004 f805 bl 8006944 - 800293a: 4603 mov r3, r0 - 800293c: 2b00 cmp r3, #0 - 800293e: d005 beq.n 800294c + 8002ab6: 687b ldr r3, [r7, #4] + 8002ab8: 6818 ldr r0, [r3, #0] + 8002aba: 687b ldr r3, [r7, #4] + 8002abc: 7c1a ldrb r2, [r3, #16] + 8002abe: f88d 2000 strb.w r2, [sp] + 8002ac2: 3304 adds r3, #4 + 8002ac4: cb0e ldmia r3, {r1, r2, r3} + 8002ac6: f004 fa73 bl 8006fb0 + 8002aca: 4603 mov r3, r0 + 8002acc: 2b00 cmp r3, #0 + 8002ace: d005 beq.n 8002adc { hpcd->State = HAL_PCD_STATE_ERROR; - 8002940: 687b ldr r3, [r7, #4] - 8002942: 2202 movs r2, #2 - 8002944: f883 2495 strb.w r2, [r3, #1173] @ 0x495 + 8002ad0: 687b ldr r3, [r7, #4] + 8002ad2: 2202 movs r2, #2 + 8002ad4: f883 2495 strb.w r2, [r3, #1173] @ 0x495 return HAL_ERROR; - 8002948: 2301 movs r3, #1 - 800294a: e0d5 b.n 8002af8 + 8002ad8: 2301 movs r3, #1 + 8002ada: e0d5 b.n 8002c88 } /* Force Device Mode */ if (USB_SetCurrentMode(hpcd->Instance, USB_DEVICE_MODE) != HAL_OK) - 800294c: 687b ldr r3, [r7, #4] - 800294e: 681b ldr r3, [r3, #0] - 8002950: 2100 movs r1, #0 - 8002952: 4618 mov r0, r3 - 8002954: f004 f91e bl 8006b94 - 8002958: 4603 mov r3, r0 - 800295a: 2b00 cmp r3, #0 - 800295c: d005 beq.n 800296a + 8002adc: 687b ldr r3, [r7, #4] + 8002ade: 681b ldr r3, [r3, #0] + 8002ae0: 2100 movs r1, #0 + 8002ae2: 4618 mov r0, r3 + 8002ae4: f004 fb8c bl 8007200 + 8002ae8: 4603 mov r3, r0 + 8002aea: 2b00 cmp r3, #0 + 8002aec: d005 beq.n 8002afa { hpcd->State = HAL_PCD_STATE_ERROR; - 800295e: 687b ldr r3, [r7, #4] - 8002960: 2202 movs r2, #2 - 8002962: f883 2495 strb.w r2, [r3, #1173] @ 0x495 + 8002aee: 687b ldr r3, [r7, #4] + 8002af0: 2202 movs r2, #2 + 8002af2: f883 2495 strb.w r2, [r3, #1173] @ 0x495 return HAL_ERROR; - 8002966: 2301 movs r3, #1 - 8002968: e0c6 b.n 8002af8 + 8002af6: 2301 movs r3, #1 + 8002af8: e0c6 b.n 8002c88 } /* Init endpoints structures */ for (i = 0U; i < hpcd->Init.dev_endpoints; i++) - 800296a: 2300 movs r3, #0 - 800296c: 73fb strb r3, [r7, #15] - 800296e: e04a b.n 8002a06 + 8002afa: 2300 movs r3, #0 + 8002afc: 73fb strb r3, [r7, #15] + 8002afe: e04a b.n 8002b96 { /* Init ep structure */ hpcd->IN_ep[i].is_in = 1U; - 8002970: 7bfa ldrb r2, [r7, #15] - 8002972: 6879 ldr r1, [r7, #4] - 8002974: 4613 mov r3, r2 - 8002976: 00db lsls r3, r3, #3 - 8002978: 4413 add r3, r2 - 800297a: 009b lsls r3, r3, #2 - 800297c: 440b add r3, r1 - 800297e: 3315 adds r3, #21 - 8002980: 2201 movs r2, #1 - 8002982: 701a strb r2, [r3, #0] + 8002b00: 7bfa ldrb r2, [r7, #15] + 8002b02: 6879 ldr r1, [r7, #4] + 8002b04: 4613 mov r3, r2 + 8002b06: 00db lsls r3, r3, #3 + 8002b08: 4413 add r3, r2 + 8002b0a: 009b lsls r3, r3, #2 + 8002b0c: 440b add r3, r1 + 8002b0e: 3315 adds r3, #21 + 8002b10: 2201 movs r2, #1 + 8002b12: 701a strb r2, [r3, #0] hpcd->IN_ep[i].num = i; - 8002984: 7bfa ldrb r2, [r7, #15] - 8002986: 6879 ldr r1, [r7, #4] - 8002988: 4613 mov r3, r2 - 800298a: 00db lsls r3, r3, #3 - 800298c: 4413 add r3, r2 - 800298e: 009b lsls r3, r3, #2 - 8002990: 440b add r3, r1 - 8002992: 3314 adds r3, #20 - 8002994: 7bfa ldrb r2, [r7, #15] - 8002996: 701a strb r2, [r3, #0] + 8002b14: 7bfa ldrb r2, [r7, #15] + 8002b16: 6879 ldr r1, [r7, #4] + 8002b18: 4613 mov r3, r2 + 8002b1a: 00db lsls r3, r3, #3 + 8002b1c: 4413 add r3, r2 + 8002b1e: 009b lsls r3, r3, #2 + 8002b20: 440b add r3, r1 + 8002b22: 3314 adds r3, #20 + 8002b24: 7bfa ldrb r2, [r7, #15] + 8002b26: 701a strb r2, [r3, #0] hpcd->IN_ep[i].tx_fifo_num = i; - 8002998: 7bfa ldrb r2, [r7, #15] - 800299a: 7bfb ldrb r3, [r7, #15] - 800299c: b298 uxth r0, r3 - 800299e: 6879 ldr r1, [r7, #4] - 80029a0: 4613 mov r3, r2 - 80029a2: 00db lsls r3, r3, #3 - 80029a4: 4413 add r3, r2 - 80029a6: 009b lsls r3, r3, #2 - 80029a8: 440b add r3, r1 - 80029aa: 332e adds r3, #46 @ 0x2e - 80029ac: 4602 mov r2, r0 - 80029ae: 801a strh r2, [r3, #0] + 8002b28: 7bfa ldrb r2, [r7, #15] + 8002b2a: 7bfb ldrb r3, [r7, #15] + 8002b2c: b298 uxth r0, r3 + 8002b2e: 6879 ldr r1, [r7, #4] + 8002b30: 4613 mov r3, r2 + 8002b32: 00db lsls r3, r3, #3 + 8002b34: 4413 add r3, r2 + 8002b36: 009b lsls r3, r3, #2 + 8002b38: 440b add r3, r1 + 8002b3a: 332e adds r3, #46 @ 0x2e + 8002b3c: 4602 mov r2, r0 + 8002b3e: 801a strh r2, [r3, #0] /* Control until ep is activated */ hpcd->IN_ep[i].type = EP_TYPE_CTRL; - 80029b0: 7bfa ldrb r2, [r7, #15] - 80029b2: 6879 ldr r1, [r7, #4] - 80029b4: 4613 mov r3, r2 - 80029b6: 00db lsls r3, r3, #3 - 80029b8: 4413 add r3, r2 - 80029ba: 009b lsls r3, r3, #2 - 80029bc: 440b add r3, r1 - 80029be: 3318 adds r3, #24 - 80029c0: 2200 movs r2, #0 - 80029c2: 701a strb r2, [r3, #0] + 8002b40: 7bfa ldrb r2, [r7, #15] + 8002b42: 6879 ldr r1, [r7, #4] + 8002b44: 4613 mov r3, r2 + 8002b46: 00db lsls r3, r3, #3 + 8002b48: 4413 add r3, r2 + 8002b4a: 009b lsls r3, r3, #2 + 8002b4c: 440b add r3, r1 + 8002b4e: 3318 adds r3, #24 + 8002b50: 2200 movs r2, #0 + 8002b52: 701a strb r2, [r3, #0] hpcd->IN_ep[i].maxpacket = 0U; - 80029c4: 7bfa ldrb r2, [r7, #15] - 80029c6: 6879 ldr r1, [r7, #4] - 80029c8: 4613 mov r3, r2 - 80029ca: 00db lsls r3, r3, #3 - 80029cc: 4413 add r3, r2 - 80029ce: 009b lsls r3, r3, #2 - 80029d0: 440b add r3, r1 - 80029d2: 331c adds r3, #28 - 80029d4: 2200 movs r2, #0 - 80029d6: 601a str r2, [r3, #0] + 8002b54: 7bfa ldrb r2, [r7, #15] + 8002b56: 6879 ldr r1, [r7, #4] + 8002b58: 4613 mov r3, r2 + 8002b5a: 00db lsls r3, r3, #3 + 8002b5c: 4413 add r3, r2 + 8002b5e: 009b lsls r3, r3, #2 + 8002b60: 440b add r3, r1 + 8002b62: 331c adds r3, #28 + 8002b64: 2200 movs r2, #0 + 8002b66: 601a str r2, [r3, #0] hpcd->IN_ep[i].xfer_buff = 0U; - 80029d8: 7bfa ldrb r2, [r7, #15] - 80029da: 6879 ldr r1, [r7, #4] - 80029dc: 4613 mov r3, r2 - 80029de: 00db lsls r3, r3, #3 - 80029e0: 4413 add r3, r2 - 80029e2: 009b lsls r3, r3, #2 - 80029e4: 440b add r3, r1 - 80029e6: 3320 adds r3, #32 - 80029e8: 2200 movs r2, #0 - 80029ea: 601a str r2, [r3, #0] + 8002b68: 7bfa ldrb r2, [r7, #15] + 8002b6a: 6879 ldr r1, [r7, #4] + 8002b6c: 4613 mov r3, r2 + 8002b6e: 00db lsls r3, r3, #3 + 8002b70: 4413 add r3, r2 + 8002b72: 009b lsls r3, r3, #2 + 8002b74: 440b add r3, r1 + 8002b76: 3320 adds r3, #32 + 8002b78: 2200 movs r2, #0 + 8002b7a: 601a str r2, [r3, #0] hpcd->IN_ep[i].xfer_len = 0U; - 80029ec: 7bfa ldrb r2, [r7, #15] - 80029ee: 6879 ldr r1, [r7, #4] - 80029f0: 4613 mov r3, r2 - 80029f2: 00db lsls r3, r3, #3 - 80029f4: 4413 add r3, r2 - 80029f6: 009b lsls r3, r3, #2 - 80029f8: 440b add r3, r1 - 80029fa: 3324 adds r3, #36 @ 0x24 - 80029fc: 2200 movs r2, #0 - 80029fe: 601a str r2, [r3, #0] + 8002b7c: 7bfa ldrb r2, [r7, #15] + 8002b7e: 6879 ldr r1, [r7, #4] + 8002b80: 4613 mov r3, r2 + 8002b82: 00db lsls r3, r3, #3 + 8002b84: 4413 add r3, r2 + 8002b86: 009b lsls r3, r3, #2 + 8002b88: 440b add r3, r1 + 8002b8a: 3324 adds r3, #36 @ 0x24 + 8002b8c: 2200 movs r2, #0 + 8002b8e: 601a str r2, [r3, #0] for (i = 0U; i < hpcd->Init.dev_endpoints; i++) - 8002a00: 7bfb ldrb r3, [r7, #15] - 8002a02: 3301 adds r3, #1 - 8002a04: 73fb strb r3, [r7, #15] - 8002a06: 687b ldr r3, [r7, #4] - 8002a08: 791b ldrb r3, [r3, #4] - 8002a0a: 7bfa ldrb r2, [r7, #15] - 8002a0c: 429a cmp r2, r3 - 8002a0e: d3af bcc.n 8002970 + 8002b90: 7bfb ldrb r3, [r7, #15] + 8002b92: 3301 adds r3, #1 + 8002b94: 73fb strb r3, [r7, #15] + 8002b96: 687b ldr r3, [r7, #4] + 8002b98: 791b ldrb r3, [r3, #4] + 8002b9a: 7bfa ldrb r2, [r7, #15] + 8002b9c: 429a cmp r2, r3 + 8002b9e: d3af bcc.n 8002b00 } for (i = 0U; i < hpcd->Init.dev_endpoints; i++) - 8002a10: 2300 movs r3, #0 - 8002a12: 73fb strb r3, [r7, #15] - 8002a14: e044 b.n 8002aa0 + 8002ba0: 2300 movs r3, #0 + 8002ba2: 73fb strb r3, [r7, #15] + 8002ba4: e044 b.n 8002c30 { hpcd->OUT_ep[i].is_in = 0U; - 8002a16: 7bfa ldrb r2, [r7, #15] - 8002a18: 6879 ldr r1, [r7, #4] - 8002a1a: 4613 mov r3, r2 - 8002a1c: 00db lsls r3, r3, #3 - 8002a1e: 4413 add r3, r2 - 8002a20: 009b lsls r3, r3, #2 - 8002a22: 440b add r3, r1 - 8002a24: f203 2355 addw r3, r3, #597 @ 0x255 - 8002a28: 2200 movs r2, #0 - 8002a2a: 701a strb r2, [r3, #0] + 8002ba6: 7bfa ldrb r2, [r7, #15] + 8002ba8: 6879 ldr r1, [r7, #4] + 8002baa: 4613 mov r3, r2 + 8002bac: 00db lsls r3, r3, #3 + 8002bae: 4413 add r3, r2 + 8002bb0: 009b lsls r3, r3, #2 + 8002bb2: 440b add r3, r1 + 8002bb4: f203 2355 addw r3, r3, #597 @ 0x255 + 8002bb8: 2200 movs r2, #0 + 8002bba: 701a strb r2, [r3, #0] hpcd->OUT_ep[i].num = i; - 8002a2c: 7bfa ldrb r2, [r7, #15] - 8002a2e: 6879 ldr r1, [r7, #4] - 8002a30: 4613 mov r3, r2 - 8002a32: 00db lsls r3, r3, #3 - 8002a34: 4413 add r3, r2 - 8002a36: 009b lsls r3, r3, #2 - 8002a38: 440b add r3, r1 - 8002a3a: f503 7315 add.w r3, r3, #596 @ 0x254 - 8002a3e: 7bfa ldrb r2, [r7, #15] - 8002a40: 701a strb r2, [r3, #0] + 8002bbc: 7bfa ldrb r2, [r7, #15] + 8002bbe: 6879 ldr r1, [r7, #4] + 8002bc0: 4613 mov r3, r2 + 8002bc2: 00db lsls r3, r3, #3 + 8002bc4: 4413 add r3, r2 + 8002bc6: 009b lsls r3, r3, #2 + 8002bc8: 440b add r3, r1 + 8002bca: f503 7315 add.w r3, r3, #596 @ 0x254 + 8002bce: 7bfa ldrb r2, [r7, #15] + 8002bd0: 701a strb r2, [r3, #0] /* Control until ep is activated */ hpcd->OUT_ep[i].type = EP_TYPE_CTRL; - 8002a42: 7bfa ldrb r2, [r7, #15] - 8002a44: 6879 ldr r1, [r7, #4] - 8002a46: 4613 mov r3, r2 - 8002a48: 00db lsls r3, r3, #3 - 8002a4a: 4413 add r3, r2 - 8002a4c: 009b lsls r3, r3, #2 - 8002a4e: 440b add r3, r1 - 8002a50: f503 7316 add.w r3, r3, #600 @ 0x258 - 8002a54: 2200 movs r2, #0 - 8002a56: 701a strb r2, [r3, #0] + 8002bd2: 7bfa ldrb r2, [r7, #15] + 8002bd4: 6879 ldr r1, [r7, #4] + 8002bd6: 4613 mov r3, r2 + 8002bd8: 00db lsls r3, r3, #3 + 8002bda: 4413 add r3, r2 + 8002bdc: 009b lsls r3, r3, #2 + 8002bde: 440b add r3, r1 + 8002be0: f503 7316 add.w r3, r3, #600 @ 0x258 + 8002be4: 2200 movs r2, #0 + 8002be6: 701a strb r2, [r3, #0] hpcd->OUT_ep[i].maxpacket = 0U; - 8002a58: 7bfa ldrb r2, [r7, #15] - 8002a5a: 6879 ldr r1, [r7, #4] - 8002a5c: 4613 mov r3, r2 - 8002a5e: 00db lsls r3, r3, #3 - 8002a60: 4413 add r3, r2 - 8002a62: 009b lsls r3, r3, #2 - 8002a64: 440b add r3, r1 - 8002a66: f503 7317 add.w r3, r3, #604 @ 0x25c - 8002a6a: 2200 movs r2, #0 - 8002a6c: 601a str r2, [r3, #0] + 8002be8: 7bfa ldrb r2, [r7, #15] + 8002bea: 6879 ldr r1, [r7, #4] + 8002bec: 4613 mov r3, r2 + 8002bee: 00db lsls r3, r3, #3 + 8002bf0: 4413 add r3, r2 + 8002bf2: 009b lsls r3, r3, #2 + 8002bf4: 440b add r3, r1 + 8002bf6: f503 7317 add.w r3, r3, #604 @ 0x25c + 8002bfa: 2200 movs r2, #0 + 8002bfc: 601a str r2, [r3, #0] hpcd->OUT_ep[i].xfer_buff = 0U; - 8002a6e: 7bfa ldrb r2, [r7, #15] - 8002a70: 6879 ldr r1, [r7, #4] - 8002a72: 4613 mov r3, r2 - 8002a74: 00db lsls r3, r3, #3 - 8002a76: 4413 add r3, r2 - 8002a78: 009b lsls r3, r3, #2 - 8002a7a: 440b add r3, r1 - 8002a7c: f503 7318 add.w r3, r3, #608 @ 0x260 - 8002a80: 2200 movs r2, #0 - 8002a82: 601a str r2, [r3, #0] + 8002bfe: 7bfa ldrb r2, [r7, #15] + 8002c00: 6879 ldr r1, [r7, #4] + 8002c02: 4613 mov r3, r2 + 8002c04: 00db lsls r3, r3, #3 + 8002c06: 4413 add r3, r2 + 8002c08: 009b lsls r3, r3, #2 + 8002c0a: 440b add r3, r1 + 8002c0c: f503 7318 add.w r3, r3, #608 @ 0x260 + 8002c10: 2200 movs r2, #0 + 8002c12: 601a str r2, [r3, #0] hpcd->OUT_ep[i].xfer_len = 0U; - 8002a84: 7bfa ldrb r2, [r7, #15] - 8002a86: 6879 ldr r1, [r7, #4] - 8002a88: 4613 mov r3, r2 - 8002a8a: 00db lsls r3, r3, #3 - 8002a8c: 4413 add r3, r2 - 8002a8e: 009b lsls r3, r3, #2 - 8002a90: 440b add r3, r1 - 8002a92: f503 7319 add.w r3, r3, #612 @ 0x264 - 8002a96: 2200 movs r2, #0 - 8002a98: 601a str r2, [r3, #0] + 8002c14: 7bfa ldrb r2, [r7, #15] + 8002c16: 6879 ldr r1, [r7, #4] + 8002c18: 4613 mov r3, r2 + 8002c1a: 00db lsls r3, r3, #3 + 8002c1c: 4413 add r3, r2 + 8002c1e: 009b lsls r3, r3, #2 + 8002c20: 440b add r3, r1 + 8002c22: f503 7319 add.w r3, r3, #612 @ 0x264 + 8002c26: 2200 movs r2, #0 + 8002c28: 601a str r2, [r3, #0] for (i = 0U; i < hpcd->Init.dev_endpoints; i++) - 8002a9a: 7bfb ldrb r3, [r7, #15] - 8002a9c: 3301 adds r3, #1 - 8002a9e: 73fb strb r3, [r7, #15] - 8002aa0: 687b ldr r3, [r7, #4] - 8002aa2: 791b ldrb r3, [r3, #4] - 8002aa4: 7bfa ldrb r2, [r7, #15] - 8002aa6: 429a cmp r2, r3 - 8002aa8: d3b5 bcc.n 8002a16 + 8002c2a: 7bfb ldrb r3, [r7, #15] + 8002c2c: 3301 adds r3, #1 + 8002c2e: 73fb strb r3, [r7, #15] + 8002c30: 687b ldr r3, [r7, #4] + 8002c32: 791b ldrb r3, [r3, #4] + 8002c34: 7bfa ldrb r2, [r7, #15] + 8002c36: 429a cmp r2, r3 + 8002c38: d3b5 bcc.n 8002ba6 } /* Init Device */ if (USB_DevInit(hpcd->Instance, hpcd->Init) != HAL_OK) - 8002aaa: 687b ldr r3, [r7, #4] - 8002aac: 6818 ldr r0, [r3, #0] - 8002aae: 687b ldr r3, [r7, #4] - 8002ab0: 7c1a ldrb r2, [r3, #16] - 8002ab2: f88d 2000 strb.w r2, [sp] - 8002ab6: 3304 adds r3, #4 - 8002ab8: cb0e ldmia r3, {r1, r2, r3} - 8002aba: f004 f8b7 bl 8006c2c - 8002abe: 4603 mov r3, r0 - 8002ac0: 2b00 cmp r3, #0 - 8002ac2: d005 beq.n 8002ad0 + 8002c3a: 687b ldr r3, [r7, #4] + 8002c3c: 6818 ldr r0, [r3, #0] + 8002c3e: 687b ldr r3, [r7, #4] + 8002c40: 7c1a ldrb r2, [r3, #16] + 8002c42: f88d 2000 strb.w r2, [sp] + 8002c46: 3304 adds r3, #4 + 8002c48: cb0e ldmia r3, {r1, r2, r3} + 8002c4a: f004 fb25 bl 8007298 + 8002c4e: 4603 mov r3, r0 + 8002c50: 2b00 cmp r3, #0 + 8002c52: d005 beq.n 8002c60 { hpcd->State = HAL_PCD_STATE_ERROR; - 8002ac4: 687b ldr r3, [r7, #4] - 8002ac6: 2202 movs r2, #2 - 8002ac8: f883 2495 strb.w r2, [r3, #1173] @ 0x495 + 8002c54: 687b ldr r3, [r7, #4] + 8002c56: 2202 movs r2, #2 + 8002c58: f883 2495 strb.w r2, [r3, #1173] @ 0x495 return HAL_ERROR; - 8002acc: 2301 movs r3, #1 - 8002ace: e013 b.n 8002af8 + 8002c5c: 2301 movs r3, #1 + 8002c5e: e013 b.n 8002c88 } hpcd->USB_Address = 0U; - 8002ad0: 687b ldr r3, [r7, #4] - 8002ad2: 2200 movs r2, #0 - 8002ad4: 745a strb r2, [r3, #17] + 8002c60: 687b ldr r3, [r7, #4] + 8002c62: 2200 movs r2, #0 + 8002c64: 745a strb r2, [r3, #17] hpcd->State = HAL_PCD_STATE_READY; - 8002ad6: 687b ldr r3, [r7, #4] - 8002ad8: 2201 movs r2, #1 - 8002ada: f883 2495 strb.w r2, [r3, #1173] @ 0x495 + 8002c66: 687b ldr r3, [r7, #4] + 8002c68: 2201 movs r2, #1 + 8002c6a: f883 2495 strb.w r2, [r3, #1173] @ 0x495 #if defined(STM32F446xx) || defined(STM32F469xx) || defined(STM32F479xx) || defined(STM32F412Zx) \ || defined(STM32F412Vx) || defined(STM32F412Rx) || defined(STM32F412Cx) || defined(STM32F413xx) \ || defined(STM32F423xx) /* Activate LPM */ if (hpcd->Init.lpm_enable == 1U) - 8002ade: 687b ldr r3, [r7, #4] - 8002ae0: 7b1b ldrb r3, [r3, #12] - 8002ae2: 2b01 cmp r3, #1 - 8002ae4: d102 bne.n 8002aec + 8002c6e: 687b ldr r3, [r7, #4] + 8002c70: 7b1b ldrb r3, [r3, #12] + 8002c72: 2b01 cmp r3, #1 + 8002c74: d102 bne.n 8002c7c { (void)HAL_PCDEx_ActivateLPM(hpcd); - 8002ae6: 6878 ldr r0, [r7, #4] - 8002ae8: f001 f956 bl 8003d98 + 8002c76: 6878 ldr r0, [r7, #4] + 8002c78: f001 f956 bl 8003f28 } #endif /* defined(STM32F446xx) || defined(STM32F469xx) || defined(STM32F479xx) || defined(STM32F412Zx) || defined(STM32F412Vx) || defined(STM32F412Rx) || defined(STM32F412Cx) || defined(STM32F413xx) || defined(STM32F423xx) */ (void)USB_DevDisconnect(hpcd->Instance); - 8002aec: 687b ldr r3, [r7, #4] - 8002aee: 681b ldr r3, [r3, #0] - 8002af0: 4618 mov r0, r3 - 8002af2: f005 f8f4 bl 8007cde + 8002c7c: 687b ldr r3, [r7, #4] + 8002c7e: 681b ldr r3, [r3, #0] + 8002c80: 4618 mov r0, r3 + 8002c82: f005 fb62 bl 800834a return HAL_OK; - 8002af6: 2300 movs r3, #0 + 8002c86: 2300 movs r3, #0 } - 8002af8: 4618 mov r0, r3 - 8002afa: 3710 adds r7, #16 - 8002afc: 46bd mov sp, r7 - 8002afe: bd80 pop {r7, pc} + 8002c88: 4618 mov r0, r3 + 8002c8a: 3710 adds r7, #16 + 8002c8c: 46bd mov sp, r7 + 8002c8e: bd80 pop {r7, pc} -08002b00 : +08002c90 : * @brief Start the USB device * @param hpcd PCD handle * @retval HAL status */ HAL_StatusTypeDef HAL_PCD_Start(PCD_HandleTypeDef *hpcd) { - 8002b00: b580 push {r7, lr} - 8002b02: b084 sub sp, #16 - 8002b04: af00 add r7, sp, #0 - 8002b06: 6078 str r0, [r7, #4] + 8002c90: b580 push {r7, lr} + 8002c92: b084 sub sp, #16 + 8002c94: af00 add r7, sp, #0 + 8002c96: 6078 str r0, [r7, #4] USB_OTG_GlobalTypeDef *USBx = hpcd->Instance; - 8002b08: 687b ldr r3, [r7, #4] - 8002b0a: 681b ldr r3, [r3, #0] - 8002b0c: 60fb str r3, [r7, #12] + 8002c98: 687b ldr r3, [r7, #4] + 8002c9a: 681b ldr r3, [r3, #0] + 8002c9c: 60fb str r3, [r7, #12] __HAL_LOCK(hpcd); - 8002b0e: 687b ldr r3, [r7, #4] - 8002b10: f893 3494 ldrb.w r3, [r3, #1172] @ 0x494 - 8002b14: 2b01 cmp r3, #1 - 8002b16: d101 bne.n 8002b1c - 8002b18: 2302 movs r3, #2 - 8002b1a: e022 b.n 8002b62 - 8002b1c: 687b ldr r3, [r7, #4] - 8002b1e: 2201 movs r2, #1 - 8002b20: f883 2494 strb.w r2, [r3, #1172] @ 0x494 + 8002c9e: 687b ldr r3, [r7, #4] + 8002ca0: f893 3494 ldrb.w r3, [r3, #1172] @ 0x494 + 8002ca4: 2b01 cmp r3, #1 + 8002ca6: d101 bne.n 8002cac + 8002ca8: 2302 movs r3, #2 + 8002caa: e022 b.n 8002cf2 + 8002cac: 687b ldr r3, [r7, #4] + 8002cae: 2201 movs r2, #1 + 8002cb0: f883 2494 strb.w r2, [r3, #1172] @ 0x494 if (((USBx->GUSBCFG & USB_OTG_GUSBCFG_PHYSEL) != 0U) && - 8002b24: 68fb ldr r3, [r7, #12] - 8002b26: 68db ldr r3, [r3, #12] - 8002b28: f003 0340 and.w r3, r3, #64 @ 0x40 - 8002b2c: 2b00 cmp r3, #0 - 8002b2e: d009 beq.n 8002b44 + 8002cb4: 68fb ldr r3, [r7, #12] + 8002cb6: 68db ldr r3, [r3, #12] + 8002cb8: f003 0340 and.w r3, r3, #64 @ 0x40 + 8002cbc: 2b00 cmp r3, #0 + 8002cbe: d009 beq.n 8002cd4 (hpcd->Init.battery_charging_enable == 1U)) - 8002b30: 687b ldr r3, [r7, #4] - 8002b32: 7b5b ldrb r3, [r3, #13] + 8002cc0: 687b ldr r3, [r7, #4] + 8002cc2: 7b5b ldrb r3, [r3, #13] if (((USBx->GUSBCFG & USB_OTG_GUSBCFG_PHYSEL) != 0U) && - 8002b34: 2b01 cmp r3, #1 - 8002b36: d105 bne.n 8002b44 + 8002cc4: 2b01 cmp r3, #1 + 8002cc6: d105 bne.n 8002cd4 { /* Enable USB Transceiver */ USBx->GCCFG |= USB_OTG_GCCFG_PWRDWN; - 8002b38: 68fb ldr r3, [r7, #12] - 8002b3a: 6b9b ldr r3, [r3, #56] @ 0x38 - 8002b3c: f443 3280 orr.w r2, r3, #65536 @ 0x10000 - 8002b40: 68fb ldr r3, [r7, #12] - 8002b42: 639a str r2, [r3, #56] @ 0x38 + 8002cc8: 68fb ldr r3, [r7, #12] + 8002cca: 6b9b ldr r3, [r3, #56] @ 0x38 + 8002ccc: f443 3280 orr.w r2, r3, #65536 @ 0x10000 + 8002cd0: 68fb ldr r3, [r7, #12] + 8002cd2: 639a str r2, [r3, #56] @ 0x38 } __HAL_PCD_ENABLE(hpcd); - 8002b44: 687b ldr r3, [r7, #4] - 8002b46: 681b ldr r3, [r3, #0] - 8002b48: 4618 mov r0, r3 - 8002b4a: f004 f801 bl 8006b50 + 8002cd4: 687b ldr r3, [r7, #4] + 8002cd6: 681b ldr r3, [r3, #0] + 8002cd8: 4618 mov r0, r3 + 8002cda: f004 fa6f bl 80071bc (void)USB_DevConnect(hpcd->Instance); - 8002b4e: 687b ldr r3, [r7, #4] - 8002b50: 681b ldr r3, [r3, #0] - 8002b52: 4618 mov r0, r3 - 8002b54: f005 f8a2 bl 8007c9c + 8002cde: 687b ldr r3, [r7, #4] + 8002ce0: 681b ldr r3, [r3, #0] + 8002ce2: 4618 mov r0, r3 + 8002ce4: f005 fb10 bl 8008308 __HAL_UNLOCK(hpcd); - 8002b58: 687b ldr r3, [r7, #4] - 8002b5a: 2200 movs r2, #0 - 8002b5c: f883 2494 strb.w r2, [r3, #1172] @ 0x494 + 8002ce8: 687b ldr r3, [r7, #4] + 8002cea: 2200 movs r2, #0 + 8002cec: f883 2494 strb.w r2, [r3, #1172] @ 0x494 return HAL_OK; - 8002b60: 2300 movs r3, #0 + 8002cf0: 2300 movs r3, #0 } - 8002b62: 4618 mov r0, r3 - 8002b64: 3710 adds r7, #16 - 8002b66: 46bd mov sp, r7 - 8002b68: bd80 pop {r7, pc} + 8002cf2: 4618 mov r0, r3 + 8002cf4: 3710 adds r7, #16 + 8002cf6: 46bd mov sp, r7 + 8002cf8: bd80 pop {r7, pc} -08002b6a : +08002cfa : * @brief Handles PCD interrupt request. * @param hpcd PCD handle * @retval HAL status */ void HAL_PCD_IRQHandler(PCD_HandleTypeDef *hpcd) { - 8002b6a: b590 push {r4, r7, lr} - 8002b6c: b08d sub sp, #52 @ 0x34 - 8002b6e: af00 add r7, sp, #0 - 8002b70: 6078 str r0, [r7, #4] + 8002cfa: b590 push {r4, r7, lr} + 8002cfc: b08d sub sp, #52 @ 0x34 + 8002cfe: af00 add r7, sp, #0 + 8002d00: 6078 str r0, [r7, #4] USB_OTG_GlobalTypeDef *USBx = hpcd->Instance; - 8002b72: 687b ldr r3, [r7, #4] - 8002b74: 681b ldr r3, [r3, #0] - 8002b76: 623b str r3, [r7, #32] + 8002d02: 687b ldr r3, [r7, #4] + 8002d04: 681b ldr r3, [r3, #0] + 8002d06: 623b str r3, [r7, #32] uint32_t USBx_BASE = (uint32_t)USBx; - 8002b78: 6a3b ldr r3, [r7, #32] - 8002b7a: 61fb str r3, [r7, #28] + 8002d08: 6a3b ldr r3, [r7, #32] + 8002d0a: 61fb str r3, [r7, #28] uint32_t epnum; uint32_t fifoemptymsk; uint32_t RegVal; /* ensure that we are in device mode */ if (USB_GetMode(hpcd->Instance) == USB_OTG_MODE_DEVICE) - 8002b7c: 687b ldr r3, [r7, #4] - 8002b7e: 681b ldr r3, [r3, #0] - 8002b80: 4618 mov r0, r3 - 8002b82: f005 f960 bl 8007e46 - 8002b86: 4603 mov r3, r0 - 8002b88: 2b00 cmp r3, #0 - 8002b8a: f040 84b9 bne.w 8003500 + 8002d0c: 687b ldr r3, [r7, #4] + 8002d0e: 681b ldr r3, [r3, #0] + 8002d10: 4618 mov r0, r3 + 8002d12: f005 fbce bl 80084b2 + 8002d16: 4603 mov r3, r0 + 8002d18: 2b00 cmp r3, #0 + 8002d1a: f040 84b9 bne.w 8003690 { /* avoid spurious interrupt */ if (__HAL_PCD_IS_INVALID_INTERRUPT(hpcd)) - 8002b8e: 687b ldr r3, [r7, #4] - 8002b90: 681b ldr r3, [r3, #0] - 8002b92: 4618 mov r0, r3 - 8002b94: f005 f8c4 bl 8007d20 - 8002b98: 4603 mov r3, r0 - 8002b9a: 2b00 cmp r3, #0 - 8002b9c: f000 84af beq.w 80034fe + 8002d1e: 687b ldr r3, [r7, #4] + 8002d20: 681b ldr r3, [r3, #0] + 8002d22: 4618 mov r0, r3 + 8002d24: f005 fb32 bl 800838c + 8002d28: 4603 mov r3, r0 + 8002d2a: 2b00 cmp r3, #0 + 8002d2c: f000 84af beq.w 800368e { return; } /* store current frame number */ hpcd->FrameNumber = (USBx_DEVICE->DSTS & USB_OTG_DSTS_FNSOF_Msk) >> USB_OTG_DSTS_FNSOF_Pos; - 8002ba0: 69fb ldr r3, [r7, #28] - 8002ba2: f503 6300 add.w r3, r3, #2048 @ 0x800 - 8002ba6: 689b ldr r3, [r3, #8] - 8002ba8: 0a1b lsrs r3, r3, #8 - 8002baa: f3c3 020d ubfx r2, r3, #0, #14 - 8002bae: 687b ldr r3, [r7, #4] - 8002bb0: f8c3 24d4 str.w r2, [r3, #1236] @ 0x4d4 + 8002d30: 69fb ldr r3, [r7, #28] + 8002d32: f503 6300 add.w r3, r3, #2048 @ 0x800 + 8002d36: 689b ldr r3, [r3, #8] + 8002d38: 0a1b lsrs r3, r3, #8 + 8002d3a: f3c3 020d ubfx r2, r3, #0, #14 + 8002d3e: 687b ldr r3, [r7, #4] + 8002d40: f8c3 24d4 str.w r2, [r3, #1236] @ 0x4d4 if (__HAL_PCD_GET_FLAG(hpcd, USB_OTG_GINTSTS_MMIS)) - 8002bb4: 687b ldr r3, [r7, #4] - 8002bb6: 681b ldr r3, [r3, #0] - 8002bb8: 4618 mov r0, r3 - 8002bba: f005 f8b1 bl 8007d20 - 8002bbe: 4603 mov r3, r0 - 8002bc0: f003 0302 and.w r3, r3, #2 - 8002bc4: 2b02 cmp r3, #2 - 8002bc6: d107 bne.n 8002bd8 + 8002d44: 687b ldr r3, [r7, #4] + 8002d46: 681b ldr r3, [r3, #0] + 8002d48: 4618 mov r0, r3 + 8002d4a: f005 fb1f bl 800838c + 8002d4e: 4603 mov r3, r0 + 8002d50: f003 0302 and.w r3, r3, #2 + 8002d54: 2b02 cmp r3, #2 + 8002d56: d107 bne.n 8002d68 { /* incorrect mode, acknowledge the interrupt */ __HAL_PCD_CLEAR_FLAG(hpcd, USB_OTG_GINTSTS_MMIS); - 8002bc8: 687b ldr r3, [r7, #4] - 8002bca: 681b ldr r3, [r3, #0] - 8002bcc: 695a ldr r2, [r3, #20] - 8002bce: 687b ldr r3, [r7, #4] - 8002bd0: 681b ldr r3, [r3, #0] - 8002bd2: f002 0202 and.w r2, r2, #2 - 8002bd6: 615a str r2, [r3, #20] + 8002d58: 687b ldr r3, [r7, #4] + 8002d5a: 681b ldr r3, [r3, #0] + 8002d5c: 695a ldr r2, [r3, #20] + 8002d5e: 687b ldr r3, [r7, #4] + 8002d60: 681b ldr r3, [r3, #0] + 8002d62: f002 0202 and.w r2, r2, #2 + 8002d66: 615a str r2, [r3, #20] } /* Handle RxQLevel Interrupt */ if (__HAL_PCD_GET_FLAG(hpcd, USB_OTG_GINTSTS_RXFLVL)) - 8002bd8: 687b ldr r3, [r7, #4] - 8002bda: 681b ldr r3, [r3, #0] - 8002bdc: 4618 mov r0, r3 - 8002bde: f005 f89f bl 8007d20 - 8002be2: 4603 mov r3, r0 - 8002be4: f003 0310 and.w r3, r3, #16 - 8002be8: 2b10 cmp r3, #16 - 8002bea: d161 bne.n 8002cb0 + 8002d68: 687b ldr r3, [r7, #4] + 8002d6a: 681b ldr r3, [r3, #0] + 8002d6c: 4618 mov r0, r3 + 8002d6e: f005 fb0d bl 800838c + 8002d72: 4603 mov r3, r0 + 8002d74: f003 0310 and.w r3, r3, #16 + 8002d78: 2b10 cmp r3, #16 + 8002d7a: d161 bne.n 8002e40 { USB_MASK_INTERRUPT(hpcd->Instance, USB_OTG_GINTSTS_RXFLVL); - 8002bec: 687b ldr r3, [r7, #4] - 8002bee: 681b ldr r3, [r3, #0] - 8002bf0: 699a ldr r2, [r3, #24] - 8002bf2: 687b ldr r3, [r7, #4] - 8002bf4: 681b ldr r3, [r3, #0] - 8002bf6: f022 0210 bic.w r2, r2, #16 - 8002bfa: 619a str r2, [r3, #24] + 8002d7c: 687b ldr r3, [r7, #4] + 8002d7e: 681b ldr r3, [r3, #0] + 8002d80: 699a ldr r2, [r3, #24] + 8002d82: 687b ldr r3, [r7, #4] + 8002d84: 681b ldr r3, [r3, #0] + 8002d86: f022 0210 bic.w r2, r2, #16 + 8002d8a: 619a str r2, [r3, #24] RegVal = USBx->GRXSTSP; - 8002bfc: 6a3b ldr r3, [r7, #32] - 8002bfe: 6a1b ldr r3, [r3, #32] - 8002c00: 61bb str r3, [r7, #24] + 8002d8c: 6a3b ldr r3, [r7, #32] + 8002d8e: 6a1b ldr r3, [r3, #32] + 8002d90: 61bb str r3, [r7, #24] ep = &hpcd->OUT_ep[RegVal & USB_OTG_GRXSTSP_EPNUM]; - 8002c02: 69bb ldr r3, [r7, #24] - 8002c04: f003 020f and.w r2, r3, #15 - 8002c08: 4613 mov r3, r2 - 8002c0a: 00db lsls r3, r3, #3 - 8002c0c: 4413 add r3, r2 - 8002c0e: 009b lsls r3, r3, #2 - 8002c10: f503 7314 add.w r3, r3, #592 @ 0x250 - 8002c14: 687a ldr r2, [r7, #4] - 8002c16: 4413 add r3, r2 - 8002c18: 3304 adds r3, #4 - 8002c1a: 617b str r3, [r7, #20] + 8002d92: 69bb ldr r3, [r7, #24] + 8002d94: f003 020f and.w r2, r3, #15 + 8002d98: 4613 mov r3, r2 + 8002d9a: 00db lsls r3, r3, #3 + 8002d9c: 4413 add r3, r2 + 8002d9e: 009b lsls r3, r3, #2 + 8002da0: f503 7314 add.w r3, r3, #592 @ 0x250 + 8002da4: 687a ldr r2, [r7, #4] + 8002da6: 4413 add r3, r2 + 8002da8: 3304 adds r3, #4 + 8002daa: 617b str r3, [r7, #20] if (((RegVal & USB_OTG_GRXSTSP_PKTSTS) >> 17) == STS_DATA_UPDT) - 8002c1c: 69bb ldr r3, [r7, #24] - 8002c1e: f403 13f0 and.w r3, r3, #1966080 @ 0x1e0000 - 8002c22: f5b3 2f80 cmp.w r3, #262144 @ 0x40000 - 8002c26: d124 bne.n 8002c72 + 8002dac: 69bb ldr r3, [r7, #24] + 8002dae: f403 13f0 and.w r3, r3, #1966080 @ 0x1e0000 + 8002db2: f5b3 2f80 cmp.w r3, #262144 @ 0x40000 + 8002db6: d124 bne.n 8002e02 { if ((RegVal & USB_OTG_GRXSTSP_BCNT) != 0U) - 8002c28: 69ba ldr r2, [r7, #24] - 8002c2a: f647 73f0 movw r3, #32752 @ 0x7ff0 - 8002c2e: 4013 ands r3, r2 - 8002c30: 2b00 cmp r3, #0 - 8002c32: d035 beq.n 8002ca0 + 8002db8: 69ba ldr r2, [r7, #24] + 8002dba: f647 73f0 movw r3, #32752 @ 0x7ff0 + 8002dbe: 4013 ands r3, r2 + 8002dc0: 2b00 cmp r3, #0 + 8002dc2: d035 beq.n 8002e30 { (void)USB_ReadPacket(USBx, ep->xfer_buff, - 8002c34: 697b ldr r3, [r7, #20] - 8002c36: 68d9 ldr r1, [r3, #12] + 8002dc4: 697b ldr r3, [r7, #20] + 8002dc6: 68d9 ldr r1, [r3, #12] (uint16_t)((RegVal & USB_OTG_GRXSTSP_BCNT) >> 4)); - 8002c38: 69bb ldr r3, [r7, #24] - 8002c3a: 091b lsrs r3, r3, #4 - 8002c3c: b29b uxth r3, r3 + 8002dc8: 69bb ldr r3, [r7, #24] + 8002dca: 091b lsrs r3, r3, #4 + 8002dcc: b29b uxth r3, r3 (void)USB_ReadPacket(USBx, ep->xfer_buff, - 8002c3e: f3c3 030a ubfx r3, r3, #0, #11 - 8002c42: b29b uxth r3, r3 - 8002c44: 461a mov r2, r3 - 8002c46: 6a38 ldr r0, [r7, #32] - 8002c48: f004 fed6 bl 80079f8 + 8002dce: f3c3 030a ubfx r3, r3, #0, #11 + 8002dd2: b29b uxth r3, r3 + 8002dd4: 461a mov r2, r3 + 8002dd6: 6a38 ldr r0, [r7, #32] + 8002dd8: f005 f944 bl 8008064 ep->xfer_buff += (RegVal & USB_OTG_GRXSTSP_BCNT) >> 4; - 8002c4c: 697b ldr r3, [r7, #20] - 8002c4e: 68da ldr r2, [r3, #12] - 8002c50: 69bb ldr r3, [r7, #24] - 8002c52: 091b lsrs r3, r3, #4 - 8002c54: f3c3 030a ubfx r3, r3, #0, #11 - 8002c58: 441a add r2, r3 - 8002c5a: 697b ldr r3, [r7, #20] - 8002c5c: 60da str r2, [r3, #12] + 8002ddc: 697b ldr r3, [r7, #20] + 8002dde: 68da ldr r2, [r3, #12] + 8002de0: 69bb ldr r3, [r7, #24] + 8002de2: 091b lsrs r3, r3, #4 + 8002de4: f3c3 030a ubfx r3, r3, #0, #11 + 8002de8: 441a add r2, r3 + 8002dea: 697b ldr r3, [r7, #20] + 8002dec: 60da str r2, [r3, #12] ep->xfer_count += (RegVal & USB_OTG_GRXSTSP_BCNT) >> 4; - 8002c5e: 697b ldr r3, [r7, #20] - 8002c60: 695a ldr r2, [r3, #20] - 8002c62: 69bb ldr r3, [r7, #24] - 8002c64: 091b lsrs r3, r3, #4 - 8002c66: f3c3 030a ubfx r3, r3, #0, #11 - 8002c6a: 441a add r2, r3 - 8002c6c: 697b ldr r3, [r7, #20] - 8002c6e: 615a str r2, [r3, #20] - 8002c70: e016 b.n 8002ca0 + 8002dee: 697b ldr r3, [r7, #20] + 8002df0: 695a ldr r2, [r3, #20] + 8002df2: 69bb ldr r3, [r7, #24] + 8002df4: 091b lsrs r3, r3, #4 + 8002df6: f3c3 030a ubfx r3, r3, #0, #11 + 8002dfa: 441a add r2, r3 + 8002dfc: 697b ldr r3, [r7, #20] + 8002dfe: 615a str r2, [r3, #20] + 8002e00: e016 b.n 8002e30 } } else if (((RegVal & USB_OTG_GRXSTSP_PKTSTS) >> 17) == STS_SETUP_UPDT) - 8002c72: 69bb ldr r3, [r7, #24] - 8002c74: f403 13f0 and.w r3, r3, #1966080 @ 0x1e0000 - 8002c78: f5b3 2f40 cmp.w r3, #786432 @ 0xc0000 - 8002c7c: d110 bne.n 8002ca0 + 8002e02: 69bb ldr r3, [r7, #24] + 8002e04: f403 13f0 and.w r3, r3, #1966080 @ 0x1e0000 + 8002e08: f5b3 2f40 cmp.w r3, #786432 @ 0xc0000 + 8002e0c: d110 bne.n 8002e30 { (void)USB_ReadPacket(USBx, (uint8_t *)hpcd->Setup, 8U); - 8002c7e: 687b ldr r3, [r7, #4] - 8002c80: f203 439c addw r3, r3, #1180 @ 0x49c - 8002c84: 2208 movs r2, #8 - 8002c86: 4619 mov r1, r3 - 8002c88: 6a38 ldr r0, [r7, #32] - 8002c8a: f004 feb5 bl 80079f8 + 8002e0e: 687b ldr r3, [r7, #4] + 8002e10: f203 439c addw r3, r3, #1180 @ 0x49c + 8002e14: 2208 movs r2, #8 + 8002e16: 4619 mov r1, r3 + 8002e18: 6a38 ldr r0, [r7, #32] + 8002e1a: f005 f923 bl 8008064 ep->xfer_count += (RegVal & USB_OTG_GRXSTSP_BCNT) >> 4; - 8002c8e: 697b ldr r3, [r7, #20] - 8002c90: 695a ldr r2, [r3, #20] - 8002c92: 69bb ldr r3, [r7, #24] - 8002c94: 091b lsrs r3, r3, #4 - 8002c96: f3c3 030a ubfx r3, r3, #0, #11 - 8002c9a: 441a add r2, r3 - 8002c9c: 697b ldr r3, [r7, #20] - 8002c9e: 615a str r2, [r3, #20] + 8002e1e: 697b ldr r3, [r7, #20] + 8002e20: 695a ldr r2, [r3, #20] + 8002e22: 69bb ldr r3, [r7, #24] + 8002e24: 091b lsrs r3, r3, #4 + 8002e26: f3c3 030a ubfx r3, r3, #0, #11 + 8002e2a: 441a add r2, r3 + 8002e2c: 697b ldr r3, [r7, #20] + 8002e2e: 615a str r2, [r3, #20] else { /* ... */ } USB_UNMASK_INTERRUPT(hpcd->Instance, USB_OTG_GINTSTS_RXFLVL); - 8002ca0: 687b ldr r3, [r7, #4] - 8002ca2: 681b ldr r3, [r3, #0] - 8002ca4: 699a ldr r2, [r3, #24] - 8002ca6: 687b ldr r3, [r7, #4] - 8002ca8: 681b ldr r3, [r3, #0] - 8002caa: f042 0210 orr.w r2, r2, #16 - 8002cae: 619a str r2, [r3, #24] + 8002e30: 687b ldr r3, [r7, #4] + 8002e32: 681b ldr r3, [r3, #0] + 8002e34: 699a ldr r2, [r3, #24] + 8002e36: 687b ldr r3, [r7, #4] + 8002e38: 681b ldr r3, [r3, #0] + 8002e3a: f042 0210 orr.w r2, r2, #16 + 8002e3e: 619a str r2, [r3, #24] } if (__HAL_PCD_GET_FLAG(hpcd, USB_OTG_GINTSTS_OEPINT)) - 8002cb0: 687b ldr r3, [r7, #4] - 8002cb2: 681b ldr r3, [r3, #0] - 8002cb4: 4618 mov r0, r3 - 8002cb6: f005 f833 bl 8007d20 - 8002cba: 4603 mov r3, r0 - 8002cbc: f403 2300 and.w r3, r3, #524288 @ 0x80000 - 8002cc0: f5b3 2f00 cmp.w r3, #524288 @ 0x80000 - 8002cc4: f040 80a7 bne.w 8002e16 + 8002e40: 687b ldr r3, [r7, #4] + 8002e42: 681b ldr r3, [r3, #0] + 8002e44: 4618 mov r0, r3 + 8002e46: f005 faa1 bl 800838c + 8002e4a: 4603 mov r3, r0 + 8002e4c: f403 2300 and.w r3, r3, #524288 @ 0x80000 + 8002e50: f5b3 2f00 cmp.w r3, #524288 @ 0x80000 + 8002e54: f040 80a7 bne.w 8002fa6 { epnum = 0U; - 8002cc8: 2300 movs r3, #0 - 8002cca: 627b str r3, [r7, #36] @ 0x24 + 8002e58: 2300 movs r3, #0 + 8002e5a: 627b str r3, [r7, #36] @ 0x24 /* Read in the device interrupt bits */ ep_intr = USB_ReadDevAllOutEpInterrupt(hpcd->Instance); - 8002ccc: 687b ldr r3, [r7, #4] - 8002cce: 681b ldr r3, [r3, #0] - 8002cd0: 4618 mov r0, r3 - 8002cd2: f005 f838 bl 8007d46 - 8002cd6: 62b8 str r0, [r7, #40] @ 0x28 + 8002e5c: 687b ldr r3, [r7, #4] + 8002e5e: 681b ldr r3, [r3, #0] + 8002e60: 4618 mov r0, r3 + 8002e62: f005 faa6 bl 80083b2 + 8002e66: 62b8 str r0, [r7, #40] @ 0x28 while (ep_intr != 0U) - 8002cd8: e099 b.n 8002e0e + 8002e68: e099 b.n 8002f9e { if ((ep_intr & 0x1U) != 0U) - 8002cda: 6abb ldr r3, [r7, #40] @ 0x28 - 8002cdc: f003 0301 and.w r3, r3, #1 - 8002ce0: 2b00 cmp r3, #0 - 8002ce2: f000 808e beq.w 8002e02 + 8002e6a: 6abb ldr r3, [r7, #40] @ 0x28 + 8002e6c: f003 0301 and.w r3, r3, #1 + 8002e70: 2b00 cmp r3, #0 + 8002e72: f000 808e beq.w 8002f92 { epint = USB_ReadDevOutEPInterrupt(hpcd->Instance, (uint8_t)epnum); - 8002ce6: 687b ldr r3, [r7, #4] - 8002ce8: 681b ldr r3, [r3, #0] - 8002cea: 6a7a ldr r2, [r7, #36] @ 0x24 - 8002cec: b2d2 uxtb r2, r2 - 8002cee: 4611 mov r1, r2 - 8002cf0: 4618 mov r0, r3 - 8002cf2: f005 f85c bl 8007dae - 8002cf6: 6138 str r0, [r7, #16] + 8002e76: 687b ldr r3, [r7, #4] + 8002e78: 681b ldr r3, [r3, #0] + 8002e7a: 6a7a ldr r2, [r7, #36] @ 0x24 + 8002e7c: b2d2 uxtb r2, r2 + 8002e7e: 4611 mov r1, r2 + 8002e80: 4618 mov r0, r3 + 8002e82: f005 faca bl 800841a + 8002e86: 6138 str r0, [r7, #16] if ((epint & USB_OTG_DOEPINT_XFRC) == USB_OTG_DOEPINT_XFRC) - 8002cf8: 693b ldr r3, [r7, #16] - 8002cfa: f003 0301 and.w r3, r3, #1 - 8002cfe: 2b00 cmp r3, #0 - 8002d00: d00c beq.n 8002d1c + 8002e88: 693b ldr r3, [r7, #16] + 8002e8a: f003 0301 and.w r3, r3, #1 + 8002e8e: 2b00 cmp r3, #0 + 8002e90: d00c beq.n 8002eac { CLEAR_OUT_EP_INTR(epnum, USB_OTG_DOEPINT_XFRC); - 8002d02: 6a7b ldr r3, [r7, #36] @ 0x24 - 8002d04: 015a lsls r2, r3, #5 - 8002d06: 69fb ldr r3, [r7, #28] - 8002d08: 4413 add r3, r2 - 8002d0a: f503 6330 add.w r3, r3, #2816 @ 0xb00 - 8002d0e: 461a mov r2, r3 - 8002d10: 2301 movs r3, #1 - 8002d12: 6093 str r3, [r2, #8] + 8002e92: 6a7b ldr r3, [r7, #36] @ 0x24 + 8002e94: 015a lsls r2, r3, #5 + 8002e96: 69fb ldr r3, [r7, #28] + 8002e98: 4413 add r3, r2 + 8002e9a: f503 6330 add.w r3, r3, #2816 @ 0xb00 + 8002e9e: 461a mov r2, r3 + 8002ea0: 2301 movs r3, #1 + 8002ea2: 6093 str r3, [r2, #8] (void)PCD_EP_OutXfrComplete_int(hpcd, epnum); - 8002d14: 6a79 ldr r1, [r7, #36] @ 0x24 - 8002d16: 6878 ldr r0, [r7, #4] - 8002d18: f000 feb8 bl 8003a8c + 8002ea4: 6a79 ldr r1, [r7, #36] @ 0x24 + 8002ea6: 6878 ldr r0, [r7, #4] + 8002ea8: f000 feb8 bl 8003c1c } if ((epint & USB_OTG_DOEPINT_STUP) == USB_OTG_DOEPINT_STUP) - 8002d1c: 693b ldr r3, [r7, #16] - 8002d1e: f003 0308 and.w r3, r3, #8 - 8002d22: 2b00 cmp r3, #0 - 8002d24: d00c beq.n 8002d40 + 8002eac: 693b ldr r3, [r7, #16] + 8002eae: f003 0308 and.w r3, r3, #8 + 8002eb2: 2b00 cmp r3, #0 + 8002eb4: d00c beq.n 8002ed0 { CLEAR_OUT_EP_INTR(epnum, USB_OTG_DOEPINT_STUP); - 8002d26: 6a7b ldr r3, [r7, #36] @ 0x24 - 8002d28: 015a lsls r2, r3, #5 - 8002d2a: 69fb ldr r3, [r7, #28] - 8002d2c: 4413 add r3, r2 - 8002d2e: f503 6330 add.w r3, r3, #2816 @ 0xb00 - 8002d32: 461a mov r2, r3 - 8002d34: 2308 movs r3, #8 - 8002d36: 6093 str r3, [r2, #8] + 8002eb6: 6a7b ldr r3, [r7, #36] @ 0x24 + 8002eb8: 015a lsls r2, r3, #5 + 8002eba: 69fb ldr r3, [r7, #28] + 8002ebc: 4413 add r3, r2 + 8002ebe: f503 6330 add.w r3, r3, #2816 @ 0xb00 + 8002ec2: 461a mov r2, r3 + 8002ec4: 2308 movs r3, #8 + 8002ec6: 6093 str r3, [r2, #8] /* Class B setup phase done for previous decoded setup */ (void)PCD_EP_OutSetupPacket_int(hpcd, epnum); - 8002d38: 6a79 ldr r1, [r7, #36] @ 0x24 - 8002d3a: 6878 ldr r0, [r7, #4] - 8002d3c: f000 ff8e bl 8003c5c + 8002ec8: 6a79 ldr r1, [r7, #36] @ 0x24 + 8002eca: 6878 ldr r0, [r7, #4] + 8002ecc: f000 ff8e bl 8003dec } if ((epint & USB_OTG_DOEPINT_OTEPDIS) == USB_OTG_DOEPINT_OTEPDIS) - 8002d40: 693b ldr r3, [r7, #16] - 8002d42: f003 0310 and.w r3, r3, #16 - 8002d46: 2b00 cmp r3, #0 - 8002d48: d008 beq.n 8002d5c + 8002ed0: 693b ldr r3, [r7, #16] + 8002ed2: f003 0310 and.w r3, r3, #16 + 8002ed6: 2b00 cmp r3, #0 + 8002ed8: d008 beq.n 8002eec { CLEAR_OUT_EP_INTR(epnum, USB_OTG_DOEPINT_OTEPDIS); - 8002d4a: 6a7b ldr r3, [r7, #36] @ 0x24 - 8002d4c: 015a lsls r2, r3, #5 - 8002d4e: 69fb ldr r3, [r7, #28] - 8002d50: 4413 add r3, r2 - 8002d52: f503 6330 add.w r3, r3, #2816 @ 0xb00 - 8002d56: 461a mov r2, r3 - 8002d58: 2310 movs r3, #16 - 8002d5a: 6093 str r3, [r2, #8] + 8002eda: 6a7b ldr r3, [r7, #36] @ 0x24 + 8002edc: 015a lsls r2, r3, #5 + 8002ede: 69fb ldr r3, [r7, #28] + 8002ee0: 4413 add r3, r2 + 8002ee2: f503 6330 add.w r3, r3, #2816 @ 0xb00 + 8002ee6: 461a mov r2, r3 + 8002ee8: 2310 movs r3, #16 + 8002eea: 6093 str r3, [r2, #8] } /* Clear OUT Endpoint disable interrupt */ if ((epint & USB_OTG_DOEPINT_EPDISD) == USB_OTG_DOEPINT_EPDISD) - 8002d5c: 693b ldr r3, [r7, #16] - 8002d5e: f003 0302 and.w r3, r3, #2 - 8002d62: 2b00 cmp r3, #0 - 8002d64: d030 beq.n 8002dc8 + 8002eec: 693b ldr r3, [r7, #16] + 8002eee: f003 0302 and.w r3, r3, #2 + 8002ef2: 2b00 cmp r3, #0 + 8002ef4: d030 beq.n 8002f58 { if ((USBx->GINTSTS & USB_OTG_GINTSTS_BOUTNAKEFF) == USB_OTG_GINTSTS_BOUTNAKEFF) - 8002d66: 6a3b ldr r3, [r7, #32] - 8002d68: 695b ldr r3, [r3, #20] - 8002d6a: f003 0380 and.w r3, r3, #128 @ 0x80 - 8002d6e: 2b80 cmp r3, #128 @ 0x80 - 8002d70: d109 bne.n 8002d86 + 8002ef6: 6a3b ldr r3, [r7, #32] + 8002ef8: 695b ldr r3, [r3, #20] + 8002efa: f003 0380 and.w r3, r3, #128 @ 0x80 + 8002efe: 2b80 cmp r3, #128 @ 0x80 + 8002f00: d109 bne.n 8002f16 { USBx_DEVICE->DCTL |= USB_OTG_DCTL_CGONAK; - 8002d72: 69fb ldr r3, [r7, #28] - 8002d74: f503 6300 add.w r3, r3, #2048 @ 0x800 - 8002d78: 685b ldr r3, [r3, #4] - 8002d7a: 69fa ldr r2, [r7, #28] - 8002d7c: f502 6200 add.w r2, r2, #2048 @ 0x800 - 8002d80: f443 6380 orr.w r3, r3, #1024 @ 0x400 - 8002d84: 6053 str r3, [r2, #4] + 8002f02: 69fb ldr r3, [r7, #28] + 8002f04: f503 6300 add.w r3, r3, #2048 @ 0x800 + 8002f08: 685b ldr r3, [r3, #4] + 8002f0a: 69fa ldr r2, [r7, #28] + 8002f0c: f502 6200 add.w r2, r2, #2048 @ 0x800 + 8002f10: f443 6380 orr.w r3, r3, #1024 @ 0x400 + 8002f14: 6053 str r3, [r2, #4] } ep = &hpcd->OUT_ep[epnum]; - 8002d86: 6a7a ldr r2, [r7, #36] @ 0x24 - 8002d88: 4613 mov r3, r2 - 8002d8a: 00db lsls r3, r3, #3 - 8002d8c: 4413 add r3, r2 - 8002d8e: 009b lsls r3, r3, #2 - 8002d90: f503 7314 add.w r3, r3, #592 @ 0x250 - 8002d94: 687a ldr r2, [r7, #4] - 8002d96: 4413 add r3, r2 - 8002d98: 3304 adds r3, #4 - 8002d9a: 617b str r3, [r7, #20] + 8002f16: 6a7a ldr r2, [r7, #36] @ 0x24 + 8002f18: 4613 mov r3, r2 + 8002f1a: 00db lsls r3, r3, #3 + 8002f1c: 4413 add r3, r2 + 8002f1e: 009b lsls r3, r3, #2 + 8002f20: f503 7314 add.w r3, r3, #592 @ 0x250 + 8002f24: 687a ldr r2, [r7, #4] + 8002f26: 4413 add r3, r2 + 8002f28: 3304 adds r3, #4 + 8002f2a: 617b str r3, [r7, #20] if (ep->is_iso_incomplete == 1U) - 8002d9c: 697b ldr r3, [r7, #20] - 8002d9e: 78db ldrb r3, [r3, #3] - 8002da0: 2b01 cmp r3, #1 - 8002da2: d108 bne.n 8002db6 + 8002f2c: 697b ldr r3, [r7, #20] + 8002f2e: 78db ldrb r3, [r3, #3] + 8002f30: 2b01 cmp r3, #1 + 8002f32: d108 bne.n 8002f46 { ep->is_iso_incomplete = 0U; - 8002da4: 697b ldr r3, [r7, #20] - 8002da6: 2200 movs r2, #0 - 8002da8: 70da strb r2, [r3, #3] + 8002f34: 697b ldr r3, [r7, #20] + 8002f36: 2200 movs r2, #0 + 8002f38: 70da strb r2, [r3, #3] #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U) hpcd->ISOOUTIncompleteCallback(hpcd, (uint8_t)epnum); #else HAL_PCD_ISOOUTIncompleteCallback(hpcd, (uint8_t)epnum); - 8002daa: 6a7b ldr r3, [r7, #36] @ 0x24 - 8002dac: b2db uxtb r3, r3 - 8002dae: 4619 mov r1, r3 - 8002db0: 6878 ldr r0, [r7, #4] - 8002db2: f007 f8f5 bl 8009fa0 + 8002f3a: 6a7b ldr r3, [r7, #36] @ 0x24 + 8002f3c: b2db uxtb r3, r3 + 8002f3e: 4619 mov r1, r3 + 8002f40: 6878 ldr r0, [r7, #4] + 8002f42: f007 fb63 bl 800a60c #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */ } CLEAR_OUT_EP_INTR(epnum, USB_OTG_DOEPINT_EPDISD); - 8002db6: 6a7b ldr r3, [r7, #36] @ 0x24 - 8002db8: 015a lsls r2, r3, #5 - 8002dba: 69fb ldr r3, [r7, #28] - 8002dbc: 4413 add r3, r2 - 8002dbe: f503 6330 add.w r3, r3, #2816 @ 0xb00 - 8002dc2: 461a mov r2, r3 - 8002dc4: 2302 movs r3, #2 - 8002dc6: 6093 str r3, [r2, #8] + 8002f46: 6a7b ldr r3, [r7, #36] @ 0x24 + 8002f48: 015a lsls r2, r3, #5 + 8002f4a: 69fb ldr r3, [r7, #28] + 8002f4c: 4413 add r3, r2 + 8002f4e: f503 6330 add.w r3, r3, #2816 @ 0xb00 + 8002f52: 461a mov r2, r3 + 8002f54: 2302 movs r3, #2 + 8002f56: 6093 str r3, [r2, #8] } /* Clear Status Phase Received interrupt */ if ((epint & USB_OTG_DOEPINT_OTEPSPR) == USB_OTG_DOEPINT_OTEPSPR) - 8002dc8: 693b ldr r3, [r7, #16] - 8002dca: f003 0320 and.w r3, r3, #32 - 8002dce: 2b00 cmp r3, #0 - 8002dd0: d008 beq.n 8002de4 + 8002f58: 693b ldr r3, [r7, #16] + 8002f5a: f003 0320 and.w r3, r3, #32 + 8002f5e: 2b00 cmp r3, #0 + 8002f60: d008 beq.n 8002f74 { CLEAR_OUT_EP_INTR(epnum, USB_OTG_DOEPINT_OTEPSPR); - 8002dd2: 6a7b ldr r3, [r7, #36] @ 0x24 - 8002dd4: 015a lsls r2, r3, #5 - 8002dd6: 69fb ldr r3, [r7, #28] - 8002dd8: 4413 add r3, r2 - 8002dda: f503 6330 add.w r3, r3, #2816 @ 0xb00 - 8002dde: 461a mov r2, r3 - 8002de0: 2320 movs r3, #32 - 8002de2: 6093 str r3, [r2, #8] + 8002f62: 6a7b ldr r3, [r7, #36] @ 0x24 + 8002f64: 015a lsls r2, r3, #5 + 8002f66: 69fb ldr r3, [r7, #28] + 8002f68: 4413 add r3, r2 + 8002f6a: f503 6330 add.w r3, r3, #2816 @ 0xb00 + 8002f6e: 461a mov r2, r3 + 8002f70: 2320 movs r3, #32 + 8002f72: 6093 str r3, [r2, #8] } /* Clear OUT NAK interrupt */ if ((epint & USB_OTG_DOEPINT_NAK) == USB_OTG_DOEPINT_NAK) - 8002de4: 693b ldr r3, [r7, #16] - 8002de6: f403 5300 and.w r3, r3, #8192 @ 0x2000 - 8002dea: 2b00 cmp r3, #0 - 8002dec: d009 beq.n 8002e02 + 8002f74: 693b ldr r3, [r7, #16] + 8002f76: f403 5300 and.w r3, r3, #8192 @ 0x2000 + 8002f7a: 2b00 cmp r3, #0 + 8002f7c: d009 beq.n 8002f92 { CLEAR_OUT_EP_INTR(epnum, USB_OTG_DOEPINT_NAK); - 8002dee: 6a7b ldr r3, [r7, #36] @ 0x24 - 8002df0: 015a lsls r2, r3, #5 - 8002df2: 69fb ldr r3, [r7, #28] - 8002df4: 4413 add r3, r2 - 8002df6: f503 6330 add.w r3, r3, #2816 @ 0xb00 - 8002dfa: 461a mov r2, r3 - 8002dfc: f44f 5300 mov.w r3, #8192 @ 0x2000 - 8002e00: 6093 str r3, [r2, #8] + 8002f7e: 6a7b ldr r3, [r7, #36] @ 0x24 + 8002f80: 015a lsls r2, r3, #5 + 8002f82: 69fb ldr r3, [r7, #28] + 8002f84: 4413 add r3, r2 + 8002f86: f503 6330 add.w r3, r3, #2816 @ 0xb00 + 8002f8a: 461a mov r2, r3 + 8002f8c: f44f 5300 mov.w r3, #8192 @ 0x2000 + 8002f90: 6093 str r3, [r2, #8] } } epnum++; - 8002e02: 6a7b ldr r3, [r7, #36] @ 0x24 - 8002e04: 3301 adds r3, #1 - 8002e06: 627b str r3, [r7, #36] @ 0x24 + 8002f92: 6a7b ldr r3, [r7, #36] @ 0x24 + 8002f94: 3301 adds r3, #1 + 8002f96: 627b str r3, [r7, #36] @ 0x24 ep_intr >>= 1U; - 8002e08: 6abb ldr r3, [r7, #40] @ 0x28 - 8002e0a: 085b lsrs r3, r3, #1 - 8002e0c: 62bb str r3, [r7, #40] @ 0x28 + 8002f98: 6abb ldr r3, [r7, #40] @ 0x28 + 8002f9a: 085b lsrs r3, r3, #1 + 8002f9c: 62bb str r3, [r7, #40] @ 0x28 while (ep_intr != 0U) - 8002e0e: 6abb ldr r3, [r7, #40] @ 0x28 - 8002e10: 2b00 cmp r3, #0 - 8002e12: f47f af62 bne.w 8002cda + 8002f9e: 6abb ldr r3, [r7, #40] @ 0x28 + 8002fa0: 2b00 cmp r3, #0 + 8002fa2: f47f af62 bne.w 8002e6a } } if (__HAL_PCD_GET_FLAG(hpcd, USB_OTG_GINTSTS_IEPINT)) - 8002e16: 687b ldr r3, [r7, #4] - 8002e18: 681b ldr r3, [r3, #0] - 8002e1a: 4618 mov r0, r3 - 8002e1c: f004 ff80 bl 8007d20 - 8002e20: 4603 mov r3, r0 - 8002e22: f403 2380 and.w r3, r3, #262144 @ 0x40000 - 8002e26: f5b3 2f80 cmp.w r3, #262144 @ 0x40000 - 8002e2a: f040 80db bne.w 8002fe4 + 8002fa6: 687b ldr r3, [r7, #4] + 8002fa8: 681b ldr r3, [r3, #0] + 8002faa: 4618 mov r0, r3 + 8002fac: f005 f9ee bl 800838c + 8002fb0: 4603 mov r3, r0 + 8002fb2: f403 2380 and.w r3, r3, #262144 @ 0x40000 + 8002fb6: f5b3 2f80 cmp.w r3, #262144 @ 0x40000 + 8002fba: f040 80db bne.w 8003174 { /* Read in the device interrupt bits */ ep_intr = USB_ReadDevAllInEpInterrupt(hpcd->Instance); - 8002e2e: 687b ldr r3, [r7, #4] - 8002e30: 681b ldr r3, [r3, #0] - 8002e32: 4618 mov r0, r3 - 8002e34: f004 ffa1 bl 8007d7a - 8002e38: 62b8 str r0, [r7, #40] @ 0x28 + 8002fbe: 687b ldr r3, [r7, #4] + 8002fc0: 681b ldr r3, [r3, #0] + 8002fc2: 4618 mov r0, r3 + 8002fc4: f005 fa0f bl 80083e6 + 8002fc8: 62b8 str r0, [r7, #40] @ 0x28 epnum = 0U; - 8002e3a: 2300 movs r3, #0 - 8002e3c: 627b str r3, [r7, #36] @ 0x24 + 8002fca: 2300 movs r3, #0 + 8002fcc: 627b str r3, [r7, #36] @ 0x24 while (ep_intr != 0U) - 8002e3e: e0cd b.n 8002fdc + 8002fce: e0cd b.n 800316c { if ((ep_intr & 0x1U) != 0U) /* In ITR */ - 8002e40: 6abb ldr r3, [r7, #40] @ 0x28 - 8002e42: f003 0301 and.w r3, r3, #1 - 8002e46: 2b00 cmp r3, #0 - 8002e48: f000 80c2 beq.w 8002fd0 + 8002fd0: 6abb ldr r3, [r7, #40] @ 0x28 + 8002fd2: f003 0301 and.w r3, r3, #1 + 8002fd6: 2b00 cmp r3, #0 + 8002fd8: f000 80c2 beq.w 8003160 { epint = USB_ReadDevInEPInterrupt(hpcd->Instance, (uint8_t)epnum); - 8002e4c: 687b ldr r3, [r7, #4] - 8002e4e: 681b ldr r3, [r3, #0] - 8002e50: 6a7a ldr r2, [r7, #36] @ 0x24 - 8002e52: b2d2 uxtb r2, r2 - 8002e54: 4611 mov r1, r2 - 8002e56: 4618 mov r0, r3 - 8002e58: f004 ffc7 bl 8007dea - 8002e5c: 6138 str r0, [r7, #16] + 8002fdc: 687b ldr r3, [r7, #4] + 8002fde: 681b ldr r3, [r3, #0] + 8002fe0: 6a7a ldr r2, [r7, #36] @ 0x24 + 8002fe2: b2d2 uxtb r2, r2 + 8002fe4: 4611 mov r1, r2 + 8002fe6: 4618 mov r0, r3 + 8002fe8: f005 fa35 bl 8008456 + 8002fec: 6138 str r0, [r7, #16] if ((epint & USB_OTG_DIEPINT_XFRC) == USB_OTG_DIEPINT_XFRC) - 8002e5e: 693b ldr r3, [r7, #16] - 8002e60: f003 0301 and.w r3, r3, #1 - 8002e64: 2b00 cmp r3, #0 - 8002e66: d057 beq.n 8002f18 + 8002fee: 693b ldr r3, [r7, #16] + 8002ff0: f003 0301 and.w r3, r3, #1 + 8002ff4: 2b00 cmp r3, #0 + 8002ff6: d057 beq.n 80030a8 { fifoemptymsk = (uint32_t)(0x1UL << (epnum & EP_ADDR_MSK)); - 8002e68: 6a7b ldr r3, [r7, #36] @ 0x24 - 8002e6a: f003 030f and.w r3, r3, #15 - 8002e6e: 2201 movs r2, #1 - 8002e70: fa02 f303 lsl.w r3, r2, r3 - 8002e74: 60fb str r3, [r7, #12] + 8002ff8: 6a7b ldr r3, [r7, #36] @ 0x24 + 8002ffa: f003 030f and.w r3, r3, #15 + 8002ffe: 2201 movs r2, #1 + 8003000: fa02 f303 lsl.w r3, r2, r3 + 8003004: 60fb str r3, [r7, #12] USBx_DEVICE->DIEPEMPMSK &= ~fifoemptymsk; - 8002e76: 69fb ldr r3, [r7, #28] - 8002e78: f503 6300 add.w r3, r3, #2048 @ 0x800 - 8002e7c: 6b5a ldr r2, [r3, #52] @ 0x34 - 8002e7e: 68fb ldr r3, [r7, #12] - 8002e80: 43db mvns r3, r3 - 8002e82: 69f9 ldr r1, [r7, #28] - 8002e84: f501 6100 add.w r1, r1, #2048 @ 0x800 - 8002e88: 4013 ands r3, r2 - 8002e8a: 634b str r3, [r1, #52] @ 0x34 + 8003006: 69fb ldr r3, [r7, #28] + 8003008: f503 6300 add.w r3, r3, #2048 @ 0x800 + 800300c: 6b5a ldr r2, [r3, #52] @ 0x34 + 800300e: 68fb ldr r3, [r7, #12] + 8003010: 43db mvns r3, r3 + 8003012: 69f9 ldr r1, [r7, #28] + 8003014: f501 6100 add.w r1, r1, #2048 @ 0x800 + 8003018: 4013 ands r3, r2 + 800301a: 634b str r3, [r1, #52] @ 0x34 CLEAR_IN_EP_INTR(epnum, USB_OTG_DIEPINT_XFRC); - 8002e8c: 6a7b ldr r3, [r7, #36] @ 0x24 - 8002e8e: 015a lsls r2, r3, #5 - 8002e90: 69fb ldr r3, [r7, #28] - 8002e92: 4413 add r3, r2 - 8002e94: f503 6310 add.w r3, r3, #2304 @ 0x900 - 8002e98: 461a mov r2, r3 - 8002e9a: 2301 movs r3, #1 - 8002e9c: 6093 str r3, [r2, #8] + 800301c: 6a7b ldr r3, [r7, #36] @ 0x24 + 800301e: 015a lsls r2, r3, #5 + 8003020: 69fb ldr r3, [r7, #28] + 8003022: 4413 add r3, r2 + 8003024: f503 6310 add.w r3, r3, #2304 @ 0x900 + 8003028: 461a mov r2, r3 + 800302a: 2301 movs r3, #1 + 800302c: 6093 str r3, [r2, #8] if (hpcd->Init.dma_enable == 1U) - 8002e9e: 687b ldr r3, [r7, #4] - 8002ea0: 799b ldrb r3, [r3, #6] - 8002ea2: 2b01 cmp r3, #1 - 8002ea4: d132 bne.n 8002f0c + 800302e: 687b ldr r3, [r7, #4] + 8003030: 799b ldrb r3, [r3, #6] + 8003032: 2b01 cmp r3, #1 + 8003034: d132 bne.n 800309c { hpcd->IN_ep[epnum].xfer_buff += hpcd->IN_ep[epnum].maxpacket; - 8002ea6: 6879 ldr r1, [r7, #4] - 8002ea8: 6a7a ldr r2, [r7, #36] @ 0x24 - 8002eaa: 4613 mov r3, r2 - 8002eac: 00db lsls r3, r3, #3 - 8002eae: 4413 add r3, r2 - 8002eb0: 009b lsls r3, r3, #2 - 8002eb2: 440b add r3, r1 - 8002eb4: 3320 adds r3, #32 - 8002eb6: 6819 ldr r1, [r3, #0] - 8002eb8: 6878 ldr r0, [r7, #4] - 8002eba: 6a7a ldr r2, [r7, #36] @ 0x24 - 8002ebc: 4613 mov r3, r2 - 8002ebe: 00db lsls r3, r3, #3 - 8002ec0: 4413 add r3, r2 - 8002ec2: 009b lsls r3, r3, #2 - 8002ec4: 4403 add r3, r0 - 8002ec6: 331c adds r3, #28 - 8002ec8: 681b ldr r3, [r3, #0] - 8002eca: 4419 add r1, r3 - 8002ecc: 6878 ldr r0, [r7, #4] - 8002ece: 6a7a ldr r2, [r7, #36] @ 0x24 - 8002ed0: 4613 mov r3, r2 - 8002ed2: 00db lsls r3, r3, #3 - 8002ed4: 4413 add r3, r2 - 8002ed6: 009b lsls r3, r3, #2 - 8002ed8: 4403 add r3, r0 - 8002eda: 3320 adds r3, #32 - 8002edc: 6019 str r1, [r3, #0] + 8003036: 6879 ldr r1, [r7, #4] + 8003038: 6a7a ldr r2, [r7, #36] @ 0x24 + 800303a: 4613 mov r3, r2 + 800303c: 00db lsls r3, r3, #3 + 800303e: 4413 add r3, r2 + 8003040: 009b lsls r3, r3, #2 + 8003042: 440b add r3, r1 + 8003044: 3320 adds r3, #32 + 8003046: 6819 ldr r1, [r3, #0] + 8003048: 6878 ldr r0, [r7, #4] + 800304a: 6a7a ldr r2, [r7, #36] @ 0x24 + 800304c: 4613 mov r3, r2 + 800304e: 00db lsls r3, r3, #3 + 8003050: 4413 add r3, r2 + 8003052: 009b lsls r3, r3, #2 + 8003054: 4403 add r3, r0 + 8003056: 331c adds r3, #28 + 8003058: 681b ldr r3, [r3, #0] + 800305a: 4419 add r1, r3 + 800305c: 6878 ldr r0, [r7, #4] + 800305e: 6a7a ldr r2, [r7, #36] @ 0x24 + 8003060: 4613 mov r3, r2 + 8003062: 00db lsls r3, r3, #3 + 8003064: 4413 add r3, r2 + 8003066: 009b lsls r3, r3, #2 + 8003068: 4403 add r3, r0 + 800306a: 3320 adds r3, #32 + 800306c: 6019 str r1, [r3, #0] /* this is ZLP, so prepare EP0 for next setup */ if ((epnum == 0U) && (hpcd->IN_ep[epnum].xfer_len == 0U)) - 8002ede: 6a7b ldr r3, [r7, #36] @ 0x24 - 8002ee0: 2b00 cmp r3, #0 - 8002ee2: d113 bne.n 8002f0c - 8002ee4: 6879 ldr r1, [r7, #4] - 8002ee6: 6a7a ldr r2, [r7, #36] @ 0x24 - 8002ee8: 4613 mov r3, r2 - 8002eea: 00db lsls r3, r3, #3 - 8002eec: 4413 add r3, r2 - 8002eee: 009b lsls r3, r3, #2 - 8002ef0: 440b add r3, r1 - 8002ef2: 3324 adds r3, #36 @ 0x24 - 8002ef4: 681b ldr r3, [r3, #0] - 8002ef6: 2b00 cmp r3, #0 - 8002ef8: d108 bne.n 8002f0c + 800306e: 6a7b ldr r3, [r7, #36] @ 0x24 + 8003070: 2b00 cmp r3, #0 + 8003072: d113 bne.n 800309c + 8003074: 6879 ldr r1, [r7, #4] + 8003076: 6a7a ldr r2, [r7, #36] @ 0x24 + 8003078: 4613 mov r3, r2 + 800307a: 00db lsls r3, r3, #3 + 800307c: 4413 add r3, r2 + 800307e: 009b lsls r3, r3, #2 + 8003080: 440b add r3, r1 + 8003082: 3324 adds r3, #36 @ 0x24 + 8003084: 681b ldr r3, [r3, #0] + 8003086: 2b00 cmp r3, #0 + 8003088: d108 bne.n 800309c { /* prepare to rx more setup packets */ (void)USB_EP0_OutStart(hpcd->Instance, 1U, (uint8_t *)hpcd->Setup); - 8002efa: 687b ldr r3, [r7, #4] - 8002efc: 6818 ldr r0, [r3, #0] - 8002efe: 687b ldr r3, [r7, #4] - 8002f00: f203 439c addw r3, r3, #1180 @ 0x49c - 8002f04: 461a mov r2, r3 - 8002f06: 2101 movs r1, #1 - 8002f08: f004 ffce bl 8007ea8 + 800308a: 687b ldr r3, [r7, #4] + 800308c: 6818 ldr r0, [r3, #0] + 800308e: 687b ldr r3, [r7, #4] + 8003090: f203 439c addw r3, r3, #1180 @ 0x49c + 8003094: 461a mov r2, r3 + 8003096: 2101 movs r1, #1 + 8003098: f005 fa3c bl 8008514 } #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U) hpcd->DataInStageCallback(hpcd, (uint8_t)epnum); #else HAL_PCD_DataInStageCallback(hpcd, (uint8_t)epnum); - 8002f0c: 6a7b ldr r3, [r7, #36] @ 0x24 - 8002f0e: b2db uxtb r3, r3 - 8002f10: 4619 mov r1, r3 - 8002f12: 6878 ldr r0, [r7, #4] - 8002f14: f006 ffbf bl 8009e96 + 800309c: 6a7b ldr r3, [r7, #36] @ 0x24 + 800309e: b2db uxtb r3, r3 + 80030a0: 4619 mov r1, r3 + 80030a2: 6878 ldr r0, [r7, #4] + 80030a4: f007 fa2d bl 800a502 #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */ } if ((epint & USB_OTG_DIEPINT_TOC) == USB_OTG_DIEPINT_TOC) - 8002f18: 693b ldr r3, [r7, #16] - 8002f1a: f003 0308 and.w r3, r3, #8 - 8002f1e: 2b00 cmp r3, #0 - 8002f20: d008 beq.n 8002f34 + 80030a8: 693b ldr r3, [r7, #16] + 80030aa: f003 0308 and.w r3, r3, #8 + 80030ae: 2b00 cmp r3, #0 + 80030b0: d008 beq.n 80030c4 { CLEAR_IN_EP_INTR(epnum, USB_OTG_DIEPINT_TOC); - 8002f22: 6a7b ldr r3, [r7, #36] @ 0x24 - 8002f24: 015a lsls r2, r3, #5 - 8002f26: 69fb ldr r3, [r7, #28] - 8002f28: 4413 add r3, r2 - 8002f2a: f503 6310 add.w r3, r3, #2304 @ 0x900 - 8002f2e: 461a mov r2, r3 - 8002f30: 2308 movs r3, #8 - 8002f32: 6093 str r3, [r2, #8] + 80030b2: 6a7b ldr r3, [r7, #36] @ 0x24 + 80030b4: 015a lsls r2, r3, #5 + 80030b6: 69fb ldr r3, [r7, #28] + 80030b8: 4413 add r3, r2 + 80030ba: f503 6310 add.w r3, r3, #2304 @ 0x900 + 80030be: 461a mov r2, r3 + 80030c0: 2308 movs r3, #8 + 80030c2: 6093 str r3, [r2, #8] } if ((epint & USB_OTG_DIEPINT_ITTXFE) == USB_OTG_DIEPINT_ITTXFE) - 8002f34: 693b ldr r3, [r7, #16] - 8002f36: f003 0310 and.w r3, r3, #16 - 8002f3a: 2b00 cmp r3, #0 - 8002f3c: d008 beq.n 8002f50 + 80030c4: 693b ldr r3, [r7, #16] + 80030c6: f003 0310 and.w r3, r3, #16 + 80030ca: 2b00 cmp r3, #0 + 80030cc: d008 beq.n 80030e0 { CLEAR_IN_EP_INTR(epnum, USB_OTG_DIEPINT_ITTXFE); - 8002f3e: 6a7b ldr r3, [r7, #36] @ 0x24 - 8002f40: 015a lsls r2, r3, #5 - 8002f42: 69fb ldr r3, [r7, #28] - 8002f44: 4413 add r3, r2 - 8002f46: f503 6310 add.w r3, r3, #2304 @ 0x900 - 8002f4a: 461a mov r2, r3 - 8002f4c: 2310 movs r3, #16 - 8002f4e: 6093 str r3, [r2, #8] + 80030ce: 6a7b ldr r3, [r7, #36] @ 0x24 + 80030d0: 015a lsls r2, r3, #5 + 80030d2: 69fb ldr r3, [r7, #28] + 80030d4: 4413 add r3, r2 + 80030d6: f503 6310 add.w r3, r3, #2304 @ 0x900 + 80030da: 461a mov r2, r3 + 80030dc: 2310 movs r3, #16 + 80030de: 6093 str r3, [r2, #8] } if ((epint & USB_OTG_DIEPINT_INEPNE) == USB_OTG_DIEPINT_INEPNE) - 8002f50: 693b ldr r3, [r7, #16] - 8002f52: f003 0340 and.w r3, r3, #64 @ 0x40 - 8002f56: 2b00 cmp r3, #0 - 8002f58: d008 beq.n 8002f6c + 80030e0: 693b ldr r3, [r7, #16] + 80030e2: f003 0340 and.w r3, r3, #64 @ 0x40 + 80030e6: 2b00 cmp r3, #0 + 80030e8: d008 beq.n 80030fc { CLEAR_IN_EP_INTR(epnum, USB_OTG_DIEPINT_INEPNE); - 8002f5a: 6a7b ldr r3, [r7, #36] @ 0x24 - 8002f5c: 015a lsls r2, r3, #5 - 8002f5e: 69fb ldr r3, [r7, #28] - 8002f60: 4413 add r3, r2 - 8002f62: f503 6310 add.w r3, r3, #2304 @ 0x900 - 8002f66: 461a mov r2, r3 - 8002f68: 2340 movs r3, #64 @ 0x40 - 8002f6a: 6093 str r3, [r2, #8] + 80030ea: 6a7b ldr r3, [r7, #36] @ 0x24 + 80030ec: 015a lsls r2, r3, #5 + 80030ee: 69fb ldr r3, [r7, #28] + 80030f0: 4413 add r3, r2 + 80030f2: f503 6310 add.w r3, r3, #2304 @ 0x900 + 80030f6: 461a mov r2, r3 + 80030f8: 2340 movs r3, #64 @ 0x40 + 80030fa: 6093 str r3, [r2, #8] } if ((epint & USB_OTG_DIEPINT_EPDISD) == USB_OTG_DIEPINT_EPDISD) - 8002f6c: 693b ldr r3, [r7, #16] - 8002f6e: f003 0302 and.w r3, r3, #2 - 8002f72: 2b00 cmp r3, #0 - 8002f74: d023 beq.n 8002fbe + 80030fc: 693b ldr r3, [r7, #16] + 80030fe: f003 0302 and.w r3, r3, #2 + 8003102: 2b00 cmp r3, #0 + 8003104: d023 beq.n 800314e { (void)USB_FlushTxFifo(USBx, epnum); - 8002f76: 6a79 ldr r1, [r7, #36] @ 0x24 - 8002f78: 6a38 ldr r0, [r7, #32] - 8002f7a: f003 ffb5 bl 8006ee8 + 8003106: 6a79 ldr r1, [r7, #36] @ 0x24 + 8003108: 6a38 ldr r0, [r7, #32] + 800310a: f004 fa23 bl 8007554 ep = &hpcd->IN_ep[epnum]; - 8002f7e: 6a7a ldr r2, [r7, #36] @ 0x24 - 8002f80: 4613 mov r3, r2 - 8002f82: 00db lsls r3, r3, #3 - 8002f84: 4413 add r3, r2 - 8002f86: 009b lsls r3, r3, #2 - 8002f88: 3310 adds r3, #16 - 8002f8a: 687a ldr r2, [r7, #4] - 8002f8c: 4413 add r3, r2 - 8002f8e: 3304 adds r3, #4 - 8002f90: 617b str r3, [r7, #20] + 800310e: 6a7a ldr r2, [r7, #36] @ 0x24 + 8003110: 4613 mov r3, r2 + 8003112: 00db lsls r3, r3, #3 + 8003114: 4413 add r3, r2 + 8003116: 009b lsls r3, r3, #2 + 8003118: 3310 adds r3, #16 + 800311a: 687a ldr r2, [r7, #4] + 800311c: 4413 add r3, r2 + 800311e: 3304 adds r3, #4 + 8003120: 617b str r3, [r7, #20] if (ep->is_iso_incomplete == 1U) - 8002f92: 697b ldr r3, [r7, #20] - 8002f94: 78db ldrb r3, [r3, #3] - 8002f96: 2b01 cmp r3, #1 - 8002f98: d108 bne.n 8002fac + 8003122: 697b ldr r3, [r7, #20] + 8003124: 78db ldrb r3, [r3, #3] + 8003126: 2b01 cmp r3, #1 + 8003128: d108 bne.n 800313c { ep->is_iso_incomplete = 0U; - 8002f9a: 697b ldr r3, [r7, #20] - 8002f9c: 2200 movs r2, #0 - 8002f9e: 70da strb r2, [r3, #3] + 800312a: 697b ldr r3, [r7, #20] + 800312c: 2200 movs r2, #0 + 800312e: 70da strb r2, [r3, #3] #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U) hpcd->ISOINIncompleteCallback(hpcd, (uint8_t)epnum); #else HAL_PCD_ISOINIncompleteCallback(hpcd, (uint8_t)epnum); - 8002fa0: 6a7b ldr r3, [r7, #36] @ 0x24 - 8002fa2: b2db uxtb r3, r3 - 8002fa4: 4619 mov r1, r3 - 8002fa6: 6878 ldr r0, [r7, #4] - 8002fa8: f007 f80c bl 8009fc4 + 8003130: 6a7b ldr r3, [r7, #36] @ 0x24 + 8003132: b2db uxtb r3, r3 + 8003134: 4619 mov r1, r3 + 8003136: 6878 ldr r0, [r7, #4] + 8003138: f007 fa7a bl 800a630 #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */ } CLEAR_IN_EP_INTR(epnum, USB_OTG_DIEPINT_EPDISD); - 8002fac: 6a7b ldr r3, [r7, #36] @ 0x24 - 8002fae: 015a lsls r2, r3, #5 - 8002fb0: 69fb ldr r3, [r7, #28] - 8002fb2: 4413 add r3, r2 - 8002fb4: f503 6310 add.w r3, r3, #2304 @ 0x900 - 8002fb8: 461a mov r2, r3 - 8002fba: 2302 movs r3, #2 - 8002fbc: 6093 str r3, [r2, #8] + 800313c: 6a7b ldr r3, [r7, #36] @ 0x24 + 800313e: 015a lsls r2, r3, #5 + 8003140: 69fb ldr r3, [r7, #28] + 8003142: 4413 add r3, r2 + 8003144: f503 6310 add.w r3, r3, #2304 @ 0x900 + 8003148: 461a mov r2, r3 + 800314a: 2302 movs r3, #2 + 800314c: 6093 str r3, [r2, #8] } if ((epint & USB_OTG_DIEPINT_TXFE) == USB_OTG_DIEPINT_TXFE) - 8002fbe: 693b ldr r3, [r7, #16] - 8002fc0: f003 0380 and.w r3, r3, #128 @ 0x80 - 8002fc4: 2b00 cmp r3, #0 - 8002fc6: d003 beq.n 8002fd0 + 800314e: 693b ldr r3, [r7, #16] + 8003150: f003 0380 and.w r3, r3, #128 @ 0x80 + 8003154: 2b00 cmp r3, #0 + 8003156: d003 beq.n 8003160 { (void)PCD_WriteEmptyTxFifo(hpcd, epnum); - 8002fc8: 6a79 ldr r1, [r7, #36] @ 0x24 - 8002fca: 6878 ldr r0, [r7, #4] - 8002fcc: f000 fcd2 bl 8003974 + 8003158: 6a79 ldr r1, [r7, #36] @ 0x24 + 800315a: 6878 ldr r0, [r7, #4] + 800315c: f000 fcd2 bl 8003b04 } } epnum++; - 8002fd0: 6a7b ldr r3, [r7, #36] @ 0x24 - 8002fd2: 3301 adds r3, #1 - 8002fd4: 627b str r3, [r7, #36] @ 0x24 + 8003160: 6a7b ldr r3, [r7, #36] @ 0x24 + 8003162: 3301 adds r3, #1 + 8003164: 627b str r3, [r7, #36] @ 0x24 ep_intr >>= 1U; - 8002fd6: 6abb ldr r3, [r7, #40] @ 0x28 - 8002fd8: 085b lsrs r3, r3, #1 - 8002fda: 62bb str r3, [r7, #40] @ 0x28 + 8003166: 6abb ldr r3, [r7, #40] @ 0x28 + 8003168: 085b lsrs r3, r3, #1 + 800316a: 62bb str r3, [r7, #40] @ 0x28 while (ep_intr != 0U) - 8002fdc: 6abb ldr r3, [r7, #40] @ 0x28 - 8002fde: 2b00 cmp r3, #0 - 8002fe0: f47f af2e bne.w 8002e40 + 800316c: 6abb ldr r3, [r7, #40] @ 0x28 + 800316e: 2b00 cmp r3, #0 + 8003170: f47f af2e bne.w 8002fd0 } } /* Handle Resume Interrupt */ if (__HAL_PCD_GET_FLAG(hpcd, USB_OTG_GINTSTS_WKUINT)) - 8002fe4: 687b ldr r3, [r7, #4] - 8002fe6: 681b ldr r3, [r3, #0] - 8002fe8: 4618 mov r0, r3 - 8002fea: f004 fe99 bl 8007d20 - 8002fee: 4603 mov r3, r0 - 8002ff0: f003 4300 and.w r3, r3, #2147483648 @ 0x80000000 - 8002ff4: f1b3 4f00 cmp.w r3, #2147483648 @ 0x80000000 - 8002ff8: d122 bne.n 8003040 + 8003174: 687b ldr r3, [r7, #4] + 8003176: 681b ldr r3, [r3, #0] + 8003178: 4618 mov r0, r3 + 800317a: f005 f907 bl 800838c + 800317e: 4603 mov r3, r0 + 8003180: f003 4300 and.w r3, r3, #2147483648 @ 0x80000000 + 8003184: f1b3 4f00 cmp.w r3, #2147483648 @ 0x80000000 + 8003188: d122 bne.n 80031d0 { /* Clear the Remote Wake-up Signaling */ USBx_DEVICE->DCTL &= ~USB_OTG_DCTL_RWUSIG; - 8002ffa: 69fb ldr r3, [r7, #28] - 8002ffc: f503 6300 add.w r3, r3, #2048 @ 0x800 - 8003000: 685b ldr r3, [r3, #4] - 8003002: 69fa ldr r2, [r7, #28] - 8003004: f502 6200 add.w r2, r2, #2048 @ 0x800 - 8003008: f023 0301 bic.w r3, r3, #1 - 800300c: 6053 str r3, [r2, #4] + 800318a: 69fb ldr r3, [r7, #28] + 800318c: f503 6300 add.w r3, r3, #2048 @ 0x800 + 8003190: 685b ldr r3, [r3, #4] + 8003192: 69fa ldr r2, [r7, #28] + 8003194: f502 6200 add.w r2, r2, #2048 @ 0x800 + 8003198: f023 0301 bic.w r3, r3, #1 + 800319c: 6053 str r3, [r2, #4] if (hpcd->LPM_State == LPM_L1) - 800300e: 687b ldr r3, [r7, #4] - 8003010: f893 34cc ldrb.w r3, [r3, #1228] @ 0x4cc - 8003014: 2b01 cmp r3, #1 - 8003016: d108 bne.n 800302a + 800319e: 687b ldr r3, [r7, #4] + 80031a0: f893 34cc ldrb.w r3, [r3, #1228] @ 0x4cc + 80031a4: 2b01 cmp r3, #1 + 80031a6: d108 bne.n 80031ba { hpcd->LPM_State = LPM_L0; - 8003018: 687b ldr r3, [r7, #4] - 800301a: 2200 movs r2, #0 - 800301c: f883 24cc strb.w r2, [r3, #1228] @ 0x4cc + 80031a8: 687b ldr r3, [r7, #4] + 80031aa: 2200 movs r2, #0 + 80031ac: f883 24cc strb.w r2, [r3, #1228] @ 0x4cc #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U) hpcd->LPMCallback(hpcd, PCD_LPM_L0_ACTIVE); #else HAL_PCDEx_LPM_Callback(hpcd, PCD_LPM_L0_ACTIVE); - 8003020: 2100 movs r1, #0 - 8003022: 6878 ldr r0, [r7, #4] - 8003024: f007 f974 bl 800a310 - 8003028: e002 b.n 8003030 + 80031b0: 2100 movs r1, #0 + 80031b2: 6878 ldr r0, [r7, #4] + 80031b4: f007 fbe2 bl 800a97c + 80031b8: e002 b.n 80031c0 else { #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U) hpcd->ResumeCallback(hpcd); #else HAL_PCD_ResumeCallback(hpcd); - 800302a: 6878 ldr r0, [r7, #4] - 800302c: f006 ffaa bl 8009f84 + 80031ba: 6878 ldr r0, [r7, #4] + 80031bc: f007 fa18 bl 800a5f0 #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */ } __HAL_PCD_CLEAR_FLAG(hpcd, USB_OTG_GINTSTS_WKUINT); - 8003030: 687b ldr r3, [r7, #4] - 8003032: 681b ldr r3, [r3, #0] - 8003034: 695a ldr r2, [r3, #20] - 8003036: 687b ldr r3, [r7, #4] - 8003038: 681b ldr r3, [r3, #0] - 800303a: f002 4200 and.w r2, r2, #2147483648 @ 0x80000000 - 800303e: 615a str r2, [r3, #20] + 80031c0: 687b ldr r3, [r7, #4] + 80031c2: 681b ldr r3, [r3, #0] + 80031c4: 695a ldr r2, [r3, #20] + 80031c6: 687b ldr r3, [r7, #4] + 80031c8: 681b ldr r3, [r3, #0] + 80031ca: f002 4200 and.w r2, r2, #2147483648 @ 0x80000000 + 80031ce: 615a str r2, [r3, #20] } /* Handle Suspend Interrupt */ if (__HAL_PCD_GET_FLAG(hpcd, USB_OTG_GINTSTS_USBSUSP)) - 8003040: 687b ldr r3, [r7, #4] - 8003042: 681b ldr r3, [r3, #0] - 8003044: 4618 mov r0, r3 - 8003046: f004 fe6b bl 8007d20 - 800304a: 4603 mov r3, r0 - 800304c: f403 6300 and.w r3, r3, #2048 @ 0x800 - 8003050: f5b3 6f00 cmp.w r3, #2048 @ 0x800 - 8003054: d112 bne.n 800307c + 80031d0: 687b ldr r3, [r7, #4] + 80031d2: 681b ldr r3, [r3, #0] + 80031d4: 4618 mov r0, r3 + 80031d6: f005 f8d9 bl 800838c + 80031da: 4603 mov r3, r0 + 80031dc: f403 6300 and.w r3, r3, #2048 @ 0x800 + 80031e0: f5b3 6f00 cmp.w r3, #2048 @ 0x800 + 80031e4: d112 bne.n 800320c { if ((USBx_DEVICE->DSTS & USB_OTG_DSTS_SUSPSTS) == USB_OTG_DSTS_SUSPSTS) - 8003056: 69fb ldr r3, [r7, #28] - 8003058: f503 6300 add.w r3, r3, #2048 @ 0x800 - 800305c: 689b ldr r3, [r3, #8] - 800305e: f003 0301 and.w r3, r3, #1 - 8003062: 2b01 cmp r3, #1 - 8003064: d102 bne.n 800306c + 80031e6: 69fb ldr r3, [r7, #28] + 80031e8: f503 6300 add.w r3, r3, #2048 @ 0x800 + 80031ec: 689b ldr r3, [r3, #8] + 80031ee: f003 0301 and.w r3, r3, #1 + 80031f2: 2b01 cmp r3, #1 + 80031f4: d102 bne.n 80031fc { #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U) hpcd->SuspendCallback(hpcd); #else HAL_PCD_SuspendCallback(hpcd); - 8003066: 6878 ldr r0, [r7, #4] - 8003068: f006 ff66 bl 8009f38 + 80031f6: 6878 ldr r0, [r7, #4] + 80031f8: f007 f9d4 bl 800a5a4 #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */ } __HAL_PCD_CLEAR_FLAG(hpcd, USB_OTG_GINTSTS_USBSUSP); - 800306c: 687b ldr r3, [r7, #4] - 800306e: 681b ldr r3, [r3, #0] - 8003070: 695a ldr r2, [r3, #20] - 8003072: 687b ldr r3, [r7, #4] - 8003074: 681b ldr r3, [r3, #0] - 8003076: f402 6200 and.w r2, r2, #2048 @ 0x800 - 800307a: 615a str r2, [r3, #20] + 80031fc: 687b ldr r3, [r7, #4] + 80031fe: 681b ldr r3, [r3, #0] + 8003200: 695a ldr r2, [r3, #20] + 8003202: 687b ldr r3, [r7, #4] + 8003204: 681b ldr r3, [r3, #0] + 8003206: f402 6200 and.w r2, r2, #2048 @ 0x800 + 800320a: 615a str r2, [r3, #20] } #if defined(STM32F446xx) || defined(STM32F469xx) || defined(STM32F479xx) || defined(STM32F412Zx) \ || defined(STM32F412Vx) || defined(STM32F412Rx) || defined(STM32F412Cx) || defined(STM32F413xx) \ || defined(STM32F423xx) /* Handle LPM Interrupt */ if (__HAL_PCD_GET_FLAG(hpcd, USB_OTG_GINTSTS_LPMINT)) - 800307c: 687b ldr r3, [r7, #4] - 800307e: 681b ldr r3, [r3, #0] - 8003080: 4618 mov r0, r3 - 8003082: f004 fe4d bl 8007d20 - 8003086: 4603 mov r3, r0 - 8003088: f003 6300 and.w r3, r3, #134217728 @ 0x8000000 - 800308c: f1b3 6f00 cmp.w r3, #134217728 @ 0x8000000 - 8003090: d121 bne.n 80030d6 + 800320c: 687b ldr r3, [r7, #4] + 800320e: 681b ldr r3, [r3, #0] + 8003210: 4618 mov r0, r3 + 8003212: f005 f8bb bl 800838c + 8003216: 4603 mov r3, r0 + 8003218: f003 6300 and.w r3, r3, #134217728 @ 0x8000000 + 800321c: f1b3 6f00 cmp.w r3, #134217728 @ 0x8000000 + 8003220: d121 bne.n 8003266 { __HAL_PCD_CLEAR_FLAG(hpcd, USB_OTG_GINTSTS_LPMINT); - 8003092: 687b ldr r3, [r7, #4] - 8003094: 681b ldr r3, [r3, #0] - 8003096: 695a ldr r2, [r3, #20] - 8003098: 687b ldr r3, [r7, #4] - 800309a: 681b ldr r3, [r3, #0] - 800309c: f002 6200 and.w r2, r2, #134217728 @ 0x8000000 - 80030a0: 615a str r2, [r3, #20] + 8003222: 687b ldr r3, [r7, #4] + 8003224: 681b ldr r3, [r3, #0] + 8003226: 695a ldr r2, [r3, #20] + 8003228: 687b ldr r3, [r7, #4] + 800322a: 681b ldr r3, [r3, #0] + 800322c: f002 6200 and.w r2, r2, #134217728 @ 0x8000000 + 8003230: 615a str r2, [r3, #20] if (hpcd->LPM_State == LPM_L0) - 80030a2: 687b ldr r3, [r7, #4] - 80030a4: f893 34cc ldrb.w r3, [r3, #1228] @ 0x4cc - 80030a8: 2b00 cmp r3, #0 - 80030aa: d111 bne.n 80030d0 + 8003232: 687b ldr r3, [r7, #4] + 8003234: f893 34cc ldrb.w r3, [r3, #1228] @ 0x4cc + 8003238: 2b00 cmp r3, #0 + 800323a: d111 bne.n 8003260 { hpcd->LPM_State = LPM_L1; - 80030ac: 687b ldr r3, [r7, #4] - 80030ae: 2201 movs r2, #1 - 80030b0: f883 24cc strb.w r2, [r3, #1228] @ 0x4cc + 800323c: 687b ldr r3, [r7, #4] + 800323e: 2201 movs r2, #1 + 8003240: f883 24cc strb.w r2, [r3, #1228] @ 0x4cc hpcd->BESL = (hpcd->Instance->GLPMCFG & USB_OTG_GLPMCFG_BESL) >> 2U; - 80030b4: 687b ldr r3, [r7, #4] - 80030b6: 681b ldr r3, [r3, #0] - 80030b8: 6d5b ldr r3, [r3, #84] @ 0x54 - 80030ba: 089b lsrs r3, r3, #2 - 80030bc: f003 020f and.w r2, r3, #15 - 80030c0: 687b ldr r3, [r7, #4] - 80030c2: f8c3 24d0 str.w r2, [r3, #1232] @ 0x4d0 + 8003244: 687b ldr r3, [r7, #4] + 8003246: 681b ldr r3, [r3, #0] + 8003248: 6d5b ldr r3, [r3, #84] @ 0x54 + 800324a: 089b lsrs r3, r3, #2 + 800324c: f003 020f and.w r2, r3, #15 + 8003250: 687b ldr r3, [r7, #4] + 8003252: f8c3 24d0 str.w r2, [r3, #1232] @ 0x4d0 #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U) hpcd->LPMCallback(hpcd, PCD_LPM_L1_ACTIVE); #else HAL_PCDEx_LPM_Callback(hpcd, PCD_LPM_L1_ACTIVE); - 80030c6: 2101 movs r1, #1 - 80030c8: 6878 ldr r0, [r7, #4] - 80030ca: f007 f921 bl 800a310 - 80030ce: e002 b.n 80030d6 + 8003256: 2101 movs r1, #1 + 8003258: 6878 ldr r0, [r7, #4] + 800325a: f007 fb8f bl 800a97c + 800325e: e002 b.n 8003266 else { #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U) hpcd->SuspendCallback(hpcd); #else HAL_PCD_SuspendCallback(hpcd); - 80030d0: 6878 ldr r0, [r7, #4] - 80030d2: f006 ff31 bl 8009f38 + 8003260: 6878 ldr r0, [r7, #4] + 8003262: f007 f99f bl 800a5a4 } #endif /* defined(STM32F446xx) || defined(STM32F469xx) || defined(STM32F479xx) || defined(STM32F412Zx) || defined(STM32F412Vx) || defined(STM32F412Rx) || defined(STM32F412Cx) || defined(STM32F413xx) || defined(STM32F423xx) */ /* Handle Reset Interrupt */ if (__HAL_PCD_GET_FLAG(hpcd, USB_OTG_GINTSTS_USBRST)) - 80030d6: 687b ldr r3, [r7, #4] - 80030d8: 681b ldr r3, [r3, #0] - 80030da: 4618 mov r0, r3 - 80030dc: f004 fe20 bl 8007d20 - 80030e0: 4603 mov r3, r0 - 80030e2: f403 5380 and.w r3, r3, #4096 @ 0x1000 - 80030e6: f5b3 5f80 cmp.w r3, #4096 @ 0x1000 - 80030ea: f040 80b7 bne.w 800325c + 8003266: 687b ldr r3, [r7, #4] + 8003268: 681b ldr r3, [r3, #0] + 800326a: 4618 mov r0, r3 + 800326c: f005 f88e bl 800838c + 8003270: 4603 mov r3, r0 + 8003272: f403 5380 and.w r3, r3, #4096 @ 0x1000 + 8003276: f5b3 5f80 cmp.w r3, #4096 @ 0x1000 + 800327a: f040 80b7 bne.w 80033ec { USBx_DEVICE->DCTL &= ~USB_OTG_DCTL_RWUSIG; - 80030ee: 69fb ldr r3, [r7, #28] - 80030f0: f503 6300 add.w r3, r3, #2048 @ 0x800 - 80030f4: 685b ldr r3, [r3, #4] - 80030f6: 69fa ldr r2, [r7, #28] - 80030f8: f502 6200 add.w r2, r2, #2048 @ 0x800 - 80030fc: f023 0301 bic.w r3, r3, #1 - 8003100: 6053 str r3, [r2, #4] + 800327e: 69fb ldr r3, [r7, #28] + 8003280: f503 6300 add.w r3, r3, #2048 @ 0x800 + 8003284: 685b ldr r3, [r3, #4] + 8003286: 69fa ldr r2, [r7, #28] + 8003288: f502 6200 add.w r2, r2, #2048 @ 0x800 + 800328c: f023 0301 bic.w r3, r3, #1 + 8003290: 6053 str r3, [r2, #4] (void)USB_FlushTxFifo(hpcd->Instance, 0x10U); - 8003102: 687b ldr r3, [r7, #4] - 8003104: 681b ldr r3, [r3, #0] - 8003106: 2110 movs r1, #16 - 8003108: 4618 mov r0, r3 - 800310a: f003 feed bl 8006ee8 + 8003292: 687b ldr r3, [r7, #4] + 8003294: 681b ldr r3, [r3, #0] + 8003296: 2110 movs r1, #16 + 8003298: 4618 mov r0, r3 + 800329a: f004 f95b bl 8007554 for (i = 0U; i < hpcd->Init.dev_endpoints; i++) - 800310e: 2300 movs r3, #0 - 8003110: 62fb str r3, [r7, #44] @ 0x2c - 8003112: e046 b.n 80031a2 + 800329e: 2300 movs r3, #0 + 80032a0: 62fb str r3, [r7, #44] @ 0x2c + 80032a2: e046 b.n 8003332 { USBx_INEP(i)->DIEPINT = 0xFB7FU; - 8003114: 6afb ldr r3, [r7, #44] @ 0x2c - 8003116: 015a lsls r2, r3, #5 - 8003118: 69fb ldr r3, [r7, #28] - 800311a: 4413 add r3, r2 - 800311c: f503 6310 add.w r3, r3, #2304 @ 0x900 - 8003120: 461a mov r2, r3 - 8003122: f64f 337f movw r3, #64383 @ 0xfb7f - 8003126: 6093 str r3, [r2, #8] + 80032a4: 6afb ldr r3, [r7, #44] @ 0x2c + 80032a6: 015a lsls r2, r3, #5 + 80032a8: 69fb ldr r3, [r7, #28] + 80032aa: 4413 add r3, r2 + 80032ac: f503 6310 add.w r3, r3, #2304 @ 0x900 + 80032b0: 461a mov r2, r3 + 80032b2: f64f 337f movw r3, #64383 @ 0xfb7f + 80032b6: 6093 str r3, [r2, #8] USBx_INEP(i)->DIEPCTL &= ~USB_OTG_DIEPCTL_STALL; - 8003128: 6afb ldr r3, [r7, #44] @ 0x2c - 800312a: 015a lsls r2, r3, #5 - 800312c: 69fb ldr r3, [r7, #28] - 800312e: 4413 add r3, r2 - 8003130: f503 6310 add.w r3, r3, #2304 @ 0x900 - 8003134: 681b ldr r3, [r3, #0] - 8003136: 6afa ldr r2, [r7, #44] @ 0x2c - 8003138: 0151 lsls r1, r2, #5 - 800313a: 69fa ldr r2, [r7, #28] - 800313c: 440a add r2, r1 - 800313e: f502 6210 add.w r2, r2, #2304 @ 0x900 - 8003142: f423 1300 bic.w r3, r3, #2097152 @ 0x200000 - 8003146: 6013 str r3, [r2, #0] + 80032b8: 6afb ldr r3, [r7, #44] @ 0x2c + 80032ba: 015a lsls r2, r3, #5 + 80032bc: 69fb ldr r3, [r7, #28] + 80032be: 4413 add r3, r2 + 80032c0: f503 6310 add.w r3, r3, #2304 @ 0x900 + 80032c4: 681b ldr r3, [r3, #0] + 80032c6: 6afa ldr r2, [r7, #44] @ 0x2c + 80032c8: 0151 lsls r1, r2, #5 + 80032ca: 69fa ldr r2, [r7, #28] + 80032cc: 440a add r2, r1 + 80032ce: f502 6210 add.w r2, r2, #2304 @ 0x900 + 80032d2: f423 1300 bic.w r3, r3, #2097152 @ 0x200000 + 80032d6: 6013 str r3, [r2, #0] USBx_OUTEP(i)->DOEPINT = 0xFB7FU; - 8003148: 6afb ldr r3, [r7, #44] @ 0x2c - 800314a: 015a lsls r2, r3, #5 - 800314c: 69fb ldr r3, [r7, #28] - 800314e: 4413 add r3, r2 - 8003150: f503 6330 add.w r3, r3, #2816 @ 0xb00 - 8003154: 461a mov r2, r3 - 8003156: f64f 337f movw r3, #64383 @ 0xfb7f - 800315a: 6093 str r3, [r2, #8] + 80032d8: 6afb ldr r3, [r7, #44] @ 0x2c + 80032da: 015a lsls r2, r3, #5 + 80032dc: 69fb ldr r3, [r7, #28] + 80032de: 4413 add r3, r2 + 80032e0: f503 6330 add.w r3, r3, #2816 @ 0xb00 + 80032e4: 461a mov r2, r3 + 80032e6: f64f 337f movw r3, #64383 @ 0xfb7f + 80032ea: 6093 str r3, [r2, #8] USBx_OUTEP(i)->DOEPCTL &= ~USB_OTG_DOEPCTL_STALL; - 800315c: 6afb ldr r3, [r7, #44] @ 0x2c - 800315e: 015a lsls r2, r3, #5 - 8003160: 69fb ldr r3, [r7, #28] - 8003162: 4413 add r3, r2 - 8003164: f503 6330 add.w r3, r3, #2816 @ 0xb00 - 8003168: 681b ldr r3, [r3, #0] - 800316a: 6afa ldr r2, [r7, #44] @ 0x2c - 800316c: 0151 lsls r1, r2, #5 - 800316e: 69fa ldr r2, [r7, #28] - 8003170: 440a add r2, r1 - 8003172: f502 6230 add.w r2, r2, #2816 @ 0xb00 - 8003176: f423 1300 bic.w r3, r3, #2097152 @ 0x200000 - 800317a: 6013 str r3, [r2, #0] + 80032ec: 6afb ldr r3, [r7, #44] @ 0x2c + 80032ee: 015a lsls r2, r3, #5 + 80032f0: 69fb ldr r3, [r7, #28] + 80032f2: 4413 add r3, r2 + 80032f4: f503 6330 add.w r3, r3, #2816 @ 0xb00 + 80032f8: 681b ldr r3, [r3, #0] + 80032fa: 6afa ldr r2, [r7, #44] @ 0x2c + 80032fc: 0151 lsls r1, r2, #5 + 80032fe: 69fa ldr r2, [r7, #28] + 8003300: 440a add r2, r1 + 8003302: f502 6230 add.w r2, r2, #2816 @ 0xb00 + 8003306: f423 1300 bic.w r3, r3, #2097152 @ 0x200000 + 800330a: 6013 str r3, [r2, #0] USBx_OUTEP(i)->DOEPCTL |= USB_OTG_DOEPCTL_SNAK; - 800317c: 6afb ldr r3, [r7, #44] @ 0x2c - 800317e: 015a lsls r2, r3, #5 - 8003180: 69fb ldr r3, [r7, #28] - 8003182: 4413 add r3, r2 - 8003184: f503 6330 add.w r3, r3, #2816 @ 0xb00 - 8003188: 681b ldr r3, [r3, #0] - 800318a: 6afa ldr r2, [r7, #44] @ 0x2c - 800318c: 0151 lsls r1, r2, #5 - 800318e: 69fa ldr r2, [r7, #28] - 8003190: 440a add r2, r1 - 8003192: f502 6230 add.w r2, r2, #2816 @ 0xb00 - 8003196: f043 6300 orr.w r3, r3, #134217728 @ 0x8000000 - 800319a: 6013 str r3, [r2, #0] + 800330c: 6afb ldr r3, [r7, #44] @ 0x2c + 800330e: 015a lsls r2, r3, #5 + 8003310: 69fb ldr r3, [r7, #28] + 8003312: 4413 add r3, r2 + 8003314: f503 6330 add.w r3, r3, #2816 @ 0xb00 + 8003318: 681b ldr r3, [r3, #0] + 800331a: 6afa ldr r2, [r7, #44] @ 0x2c + 800331c: 0151 lsls r1, r2, #5 + 800331e: 69fa ldr r2, [r7, #28] + 8003320: 440a add r2, r1 + 8003322: f502 6230 add.w r2, r2, #2816 @ 0xb00 + 8003326: f043 6300 orr.w r3, r3, #134217728 @ 0x8000000 + 800332a: 6013 str r3, [r2, #0] for (i = 0U; i < hpcd->Init.dev_endpoints; i++) - 800319c: 6afb ldr r3, [r7, #44] @ 0x2c - 800319e: 3301 adds r3, #1 - 80031a0: 62fb str r3, [r7, #44] @ 0x2c - 80031a2: 687b ldr r3, [r7, #4] - 80031a4: 791b ldrb r3, [r3, #4] - 80031a6: 461a mov r2, r3 - 80031a8: 6afb ldr r3, [r7, #44] @ 0x2c - 80031aa: 4293 cmp r3, r2 - 80031ac: d3b2 bcc.n 8003114 + 800332c: 6afb ldr r3, [r7, #44] @ 0x2c + 800332e: 3301 adds r3, #1 + 8003330: 62fb str r3, [r7, #44] @ 0x2c + 8003332: 687b ldr r3, [r7, #4] + 8003334: 791b ldrb r3, [r3, #4] + 8003336: 461a mov r2, r3 + 8003338: 6afb ldr r3, [r7, #44] @ 0x2c + 800333a: 4293 cmp r3, r2 + 800333c: d3b2 bcc.n 80032a4 } USBx_DEVICE->DAINTMSK |= 0x10001U; - 80031ae: 69fb ldr r3, [r7, #28] - 80031b0: f503 6300 add.w r3, r3, #2048 @ 0x800 - 80031b4: 69db ldr r3, [r3, #28] - 80031b6: 69fa ldr r2, [r7, #28] - 80031b8: f502 6200 add.w r2, r2, #2048 @ 0x800 - 80031bc: f043 1301 orr.w r3, r3, #65537 @ 0x10001 - 80031c0: 61d3 str r3, [r2, #28] + 800333e: 69fb ldr r3, [r7, #28] + 8003340: f503 6300 add.w r3, r3, #2048 @ 0x800 + 8003344: 69db ldr r3, [r3, #28] + 8003346: 69fa ldr r2, [r7, #28] + 8003348: f502 6200 add.w r2, r2, #2048 @ 0x800 + 800334c: f043 1301 orr.w r3, r3, #65537 @ 0x10001 + 8003350: 61d3 str r3, [r2, #28] if (hpcd->Init.use_dedicated_ep1 != 0U) - 80031c2: 687b ldr r3, [r7, #4] - 80031c4: 7bdb ldrb r3, [r3, #15] - 80031c6: 2b00 cmp r3, #0 - 80031c8: d016 beq.n 80031f8 + 8003352: 687b ldr r3, [r7, #4] + 8003354: 7bdb ldrb r3, [r3, #15] + 8003356: 2b00 cmp r3, #0 + 8003358: d016 beq.n 8003388 { USBx_DEVICE->DOUTEP1MSK |= USB_OTG_DOEPMSK_STUPM | - 80031ca: 69fb ldr r3, [r7, #28] - 80031cc: f503 6300 add.w r3, r3, #2048 @ 0x800 - 80031d0: f8d3 3084 ldr.w r3, [r3, #132] @ 0x84 - 80031d4: 69fa ldr r2, [r7, #28] - 80031d6: f502 6200 add.w r2, r2, #2048 @ 0x800 - 80031da: f043 030b orr.w r3, r3, #11 - 80031de: f8c2 3084 str.w r3, [r2, #132] @ 0x84 + 800335a: 69fb ldr r3, [r7, #28] + 800335c: f503 6300 add.w r3, r3, #2048 @ 0x800 + 8003360: f8d3 3084 ldr.w r3, [r3, #132] @ 0x84 + 8003364: 69fa ldr r2, [r7, #28] + 8003366: f502 6200 add.w r2, r2, #2048 @ 0x800 + 800336a: f043 030b orr.w r3, r3, #11 + 800336e: f8c2 3084 str.w r3, [r2, #132] @ 0x84 USB_OTG_DOEPMSK_XFRCM | USB_OTG_DOEPMSK_EPDM; USBx_DEVICE->DINEP1MSK |= USB_OTG_DIEPMSK_TOM | - 80031e2: 69fb ldr r3, [r7, #28] - 80031e4: f503 6300 add.w r3, r3, #2048 @ 0x800 - 80031e8: 6c5b ldr r3, [r3, #68] @ 0x44 - 80031ea: 69fa ldr r2, [r7, #28] - 80031ec: f502 6200 add.w r2, r2, #2048 @ 0x800 - 80031f0: f043 030b orr.w r3, r3, #11 - 80031f4: 6453 str r3, [r2, #68] @ 0x44 - 80031f6: e015 b.n 8003224 + 8003372: 69fb ldr r3, [r7, #28] + 8003374: f503 6300 add.w r3, r3, #2048 @ 0x800 + 8003378: 6c5b ldr r3, [r3, #68] @ 0x44 + 800337a: 69fa ldr r2, [r7, #28] + 800337c: f502 6200 add.w r2, r2, #2048 @ 0x800 + 8003380: f043 030b orr.w r3, r3, #11 + 8003384: 6453 str r3, [r2, #68] @ 0x44 + 8003386: e015 b.n 80033b4 USB_OTG_DIEPMSK_XFRCM | USB_OTG_DIEPMSK_EPDM; } else { USBx_DEVICE->DOEPMSK |= USB_OTG_DOEPMSK_STUPM | - 80031f8: 69fb ldr r3, [r7, #28] - 80031fa: f503 6300 add.w r3, r3, #2048 @ 0x800 - 80031fe: 695b ldr r3, [r3, #20] - 8003200: 69fa ldr r2, [r7, #28] - 8003202: f502 6200 add.w r2, r2, #2048 @ 0x800 - 8003206: f443 5300 orr.w r3, r3, #8192 @ 0x2000 - 800320a: f043 032b orr.w r3, r3, #43 @ 0x2b - 800320e: 6153 str r3, [r2, #20] + 8003388: 69fb ldr r3, [r7, #28] + 800338a: f503 6300 add.w r3, r3, #2048 @ 0x800 + 800338e: 695b ldr r3, [r3, #20] + 8003390: 69fa ldr r2, [r7, #28] + 8003392: f502 6200 add.w r2, r2, #2048 @ 0x800 + 8003396: f443 5300 orr.w r3, r3, #8192 @ 0x2000 + 800339a: f043 032b orr.w r3, r3, #43 @ 0x2b + 800339e: 6153 str r3, [r2, #20] USB_OTG_DOEPMSK_XFRCM | USB_OTG_DOEPMSK_EPDM | USB_OTG_DOEPMSK_OTEPSPRM | USB_OTG_DOEPMSK_NAKM; USBx_DEVICE->DIEPMSK |= USB_OTG_DIEPMSK_TOM | - 8003210: 69fb ldr r3, [r7, #28] - 8003212: f503 6300 add.w r3, r3, #2048 @ 0x800 - 8003216: 691b ldr r3, [r3, #16] - 8003218: 69fa ldr r2, [r7, #28] - 800321a: f502 6200 add.w r2, r2, #2048 @ 0x800 - 800321e: f043 030b orr.w r3, r3, #11 - 8003222: 6113 str r3, [r2, #16] + 80033a0: 69fb ldr r3, [r7, #28] + 80033a2: f503 6300 add.w r3, r3, #2048 @ 0x800 + 80033a6: 691b ldr r3, [r3, #16] + 80033a8: 69fa ldr r2, [r7, #28] + 80033aa: f502 6200 add.w r2, r2, #2048 @ 0x800 + 80033ae: f043 030b orr.w r3, r3, #11 + 80033b2: 6113 str r3, [r2, #16] USB_OTG_DIEPMSK_XFRCM | USB_OTG_DIEPMSK_EPDM; } /* Set Default Address to 0 */ USBx_DEVICE->DCFG &= ~USB_OTG_DCFG_DAD; - 8003224: 69fb ldr r3, [r7, #28] - 8003226: f503 6300 add.w r3, r3, #2048 @ 0x800 - 800322a: 681b ldr r3, [r3, #0] - 800322c: 69fa ldr r2, [r7, #28] - 800322e: f502 6200 add.w r2, r2, #2048 @ 0x800 - 8003232: f423 63fe bic.w r3, r3, #2032 @ 0x7f0 - 8003236: 6013 str r3, [r2, #0] + 80033b4: 69fb ldr r3, [r7, #28] + 80033b6: f503 6300 add.w r3, r3, #2048 @ 0x800 + 80033ba: 681b ldr r3, [r3, #0] + 80033bc: 69fa ldr r2, [r7, #28] + 80033be: f502 6200 add.w r2, r2, #2048 @ 0x800 + 80033c2: f423 63fe bic.w r3, r3, #2032 @ 0x7f0 + 80033c6: 6013 str r3, [r2, #0] /* setup EP0 to receive SETUP packets */ (void)USB_EP0_OutStart(hpcd->Instance, (uint8_t)hpcd->Init.dma_enable, - 8003238: 687b ldr r3, [r7, #4] - 800323a: 6818 ldr r0, [r3, #0] - 800323c: 687b ldr r3, [r7, #4] - 800323e: 7999 ldrb r1, [r3, #6] + 80033c8: 687b ldr r3, [r7, #4] + 80033ca: 6818 ldr r0, [r3, #0] + 80033cc: 687b ldr r3, [r7, #4] + 80033ce: 7999 ldrb r1, [r3, #6] (uint8_t *)hpcd->Setup); - 8003240: 687b ldr r3, [r7, #4] - 8003242: f203 439c addw r3, r3, #1180 @ 0x49c + 80033d0: 687b ldr r3, [r7, #4] + 80033d2: f203 439c addw r3, r3, #1180 @ 0x49c (void)USB_EP0_OutStart(hpcd->Instance, (uint8_t)hpcd->Init.dma_enable, - 8003246: 461a mov r2, r3 - 8003248: f004 fe2e bl 8007ea8 + 80033d6: 461a mov r2, r3 + 80033d8: f005 f89c bl 8008514 __HAL_PCD_CLEAR_FLAG(hpcd, USB_OTG_GINTSTS_USBRST); - 800324c: 687b ldr r3, [r7, #4] - 800324e: 681b ldr r3, [r3, #0] - 8003250: 695a ldr r2, [r3, #20] - 8003252: 687b ldr r3, [r7, #4] - 8003254: 681b ldr r3, [r3, #0] - 8003256: f402 5280 and.w r2, r2, #4096 @ 0x1000 - 800325a: 615a str r2, [r3, #20] + 80033dc: 687b ldr r3, [r7, #4] + 80033de: 681b ldr r3, [r3, #0] + 80033e0: 695a ldr r2, [r3, #20] + 80033e2: 687b ldr r3, [r7, #4] + 80033e4: 681b ldr r3, [r3, #0] + 80033e6: f402 5280 and.w r2, r2, #4096 @ 0x1000 + 80033ea: 615a str r2, [r3, #20] } /* Handle Enumeration done Interrupt */ if (__HAL_PCD_GET_FLAG(hpcd, USB_OTG_GINTSTS_ENUMDNE)) - 800325c: 687b ldr r3, [r7, #4] - 800325e: 681b ldr r3, [r3, #0] - 8003260: 4618 mov r0, r3 - 8003262: f004 fd5d bl 8007d20 - 8003266: 4603 mov r3, r0 - 8003268: f403 5300 and.w r3, r3, #8192 @ 0x2000 - 800326c: f5b3 5f00 cmp.w r3, #8192 @ 0x2000 - 8003270: d123 bne.n 80032ba + 80033ec: 687b ldr r3, [r7, #4] + 80033ee: 681b ldr r3, [r3, #0] + 80033f0: 4618 mov r0, r3 + 80033f2: f004 ffcb bl 800838c + 80033f6: 4603 mov r3, r0 + 80033f8: f403 5300 and.w r3, r3, #8192 @ 0x2000 + 80033fc: f5b3 5f00 cmp.w r3, #8192 @ 0x2000 + 8003400: d123 bne.n 800344a { (void)USB_ActivateSetup(hpcd->Instance); - 8003272: 687b ldr r3, [r7, #4] - 8003274: 681b ldr r3, [r3, #0] - 8003276: 4618 mov r0, r3 - 8003278: f004 fdf3 bl 8007e62 + 8003402: 687b ldr r3, [r7, #4] + 8003404: 681b ldr r3, [r3, #0] + 8003406: 4618 mov r0, r3 + 8003408: f005 f861 bl 80084ce hpcd->Init.speed = USB_GetDevSpeed(hpcd->Instance); - 800327c: 687b ldr r3, [r7, #4] - 800327e: 681b ldr r3, [r3, #0] - 8003280: 4618 mov r0, r3 - 8003282: f003 feaa bl 8006fda - 8003286: 4603 mov r3, r0 - 8003288: 461a mov r2, r3 - 800328a: 687b ldr r3, [r7, #4] - 800328c: 71da strb r2, [r3, #7] + 800340c: 687b ldr r3, [r7, #4] + 800340e: 681b ldr r3, [r3, #0] + 8003410: 4618 mov r0, r3 + 8003412: f004 f918 bl 8007646 + 8003416: 4603 mov r3, r0 + 8003418: 461a mov r2, r3 + 800341a: 687b ldr r3, [r7, #4] + 800341c: 71da strb r2, [r3, #7] /* Set USB Turnaround time */ (void)USB_SetTurnaroundTime(hpcd->Instance, - 800328e: 687b ldr r3, [r7, #4] - 8003290: 681c ldr r4, [r3, #0] - 8003292: f000 fe8b bl 8003fac - 8003296: 4601 mov r1, r0 + 800341e: 687b ldr r3, [r7, #4] + 8003420: 681c ldr r4, [r3, #0] + 8003422: f000 fe8b bl 800413c + 8003426: 4601 mov r1, r0 HAL_RCC_GetHCLKFreq(), (uint8_t)hpcd->Init.speed); - 8003298: 687b ldr r3, [r7, #4] - 800329a: 79db ldrb r3, [r3, #7] + 8003428: 687b ldr r3, [r7, #4] + 800342a: 79db ldrb r3, [r3, #7] (void)USB_SetTurnaroundTime(hpcd->Instance, - 800329c: 461a mov r2, r3 - 800329e: 4620 mov r0, r4 - 80032a0: f003 fbb4 bl 8006a0c + 800342c: 461a mov r2, r3 + 800342e: 4620 mov r0, r4 + 8003430: f003 fe22 bl 8007078 #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U) hpcd->ResetCallback(hpcd); #else HAL_PCD_ResetCallback(hpcd); - 80032a4: 6878 ldr r0, [r7, #4] - 80032a6: f006 fe1e bl 8009ee6 + 8003434: 6878 ldr r0, [r7, #4] + 8003436: f007 f88c bl 800a552 #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */ __HAL_PCD_CLEAR_FLAG(hpcd, USB_OTG_GINTSTS_ENUMDNE); - 80032aa: 687b ldr r3, [r7, #4] - 80032ac: 681b ldr r3, [r3, #0] - 80032ae: 695a ldr r2, [r3, #20] - 80032b0: 687b ldr r3, [r7, #4] - 80032b2: 681b ldr r3, [r3, #0] - 80032b4: f402 5200 and.w r2, r2, #8192 @ 0x2000 - 80032b8: 615a str r2, [r3, #20] + 800343a: 687b ldr r3, [r7, #4] + 800343c: 681b ldr r3, [r3, #0] + 800343e: 695a ldr r2, [r3, #20] + 8003440: 687b ldr r3, [r7, #4] + 8003442: 681b ldr r3, [r3, #0] + 8003444: f402 5200 and.w r2, r2, #8192 @ 0x2000 + 8003448: 615a str r2, [r3, #20] } /* Handle SOF Interrupt */ if (__HAL_PCD_GET_FLAG(hpcd, USB_OTG_GINTSTS_SOF)) - 80032ba: 687b ldr r3, [r7, #4] - 80032bc: 681b ldr r3, [r3, #0] - 80032be: 4618 mov r0, r3 - 80032c0: f004 fd2e bl 8007d20 - 80032c4: 4603 mov r3, r0 - 80032c6: f003 0308 and.w r3, r3, #8 - 80032ca: 2b08 cmp r3, #8 - 80032cc: d10a bne.n 80032e4 + 800344a: 687b ldr r3, [r7, #4] + 800344c: 681b ldr r3, [r3, #0] + 800344e: 4618 mov r0, r3 + 8003450: f004 ff9c bl 800838c + 8003454: 4603 mov r3, r0 + 8003456: f003 0308 and.w r3, r3, #8 + 800345a: 2b08 cmp r3, #8 + 800345c: d10a bne.n 8003474 { #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U) hpcd->SOFCallback(hpcd); #else HAL_PCD_SOFCallback(hpcd); - 80032ce: 6878 ldr r0, [r7, #4] - 80032d0: f006 fdfb bl 8009eca + 800345e: 6878 ldr r0, [r7, #4] + 8003460: f007 f869 bl 800a536 #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */ __HAL_PCD_CLEAR_FLAG(hpcd, USB_OTG_GINTSTS_SOF); - 80032d4: 687b ldr r3, [r7, #4] - 80032d6: 681b ldr r3, [r3, #0] - 80032d8: 695a ldr r2, [r3, #20] - 80032da: 687b ldr r3, [r7, #4] - 80032dc: 681b ldr r3, [r3, #0] - 80032de: f002 0208 and.w r2, r2, #8 - 80032e2: 615a str r2, [r3, #20] + 8003464: 687b ldr r3, [r7, #4] + 8003466: 681b ldr r3, [r3, #0] + 8003468: 695a ldr r2, [r3, #20] + 800346a: 687b ldr r3, [r7, #4] + 800346c: 681b ldr r3, [r3, #0] + 800346e: f002 0208 and.w r2, r2, #8 + 8003472: 615a str r2, [r3, #20] } /* Handle Global OUT NAK effective Interrupt */ if (__HAL_PCD_GET_FLAG(hpcd, USB_OTG_GINTSTS_BOUTNAKEFF)) - 80032e4: 687b ldr r3, [r7, #4] - 80032e6: 681b ldr r3, [r3, #0] - 80032e8: 4618 mov r0, r3 - 80032ea: f004 fd19 bl 8007d20 - 80032ee: 4603 mov r3, r0 - 80032f0: f003 0380 and.w r3, r3, #128 @ 0x80 - 80032f4: 2b80 cmp r3, #128 @ 0x80 - 80032f6: d123 bne.n 8003340 + 8003474: 687b ldr r3, [r7, #4] + 8003476: 681b ldr r3, [r3, #0] + 8003478: 4618 mov r0, r3 + 800347a: f004 ff87 bl 800838c + 800347e: 4603 mov r3, r0 + 8003480: f003 0380 and.w r3, r3, #128 @ 0x80 + 8003484: 2b80 cmp r3, #128 @ 0x80 + 8003486: d123 bne.n 80034d0 { USBx->GINTMSK &= ~USB_OTG_GINTMSK_GONAKEFFM; - 80032f8: 6a3b ldr r3, [r7, #32] - 80032fa: 699b ldr r3, [r3, #24] - 80032fc: f023 0280 bic.w r2, r3, #128 @ 0x80 - 8003300: 6a3b ldr r3, [r7, #32] - 8003302: 619a str r2, [r3, #24] + 8003488: 6a3b ldr r3, [r7, #32] + 800348a: 699b ldr r3, [r3, #24] + 800348c: f023 0280 bic.w r2, r3, #128 @ 0x80 + 8003490: 6a3b ldr r3, [r7, #32] + 8003492: 619a str r2, [r3, #24] for (epnum = 1U; epnum < hpcd->Init.dev_endpoints; epnum++) - 8003304: 2301 movs r3, #1 - 8003306: 627b str r3, [r7, #36] @ 0x24 - 8003308: e014 b.n 8003334 + 8003494: 2301 movs r3, #1 + 8003496: 627b str r3, [r7, #36] @ 0x24 + 8003498: e014 b.n 80034c4 { if (hpcd->OUT_ep[epnum].is_iso_incomplete == 1U) - 800330a: 6879 ldr r1, [r7, #4] - 800330c: 6a7a ldr r2, [r7, #36] @ 0x24 - 800330e: 4613 mov r3, r2 - 8003310: 00db lsls r3, r3, #3 - 8003312: 4413 add r3, r2 - 8003314: 009b lsls r3, r3, #2 - 8003316: 440b add r3, r1 - 8003318: f203 2357 addw r3, r3, #599 @ 0x257 - 800331c: 781b ldrb r3, [r3, #0] - 800331e: 2b01 cmp r3, #1 - 8003320: d105 bne.n 800332e + 800349a: 6879 ldr r1, [r7, #4] + 800349c: 6a7a ldr r2, [r7, #36] @ 0x24 + 800349e: 4613 mov r3, r2 + 80034a0: 00db lsls r3, r3, #3 + 80034a2: 4413 add r3, r2 + 80034a4: 009b lsls r3, r3, #2 + 80034a6: 440b add r3, r1 + 80034a8: f203 2357 addw r3, r3, #599 @ 0x257 + 80034ac: 781b ldrb r3, [r3, #0] + 80034ae: 2b01 cmp r3, #1 + 80034b0: d105 bne.n 80034be { /* Abort current transaction and disable the EP */ (void)HAL_PCD_EP_Abort(hpcd, (uint8_t)epnum); - 8003322: 6a7b ldr r3, [r7, #36] @ 0x24 - 8003324: b2db uxtb r3, r3 - 8003326: 4619 mov r1, r3 - 8003328: 6878 ldr r0, [r7, #4] - 800332a: f000 faf2 bl 8003912 + 80034b2: 6a7b ldr r3, [r7, #36] @ 0x24 + 80034b4: b2db uxtb r3, r3 + 80034b6: 4619 mov r1, r3 + 80034b8: 6878 ldr r0, [r7, #4] + 80034ba: f000 faf2 bl 8003aa2 for (epnum = 1U; epnum < hpcd->Init.dev_endpoints; epnum++) - 800332e: 6a7b ldr r3, [r7, #36] @ 0x24 - 8003330: 3301 adds r3, #1 - 8003332: 627b str r3, [r7, #36] @ 0x24 - 8003334: 687b ldr r3, [r7, #4] - 8003336: 791b ldrb r3, [r3, #4] - 8003338: 461a mov r2, r3 - 800333a: 6a7b ldr r3, [r7, #36] @ 0x24 - 800333c: 4293 cmp r3, r2 - 800333e: d3e4 bcc.n 800330a + 80034be: 6a7b ldr r3, [r7, #36] @ 0x24 + 80034c0: 3301 adds r3, #1 + 80034c2: 627b str r3, [r7, #36] @ 0x24 + 80034c4: 687b ldr r3, [r7, #4] + 80034c6: 791b ldrb r3, [r3, #4] + 80034c8: 461a mov r2, r3 + 80034ca: 6a7b ldr r3, [r7, #36] @ 0x24 + 80034cc: 4293 cmp r3, r2 + 80034ce: d3e4 bcc.n 800349a } } } /* Handle Incomplete ISO IN Interrupt */ if (__HAL_PCD_GET_FLAG(hpcd, USB_OTG_GINTSTS_IISOIXFR)) - 8003340: 687b ldr r3, [r7, #4] - 8003342: 681b ldr r3, [r3, #0] - 8003344: 4618 mov r0, r3 - 8003346: f004 fceb bl 8007d20 - 800334a: 4603 mov r3, r0 - 800334c: f403 1380 and.w r3, r3, #1048576 @ 0x100000 - 8003350: f5b3 1f80 cmp.w r3, #1048576 @ 0x100000 - 8003354: d13c bne.n 80033d0 + 80034d0: 687b ldr r3, [r7, #4] + 80034d2: 681b ldr r3, [r3, #0] + 80034d4: 4618 mov r0, r3 + 80034d6: f004 ff59 bl 800838c + 80034da: 4603 mov r3, r0 + 80034dc: f403 1380 and.w r3, r3, #1048576 @ 0x100000 + 80034e0: f5b3 1f80 cmp.w r3, #1048576 @ 0x100000 + 80034e4: d13c bne.n 8003560 { for (epnum = 1U; epnum < hpcd->Init.dev_endpoints; epnum++) - 8003356: 2301 movs r3, #1 - 8003358: 627b str r3, [r7, #36] @ 0x24 - 800335a: e02b b.n 80033b4 + 80034e6: 2301 movs r3, #1 + 80034e8: 627b str r3, [r7, #36] @ 0x24 + 80034ea: e02b b.n 8003544 { RegVal = USBx_INEP(epnum)->DIEPCTL; - 800335c: 6a7b ldr r3, [r7, #36] @ 0x24 - 800335e: 015a lsls r2, r3, #5 - 8003360: 69fb ldr r3, [r7, #28] - 8003362: 4413 add r3, r2 - 8003364: f503 6310 add.w r3, r3, #2304 @ 0x900 - 8003368: 681b ldr r3, [r3, #0] - 800336a: 61bb str r3, [r7, #24] + 80034ec: 6a7b ldr r3, [r7, #36] @ 0x24 + 80034ee: 015a lsls r2, r3, #5 + 80034f0: 69fb ldr r3, [r7, #28] + 80034f2: 4413 add r3, r2 + 80034f4: f503 6310 add.w r3, r3, #2304 @ 0x900 + 80034f8: 681b ldr r3, [r3, #0] + 80034fa: 61bb str r3, [r7, #24] if ((hpcd->IN_ep[epnum].type == EP_TYPE_ISOC) && - 800336c: 6879 ldr r1, [r7, #4] - 800336e: 6a7a ldr r2, [r7, #36] @ 0x24 - 8003370: 4613 mov r3, r2 - 8003372: 00db lsls r3, r3, #3 - 8003374: 4413 add r3, r2 - 8003376: 009b lsls r3, r3, #2 - 8003378: 440b add r3, r1 - 800337a: 3318 adds r3, #24 - 800337c: 781b ldrb r3, [r3, #0] - 800337e: 2b01 cmp r3, #1 - 8003380: d115 bne.n 80033ae + 80034fc: 6879 ldr r1, [r7, #4] + 80034fe: 6a7a ldr r2, [r7, #36] @ 0x24 + 8003500: 4613 mov r3, r2 + 8003502: 00db lsls r3, r3, #3 + 8003504: 4413 add r3, r2 + 8003506: 009b lsls r3, r3, #2 + 8003508: 440b add r3, r1 + 800350a: 3318 adds r3, #24 + 800350c: 781b ldrb r3, [r3, #0] + 800350e: 2b01 cmp r3, #1 + 8003510: d115 bne.n 800353e ((RegVal & USB_OTG_DIEPCTL_EPENA) == USB_OTG_DIEPCTL_EPENA)) - 8003382: 69bb ldr r3, [r7, #24] + 8003512: 69bb ldr r3, [r7, #24] if ((hpcd->IN_ep[epnum].type == EP_TYPE_ISOC) && - 8003384: 2b00 cmp r3, #0 - 8003386: da12 bge.n 80033ae + 8003514: 2b00 cmp r3, #0 + 8003516: da12 bge.n 800353e { hpcd->IN_ep[epnum].is_iso_incomplete = 1U; - 8003388: 6879 ldr r1, [r7, #4] - 800338a: 6a7a ldr r2, [r7, #36] @ 0x24 - 800338c: 4613 mov r3, r2 - 800338e: 00db lsls r3, r3, #3 - 8003390: 4413 add r3, r2 - 8003392: 009b lsls r3, r3, #2 - 8003394: 440b add r3, r1 - 8003396: 3317 adds r3, #23 - 8003398: 2201 movs r2, #1 - 800339a: 701a strb r2, [r3, #0] + 8003518: 6879 ldr r1, [r7, #4] + 800351a: 6a7a ldr r2, [r7, #36] @ 0x24 + 800351c: 4613 mov r3, r2 + 800351e: 00db lsls r3, r3, #3 + 8003520: 4413 add r3, r2 + 8003522: 009b lsls r3, r3, #2 + 8003524: 440b add r3, r1 + 8003526: 3317 adds r3, #23 + 8003528: 2201 movs r2, #1 + 800352a: 701a strb r2, [r3, #0] /* Abort current transaction and disable the EP */ (void)HAL_PCD_EP_Abort(hpcd, (uint8_t)(epnum | 0x80U)); - 800339c: 6a7b ldr r3, [r7, #36] @ 0x24 - 800339e: b2db uxtb r3, r3 - 80033a0: f063 037f orn r3, r3, #127 @ 0x7f - 80033a4: b2db uxtb r3, r3 - 80033a6: 4619 mov r1, r3 - 80033a8: 6878 ldr r0, [r7, #4] - 80033aa: f000 fab2 bl 8003912 + 800352c: 6a7b ldr r3, [r7, #36] @ 0x24 + 800352e: b2db uxtb r3, r3 + 8003530: f063 037f orn r3, r3, #127 @ 0x7f + 8003534: b2db uxtb r3, r3 + 8003536: 4619 mov r1, r3 + 8003538: 6878 ldr r0, [r7, #4] + 800353a: f000 fab2 bl 8003aa2 for (epnum = 1U; epnum < hpcd->Init.dev_endpoints; epnum++) - 80033ae: 6a7b ldr r3, [r7, #36] @ 0x24 - 80033b0: 3301 adds r3, #1 - 80033b2: 627b str r3, [r7, #36] @ 0x24 - 80033b4: 687b ldr r3, [r7, #4] - 80033b6: 791b ldrb r3, [r3, #4] - 80033b8: 461a mov r2, r3 - 80033ba: 6a7b ldr r3, [r7, #36] @ 0x24 - 80033bc: 4293 cmp r3, r2 - 80033be: d3cd bcc.n 800335c + 800353e: 6a7b ldr r3, [r7, #36] @ 0x24 + 8003540: 3301 adds r3, #1 + 8003542: 627b str r3, [r7, #36] @ 0x24 + 8003544: 687b ldr r3, [r7, #4] + 8003546: 791b ldrb r3, [r3, #4] + 8003548: 461a mov r2, r3 + 800354a: 6a7b ldr r3, [r7, #36] @ 0x24 + 800354c: 4293 cmp r3, r2 + 800354e: d3cd bcc.n 80034ec } } __HAL_PCD_CLEAR_FLAG(hpcd, USB_OTG_GINTSTS_IISOIXFR); - 80033c0: 687b ldr r3, [r7, #4] - 80033c2: 681b ldr r3, [r3, #0] - 80033c4: 695a ldr r2, [r3, #20] - 80033c6: 687b ldr r3, [r7, #4] - 80033c8: 681b ldr r3, [r3, #0] - 80033ca: f402 1280 and.w r2, r2, #1048576 @ 0x100000 - 80033ce: 615a str r2, [r3, #20] + 8003550: 687b ldr r3, [r7, #4] + 8003552: 681b ldr r3, [r3, #0] + 8003554: 695a ldr r2, [r3, #20] + 8003556: 687b ldr r3, [r7, #4] + 8003558: 681b ldr r3, [r3, #0] + 800355a: f402 1280 and.w r2, r2, #1048576 @ 0x100000 + 800355e: 615a str r2, [r3, #20] } /* Handle Incomplete ISO OUT Interrupt */ if (__HAL_PCD_GET_FLAG(hpcd, USB_OTG_GINTSTS_PXFR_INCOMPISOOUT)) - 80033d0: 687b ldr r3, [r7, #4] - 80033d2: 681b ldr r3, [r3, #0] - 80033d4: 4618 mov r0, r3 - 80033d6: f004 fca3 bl 8007d20 - 80033da: 4603 mov r3, r0 - 80033dc: f403 1300 and.w r3, r3, #2097152 @ 0x200000 - 80033e0: f5b3 1f00 cmp.w r3, #2097152 @ 0x200000 - 80033e4: d156 bne.n 8003494 + 8003560: 687b ldr r3, [r7, #4] + 8003562: 681b ldr r3, [r3, #0] + 8003564: 4618 mov r0, r3 + 8003566: f004 ff11 bl 800838c + 800356a: 4603 mov r3, r0 + 800356c: f403 1300 and.w r3, r3, #2097152 @ 0x200000 + 8003570: f5b3 1f00 cmp.w r3, #2097152 @ 0x200000 + 8003574: d156 bne.n 8003624 { for (epnum = 1U; epnum < hpcd->Init.dev_endpoints; epnum++) - 80033e6: 2301 movs r3, #1 - 80033e8: 627b str r3, [r7, #36] @ 0x24 - 80033ea: e045 b.n 8003478 + 8003576: 2301 movs r3, #1 + 8003578: 627b str r3, [r7, #36] @ 0x24 + 800357a: e045 b.n 8003608 { RegVal = USBx_OUTEP(epnum)->DOEPCTL; - 80033ec: 6a7b ldr r3, [r7, #36] @ 0x24 - 80033ee: 015a lsls r2, r3, #5 - 80033f0: 69fb ldr r3, [r7, #28] - 80033f2: 4413 add r3, r2 - 80033f4: f503 6330 add.w r3, r3, #2816 @ 0xb00 - 80033f8: 681b ldr r3, [r3, #0] - 80033fa: 61bb str r3, [r7, #24] + 800357c: 6a7b ldr r3, [r7, #36] @ 0x24 + 800357e: 015a lsls r2, r3, #5 + 8003580: 69fb ldr r3, [r7, #28] + 8003582: 4413 add r3, r2 + 8003584: f503 6330 add.w r3, r3, #2816 @ 0xb00 + 8003588: 681b ldr r3, [r3, #0] + 800358a: 61bb str r3, [r7, #24] if ((hpcd->OUT_ep[epnum].type == EP_TYPE_ISOC) && - 80033fc: 6879 ldr r1, [r7, #4] - 80033fe: 6a7a ldr r2, [r7, #36] @ 0x24 - 8003400: 4613 mov r3, r2 - 8003402: 00db lsls r3, r3, #3 - 8003404: 4413 add r3, r2 - 8003406: 009b lsls r3, r3, #2 - 8003408: 440b add r3, r1 - 800340a: f503 7316 add.w r3, r3, #600 @ 0x258 - 800340e: 781b ldrb r3, [r3, #0] - 8003410: 2b01 cmp r3, #1 - 8003412: d12e bne.n 8003472 + 800358c: 6879 ldr r1, [r7, #4] + 800358e: 6a7a ldr r2, [r7, #36] @ 0x24 + 8003590: 4613 mov r3, r2 + 8003592: 00db lsls r3, r3, #3 + 8003594: 4413 add r3, r2 + 8003596: 009b lsls r3, r3, #2 + 8003598: 440b add r3, r1 + 800359a: f503 7316 add.w r3, r3, #600 @ 0x258 + 800359e: 781b ldrb r3, [r3, #0] + 80035a0: 2b01 cmp r3, #1 + 80035a2: d12e bne.n 8003602 ((RegVal & USB_OTG_DOEPCTL_EPENA) == USB_OTG_DOEPCTL_EPENA) && - 8003414: 69bb ldr r3, [r7, #24] + 80035a4: 69bb ldr r3, [r7, #24] if ((hpcd->OUT_ep[epnum].type == EP_TYPE_ISOC) && - 8003416: 2b00 cmp r3, #0 - 8003418: da2b bge.n 8003472 + 80035a6: 2b00 cmp r3, #0 + 80035a8: da2b bge.n 8003602 (((RegVal & (0x1U << 16)) >> 16U) == (hpcd->FrameNumber & 0x1U))) - 800341a: 69bb ldr r3, [r7, #24] - 800341c: 0c1a lsrs r2, r3, #16 - 800341e: 687b ldr r3, [r7, #4] - 8003420: f8d3 34d4 ldr.w r3, [r3, #1236] @ 0x4d4 - 8003424: 4053 eors r3, r2 - 8003426: f003 0301 and.w r3, r3, #1 + 80035aa: 69bb ldr r3, [r7, #24] + 80035ac: 0c1a lsrs r2, r3, #16 + 80035ae: 687b ldr r3, [r7, #4] + 80035b0: f8d3 34d4 ldr.w r3, [r3, #1236] @ 0x4d4 + 80035b4: 4053 eors r3, r2 + 80035b6: f003 0301 and.w r3, r3, #1 ((RegVal & USB_OTG_DOEPCTL_EPENA) == USB_OTG_DOEPCTL_EPENA) && - 800342a: 2b00 cmp r3, #0 - 800342c: d121 bne.n 8003472 + 80035ba: 2b00 cmp r3, #0 + 80035bc: d121 bne.n 8003602 { hpcd->OUT_ep[epnum].is_iso_incomplete = 1U; - 800342e: 6879 ldr r1, [r7, #4] - 8003430: 6a7a ldr r2, [r7, #36] @ 0x24 - 8003432: 4613 mov r3, r2 - 8003434: 00db lsls r3, r3, #3 - 8003436: 4413 add r3, r2 - 8003438: 009b lsls r3, r3, #2 - 800343a: 440b add r3, r1 - 800343c: f203 2357 addw r3, r3, #599 @ 0x257 - 8003440: 2201 movs r2, #1 - 8003442: 701a strb r2, [r3, #0] + 80035be: 6879 ldr r1, [r7, #4] + 80035c0: 6a7a ldr r2, [r7, #36] @ 0x24 + 80035c2: 4613 mov r3, r2 + 80035c4: 00db lsls r3, r3, #3 + 80035c6: 4413 add r3, r2 + 80035c8: 009b lsls r3, r3, #2 + 80035ca: 440b add r3, r1 + 80035cc: f203 2357 addw r3, r3, #599 @ 0x257 + 80035d0: 2201 movs r2, #1 + 80035d2: 701a strb r2, [r3, #0] USBx->GINTMSK |= USB_OTG_GINTMSK_GONAKEFFM; - 8003444: 6a3b ldr r3, [r7, #32] - 8003446: 699b ldr r3, [r3, #24] - 8003448: f043 0280 orr.w r2, r3, #128 @ 0x80 - 800344c: 6a3b ldr r3, [r7, #32] - 800344e: 619a str r2, [r3, #24] + 80035d4: 6a3b ldr r3, [r7, #32] + 80035d6: 699b ldr r3, [r3, #24] + 80035d8: f043 0280 orr.w r2, r3, #128 @ 0x80 + 80035dc: 6a3b ldr r3, [r7, #32] + 80035de: 619a str r2, [r3, #24] if ((USBx->GINTSTS & USB_OTG_GINTSTS_BOUTNAKEFF) == 0U) - 8003450: 6a3b ldr r3, [r7, #32] - 8003452: 695b ldr r3, [r3, #20] - 8003454: f003 0380 and.w r3, r3, #128 @ 0x80 - 8003458: 2b00 cmp r3, #0 - 800345a: d10a bne.n 8003472 + 80035e0: 6a3b ldr r3, [r7, #32] + 80035e2: 695b ldr r3, [r3, #20] + 80035e4: f003 0380 and.w r3, r3, #128 @ 0x80 + 80035e8: 2b00 cmp r3, #0 + 80035ea: d10a bne.n 8003602 { USBx_DEVICE->DCTL |= USB_OTG_DCTL_SGONAK; - 800345c: 69fb ldr r3, [r7, #28] - 800345e: f503 6300 add.w r3, r3, #2048 @ 0x800 - 8003462: 685b ldr r3, [r3, #4] - 8003464: 69fa ldr r2, [r7, #28] - 8003466: f502 6200 add.w r2, r2, #2048 @ 0x800 - 800346a: f443 7300 orr.w r3, r3, #512 @ 0x200 - 800346e: 6053 str r3, [r2, #4] + 80035ec: 69fb ldr r3, [r7, #28] + 80035ee: f503 6300 add.w r3, r3, #2048 @ 0x800 + 80035f2: 685b ldr r3, [r3, #4] + 80035f4: 69fa ldr r2, [r7, #28] + 80035f6: f502 6200 add.w r2, r2, #2048 @ 0x800 + 80035fa: f443 7300 orr.w r3, r3, #512 @ 0x200 + 80035fe: 6053 str r3, [r2, #4] break; - 8003470: e008 b.n 8003484 + 8003600: e008 b.n 8003614 for (epnum = 1U; epnum < hpcd->Init.dev_endpoints; epnum++) - 8003472: 6a7b ldr r3, [r7, #36] @ 0x24 - 8003474: 3301 adds r3, #1 - 8003476: 627b str r3, [r7, #36] @ 0x24 - 8003478: 687b ldr r3, [r7, #4] - 800347a: 791b ldrb r3, [r3, #4] - 800347c: 461a mov r2, r3 - 800347e: 6a7b ldr r3, [r7, #36] @ 0x24 - 8003480: 4293 cmp r3, r2 - 8003482: d3b3 bcc.n 80033ec + 8003602: 6a7b ldr r3, [r7, #36] @ 0x24 + 8003604: 3301 adds r3, #1 + 8003606: 627b str r3, [r7, #36] @ 0x24 + 8003608: 687b ldr r3, [r7, #4] + 800360a: 791b ldrb r3, [r3, #4] + 800360c: 461a mov r2, r3 + 800360e: 6a7b ldr r3, [r7, #36] @ 0x24 + 8003610: 4293 cmp r3, r2 + 8003612: d3b3 bcc.n 800357c } } } __HAL_PCD_CLEAR_FLAG(hpcd, USB_OTG_GINTSTS_PXFR_INCOMPISOOUT); - 8003484: 687b ldr r3, [r7, #4] - 8003486: 681b ldr r3, [r3, #0] - 8003488: 695a ldr r2, [r3, #20] - 800348a: 687b ldr r3, [r7, #4] - 800348c: 681b ldr r3, [r3, #0] - 800348e: f402 1200 and.w r2, r2, #2097152 @ 0x200000 - 8003492: 615a str r2, [r3, #20] + 8003614: 687b ldr r3, [r7, #4] + 8003616: 681b ldr r3, [r3, #0] + 8003618: 695a ldr r2, [r3, #20] + 800361a: 687b ldr r3, [r7, #4] + 800361c: 681b ldr r3, [r3, #0] + 800361e: f402 1200 and.w r2, r2, #2097152 @ 0x200000 + 8003622: 615a str r2, [r3, #20] } /* Handle Connection event Interrupt */ if (__HAL_PCD_GET_FLAG(hpcd, USB_OTG_GINTSTS_SRQINT)) - 8003494: 687b ldr r3, [r7, #4] - 8003496: 681b ldr r3, [r3, #0] - 8003498: 4618 mov r0, r3 - 800349a: f004 fc41 bl 8007d20 - 800349e: 4603 mov r3, r0 - 80034a0: f003 4380 and.w r3, r3, #1073741824 @ 0x40000000 - 80034a4: f1b3 4f80 cmp.w r3, #1073741824 @ 0x40000000 - 80034a8: d10a bne.n 80034c0 + 8003624: 687b ldr r3, [r7, #4] + 8003626: 681b ldr r3, [r3, #0] + 8003628: 4618 mov r0, r3 + 800362a: f004 feaf bl 800838c + 800362e: 4603 mov r3, r0 + 8003630: f003 4380 and.w r3, r3, #1073741824 @ 0x40000000 + 8003634: f1b3 4f80 cmp.w r3, #1073741824 @ 0x40000000 + 8003638: d10a bne.n 8003650 { #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U) hpcd->ConnectCallback(hpcd); #else HAL_PCD_ConnectCallback(hpcd); - 80034aa: 6878 ldr r0, [r7, #4] - 80034ac: f006 fd9c bl 8009fe8 + 800363a: 6878 ldr r0, [r7, #4] + 800363c: f007 f80a bl 800a654 #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */ __HAL_PCD_CLEAR_FLAG(hpcd, USB_OTG_GINTSTS_SRQINT); - 80034b0: 687b ldr r3, [r7, #4] - 80034b2: 681b ldr r3, [r3, #0] - 80034b4: 695a ldr r2, [r3, #20] - 80034b6: 687b ldr r3, [r7, #4] - 80034b8: 681b ldr r3, [r3, #0] - 80034ba: f002 4280 and.w r2, r2, #1073741824 @ 0x40000000 - 80034be: 615a str r2, [r3, #20] + 8003640: 687b ldr r3, [r7, #4] + 8003642: 681b ldr r3, [r3, #0] + 8003644: 695a ldr r2, [r3, #20] + 8003646: 687b ldr r3, [r7, #4] + 8003648: 681b ldr r3, [r3, #0] + 800364a: f002 4280 and.w r2, r2, #1073741824 @ 0x40000000 + 800364e: 615a str r2, [r3, #20] } /* Handle Disconnection event Interrupt */ if (__HAL_PCD_GET_FLAG(hpcd, USB_OTG_GINTSTS_OTGINT)) - 80034c0: 687b ldr r3, [r7, #4] - 80034c2: 681b ldr r3, [r3, #0] - 80034c4: 4618 mov r0, r3 - 80034c6: f004 fc2b bl 8007d20 - 80034ca: 4603 mov r3, r0 - 80034cc: f003 0304 and.w r3, r3, #4 - 80034d0: 2b04 cmp r3, #4 - 80034d2: d115 bne.n 8003500 + 8003650: 687b ldr r3, [r7, #4] + 8003652: 681b ldr r3, [r3, #0] + 8003654: 4618 mov r0, r3 + 8003656: f004 fe99 bl 800838c + 800365a: 4603 mov r3, r0 + 800365c: f003 0304 and.w r3, r3, #4 + 8003660: 2b04 cmp r3, #4 + 8003662: d115 bne.n 8003690 { RegVal = hpcd->Instance->GOTGINT; - 80034d4: 687b ldr r3, [r7, #4] - 80034d6: 681b ldr r3, [r3, #0] - 80034d8: 685b ldr r3, [r3, #4] - 80034da: 61bb str r3, [r7, #24] + 8003664: 687b ldr r3, [r7, #4] + 8003666: 681b ldr r3, [r3, #0] + 8003668: 685b ldr r3, [r3, #4] + 800366a: 61bb str r3, [r7, #24] if ((RegVal & USB_OTG_GOTGINT_SEDET) == USB_OTG_GOTGINT_SEDET) - 80034dc: 69bb ldr r3, [r7, #24] - 80034de: f003 0304 and.w r3, r3, #4 - 80034e2: 2b00 cmp r3, #0 - 80034e4: d002 beq.n 80034ec + 800366c: 69bb ldr r3, [r7, #24] + 800366e: f003 0304 and.w r3, r3, #4 + 8003672: 2b00 cmp r3, #0 + 8003674: d002 beq.n 800367c { #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U) hpcd->DisconnectCallback(hpcd); #else HAL_PCD_DisconnectCallback(hpcd); - 80034e6: 6878 ldr r0, [r7, #4] - 80034e8: f006 fd8c bl 800a004 + 8003676: 6878 ldr r0, [r7, #4] + 8003678: f006 fffa bl 800a670 #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */ } hpcd->Instance->GOTGINT |= RegVal; - 80034ec: 687b ldr r3, [r7, #4] - 80034ee: 681b ldr r3, [r3, #0] - 80034f0: 6859 ldr r1, [r3, #4] - 80034f2: 687b ldr r3, [r7, #4] - 80034f4: 681b ldr r3, [r3, #0] - 80034f6: 69ba ldr r2, [r7, #24] - 80034f8: 430a orrs r2, r1 - 80034fa: 605a str r2, [r3, #4] - 80034fc: e000 b.n 8003500 + 800367c: 687b ldr r3, [r7, #4] + 800367e: 681b ldr r3, [r3, #0] + 8003680: 6859 ldr r1, [r3, #4] + 8003682: 687b ldr r3, [r7, #4] + 8003684: 681b ldr r3, [r3, #0] + 8003686: 69ba ldr r2, [r7, #24] + 8003688: 430a orrs r2, r1 + 800368a: 605a str r2, [r3, #4] + 800368c: e000 b.n 8003690 return; - 80034fe: bf00 nop + 800368e: bf00 nop } } } - 8003500: 3734 adds r7, #52 @ 0x34 - 8003502: 46bd mov sp, r7 - 8003504: bd90 pop {r4, r7, pc} + 8003690: 3734 adds r7, #52 @ 0x34 + 8003692: 46bd mov sp, r7 + 8003694: bd90 pop {r4, r7, pc} -08003506 : +08003696 : * @param hpcd PCD handle * @param address new device address * @retval HAL status */ HAL_StatusTypeDef HAL_PCD_SetAddress(PCD_HandleTypeDef *hpcd, uint8_t address) { - 8003506: b580 push {r7, lr} - 8003508: b082 sub sp, #8 - 800350a: af00 add r7, sp, #0 - 800350c: 6078 str r0, [r7, #4] - 800350e: 460b mov r3, r1 - 8003510: 70fb strb r3, [r7, #3] + 8003696: b580 push {r7, lr} + 8003698: b082 sub sp, #8 + 800369a: af00 add r7, sp, #0 + 800369c: 6078 str r0, [r7, #4] + 800369e: 460b mov r3, r1 + 80036a0: 70fb strb r3, [r7, #3] __HAL_LOCK(hpcd); - 8003512: 687b ldr r3, [r7, #4] - 8003514: f893 3494 ldrb.w r3, [r3, #1172] @ 0x494 - 8003518: 2b01 cmp r3, #1 - 800351a: d101 bne.n 8003520 - 800351c: 2302 movs r3, #2 - 800351e: e012 b.n 8003546 - 8003520: 687b ldr r3, [r7, #4] - 8003522: 2201 movs r2, #1 - 8003524: f883 2494 strb.w r2, [r3, #1172] @ 0x494 + 80036a2: 687b ldr r3, [r7, #4] + 80036a4: f893 3494 ldrb.w r3, [r3, #1172] @ 0x494 + 80036a8: 2b01 cmp r3, #1 + 80036aa: d101 bne.n 80036b0 + 80036ac: 2302 movs r3, #2 + 80036ae: e012 b.n 80036d6 + 80036b0: 687b ldr r3, [r7, #4] + 80036b2: 2201 movs r2, #1 + 80036b4: f883 2494 strb.w r2, [r3, #1172] @ 0x494 hpcd->USB_Address = address; - 8003528: 687b ldr r3, [r7, #4] - 800352a: 78fa ldrb r2, [r7, #3] - 800352c: 745a strb r2, [r3, #17] + 80036b8: 687b ldr r3, [r7, #4] + 80036ba: 78fa ldrb r2, [r7, #3] + 80036bc: 745a strb r2, [r3, #17] (void)USB_SetDevAddress(hpcd->Instance, address); - 800352e: 687b ldr r3, [r7, #4] - 8003530: 681b ldr r3, [r3, #0] - 8003532: 78fa ldrb r2, [r7, #3] - 8003534: 4611 mov r1, r2 - 8003536: 4618 mov r0, r3 - 8003538: f004 fb8a bl 8007c50 + 80036be: 687b ldr r3, [r7, #4] + 80036c0: 681b ldr r3, [r3, #0] + 80036c2: 78fa ldrb r2, [r7, #3] + 80036c4: 4611 mov r1, r2 + 80036c6: 4618 mov r0, r3 + 80036c8: f004 fdf8 bl 80082bc __HAL_UNLOCK(hpcd); - 800353c: 687b ldr r3, [r7, #4] - 800353e: 2200 movs r2, #0 - 8003540: f883 2494 strb.w r2, [r3, #1172] @ 0x494 + 80036cc: 687b ldr r3, [r7, #4] + 80036ce: 2200 movs r2, #0 + 80036d0: f883 2494 strb.w r2, [r3, #1172] @ 0x494 return HAL_OK; - 8003544: 2300 movs r3, #0 + 80036d4: 2300 movs r3, #0 } - 8003546: 4618 mov r0, r3 - 8003548: 3708 adds r7, #8 - 800354a: 46bd mov sp, r7 - 800354c: bd80 pop {r7, pc} + 80036d6: 4618 mov r0, r3 + 80036d8: 3708 adds r7, #8 + 80036da: 46bd mov sp, r7 + 80036dc: bd80 pop {r7, pc} -0800354e : +080036de : * @param ep_type endpoint type * @retval HAL status */ HAL_StatusTypeDef HAL_PCD_EP_Open(PCD_HandleTypeDef *hpcd, uint8_t ep_addr, uint16_t ep_mps, uint8_t ep_type) { - 800354e: b580 push {r7, lr} - 8003550: b084 sub sp, #16 - 8003552: af00 add r7, sp, #0 - 8003554: 6078 str r0, [r7, #4] - 8003556: 4608 mov r0, r1 - 8003558: 4611 mov r1, r2 - 800355a: 461a mov r2, r3 - 800355c: 4603 mov r3, r0 - 800355e: 70fb strb r3, [r7, #3] - 8003560: 460b mov r3, r1 - 8003562: 803b strh r3, [r7, #0] - 8003564: 4613 mov r3, r2 - 8003566: 70bb strb r3, [r7, #2] + 80036de: b580 push {r7, lr} + 80036e0: b084 sub sp, #16 + 80036e2: af00 add r7, sp, #0 + 80036e4: 6078 str r0, [r7, #4] + 80036e6: 4608 mov r0, r1 + 80036e8: 4611 mov r1, r2 + 80036ea: 461a mov r2, r3 + 80036ec: 4603 mov r3, r0 + 80036ee: 70fb strb r3, [r7, #3] + 80036f0: 460b mov r3, r1 + 80036f2: 803b strh r3, [r7, #0] + 80036f4: 4613 mov r3, r2 + 80036f6: 70bb strb r3, [r7, #2] HAL_StatusTypeDef ret = HAL_OK; - 8003568: 2300 movs r3, #0 - 800356a: 72fb strb r3, [r7, #11] + 80036f8: 2300 movs r3, #0 + 80036fa: 72fb strb r3, [r7, #11] PCD_EPTypeDef *ep; if ((ep_addr & 0x80U) == 0x80U) - 800356c: f997 3003 ldrsb.w r3, [r7, #3] - 8003570: 2b00 cmp r3, #0 - 8003572: da0f bge.n 8003594 + 80036fc: f997 3003 ldrsb.w r3, [r7, #3] + 8003700: 2b00 cmp r3, #0 + 8003702: da0f bge.n 8003724 { ep = &hpcd->IN_ep[ep_addr & EP_ADDR_MSK]; - 8003574: 78fb ldrb r3, [r7, #3] - 8003576: f003 020f and.w r2, r3, #15 - 800357a: 4613 mov r3, r2 - 800357c: 00db lsls r3, r3, #3 - 800357e: 4413 add r3, r2 - 8003580: 009b lsls r3, r3, #2 - 8003582: 3310 adds r3, #16 - 8003584: 687a ldr r2, [r7, #4] - 8003586: 4413 add r3, r2 - 8003588: 3304 adds r3, #4 - 800358a: 60fb str r3, [r7, #12] + 8003704: 78fb ldrb r3, [r7, #3] + 8003706: f003 020f and.w r2, r3, #15 + 800370a: 4613 mov r3, r2 + 800370c: 00db lsls r3, r3, #3 + 800370e: 4413 add r3, r2 + 8003710: 009b lsls r3, r3, #2 + 8003712: 3310 adds r3, #16 + 8003714: 687a ldr r2, [r7, #4] + 8003716: 4413 add r3, r2 + 8003718: 3304 adds r3, #4 + 800371a: 60fb str r3, [r7, #12] ep->is_in = 1U; - 800358c: 68fb ldr r3, [r7, #12] - 800358e: 2201 movs r2, #1 - 8003590: 705a strb r2, [r3, #1] - 8003592: e00f b.n 80035b4 + 800371c: 68fb ldr r3, [r7, #12] + 800371e: 2201 movs r2, #1 + 8003720: 705a strb r2, [r3, #1] + 8003722: e00f b.n 8003744 } else { ep = &hpcd->OUT_ep[ep_addr & EP_ADDR_MSK]; - 8003594: 78fb ldrb r3, [r7, #3] - 8003596: f003 020f and.w r2, r3, #15 - 800359a: 4613 mov r3, r2 - 800359c: 00db lsls r3, r3, #3 - 800359e: 4413 add r3, r2 - 80035a0: 009b lsls r3, r3, #2 - 80035a2: f503 7314 add.w r3, r3, #592 @ 0x250 - 80035a6: 687a ldr r2, [r7, #4] - 80035a8: 4413 add r3, r2 - 80035aa: 3304 adds r3, #4 - 80035ac: 60fb str r3, [r7, #12] + 8003724: 78fb ldrb r3, [r7, #3] + 8003726: f003 020f and.w r2, r3, #15 + 800372a: 4613 mov r3, r2 + 800372c: 00db lsls r3, r3, #3 + 800372e: 4413 add r3, r2 + 8003730: 009b lsls r3, r3, #2 + 8003732: f503 7314 add.w r3, r3, #592 @ 0x250 + 8003736: 687a ldr r2, [r7, #4] + 8003738: 4413 add r3, r2 + 800373a: 3304 adds r3, #4 + 800373c: 60fb str r3, [r7, #12] ep->is_in = 0U; - 80035ae: 68fb ldr r3, [r7, #12] - 80035b0: 2200 movs r2, #0 - 80035b2: 705a strb r2, [r3, #1] + 800373e: 68fb ldr r3, [r7, #12] + 8003740: 2200 movs r2, #0 + 8003742: 705a strb r2, [r3, #1] } ep->num = ep_addr & EP_ADDR_MSK; - 80035b4: 78fb ldrb r3, [r7, #3] - 80035b6: f003 030f and.w r3, r3, #15 - 80035ba: b2da uxtb r2, r3 - 80035bc: 68fb ldr r3, [r7, #12] - 80035be: 701a strb r2, [r3, #0] + 8003744: 78fb ldrb r3, [r7, #3] + 8003746: f003 030f and.w r3, r3, #15 + 800374a: b2da uxtb r2, r3 + 800374c: 68fb ldr r3, [r7, #12] + 800374e: 701a strb r2, [r3, #0] ep->maxpacket = (uint32_t)ep_mps & 0x7FFU; - 80035c0: 883b ldrh r3, [r7, #0] - 80035c2: f3c3 020a ubfx r2, r3, #0, #11 - 80035c6: 68fb ldr r3, [r7, #12] - 80035c8: 609a str r2, [r3, #8] + 8003750: 883b ldrh r3, [r7, #0] + 8003752: f3c3 020a ubfx r2, r3, #0, #11 + 8003756: 68fb ldr r3, [r7, #12] + 8003758: 609a str r2, [r3, #8] ep->type = ep_type; - 80035ca: 68fb ldr r3, [r7, #12] - 80035cc: 78ba ldrb r2, [r7, #2] - 80035ce: 711a strb r2, [r3, #4] + 800375a: 68fb ldr r3, [r7, #12] + 800375c: 78ba ldrb r2, [r7, #2] + 800375e: 711a strb r2, [r3, #4] if (ep->is_in != 0U) - 80035d0: 68fb ldr r3, [r7, #12] - 80035d2: 785b ldrb r3, [r3, #1] - 80035d4: 2b00 cmp r3, #0 - 80035d6: d004 beq.n 80035e2 + 8003760: 68fb ldr r3, [r7, #12] + 8003762: 785b ldrb r3, [r3, #1] + 8003764: 2b00 cmp r3, #0 + 8003766: d004 beq.n 8003772 { /* Assign a Tx FIFO */ ep->tx_fifo_num = ep->num; - 80035d8: 68fb ldr r3, [r7, #12] - 80035da: 781b ldrb r3, [r3, #0] - 80035dc: 461a mov r2, r3 - 80035de: 68fb ldr r3, [r7, #12] - 80035e0: 835a strh r2, [r3, #26] + 8003768: 68fb ldr r3, [r7, #12] + 800376a: 781b ldrb r3, [r3, #0] + 800376c: 461a mov r2, r3 + 800376e: 68fb ldr r3, [r7, #12] + 8003770: 835a strh r2, [r3, #26] } /* Set initial data PID. */ if (ep_type == EP_TYPE_BULK) - 80035e2: 78bb ldrb r3, [r7, #2] - 80035e4: 2b02 cmp r3, #2 - 80035e6: d102 bne.n 80035ee + 8003772: 78bb ldrb r3, [r7, #2] + 8003774: 2b02 cmp r3, #2 + 8003776: d102 bne.n 800377e { ep->data_pid_start = 0U; - 80035e8: 68fb ldr r3, [r7, #12] - 80035ea: 2200 movs r2, #0 - 80035ec: 715a strb r2, [r3, #5] + 8003778: 68fb ldr r3, [r7, #12] + 800377a: 2200 movs r2, #0 + 800377c: 715a strb r2, [r3, #5] } __HAL_LOCK(hpcd); - 80035ee: 687b ldr r3, [r7, #4] - 80035f0: f893 3494 ldrb.w r3, [r3, #1172] @ 0x494 - 80035f4: 2b01 cmp r3, #1 - 80035f6: d101 bne.n 80035fc - 80035f8: 2302 movs r3, #2 - 80035fa: e00e b.n 800361a - 80035fc: 687b ldr r3, [r7, #4] - 80035fe: 2201 movs r2, #1 - 8003600: f883 2494 strb.w r2, [r3, #1172] @ 0x494 + 800377e: 687b ldr r3, [r7, #4] + 8003780: f893 3494 ldrb.w r3, [r3, #1172] @ 0x494 + 8003784: 2b01 cmp r3, #1 + 8003786: d101 bne.n 800378c + 8003788: 2302 movs r3, #2 + 800378a: e00e b.n 80037aa + 800378c: 687b ldr r3, [r7, #4] + 800378e: 2201 movs r2, #1 + 8003790: f883 2494 strb.w r2, [r3, #1172] @ 0x494 (void)USB_ActivateEndpoint(hpcd->Instance, ep); - 8003604: 687b ldr r3, [r7, #4] - 8003606: 681b ldr r3, [r3, #0] - 8003608: 68f9 ldr r1, [r7, #12] - 800360a: 4618 mov r0, r3 - 800360c: f003 fd0a bl 8007024 + 8003794: 687b ldr r3, [r7, #4] + 8003796: 681b ldr r3, [r3, #0] + 8003798: 68f9 ldr r1, [r7, #12] + 800379a: 4618 mov r0, r3 + 800379c: f003 ff78 bl 8007690 __HAL_UNLOCK(hpcd); - 8003610: 687b ldr r3, [r7, #4] - 8003612: 2200 movs r2, #0 - 8003614: f883 2494 strb.w r2, [r3, #1172] @ 0x494 + 80037a0: 687b ldr r3, [r7, #4] + 80037a2: 2200 movs r2, #0 + 80037a4: f883 2494 strb.w r2, [r3, #1172] @ 0x494 return ret; - 8003618: 7afb ldrb r3, [r7, #11] + 80037a8: 7afb ldrb r3, [r7, #11] } - 800361a: 4618 mov r0, r3 - 800361c: 3710 adds r7, #16 - 800361e: 46bd mov sp, r7 - 8003620: bd80 pop {r7, pc} + 80037aa: 4618 mov r0, r3 + 80037ac: 3710 adds r7, #16 + 80037ae: 46bd mov sp, r7 + 80037b0: bd80 pop {r7, pc} -08003622 : +080037b2 : * @param hpcd PCD handle * @param ep_addr endpoint address * @retval HAL status */ HAL_StatusTypeDef HAL_PCD_EP_Close(PCD_HandleTypeDef *hpcd, uint8_t ep_addr) { - 8003622: b580 push {r7, lr} - 8003624: b084 sub sp, #16 - 8003626: af00 add r7, sp, #0 - 8003628: 6078 str r0, [r7, #4] - 800362a: 460b mov r3, r1 - 800362c: 70fb strb r3, [r7, #3] + 80037b2: b580 push {r7, lr} + 80037b4: b084 sub sp, #16 + 80037b6: af00 add r7, sp, #0 + 80037b8: 6078 str r0, [r7, #4] + 80037ba: 460b mov r3, r1 + 80037bc: 70fb strb r3, [r7, #3] PCD_EPTypeDef *ep; if ((ep_addr & 0x80U) == 0x80U) - 800362e: f997 3003 ldrsb.w r3, [r7, #3] - 8003632: 2b00 cmp r3, #0 - 8003634: da0f bge.n 8003656 - { - ep = &hpcd->IN_ep[ep_addr & EP_ADDR_MSK]; - 8003636: 78fb ldrb r3, [r7, #3] - 8003638: f003 020f and.w r2, r3, #15 - 800363c: 4613 mov r3, r2 - 800363e: 00db lsls r3, r3, #3 - 8003640: 4413 add r3, r2 - 8003642: 009b lsls r3, r3, #2 - 8003644: 3310 adds r3, #16 - 8003646: 687a ldr r2, [r7, #4] - 8003648: 4413 add r3, r2 - 800364a: 3304 adds r3, #4 - 800364c: 60fb str r3, [r7, #12] - ep->is_in = 1U; - 800364e: 68fb ldr r3, [r7, #12] - 8003650: 2201 movs r2, #1 - 8003652: 705a strb r2, [r3, #1] - 8003654: e00f b.n 8003676 - } - else - { - ep = &hpcd->OUT_ep[ep_addr & EP_ADDR_MSK]; - 8003656: 78fb ldrb r3, [r7, #3] - 8003658: f003 020f and.w r2, r3, #15 - 800365c: 4613 mov r3, r2 - 800365e: 00db lsls r3, r3, #3 - 8003660: 4413 add r3, r2 - 8003662: 009b lsls r3, r3, #2 - 8003664: f503 7314 add.w r3, r3, #592 @ 0x250 - 8003668: 687a ldr r2, [r7, #4] - 800366a: 4413 add r3, r2 - 800366c: 3304 adds r3, #4 - 800366e: 60fb str r3, [r7, #12] - ep->is_in = 0U; - 8003670: 68fb ldr r3, [r7, #12] - 8003672: 2200 movs r2, #0 - 8003674: 705a strb r2, [r3, #1] - } - ep->num = ep_addr & EP_ADDR_MSK; - 8003676: 78fb ldrb r3, [r7, #3] - 8003678: f003 030f and.w r3, r3, #15 - 800367c: b2da uxtb r2, r3 - 800367e: 68fb ldr r3, [r7, #12] - 8003680: 701a strb r2, [r3, #0] - - __HAL_LOCK(hpcd); - 8003682: 687b ldr r3, [r7, #4] - 8003684: f893 3494 ldrb.w r3, [r3, #1172] @ 0x494 - 8003688: 2b01 cmp r3, #1 - 800368a: d101 bne.n 8003690 - 800368c: 2302 movs r3, #2 - 800368e: e00e b.n 80036ae - 8003690: 687b ldr r3, [r7, #4] - 8003692: 2201 movs r2, #1 - 8003694: f883 2494 strb.w r2, [r3, #1172] @ 0x494 - (void)USB_DeactivateEndpoint(hpcd->Instance, ep); - 8003698: 687b ldr r3, [r7, #4] - 800369a: 681b ldr r3, [r3, #0] - 800369c: 68f9 ldr r1, [r7, #12] - 800369e: 4618 mov r0, r3 - 80036a0: f003 fd48 bl 8007134 - __HAL_UNLOCK(hpcd); - 80036a4: 687b ldr r3, [r7, #4] - 80036a6: 2200 movs r2, #0 - 80036a8: f883 2494 strb.w r2, [r3, #1172] @ 0x494 - return HAL_OK; - 80036ac: 2300 movs r3, #0 -} - 80036ae: 4618 mov r0, r3 - 80036b0: 3710 adds r7, #16 - 80036b2: 46bd mov sp, r7 - 80036b4: bd80 pop {r7, pc} - -080036b6 : - * @param pBuf pointer to the reception buffer - * @param len amount of data to be received - * @retval HAL status - */ -HAL_StatusTypeDef HAL_PCD_EP_Receive(PCD_HandleTypeDef *hpcd, uint8_t ep_addr, uint8_t *pBuf, uint32_t len) -{ - 80036b6: b580 push {r7, lr} - 80036b8: b086 sub sp, #24 - 80036ba: af00 add r7, sp, #0 - 80036bc: 60f8 str r0, [r7, #12] - 80036be: 607a str r2, [r7, #4] - 80036c0: 603b str r3, [r7, #0] - 80036c2: 460b mov r3, r1 - 80036c4: 72fb strb r3, [r7, #11] - PCD_EPTypeDef *ep; - - ep = &hpcd->OUT_ep[ep_addr & EP_ADDR_MSK]; - 80036c6: 7afb ldrb r3, [r7, #11] - 80036c8: f003 020f and.w r2, r3, #15 - 80036cc: 4613 mov r3, r2 - 80036ce: 00db lsls r3, r3, #3 - 80036d0: 4413 add r3, r2 - 80036d2: 009b lsls r3, r3, #2 - 80036d4: f503 7314 add.w r3, r3, #592 @ 0x250 - 80036d8: 68fa ldr r2, [r7, #12] - 80036da: 4413 add r3, r2 - 80036dc: 3304 adds r3, #4 - 80036de: 617b str r3, [r7, #20] - - /*setup and start the Xfer */ - ep->xfer_buff = pBuf; - 80036e0: 697b ldr r3, [r7, #20] - 80036e2: 687a ldr r2, [r7, #4] - 80036e4: 60da str r2, [r3, #12] - ep->xfer_len = len; - 80036e6: 697b ldr r3, [r7, #20] - 80036e8: 683a ldr r2, [r7, #0] - 80036ea: 611a str r2, [r3, #16] - ep->xfer_count = 0U; - 80036ec: 697b ldr r3, [r7, #20] - 80036ee: 2200 movs r2, #0 - 80036f0: 615a str r2, [r3, #20] - ep->is_in = 0U; - 80036f2: 697b ldr r3, [r7, #20] - 80036f4: 2200 movs r2, #0 - 80036f6: 705a strb r2, [r3, #1] - ep->num = ep_addr & EP_ADDR_MSK; - 80036f8: 7afb ldrb r3, [r7, #11] - 80036fa: f003 030f and.w r3, r3, #15 - 80036fe: b2da uxtb r2, r3 - 8003700: 697b ldr r3, [r7, #20] - 8003702: 701a strb r2, [r3, #0] - - if (hpcd->Init.dma_enable == 1U) - 8003704: 68fb ldr r3, [r7, #12] - 8003706: 799b ldrb r3, [r3, #6] - 8003708: 2b01 cmp r3, #1 - 800370a: d102 bne.n 8003712 - { - ep->dma_addr = (uint32_t)pBuf; - 800370c: 687a ldr r2, [r7, #4] - 800370e: 697b ldr r3, [r7, #20] - 8003710: 61da str r2, [r3, #28] - } - - (void)USB_EPStartXfer(hpcd->Instance, ep, (uint8_t)hpcd->Init.dma_enable); - 8003712: 68fb ldr r3, [r7, #12] - 8003714: 6818 ldr r0, [r3, #0] - 8003716: 68fb ldr r3, [r7, #12] - 8003718: 799b ldrb r3, [r3, #6] - 800371a: 461a mov r2, r3 - 800371c: 6979 ldr r1, [r7, #20] - 800371e: f003 fde5 bl 80072ec - - return HAL_OK; - 8003722: 2300 movs r3, #0 -} - 8003724: 4618 mov r0, r3 - 8003726: 3718 adds r7, #24 - 8003728: 46bd mov sp, r7 - 800372a: bd80 pop {r7, pc} - -0800372c : - * @param pBuf pointer to the transmission buffer - * @param len amount of data to be sent - * @retval HAL status - */ -HAL_StatusTypeDef HAL_PCD_EP_Transmit(PCD_HandleTypeDef *hpcd, uint8_t ep_addr, uint8_t *pBuf, uint32_t len) -{ - 800372c: b580 push {r7, lr} - 800372e: b086 sub sp, #24 - 8003730: af00 add r7, sp, #0 - 8003732: 60f8 str r0, [r7, #12] - 8003734: 607a str r2, [r7, #4] - 8003736: 603b str r3, [r7, #0] - 8003738: 460b mov r3, r1 - 800373a: 72fb strb r3, [r7, #11] - PCD_EPTypeDef *ep; - - ep = &hpcd->IN_ep[ep_addr & EP_ADDR_MSK]; - 800373c: 7afb ldrb r3, [r7, #11] - 800373e: f003 020f and.w r2, r3, #15 - 8003742: 4613 mov r3, r2 - 8003744: 00db lsls r3, r3, #3 - 8003746: 4413 add r3, r2 - 8003748: 009b lsls r3, r3, #2 - 800374a: 3310 adds r3, #16 - 800374c: 68fa ldr r2, [r7, #12] - 800374e: 4413 add r3, r2 - 8003750: 3304 adds r3, #4 - 8003752: 617b str r3, [r7, #20] - - /*setup and start the Xfer */ - ep->xfer_buff = pBuf; - 8003754: 697b ldr r3, [r7, #20] - 8003756: 687a ldr r2, [r7, #4] - 8003758: 60da str r2, [r3, #12] - ep->xfer_len = len; - 800375a: 697b ldr r3, [r7, #20] - 800375c: 683a ldr r2, [r7, #0] - 800375e: 611a str r2, [r3, #16] - ep->xfer_count = 0U; - 8003760: 697b ldr r3, [r7, #20] - 8003762: 2200 movs r2, #0 - 8003764: 615a str r2, [r3, #20] - ep->is_in = 1U; - 8003766: 697b ldr r3, [r7, #20] - 8003768: 2201 movs r2, #1 - 800376a: 705a strb r2, [r3, #1] - ep->num = ep_addr & EP_ADDR_MSK; - 800376c: 7afb ldrb r3, [r7, #11] - 800376e: f003 030f and.w r3, r3, #15 - 8003772: b2da uxtb r2, r3 - 8003774: 697b ldr r3, [r7, #20] - 8003776: 701a strb r2, [r3, #0] - - if (hpcd->Init.dma_enable == 1U) - 8003778: 68fb ldr r3, [r7, #12] - 800377a: 799b ldrb r3, [r3, #6] - 800377c: 2b01 cmp r3, #1 - 800377e: d102 bne.n 8003786 - { - ep->dma_addr = (uint32_t)pBuf; - 8003780: 687a ldr r2, [r7, #4] - 8003782: 697b ldr r3, [r7, #20] - 8003784: 61da str r2, [r3, #28] - } - - (void)USB_EPStartXfer(hpcd->Instance, ep, (uint8_t)hpcd->Init.dma_enable); - 8003786: 68fb ldr r3, [r7, #12] - 8003788: 6818 ldr r0, [r3, #0] - 800378a: 68fb ldr r3, [r7, #12] - 800378c: 799b ldrb r3, [r3, #6] - 800378e: 461a mov r2, r3 - 8003790: 6979 ldr r1, [r7, #20] - 8003792: f003 fdab bl 80072ec - - return HAL_OK; - 8003796: 2300 movs r3, #0 -} - 8003798: 4618 mov r0, r3 - 800379a: 3718 adds r7, #24 - 800379c: 46bd mov sp, r7 - 800379e: bd80 pop {r7, pc} - -080037a0 : - * @param hpcd PCD handle - * @param ep_addr endpoint address - * @retval HAL status - */ -HAL_StatusTypeDef HAL_PCD_EP_SetStall(PCD_HandleTypeDef *hpcd, uint8_t ep_addr) -{ - 80037a0: b580 push {r7, lr} - 80037a2: b084 sub sp, #16 - 80037a4: af00 add r7, sp, #0 - 80037a6: 6078 str r0, [r7, #4] - 80037a8: 460b mov r3, r1 - 80037aa: 70fb strb r3, [r7, #3] - PCD_EPTypeDef *ep; - - if (((uint32_t)ep_addr & EP_ADDR_MSK) > hpcd->Init.dev_endpoints) - 80037ac: 78fb ldrb r3, [r7, #3] - 80037ae: f003 030f and.w r3, r3, #15 - 80037b2: 687a ldr r2, [r7, #4] - 80037b4: 7912 ldrb r2, [r2, #4] - 80037b6: 4293 cmp r3, r2 - 80037b8: d901 bls.n 80037be - { - return HAL_ERROR; - 80037ba: 2301 movs r3, #1 - 80037bc: e04f b.n 800385e - } - - if ((0x80U & ep_addr) == 0x80U) 80037be: f997 3003 ldrsb.w r3, [r7, #3] 80037c2: 2b00 cmp r3, #0 - 80037c4: da0f bge.n 80037e6 + 80037c4: da0f bge.n 80037e6 { ep = &hpcd->IN_ep[ep_addr & EP_ADDR_MSK]; 80037c6: 78fb ldrb r3, [r7, #3] @@ -9159,18370 +9109,19559 @@ HAL_StatusTypeDef HAL_PCD_EP_SetStall(PCD_HandleTypeDef *hpcd, uint8_t ep_addr) 80037de: 68fb ldr r3, [r7, #12] 80037e0: 2201 movs r2, #1 80037e2: 705a strb r2, [r3, #1] - 80037e4: e00d b.n 8003802 + 80037e4: e00f b.n 8003806 + } + else + { + ep = &hpcd->OUT_ep[ep_addr & EP_ADDR_MSK]; + 80037e6: 78fb ldrb r3, [r7, #3] + 80037e8: f003 020f and.w r2, r3, #15 + 80037ec: 4613 mov r3, r2 + 80037ee: 00db lsls r3, r3, #3 + 80037f0: 4413 add r3, r2 + 80037f2: 009b lsls r3, r3, #2 + 80037f4: f503 7314 add.w r3, r3, #592 @ 0x250 + 80037f8: 687a ldr r2, [r7, #4] + 80037fa: 4413 add r3, r2 + 80037fc: 3304 adds r3, #4 + 80037fe: 60fb str r3, [r7, #12] + ep->is_in = 0U; + 8003800: 68fb ldr r3, [r7, #12] + 8003802: 2200 movs r2, #0 + 8003804: 705a strb r2, [r3, #1] + } + ep->num = ep_addr & EP_ADDR_MSK; + 8003806: 78fb ldrb r3, [r7, #3] + 8003808: f003 030f and.w r3, r3, #15 + 800380c: b2da uxtb r2, r3 + 800380e: 68fb ldr r3, [r7, #12] + 8003810: 701a strb r2, [r3, #0] + + __HAL_LOCK(hpcd); + 8003812: 687b ldr r3, [r7, #4] + 8003814: f893 3494 ldrb.w r3, [r3, #1172] @ 0x494 + 8003818: 2b01 cmp r3, #1 + 800381a: d101 bne.n 8003820 + 800381c: 2302 movs r3, #2 + 800381e: e00e b.n 800383e + 8003820: 687b ldr r3, [r7, #4] + 8003822: 2201 movs r2, #1 + 8003824: f883 2494 strb.w r2, [r3, #1172] @ 0x494 + (void)USB_DeactivateEndpoint(hpcd->Instance, ep); + 8003828: 687b ldr r3, [r7, #4] + 800382a: 681b ldr r3, [r3, #0] + 800382c: 68f9 ldr r1, [r7, #12] + 800382e: 4618 mov r0, r3 + 8003830: f003 ffb6 bl 80077a0 + __HAL_UNLOCK(hpcd); + 8003834: 687b ldr r3, [r7, #4] + 8003836: 2200 movs r2, #0 + 8003838: f883 2494 strb.w r2, [r3, #1172] @ 0x494 + return HAL_OK; + 800383c: 2300 movs r3, #0 +} + 800383e: 4618 mov r0, r3 + 8003840: 3710 adds r7, #16 + 8003842: 46bd mov sp, r7 + 8003844: bd80 pop {r7, pc} + +08003846 : + * @param pBuf pointer to the reception buffer + * @param len amount of data to be received + * @retval HAL status + */ +HAL_StatusTypeDef HAL_PCD_EP_Receive(PCD_HandleTypeDef *hpcd, uint8_t ep_addr, uint8_t *pBuf, uint32_t len) +{ + 8003846: b580 push {r7, lr} + 8003848: b086 sub sp, #24 + 800384a: af00 add r7, sp, #0 + 800384c: 60f8 str r0, [r7, #12] + 800384e: 607a str r2, [r7, #4] + 8003850: 603b str r3, [r7, #0] + 8003852: 460b mov r3, r1 + 8003854: 72fb strb r3, [r7, #11] + PCD_EPTypeDef *ep; + + ep = &hpcd->OUT_ep[ep_addr & EP_ADDR_MSK]; + 8003856: 7afb ldrb r3, [r7, #11] + 8003858: f003 020f and.w r2, r3, #15 + 800385c: 4613 mov r3, r2 + 800385e: 00db lsls r3, r3, #3 + 8003860: 4413 add r3, r2 + 8003862: 009b lsls r3, r3, #2 + 8003864: f503 7314 add.w r3, r3, #592 @ 0x250 + 8003868: 68fa ldr r2, [r7, #12] + 800386a: 4413 add r3, r2 + 800386c: 3304 adds r3, #4 + 800386e: 617b str r3, [r7, #20] + + /*setup and start the Xfer */ + ep->xfer_buff = pBuf; + 8003870: 697b ldr r3, [r7, #20] + 8003872: 687a ldr r2, [r7, #4] + 8003874: 60da str r2, [r3, #12] + ep->xfer_len = len; + 8003876: 697b ldr r3, [r7, #20] + 8003878: 683a ldr r2, [r7, #0] + 800387a: 611a str r2, [r3, #16] + ep->xfer_count = 0U; + 800387c: 697b ldr r3, [r7, #20] + 800387e: 2200 movs r2, #0 + 8003880: 615a str r2, [r3, #20] + ep->is_in = 0U; + 8003882: 697b ldr r3, [r7, #20] + 8003884: 2200 movs r2, #0 + 8003886: 705a strb r2, [r3, #1] + ep->num = ep_addr & EP_ADDR_MSK; + 8003888: 7afb ldrb r3, [r7, #11] + 800388a: f003 030f and.w r3, r3, #15 + 800388e: b2da uxtb r2, r3 + 8003890: 697b ldr r3, [r7, #20] + 8003892: 701a strb r2, [r3, #0] + + if (hpcd->Init.dma_enable == 1U) + 8003894: 68fb ldr r3, [r7, #12] + 8003896: 799b ldrb r3, [r3, #6] + 8003898: 2b01 cmp r3, #1 + 800389a: d102 bne.n 80038a2 + { + ep->dma_addr = (uint32_t)pBuf; + 800389c: 687a ldr r2, [r7, #4] + 800389e: 697b ldr r3, [r7, #20] + 80038a0: 61da str r2, [r3, #28] + } + + (void)USB_EPStartXfer(hpcd->Instance, ep, (uint8_t)hpcd->Init.dma_enable); + 80038a2: 68fb ldr r3, [r7, #12] + 80038a4: 6818 ldr r0, [r3, #0] + 80038a6: 68fb ldr r3, [r7, #12] + 80038a8: 799b ldrb r3, [r3, #6] + 80038aa: 461a mov r2, r3 + 80038ac: 6979 ldr r1, [r7, #20] + 80038ae: f004 f853 bl 8007958 + + return HAL_OK; + 80038b2: 2300 movs r3, #0 +} + 80038b4: 4618 mov r0, r3 + 80038b6: 3718 adds r7, #24 + 80038b8: 46bd mov sp, r7 + 80038ba: bd80 pop {r7, pc} + +080038bc : + * @param pBuf pointer to the transmission buffer + * @param len amount of data to be sent + * @retval HAL status + */ +HAL_StatusTypeDef HAL_PCD_EP_Transmit(PCD_HandleTypeDef *hpcd, uint8_t ep_addr, uint8_t *pBuf, uint32_t len) +{ + 80038bc: b580 push {r7, lr} + 80038be: b086 sub sp, #24 + 80038c0: af00 add r7, sp, #0 + 80038c2: 60f8 str r0, [r7, #12] + 80038c4: 607a str r2, [r7, #4] + 80038c6: 603b str r3, [r7, #0] + 80038c8: 460b mov r3, r1 + 80038ca: 72fb strb r3, [r7, #11] + PCD_EPTypeDef *ep; + + ep = &hpcd->IN_ep[ep_addr & EP_ADDR_MSK]; + 80038cc: 7afb ldrb r3, [r7, #11] + 80038ce: f003 020f and.w r2, r3, #15 + 80038d2: 4613 mov r3, r2 + 80038d4: 00db lsls r3, r3, #3 + 80038d6: 4413 add r3, r2 + 80038d8: 009b lsls r3, r3, #2 + 80038da: 3310 adds r3, #16 + 80038dc: 68fa ldr r2, [r7, #12] + 80038de: 4413 add r3, r2 + 80038e0: 3304 adds r3, #4 + 80038e2: 617b str r3, [r7, #20] + + /*setup and start the Xfer */ + ep->xfer_buff = pBuf; + 80038e4: 697b ldr r3, [r7, #20] + 80038e6: 687a ldr r2, [r7, #4] + 80038e8: 60da str r2, [r3, #12] + ep->xfer_len = len; + 80038ea: 697b ldr r3, [r7, #20] + 80038ec: 683a ldr r2, [r7, #0] + 80038ee: 611a str r2, [r3, #16] + ep->xfer_count = 0U; + 80038f0: 697b ldr r3, [r7, #20] + 80038f2: 2200 movs r2, #0 + 80038f4: 615a str r2, [r3, #20] + ep->is_in = 1U; + 80038f6: 697b ldr r3, [r7, #20] + 80038f8: 2201 movs r2, #1 + 80038fa: 705a strb r2, [r3, #1] + ep->num = ep_addr & EP_ADDR_MSK; + 80038fc: 7afb ldrb r3, [r7, #11] + 80038fe: f003 030f and.w r3, r3, #15 + 8003902: b2da uxtb r2, r3 + 8003904: 697b ldr r3, [r7, #20] + 8003906: 701a strb r2, [r3, #0] + + if (hpcd->Init.dma_enable == 1U) + 8003908: 68fb ldr r3, [r7, #12] + 800390a: 799b ldrb r3, [r3, #6] + 800390c: 2b01 cmp r3, #1 + 800390e: d102 bne.n 8003916 + { + ep->dma_addr = (uint32_t)pBuf; + 8003910: 687a ldr r2, [r7, #4] + 8003912: 697b ldr r3, [r7, #20] + 8003914: 61da str r2, [r3, #28] + } + + (void)USB_EPStartXfer(hpcd->Instance, ep, (uint8_t)hpcd->Init.dma_enable); + 8003916: 68fb ldr r3, [r7, #12] + 8003918: 6818 ldr r0, [r3, #0] + 800391a: 68fb ldr r3, [r7, #12] + 800391c: 799b ldrb r3, [r3, #6] + 800391e: 461a mov r2, r3 + 8003920: 6979 ldr r1, [r7, #20] + 8003922: f004 f819 bl 8007958 + + return HAL_OK; + 8003926: 2300 movs r3, #0 +} + 8003928: 4618 mov r0, r3 + 800392a: 3718 adds r7, #24 + 800392c: 46bd mov sp, r7 + 800392e: bd80 pop {r7, pc} + +08003930 : + * @param hpcd PCD handle + * @param ep_addr endpoint address + * @retval HAL status + */ +HAL_StatusTypeDef HAL_PCD_EP_SetStall(PCD_HandleTypeDef *hpcd, uint8_t ep_addr) +{ + 8003930: b580 push {r7, lr} + 8003932: b084 sub sp, #16 + 8003934: af00 add r7, sp, #0 + 8003936: 6078 str r0, [r7, #4] + 8003938: 460b mov r3, r1 + 800393a: 70fb strb r3, [r7, #3] + PCD_EPTypeDef *ep; + + if (((uint32_t)ep_addr & EP_ADDR_MSK) > hpcd->Init.dev_endpoints) + 800393c: 78fb ldrb r3, [r7, #3] + 800393e: f003 030f and.w r3, r3, #15 + 8003942: 687a ldr r2, [r7, #4] + 8003944: 7912 ldrb r2, [r2, #4] + 8003946: 4293 cmp r3, r2 + 8003948: d901 bls.n 800394e + { + return HAL_ERROR; + 800394a: 2301 movs r3, #1 + 800394c: e04f b.n 80039ee + } + + if ((0x80U & ep_addr) == 0x80U) + 800394e: f997 3003 ldrsb.w r3, [r7, #3] + 8003952: 2b00 cmp r3, #0 + 8003954: da0f bge.n 8003976 + { + ep = &hpcd->IN_ep[ep_addr & EP_ADDR_MSK]; + 8003956: 78fb ldrb r3, [r7, #3] + 8003958: f003 020f and.w r2, r3, #15 + 800395c: 4613 mov r3, r2 + 800395e: 00db lsls r3, r3, #3 + 8003960: 4413 add r3, r2 + 8003962: 009b lsls r3, r3, #2 + 8003964: 3310 adds r3, #16 + 8003966: 687a ldr r2, [r7, #4] + 8003968: 4413 add r3, r2 + 800396a: 3304 adds r3, #4 + 800396c: 60fb str r3, [r7, #12] + ep->is_in = 1U; + 800396e: 68fb ldr r3, [r7, #12] + 8003970: 2201 movs r2, #1 + 8003972: 705a strb r2, [r3, #1] + 8003974: e00d b.n 8003992 } else { ep = &hpcd->OUT_ep[ep_addr]; - 80037e6: 78fa ldrb r2, [r7, #3] - 80037e8: 4613 mov r3, r2 - 80037ea: 00db lsls r3, r3, #3 - 80037ec: 4413 add r3, r2 - 80037ee: 009b lsls r3, r3, #2 - 80037f0: f503 7314 add.w r3, r3, #592 @ 0x250 - 80037f4: 687a ldr r2, [r7, #4] - 80037f6: 4413 add r3, r2 - 80037f8: 3304 adds r3, #4 - 80037fa: 60fb str r3, [r7, #12] + 8003976: 78fa ldrb r2, [r7, #3] + 8003978: 4613 mov r3, r2 + 800397a: 00db lsls r3, r3, #3 + 800397c: 4413 add r3, r2 + 800397e: 009b lsls r3, r3, #2 + 8003980: f503 7314 add.w r3, r3, #592 @ 0x250 + 8003984: 687a ldr r2, [r7, #4] + 8003986: 4413 add r3, r2 + 8003988: 3304 adds r3, #4 + 800398a: 60fb str r3, [r7, #12] ep->is_in = 0U; - 80037fc: 68fb ldr r3, [r7, #12] - 80037fe: 2200 movs r2, #0 - 8003800: 705a strb r2, [r3, #1] + 800398c: 68fb ldr r3, [r7, #12] + 800398e: 2200 movs r2, #0 + 8003990: 705a strb r2, [r3, #1] } ep->is_stall = 1U; - 8003802: 68fb ldr r3, [r7, #12] - 8003804: 2201 movs r2, #1 - 8003806: 709a strb r2, [r3, #2] + 8003992: 68fb ldr r3, [r7, #12] + 8003994: 2201 movs r2, #1 + 8003996: 709a strb r2, [r3, #2] ep->num = ep_addr & EP_ADDR_MSK; - 8003808: 78fb ldrb r3, [r7, #3] - 800380a: f003 030f and.w r3, r3, #15 - 800380e: b2da uxtb r2, r3 - 8003810: 68fb ldr r3, [r7, #12] - 8003812: 701a strb r2, [r3, #0] + 8003998: 78fb ldrb r3, [r7, #3] + 800399a: f003 030f and.w r3, r3, #15 + 800399e: b2da uxtb r2, r3 + 80039a0: 68fb ldr r3, [r7, #12] + 80039a2: 701a strb r2, [r3, #0] __HAL_LOCK(hpcd); - 8003814: 687b ldr r3, [r7, #4] - 8003816: f893 3494 ldrb.w r3, [r3, #1172] @ 0x494 - 800381a: 2b01 cmp r3, #1 - 800381c: d101 bne.n 8003822 - 800381e: 2302 movs r3, #2 - 8003820: e01d b.n 800385e - 8003822: 687b ldr r3, [r7, #4] - 8003824: 2201 movs r2, #1 - 8003826: f883 2494 strb.w r2, [r3, #1172] @ 0x494 + 80039a4: 687b ldr r3, [r7, #4] + 80039a6: f893 3494 ldrb.w r3, [r3, #1172] @ 0x494 + 80039aa: 2b01 cmp r3, #1 + 80039ac: d101 bne.n 80039b2 + 80039ae: 2302 movs r3, #2 + 80039b0: e01d b.n 80039ee + 80039b2: 687b ldr r3, [r7, #4] + 80039b4: 2201 movs r2, #1 + 80039b6: f883 2494 strb.w r2, [r3, #1172] @ 0x494 (void)USB_EPSetStall(hpcd->Instance, ep); - 800382a: 687b ldr r3, [r7, #4] - 800382c: 681b ldr r3, [r3, #0] - 800382e: 68f9 ldr r1, [r7, #12] - 8003830: 4618 mov r0, r3 - 8003832: f004 f939 bl 8007aa8 + 80039ba: 687b ldr r3, [r7, #4] + 80039bc: 681b ldr r3, [r3, #0] + 80039be: 68f9 ldr r1, [r7, #12] + 80039c0: 4618 mov r0, r3 + 80039c2: f004 fba7 bl 8008114 if ((ep_addr & EP_ADDR_MSK) == 0U) - 8003836: 78fb ldrb r3, [r7, #3] - 8003838: f003 030f and.w r3, r3, #15 - 800383c: 2b00 cmp r3, #0 - 800383e: d109 bne.n 8003854 + 80039c6: 78fb ldrb r3, [r7, #3] + 80039c8: f003 030f and.w r3, r3, #15 + 80039cc: 2b00 cmp r3, #0 + 80039ce: d109 bne.n 80039e4 { (void)USB_EP0_OutStart(hpcd->Instance, (uint8_t)hpcd->Init.dma_enable, (uint8_t *)hpcd->Setup); - 8003840: 687b ldr r3, [r7, #4] - 8003842: 6818 ldr r0, [r3, #0] - 8003844: 687b ldr r3, [r7, #4] - 8003846: 7999 ldrb r1, [r3, #6] - 8003848: 687b ldr r3, [r7, #4] - 800384a: f203 439c addw r3, r3, #1180 @ 0x49c - 800384e: 461a mov r2, r3 - 8003850: f004 fb2a bl 8007ea8 + 80039d0: 687b ldr r3, [r7, #4] + 80039d2: 6818 ldr r0, [r3, #0] + 80039d4: 687b ldr r3, [r7, #4] + 80039d6: 7999 ldrb r1, [r3, #6] + 80039d8: 687b ldr r3, [r7, #4] + 80039da: f203 439c addw r3, r3, #1180 @ 0x49c + 80039de: 461a mov r2, r3 + 80039e0: f004 fd98 bl 8008514 } __HAL_UNLOCK(hpcd); - 8003854: 687b ldr r3, [r7, #4] - 8003856: 2200 movs r2, #0 - 8003858: f883 2494 strb.w r2, [r3, #1172] @ 0x494 + 80039e4: 687b ldr r3, [r7, #4] + 80039e6: 2200 movs r2, #0 + 80039e8: f883 2494 strb.w r2, [r3, #1172] @ 0x494 return HAL_OK; - 800385c: 2300 movs r3, #0 + 80039ec: 2300 movs r3, #0 } - 800385e: 4618 mov r0, r3 - 8003860: 3710 adds r7, #16 - 8003862: 46bd mov sp, r7 - 8003864: bd80 pop {r7, pc} + 80039ee: 4618 mov r0, r3 + 80039f0: 3710 adds r7, #16 + 80039f2: 46bd mov sp, r7 + 80039f4: bd80 pop {r7, pc} -08003866 : +080039f6 : * @param hpcd PCD handle * @param ep_addr endpoint address * @retval HAL status */ HAL_StatusTypeDef HAL_PCD_EP_ClrStall(PCD_HandleTypeDef *hpcd, uint8_t ep_addr) { - 8003866: b580 push {r7, lr} - 8003868: b084 sub sp, #16 - 800386a: af00 add r7, sp, #0 - 800386c: 6078 str r0, [r7, #4] - 800386e: 460b mov r3, r1 - 8003870: 70fb strb r3, [r7, #3] + 80039f6: b580 push {r7, lr} + 80039f8: b084 sub sp, #16 + 80039fa: af00 add r7, sp, #0 + 80039fc: 6078 str r0, [r7, #4] + 80039fe: 460b mov r3, r1 + 8003a00: 70fb strb r3, [r7, #3] PCD_EPTypeDef *ep; if (((uint32_t)ep_addr & 0x0FU) > hpcd->Init.dev_endpoints) - 8003872: 78fb ldrb r3, [r7, #3] - 8003874: f003 030f and.w r3, r3, #15 - 8003878: 687a ldr r2, [r7, #4] - 800387a: 7912 ldrb r2, [r2, #4] - 800387c: 4293 cmp r3, r2 - 800387e: d901 bls.n 8003884 + 8003a02: 78fb ldrb r3, [r7, #3] + 8003a04: f003 030f and.w r3, r3, #15 + 8003a08: 687a ldr r2, [r7, #4] + 8003a0a: 7912 ldrb r2, [r2, #4] + 8003a0c: 4293 cmp r3, r2 + 8003a0e: d901 bls.n 8003a14 { return HAL_ERROR; - 8003880: 2301 movs r3, #1 - 8003882: e042 b.n 800390a + 8003a10: 2301 movs r3, #1 + 8003a12: e042 b.n 8003a9a } if ((0x80U & ep_addr) == 0x80U) - 8003884: f997 3003 ldrsb.w r3, [r7, #3] - 8003888: 2b00 cmp r3, #0 - 800388a: da0f bge.n 80038ac + 8003a14: f997 3003 ldrsb.w r3, [r7, #3] + 8003a18: 2b00 cmp r3, #0 + 8003a1a: da0f bge.n 8003a3c { ep = &hpcd->IN_ep[ep_addr & EP_ADDR_MSK]; - 800388c: 78fb ldrb r3, [r7, #3] - 800388e: f003 020f and.w r2, r3, #15 - 8003892: 4613 mov r3, r2 - 8003894: 00db lsls r3, r3, #3 - 8003896: 4413 add r3, r2 - 8003898: 009b lsls r3, r3, #2 - 800389a: 3310 adds r3, #16 - 800389c: 687a ldr r2, [r7, #4] - 800389e: 4413 add r3, r2 - 80038a0: 3304 adds r3, #4 - 80038a2: 60fb str r3, [r7, #12] + 8003a1c: 78fb ldrb r3, [r7, #3] + 8003a1e: f003 020f and.w r2, r3, #15 + 8003a22: 4613 mov r3, r2 + 8003a24: 00db lsls r3, r3, #3 + 8003a26: 4413 add r3, r2 + 8003a28: 009b lsls r3, r3, #2 + 8003a2a: 3310 adds r3, #16 + 8003a2c: 687a ldr r2, [r7, #4] + 8003a2e: 4413 add r3, r2 + 8003a30: 3304 adds r3, #4 + 8003a32: 60fb str r3, [r7, #12] ep->is_in = 1U; - 80038a4: 68fb ldr r3, [r7, #12] - 80038a6: 2201 movs r2, #1 - 80038a8: 705a strb r2, [r3, #1] - 80038aa: e00f b.n 80038cc + 8003a34: 68fb ldr r3, [r7, #12] + 8003a36: 2201 movs r2, #1 + 8003a38: 705a strb r2, [r3, #1] + 8003a3a: e00f b.n 8003a5c } else { ep = &hpcd->OUT_ep[ep_addr & EP_ADDR_MSK]; - 80038ac: 78fb ldrb r3, [r7, #3] - 80038ae: f003 020f and.w r2, r3, #15 - 80038b2: 4613 mov r3, r2 - 80038b4: 00db lsls r3, r3, #3 - 80038b6: 4413 add r3, r2 - 80038b8: 009b lsls r3, r3, #2 - 80038ba: f503 7314 add.w r3, r3, #592 @ 0x250 - 80038be: 687a ldr r2, [r7, #4] - 80038c0: 4413 add r3, r2 - 80038c2: 3304 adds r3, #4 - 80038c4: 60fb str r3, [r7, #12] + 8003a3c: 78fb ldrb r3, [r7, #3] + 8003a3e: f003 020f and.w r2, r3, #15 + 8003a42: 4613 mov r3, r2 + 8003a44: 00db lsls r3, r3, #3 + 8003a46: 4413 add r3, r2 + 8003a48: 009b lsls r3, r3, #2 + 8003a4a: f503 7314 add.w r3, r3, #592 @ 0x250 + 8003a4e: 687a ldr r2, [r7, #4] + 8003a50: 4413 add r3, r2 + 8003a52: 3304 adds r3, #4 + 8003a54: 60fb str r3, [r7, #12] ep->is_in = 0U; - 80038c6: 68fb ldr r3, [r7, #12] - 80038c8: 2200 movs r2, #0 - 80038ca: 705a strb r2, [r3, #1] + 8003a56: 68fb ldr r3, [r7, #12] + 8003a58: 2200 movs r2, #0 + 8003a5a: 705a strb r2, [r3, #1] } ep->is_stall = 0U; - 80038cc: 68fb ldr r3, [r7, #12] - 80038ce: 2200 movs r2, #0 - 80038d0: 709a strb r2, [r3, #2] + 8003a5c: 68fb ldr r3, [r7, #12] + 8003a5e: 2200 movs r2, #0 + 8003a60: 709a strb r2, [r3, #2] ep->num = ep_addr & EP_ADDR_MSK; - 80038d2: 78fb ldrb r3, [r7, #3] - 80038d4: f003 030f and.w r3, r3, #15 - 80038d8: b2da uxtb r2, r3 - 80038da: 68fb ldr r3, [r7, #12] - 80038dc: 701a strb r2, [r3, #0] + 8003a62: 78fb ldrb r3, [r7, #3] + 8003a64: f003 030f and.w r3, r3, #15 + 8003a68: b2da uxtb r2, r3 + 8003a6a: 68fb ldr r3, [r7, #12] + 8003a6c: 701a strb r2, [r3, #0] __HAL_LOCK(hpcd); - 80038de: 687b ldr r3, [r7, #4] - 80038e0: f893 3494 ldrb.w r3, [r3, #1172] @ 0x494 - 80038e4: 2b01 cmp r3, #1 - 80038e6: d101 bne.n 80038ec - 80038e8: 2302 movs r3, #2 - 80038ea: e00e b.n 800390a - 80038ec: 687b ldr r3, [r7, #4] - 80038ee: 2201 movs r2, #1 - 80038f0: f883 2494 strb.w r2, [r3, #1172] @ 0x494 + 8003a6e: 687b ldr r3, [r7, #4] + 8003a70: f893 3494 ldrb.w r3, [r3, #1172] @ 0x494 + 8003a74: 2b01 cmp r3, #1 + 8003a76: d101 bne.n 8003a7c + 8003a78: 2302 movs r3, #2 + 8003a7a: e00e b.n 8003a9a + 8003a7c: 687b ldr r3, [r7, #4] + 8003a7e: 2201 movs r2, #1 + 8003a80: f883 2494 strb.w r2, [r3, #1172] @ 0x494 (void)USB_EPClearStall(hpcd->Instance, ep); - 80038f4: 687b ldr r3, [r7, #4] - 80038f6: 681b ldr r3, [r3, #0] - 80038f8: 68f9 ldr r1, [r7, #12] - 80038fa: 4618 mov r0, r3 - 80038fc: f004 f942 bl 8007b84 + 8003a84: 687b ldr r3, [r7, #4] + 8003a86: 681b ldr r3, [r3, #0] + 8003a88: 68f9 ldr r1, [r7, #12] + 8003a8a: 4618 mov r0, r3 + 8003a8c: f004 fbb0 bl 80081f0 __HAL_UNLOCK(hpcd); - 8003900: 687b ldr r3, [r7, #4] - 8003902: 2200 movs r2, #0 - 8003904: f883 2494 strb.w r2, [r3, #1172] @ 0x494 + 8003a90: 687b ldr r3, [r7, #4] + 8003a92: 2200 movs r2, #0 + 8003a94: f883 2494 strb.w r2, [r3, #1172] @ 0x494 return HAL_OK; - 8003908: 2300 movs r3, #0 + 8003a98: 2300 movs r3, #0 } - 800390a: 4618 mov r0, r3 - 800390c: 3710 adds r7, #16 - 800390e: 46bd mov sp, r7 - 8003910: bd80 pop {r7, pc} + 8003a9a: 4618 mov r0, r3 + 8003a9c: 3710 adds r7, #16 + 8003a9e: 46bd mov sp, r7 + 8003aa0: bd80 pop {r7, pc} -08003912 : +08003aa2 : * @param hpcd PCD handle * @param ep_addr endpoint address * @retval HAL status */ HAL_StatusTypeDef HAL_PCD_EP_Abort(PCD_HandleTypeDef *hpcd, uint8_t ep_addr) { - 8003912: b580 push {r7, lr} - 8003914: b084 sub sp, #16 - 8003916: af00 add r7, sp, #0 - 8003918: 6078 str r0, [r7, #4] - 800391a: 460b mov r3, r1 - 800391c: 70fb strb r3, [r7, #3] + 8003aa2: b580 push {r7, lr} + 8003aa4: b084 sub sp, #16 + 8003aa6: af00 add r7, sp, #0 + 8003aa8: 6078 str r0, [r7, #4] + 8003aaa: 460b mov r3, r1 + 8003aac: 70fb strb r3, [r7, #3] HAL_StatusTypeDef ret; PCD_EPTypeDef *ep; if ((0x80U & ep_addr) == 0x80U) - 800391e: f997 3003 ldrsb.w r3, [r7, #3] - 8003922: 2b00 cmp r3, #0 - 8003924: da0c bge.n 8003940 + 8003aae: f997 3003 ldrsb.w r3, [r7, #3] + 8003ab2: 2b00 cmp r3, #0 + 8003ab4: da0c bge.n 8003ad0 { ep = &hpcd->IN_ep[ep_addr & EP_ADDR_MSK]; - 8003926: 78fb ldrb r3, [r7, #3] - 8003928: f003 020f and.w r2, r3, #15 - 800392c: 4613 mov r3, r2 - 800392e: 00db lsls r3, r3, #3 - 8003930: 4413 add r3, r2 - 8003932: 009b lsls r3, r3, #2 - 8003934: 3310 adds r3, #16 - 8003936: 687a ldr r2, [r7, #4] - 8003938: 4413 add r3, r2 - 800393a: 3304 adds r3, #4 - 800393c: 60fb str r3, [r7, #12] - 800393e: e00c b.n 800395a + 8003ab6: 78fb ldrb r3, [r7, #3] + 8003ab8: f003 020f and.w r2, r3, #15 + 8003abc: 4613 mov r3, r2 + 8003abe: 00db lsls r3, r3, #3 + 8003ac0: 4413 add r3, r2 + 8003ac2: 009b lsls r3, r3, #2 + 8003ac4: 3310 adds r3, #16 + 8003ac6: 687a ldr r2, [r7, #4] + 8003ac8: 4413 add r3, r2 + 8003aca: 3304 adds r3, #4 + 8003acc: 60fb str r3, [r7, #12] + 8003ace: e00c b.n 8003aea } else { ep = &hpcd->OUT_ep[ep_addr & EP_ADDR_MSK]; - 8003940: 78fb ldrb r3, [r7, #3] - 8003942: f003 020f and.w r2, r3, #15 - 8003946: 4613 mov r3, r2 - 8003948: 00db lsls r3, r3, #3 - 800394a: 4413 add r3, r2 - 800394c: 009b lsls r3, r3, #2 - 800394e: f503 7314 add.w r3, r3, #592 @ 0x250 - 8003952: 687a ldr r2, [r7, #4] - 8003954: 4413 add r3, r2 - 8003956: 3304 adds r3, #4 - 8003958: 60fb str r3, [r7, #12] + 8003ad0: 78fb ldrb r3, [r7, #3] + 8003ad2: f003 020f and.w r2, r3, #15 + 8003ad6: 4613 mov r3, r2 + 8003ad8: 00db lsls r3, r3, #3 + 8003ada: 4413 add r3, r2 + 8003adc: 009b lsls r3, r3, #2 + 8003ade: f503 7314 add.w r3, r3, #592 @ 0x250 + 8003ae2: 687a ldr r2, [r7, #4] + 8003ae4: 4413 add r3, r2 + 8003ae6: 3304 adds r3, #4 + 8003ae8: 60fb str r3, [r7, #12] } /* Stop Xfer */ ret = USB_EPStopXfer(hpcd->Instance, ep); - 800395a: 687b ldr r3, [r7, #4] - 800395c: 681b ldr r3, [r3, #0] - 800395e: 68f9 ldr r1, [r7, #12] - 8003960: 4618 mov r0, r3 - 8003962: f003 ff61 bl 8007828 - 8003966: 4603 mov r3, r0 - 8003968: 72fb strb r3, [r7, #11] + 8003aea: 687b ldr r3, [r7, #4] + 8003aec: 681b ldr r3, [r3, #0] + 8003aee: 68f9 ldr r1, [r7, #12] + 8003af0: 4618 mov r0, r3 + 8003af2: f004 f9cf bl 8007e94 + 8003af6: 4603 mov r3, r0 + 8003af8: 72fb strb r3, [r7, #11] return ret; - 800396a: 7afb ldrb r3, [r7, #11] + 8003afa: 7afb ldrb r3, [r7, #11] } - 800396c: 4618 mov r0, r3 - 800396e: 3710 adds r7, #16 - 8003970: 46bd mov sp, r7 - 8003972: bd80 pop {r7, pc} + 8003afc: 4618 mov r0, r3 + 8003afe: 3710 adds r7, #16 + 8003b00: 46bd mov sp, r7 + 8003b02: bd80 pop {r7, pc} -08003974 : +08003b04 : * @param hpcd PCD handle * @param epnum endpoint number * @retval HAL status */ static HAL_StatusTypeDef PCD_WriteEmptyTxFifo(PCD_HandleTypeDef *hpcd, uint32_t epnum) { - 8003974: b580 push {r7, lr} - 8003976: b08a sub sp, #40 @ 0x28 - 8003978: af02 add r7, sp, #8 - 800397a: 6078 str r0, [r7, #4] - 800397c: 6039 str r1, [r7, #0] + 8003b04: b580 push {r7, lr} + 8003b06: b08a sub sp, #40 @ 0x28 + 8003b08: af02 add r7, sp, #8 + 8003b0a: 6078 str r0, [r7, #4] + 8003b0c: 6039 str r1, [r7, #0] USB_OTG_GlobalTypeDef *USBx = hpcd->Instance; - 800397e: 687b ldr r3, [r7, #4] - 8003980: 681b ldr r3, [r3, #0] - 8003982: 617b str r3, [r7, #20] + 8003b0e: 687b ldr r3, [r7, #4] + 8003b10: 681b ldr r3, [r3, #0] + 8003b12: 617b str r3, [r7, #20] uint32_t USBx_BASE = (uint32_t)USBx; - 8003984: 697b ldr r3, [r7, #20] - 8003986: 613b str r3, [r7, #16] + 8003b14: 697b ldr r3, [r7, #20] + 8003b16: 613b str r3, [r7, #16] USB_OTG_EPTypeDef *ep; uint32_t len; uint32_t len32b; uint32_t fifoemptymsk; ep = &hpcd->IN_ep[epnum]; - 8003988: 683a ldr r2, [r7, #0] - 800398a: 4613 mov r3, r2 - 800398c: 00db lsls r3, r3, #3 - 800398e: 4413 add r3, r2 - 8003990: 009b lsls r3, r3, #2 - 8003992: 3310 adds r3, #16 - 8003994: 687a ldr r2, [r7, #4] - 8003996: 4413 add r3, r2 - 8003998: 3304 adds r3, #4 - 800399a: 60fb str r3, [r7, #12] + 8003b18: 683a ldr r2, [r7, #0] + 8003b1a: 4613 mov r3, r2 + 8003b1c: 00db lsls r3, r3, #3 + 8003b1e: 4413 add r3, r2 + 8003b20: 009b lsls r3, r3, #2 + 8003b22: 3310 adds r3, #16 + 8003b24: 687a ldr r2, [r7, #4] + 8003b26: 4413 add r3, r2 + 8003b28: 3304 adds r3, #4 + 8003b2a: 60fb str r3, [r7, #12] if (ep->xfer_count > ep->xfer_len) - 800399c: 68fb ldr r3, [r7, #12] - 800399e: 695a ldr r2, [r3, #20] - 80039a0: 68fb ldr r3, [r7, #12] - 80039a2: 691b ldr r3, [r3, #16] - 80039a4: 429a cmp r2, r3 - 80039a6: d901 bls.n 80039ac + 8003b2c: 68fb ldr r3, [r7, #12] + 8003b2e: 695a ldr r2, [r3, #20] + 8003b30: 68fb ldr r3, [r7, #12] + 8003b32: 691b ldr r3, [r3, #16] + 8003b34: 429a cmp r2, r3 + 8003b36: d901 bls.n 8003b3c { return HAL_ERROR; - 80039a8: 2301 movs r3, #1 - 80039aa: e06b b.n 8003a84 + 8003b38: 2301 movs r3, #1 + 8003b3a: e06b b.n 8003c14 } len = ep->xfer_len - ep->xfer_count; - 80039ac: 68fb ldr r3, [r7, #12] - 80039ae: 691a ldr r2, [r3, #16] - 80039b0: 68fb ldr r3, [r7, #12] - 80039b2: 695b ldr r3, [r3, #20] - 80039b4: 1ad3 subs r3, r2, r3 - 80039b6: 61fb str r3, [r7, #28] + 8003b3c: 68fb ldr r3, [r7, #12] + 8003b3e: 691a ldr r2, [r3, #16] + 8003b40: 68fb ldr r3, [r7, #12] + 8003b42: 695b ldr r3, [r3, #20] + 8003b44: 1ad3 subs r3, r2, r3 + 8003b46: 61fb str r3, [r7, #28] if (len > ep->maxpacket) - 80039b8: 68fb ldr r3, [r7, #12] - 80039ba: 689b ldr r3, [r3, #8] - 80039bc: 69fa ldr r2, [r7, #28] - 80039be: 429a cmp r2, r3 - 80039c0: d902 bls.n 80039c8 + 8003b48: 68fb ldr r3, [r7, #12] + 8003b4a: 689b ldr r3, [r3, #8] + 8003b4c: 69fa ldr r2, [r7, #28] + 8003b4e: 429a cmp r2, r3 + 8003b50: d902 bls.n 8003b58 { len = ep->maxpacket; - 80039c2: 68fb ldr r3, [r7, #12] - 80039c4: 689b ldr r3, [r3, #8] - 80039c6: 61fb str r3, [r7, #28] + 8003b52: 68fb ldr r3, [r7, #12] + 8003b54: 689b ldr r3, [r3, #8] + 8003b56: 61fb str r3, [r7, #28] } len32b = (len + 3U) / 4U; - 80039c8: 69fb ldr r3, [r7, #28] - 80039ca: 3303 adds r3, #3 - 80039cc: 089b lsrs r3, r3, #2 - 80039ce: 61bb str r3, [r7, #24] + 8003b58: 69fb ldr r3, [r7, #28] + 8003b5a: 3303 adds r3, #3 + 8003b5c: 089b lsrs r3, r3, #2 + 8003b5e: 61bb str r3, [r7, #24] while (((USBx_INEP(epnum)->DTXFSTS & USB_OTG_DTXFSTS_INEPTFSAV) >= len32b) && - 80039d0: e02a b.n 8003a28 + 8003b60: e02a b.n 8003bb8 (ep->xfer_count < ep->xfer_len) && (ep->xfer_len != 0U)) { /* Write the FIFO */ len = ep->xfer_len - ep->xfer_count; - 80039d2: 68fb ldr r3, [r7, #12] - 80039d4: 691a ldr r2, [r3, #16] - 80039d6: 68fb ldr r3, [r7, #12] - 80039d8: 695b ldr r3, [r3, #20] - 80039da: 1ad3 subs r3, r2, r3 - 80039dc: 61fb str r3, [r7, #28] + 8003b62: 68fb ldr r3, [r7, #12] + 8003b64: 691a ldr r2, [r3, #16] + 8003b66: 68fb ldr r3, [r7, #12] + 8003b68: 695b ldr r3, [r3, #20] + 8003b6a: 1ad3 subs r3, r2, r3 + 8003b6c: 61fb str r3, [r7, #28] if (len > ep->maxpacket) - 80039de: 68fb ldr r3, [r7, #12] - 80039e0: 689b ldr r3, [r3, #8] - 80039e2: 69fa ldr r2, [r7, #28] - 80039e4: 429a cmp r2, r3 - 80039e6: d902 bls.n 80039ee + 8003b6e: 68fb ldr r3, [r7, #12] + 8003b70: 689b ldr r3, [r3, #8] + 8003b72: 69fa ldr r2, [r7, #28] + 8003b74: 429a cmp r2, r3 + 8003b76: d902 bls.n 8003b7e { len = ep->maxpacket; - 80039e8: 68fb ldr r3, [r7, #12] - 80039ea: 689b ldr r3, [r3, #8] - 80039ec: 61fb str r3, [r7, #28] + 8003b78: 68fb ldr r3, [r7, #12] + 8003b7a: 689b ldr r3, [r3, #8] + 8003b7c: 61fb str r3, [r7, #28] } len32b = (len + 3U) / 4U; - 80039ee: 69fb ldr r3, [r7, #28] - 80039f0: 3303 adds r3, #3 - 80039f2: 089b lsrs r3, r3, #2 - 80039f4: 61bb str r3, [r7, #24] + 8003b7e: 69fb ldr r3, [r7, #28] + 8003b80: 3303 adds r3, #3 + 8003b82: 089b lsrs r3, r3, #2 + 8003b84: 61bb str r3, [r7, #24] (void)USB_WritePacket(USBx, ep->xfer_buff, (uint8_t)epnum, (uint16_t)len, - 80039f6: 68fb ldr r3, [r7, #12] - 80039f8: 68d9 ldr r1, [r3, #12] - 80039fa: 683b ldr r3, [r7, #0] - 80039fc: b2da uxtb r2, r3 - 80039fe: 69fb ldr r3, [r7, #28] - 8003a00: b298 uxth r0, r3 + 8003b86: 68fb ldr r3, [r7, #12] + 8003b88: 68d9 ldr r1, [r3, #12] + 8003b8a: 683b ldr r3, [r7, #0] + 8003b8c: b2da uxtb r2, r3 + 8003b8e: 69fb ldr r3, [r7, #28] + 8003b90: b298 uxth r0, r3 (uint8_t)hpcd->Init.dma_enable); - 8003a02: 687b ldr r3, [r7, #4] - 8003a04: 799b ldrb r3, [r3, #6] + 8003b92: 687b ldr r3, [r7, #4] + 8003b94: 799b ldrb r3, [r3, #6] (void)USB_WritePacket(USBx, ep->xfer_buff, (uint8_t)epnum, (uint16_t)len, - 8003a06: 9300 str r3, [sp, #0] - 8003a08: 4603 mov r3, r0 - 8003a0a: 6978 ldr r0, [r7, #20] - 8003a0c: f003 ffb6 bl 800797c + 8003b96: 9300 str r3, [sp, #0] + 8003b98: 4603 mov r3, r0 + 8003b9a: 6978 ldr r0, [r7, #20] + 8003b9c: f004 fa24 bl 8007fe8 ep->xfer_buff += len; - 8003a10: 68fb ldr r3, [r7, #12] - 8003a12: 68da ldr r2, [r3, #12] - 8003a14: 69fb ldr r3, [r7, #28] - 8003a16: 441a add r2, r3 - 8003a18: 68fb ldr r3, [r7, #12] - 8003a1a: 60da str r2, [r3, #12] + 8003ba0: 68fb ldr r3, [r7, #12] + 8003ba2: 68da ldr r2, [r3, #12] + 8003ba4: 69fb ldr r3, [r7, #28] + 8003ba6: 441a add r2, r3 + 8003ba8: 68fb ldr r3, [r7, #12] + 8003baa: 60da str r2, [r3, #12] ep->xfer_count += len; - 8003a1c: 68fb ldr r3, [r7, #12] - 8003a1e: 695a ldr r2, [r3, #20] - 8003a20: 69fb ldr r3, [r7, #28] - 8003a22: 441a add r2, r3 - 8003a24: 68fb ldr r3, [r7, #12] - 8003a26: 615a str r2, [r3, #20] + 8003bac: 68fb ldr r3, [r7, #12] + 8003bae: 695a ldr r2, [r3, #20] + 8003bb0: 69fb ldr r3, [r7, #28] + 8003bb2: 441a add r2, r3 + 8003bb4: 68fb ldr r3, [r7, #12] + 8003bb6: 615a str r2, [r3, #20] while (((USBx_INEP(epnum)->DTXFSTS & USB_OTG_DTXFSTS_INEPTFSAV) >= len32b) && - 8003a28: 683b ldr r3, [r7, #0] - 8003a2a: 015a lsls r2, r3, #5 - 8003a2c: 693b ldr r3, [r7, #16] - 8003a2e: 4413 add r3, r2 - 8003a30: f503 6310 add.w r3, r3, #2304 @ 0x900 - 8003a34: 699b ldr r3, [r3, #24] - 8003a36: b29b uxth r3, r3 + 8003bb8: 683b ldr r3, [r7, #0] + 8003bba: 015a lsls r2, r3, #5 + 8003bbc: 693b ldr r3, [r7, #16] + 8003bbe: 4413 add r3, r2 + 8003bc0: f503 6310 add.w r3, r3, #2304 @ 0x900 + 8003bc4: 699b ldr r3, [r3, #24] + 8003bc6: b29b uxth r3, r3 (ep->xfer_count < ep->xfer_len) && (ep->xfer_len != 0U)) - 8003a38: 69ba ldr r2, [r7, #24] - 8003a3a: 429a cmp r2, r3 - 8003a3c: d809 bhi.n 8003a52 - 8003a3e: 68fb ldr r3, [r7, #12] - 8003a40: 695a ldr r2, [r3, #20] - 8003a42: 68fb ldr r3, [r7, #12] - 8003a44: 691b ldr r3, [r3, #16] + 8003bc8: 69ba ldr r2, [r7, #24] + 8003bca: 429a cmp r2, r3 + 8003bcc: d809 bhi.n 8003be2 + 8003bce: 68fb ldr r3, [r7, #12] + 8003bd0: 695a ldr r2, [r3, #20] + 8003bd2: 68fb ldr r3, [r7, #12] + 8003bd4: 691b ldr r3, [r3, #16] while (((USBx_INEP(epnum)->DTXFSTS & USB_OTG_DTXFSTS_INEPTFSAV) >= len32b) && - 8003a46: 429a cmp r2, r3 - 8003a48: d203 bcs.n 8003a52 + 8003bd6: 429a cmp r2, r3 + 8003bd8: d203 bcs.n 8003be2 (ep->xfer_count < ep->xfer_len) && (ep->xfer_len != 0U)) - 8003a4a: 68fb ldr r3, [r7, #12] - 8003a4c: 691b ldr r3, [r3, #16] - 8003a4e: 2b00 cmp r3, #0 - 8003a50: d1bf bne.n 80039d2 + 8003bda: 68fb ldr r3, [r7, #12] + 8003bdc: 691b ldr r3, [r3, #16] + 8003bde: 2b00 cmp r3, #0 + 8003be0: d1bf bne.n 8003b62 } if (ep->xfer_len <= ep->xfer_count) - 8003a52: 68fb ldr r3, [r7, #12] - 8003a54: 691a ldr r2, [r3, #16] - 8003a56: 68fb ldr r3, [r7, #12] - 8003a58: 695b ldr r3, [r3, #20] - 8003a5a: 429a cmp r2, r3 - 8003a5c: d811 bhi.n 8003a82 + 8003be2: 68fb ldr r3, [r7, #12] + 8003be4: 691a ldr r2, [r3, #16] + 8003be6: 68fb ldr r3, [r7, #12] + 8003be8: 695b ldr r3, [r3, #20] + 8003bea: 429a cmp r2, r3 + 8003bec: d811 bhi.n 8003c12 { fifoemptymsk = (uint32_t)(0x1UL << (epnum & EP_ADDR_MSK)); - 8003a5e: 683b ldr r3, [r7, #0] - 8003a60: f003 030f and.w r3, r3, #15 - 8003a64: 2201 movs r2, #1 - 8003a66: fa02 f303 lsl.w r3, r2, r3 - 8003a6a: 60bb str r3, [r7, #8] + 8003bee: 683b ldr r3, [r7, #0] + 8003bf0: f003 030f and.w r3, r3, #15 + 8003bf4: 2201 movs r2, #1 + 8003bf6: fa02 f303 lsl.w r3, r2, r3 + 8003bfa: 60bb str r3, [r7, #8] USBx_DEVICE->DIEPEMPMSK &= ~fifoemptymsk; - 8003a6c: 693b ldr r3, [r7, #16] - 8003a6e: f503 6300 add.w r3, r3, #2048 @ 0x800 - 8003a72: 6b5a ldr r2, [r3, #52] @ 0x34 - 8003a74: 68bb ldr r3, [r7, #8] - 8003a76: 43db mvns r3, r3 - 8003a78: 6939 ldr r1, [r7, #16] - 8003a7a: f501 6100 add.w r1, r1, #2048 @ 0x800 - 8003a7e: 4013 ands r3, r2 - 8003a80: 634b str r3, [r1, #52] @ 0x34 + 8003bfc: 693b ldr r3, [r7, #16] + 8003bfe: f503 6300 add.w r3, r3, #2048 @ 0x800 + 8003c02: 6b5a ldr r2, [r3, #52] @ 0x34 + 8003c04: 68bb ldr r3, [r7, #8] + 8003c06: 43db mvns r3, r3 + 8003c08: 6939 ldr r1, [r7, #16] + 8003c0a: f501 6100 add.w r1, r1, #2048 @ 0x800 + 8003c0e: 4013 ands r3, r2 + 8003c10: 634b str r3, [r1, #52] @ 0x34 } return HAL_OK; - 8003a82: 2300 movs r3, #0 + 8003c12: 2300 movs r3, #0 } - 8003a84: 4618 mov r0, r3 - 8003a86: 3720 adds r7, #32 - 8003a88: 46bd mov sp, r7 - 8003a8a: bd80 pop {r7, pc} + 8003c14: 4618 mov r0, r3 + 8003c16: 3720 adds r7, #32 + 8003c18: 46bd mov sp, r7 + 8003c1a: bd80 pop {r7, pc} -08003a8c : +08003c1c : * @param hpcd PCD handle * @param epnum endpoint number * @retval HAL status */ static HAL_StatusTypeDef PCD_EP_OutXfrComplete_int(PCD_HandleTypeDef *hpcd, uint32_t epnum) { - 8003a8c: b580 push {r7, lr} - 8003a8e: b088 sub sp, #32 - 8003a90: af00 add r7, sp, #0 - 8003a92: 6078 str r0, [r7, #4] - 8003a94: 6039 str r1, [r7, #0] + 8003c1c: b580 push {r7, lr} + 8003c1e: b088 sub sp, #32 + 8003c20: af00 add r7, sp, #0 + 8003c22: 6078 str r0, [r7, #4] + 8003c24: 6039 str r1, [r7, #0] USB_OTG_EPTypeDef *ep; const USB_OTG_GlobalTypeDef *USBx = hpcd->Instance; - 8003a96: 687b ldr r3, [r7, #4] - 8003a98: 681b ldr r3, [r3, #0] - 8003a9a: 61fb str r3, [r7, #28] + 8003c26: 687b ldr r3, [r7, #4] + 8003c28: 681b ldr r3, [r3, #0] + 8003c2a: 61fb str r3, [r7, #28] uint32_t USBx_BASE = (uint32_t)USBx; - 8003a9c: 69fb ldr r3, [r7, #28] - 8003a9e: 61bb str r3, [r7, #24] + 8003c2c: 69fb ldr r3, [r7, #28] + 8003c2e: 61bb str r3, [r7, #24] uint32_t gSNPSiD = *(__IO const uint32_t *)(&USBx->CID + 0x1U); - 8003aa0: 69fb ldr r3, [r7, #28] - 8003aa2: 333c adds r3, #60 @ 0x3c - 8003aa4: 3304 adds r3, #4 - 8003aa6: 681b ldr r3, [r3, #0] - 8003aa8: 617b str r3, [r7, #20] + 8003c30: 69fb ldr r3, [r7, #28] + 8003c32: 333c adds r3, #60 @ 0x3c + 8003c34: 3304 adds r3, #4 + 8003c36: 681b ldr r3, [r3, #0] + 8003c38: 617b str r3, [r7, #20] uint32_t DoepintReg = USBx_OUTEP(epnum)->DOEPINT; - 8003aaa: 683b ldr r3, [r7, #0] - 8003aac: 015a lsls r2, r3, #5 - 8003aae: 69bb ldr r3, [r7, #24] - 8003ab0: 4413 add r3, r2 - 8003ab2: f503 6330 add.w r3, r3, #2816 @ 0xb00 - 8003ab6: 689b ldr r3, [r3, #8] - 8003ab8: 613b str r3, [r7, #16] + 8003c3a: 683b ldr r3, [r7, #0] + 8003c3c: 015a lsls r2, r3, #5 + 8003c3e: 69bb ldr r3, [r7, #24] + 8003c40: 4413 add r3, r2 + 8003c42: f503 6330 add.w r3, r3, #2816 @ 0xb00 + 8003c46: 689b ldr r3, [r3, #8] + 8003c48: 613b str r3, [r7, #16] if (hpcd->Init.dma_enable == 1U) - 8003aba: 687b ldr r3, [r7, #4] - 8003abc: 799b ldrb r3, [r3, #6] - 8003abe: 2b01 cmp r3, #1 - 8003ac0: d17b bne.n 8003bba + 8003c4a: 687b ldr r3, [r7, #4] + 8003c4c: 799b ldrb r3, [r3, #6] + 8003c4e: 2b01 cmp r3, #1 + 8003c50: d17b bne.n 8003d4a { if ((DoepintReg & USB_OTG_DOEPINT_STUP) == USB_OTG_DOEPINT_STUP) /* Class C */ - 8003ac2: 693b ldr r3, [r7, #16] - 8003ac4: f003 0308 and.w r3, r3, #8 - 8003ac8: 2b00 cmp r3, #0 - 8003aca: d015 beq.n 8003af8 + 8003c52: 693b ldr r3, [r7, #16] + 8003c54: f003 0308 and.w r3, r3, #8 + 8003c58: 2b00 cmp r3, #0 + 8003c5a: d015 beq.n 8003c88 { /* StupPktRcvd = 1 this is a setup packet */ if ((gSNPSiD > USB_OTG_CORE_ID_300A) && - 8003acc: 697b ldr r3, [r7, #20] - 8003ace: 4a61 ldr r2, [pc, #388] @ (8003c54 ) - 8003ad0: 4293 cmp r3, r2 - 8003ad2: f240 80b9 bls.w 8003c48 + 8003c5c: 697b ldr r3, [r7, #20] + 8003c5e: 4a61 ldr r2, [pc, #388] @ (8003de4 ) + 8003c60: 4293 cmp r3, r2 + 8003c62: f240 80b9 bls.w 8003dd8 ((DoepintReg & USB_OTG_DOEPINT_STPKTRX) == USB_OTG_DOEPINT_STPKTRX)) - 8003ad6: 693b ldr r3, [r7, #16] - 8003ad8: f403 4300 and.w r3, r3, #32768 @ 0x8000 + 8003c66: 693b ldr r3, [r7, #16] + 8003c68: f403 4300 and.w r3, r3, #32768 @ 0x8000 if ((gSNPSiD > USB_OTG_CORE_ID_300A) && - 8003adc: 2b00 cmp r3, #0 - 8003ade: f000 80b3 beq.w 8003c48 + 8003c6c: 2b00 cmp r3, #0 + 8003c6e: f000 80b3 beq.w 8003dd8 { CLEAR_OUT_EP_INTR(epnum, USB_OTG_DOEPINT_STPKTRX); - 8003ae2: 683b ldr r3, [r7, #0] - 8003ae4: 015a lsls r2, r3, #5 - 8003ae6: 69bb ldr r3, [r7, #24] - 8003ae8: 4413 add r3, r2 - 8003aea: f503 6330 add.w r3, r3, #2816 @ 0xb00 - 8003aee: 461a mov r2, r3 - 8003af0: f44f 4300 mov.w r3, #32768 @ 0x8000 - 8003af4: 6093 str r3, [r2, #8] - 8003af6: e0a7 b.n 8003c48 + 8003c72: 683b ldr r3, [r7, #0] + 8003c74: 015a lsls r2, r3, #5 + 8003c76: 69bb ldr r3, [r7, #24] + 8003c78: 4413 add r3, r2 + 8003c7a: f503 6330 add.w r3, r3, #2816 @ 0xb00 + 8003c7e: 461a mov r2, r3 + 8003c80: f44f 4300 mov.w r3, #32768 @ 0x8000 + 8003c84: 6093 str r3, [r2, #8] + 8003c86: e0a7 b.n 8003dd8 } } else if ((DoepintReg & USB_OTG_DOEPINT_OTEPSPR) == USB_OTG_DOEPINT_OTEPSPR) /* Class E */ - 8003af8: 693b ldr r3, [r7, #16] - 8003afa: f003 0320 and.w r3, r3, #32 - 8003afe: 2b00 cmp r3, #0 - 8003b00: d009 beq.n 8003b16 + 8003c88: 693b ldr r3, [r7, #16] + 8003c8a: f003 0320 and.w r3, r3, #32 + 8003c8e: 2b00 cmp r3, #0 + 8003c90: d009 beq.n 8003ca6 { CLEAR_OUT_EP_INTR(epnum, USB_OTG_DOEPINT_OTEPSPR); - 8003b02: 683b ldr r3, [r7, #0] - 8003b04: 015a lsls r2, r3, #5 - 8003b06: 69bb ldr r3, [r7, #24] - 8003b08: 4413 add r3, r2 - 8003b0a: f503 6330 add.w r3, r3, #2816 @ 0xb00 - 8003b0e: 461a mov r2, r3 - 8003b10: 2320 movs r3, #32 - 8003b12: 6093 str r3, [r2, #8] - 8003b14: e098 b.n 8003c48 + 8003c92: 683b ldr r3, [r7, #0] + 8003c94: 015a lsls r2, r3, #5 + 8003c96: 69bb ldr r3, [r7, #24] + 8003c98: 4413 add r3, r2 + 8003c9a: f503 6330 add.w r3, r3, #2816 @ 0xb00 + 8003c9e: 461a mov r2, r3 + 8003ca0: 2320 movs r3, #32 + 8003ca2: 6093 str r3, [r2, #8] + 8003ca4: e098 b.n 8003dd8 } else if ((DoepintReg & (USB_OTG_DOEPINT_STUP | USB_OTG_DOEPINT_OTEPSPR)) == 0U) - 8003b16: 693b ldr r3, [r7, #16] - 8003b18: f003 0328 and.w r3, r3, #40 @ 0x28 - 8003b1c: 2b00 cmp r3, #0 - 8003b1e: f040 8093 bne.w 8003c48 + 8003ca6: 693b ldr r3, [r7, #16] + 8003ca8: f003 0328 and.w r3, r3, #40 @ 0x28 + 8003cac: 2b00 cmp r3, #0 + 8003cae: f040 8093 bne.w 8003dd8 { /* StupPktRcvd = 1 this is a setup packet */ if ((gSNPSiD > USB_OTG_CORE_ID_300A) && - 8003b22: 697b ldr r3, [r7, #20] - 8003b24: 4a4b ldr r2, [pc, #300] @ (8003c54 ) - 8003b26: 4293 cmp r3, r2 - 8003b28: d90f bls.n 8003b4a + 8003cb2: 697b ldr r3, [r7, #20] + 8003cb4: 4a4b ldr r2, [pc, #300] @ (8003de4 ) + 8003cb6: 4293 cmp r3, r2 + 8003cb8: d90f bls.n 8003cda ((DoepintReg & USB_OTG_DOEPINT_STPKTRX) == USB_OTG_DOEPINT_STPKTRX)) - 8003b2a: 693b ldr r3, [r7, #16] - 8003b2c: f403 4300 and.w r3, r3, #32768 @ 0x8000 + 8003cba: 693b ldr r3, [r7, #16] + 8003cbc: f403 4300 and.w r3, r3, #32768 @ 0x8000 if ((gSNPSiD > USB_OTG_CORE_ID_300A) && - 8003b30: 2b00 cmp r3, #0 - 8003b32: d00a beq.n 8003b4a + 8003cc0: 2b00 cmp r3, #0 + 8003cc2: d00a beq.n 8003cda { CLEAR_OUT_EP_INTR(epnum, USB_OTG_DOEPINT_STPKTRX); - 8003b34: 683b ldr r3, [r7, #0] - 8003b36: 015a lsls r2, r3, #5 - 8003b38: 69bb ldr r3, [r7, #24] - 8003b3a: 4413 add r3, r2 - 8003b3c: f503 6330 add.w r3, r3, #2816 @ 0xb00 - 8003b40: 461a mov r2, r3 - 8003b42: f44f 4300 mov.w r3, #32768 @ 0x8000 - 8003b46: 6093 str r3, [r2, #8] - 8003b48: e07e b.n 8003c48 + 8003cc4: 683b ldr r3, [r7, #0] + 8003cc6: 015a lsls r2, r3, #5 + 8003cc8: 69bb ldr r3, [r7, #24] + 8003cca: 4413 add r3, r2 + 8003ccc: f503 6330 add.w r3, r3, #2816 @ 0xb00 + 8003cd0: 461a mov r2, r3 + 8003cd2: f44f 4300 mov.w r3, #32768 @ 0x8000 + 8003cd6: 6093 str r3, [r2, #8] + 8003cd8: e07e b.n 8003dd8 } else { ep = &hpcd->OUT_ep[epnum]; - 8003b4a: 683a ldr r2, [r7, #0] - 8003b4c: 4613 mov r3, r2 - 8003b4e: 00db lsls r3, r3, #3 - 8003b50: 4413 add r3, r2 - 8003b52: 009b lsls r3, r3, #2 - 8003b54: f503 7314 add.w r3, r3, #592 @ 0x250 - 8003b58: 687a ldr r2, [r7, #4] - 8003b5a: 4413 add r3, r2 - 8003b5c: 3304 adds r3, #4 - 8003b5e: 60fb str r3, [r7, #12] + 8003cda: 683a ldr r2, [r7, #0] + 8003cdc: 4613 mov r3, r2 + 8003cde: 00db lsls r3, r3, #3 + 8003ce0: 4413 add r3, r2 + 8003ce2: 009b lsls r3, r3, #2 + 8003ce4: f503 7314 add.w r3, r3, #592 @ 0x250 + 8003ce8: 687a ldr r2, [r7, #4] + 8003cea: 4413 add r3, r2 + 8003cec: 3304 adds r3, #4 + 8003cee: 60fb str r3, [r7, #12] /* out data packet received over EP */ ep->xfer_count = ep->xfer_size - (USBx_OUTEP(epnum)->DOEPTSIZ & USB_OTG_DOEPTSIZ_XFRSIZ); - 8003b60: 68fb ldr r3, [r7, #12] - 8003b62: 6a1a ldr r2, [r3, #32] - 8003b64: 683b ldr r3, [r7, #0] - 8003b66: 0159 lsls r1, r3, #5 - 8003b68: 69bb ldr r3, [r7, #24] - 8003b6a: 440b add r3, r1 - 8003b6c: f503 6330 add.w r3, r3, #2816 @ 0xb00 - 8003b70: 691b ldr r3, [r3, #16] - 8003b72: f3c3 0312 ubfx r3, r3, #0, #19 - 8003b76: 1ad2 subs r2, r2, r3 - 8003b78: 68fb ldr r3, [r7, #12] - 8003b7a: 615a str r2, [r3, #20] + 8003cf0: 68fb ldr r3, [r7, #12] + 8003cf2: 6a1a ldr r2, [r3, #32] + 8003cf4: 683b ldr r3, [r7, #0] + 8003cf6: 0159 lsls r1, r3, #5 + 8003cf8: 69bb ldr r3, [r7, #24] + 8003cfa: 440b add r3, r1 + 8003cfc: f503 6330 add.w r3, r3, #2816 @ 0xb00 + 8003d00: 691b ldr r3, [r3, #16] + 8003d02: f3c3 0312 ubfx r3, r3, #0, #19 + 8003d06: 1ad2 subs r2, r2, r3 + 8003d08: 68fb ldr r3, [r7, #12] + 8003d0a: 615a str r2, [r3, #20] if (epnum == 0U) - 8003b7c: 683b ldr r3, [r7, #0] - 8003b7e: 2b00 cmp r3, #0 - 8003b80: d114 bne.n 8003bac + 8003d0c: 683b ldr r3, [r7, #0] + 8003d0e: 2b00 cmp r3, #0 + 8003d10: d114 bne.n 8003d3c { if (ep->xfer_len == 0U) - 8003b82: 68fb ldr r3, [r7, #12] - 8003b84: 691b ldr r3, [r3, #16] - 8003b86: 2b00 cmp r3, #0 - 8003b88: d109 bne.n 8003b9e + 8003d12: 68fb ldr r3, [r7, #12] + 8003d14: 691b ldr r3, [r3, #16] + 8003d16: 2b00 cmp r3, #0 + 8003d18: d109 bne.n 8003d2e { /* this is ZLP, so prepare EP0 for next setup */ (void)USB_EP0_OutStart(hpcd->Instance, 1U, (uint8_t *)hpcd->Setup); - 8003b8a: 687b ldr r3, [r7, #4] - 8003b8c: 6818 ldr r0, [r3, #0] - 8003b8e: 687b ldr r3, [r7, #4] - 8003b90: f203 439c addw r3, r3, #1180 @ 0x49c - 8003b94: 461a mov r2, r3 - 8003b96: 2101 movs r1, #1 - 8003b98: f004 f986 bl 8007ea8 - 8003b9c: e006 b.n 8003bac + 8003d1a: 687b ldr r3, [r7, #4] + 8003d1c: 6818 ldr r0, [r3, #0] + 8003d1e: 687b ldr r3, [r7, #4] + 8003d20: f203 439c addw r3, r3, #1180 @ 0x49c + 8003d24: 461a mov r2, r3 + 8003d26: 2101 movs r1, #1 + 8003d28: f004 fbf4 bl 8008514 + 8003d2c: e006 b.n 8003d3c } else { ep->xfer_buff += ep->xfer_count; - 8003b9e: 68fb ldr r3, [r7, #12] - 8003ba0: 68da ldr r2, [r3, #12] - 8003ba2: 68fb ldr r3, [r7, #12] - 8003ba4: 695b ldr r3, [r3, #20] - 8003ba6: 441a add r2, r3 - 8003ba8: 68fb ldr r3, [r7, #12] - 8003baa: 60da str r2, [r3, #12] + 8003d2e: 68fb ldr r3, [r7, #12] + 8003d30: 68da ldr r2, [r3, #12] + 8003d32: 68fb ldr r3, [r7, #12] + 8003d34: 695b ldr r3, [r3, #20] + 8003d36: 441a add r2, r3 + 8003d38: 68fb ldr r3, [r7, #12] + 8003d3a: 60da str r2, [r3, #12] } #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U) hpcd->DataOutStageCallback(hpcd, (uint8_t)epnum); #else HAL_PCD_DataOutStageCallback(hpcd, (uint8_t)epnum); - 8003bac: 683b ldr r3, [r7, #0] - 8003bae: b2db uxtb r3, r3 - 8003bb0: 4619 mov r1, r3 - 8003bb2: 6878 ldr r0, [r7, #4] - 8003bb4: f006 f954 bl 8009e60 - 8003bb8: e046 b.n 8003c48 + 8003d3c: 683b ldr r3, [r7, #0] + 8003d3e: b2db uxtb r3, r3 + 8003d40: 4619 mov r1, r3 + 8003d42: 6878 ldr r0, [r7, #4] + 8003d44: f006 fbc2 bl 800a4cc + 8003d48: e046 b.n 8003dd8 /* ... */ } } else { if (gSNPSiD == USB_OTG_CORE_ID_310A) - 8003bba: 697b ldr r3, [r7, #20] - 8003bbc: 4a26 ldr r2, [pc, #152] @ (8003c58 ) - 8003bbe: 4293 cmp r3, r2 - 8003bc0: d124 bne.n 8003c0c + 8003d4a: 697b ldr r3, [r7, #20] + 8003d4c: 4a26 ldr r2, [pc, #152] @ (8003de8 ) + 8003d4e: 4293 cmp r3, r2 + 8003d50: d124 bne.n 8003d9c { /* StupPktRcvd = 1 this is a setup packet */ if ((DoepintReg & USB_OTG_DOEPINT_STPKTRX) == USB_OTG_DOEPINT_STPKTRX) - 8003bc2: 693b ldr r3, [r7, #16] - 8003bc4: f403 4300 and.w r3, r3, #32768 @ 0x8000 - 8003bc8: 2b00 cmp r3, #0 - 8003bca: d00a beq.n 8003be2 + 8003d52: 693b ldr r3, [r7, #16] + 8003d54: f403 4300 and.w r3, r3, #32768 @ 0x8000 + 8003d58: 2b00 cmp r3, #0 + 8003d5a: d00a beq.n 8003d72 { CLEAR_OUT_EP_INTR(epnum, USB_OTG_DOEPINT_STPKTRX); - 8003bcc: 683b ldr r3, [r7, #0] - 8003bce: 015a lsls r2, r3, #5 - 8003bd0: 69bb ldr r3, [r7, #24] - 8003bd2: 4413 add r3, r2 - 8003bd4: f503 6330 add.w r3, r3, #2816 @ 0xb00 - 8003bd8: 461a mov r2, r3 - 8003bda: f44f 4300 mov.w r3, #32768 @ 0x8000 - 8003bde: 6093 str r3, [r2, #8] - 8003be0: e032 b.n 8003c48 + 8003d5c: 683b ldr r3, [r7, #0] + 8003d5e: 015a lsls r2, r3, #5 + 8003d60: 69bb ldr r3, [r7, #24] + 8003d62: 4413 add r3, r2 + 8003d64: f503 6330 add.w r3, r3, #2816 @ 0xb00 + 8003d68: 461a mov r2, r3 + 8003d6a: f44f 4300 mov.w r3, #32768 @ 0x8000 + 8003d6e: 6093 str r3, [r2, #8] + 8003d70: e032 b.n 8003dd8 } else { if ((DoepintReg & USB_OTG_DOEPINT_OTEPSPR) == USB_OTG_DOEPINT_OTEPSPR) - 8003be2: 693b ldr r3, [r7, #16] - 8003be4: f003 0320 and.w r3, r3, #32 - 8003be8: 2b00 cmp r3, #0 - 8003bea: d008 beq.n 8003bfe + 8003d72: 693b ldr r3, [r7, #16] + 8003d74: f003 0320 and.w r3, r3, #32 + 8003d78: 2b00 cmp r3, #0 + 8003d7a: d008 beq.n 8003d8e { CLEAR_OUT_EP_INTR(epnum, USB_OTG_DOEPINT_OTEPSPR); - 8003bec: 683b ldr r3, [r7, #0] - 8003bee: 015a lsls r2, r3, #5 - 8003bf0: 69bb ldr r3, [r7, #24] - 8003bf2: 4413 add r3, r2 - 8003bf4: f503 6330 add.w r3, r3, #2816 @ 0xb00 - 8003bf8: 461a mov r2, r3 - 8003bfa: 2320 movs r3, #32 - 8003bfc: 6093 str r3, [r2, #8] + 8003d7c: 683b ldr r3, [r7, #0] + 8003d7e: 015a lsls r2, r3, #5 + 8003d80: 69bb ldr r3, [r7, #24] + 8003d82: 4413 add r3, r2 + 8003d84: f503 6330 add.w r3, r3, #2816 @ 0xb00 + 8003d88: 461a mov r2, r3 + 8003d8a: 2320 movs r3, #32 + 8003d8c: 6093 str r3, [r2, #8] } #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U) hpcd->DataOutStageCallback(hpcd, (uint8_t)epnum); #else HAL_PCD_DataOutStageCallback(hpcd, (uint8_t)epnum); - 8003bfe: 683b ldr r3, [r7, #0] - 8003c00: b2db uxtb r3, r3 - 8003c02: 4619 mov r1, r3 - 8003c04: 6878 ldr r0, [r7, #4] - 8003c06: f006 f92b bl 8009e60 - 8003c0a: e01d b.n 8003c48 + 8003d8e: 683b ldr r3, [r7, #0] + 8003d90: b2db uxtb r3, r3 + 8003d92: 4619 mov r1, r3 + 8003d94: 6878 ldr r0, [r7, #4] + 8003d96: f006 fb99 bl 800a4cc + 8003d9a: e01d b.n 8003dd8 #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */ } } else { if ((epnum == 0U) && (hpcd->OUT_ep[epnum].xfer_len == 0U)) - 8003c0c: 683b ldr r3, [r7, #0] - 8003c0e: 2b00 cmp r3, #0 - 8003c10: d114 bne.n 8003c3c - 8003c12: 6879 ldr r1, [r7, #4] - 8003c14: 683a ldr r2, [r7, #0] - 8003c16: 4613 mov r3, r2 - 8003c18: 00db lsls r3, r3, #3 - 8003c1a: 4413 add r3, r2 - 8003c1c: 009b lsls r3, r3, #2 - 8003c1e: 440b add r3, r1 - 8003c20: f503 7319 add.w r3, r3, #612 @ 0x264 - 8003c24: 681b ldr r3, [r3, #0] - 8003c26: 2b00 cmp r3, #0 - 8003c28: d108 bne.n 8003c3c + 8003d9c: 683b ldr r3, [r7, #0] + 8003d9e: 2b00 cmp r3, #0 + 8003da0: d114 bne.n 8003dcc + 8003da2: 6879 ldr r1, [r7, #4] + 8003da4: 683a ldr r2, [r7, #0] + 8003da6: 4613 mov r3, r2 + 8003da8: 00db lsls r3, r3, #3 + 8003daa: 4413 add r3, r2 + 8003dac: 009b lsls r3, r3, #2 + 8003dae: 440b add r3, r1 + 8003db0: f503 7319 add.w r3, r3, #612 @ 0x264 + 8003db4: 681b ldr r3, [r3, #0] + 8003db6: 2b00 cmp r3, #0 + 8003db8: d108 bne.n 8003dcc { /* this is ZLP, so prepare EP0 for next setup */ (void)USB_EP0_OutStart(hpcd->Instance, 0U, (uint8_t *)hpcd->Setup); - 8003c2a: 687b ldr r3, [r7, #4] - 8003c2c: 6818 ldr r0, [r3, #0] - 8003c2e: 687b ldr r3, [r7, #4] - 8003c30: f203 439c addw r3, r3, #1180 @ 0x49c - 8003c34: 461a mov r2, r3 - 8003c36: 2100 movs r1, #0 - 8003c38: f004 f936 bl 8007ea8 + 8003dba: 687b ldr r3, [r7, #4] + 8003dbc: 6818 ldr r0, [r3, #0] + 8003dbe: 687b ldr r3, [r7, #4] + 8003dc0: f203 439c addw r3, r3, #1180 @ 0x49c + 8003dc4: 461a mov r2, r3 + 8003dc6: 2100 movs r1, #0 + 8003dc8: f004 fba4 bl 8008514 } #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U) hpcd->DataOutStageCallback(hpcd, (uint8_t)epnum); #else HAL_PCD_DataOutStageCallback(hpcd, (uint8_t)epnum); - 8003c3c: 683b ldr r3, [r7, #0] - 8003c3e: b2db uxtb r3, r3 - 8003c40: 4619 mov r1, r3 - 8003c42: 6878 ldr r0, [r7, #4] - 8003c44: f006 f90c bl 8009e60 + 8003dcc: 683b ldr r3, [r7, #0] + 8003dce: b2db uxtb r3, r3 + 8003dd0: 4619 mov r1, r3 + 8003dd2: 6878 ldr r0, [r7, #4] + 8003dd4: f006 fb7a bl 800a4cc #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */ } } return HAL_OK; - 8003c48: 2300 movs r3, #0 + 8003dd8: 2300 movs r3, #0 } - 8003c4a: 4618 mov r0, r3 - 8003c4c: 3720 adds r7, #32 - 8003c4e: 46bd mov sp, r7 - 8003c50: bd80 pop {r7, pc} - 8003c52: bf00 nop - 8003c54: 4f54300a .word 0x4f54300a - 8003c58: 4f54310a .word 0x4f54310a + 8003dda: 4618 mov r0, r3 + 8003ddc: 3720 adds r7, #32 + 8003dde: 46bd mov sp, r7 + 8003de0: bd80 pop {r7, pc} + 8003de2: bf00 nop + 8003de4: 4f54300a .word 0x4f54300a + 8003de8: 4f54310a .word 0x4f54310a -08003c5c : +08003dec : * @param hpcd PCD handle * @param epnum endpoint number * @retval HAL status */ static HAL_StatusTypeDef PCD_EP_OutSetupPacket_int(PCD_HandleTypeDef *hpcd, uint32_t epnum) { - 8003c5c: b580 push {r7, lr} - 8003c5e: b086 sub sp, #24 - 8003c60: af00 add r7, sp, #0 - 8003c62: 6078 str r0, [r7, #4] - 8003c64: 6039 str r1, [r7, #0] + 8003dec: b580 push {r7, lr} + 8003dee: b086 sub sp, #24 + 8003df0: af00 add r7, sp, #0 + 8003df2: 6078 str r0, [r7, #4] + 8003df4: 6039 str r1, [r7, #0] const USB_OTG_GlobalTypeDef *USBx = hpcd->Instance; - 8003c66: 687b ldr r3, [r7, #4] - 8003c68: 681b ldr r3, [r3, #0] - 8003c6a: 617b str r3, [r7, #20] + 8003df6: 687b ldr r3, [r7, #4] + 8003df8: 681b ldr r3, [r3, #0] + 8003dfa: 617b str r3, [r7, #20] uint32_t USBx_BASE = (uint32_t)USBx; - 8003c6c: 697b ldr r3, [r7, #20] - 8003c6e: 613b str r3, [r7, #16] + 8003dfc: 697b ldr r3, [r7, #20] + 8003dfe: 613b str r3, [r7, #16] uint32_t gSNPSiD = *(__IO const uint32_t *)(&USBx->CID + 0x1U); - 8003c70: 697b ldr r3, [r7, #20] - 8003c72: 333c adds r3, #60 @ 0x3c - 8003c74: 3304 adds r3, #4 - 8003c76: 681b ldr r3, [r3, #0] - 8003c78: 60fb str r3, [r7, #12] + 8003e00: 697b ldr r3, [r7, #20] + 8003e02: 333c adds r3, #60 @ 0x3c + 8003e04: 3304 adds r3, #4 + 8003e06: 681b ldr r3, [r3, #0] + 8003e08: 60fb str r3, [r7, #12] uint32_t DoepintReg = USBx_OUTEP(epnum)->DOEPINT; - 8003c7a: 683b ldr r3, [r7, #0] - 8003c7c: 015a lsls r2, r3, #5 - 8003c7e: 693b ldr r3, [r7, #16] - 8003c80: 4413 add r3, r2 - 8003c82: f503 6330 add.w r3, r3, #2816 @ 0xb00 - 8003c86: 689b ldr r3, [r3, #8] - 8003c88: 60bb str r3, [r7, #8] + 8003e0a: 683b ldr r3, [r7, #0] + 8003e0c: 015a lsls r2, r3, #5 + 8003e0e: 693b ldr r3, [r7, #16] + 8003e10: 4413 add r3, r2 + 8003e12: f503 6330 add.w r3, r3, #2816 @ 0xb00 + 8003e16: 689b ldr r3, [r3, #8] + 8003e18: 60bb str r3, [r7, #8] if ((gSNPSiD > USB_OTG_CORE_ID_300A) && - 8003c8a: 68fb ldr r3, [r7, #12] - 8003c8c: 4a15 ldr r2, [pc, #84] @ (8003ce4 ) - 8003c8e: 4293 cmp r3, r2 - 8003c90: d90e bls.n 8003cb0 + 8003e1a: 68fb ldr r3, [r7, #12] + 8003e1c: 4a15 ldr r2, [pc, #84] @ (8003e74 ) + 8003e1e: 4293 cmp r3, r2 + 8003e20: d90e bls.n 8003e40 ((DoepintReg & USB_OTG_DOEPINT_STPKTRX) == USB_OTG_DOEPINT_STPKTRX)) - 8003c92: 68bb ldr r3, [r7, #8] - 8003c94: f403 4300 and.w r3, r3, #32768 @ 0x8000 + 8003e22: 68bb ldr r3, [r7, #8] + 8003e24: f403 4300 and.w r3, r3, #32768 @ 0x8000 if ((gSNPSiD > USB_OTG_CORE_ID_300A) && - 8003c98: 2b00 cmp r3, #0 - 8003c9a: d009 beq.n 8003cb0 + 8003e28: 2b00 cmp r3, #0 + 8003e2a: d009 beq.n 8003e40 { CLEAR_OUT_EP_INTR(epnum, USB_OTG_DOEPINT_STPKTRX); - 8003c9c: 683b ldr r3, [r7, #0] - 8003c9e: 015a lsls r2, r3, #5 - 8003ca0: 693b ldr r3, [r7, #16] - 8003ca2: 4413 add r3, r2 - 8003ca4: f503 6330 add.w r3, r3, #2816 @ 0xb00 - 8003ca8: 461a mov r2, r3 - 8003caa: f44f 4300 mov.w r3, #32768 @ 0x8000 - 8003cae: 6093 str r3, [r2, #8] + 8003e2c: 683b ldr r3, [r7, #0] + 8003e2e: 015a lsls r2, r3, #5 + 8003e30: 693b ldr r3, [r7, #16] + 8003e32: 4413 add r3, r2 + 8003e34: f503 6330 add.w r3, r3, #2816 @ 0xb00 + 8003e38: 461a mov r2, r3 + 8003e3a: f44f 4300 mov.w r3, #32768 @ 0x8000 + 8003e3e: 6093 str r3, [r2, #8] /* Inform the upper layer that a setup packet is available */ #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U) hpcd->SetupStageCallback(hpcd); #else HAL_PCD_SetupStageCallback(hpcd); - 8003cb0: 6878 ldr r0, [r7, #4] - 8003cb2: f006 f8c3 bl 8009e3c + 8003e40: 6878 ldr r0, [r7, #4] + 8003e42: f006 fb31 bl 800a4a8 #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */ if ((gSNPSiD > USB_OTG_CORE_ID_300A) && (hpcd->Init.dma_enable == 1U)) - 8003cb6: 68fb ldr r3, [r7, #12] - 8003cb8: 4a0a ldr r2, [pc, #40] @ (8003ce4 ) - 8003cba: 4293 cmp r3, r2 - 8003cbc: d90c bls.n 8003cd8 - 8003cbe: 687b ldr r3, [r7, #4] - 8003cc0: 799b ldrb r3, [r3, #6] - 8003cc2: 2b01 cmp r3, #1 - 8003cc4: d108 bne.n 8003cd8 + 8003e46: 68fb ldr r3, [r7, #12] + 8003e48: 4a0a ldr r2, [pc, #40] @ (8003e74 ) + 8003e4a: 4293 cmp r3, r2 + 8003e4c: d90c bls.n 8003e68 + 8003e4e: 687b ldr r3, [r7, #4] + 8003e50: 799b ldrb r3, [r3, #6] + 8003e52: 2b01 cmp r3, #1 + 8003e54: d108 bne.n 8003e68 { (void)USB_EP0_OutStart(hpcd->Instance, 1U, (uint8_t *)hpcd->Setup); - 8003cc6: 687b ldr r3, [r7, #4] - 8003cc8: 6818 ldr r0, [r3, #0] - 8003cca: 687b ldr r3, [r7, #4] - 8003ccc: f203 439c addw r3, r3, #1180 @ 0x49c - 8003cd0: 461a mov r2, r3 - 8003cd2: 2101 movs r1, #1 - 8003cd4: f004 f8e8 bl 8007ea8 + 8003e56: 687b ldr r3, [r7, #4] + 8003e58: 6818 ldr r0, [r3, #0] + 8003e5a: 687b ldr r3, [r7, #4] + 8003e5c: f203 439c addw r3, r3, #1180 @ 0x49c + 8003e60: 461a mov r2, r3 + 8003e62: 2101 movs r1, #1 + 8003e64: f004 fb56 bl 8008514 } return HAL_OK; - 8003cd8: 2300 movs r3, #0 + 8003e68: 2300 movs r3, #0 } - 8003cda: 4618 mov r0, r3 - 8003cdc: 3718 adds r7, #24 - 8003cde: 46bd mov sp, r7 - 8003ce0: bd80 pop {r7, pc} - 8003ce2: bf00 nop - 8003ce4: 4f54300a .word 0x4f54300a + 8003e6a: 4618 mov r0, r3 + 8003e6c: 3718 adds r7, #24 + 8003e6e: 46bd mov sp, r7 + 8003e70: bd80 pop {r7, pc} + 8003e72: bf00 nop + 8003e74: 4f54300a .word 0x4f54300a -08003ce8 : +08003e78 : * @param fifo The number of Tx fifo * @param size Fifo size * @retval HAL status */ HAL_StatusTypeDef HAL_PCDEx_SetTxFiFo(PCD_HandleTypeDef *hpcd, uint8_t fifo, uint16_t size) { - 8003ce8: b480 push {r7} - 8003cea: b085 sub sp, #20 - 8003cec: af00 add r7, sp, #0 - 8003cee: 6078 str r0, [r7, #4] - 8003cf0: 460b mov r3, r1 - 8003cf2: 70fb strb r3, [r7, #3] - 8003cf4: 4613 mov r3, r2 - 8003cf6: 803b strh r3, [r7, #0] + 8003e78: b480 push {r7} + 8003e7a: b085 sub sp, #20 + 8003e7c: af00 add r7, sp, #0 + 8003e7e: 6078 str r0, [r7, #4] + 8003e80: 460b mov r3, r1 + 8003e82: 70fb strb r3, [r7, #3] + 8003e84: 4613 mov r3, r2 + 8003e86: 803b strh r3, [r7, #0] --> Txn should be configured with the minimum space of 16 words The FIFO is used optimally when used TxFIFOs are allocated in the top of the FIFO.Ex: use EP1 and EP2 as IN instead of EP1 and EP3 as IN ones. When DMA is used 3n * FIFO locations should be reserved for internal DMA registers */ Tx_Offset = hpcd->Instance->GRXFSIZ; - 8003cf8: 687b ldr r3, [r7, #4] - 8003cfa: 681b ldr r3, [r3, #0] - 8003cfc: 6a5b ldr r3, [r3, #36] @ 0x24 - 8003cfe: 60bb str r3, [r7, #8] + 8003e88: 687b ldr r3, [r7, #4] + 8003e8a: 681b ldr r3, [r3, #0] + 8003e8c: 6a5b ldr r3, [r3, #36] @ 0x24 + 8003e8e: 60bb str r3, [r7, #8] if (fifo == 0U) - 8003d00: 78fb ldrb r3, [r7, #3] - 8003d02: 2b00 cmp r3, #0 - 8003d04: d107 bne.n 8003d16 + 8003e90: 78fb ldrb r3, [r7, #3] + 8003e92: 2b00 cmp r3, #0 + 8003e94: d107 bne.n 8003ea6 { hpcd->Instance->DIEPTXF0_HNPTXFSIZ = ((uint32_t)size << 16) | Tx_Offset; - 8003d06: 883b ldrh r3, [r7, #0] - 8003d08: 0419 lsls r1, r3, #16 - 8003d0a: 687b ldr r3, [r7, #4] - 8003d0c: 681b ldr r3, [r3, #0] - 8003d0e: 68ba ldr r2, [r7, #8] - 8003d10: 430a orrs r2, r1 - 8003d12: 629a str r2, [r3, #40] @ 0x28 - 8003d14: e028 b.n 8003d68 + 8003e96: 883b ldrh r3, [r7, #0] + 8003e98: 0419 lsls r1, r3, #16 + 8003e9a: 687b ldr r3, [r7, #4] + 8003e9c: 681b ldr r3, [r3, #0] + 8003e9e: 68ba ldr r2, [r7, #8] + 8003ea0: 430a orrs r2, r1 + 8003ea2: 629a str r2, [r3, #40] @ 0x28 + 8003ea4: e028 b.n 8003ef8 } else { Tx_Offset += (hpcd->Instance->DIEPTXF0_HNPTXFSIZ) >> 16; - 8003d16: 687b ldr r3, [r7, #4] - 8003d18: 681b ldr r3, [r3, #0] - 8003d1a: 6a9b ldr r3, [r3, #40] @ 0x28 - 8003d1c: 0c1b lsrs r3, r3, #16 - 8003d1e: 68ba ldr r2, [r7, #8] - 8003d20: 4413 add r3, r2 - 8003d22: 60bb str r3, [r7, #8] + 8003ea6: 687b ldr r3, [r7, #4] + 8003ea8: 681b ldr r3, [r3, #0] + 8003eaa: 6a9b ldr r3, [r3, #40] @ 0x28 + 8003eac: 0c1b lsrs r3, r3, #16 + 8003eae: 68ba ldr r2, [r7, #8] + 8003eb0: 4413 add r3, r2 + 8003eb2: 60bb str r3, [r7, #8] for (i = 0U; i < (fifo - 1U); i++) - 8003d24: 2300 movs r3, #0 - 8003d26: 73fb strb r3, [r7, #15] - 8003d28: e00d b.n 8003d46 + 8003eb4: 2300 movs r3, #0 + 8003eb6: 73fb strb r3, [r7, #15] + 8003eb8: e00d b.n 8003ed6 { Tx_Offset += (hpcd->Instance->DIEPTXF[i] >> 16); - 8003d2a: 687b ldr r3, [r7, #4] - 8003d2c: 681a ldr r2, [r3, #0] - 8003d2e: 7bfb ldrb r3, [r7, #15] - 8003d30: 3340 adds r3, #64 @ 0x40 - 8003d32: 009b lsls r3, r3, #2 - 8003d34: 4413 add r3, r2 - 8003d36: 685b ldr r3, [r3, #4] - 8003d38: 0c1b lsrs r3, r3, #16 - 8003d3a: 68ba ldr r2, [r7, #8] - 8003d3c: 4413 add r3, r2 - 8003d3e: 60bb str r3, [r7, #8] + 8003eba: 687b ldr r3, [r7, #4] + 8003ebc: 681a ldr r2, [r3, #0] + 8003ebe: 7bfb ldrb r3, [r7, #15] + 8003ec0: 3340 adds r3, #64 @ 0x40 + 8003ec2: 009b lsls r3, r3, #2 + 8003ec4: 4413 add r3, r2 + 8003ec6: 685b ldr r3, [r3, #4] + 8003ec8: 0c1b lsrs r3, r3, #16 + 8003eca: 68ba ldr r2, [r7, #8] + 8003ecc: 4413 add r3, r2 + 8003ece: 60bb str r3, [r7, #8] for (i = 0U; i < (fifo - 1U); i++) - 8003d40: 7bfb ldrb r3, [r7, #15] - 8003d42: 3301 adds r3, #1 - 8003d44: 73fb strb r3, [r7, #15] - 8003d46: 7bfa ldrb r2, [r7, #15] - 8003d48: 78fb ldrb r3, [r7, #3] - 8003d4a: 3b01 subs r3, #1 - 8003d4c: 429a cmp r2, r3 - 8003d4e: d3ec bcc.n 8003d2a + 8003ed0: 7bfb ldrb r3, [r7, #15] + 8003ed2: 3301 adds r3, #1 + 8003ed4: 73fb strb r3, [r7, #15] + 8003ed6: 7bfa ldrb r2, [r7, #15] + 8003ed8: 78fb ldrb r3, [r7, #3] + 8003eda: 3b01 subs r3, #1 + 8003edc: 429a cmp r2, r3 + 8003ede: d3ec bcc.n 8003eba } /* Multiply Tx_Size by 2 to get higher performance */ hpcd->Instance->DIEPTXF[fifo - 1U] = ((uint32_t)size << 16) | Tx_Offset; - 8003d50: 883b ldrh r3, [r7, #0] - 8003d52: 0418 lsls r0, r3, #16 - 8003d54: 687b ldr r3, [r7, #4] - 8003d56: 6819 ldr r1, [r3, #0] - 8003d58: 78fb ldrb r3, [r7, #3] - 8003d5a: 3b01 subs r3, #1 - 8003d5c: 68ba ldr r2, [r7, #8] - 8003d5e: 4302 orrs r2, r0 - 8003d60: 3340 adds r3, #64 @ 0x40 - 8003d62: 009b lsls r3, r3, #2 - 8003d64: 440b add r3, r1 - 8003d66: 605a str r2, [r3, #4] + 8003ee0: 883b ldrh r3, [r7, #0] + 8003ee2: 0418 lsls r0, r3, #16 + 8003ee4: 687b ldr r3, [r7, #4] + 8003ee6: 6819 ldr r1, [r3, #0] + 8003ee8: 78fb ldrb r3, [r7, #3] + 8003eea: 3b01 subs r3, #1 + 8003eec: 68ba ldr r2, [r7, #8] + 8003eee: 4302 orrs r2, r0 + 8003ef0: 3340 adds r3, #64 @ 0x40 + 8003ef2: 009b lsls r3, r3, #2 + 8003ef4: 440b add r3, r1 + 8003ef6: 605a str r2, [r3, #4] } return HAL_OK; - 8003d68: 2300 movs r3, #0 + 8003ef8: 2300 movs r3, #0 } - 8003d6a: 4618 mov r0, r3 - 8003d6c: 3714 adds r7, #20 - 8003d6e: 46bd mov sp, r7 - 8003d70: f85d 7b04 ldr.w r7, [sp], #4 - 8003d74: 4770 bx lr + 8003efa: 4618 mov r0, r3 + 8003efc: 3714 adds r7, #20 + 8003efe: 46bd mov sp, r7 + 8003f00: f85d 7b04 ldr.w r7, [sp], #4 + 8003f04: 4770 bx lr -08003d76 : +08003f06 : * @param hpcd PCD handle * @param size Size of Rx fifo * @retval HAL status */ HAL_StatusTypeDef HAL_PCDEx_SetRxFiFo(PCD_HandleTypeDef *hpcd, uint16_t size) { - 8003d76: b480 push {r7} - 8003d78: b083 sub sp, #12 - 8003d7a: af00 add r7, sp, #0 - 8003d7c: 6078 str r0, [r7, #4] - 8003d7e: 460b mov r3, r1 - 8003d80: 807b strh r3, [r7, #2] + 8003f06: b480 push {r7} + 8003f08: b083 sub sp, #12 + 8003f0a: af00 add r7, sp, #0 + 8003f0c: 6078 str r0, [r7, #4] + 8003f0e: 460b mov r3, r1 + 8003f10: 807b strh r3, [r7, #2] hpcd->Instance->GRXFSIZ = size; - 8003d82: 687b ldr r3, [r7, #4] - 8003d84: 681b ldr r3, [r3, #0] - 8003d86: 887a ldrh r2, [r7, #2] - 8003d88: 625a str r2, [r3, #36] @ 0x24 + 8003f12: 687b ldr r3, [r7, #4] + 8003f14: 681b ldr r3, [r3, #0] + 8003f16: 887a ldrh r2, [r7, #2] + 8003f18: 625a str r2, [r3, #36] @ 0x24 return HAL_OK; - 8003d8a: 2300 movs r3, #0 + 8003f1a: 2300 movs r3, #0 } - 8003d8c: 4618 mov r0, r3 - 8003d8e: 370c adds r7, #12 - 8003d90: 46bd mov sp, r7 - 8003d92: f85d 7b04 ldr.w r7, [sp], #4 - 8003d96: 4770 bx lr + 8003f1c: 4618 mov r0, r3 + 8003f1e: 370c adds r7, #12 + 8003f20: 46bd mov sp, r7 + 8003f22: f85d 7b04 ldr.w r7, [sp], #4 + 8003f26: 4770 bx lr -08003d98 : +08003f28 : * @brief Activate LPM feature. * @param hpcd PCD handle * @retval HAL status */ HAL_StatusTypeDef HAL_PCDEx_ActivateLPM(PCD_HandleTypeDef *hpcd) { - 8003d98: b480 push {r7} - 8003d9a: b085 sub sp, #20 - 8003d9c: af00 add r7, sp, #0 - 8003d9e: 6078 str r0, [r7, #4] + 8003f28: b480 push {r7} + 8003f2a: b085 sub sp, #20 + 8003f2c: af00 add r7, sp, #0 + 8003f2e: 6078 str r0, [r7, #4] USB_OTG_GlobalTypeDef *USBx = hpcd->Instance; - 8003da0: 687b ldr r3, [r7, #4] - 8003da2: 681b ldr r3, [r3, #0] - 8003da4: 60fb str r3, [r7, #12] + 8003f30: 687b ldr r3, [r7, #4] + 8003f32: 681b ldr r3, [r3, #0] + 8003f34: 60fb str r3, [r7, #12] hpcd->lpm_active = 1U; - 8003da6: 687b ldr r3, [r7, #4] - 8003da8: 2201 movs r2, #1 - 8003daa: f8c3 24d8 str.w r2, [r3, #1240] @ 0x4d8 + 8003f36: 687b ldr r3, [r7, #4] + 8003f38: 2201 movs r2, #1 + 8003f3a: f8c3 24d8 str.w r2, [r3, #1240] @ 0x4d8 hpcd->LPM_State = LPM_L0; - 8003dae: 687b ldr r3, [r7, #4] - 8003db0: 2200 movs r2, #0 - 8003db2: f883 24cc strb.w r2, [r3, #1228] @ 0x4cc + 8003f3e: 687b ldr r3, [r7, #4] + 8003f40: 2200 movs r2, #0 + 8003f42: f883 24cc strb.w r2, [r3, #1228] @ 0x4cc USBx->GINTMSK |= USB_OTG_GINTMSK_LPMINTM; - 8003db6: 68fb ldr r3, [r7, #12] - 8003db8: 699b ldr r3, [r3, #24] - 8003dba: f043 6200 orr.w r2, r3, #134217728 @ 0x8000000 - 8003dbe: 68fb ldr r3, [r7, #12] - 8003dc0: 619a str r2, [r3, #24] + 8003f46: 68fb ldr r3, [r7, #12] + 8003f48: 699b ldr r3, [r3, #24] + 8003f4a: f043 6200 orr.w r2, r3, #134217728 @ 0x8000000 + 8003f4e: 68fb ldr r3, [r7, #12] + 8003f50: 619a str r2, [r3, #24] USBx->GLPMCFG |= (USB_OTG_GLPMCFG_LPMEN | USB_OTG_GLPMCFG_LPMACK | USB_OTG_GLPMCFG_ENBESL); - 8003dc2: 68fb ldr r3, [r7, #12] - 8003dc4: 6d5b ldr r3, [r3, #84] @ 0x54 - 8003dc6: f043 5380 orr.w r3, r3, #268435456 @ 0x10000000 - 8003dca: f043 0303 orr.w r3, r3, #3 - 8003dce: 68fa ldr r2, [r7, #12] - 8003dd0: 6553 str r3, [r2, #84] @ 0x54 + 8003f52: 68fb ldr r3, [r7, #12] + 8003f54: 6d5b ldr r3, [r3, #84] @ 0x54 + 8003f56: f043 5380 orr.w r3, r3, #268435456 @ 0x10000000 + 8003f5a: f043 0303 orr.w r3, r3, #3 + 8003f5e: 68fa ldr r2, [r7, #12] + 8003f60: 6553 str r3, [r2, #84] @ 0x54 return HAL_OK; - 8003dd2: 2300 movs r3, #0 + 8003f62: 2300 movs r3, #0 } - 8003dd4: 4618 mov r0, r3 - 8003dd6: 3714 adds r7, #20 - 8003dd8: 46bd mov sp, r7 - 8003dda: f85d 7b04 ldr.w r7, [sp], #4 - 8003dde: 4770 bx lr + 8003f64: 4618 mov r0, r3 + 8003f66: 3714 adds r7, #20 + 8003f68: 46bd mov sp, r7 + 8003f6a: f85d 7b04 ldr.w r7, [sp], #4 + 8003f6e: 4770 bx lr -08003de0 : +08003f70 : * 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(const RCC_ClkInitTypeDef *RCC_ClkInitStruct, uint32_t FLatency) { - 8003de0: b580 push {r7, lr} - 8003de2: b084 sub sp, #16 - 8003de4: af00 add r7, sp, #0 - 8003de6: 6078 str r0, [r7, #4] - 8003de8: 6039 str r1, [r7, #0] + 8003f70: b580 push {r7, lr} + 8003f72: b084 sub sp, #16 + 8003f74: af00 add r7, sp, #0 + 8003f76: 6078 str r0, [r7, #4] + 8003f78: 6039 str r1, [r7, #0] uint32_t tickstart; /* Check Null pointer */ if (RCC_ClkInitStruct == NULL) - 8003dea: 687b ldr r3, [r7, #4] - 8003dec: 2b00 cmp r3, #0 - 8003dee: d101 bne.n 8003df4 + 8003f7a: 687b ldr r3, [r7, #4] + 8003f7c: 2b00 cmp r3, #0 + 8003f7e: d101 bne.n 8003f84 { return HAL_ERROR; - 8003df0: 2301 movs r3, #1 - 8003df2: e0cc b.n 8003f8e + 8003f80: 2301 movs r3, #1 + 8003f82: e0cc b.n 800411e /* 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 number of wait states because of higher CPU frequency */ if (FLatency > __HAL_FLASH_GET_LATENCY()) - 8003df4: 4b68 ldr r3, [pc, #416] @ (8003f98 ) - 8003df6: 681b ldr r3, [r3, #0] - 8003df8: f003 030f and.w r3, r3, #15 - 8003dfc: 683a ldr r2, [r7, #0] - 8003dfe: 429a cmp r2, r3 - 8003e00: d90c bls.n 8003e1c + 8003f84: 4b68 ldr r3, [pc, #416] @ (8004128 ) + 8003f86: 681b ldr r3, [r3, #0] + 8003f88: f003 030f and.w r3, r3, #15 + 8003f8c: 683a ldr r2, [r7, #0] + 8003f8e: 429a cmp r2, r3 + 8003f90: d90c bls.n 8003fac { /* Program the new number of wait states to the LATENCY bits in the FLASH_ACR register */ __HAL_FLASH_SET_LATENCY(FLatency); - 8003e02: 4b65 ldr r3, [pc, #404] @ (8003f98 ) - 8003e04: 683a ldr r2, [r7, #0] - 8003e06: b2d2 uxtb r2, r2 - 8003e08: 701a strb r2, [r3, #0] + 8003f92: 4b65 ldr r3, [pc, #404] @ (8004128 ) + 8003f94: 683a ldr r2, [r7, #0] + 8003f96: b2d2 uxtb r2, r2 + 8003f98: 701a strb r2, [r3, #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) - 8003e0a: 4b63 ldr r3, [pc, #396] @ (8003f98 ) - 8003e0c: 681b ldr r3, [r3, #0] - 8003e0e: f003 030f and.w r3, r3, #15 - 8003e12: 683a ldr r2, [r7, #0] - 8003e14: 429a cmp r2, r3 - 8003e16: d001 beq.n 8003e1c + 8003f9a: 4b63 ldr r3, [pc, #396] @ (8004128 ) + 8003f9c: 681b ldr r3, [r3, #0] + 8003f9e: f003 030f and.w r3, r3, #15 + 8003fa2: 683a ldr r2, [r7, #0] + 8003fa4: 429a cmp r2, r3 + 8003fa6: d001 beq.n 8003fac { return HAL_ERROR; - 8003e18: 2301 movs r3, #1 - 8003e1a: e0b8 b.n 8003f8e + 8003fa8: 2301 movs r3, #1 + 8003faa: e0b8 b.n 800411e } } /*-------------------------- HCLK Configuration --------------------------*/ if (((RCC_ClkInitStruct->ClockType) & RCC_CLOCKTYPE_HCLK) == RCC_CLOCKTYPE_HCLK) - 8003e1c: 687b ldr r3, [r7, #4] - 8003e1e: 681b ldr r3, [r3, #0] - 8003e20: f003 0302 and.w r3, r3, #2 - 8003e24: 2b00 cmp r3, #0 - 8003e26: d020 beq.n 8003e6a + 8003fac: 687b ldr r3, [r7, #4] + 8003fae: 681b ldr r3, [r3, #0] + 8003fb0: f003 0302 and.w r3, r3, #2 + 8003fb4: 2b00 cmp r3, #0 + 8003fb6: d020 beq.n 8003ffa { /* 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) - 8003e28: 687b ldr r3, [r7, #4] - 8003e2a: 681b ldr r3, [r3, #0] - 8003e2c: f003 0304 and.w r3, r3, #4 - 8003e30: 2b00 cmp r3, #0 - 8003e32: d005 beq.n 8003e40 + 8003fb8: 687b ldr r3, [r7, #4] + 8003fba: 681b ldr r3, [r3, #0] + 8003fbc: f003 0304 and.w r3, r3, #4 + 8003fc0: 2b00 cmp r3, #0 + 8003fc2: d005 beq.n 8003fd0 { MODIFY_REG(RCC->CFGR, RCC_CFGR_PPRE1, RCC_HCLK_DIV16); - 8003e34: 4b59 ldr r3, [pc, #356] @ (8003f9c ) - 8003e36: 689b ldr r3, [r3, #8] - 8003e38: 4a58 ldr r2, [pc, #352] @ (8003f9c ) - 8003e3a: f443 53e0 orr.w r3, r3, #7168 @ 0x1c00 - 8003e3e: 6093 str r3, [r2, #8] + 8003fc4: 4b59 ldr r3, [pc, #356] @ (800412c ) + 8003fc6: 689b ldr r3, [r3, #8] + 8003fc8: 4a58 ldr r2, [pc, #352] @ (800412c ) + 8003fca: f443 53e0 orr.w r3, r3, #7168 @ 0x1c00 + 8003fce: 6093 str r3, [r2, #8] } if (((RCC_ClkInitStruct->ClockType) & RCC_CLOCKTYPE_PCLK2) == RCC_CLOCKTYPE_PCLK2) - 8003e40: 687b ldr r3, [r7, #4] - 8003e42: 681b ldr r3, [r3, #0] - 8003e44: f003 0308 and.w r3, r3, #8 - 8003e48: 2b00 cmp r3, #0 - 8003e4a: d005 beq.n 8003e58 + 8003fd0: 687b ldr r3, [r7, #4] + 8003fd2: 681b ldr r3, [r3, #0] + 8003fd4: f003 0308 and.w r3, r3, #8 + 8003fd8: 2b00 cmp r3, #0 + 8003fda: d005 beq.n 8003fe8 { MODIFY_REG(RCC->CFGR, RCC_CFGR_PPRE2, (RCC_HCLK_DIV16 << 3)); - 8003e4c: 4b53 ldr r3, [pc, #332] @ (8003f9c ) - 8003e4e: 689b ldr r3, [r3, #8] - 8003e50: 4a52 ldr r2, [pc, #328] @ (8003f9c ) - 8003e52: f443 4360 orr.w r3, r3, #57344 @ 0xe000 - 8003e56: 6093 str r3, [r2, #8] + 8003fdc: 4b53 ldr r3, [pc, #332] @ (800412c ) + 8003fde: 689b ldr r3, [r3, #8] + 8003fe0: 4a52 ldr r2, [pc, #328] @ (800412c ) + 8003fe2: f443 4360 orr.w r3, r3, #57344 @ 0xe000 + 8003fe6: 6093 str r3, [r2, #8] } assert_param(IS_RCC_HCLK(RCC_ClkInitStruct->AHBCLKDivider)); MODIFY_REG(RCC->CFGR, RCC_CFGR_HPRE, RCC_ClkInitStruct->AHBCLKDivider); - 8003e58: 4b50 ldr r3, [pc, #320] @ (8003f9c ) - 8003e5a: 689b ldr r3, [r3, #8] - 8003e5c: f023 02f0 bic.w r2, r3, #240 @ 0xf0 - 8003e60: 687b ldr r3, [r7, #4] - 8003e62: 689b ldr r3, [r3, #8] - 8003e64: 494d ldr r1, [pc, #308] @ (8003f9c ) - 8003e66: 4313 orrs r3, r2 - 8003e68: 608b str r3, [r1, #8] + 8003fe8: 4b50 ldr r3, [pc, #320] @ (800412c ) + 8003fea: 689b ldr r3, [r3, #8] + 8003fec: f023 02f0 bic.w r2, r3, #240 @ 0xf0 + 8003ff0: 687b ldr r3, [r7, #4] + 8003ff2: 689b ldr r3, [r3, #8] + 8003ff4: 494d ldr r1, [pc, #308] @ (800412c ) + 8003ff6: 4313 orrs r3, r2 + 8003ff8: 608b str r3, [r1, #8] } /*------------------------- SYSCLK Configuration ---------------------------*/ if (((RCC_ClkInitStruct->ClockType) & RCC_CLOCKTYPE_SYSCLK) == RCC_CLOCKTYPE_SYSCLK) - 8003e6a: 687b ldr r3, [r7, #4] - 8003e6c: 681b ldr r3, [r3, #0] - 8003e6e: f003 0301 and.w r3, r3, #1 - 8003e72: 2b00 cmp r3, #0 - 8003e74: d044 beq.n 8003f00 + 8003ffa: 687b ldr r3, [r7, #4] + 8003ffc: 681b ldr r3, [r3, #0] + 8003ffe: f003 0301 and.w r3, r3, #1 + 8004002: 2b00 cmp r3, #0 + 8004004: d044 beq.n 8004090 { assert_param(IS_RCC_SYSCLKSOURCE(RCC_ClkInitStruct->SYSCLKSource)); /* HSE is selected as System Clock Source */ if (RCC_ClkInitStruct->SYSCLKSource == RCC_SYSCLKSOURCE_HSE) - 8003e76: 687b ldr r3, [r7, #4] - 8003e78: 685b ldr r3, [r3, #4] - 8003e7a: 2b01 cmp r3, #1 - 8003e7c: d107 bne.n 8003e8e + 8004006: 687b ldr r3, [r7, #4] + 8004008: 685b ldr r3, [r3, #4] + 800400a: 2b01 cmp r3, #1 + 800400c: d107 bne.n 800401e { /* Check the HSE ready flag */ if (__HAL_RCC_GET_FLAG(RCC_FLAG_HSERDY) == RESET) - 8003e7e: 4b47 ldr r3, [pc, #284] @ (8003f9c ) - 8003e80: 681b ldr r3, [r3, #0] - 8003e82: f403 3300 and.w r3, r3, #131072 @ 0x20000 - 8003e86: 2b00 cmp r3, #0 - 8003e88: d119 bne.n 8003ebe + 800400e: 4b47 ldr r3, [pc, #284] @ (800412c ) + 8004010: 681b ldr r3, [r3, #0] + 8004012: f403 3300 and.w r3, r3, #131072 @ 0x20000 + 8004016: 2b00 cmp r3, #0 + 8004018: d119 bne.n 800404e { return HAL_ERROR; - 8003e8a: 2301 movs r3, #1 - 8003e8c: e07f b.n 8003f8e + 800401a: 2301 movs r3, #1 + 800401c: e07f b.n 800411e } } /* PLL is selected as System Clock Source */ else if ((RCC_ClkInitStruct->SYSCLKSource == RCC_SYSCLKSOURCE_PLLCLK) || - 8003e8e: 687b ldr r3, [r7, #4] - 8003e90: 685b ldr r3, [r3, #4] - 8003e92: 2b02 cmp r3, #2 - 8003e94: d003 beq.n 8003e9e + 800401e: 687b ldr r3, [r7, #4] + 8004020: 685b ldr r3, [r3, #4] + 8004022: 2b02 cmp r3, #2 + 8004024: d003 beq.n 800402e (RCC_ClkInitStruct->SYSCLKSource == RCC_SYSCLKSOURCE_PLLRCLK)) - 8003e96: 687b ldr r3, [r7, #4] - 8003e98: 685b ldr r3, [r3, #4] + 8004026: 687b ldr r3, [r7, #4] + 8004028: 685b ldr r3, [r3, #4] else if ((RCC_ClkInitStruct->SYSCLKSource == RCC_SYSCLKSOURCE_PLLCLK) || - 8003e9a: 2b03 cmp r3, #3 - 8003e9c: d107 bne.n 8003eae + 800402a: 2b03 cmp r3, #3 + 800402c: d107 bne.n 800403e { /* Check the PLL ready flag */ if (__HAL_RCC_GET_FLAG(RCC_FLAG_PLLRDY) == RESET) - 8003e9e: 4b3f ldr r3, [pc, #252] @ (8003f9c ) - 8003ea0: 681b ldr r3, [r3, #0] - 8003ea2: f003 7300 and.w r3, r3, #33554432 @ 0x2000000 - 8003ea6: 2b00 cmp r3, #0 - 8003ea8: d109 bne.n 8003ebe + 800402e: 4b3f ldr r3, [pc, #252] @ (800412c ) + 8004030: 681b ldr r3, [r3, #0] + 8004032: f003 7300 and.w r3, r3, #33554432 @ 0x2000000 + 8004036: 2b00 cmp r3, #0 + 8004038: d109 bne.n 800404e { return HAL_ERROR; - 8003eaa: 2301 movs r3, #1 - 8003eac: e06f b.n 8003f8e + 800403a: 2301 movs r3, #1 + 800403c: e06f b.n 800411e } /* HSI is selected as System Clock Source */ else { /* Check the HSI ready flag */ if (__HAL_RCC_GET_FLAG(RCC_FLAG_HSIRDY) == RESET) - 8003eae: 4b3b ldr r3, [pc, #236] @ (8003f9c ) - 8003eb0: 681b ldr r3, [r3, #0] - 8003eb2: f003 0302 and.w r3, r3, #2 - 8003eb6: 2b00 cmp r3, #0 - 8003eb8: d101 bne.n 8003ebe + 800403e: 4b3b ldr r3, [pc, #236] @ (800412c ) + 8004040: 681b ldr r3, [r3, #0] + 8004042: f003 0302 and.w r3, r3, #2 + 8004046: 2b00 cmp r3, #0 + 8004048: d101 bne.n 800404e { return HAL_ERROR; - 8003eba: 2301 movs r3, #1 - 8003ebc: e067 b.n 8003f8e + 800404a: 2301 movs r3, #1 + 800404c: e067 b.n 800411e } } __HAL_RCC_SYSCLK_CONFIG(RCC_ClkInitStruct->SYSCLKSource); - 8003ebe: 4b37 ldr r3, [pc, #220] @ (8003f9c ) - 8003ec0: 689b ldr r3, [r3, #8] - 8003ec2: f023 0203 bic.w r2, r3, #3 - 8003ec6: 687b ldr r3, [r7, #4] - 8003ec8: 685b ldr r3, [r3, #4] - 8003eca: 4934 ldr r1, [pc, #208] @ (8003f9c ) - 8003ecc: 4313 orrs r3, r2 - 8003ece: 608b str r3, [r1, #8] + 800404e: 4b37 ldr r3, [pc, #220] @ (800412c ) + 8004050: 689b ldr r3, [r3, #8] + 8004052: f023 0203 bic.w r2, r3, #3 + 8004056: 687b ldr r3, [r7, #4] + 8004058: 685b ldr r3, [r3, #4] + 800405a: 4934 ldr r1, [pc, #208] @ (800412c ) + 800405c: 4313 orrs r3, r2 + 800405e: 608b str r3, [r1, #8] /* Get Start Tick */ tickstart = HAL_GetTick(); - 8003ed0: f7fd fcb2 bl 8001838 - 8003ed4: 60f8 str r0, [r7, #12] + 8004060: f7fd fcb2 bl 80019c8 + 8004064: 60f8 str r0, [r7, #12] while (__HAL_RCC_GET_SYSCLK_SOURCE() != (RCC_ClkInitStruct->SYSCLKSource << RCC_CFGR_SWS_Pos)) - 8003ed6: e00a b.n 8003eee + 8004066: e00a b.n 800407e { if ((HAL_GetTick() - tickstart) > CLOCKSWITCH_TIMEOUT_VALUE) - 8003ed8: f7fd fcae bl 8001838 - 8003edc: 4602 mov r2, r0 - 8003ede: 68fb ldr r3, [r7, #12] - 8003ee0: 1ad3 subs r3, r2, r3 - 8003ee2: f241 3288 movw r2, #5000 @ 0x1388 - 8003ee6: 4293 cmp r3, r2 - 8003ee8: d901 bls.n 8003eee + 8004068: f7fd fcae bl 80019c8 + 800406c: 4602 mov r2, r0 + 800406e: 68fb ldr r3, [r7, #12] + 8004070: 1ad3 subs r3, r2, r3 + 8004072: f241 3288 movw r2, #5000 @ 0x1388 + 8004076: 4293 cmp r3, r2 + 8004078: d901 bls.n 800407e { return HAL_TIMEOUT; - 8003eea: 2303 movs r3, #3 - 8003eec: e04f b.n 8003f8e + 800407a: 2303 movs r3, #3 + 800407c: e04f b.n 800411e while (__HAL_RCC_GET_SYSCLK_SOURCE() != (RCC_ClkInitStruct->SYSCLKSource << RCC_CFGR_SWS_Pos)) - 8003eee: 4b2b ldr r3, [pc, #172] @ (8003f9c ) - 8003ef0: 689b ldr r3, [r3, #8] - 8003ef2: f003 020c and.w r2, r3, #12 - 8003ef6: 687b ldr r3, [r7, #4] - 8003ef8: 685b ldr r3, [r3, #4] - 8003efa: 009b lsls r3, r3, #2 - 8003efc: 429a cmp r2, r3 - 8003efe: d1eb bne.n 8003ed8 + 800407e: 4b2b ldr r3, [pc, #172] @ (800412c ) + 8004080: 689b ldr r3, [r3, #8] + 8004082: f003 020c and.w r2, r3, #12 + 8004086: 687b ldr r3, [r7, #4] + 8004088: 685b ldr r3, [r3, #4] + 800408a: 009b lsls r3, r3, #2 + 800408c: 429a cmp r2, r3 + 800408e: d1eb bne.n 8004068 } } } /* Decreasing the number of wait states because of lower CPU frequency */ if (FLatency < __HAL_FLASH_GET_LATENCY()) - 8003f00: 4b25 ldr r3, [pc, #148] @ (8003f98 ) - 8003f02: 681b ldr r3, [r3, #0] - 8003f04: f003 030f and.w r3, r3, #15 - 8003f08: 683a ldr r2, [r7, #0] - 8003f0a: 429a cmp r2, r3 - 8003f0c: d20c bcs.n 8003f28 + 8004090: 4b25 ldr r3, [pc, #148] @ (8004128 ) + 8004092: 681b ldr r3, [r3, #0] + 8004094: f003 030f and.w r3, r3, #15 + 8004098: 683a ldr r2, [r7, #0] + 800409a: 429a cmp r2, r3 + 800409c: d20c bcs.n 80040b8 { /* Program the new number of wait states to the LATENCY bits in the FLASH_ACR register */ __HAL_FLASH_SET_LATENCY(FLatency); - 8003f0e: 4b22 ldr r3, [pc, #136] @ (8003f98 ) - 8003f10: 683a ldr r2, [r7, #0] - 8003f12: b2d2 uxtb r2, r2 - 8003f14: 701a strb r2, [r3, #0] + 800409e: 4b22 ldr r3, [pc, #136] @ (8004128 ) + 80040a0: 683a ldr r2, [r7, #0] + 80040a2: b2d2 uxtb r2, r2 + 80040a4: 701a strb r2, [r3, #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) - 8003f16: 4b20 ldr r3, [pc, #128] @ (8003f98 ) - 8003f18: 681b ldr r3, [r3, #0] - 8003f1a: f003 030f and.w r3, r3, #15 - 8003f1e: 683a ldr r2, [r7, #0] - 8003f20: 429a cmp r2, r3 - 8003f22: d001 beq.n 8003f28 + 80040a6: 4b20 ldr r3, [pc, #128] @ (8004128 ) + 80040a8: 681b ldr r3, [r3, #0] + 80040aa: f003 030f and.w r3, r3, #15 + 80040ae: 683a ldr r2, [r7, #0] + 80040b0: 429a cmp r2, r3 + 80040b2: d001 beq.n 80040b8 { return HAL_ERROR; - 8003f24: 2301 movs r3, #1 - 8003f26: e032 b.n 8003f8e + 80040b4: 2301 movs r3, #1 + 80040b6: e032 b.n 800411e } } /*-------------------------- PCLK1 Configuration ---------------------------*/ if (((RCC_ClkInitStruct->ClockType) & RCC_CLOCKTYPE_PCLK1) == RCC_CLOCKTYPE_PCLK1) - 8003f28: 687b ldr r3, [r7, #4] - 8003f2a: 681b ldr r3, [r3, #0] - 8003f2c: f003 0304 and.w r3, r3, #4 - 8003f30: 2b00 cmp r3, #0 - 8003f32: d008 beq.n 8003f46 + 80040b8: 687b ldr r3, [r7, #4] + 80040ba: 681b ldr r3, [r3, #0] + 80040bc: f003 0304 and.w r3, r3, #4 + 80040c0: 2b00 cmp r3, #0 + 80040c2: d008 beq.n 80040d6 { assert_param(IS_RCC_PCLK(RCC_ClkInitStruct->APB1CLKDivider)); MODIFY_REG(RCC->CFGR, RCC_CFGR_PPRE1, RCC_ClkInitStruct->APB1CLKDivider); - 8003f34: 4b19 ldr r3, [pc, #100] @ (8003f9c ) - 8003f36: 689b ldr r3, [r3, #8] - 8003f38: f423 52e0 bic.w r2, r3, #7168 @ 0x1c00 - 8003f3c: 687b ldr r3, [r7, #4] - 8003f3e: 68db ldr r3, [r3, #12] - 8003f40: 4916 ldr r1, [pc, #88] @ (8003f9c ) - 8003f42: 4313 orrs r3, r2 - 8003f44: 608b str r3, [r1, #8] + 80040c4: 4b19 ldr r3, [pc, #100] @ (800412c ) + 80040c6: 689b ldr r3, [r3, #8] + 80040c8: f423 52e0 bic.w r2, r3, #7168 @ 0x1c00 + 80040cc: 687b ldr r3, [r7, #4] + 80040ce: 68db ldr r3, [r3, #12] + 80040d0: 4916 ldr r1, [pc, #88] @ (800412c ) + 80040d2: 4313 orrs r3, r2 + 80040d4: 608b str r3, [r1, #8] } /*-------------------------- PCLK2 Configuration ---------------------------*/ if (((RCC_ClkInitStruct->ClockType) & RCC_CLOCKTYPE_PCLK2) == RCC_CLOCKTYPE_PCLK2) - 8003f46: 687b ldr r3, [r7, #4] - 8003f48: 681b ldr r3, [r3, #0] - 8003f4a: f003 0308 and.w r3, r3, #8 - 8003f4e: 2b00 cmp r3, #0 - 8003f50: d009 beq.n 8003f66 + 80040d6: 687b ldr r3, [r7, #4] + 80040d8: 681b ldr r3, [r3, #0] + 80040da: f003 0308 and.w r3, r3, #8 + 80040de: 2b00 cmp r3, #0 + 80040e0: d009 beq.n 80040f6 { assert_param(IS_RCC_PCLK(RCC_ClkInitStruct->APB2CLKDivider)); MODIFY_REG(RCC->CFGR, RCC_CFGR_PPRE2, ((RCC_ClkInitStruct->APB2CLKDivider) << 3U)); - 8003f52: 4b12 ldr r3, [pc, #72] @ (8003f9c ) - 8003f54: 689b ldr r3, [r3, #8] - 8003f56: f423 4260 bic.w r2, r3, #57344 @ 0xe000 - 8003f5a: 687b ldr r3, [r7, #4] - 8003f5c: 691b ldr r3, [r3, #16] - 8003f5e: 00db lsls r3, r3, #3 - 8003f60: 490e ldr r1, [pc, #56] @ (8003f9c ) - 8003f62: 4313 orrs r3, r2 - 8003f64: 608b str r3, [r1, #8] + 80040e2: 4b12 ldr r3, [pc, #72] @ (800412c ) + 80040e4: 689b ldr r3, [r3, #8] + 80040e6: f423 4260 bic.w r2, r3, #57344 @ 0xe000 + 80040ea: 687b ldr r3, [r7, #4] + 80040ec: 691b ldr r3, [r3, #16] + 80040ee: 00db lsls r3, r3, #3 + 80040f0: 490e ldr r1, [pc, #56] @ (800412c ) + 80040f2: 4313 orrs r3, r2 + 80040f4: 608b str r3, [r1, #8] } /* Update the SystemCoreClock global variable */ SystemCoreClock = HAL_RCC_GetSysClockFreq() >> AHBPrescTable[(RCC->CFGR & RCC_CFGR_HPRE) >> RCC_CFGR_HPRE_Pos]; - 8003f66: f000 fb7f bl 8004668 - 8003f6a: 4602 mov r2, r0 - 8003f6c: 4b0b ldr r3, [pc, #44] @ (8003f9c ) - 8003f6e: 689b ldr r3, [r3, #8] - 8003f70: 091b lsrs r3, r3, #4 - 8003f72: f003 030f and.w r3, r3, #15 - 8003f76: 490a ldr r1, [pc, #40] @ (8003fa0 ) - 8003f78: 5ccb ldrb r3, [r1, r3] - 8003f7a: fa22 f303 lsr.w r3, r2, r3 - 8003f7e: 4a09 ldr r2, [pc, #36] @ (8003fa4 ) - 8003f80: 6013 str r3, [r2, #0] + 80040f6: f000 fb7f bl 80047f8 + 80040fa: 4602 mov r2, r0 + 80040fc: 4b0b ldr r3, [pc, #44] @ (800412c ) + 80040fe: 689b ldr r3, [r3, #8] + 8004100: 091b lsrs r3, r3, #4 + 8004102: f003 030f and.w r3, r3, #15 + 8004106: 490a ldr r1, [pc, #40] @ (8004130 ) + 8004108: 5ccb ldrb r3, [r1, r3] + 800410a: fa22 f303 lsr.w r3, r2, r3 + 800410e: 4a09 ldr r2, [pc, #36] @ (8004134 ) + 8004110: 6013 str r3, [r2, #0] /* Configure the source of time base considering new system clocks settings */ HAL_InitTick(uwTickPrio); - 8003f82: 4b09 ldr r3, [pc, #36] @ (8003fa8 ) - 8003f84: 681b ldr r3, [r3, #0] - 8003f86: 4618 mov r0, r3 - 8003f88: f7fd fc12 bl 80017b0 + 8004112: 4b09 ldr r3, [pc, #36] @ (8004138 ) + 8004114: 681b ldr r3, [r3, #0] + 8004116: 4618 mov r0, r3 + 8004118: f7fd fc12 bl 8001940 return HAL_OK; - 8003f8c: 2300 movs r3, #0 + 800411c: 2300 movs r3, #0 } - 8003f8e: 4618 mov r0, r3 - 8003f90: 3710 adds r7, #16 - 8003f92: 46bd mov sp, r7 - 8003f94: bd80 pop {r7, pc} - 8003f96: bf00 nop - 8003f98: 40023c00 .word 0x40023c00 - 8003f9c: 40023800 .word 0x40023800 - 8003fa0: 0800a4e0 .word 0x0800a4e0 - 8003fa4: 20000090 .word 0x20000090 - 8003fa8: 20000094 .word 0x20000094 + 800411e: 4618 mov r0, r3 + 8004120: 3710 adds r7, #16 + 8004122: 46bd mov sp, r7 + 8004124: bd80 pop {r7, pc} + 8004126: bf00 nop + 8004128: 40023c00 .word 0x40023c00 + 800412c: 40023800 .word 0x40023800 + 8004130: 0800ab68 .word 0x0800ab68 + 8004134: 20000090 .word 0x20000090 + 8004138: 20000094 .word 0x20000094 -08003fac : +0800413c : * @note The SystemCoreClock CMSIS variable is used to store System Clock Frequency * and updated within this function * @retval HCLK frequency */ uint32_t HAL_RCC_GetHCLKFreq(void) { - 8003fac: b480 push {r7} - 8003fae: af00 add r7, sp, #0 + 800413c: b480 push {r7} + 800413e: af00 add r7, sp, #0 return SystemCoreClock; - 8003fb0: 4b03 ldr r3, [pc, #12] @ (8003fc0 ) - 8003fb2: 681b ldr r3, [r3, #0] + 8004140: 4b03 ldr r3, [pc, #12] @ (8004150 ) + 8004142: 681b ldr r3, [r3, #0] } - 8003fb4: 4618 mov r0, r3 - 8003fb6: 46bd mov sp, r7 - 8003fb8: f85d 7b04 ldr.w r7, [sp], #4 - 8003fbc: 4770 bx lr - 8003fbe: bf00 nop - 8003fc0: 20000090 .word 0x20000090 + 8004144: 4618 mov r0, r3 + 8004146: 46bd mov sp, r7 + 8004148: f85d 7b04 ldr.w r7, [sp], #4 + 800414c: 4770 bx lr + 800414e: bf00 nop + 8004150: 20000090 .word 0x20000090 -08003fc4 : +08004154 : * @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) { - 8003fc4: b580 push {r7, lr} - 8003fc6: af00 add r7, sp, #0 + 8004154: b580 push {r7, lr} + 8004156: 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]); - 8003fc8: f7ff fff0 bl 8003fac - 8003fcc: 4602 mov r2, r0 - 8003fce: 4b05 ldr r3, [pc, #20] @ (8003fe4 ) - 8003fd0: 689b ldr r3, [r3, #8] - 8003fd2: 0a9b lsrs r3, r3, #10 - 8003fd4: f003 0307 and.w r3, r3, #7 - 8003fd8: 4903 ldr r1, [pc, #12] @ (8003fe8 ) - 8003fda: 5ccb ldrb r3, [r1, r3] - 8003fdc: fa22 f303 lsr.w r3, r2, r3 + 8004158: f7ff fff0 bl 800413c + 800415c: 4602 mov r2, r0 + 800415e: 4b05 ldr r3, [pc, #20] @ (8004174 ) + 8004160: 689b ldr r3, [r3, #8] + 8004162: 0a9b lsrs r3, r3, #10 + 8004164: f003 0307 and.w r3, r3, #7 + 8004168: 4903 ldr r1, [pc, #12] @ (8004178 ) + 800416a: 5ccb ldrb r3, [r1, r3] + 800416c: fa22 f303 lsr.w r3, r2, r3 } - 8003fe0: 4618 mov r0, r3 - 8003fe2: bd80 pop {r7, pc} - 8003fe4: 40023800 .word 0x40023800 - 8003fe8: 0800a4f0 .word 0x0800a4f0 + 8004170: 4618 mov r0, r3 + 8004172: bd80 pop {r7, pc} + 8004174: 40023800 .word 0x40023800 + 8004178: 0800ab78 .word 0x0800ab78 -08003fec : +0800417c : * @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) { - 8003fec: b580 push {r7, lr} - 8003fee: af00 add r7, sp, #0 + 800417c: b580 push {r7, lr} + 800417e: 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]); - 8003ff0: f7ff ffdc bl 8003fac - 8003ff4: 4602 mov r2, r0 - 8003ff6: 4b05 ldr r3, [pc, #20] @ (800400c ) - 8003ff8: 689b ldr r3, [r3, #8] - 8003ffa: 0b5b lsrs r3, r3, #13 - 8003ffc: f003 0307 and.w r3, r3, #7 - 8004000: 4903 ldr r1, [pc, #12] @ (8004010 ) - 8004002: 5ccb ldrb r3, [r1, r3] - 8004004: fa22 f303 lsr.w r3, r2, r3 + 8004180: f7ff ffdc bl 800413c + 8004184: 4602 mov r2, r0 + 8004186: 4b05 ldr r3, [pc, #20] @ (800419c ) + 8004188: 689b ldr r3, [r3, #8] + 800418a: 0b5b lsrs r3, r3, #13 + 800418c: f003 0307 and.w r3, r3, #7 + 8004190: 4903 ldr r1, [pc, #12] @ (80041a0 ) + 8004192: 5ccb ldrb r3, [r1, r3] + 8004194: fa22 f303 lsr.w r3, r2, r3 } - 8004008: 4618 mov r0, r3 - 800400a: bd80 pop {r7, pc} - 800400c: 40023800 .word 0x40023800 - 8004010: 0800a4f0 .word 0x0800a4f0 + 8004198: 4618 mov r0, r3 + 800419a: bd80 pop {r7, pc} + 800419c: 40023800 .word 0x40023800 + 80041a0: 0800ab78 .word 0x0800ab78 -08004014 : +080041a4 : * the backup registers) and RCC_BDCR register are set to their reset values. * * @retval HAL status */ HAL_StatusTypeDef HAL_RCCEx_PeriphCLKConfig(RCC_PeriphCLKInitTypeDef *PeriphClkInit) { - 8004014: b580 push {r7, lr} - 8004016: b08c sub sp, #48 @ 0x30 - 8004018: af00 add r7, sp, #0 - 800401a: 6078 str r0, [r7, #4] + 80041a4: b580 push {r7, lr} + 80041a6: b08c sub sp, #48 @ 0x30 + 80041a8: af00 add r7, sp, #0 + 80041aa: 6078 str r0, [r7, #4] uint32_t tickstart = 0U; - 800401c: 2300 movs r3, #0 - 800401e: 627b str r3, [r7, #36] @ 0x24 + 80041ac: 2300 movs r3, #0 + 80041ae: 627b str r3, [r7, #36] @ 0x24 uint32_t tmpreg1 = 0U; - 8004020: 2300 movs r3, #0 - 8004022: 623b str r3, [r7, #32] + 80041b0: 2300 movs r3, #0 + 80041b2: 623b str r3, [r7, #32] uint32_t plli2sp = 0U; - 8004024: 2300 movs r3, #0 - 8004026: 61fb str r3, [r7, #28] + 80041b4: 2300 movs r3, #0 + 80041b6: 61fb str r3, [r7, #28] uint32_t plli2sq = 0U; - 8004028: 2300 movs r3, #0 - 800402a: 61bb str r3, [r7, #24] + 80041b8: 2300 movs r3, #0 + 80041ba: 61bb str r3, [r7, #24] uint32_t plli2sr = 0U; - 800402c: 2300 movs r3, #0 - 800402e: 617b str r3, [r7, #20] + 80041bc: 2300 movs r3, #0 + 80041be: 617b str r3, [r7, #20] uint32_t pllsaip = 0U; - 8004030: 2300 movs r3, #0 - 8004032: 613b str r3, [r7, #16] + 80041c0: 2300 movs r3, #0 + 80041c2: 613b str r3, [r7, #16] uint32_t pllsaiq = 0U; - 8004034: 2300 movs r3, #0 - 8004036: 60fb str r3, [r7, #12] + 80041c4: 2300 movs r3, #0 + 80041c6: 60fb str r3, [r7, #12] uint32_t plli2sused = 0U; - 8004038: 2300 movs r3, #0 - 800403a: 62fb str r3, [r7, #44] @ 0x2c + 80041c8: 2300 movs r3, #0 + 80041ca: 62fb str r3, [r7, #44] @ 0x2c uint32_t pllsaiused = 0U; - 800403c: 2300 movs r3, #0 - 800403e: 62bb str r3, [r7, #40] @ 0x28 + 80041cc: 2300 movs r3, #0 + 80041ce: 62bb str r3, [r7, #40] @ 0x28 /* Check the peripheral clock selection parameters */ assert_param(IS_RCC_PERIPHCLOCK(PeriphClkInit->PeriphClockSelection)); /*------------------------ I2S APB1 configuration --------------------------*/ if (((PeriphClkInit->PeriphClockSelection) & RCC_PERIPHCLK_I2S_APB1) == (RCC_PERIPHCLK_I2S_APB1)) - 8004040: 687b ldr r3, [r7, #4] - 8004042: 681b ldr r3, [r3, #0] - 8004044: f003 0301 and.w r3, r3, #1 - 8004048: 2b00 cmp r3, #0 - 800404a: d010 beq.n 800406e + 80041d0: 687b ldr r3, [r7, #4] + 80041d2: 681b ldr r3, [r3, #0] + 80041d4: f003 0301 and.w r3, r3, #1 + 80041d8: 2b00 cmp r3, #0 + 80041da: d010 beq.n 80041fe { /* Check the parameters */ assert_param(IS_RCC_I2SAPB1CLKSOURCE(PeriphClkInit->I2sApb1ClockSelection)); /* Configure I2S Clock source */ __HAL_RCC_I2S_APB1_CONFIG(PeriphClkInit->I2sApb1ClockSelection); - 800404c: 4b6f ldr r3, [pc, #444] @ (800420c ) - 800404e: f8d3 308c ldr.w r3, [r3, #140] @ 0x8c - 8004052: f023 62c0 bic.w r2, r3, #100663296 @ 0x6000000 - 8004056: 687b ldr r3, [r7, #4] - 8004058: 6b9b ldr r3, [r3, #56] @ 0x38 - 800405a: 496c ldr r1, [pc, #432] @ (800420c ) - 800405c: 4313 orrs r3, r2 - 800405e: f8c1 308c str.w r3, [r1, #140] @ 0x8c + 80041dc: 4b6f ldr r3, [pc, #444] @ (800439c ) + 80041de: f8d3 308c ldr.w r3, [r3, #140] @ 0x8c + 80041e2: f023 62c0 bic.w r2, r3, #100663296 @ 0x6000000 + 80041e6: 687b ldr r3, [r7, #4] + 80041e8: 6b9b ldr r3, [r3, #56] @ 0x38 + 80041ea: 496c ldr r1, [pc, #432] @ (800439c ) + 80041ec: 4313 orrs r3, r2 + 80041ee: f8c1 308c str.w r3, [r1, #140] @ 0x8c /* Enable the PLLI2S when it's used as clock source for I2S */ if (PeriphClkInit->I2sApb1ClockSelection == RCC_I2SAPB1CLKSOURCE_PLLI2S) - 8004062: 687b ldr r3, [r7, #4] - 8004064: 6b9b ldr r3, [r3, #56] @ 0x38 - 8004066: 2b00 cmp r3, #0 - 8004068: d101 bne.n 800406e + 80041f2: 687b ldr r3, [r7, #4] + 80041f4: 6b9b ldr r3, [r3, #56] @ 0x38 + 80041f6: 2b00 cmp r3, #0 + 80041f8: d101 bne.n 80041fe { plli2sused = 1U; - 800406a: 2301 movs r3, #1 - 800406c: 62fb str r3, [r7, #44] @ 0x2c + 80041fa: 2301 movs r3, #1 + 80041fc: 62fb str r3, [r7, #44] @ 0x2c } } /*--------------------------------------------------------------------------*/ /*---------------------------- I2S APB2 configuration ----------------------*/ if (((PeriphClkInit->PeriphClockSelection) & RCC_PERIPHCLK_I2S_APB2) == (RCC_PERIPHCLK_I2S_APB2)) - 800406e: 687b ldr r3, [r7, #4] - 8004070: 681b ldr r3, [r3, #0] - 8004072: f003 0302 and.w r3, r3, #2 - 8004076: 2b00 cmp r3, #0 - 8004078: d010 beq.n 800409c + 80041fe: 687b ldr r3, [r7, #4] + 8004200: 681b ldr r3, [r3, #0] + 8004202: f003 0302 and.w r3, r3, #2 + 8004206: 2b00 cmp r3, #0 + 8004208: d010 beq.n 800422c { /* Check the parameters */ assert_param(IS_RCC_I2SAPB2CLKSOURCE(PeriphClkInit->I2sApb2ClockSelection)); /* Configure I2S Clock source */ __HAL_RCC_I2S_APB2_CONFIG(PeriphClkInit->I2sApb2ClockSelection); - 800407a: 4b64 ldr r3, [pc, #400] @ (800420c ) - 800407c: f8d3 308c ldr.w r3, [r3, #140] @ 0x8c - 8004080: f023 52c0 bic.w r2, r3, #402653184 @ 0x18000000 - 8004084: 687b ldr r3, [r7, #4] - 8004086: 6bdb ldr r3, [r3, #60] @ 0x3c - 8004088: 4960 ldr r1, [pc, #384] @ (800420c ) - 800408a: 4313 orrs r3, r2 - 800408c: f8c1 308c str.w r3, [r1, #140] @ 0x8c + 800420a: 4b64 ldr r3, [pc, #400] @ (800439c ) + 800420c: f8d3 308c ldr.w r3, [r3, #140] @ 0x8c + 8004210: f023 52c0 bic.w r2, r3, #402653184 @ 0x18000000 + 8004214: 687b ldr r3, [r7, #4] + 8004216: 6bdb ldr r3, [r3, #60] @ 0x3c + 8004218: 4960 ldr r1, [pc, #384] @ (800439c ) + 800421a: 4313 orrs r3, r2 + 800421c: f8c1 308c str.w r3, [r1, #140] @ 0x8c /* Enable the PLLI2S when it's used as clock source for I2S */ if (PeriphClkInit->I2sApb2ClockSelection == RCC_I2SAPB2CLKSOURCE_PLLI2S) - 8004090: 687b ldr r3, [r7, #4] - 8004092: 6bdb ldr r3, [r3, #60] @ 0x3c - 8004094: 2b00 cmp r3, #0 - 8004096: d101 bne.n 800409c + 8004220: 687b ldr r3, [r7, #4] + 8004222: 6bdb ldr r3, [r3, #60] @ 0x3c + 8004224: 2b00 cmp r3, #0 + 8004226: d101 bne.n 800422c { plli2sused = 1U; - 8004098: 2301 movs r3, #1 - 800409a: 62fb str r3, [r7, #44] @ 0x2c + 8004228: 2301 movs r3, #1 + 800422a: 62fb str r3, [r7, #44] @ 0x2c } } /*--------------------------------------------------------------------------*/ /*--------------------------- SAI1 configuration ---------------------------*/ if (((PeriphClkInit->PeriphClockSelection) & RCC_PERIPHCLK_SAI1) == (RCC_PERIPHCLK_SAI1)) - 800409c: 687b ldr r3, [r7, #4] - 800409e: 681b ldr r3, [r3, #0] - 80040a0: f003 0304 and.w r3, r3, #4 - 80040a4: 2b00 cmp r3, #0 - 80040a6: d017 beq.n 80040d8 + 800422c: 687b ldr r3, [r7, #4] + 800422e: 681b ldr r3, [r3, #0] + 8004230: f003 0304 and.w r3, r3, #4 + 8004234: 2b00 cmp r3, #0 + 8004236: d017 beq.n 8004268 { /* Check the parameters */ assert_param(IS_RCC_SAI1CLKSOURCE(PeriphClkInit->Sai1ClockSelection)); /* Configure SAI1 Clock source */ __HAL_RCC_SAI1_CONFIG(PeriphClkInit->Sai1ClockSelection); - 80040a8: 4b58 ldr r3, [pc, #352] @ (800420c ) - 80040aa: f8d3 308c ldr.w r3, [r3, #140] @ 0x8c - 80040ae: f423 1240 bic.w r2, r3, #3145728 @ 0x300000 - 80040b2: 687b ldr r3, [r7, #4] - 80040b4: 6b1b ldr r3, [r3, #48] @ 0x30 - 80040b6: 4955 ldr r1, [pc, #340] @ (800420c ) - 80040b8: 4313 orrs r3, r2 - 80040ba: f8c1 308c str.w r3, [r1, #140] @ 0x8c + 8004238: 4b58 ldr r3, [pc, #352] @ (800439c ) + 800423a: f8d3 308c ldr.w r3, [r3, #140] @ 0x8c + 800423e: f423 1240 bic.w r2, r3, #3145728 @ 0x300000 + 8004242: 687b ldr r3, [r7, #4] + 8004244: 6b1b ldr r3, [r3, #48] @ 0x30 + 8004246: 4955 ldr r1, [pc, #340] @ (800439c ) + 8004248: 4313 orrs r3, r2 + 800424a: 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) - 80040be: 687b ldr r3, [r7, #4] - 80040c0: 6b1b ldr r3, [r3, #48] @ 0x30 - 80040c2: f5b3 1f80 cmp.w r3, #1048576 @ 0x100000 - 80040c6: d101 bne.n 80040cc + 800424e: 687b ldr r3, [r7, #4] + 8004250: 6b1b ldr r3, [r3, #48] @ 0x30 + 8004252: f5b3 1f80 cmp.w r3, #1048576 @ 0x100000 + 8004256: d101 bne.n 800425c { plli2sused = 1U; - 80040c8: 2301 movs r3, #1 - 80040ca: 62fb str r3, [r7, #44] @ 0x2c + 8004258: 2301 movs r3, #1 + 800425a: 62fb str r3, [r7, #44] @ 0x2c } /* Enable the PLLSAI when it's used as clock source for SAI */ if (PeriphClkInit->Sai1ClockSelection == RCC_SAI1CLKSOURCE_PLLSAI) - 80040cc: 687b ldr r3, [r7, #4] - 80040ce: 6b1b ldr r3, [r3, #48] @ 0x30 - 80040d0: 2b00 cmp r3, #0 - 80040d2: d101 bne.n 80040d8 + 800425c: 687b ldr r3, [r7, #4] + 800425e: 6b1b ldr r3, [r3, #48] @ 0x30 + 8004260: 2b00 cmp r3, #0 + 8004262: d101 bne.n 8004268 { pllsaiused = 1U; - 80040d4: 2301 movs r3, #1 - 80040d6: 62bb str r3, [r7, #40] @ 0x28 + 8004264: 2301 movs r3, #1 + 8004266: 62bb str r3, [r7, #40] @ 0x28 } } /*--------------------------------------------------------------------------*/ /*-------------------------- SAI2 configuration ----------------------------*/ if (((PeriphClkInit->PeriphClockSelection) & RCC_PERIPHCLK_SAI2) == (RCC_PERIPHCLK_SAI2)) - 80040d8: 687b ldr r3, [r7, #4] - 80040da: 681b ldr r3, [r3, #0] - 80040dc: f003 0308 and.w r3, r3, #8 - 80040e0: 2b00 cmp r3, #0 - 80040e2: d017 beq.n 8004114 + 8004268: 687b ldr r3, [r7, #4] + 800426a: 681b ldr r3, [r3, #0] + 800426c: f003 0308 and.w r3, r3, #8 + 8004270: 2b00 cmp r3, #0 + 8004272: d017 beq.n 80042a4 { /* Check the parameters */ assert_param(IS_RCC_SAI2CLKSOURCE(PeriphClkInit->Sai2ClockSelection)); /* Configure SAI2 Clock source */ __HAL_RCC_SAI2_CONFIG(PeriphClkInit->Sai2ClockSelection); - 80040e4: 4b49 ldr r3, [pc, #292] @ (800420c ) - 80040e6: f8d3 308c ldr.w r3, [r3, #140] @ 0x8c - 80040ea: f423 0240 bic.w r2, r3, #12582912 @ 0xc00000 - 80040ee: 687b ldr r3, [r7, #4] - 80040f0: 6b5b ldr r3, [r3, #52] @ 0x34 - 80040f2: 4946 ldr r1, [pc, #280] @ (800420c ) - 80040f4: 4313 orrs r3, r2 - 80040f6: f8c1 308c str.w r3, [r1, #140] @ 0x8c + 8004274: 4b49 ldr r3, [pc, #292] @ (800439c ) + 8004276: f8d3 308c ldr.w r3, [r3, #140] @ 0x8c + 800427a: f423 0240 bic.w r2, r3, #12582912 @ 0xc00000 + 800427e: 687b ldr r3, [r7, #4] + 8004280: 6b5b ldr r3, [r3, #52] @ 0x34 + 8004282: 4946 ldr r1, [pc, #280] @ (800439c ) + 8004284: 4313 orrs r3, r2 + 8004286: 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) - 80040fa: 687b ldr r3, [r7, #4] - 80040fc: 6b5b ldr r3, [r3, #52] @ 0x34 - 80040fe: f5b3 0f80 cmp.w r3, #4194304 @ 0x400000 - 8004102: d101 bne.n 8004108 + 800428a: 687b ldr r3, [r7, #4] + 800428c: 6b5b ldr r3, [r3, #52] @ 0x34 + 800428e: f5b3 0f80 cmp.w r3, #4194304 @ 0x400000 + 8004292: d101 bne.n 8004298 { plli2sused = 1U; - 8004104: 2301 movs r3, #1 - 8004106: 62fb str r3, [r7, #44] @ 0x2c + 8004294: 2301 movs r3, #1 + 8004296: 62fb str r3, [r7, #44] @ 0x2c } /* Enable the PLLSAI when it's used as clock source for SAI */ if (PeriphClkInit->Sai2ClockSelection == RCC_SAI2CLKSOURCE_PLLSAI) - 8004108: 687b ldr r3, [r7, #4] - 800410a: 6b5b ldr r3, [r3, #52] @ 0x34 - 800410c: 2b00 cmp r3, #0 - 800410e: d101 bne.n 8004114 + 8004298: 687b ldr r3, [r7, #4] + 800429a: 6b5b ldr r3, [r3, #52] @ 0x34 + 800429c: 2b00 cmp r3, #0 + 800429e: d101 bne.n 80042a4 { pllsaiused = 1U; - 8004110: 2301 movs r3, #1 - 8004112: 62bb str r3, [r7, #40] @ 0x28 + 80042a0: 2301 movs r3, #1 + 80042a2: 62bb str r3, [r7, #40] @ 0x28 } } /*--------------------------------------------------------------------------*/ /*----------------------------- RTC configuration --------------------------*/ if (((PeriphClkInit->PeriphClockSelection) & RCC_PERIPHCLK_RTC) == (RCC_PERIPHCLK_RTC)) - 8004114: 687b ldr r3, [r7, #4] - 8004116: 681b ldr r3, [r3, #0] - 8004118: f003 0320 and.w r3, r3, #32 - 800411c: 2b00 cmp r3, #0 - 800411e: f000 808a beq.w 8004236 + 80042a4: 687b ldr r3, [r7, #4] + 80042a6: 681b ldr r3, [r3, #0] + 80042a8: f003 0320 and.w r3, r3, #32 + 80042ac: 2b00 cmp r3, #0 + 80042ae: f000 808a beq.w 80043c6 { /* Check for RTC Parameters used to output RTCCLK */ assert_param(IS_RCC_RTCCLKSOURCE(PeriphClkInit->RTCClockSelection)); /* Enable Power Clock*/ __HAL_RCC_PWR_CLK_ENABLE(); - 8004122: 2300 movs r3, #0 - 8004124: 60bb str r3, [r7, #8] - 8004126: 4b39 ldr r3, [pc, #228] @ (800420c ) - 8004128: 6c1b ldr r3, [r3, #64] @ 0x40 - 800412a: 4a38 ldr r2, [pc, #224] @ (800420c ) - 800412c: f043 5380 orr.w r3, r3, #268435456 @ 0x10000000 - 8004130: 6413 str r3, [r2, #64] @ 0x40 - 8004132: 4b36 ldr r3, [pc, #216] @ (800420c ) - 8004134: 6c1b ldr r3, [r3, #64] @ 0x40 - 8004136: f003 5380 and.w r3, r3, #268435456 @ 0x10000000 - 800413a: 60bb str r3, [r7, #8] - 800413c: 68bb ldr r3, [r7, #8] + 80042b2: 2300 movs r3, #0 + 80042b4: 60bb str r3, [r7, #8] + 80042b6: 4b39 ldr r3, [pc, #228] @ (800439c ) + 80042b8: 6c1b ldr r3, [r3, #64] @ 0x40 + 80042ba: 4a38 ldr r2, [pc, #224] @ (800439c ) + 80042bc: f043 5380 orr.w r3, r3, #268435456 @ 0x10000000 + 80042c0: 6413 str r3, [r2, #64] @ 0x40 + 80042c2: 4b36 ldr r3, [pc, #216] @ (800439c ) + 80042c4: 6c1b ldr r3, [r3, #64] @ 0x40 + 80042c6: f003 5380 and.w r3, r3, #268435456 @ 0x10000000 + 80042ca: 60bb str r3, [r7, #8] + 80042cc: 68bb ldr r3, [r7, #8] /* Enable write access to Backup domain */ PWR->CR |= PWR_CR_DBP; - 800413e: 4b34 ldr r3, [pc, #208] @ (8004210 ) - 8004140: 681b ldr r3, [r3, #0] - 8004142: 4a33 ldr r2, [pc, #204] @ (8004210 ) - 8004144: f443 7380 orr.w r3, r3, #256 @ 0x100 - 8004148: 6013 str r3, [r2, #0] + 80042ce: 4b34 ldr r3, [pc, #208] @ (80043a0 ) + 80042d0: 681b ldr r3, [r3, #0] + 80042d2: 4a33 ldr r2, [pc, #204] @ (80043a0 ) + 80042d4: f443 7380 orr.w r3, r3, #256 @ 0x100 + 80042d8: 6013 str r3, [r2, #0] /* Get tick */ tickstart = HAL_GetTick(); - 800414a: f7fd fb75 bl 8001838 - 800414e: 6278 str r0, [r7, #36] @ 0x24 + 80042da: f7fd fb75 bl 80019c8 + 80042de: 6278 str r0, [r7, #36] @ 0x24 while ((PWR->CR & PWR_CR_DBP) == RESET) - 8004150: e008 b.n 8004164 + 80042e0: e008 b.n 80042f4 { if ((HAL_GetTick() - tickstart) > RCC_DBP_TIMEOUT_VALUE) - 8004152: f7fd fb71 bl 8001838 - 8004156: 4602 mov r2, r0 - 8004158: 6a7b ldr r3, [r7, #36] @ 0x24 - 800415a: 1ad3 subs r3, r2, r3 - 800415c: 2b02 cmp r3, #2 - 800415e: d901 bls.n 8004164 + 80042e2: f7fd fb71 bl 80019c8 + 80042e6: 4602 mov r2, r0 + 80042e8: 6a7b ldr r3, [r7, #36] @ 0x24 + 80042ea: 1ad3 subs r3, r2, r3 + 80042ec: 2b02 cmp r3, #2 + 80042ee: d901 bls.n 80042f4 { return HAL_TIMEOUT; - 8004160: 2303 movs r3, #3 - 8004162: e278 b.n 8004656 + 80042f0: 2303 movs r3, #3 + 80042f2: e278 b.n 80047e6 while ((PWR->CR & PWR_CR_DBP) == RESET) - 8004164: 4b2a ldr r3, [pc, #168] @ (8004210 ) - 8004166: 681b ldr r3, [r3, #0] - 8004168: f403 7380 and.w r3, r3, #256 @ 0x100 - 800416c: 2b00 cmp r3, #0 - 800416e: d0f0 beq.n 8004152 + 80042f4: 4b2a ldr r3, [pc, #168] @ (80043a0 ) + 80042f6: 681b ldr r3, [r3, #0] + 80042f8: f403 7380 and.w r3, r3, #256 @ 0x100 + 80042fc: 2b00 cmp r3, #0 + 80042fe: d0f0 beq.n 80042e2 } } /* Reset the Backup domain only if the RTC Clock source selection is modified from reset value */ tmpreg1 = (RCC->BDCR & RCC_BDCR_RTCSEL); - 8004170: 4b26 ldr r3, [pc, #152] @ (800420c ) - 8004172: 6f1b ldr r3, [r3, #112] @ 0x70 - 8004174: f403 7340 and.w r3, r3, #768 @ 0x300 - 8004178: 623b str r3, [r7, #32] + 8004300: 4b26 ldr r3, [pc, #152] @ (800439c ) + 8004302: 6f1b ldr r3, [r3, #112] @ 0x70 + 8004304: f403 7340 and.w r3, r3, #768 @ 0x300 + 8004308: 623b str r3, [r7, #32] if ((tmpreg1 != 0x00000000U) && ((tmpreg1) != (PeriphClkInit->RTCClockSelection & RCC_BDCR_RTCSEL))) - 800417a: 6a3b ldr r3, [r7, #32] - 800417c: 2b00 cmp r3, #0 - 800417e: d02f beq.n 80041e0 - 8004180: 687b ldr r3, [r7, #4] - 8004182: 6c1b ldr r3, [r3, #64] @ 0x40 - 8004184: f403 7340 and.w r3, r3, #768 @ 0x300 - 8004188: 6a3a ldr r2, [r7, #32] - 800418a: 429a cmp r2, r3 - 800418c: d028 beq.n 80041e0 + 800430a: 6a3b ldr r3, [r7, #32] + 800430c: 2b00 cmp r3, #0 + 800430e: d02f beq.n 8004370 + 8004310: 687b ldr r3, [r7, #4] + 8004312: 6c1b ldr r3, [r3, #64] @ 0x40 + 8004314: f403 7340 and.w r3, r3, #768 @ 0x300 + 8004318: 6a3a ldr r2, [r7, #32] + 800431a: 429a cmp r2, r3 + 800431c: d028 beq.n 8004370 { /* Store the content of BDCR register before the reset of Backup Domain */ tmpreg1 = (RCC->BDCR & ~(RCC_BDCR_RTCSEL)); - 800418e: 4b1f ldr r3, [pc, #124] @ (800420c ) - 8004190: 6f1b ldr r3, [r3, #112] @ 0x70 - 8004192: f423 7340 bic.w r3, r3, #768 @ 0x300 - 8004196: 623b str r3, [r7, #32] + 800431e: 4b1f ldr r3, [pc, #124] @ (800439c ) + 8004320: 6f1b ldr r3, [r3, #112] @ 0x70 + 8004322: f423 7340 bic.w r3, r3, #768 @ 0x300 + 8004326: 623b str r3, [r7, #32] /* RTC Clock selection can be changed only if the Backup Domain is reset */ __HAL_RCC_BACKUPRESET_FORCE(); - 8004198: 4b1e ldr r3, [pc, #120] @ (8004214 ) - 800419a: 2201 movs r2, #1 - 800419c: 601a str r2, [r3, #0] + 8004328: 4b1e ldr r3, [pc, #120] @ (80043a4 ) + 800432a: 2201 movs r2, #1 + 800432c: 601a str r2, [r3, #0] __HAL_RCC_BACKUPRESET_RELEASE(); - 800419e: 4b1d ldr r3, [pc, #116] @ (8004214 ) - 80041a0: 2200 movs r2, #0 - 80041a2: 601a str r2, [r3, #0] + 800432e: 4b1d ldr r3, [pc, #116] @ (80043a4 ) + 8004330: 2200 movs r2, #0 + 8004332: 601a str r2, [r3, #0] /* Restore the Content of BDCR register */ RCC->BDCR = tmpreg1; - 80041a4: 4a19 ldr r2, [pc, #100] @ (800420c ) - 80041a6: 6a3b ldr r3, [r7, #32] - 80041a8: 6713 str r3, [r2, #112] @ 0x70 + 8004334: 4a19 ldr r2, [pc, #100] @ (800439c ) + 8004336: 6a3b ldr r3, [r7, #32] + 8004338: 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)) - 80041aa: 4b18 ldr r3, [pc, #96] @ (800420c ) - 80041ac: 6f1b ldr r3, [r3, #112] @ 0x70 - 80041ae: f003 0301 and.w r3, r3, #1 - 80041b2: 2b01 cmp r3, #1 - 80041b4: d114 bne.n 80041e0 + 800433a: 4b18 ldr r3, [pc, #96] @ (800439c ) + 800433c: 6f1b ldr r3, [r3, #112] @ 0x70 + 800433e: f003 0301 and.w r3, r3, #1 + 8004342: 2b01 cmp r3, #1 + 8004344: d114 bne.n 8004370 { /* Get tick */ tickstart = HAL_GetTick(); - 80041b6: f7fd fb3f bl 8001838 - 80041ba: 6278 str r0, [r7, #36] @ 0x24 + 8004346: f7fd fb3f bl 80019c8 + 800434a: 6278 str r0, [r7, #36] @ 0x24 /* Wait till LSE is ready */ while (__HAL_RCC_GET_FLAG(RCC_FLAG_LSERDY) == RESET) - 80041bc: e00a b.n 80041d4 + 800434c: e00a b.n 8004364 { if ((HAL_GetTick() - tickstart) > RCC_LSE_TIMEOUT_VALUE) - 80041be: f7fd fb3b bl 8001838 - 80041c2: 4602 mov r2, r0 - 80041c4: 6a7b ldr r3, [r7, #36] @ 0x24 - 80041c6: 1ad3 subs r3, r2, r3 - 80041c8: f241 3288 movw r2, #5000 @ 0x1388 - 80041cc: 4293 cmp r3, r2 - 80041ce: d901 bls.n 80041d4 + 800434e: f7fd fb3b bl 80019c8 + 8004352: 4602 mov r2, r0 + 8004354: 6a7b ldr r3, [r7, #36] @ 0x24 + 8004356: 1ad3 subs r3, r2, r3 + 8004358: f241 3288 movw r2, #5000 @ 0x1388 + 800435c: 4293 cmp r3, r2 + 800435e: d901 bls.n 8004364 { return HAL_TIMEOUT; - 80041d0: 2303 movs r3, #3 - 80041d2: e240 b.n 8004656 + 8004360: 2303 movs r3, #3 + 8004362: e240 b.n 80047e6 while (__HAL_RCC_GET_FLAG(RCC_FLAG_LSERDY) == RESET) - 80041d4: 4b0d ldr r3, [pc, #52] @ (800420c ) - 80041d6: 6f1b ldr r3, [r3, #112] @ 0x70 - 80041d8: f003 0302 and.w r3, r3, #2 - 80041dc: 2b00 cmp r3, #0 - 80041de: d0ee beq.n 80041be + 8004364: 4b0d ldr r3, [pc, #52] @ (800439c ) + 8004366: 6f1b ldr r3, [r3, #112] @ 0x70 + 8004368: f003 0302 and.w r3, r3, #2 + 800436c: 2b00 cmp r3, #0 + 800436e: d0ee beq.n 800434e } } } } __HAL_RCC_RTC_CONFIG(PeriphClkInit->RTCClockSelection); - 80041e0: 687b ldr r3, [r7, #4] - 80041e2: 6c1b ldr r3, [r3, #64] @ 0x40 - 80041e4: f403 7340 and.w r3, r3, #768 @ 0x300 - 80041e8: f5b3 7f40 cmp.w r3, #768 @ 0x300 - 80041ec: d114 bne.n 8004218 - 80041ee: 4b07 ldr r3, [pc, #28] @ (800420c ) - 80041f0: 689b ldr r3, [r3, #8] - 80041f2: f423 12f8 bic.w r2, r3, #2031616 @ 0x1f0000 - 80041f6: 687b ldr r3, [r7, #4] - 80041f8: 6c1b ldr r3, [r3, #64] @ 0x40 - 80041fa: f023 4370 bic.w r3, r3, #4026531840 @ 0xf0000000 - 80041fe: f423 7340 bic.w r3, r3, #768 @ 0x300 - 8004202: 4902 ldr r1, [pc, #8] @ (800420c ) - 8004204: 4313 orrs r3, r2 - 8004206: 608b str r3, [r1, #8] - 8004208: e00c b.n 8004224 - 800420a: bf00 nop - 800420c: 40023800 .word 0x40023800 - 8004210: 40007000 .word 0x40007000 - 8004214: 42470e40 .word 0x42470e40 - 8004218: 4b4a ldr r3, [pc, #296] @ (8004344 ) - 800421a: 689b ldr r3, [r3, #8] - 800421c: 4a49 ldr r2, [pc, #292] @ (8004344 ) - 800421e: f423 13f8 bic.w r3, r3, #2031616 @ 0x1f0000 - 8004222: 6093 str r3, [r2, #8] - 8004224: 4b47 ldr r3, [pc, #284] @ (8004344 ) - 8004226: 6f1a ldr r2, [r3, #112] @ 0x70 - 8004228: 687b ldr r3, [r7, #4] - 800422a: 6c1b ldr r3, [r3, #64] @ 0x40 - 800422c: f3c3 030b ubfx r3, r3, #0, #12 - 8004230: 4944 ldr r1, [pc, #272] @ (8004344 ) - 8004232: 4313 orrs r3, r2 - 8004234: 670b str r3, [r1, #112] @ 0x70 + 8004370: 687b ldr r3, [r7, #4] + 8004372: 6c1b ldr r3, [r3, #64] @ 0x40 + 8004374: f403 7340 and.w r3, r3, #768 @ 0x300 + 8004378: f5b3 7f40 cmp.w r3, #768 @ 0x300 + 800437c: d114 bne.n 80043a8 + 800437e: 4b07 ldr r3, [pc, #28] @ (800439c ) + 8004380: 689b ldr r3, [r3, #8] + 8004382: f423 12f8 bic.w r2, r3, #2031616 @ 0x1f0000 + 8004386: 687b ldr r3, [r7, #4] + 8004388: 6c1b ldr r3, [r3, #64] @ 0x40 + 800438a: f023 4370 bic.w r3, r3, #4026531840 @ 0xf0000000 + 800438e: f423 7340 bic.w r3, r3, #768 @ 0x300 + 8004392: 4902 ldr r1, [pc, #8] @ (800439c ) + 8004394: 4313 orrs r3, r2 + 8004396: 608b str r3, [r1, #8] + 8004398: e00c b.n 80043b4 + 800439a: bf00 nop + 800439c: 40023800 .word 0x40023800 + 80043a0: 40007000 .word 0x40007000 + 80043a4: 42470e40 .word 0x42470e40 + 80043a8: 4b4a ldr r3, [pc, #296] @ (80044d4 ) + 80043aa: 689b ldr r3, [r3, #8] + 80043ac: 4a49 ldr r2, [pc, #292] @ (80044d4 ) + 80043ae: f423 13f8 bic.w r3, r3, #2031616 @ 0x1f0000 + 80043b2: 6093 str r3, [r2, #8] + 80043b4: 4b47 ldr r3, [pc, #284] @ (80044d4 ) + 80043b6: 6f1a ldr r2, [r3, #112] @ 0x70 + 80043b8: 687b ldr r3, [r7, #4] + 80043ba: 6c1b ldr r3, [r3, #64] @ 0x40 + 80043bc: f3c3 030b ubfx r3, r3, #0, #12 + 80043c0: 4944 ldr r1, [pc, #272] @ (80044d4 ) + 80043c2: 4313 orrs r3, r2 + 80043c4: 670b str r3, [r1, #112] @ 0x70 } /*--------------------------------------------------------------------------*/ /*---------------------------- TIM configuration ---------------------------*/ if (((PeriphClkInit->PeriphClockSelection) & RCC_PERIPHCLK_TIM) == (RCC_PERIPHCLK_TIM)) - 8004236: 687b ldr r3, [r7, #4] - 8004238: 681b ldr r3, [r3, #0] - 800423a: f003 0310 and.w r3, r3, #16 - 800423e: 2b00 cmp r3, #0 - 8004240: d004 beq.n 800424c + 80043c6: 687b ldr r3, [r7, #4] + 80043c8: 681b ldr r3, [r3, #0] + 80043ca: f003 0310 and.w r3, r3, #16 + 80043ce: 2b00 cmp r3, #0 + 80043d0: d004 beq.n 80043dc { /* Configure Timer Prescaler */ __HAL_RCC_TIMCLKPRESCALER(PeriphClkInit->TIMPresSelection); - 8004242: 687b ldr r3, [r7, #4] - 8004244: f893 2058 ldrb.w r2, [r3, #88] @ 0x58 - 8004248: 4b3f ldr r3, [pc, #252] @ (8004348 ) - 800424a: 601a str r2, [r3, #0] + 80043d2: 687b ldr r3, [r7, #4] + 80043d4: f893 2058 ldrb.w r2, [r3, #88] @ 0x58 + 80043d8: 4b3f ldr r3, [pc, #252] @ (80044d8 ) + 80043da: 601a str r2, [r3, #0] } /*--------------------------------------------------------------------------*/ /*---------------------------- FMPI2C1 Configuration -----------------------*/ if (((PeriphClkInit->PeriphClockSelection) & RCC_PERIPHCLK_FMPI2C1) == RCC_PERIPHCLK_FMPI2C1) - 800424c: 687b ldr r3, [r7, #4] - 800424e: 681b ldr r3, [r3, #0] - 8004250: f003 0380 and.w r3, r3, #128 @ 0x80 - 8004254: 2b00 cmp r3, #0 - 8004256: d00a beq.n 800426e + 80043dc: 687b ldr r3, [r7, #4] + 80043de: 681b ldr r3, [r3, #0] + 80043e0: f003 0380 and.w r3, r3, #128 @ 0x80 + 80043e4: 2b00 cmp r3, #0 + 80043e6: d00a beq.n 80043fe { /* Check the parameters */ assert_param(IS_RCC_FMPI2C1CLKSOURCE(PeriphClkInit->Fmpi2c1ClockSelection)); /* Configure the FMPI2C1 clock source */ __HAL_RCC_FMPI2C1_CONFIG(PeriphClkInit->Fmpi2c1ClockSelection); - 8004258: 4b3a ldr r3, [pc, #232] @ (8004344 ) - 800425a: f8d3 3094 ldr.w r3, [r3, #148] @ 0x94 - 800425e: f423 0240 bic.w r2, r3, #12582912 @ 0xc00000 - 8004262: 687b ldr r3, [r7, #4] - 8004264: 6cdb ldr r3, [r3, #76] @ 0x4c - 8004266: 4937 ldr r1, [pc, #220] @ (8004344 ) - 8004268: 4313 orrs r3, r2 - 800426a: f8c1 3094 str.w r3, [r1, #148] @ 0x94 + 80043e8: 4b3a ldr r3, [pc, #232] @ (80044d4 ) + 80043ea: f8d3 3094 ldr.w r3, [r3, #148] @ 0x94 + 80043ee: f423 0240 bic.w r2, r3, #12582912 @ 0xc00000 + 80043f2: 687b ldr r3, [r7, #4] + 80043f4: 6cdb ldr r3, [r3, #76] @ 0x4c + 80043f6: 4937 ldr r1, [pc, #220] @ (80044d4 ) + 80043f8: 4313 orrs r3, r2 + 80043fa: f8c1 3094 str.w r3, [r1, #148] @ 0x94 } /*--------------------------------------------------------------------------*/ /*------------------------------ CEC Configuration -------------------------*/ if (((PeriphClkInit->PeriphClockSelection) & RCC_PERIPHCLK_CEC) == RCC_PERIPHCLK_CEC) - 800426e: 687b ldr r3, [r7, #4] - 8004270: 681b ldr r3, [r3, #0] - 8004272: f003 0340 and.w r3, r3, #64 @ 0x40 - 8004276: 2b00 cmp r3, #0 - 8004278: d00a beq.n 8004290 + 80043fe: 687b ldr r3, [r7, #4] + 8004400: 681b ldr r3, [r3, #0] + 8004402: f003 0340 and.w r3, r3, #64 @ 0x40 + 8004406: 2b00 cmp r3, #0 + 8004408: d00a beq.n 8004420 { /* Check the parameters */ assert_param(IS_RCC_CECCLKSOURCE(PeriphClkInit->CecClockSelection)); /* Configure the CEC clock source */ __HAL_RCC_CEC_CONFIG(PeriphClkInit->CecClockSelection); - 800427a: 4b32 ldr r3, [pc, #200] @ (8004344 ) - 800427c: f8d3 3094 ldr.w r3, [r3, #148] @ 0x94 - 8004280: f023 6280 bic.w r2, r3, #67108864 @ 0x4000000 - 8004284: 687b ldr r3, [r7, #4] - 8004286: 6c9b ldr r3, [r3, #72] @ 0x48 - 8004288: 492e ldr r1, [pc, #184] @ (8004344 ) - 800428a: 4313 orrs r3, r2 - 800428c: f8c1 3094 str.w r3, [r1, #148] @ 0x94 + 800440a: 4b32 ldr r3, [pc, #200] @ (80044d4 ) + 800440c: f8d3 3094 ldr.w r3, [r3, #148] @ 0x94 + 8004410: f023 6280 bic.w r2, r3, #67108864 @ 0x4000000 + 8004414: 687b ldr r3, [r7, #4] + 8004416: 6c9b ldr r3, [r3, #72] @ 0x48 + 8004418: 492e ldr r1, [pc, #184] @ (80044d4 ) + 800441a: 4313 orrs r3, r2 + 800441c: f8c1 3094 str.w r3, [r1, #148] @ 0x94 } /*--------------------------------------------------------------------------*/ /*----------------------------- CLK48 Configuration ------------------------*/ if (((PeriphClkInit->PeriphClockSelection) & RCC_PERIPHCLK_CLK48) == RCC_PERIPHCLK_CLK48) - 8004290: 687b ldr r3, [r7, #4] - 8004292: 681b ldr r3, [r3, #0] - 8004294: f403 7380 and.w r3, r3, #256 @ 0x100 - 8004298: 2b00 cmp r3, #0 - 800429a: d011 beq.n 80042c0 + 8004420: 687b ldr r3, [r7, #4] + 8004422: 681b ldr r3, [r3, #0] + 8004424: f403 7380 and.w r3, r3, #256 @ 0x100 + 8004428: 2b00 cmp r3, #0 + 800442a: d011 beq.n 8004450 { /* Check the parameters */ assert_param(IS_RCC_CLK48CLKSOURCE(PeriphClkInit->Clk48ClockSelection)); /* Configure the CLK48 clock source */ __HAL_RCC_CLK48_CONFIG(PeriphClkInit->Clk48ClockSelection); - 800429c: 4b29 ldr r3, [pc, #164] @ (8004344 ) - 800429e: f8d3 3094 ldr.w r3, [r3, #148] @ 0x94 - 80042a2: f023 6200 bic.w r2, r3, #134217728 @ 0x8000000 - 80042a6: 687b ldr r3, [r7, #4] - 80042a8: 6d5b ldr r3, [r3, #84] @ 0x54 - 80042aa: 4926 ldr r1, [pc, #152] @ (8004344 ) - 80042ac: 4313 orrs r3, r2 - 80042ae: f8c1 3094 str.w r3, [r1, #148] @ 0x94 + 800442c: 4b29 ldr r3, [pc, #164] @ (80044d4 ) + 800442e: f8d3 3094 ldr.w r3, [r3, #148] @ 0x94 + 8004432: f023 6200 bic.w r2, r3, #134217728 @ 0x8000000 + 8004436: 687b ldr r3, [r7, #4] + 8004438: 6d5b ldr r3, [r3, #84] @ 0x54 + 800443a: 4926 ldr r1, [pc, #152] @ (80044d4 ) + 800443c: 4313 orrs r3, r2 + 800443e: f8c1 3094 str.w r3, [r1, #148] @ 0x94 /* Enable the PLLSAI when it's used as clock source for CLK48 */ if (PeriphClkInit->Clk48ClockSelection == RCC_CLK48CLKSOURCE_PLLSAIP) - 80042b2: 687b ldr r3, [r7, #4] - 80042b4: 6d5b ldr r3, [r3, #84] @ 0x54 - 80042b6: f1b3 6f00 cmp.w r3, #134217728 @ 0x8000000 - 80042ba: d101 bne.n 80042c0 + 8004442: 687b ldr r3, [r7, #4] + 8004444: 6d5b ldr r3, [r3, #84] @ 0x54 + 8004446: f1b3 6f00 cmp.w r3, #134217728 @ 0x8000000 + 800444a: d101 bne.n 8004450 { pllsaiused = 1U; - 80042bc: 2301 movs r3, #1 - 80042be: 62bb str r3, [r7, #40] @ 0x28 + 800444c: 2301 movs r3, #1 + 800444e: 62bb str r3, [r7, #40] @ 0x28 } } /*--------------------------------------------------------------------------*/ /*----------------------------- SDIO Configuration -------------------------*/ if (((PeriphClkInit->PeriphClockSelection) & RCC_PERIPHCLK_SDIO) == RCC_PERIPHCLK_SDIO) - 80042c0: 687b ldr r3, [r7, #4] - 80042c2: 681b ldr r3, [r3, #0] - 80042c4: f403 7300 and.w r3, r3, #512 @ 0x200 - 80042c8: 2b00 cmp r3, #0 - 80042ca: d00a beq.n 80042e2 + 8004450: 687b ldr r3, [r7, #4] + 8004452: 681b ldr r3, [r3, #0] + 8004454: f403 7300 and.w r3, r3, #512 @ 0x200 + 8004458: 2b00 cmp r3, #0 + 800445a: d00a beq.n 8004472 { /* Check the parameters */ assert_param(IS_RCC_SDIOCLKSOURCE(PeriphClkInit->SdioClockSelection)); /* Configure the SDIO clock source */ __HAL_RCC_SDIO_CONFIG(PeriphClkInit->SdioClockSelection); - 80042cc: 4b1d ldr r3, [pc, #116] @ (8004344 ) - 80042ce: f8d3 3094 ldr.w r3, [r3, #148] @ 0x94 - 80042d2: f023 5280 bic.w r2, r3, #268435456 @ 0x10000000 - 80042d6: 687b ldr r3, [r7, #4] - 80042d8: 6c5b ldr r3, [r3, #68] @ 0x44 - 80042da: 491a ldr r1, [pc, #104] @ (8004344 ) - 80042dc: 4313 orrs r3, r2 - 80042de: f8c1 3094 str.w r3, [r1, #148] @ 0x94 + 800445c: 4b1d ldr r3, [pc, #116] @ (80044d4 ) + 800445e: f8d3 3094 ldr.w r3, [r3, #148] @ 0x94 + 8004462: f023 5280 bic.w r2, r3, #268435456 @ 0x10000000 + 8004466: 687b ldr r3, [r7, #4] + 8004468: 6c5b ldr r3, [r3, #68] @ 0x44 + 800446a: 491a ldr r1, [pc, #104] @ (80044d4 ) + 800446c: 4313 orrs r3, r2 + 800446e: f8c1 3094 str.w r3, [r1, #148] @ 0x94 } /*--------------------------------------------------------------------------*/ /*------------------------------ SPDIFRX Configuration ---------------------*/ if (((PeriphClkInit->PeriphClockSelection) & RCC_PERIPHCLK_SPDIFRX) == RCC_PERIPHCLK_SPDIFRX) - 80042e2: 687b ldr r3, [r7, #4] - 80042e4: 681b ldr r3, [r3, #0] - 80042e6: f403 6380 and.w r3, r3, #1024 @ 0x400 - 80042ea: 2b00 cmp r3, #0 - 80042ec: d011 beq.n 8004312 + 8004472: 687b ldr r3, [r7, #4] + 8004474: 681b ldr r3, [r3, #0] + 8004476: f403 6380 and.w r3, r3, #1024 @ 0x400 + 800447a: 2b00 cmp r3, #0 + 800447c: d011 beq.n 80044a2 { /* Check the parameters */ assert_param(IS_RCC_SPDIFRXCLKSOURCE(PeriphClkInit->SpdifClockSelection)); /* Configure the SPDIFRX clock source */ __HAL_RCC_SPDIFRX_CONFIG(PeriphClkInit->SpdifClockSelection); - 80042ee: 4b15 ldr r3, [pc, #84] @ (8004344 ) - 80042f0: f8d3 3094 ldr.w r3, [r3, #148] @ 0x94 - 80042f4: f023 5200 bic.w r2, r3, #536870912 @ 0x20000000 - 80042f8: 687b ldr r3, [r7, #4] - 80042fa: 6d1b ldr r3, [r3, #80] @ 0x50 - 80042fc: 4911 ldr r1, [pc, #68] @ (8004344 ) - 80042fe: 4313 orrs r3, r2 - 8004300: f8c1 3094 str.w r3, [r1, #148] @ 0x94 + 800447e: 4b15 ldr r3, [pc, #84] @ (80044d4 ) + 8004480: f8d3 3094 ldr.w r3, [r3, #148] @ 0x94 + 8004484: f023 5200 bic.w r2, r3, #536870912 @ 0x20000000 + 8004488: 687b ldr r3, [r7, #4] + 800448a: 6d1b ldr r3, [r3, #80] @ 0x50 + 800448c: 4911 ldr r1, [pc, #68] @ (80044d4 ) + 800448e: 4313 orrs r3, r2 + 8004490: f8c1 3094 str.w r3, [r1, #148] @ 0x94 /* Enable the PLLI2S when it's used as clock source for SPDIFRX */ if (PeriphClkInit->SpdifClockSelection == RCC_SPDIFRXCLKSOURCE_PLLI2SP) - 8004304: 687b ldr r3, [r7, #4] - 8004306: 6d1b ldr r3, [r3, #80] @ 0x50 - 8004308: f1b3 5f00 cmp.w r3, #536870912 @ 0x20000000 - 800430c: d101 bne.n 8004312 + 8004494: 687b ldr r3, [r7, #4] + 8004496: 6d1b ldr r3, [r3, #80] @ 0x50 + 8004498: f1b3 5f00 cmp.w r3, #536870912 @ 0x20000000 + 800449c: d101 bne.n 80044a2 { plli2sused = 1U; - 800430e: 2301 movs r3, #1 - 8004310: 62fb str r3, [r7, #44] @ 0x2c + 800449e: 2301 movs r3, #1 + 80044a0: 62fb str r3, [r7, #44] @ 0x2c /*--------------------------------------------------------------------------*/ /*---------------------------- PLLI2S Configuration ------------------------*/ /* PLLI2S is configured when a peripheral will use it as source clock : SAI1, SAI2, I2S on APB1, I2S on APB2 or SPDIFRX */ if ((plli2sused == 1U) || (PeriphClkInit->PeriphClockSelection == RCC_PERIPHCLK_PLLI2S)) - 8004312: 6afb ldr r3, [r7, #44] @ 0x2c - 8004314: 2b01 cmp r3, #1 - 8004316: d005 beq.n 8004324 - 8004318: 687b ldr r3, [r7, #4] - 800431a: 681b ldr r3, [r3, #0] - 800431c: f5b3 6f00 cmp.w r3, #2048 @ 0x800 - 8004320: f040 80ff bne.w 8004522 + 80044a2: 6afb ldr r3, [r7, #44] @ 0x2c + 80044a4: 2b01 cmp r3, #1 + 80044a6: d005 beq.n 80044b4 + 80044a8: 687b ldr r3, [r7, #4] + 80044aa: 681b ldr r3, [r3, #0] + 80044ac: f5b3 6f00 cmp.w r3, #2048 @ 0x800 + 80044b0: f040 80ff bne.w 80046b2 { /* Disable the PLLI2S */ __HAL_RCC_PLLI2S_DISABLE(); - 8004324: 4b09 ldr r3, [pc, #36] @ (800434c ) - 8004326: 2200 movs r2, #0 - 8004328: 601a str r2, [r3, #0] + 80044b4: 4b09 ldr r3, [pc, #36] @ (80044dc ) + 80044b6: 2200 movs r2, #0 + 80044b8: 601a str r2, [r3, #0] /* Get tick */ tickstart = HAL_GetTick(); - 800432a: f7fd fa85 bl 8001838 - 800432e: 6278 str r0, [r7, #36] @ 0x24 + 80044ba: f7fd fa85 bl 80019c8 + 80044be: 6278 str r0, [r7, #36] @ 0x24 /* Wait till PLLI2S is disabled */ while (__HAL_RCC_GET_FLAG(RCC_FLAG_PLLI2SRDY) != RESET) - 8004330: e00e b.n 8004350 + 80044c0: e00e b.n 80044e0 { if ((HAL_GetTick() - tickstart) > PLLI2S_TIMEOUT_VALUE) - 8004332: f7fd fa81 bl 8001838 - 8004336: 4602 mov r2, r0 - 8004338: 6a7b ldr r3, [r7, #36] @ 0x24 - 800433a: 1ad3 subs r3, r2, r3 - 800433c: 2b02 cmp r3, #2 - 800433e: d907 bls.n 8004350 + 80044c2: f7fd fa81 bl 80019c8 + 80044c6: 4602 mov r2, r0 + 80044c8: 6a7b ldr r3, [r7, #36] @ 0x24 + 80044ca: 1ad3 subs r3, r2, r3 + 80044cc: 2b02 cmp r3, #2 + 80044ce: d907 bls.n 80044e0 { /* return in case of Timeout detected */ return HAL_TIMEOUT; - 8004340: 2303 movs r3, #3 - 8004342: e188 b.n 8004656 - 8004344: 40023800 .word 0x40023800 - 8004348: 424711e0 .word 0x424711e0 - 800434c: 42470068 .word 0x42470068 + 80044d0: 2303 movs r3, #3 + 80044d2: e188 b.n 80047e6 + 80044d4: 40023800 .word 0x40023800 + 80044d8: 424711e0 .word 0x424711e0 + 80044dc: 42470068 .word 0x42470068 while (__HAL_RCC_GET_FLAG(RCC_FLAG_PLLI2SRDY) != RESET) - 8004350: 4b7e ldr r3, [pc, #504] @ (800454c ) - 8004352: 681b ldr r3, [r3, #0] - 8004354: f003 6300 and.w r3, r3, #134217728 @ 0x8000000 - 8004358: 2b00 cmp r3, #0 - 800435a: d1ea bne.n 8004332 + 80044e0: 4b7e ldr r3, [pc, #504] @ (80046dc ) + 80044e2: 681b ldr r3, [r3, #0] + 80044e4: f003 6300 and.w r3, r3, #134217728 @ 0x8000000 + 80044e8: 2b00 cmp r3, #0 + 80044ea: d1ea bne.n 80044c2 /* check for common PLLI2S Parameters */ assert_param(IS_RCC_PLLI2SM_VALUE(PeriphClkInit->PLLI2S.PLLI2SM)); 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_APB1) == RCC_PERIPHCLK_I2S_APB1) - 800435c: 687b ldr r3, [r7, #4] - 800435e: 681b ldr r3, [r3, #0] - 8004360: f003 0301 and.w r3, r3, #1 - 8004364: 2b00 cmp r3, #0 - 8004366: d003 beq.n 8004370 + 80044ec: 687b ldr r3, [r7, #4] + 80044ee: 681b ldr r3, [r3, #0] + 80044f0: f003 0301 and.w r3, r3, #1 + 80044f4: 2b00 cmp r3, #0 + 80044f6: d003 beq.n 8004500 && (PeriphClkInit->I2sApb1ClockSelection == RCC_I2SAPB1CLKSOURCE_PLLI2S)) || - 8004368: 687b ldr r3, [r7, #4] - 800436a: 6b9b ldr r3, [r3, #56] @ 0x38 - 800436c: 2b00 cmp r3, #0 - 800436e: d009 beq.n 8004384 + 80044f8: 687b ldr r3, [r7, #4] + 80044fa: 6b9b ldr r3, [r3, #56] @ 0x38 + 80044fc: 2b00 cmp r3, #0 + 80044fe: d009 beq.n 8004514 ((((PeriphClkInit->PeriphClockSelection) & RCC_PERIPHCLK_I2S_APB2) == RCC_PERIPHCLK_I2S_APB2) && (PeriphClkInit->I2sApb2ClockSelection == RCC_I2SAPB2CLKSOURCE_PLLI2S))) - 8004370: 687b ldr r3, [r7, #4] - 8004372: 681b ldr r3, [r3, #0] - 8004374: f003 0302 and.w r3, r3, #2 + 8004500: 687b ldr r3, [r7, #4] + 8004502: 681b ldr r3, [r3, #0] + 8004504: f003 0302 and.w r3, r3, #2 && (PeriphClkInit->I2sApb1ClockSelection == RCC_I2SAPB1CLKSOURCE_PLLI2S)) || - 8004378: 2b00 cmp r3, #0 - 800437a: d028 beq.n 80043ce + 8004508: 2b00 cmp r3, #0 + 800450a: d028 beq.n 800455e ((((PeriphClkInit->PeriphClockSelection) & RCC_PERIPHCLK_I2S_APB2) == RCC_PERIPHCLK_I2S_APB2) && (PeriphClkInit->I2sApb2ClockSelection == RCC_I2SAPB2CLKSOURCE_PLLI2S))) - 800437c: 687b ldr r3, [r7, #4] - 800437e: 6bdb ldr r3, [r3, #60] @ 0x3c - 8004380: 2b00 cmp r3, #0 - 8004382: d124 bne.n 80043ce + 800450c: 687b ldr r3, [r7, #4] + 800450e: 6bdb ldr r3, [r3, #60] @ 0x3c + 8004510: 2b00 cmp r3, #0 + 8004512: d124 bne.n 800455e { /* check for Parameters */ assert_param(IS_RCC_PLLI2SR_VALUE(PeriphClkInit->PLLI2S.PLLI2SR)); /* Read PLLI2SP/PLLI2SQ value from PLLI2SCFGR register (this value is not needed for I2S configuration) */ plli2sp = ((((RCC->PLLI2SCFGR & RCC_PLLI2SCFGR_PLLI2SP) >> RCC_PLLI2SCFGR_PLLI2SP_Pos) + 1U) << 1U); - 8004384: 4b71 ldr r3, [pc, #452] @ (800454c ) - 8004386: f8d3 3084 ldr.w r3, [r3, #132] @ 0x84 - 800438a: 0c1b lsrs r3, r3, #16 - 800438c: f003 0303 and.w r3, r3, #3 - 8004390: 3301 adds r3, #1 - 8004392: 005b lsls r3, r3, #1 - 8004394: 61fb str r3, [r7, #28] + 8004514: 4b71 ldr r3, [pc, #452] @ (80046dc ) + 8004516: f8d3 3084 ldr.w r3, [r3, #132] @ 0x84 + 800451a: 0c1b lsrs r3, r3, #16 + 800451c: f003 0303 and.w r3, r3, #3 + 8004520: 3301 adds r3, #1 + 8004522: 005b lsls r3, r3, #1 + 8004524: 61fb str r3, [r7, #28] plli2sq = ((RCC->PLLI2SCFGR & RCC_PLLI2SCFGR_PLLI2SQ) >> RCC_PLLI2SCFGR_PLLI2SQ_Pos); - 8004396: 4b6d ldr r3, [pc, #436] @ (800454c ) - 8004398: f8d3 3084 ldr.w r3, [r3, #132] @ 0x84 - 800439c: 0e1b lsrs r3, r3, #24 - 800439e: f003 030f and.w r3, r3, #15 - 80043a2: 61bb str r3, [r7, #24] + 8004526: 4b6d ldr r3, [pc, #436] @ (80046dc ) + 8004528: f8d3 3084 ldr.w r3, [r3, #132] @ 0x84 + 800452c: 0e1b lsrs r3, r3, #24 + 800452e: f003 030f and.w r3, r3, #15 + 8004532: 61bb str r3, [r7, #24] /* Configure the PLLI2S division factors */ /* PLLI2S_VCO = f(VCO clock) = f(PLLI2S clock input) * (PLLI2SN/PLLI2SM) */ /* I2SCLK = f(PLLI2S clock output) = f(VCO clock) / PLLI2SR */ __HAL_RCC_PLLI2S_CONFIG(PeriphClkInit->PLLI2S.PLLI2SM, PeriphClkInit->PLLI2S.PLLI2SN, plli2sp, plli2sq, - 80043a4: 687b ldr r3, [r7, #4] - 80043a6: 685a ldr r2, [r3, #4] - 80043a8: 687b ldr r3, [r7, #4] - 80043aa: 689b ldr r3, [r3, #8] - 80043ac: 019b lsls r3, r3, #6 - 80043ae: 431a orrs r2, r3 - 80043b0: 69fb ldr r3, [r7, #28] - 80043b2: 085b lsrs r3, r3, #1 - 80043b4: 3b01 subs r3, #1 - 80043b6: 041b lsls r3, r3, #16 - 80043b8: 431a orrs r2, r3 - 80043ba: 69bb ldr r3, [r7, #24] - 80043bc: 061b lsls r3, r3, #24 - 80043be: 431a orrs r2, r3 - 80043c0: 687b ldr r3, [r7, #4] - 80043c2: 695b ldr r3, [r3, #20] - 80043c4: 071b lsls r3, r3, #28 - 80043c6: 4961 ldr r1, [pc, #388] @ (800454c ) - 80043c8: 4313 orrs r3, r2 - 80043ca: f8c1 3084 str.w r3, [r1, #132] @ 0x84 + 8004534: 687b ldr r3, [r7, #4] + 8004536: 685a ldr r2, [r3, #4] + 8004538: 687b ldr r3, [r7, #4] + 800453a: 689b ldr r3, [r3, #8] + 800453c: 019b lsls r3, r3, #6 + 800453e: 431a orrs r2, r3 + 8004540: 69fb ldr r3, [r7, #28] + 8004542: 085b lsrs r3, r3, #1 + 8004544: 3b01 subs r3, #1 + 8004546: 041b lsls r3, r3, #16 + 8004548: 431a orrs r2, r3 + 800454a: 69bb ldr r3, [r7, #24] + 800454c: 061b lsls r3, r3, #24 + 800454e: 431a orrs r2, r3 + 8004550: 687b ldr r3, [r7, #4] + 8004552: 695b ldr r3, [r3, #20] + 8004554: 071b lsls r3, r3, #28 + 8004556: 4961 ldr r1, [pc, #388] @ (80046dc ) + 8004558: 4313 orrs r3, r2 + 800455a: f8c1 3084 str.w r3, [r1, #132] @ 0x84 PeriphClkInit->PLLI2S.PLLI2SR); } /*------- In Case of PLLI2S is selected as source clock for SAI ----------*/ if (((((PeriphClkInit->PeriphClockSelection) & RCC_PERIPHCLK_SAI1) == RCC_PERIPHCLK_SAI1) - 80043ce: 687b ldr r3, [r7, #4] - 80043d0: 681b ldr r3, [r3, #0] - 80043d2: f003 0304 and.w r3, r3, #4 - 80043d6: 2b00 cmp r3, #0 - 80043d8: d004 beq.n 80043e4 + 800455e: 687b ldr r3, [r7, #4] + 8004560: 681b ldr r3, [r3, #0] + 8004562: f003 0304 and.w r3, r3, #4 + 8004566: 2b00 cmp r3, #0 + 8004568: d004 beq.n 8004574 && (PeriphClkInit->Sai1ClockSelection == RCC_SAI1CLKSOURCE_PLLI2S)) || - 80043da: 687b ldr r3, [r7, #4] - 80043dc: 6b1b ldr r3, [r3, #48] @ 0x30 - 80043de: f5b3 1f80 cmp.w r3, #1048576 @ 0x100000 - 80043e2: d00a beq.n 80043fa + 800456a: 687b ldr r3, [r7, #4] + 800456c: 6b1b ldr r3, [r3, #48] @ 0x30 + 800456e: f5b3 1f80 cmp.w r3, #1048576 @ 0x100000 + 8004572: d00a beq.n 800458a ((((PeriphClkInit->PeriphClockSelection) & RCC_PERIPHCLK_SAI2) == RCC_PERIPHCLK_SAI2) && (PeriphClkInit->Sai2ClockSelection == RCC_SAI2CLKSOURCE_PLLI2S))) - 80043e4: 687b ldr r3, [r7, #4] - 80043e6: 681b ldr r3, [r3, #0] - 80043e8: f003 0308 and.w r3, r3, #8 + 8004574: 687b ldr r3, [r7, #4] + 8004576: 681b ldr r3, [r3, #0] + 8004578: f003 0308 and.w r3, r3, #8 && (PeriphClkInit->Sai1ClockSelection == RCC_SAI1CLKSOURCE_PLLI2S)) || - 80043ec: 2b00 cmp r3, #0 - 80043ee: d035 beq.n 800445c + 800457c: 2b00 cmp r3, #0 + 800457e: d035 beq.n 80045ec ((((PeriphClkInit->PeriphClockSelection) & RCC_PERIPHCLK_SAI2) == RCC_PERIPHCLK_SAI2) && (PeriphClkInit->Sai2ClockSelection == RCC_SAI2CLKSOURCE_PLLI2S))) - 80043f0: 687b ldr r3, [r7, #4] - 80043f2: 6b5b ldr r3, [r3, #52] @ 0x34 - 80043f4: f5b3 0f80 cmp.w r3, #4194304 @ 0x400000 - 80043f8: d130 bne.n 800445c + 8004580: 687b ldr r3, [r7, #4] + 8004582: 6b5b ldr r3, [r3, #52] @ 0x34 + 8004584: f5b3 0f80 cmp.w r3, #4194304 @ 0x400000 + 8004588: d130 bne.n 80045ec 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/PLLI2SR value from PLLI2SCFGR register (this value is not needed for SAI configuration) */ plli2sp = ((((RCC->PLLI2SCFGR & RCC_PLLI2SCFGR_PLLI2SP) >> RCC_PLLI2SCFGR_PLLI2SP_Pos) + 1U) << 1U); - 80043fa: 4b54 ldr r3, [pc, #336] @ (800454c ) - 80043fc: f8d3 3084 ldr.w r3, [r3, #132] @ 0x84 - 8004400: 0c1b lsrs r3, r3, #16 - 8004402: f003 0303 and.w r3, r3, #3 - 8004406: 3301 adds r3, #1 - 8004408: 005b lsls r3, r3, #1 - 800440a: 61fb str r3, [r7, #28] + 800458a: 4b54 ldr r3, [pc, #336] @ (80046dc ) + 800458c: f8d3 3084 ldr.w r3, [r3, #132] @ 0x84 + 8004590: 0c1b lsrs r3, r3, #16 + 8004592: f003 0303 and.w r3, r3, #3 + 8004596: 3301 adds r3, #1 + 8004598: 005b lsls r3, r3, #1 + 800459a: 61fb str r3, [r7, #28] plli2sr = ((RCC->PLLI2SCFGR & RCC_PLLI2SCFGR_PLLI2SR) >> RCC_PLLI2SCFGR_PLLI2SR_Pos); - 800440c: 4b4f ldr r3, [pc, #316] @ (800454c ) - 800440e: f8d3 3084 ldr.w r3, [r3, #132] @ 0x84 - 8004412: 0f1b lsrs r3, r3, #28 - 8004414: f003 0307 and.w r3, r3, #7 - 8004418: 617b str r3, [r7, #20] + 800459c: 4b4f ldr r3, [pc, #316] @ (80046dc ) + 800459e: f8d3 3084 ldr.w r3, [r3, #132] @ 0x84 + 80045a2: 0f1b lsrs r3, r3, #28 + 80045a4: f003 0307 and.w r3, r3, #7 + 80045a8: 617b str r3, [r7, #20] /* Configure the PLLI2S division factors */ /* PLLI2S_VCO Input = PLL_SOURCE/PLLI2SM */ /* PLLI2S_VCO Output = PLLI2S_VCO Input * PLLI2SN */ /* SAI_CLK(first level) = PLLI2S_VCO Output/PLLI2SQ */ __HAL_RCC_PLLI2S_CONFIG(PeriphClkInit->PLLI2S.PLLI2SM, PeriphClkInit->PLLI2S.PLLI2SN, plli2sp, - 800441a: 687b ldr r3, [r7, #4] - 800441c: 685a ldr r2, [r3, #4] - 800441e: 687b ldr r3, [r7, #4] - 8004420: 689b ldr r3, [r3, #8] - 8004422: 019b lsls r3, r3, #6 - 8004424: 431a orrs r2, r3 - 8004426: 69fb ldr r3, [r7, #28] - 8004428: 085b lsrs r3, r3, #1 - 800442a: 3b01 subs r3, #1 - 800442c: 041b lsls r3, r3, #16 - 800442e: 431a orrs r2, r3 - 8004430: 687b ldr r3, [r7, #4] - 8004432: 691b ldr r3, [r3, #16] - 8004434: 061b lsls r3, r3, #24 - 8004436: 431a orrs r2, r3 - 8004438: 697b ldr r3, [r7, #20] - 800443a: 071b lsls r3, r3, #28 - 800443c: 4943 ldr r1, [pc, #268] @ (800454c ) - 800443e: 4313 orrs r3, r2 - 8004440: f8c1 3084 str.w r3, [r1, #132] @ 0x84 + 80045aa: 687b ldr r3, [r7, #4] + 80045ac: 685a ldr r2, [r3, #4] + 80045ae: 687b ldr r3, [r7, #4] + 80045b0: 689b ldr r3, [r3, #8] + 80045b2: 019b lsls r3, r3, #6 + 80045b4: 431a orrs r2, r3 + 80045b6: 69fb ldr r3, [r7, #28] + 80045b8: 085b lsrs r3, r3, #1 + 80045ba: 3b01 subs r3, #1 + 80045bc: 041b lsls r3, r3, #16 + 80045be: 431a orrs r2, r3 + 80045c0: 687b ldr r3, [r7, #4] + 80045c2: 691b ldr r3, [r3, #16] + 80045c4: 061b lsls r3, r3, #24 + 80045c6: 431a orrs r2, r3 + 80045c8: 697b ldr r3, [r7, #20] + 80045ca: 071b lsls r3, r3, #28 + 80045cc: 4943 ldr r1, [pc, #268] @ (80046dc ) + 80045ce: 4313 orrs r3, r2 + 80045d0: f8c1 3084 str.w r3, [r1, #132] @ 0x84 PeriphClkInit->PLLI2S.PLLI2SQ, plli2sr); /* SAI_CLK_x = SAI_CLK(first level)/PLLI2SDIVQ */ __HAL_RCC_PLLI2S_PLLSAICLKDIVQ_CONFIG(PeriphClkInit->PLLI2SDivQ); - 8004444: 4b41 ldr r3, [pc, #260] @ (800454c ) - 8004446: f8d3 308c ldr.w r3, [r3, #140] @ 0x8c - 800444a: f023 021f bic.w r2, r3, #31 - 800444e: 687b ldr r3, [r7, #4] - 8004450: 6a9b ldr r3, [r3, #40] @ 0x28 - 8004452: 3b01 subs r3, #1 - 8004454: 493d ldr r1, [pc, #244] @ (800454c ) - 8004456: 4313 orrs r3, r2 - 8004458: f8c1 308c str.w r3, [r1, #140] @ 0x8c + 80045d4: 4b41 ldr r3, [pc, #260] @ (80046dc ) + 80045d6: f8d3 308c ldr.w r3, [r3, #140] @ 0x8c + 80045da: f023 021f bic.w r2, r3, #31 + 80045de: 687b ldr r3, [r7, #4] + 80045e0: 6a9b ldr r3, [r3, #40] @ 0x28 + 80045e2: 3b01 subs r3, #1 + 80045e4: 493d ldr r1, [pc, #244] @ (80046dc ) + 80045e6: 4313 orrs r3, r2 + 80045e8: f8c1 308c str.w r3, [r1, #140] @ 0x8c } /*------ In Case of PLLI2S is selected as source clock for SPDIFRX -------*/ if ((((PeriphClkInit->PeriphClockSelection) & RCC_PERIPHCLK_SPDIFRX) == RCC_PERIPHCLK_SPDIFRX) - 800445c: 687b ldr r3, [r7, #4] - 800445e: 681b ldr r3, [r3, #0] - 8004460: f403 6380 and.w r3, r3, #1024 @ 0x400 - 8004464: 2b00 cmp r3, #0 - 8004466: d029 beq.n 80044bc + 80045ec: 687b ldr r3, [r7, #4] + 80045ee: 681b ldr r3, [r3, #0] + 80045f0: f403 6380 and.w r3, r3, #1024 @ 0x400 + 80045f4: 2b00 cmp r3, #0 + 80045f6: d029 beq.n 800464c && (PeriphClkInit->SpdifClockSelection == RCC_SPDIFRXCLKSOURCE_PLLI2SP)) - 8004468: 687b ldr r3, [r7, #4] - 800446a: 6d1b ldr r3, [r3, #80] @ 0x50 - 800446c: f1b3 5f00 cmp.w r3, #536870912 @ 0x20000000 - 8004470: d124 bne.n 80044bc + 80045f8: 687b ldr r3, [r7, #4] + 80045fa: 6d1b ldr r3, [r3, #80] @ 0x50 + 80045fc: f1b3 5f00 cmp.w r3, #536870912 @ 0x20000000 + 8004600: d124 bne.n 800464c { /* check for Parameters */ assert_param(IS_RCC_PLLI2SP_VALUE(PeriphClkInit->PLLI2S.PLLI2SP)); /* Read PLLI2SR value from PLLI2SCFGR register (this value is not need for SAI configuration) */ plli2sq = ((((RCC->PLLI2SCFGR & RCC_PLLI2SCFGR_PLLI2SP) >> RCC_PLLI2SCFGR_PLLI2SP_Pos) + 1U) << 1U); - 8004472: 4b36 ldr r3, [pc, #216] @ (800454c ) - 8004474: f8d3 3084 ldr.w r3, [r3, #132] @ 0x84 - 8004478: 0c1b lsrs r3, r3, #16 - 800447a: f003 0303 and.w r3, r3, #3 - 800447e: 3301 adds r3, #1 - 8004480: 005b lsls r3, r3, #1 - 8004482: 61bb str r3, [r7, #24] + 8004602: 4b36 ldr r3, [pc, #216] @ (80046dc ) + 8004604: f8d3 3084 ldr.w r3, [r3, #132] @ 0x84 + 8004608: 0c1b lsrs r3, r3, #16 + 800460a: f003 0303 and.w r3, r3, #3 + 800460e: 3301 adds r3, #1 + 8004610: 005b lsls r3, r3, #1 + 8004612: 61bb str r3, [r7, #24] plli2sr = ((RCC->PLLI2SCFGR & RCC_PLLI2SCFGR_PLLI2SR) >> RCC_PLLI2SCFGR_PLLI2SR_Pos); - 8004484: 4b31 ldr r3, [pc, #196] @ (800454c ) - 8004486: f8d3 3084 ldr.w r3, [r3, #132] @ 0x84 - 800448a: 0f1b lsrs r3, r3, #28 - 800448c: f003 0307 and.w r3, r3, #7 - 8004490: 617b str r3, [r7, #20] + 8004614: 4b31 ldr r3, [pc, #196] @ (80046dc ) + 8004616: f8d3 3084 ldr.w r3, [r3, #132] @ 0x84 + 800461a: 0f1b lsrs r3, r3, #28 + 800461c: f003 0307 and.w r3, r3, #7 + 8004620: 617b str r3, [r7, #20] /* Configure the PLLI2S division factors */ /* PLLI2S_VCO = f(VCO clock) = f(PLLI2S clock input) * (PLLI2SN/PLLI2SM) */ /* SPDIFRXCLK = f(PLLI2S clock output) = f(VCO clock) / PLLI2SP */ __HAL_RCC_PLLI2S_CONFIG(PeriphClkInit->PLLI2S.PLLI2SM, PeriphClkInit->PLLI2S.PLLI2SN, PeriphClkInit->PLLI2S.PLLI2SP, - 8004492: 687b ldr r3, [r7, #4] - 8004494: 685a ldr r2, [r3, #4] - 8004496: 687b ldr r3, [r7, #4] - 8004498: 689b ldr r3, [r3, #8] - 800449a: 019b lsls r3, r3, #6 - 800449c: 431a orrs r2, r3 - 800449e: 687b ldr r3, [r7, #4] - 80044a0: 68db ldr r3, [r3, #12] - 80044a2: 085b lsrs r3, r3, #1 - 80044a4: 3b01 subs r3, #1 - 80044a6: 041b lsls r3, r3, #16 - 80044a8: 431a orrs r2, r3 - 80044aa: 69bb ldr r3, [r7, #24] - 80044ac: 061b lsls r3, r3, #24 - 80044ae: 431a orrs r2, r3 - 80044b0: 697b ldr r3, [r7, #20] - 80044b2: 071b lsls r3, r3, #28 - 80044b4: 4925 ldr r1, [pc, #148] @ (800454c ) - 80044b6: 4313 orrs r3, r2 - 80044b8: f8c1 3084 str.w r3, [r1, #132] @ 0x84 + 8004622: 687b ldr r3, [r7, #4] + 8004624: 685a ldr r2, [r3, #4] + 8004626: 687b ldr r3, [r7, #4] + 8004628: 689b ldr r3, [r3, #8] + 800462a: 019b lsls r3, r3, #6 + 800462c: 431a orrs r2, r3 + 800462e: 687b ldr r3, [r7, #4] + 8004630: 68db ldr r3, [r3, #12] + 8004632: 085b lsrs r3, r3, #1 + 8004634: 3b01 subs r3, #1 + 8004636: 041b lsls r3, r3, #16 + 8004638: 431a orrs r2, r3 + 800463a: 69bb ldr r3, [r7, #24] + 800463c: 061b lsls r3, r3, #24 + 800463e: 431a orrs r2, r3 + 8004640: 697b ldr r3, [r7, #20] + 8004642: 071b lsls r3, r3, #28 + 8004644: 4925 ldr r1, [pc, #148] @ (80046dc ) + 8004646: 4313 orrs r3, r2 + 8004648: f8c1 3084 str.w r3, [r1, #132] @ 0x84 plli2sq, plli2sr); } /*----------------- In Case of PLLI2S is just selected -----------------*/ if ((PeriphClkInit->PeriphClockSelection & RCC_PERIPHCLK_PLLI2S) == RCC_PERIPHCLK_PLLI2S) - 80044bc: 687b ldr r3, [r7, #4] - 80044be: 681b ldr r3, [r3, #0] - 80044c0: f403 6300 and.w r3, r3, #2048 @ 0x800 - 80044c4: 2b00 cmp r3, #0 - 80044c6: d016 beq.n 80044f6 + 800464c: 687b ldr r3, [r7, #4] + 800464e: 681b ldr r3, [r3, #0] + 8004650: f403 6300 and.w r3, r3, #2048 @ 0x800 + 8004654: 2b00 cmp r3, #0 + 8004656: d016 beq.n 8004686 assert_param(IS_RCC_PLLI2SR_VALUE(PeriphClkInit->PLLI2S.PLLI2SR)); assert_param(IS_RCC_PLLI2SQ_VALUE(PeriphClkInit->PLLI2S.PLLI2SQ)); /* Configure the PLLI2S division factors */ /* PLLI2S_VCO = f(VCO clock) = f(PLLI2S clock input) * (PLLI2SN/PLLI2SM) */ __HAL_RCC_PLLI2S_CONFIG(PeriphClkInit->PLLI2S.PLLI2SM, PeriphClkInit->PLLI2S.PLLI2SN, PeriphClkInit->PLLI2S.PLLI2SP, - 80044c8: 687b ldr r3, [r7, #4] - 80044ca: 685a ldr r2, [r3, #4] - 80044cc: 687b ldr r3, [r7, #4] - 80044ce: 689b ldr r3, [r3, #8] - 80044d0: 019b lsls r3, r3, #6 - 80044d2: 431a orrs r2, r3 - 80044d4: 687b ldr r3, [r7, #4] - 80044d6: 68db ldr r3, [r3, #12] - 80044d8: 085b lsrs r3, r3, #1 - 80044da: 3b01 subs r3, #1 - 80044dc: 041b lsls r3, r3, #16 - 80044de: 431a orrs r2, r3 - 80044e0: 687b ldr r3, [r7, #4] - 80044e2: 691b ldr r3, [r3, #16] - 80044e4: 061b lsls r3, r3, #24 - 80044e6: 431a orrs r2, r3 - 80044e8: 687b ldr r3, [r7, #4] - 80044ea: 695b ldr r3, [r3, #20] - 80044ec: 071b lsls r3, r3, #28 - 80044ee: 4917 ldr r1, [pc, #92] @ (800454c ) - 80044f0: 4313 orrs r3, r2 - 80044f2: f8c1 3084 str.w r3, [r1, #132] @ 0x84 + 8004658: 687b ldr r3, [r7, #4] + 800465a: 685a ldr r2, [r3, #4] + 800465c: 687b ldr r3, [r7, #4] + 800465e: 689b ldr r3, [r3, #8] + 8004660: 019b lsls r3, r3, #6 + 8004662: 431a orrs r2, r3 + 8004664: 687b ldr r3, [r7, #4] + 8004666: 68db ldr r3, [r3, #12] + 8004668: 085b lsrs r3, r3, #1 + 800466a: 3b01 subs r3, #1 + 800466c: 041b lsls r3, r3, #16 + 800466e: 431a orrs r2, r3 + 8004670: 687b ldr r3, [r7, #4] + 8004672: 691b ldr r3, [r3, #16] + 8004674: 061b lsls r3, r3, #24 + 8004676: 431a orrs r2, r3 + 8004678: 687b ldr r3, [r7, #4] + 800467a: 695b ldr r3, [r3, #20] + 800467c: 071b lsls r3, r3, #28 + 800467e: 4917 ldr r1, [pc, #92] @ (80046dc ) + 8004680: 4313 orrs r3, r2 + 8004682: f8c1 3084 str.w r3, [r1, #132] @ 0x84 PeriphClkInit->PLLI2S.PLLI2SQ, PeriphClkInit->PLLI2S.PLLI2SR); } /* Enable the PLLI2S */ __HAL_RCC_PLLI2S_ENABLE(); - 80044f6: 4b16 ldr r3, [pc, #88] @ (8004550 ) - 80044f8: 2201 movs r2, #1 - 80044fa: 601a str r2, [r3, #0] + 8004686: 4b16 ldr r3, [pc, #88] @ (80046e0 ) + 8004688: 2201 movs r2, #1 + 800468a: 601a str r2, [r3, #0] /* Get tick */ tickstart = HAL_GetTick(); - 80044fc: f7fd f99c bl 8001838 - 8004500: 6278 str r0, [r7, #36] @ 0x24 + 800468c: f7fd f99c bl 80019c8 + 8004690: 6278 str r0, [r7, #36] @ 0x24 /* Wait till PLLI2S is ready */ while (__HAL_RCC_GET_FLAG(RCC_FLAG_PLLI2SRDY) == RESET) - 8004502: e008 b.n 8004516 + 8004692: e008 b.n 80046a6 { if ((HAL_GetTick() - tickstart) > PLLI2S_TIMEOUT_VALUE) - 8004504: f7fd f998 bl 8001838 - 8004508: 4602 mov r2, r0 - 800450a: 6a7b ldr r3, [r7, #36] @ 0x24 - 800450c: 1ad3 subs r3, r2, r3 - 800450e: 2b02 cmp r3, #2 - 8004510: d901 bls.n 8004516 + 8004694: f7fd f998 bl 80019c8 + 8004698: 4602 mov r2, r0 + 800469a: 6a7b ldr r3, [r7, #36] @ 0x24 + 800469c: 1ad3 subs r3, r2, r3 + 800469e: 2b02 cmp r3, #2 + 80046a0: d901 bls.n 80046a6 { /* return in case of Timeout detected */ return HAL_TIMEOUT; - 8004512: 2303 movs r3, #3 - 8004514: e09f b.n 8004656 + 80046a2: 2303 movs r3, #3 + 80046a4: e09f b.n 80047e6 while (__HAL_RCC_GET_FLAG(RCC_FLAG_PLLI2SRDY) == RESET) - 8004516: 4b0d ldr r3, [pc, #52] @ (800454c ) - 8004518: 681b ldr r3, [r3, #0] - 800451a: f003 6300 and.w r3, r3, #134217728 @ 0x8000000 - 800451e: 2b00 cmp r3, #0 - 8004520: d0f0 beq.n 8004504 + 80046a6: 4b0d ldr r3, [pc, #52] @ (80046dc ) + 80046a8: 681b ldr r3, [r3, #0] + 80046aa: f003 6300 and.w r3, r3, #134217728 @ 0x8000000 + 80046ae: 2b00 cmp r3, #0 + 80046b0: d0f0 beq.n 8004694 } /*--------------------------------------------------------------------------*/ /*----------------------------- PLLSAI Configuration -----------------------*/ /* PLLSAI is configured when a peripheral will use it as source clock : SAI1, SAI2, CLK48 or SDIO */ if (pllsaiused == 1U) - 8004522: 6abb ldr r3, [r7, #40] @ 0x28 - 8004524: 2b01 cmp r3, #1 - 8004526: f040 8095 bne.w 8004654 + 80046b2: 6abb ldr r3, [r7, #40] @ 0x28 + 80046b4: 2b01 cmp r3, #1 + 80046b6: f040 8095 bne.w 80047e4 { /* Disable PLLSAI Clock */ __HAL_RCC_PLLSAI_DISABLE(); - 800452a: 4b0a ldr r3, [pc, #40] @ (8004554 ) - 800452c: 2200 movs r2, #0 - 800452e: 601a str r2, [r3, #0] + 80046ba: 4b0a ldr r3, [pc, #40] @ (80046e4 ) + 80046bc: 2200 movs r2, #0 + 80046be: 601a str r2, [r3, #0] /* Get tick */ tickstart = HAL_GetTick(); - 8004530: f7fd f982 bl 8001838 - 8004534: 6278 str r0, [r7, #36] @ 0x24 + 80046c0: f7fd f982 bl 80019c8 + 80046c4: 6278 str r0, [r7, #36] @ 0x24 /* Wait till PLLSAI is disabled */ while (__HAL_RCC_PLLSAI_GET_FLAG() != RESET) - 8004536: e00f b.n 8004558 + 80046c6: e00f b.n 80046e8 { if ((HAL_GetTick() - tickstart) > PLLSAI_TIMEOUT_VALUE) - 8004538: f7fd f97e bl 8001838 - 800453c: 4602 mov r2, r0 - 800453e: 6a7b ldr r3, [r7, #36] @ 0x24 - 8004540: 1ad3 subs r3, r2, r3 - 8004542: 2b02 cmp r3, #2 - 8004544: d908 bls.n 8004558 + 80046c8: f7fd f97e bl 80019c8 + 80046cc: 4602 mov r2, r0 + 80046ce: 6a7b ldr r3, [r7, #36] @ 0x24 + 80046d0: 1ad3 subs r3, r2, r3 + 80046d2: 2b02 cmp r3, #2 + 80046d4: d908 bls.n 80046e8 { /* return in case of Timeout detected */ return HAL_TIMEOUT; - 8004546: 2303 movs r3, #3 - 8004548: e085 b.n 8004656 - 800454a: bf00 nop - 800454c: 40023800 .word 0x40023800 - 8004550: 42470068 .word 0x42470068 - 8004554: 42470070 .word 0x42470070 + 80046d6: 2303 movs r3, #3 + 80046d8: e085 b.n 80047e6 + 80046da: bf00 nop + 80046dc: 40023800 .word 0x40023800 + 80046e0: 42470068 .word 0x42470068 + 80046e4: 42470070 .word 0x42470070 while (__HAL_RCC_PLLSAI_GET_FLAG() != RESET) - 8004558: 4b41 ldr r3, [pc, #260] @ (8004660 ) - 800455a: 681b ldr r3, [r3, #0] - 800455c: f003 5300 and.w r3, r3, #536870912 @ 0x20000000 - 8004560: f1b3 5f00 cmp.w r3, #536870912 @ 0x20000000 - 8004564: d0e8 beq.n 8004538 + 80046e8: 4b41 ldr r3, [pc, #260] @ (80047f0 ) + 80046ea: 681b ldr r3, [r3, #0] + 80046ec: f003 5300 and.w r3, r3, #536870912 @ 0x20000000 + 80046f0: f1b3 5f00 cmp.w r3, #536870912 @ 0x20000000 + 80046f4: d0e8 beq.n 80046c8 /* Check the PLLSAI division factors */ assert_param(IS_RCC_PLLSAIM_VALUE(PeriphClkInit->PLLSAI.PLLSAIM)); 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) - 8004566: 687b ldr r3, [r7, #4] - 8004568: 681b ldr r3, [r3, #0] - 800456a: f003 0304 and.w r3, r3, #4 - 800456e: 2b00 cmp r3, #0 - 8004570: d003 beq.n 800457a + 80046f6: 687b ldr r3, [r7, #4] + 80046f8: 681b ldr r3, [r3, #0] + 80046fa: f003 0304 and.w r3, r3, #4 + 80046fe: 2b00 cmp r3, #0 + 8004700: d003 beq.n 800470a && (PeriphClkInit->Sai1ClockSelection == RCC_SAI1CLKSOURCE_PLLSAI)) || - 8004572: 687b ldr r3, [r7, #4] - 8004574: 6b1b ldr r3, [r3, #48] @ 0x30 - 8004576: 2b00 cmp r3, #0 - 8004578: d009 beq.n 800458e + 8004702: 687b ldr r3, [r7, #4] + 8004704: 6b1b ldr r3, [r3, #48] @ 0x30 + 8004706: 2b00 cmp r3, #0 + 8004708: d009 beq.n 800471e ((((PeriphClkInit->PeriphClockSelection) & RCC_PERIPHCLK_SAI2) == RCC_PERIPHCLK_SAI2) && (PeriphClkInit->Sai2ClockSelection == RCC_SAI2CLKSOURCE_PLLSAI))) - 800457a: 687b ldr r3, [r7, #4] - 800457c: 681b ldr r3, [r3, #0] - 800457e: f003 0308 and.w r3, r3, #8 + 800470a: 687b ldr r3, [r7, #4] + 800470c: 681b ldr r3, [r3, #0] + 800470e: f003 0308 and.w r3, r3, #8 && (PeriphClkInit->Sai1ClockSelection == RCC_SAI1CLKSOURCE_PLLSAI)) || - 8004582: 2b00 cmp r3, #0 - 8004584: d02b beq.n 80045de + 8004712: 2b00 cmp r3, #0 + 8004714: d02b beq.n 800476e ((((PeriphClkInit->PeriphClockSelection) & RCC_PERIPHCLK_SAI2) == RCC_PERIPHCLK_SAI2) && (PeriphClkInit->Sai2ClockSelection == RCC_SAI2CLKSOURCE_PLLSAI))) - 8004586: 687b ldr r3, [r7, #4] - 8004588: 6b5b ldr r3, [r3, #52] @ 0x34 - 800458a: 2b00 cmp r3, #0 - 800458c: d127 bne.n 80045de + 8004716: 687b ldr r3, [r7, #4] + 8004718: 6b5b ldr r3, [r3, #52] @ 0x34 + 800471a: 2b00 cmp r3, #0 + 800471c: d127 bne.n 800476e 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) */ pllsaip = ((((RCC->PLLSAICFGR & RCC_PLLSAICFGR_PLLSAIP) >> RCC_PLLSAICFGR_PLLSAIP_Pos) + 1U) << 1U); - 800458e: 4b34 ldr r3, [pc, #208] @ (8004660 ) - 8004590: f8d3 3088 ldr.w r3, [r3, #136] @ 0x88 - 8004594: 0c1b lsrs r3, r3, #16 - 8004596: f003 0303 and.w r3, r3, #3 - 800459a: 3301 adds r3, #1 - 800459c: 005b lsls r3, r3, #1 - 800459e: 613b str r3, [r7, #16] + 800471e: 4b34 ldr r3, [pc, #208] @ (80047f0 ) + 8004720: f8d3 3088 ldr.w r3, [r3, #136] @ 0x88 + 8004724: 0c1b lsrs r3, r3, #16 + 8004726: f003 0303 and.w r3, r3, #3 + 800472a: 3301 adds r3, #1 + 800472c: 005b lsls r3, r3, #1 + 800472e: 613b str r3, [r7, #16] /* 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.PLLSAIM, PeriphClkInit->PLLSAI.PLLSAIN, pllsaip, - 80045a0: 687b ldr r3, [r7, #4] - 80045a2: 699a ldr r2, [r3, #24] - 80045a4: 687b ldr r3, [r7, #4] - 80045a6: 69db ldr r3, [r3, #28] - 80045a8: 019b lsls r3, r3, #6 - 80045aa: 431a orrs r2, r3 - 80045ac: 693b ldr r3, [r7, #16] - 80045ae: 085b lsrs r3, r3, #1 - 80045b0: 3b01 subs r3, #1 - 80045b2: 041b lsls r3, r3, #16 - 80045b4: 431a orrs r2, r3 - 80045b6: 687b ldr r3, [r7, #4] - 80045b8: 6a5b ldr r3, [r3, #36] @ 0x24 - 80045ba: 061b lsls r3, r3, #24 - 80045bc: 4928 ldr r1, [pc, #160] @ (8004660 ) - 80045be: 4313 orrs r3, r2 - 80045c0: f8c1 3088 str.w r3, [r1, #136] @ 0x88 + 8004730: 687b ldr r3, [r7, #4] + 8004732: 699a ldr r2, [r3, #24] + 8004734: 687b ldr r3, [r7, #4] + 8004736: 69db ldr r3, [r3, #28] + 8004738: 019b lsls r3, r3, #6 + 800473a: 431a orrs r2, r3 + 800473c: 693b ldr r3, [r7, #16] + 800473e: 085b lsrs r3, r3, #1 + 8004740: 3b01 subs r3, #1 + 8004742: 041b lsls r3, r3, #16 + 8004744: 431a orrs r2, r3 + 8004746: 687b ldr r3, [r7, #4] + 8004748: 6a5b ldr r3, [r3, #36] @ 0x24 + 800474a: 061b lsls r3, r3, #24 + 800474c: 4928 ldr r1, [pc, #160] @ (80047f0 ) + 800474e: 4313 orrs r3, r2 + 8004750: f8c1 3088 str.w r3, [r1, #136] @ 0x88 PeriphClkInit->PLLSAI.PLLSAIQ, 0U); /* SAI_CLK_x = SAI_CLK(first level)/PLLSAIDIVQ */ __HAL_RCC_PLLSAI_PLLSAICLKDIVQ_CONFIG(PeriphClkInit->PLLSAIDivQ); - 80045c4: 4b26 ldr r3, [pc, #152] @ (8004660 ) - 80045c6: f8d3 308c ldr.w r3, [r3, #140] @ 0x8c - 80045ca: f423 52f8 bic.w r2, r3, #7936 @ 0x1f00 - 80045ce: 687b ldr r3, [r7, #4] - 80045d0: 6adb ldr r3, [r3, #44] @ 0x2c - 80045d2: 3b01 subs r3, #1 - 80045d4: 021b lsls r3, r3, #8 - 80045d6: 4922 ldr r1, [pc, #136] @ (8004660 ) - 80045d8: 4313 orrs r3, r2 - 80045da: f8c1 308c str.w r3, [r1, #140] @ 0x8c + 8004754: 4b26 ldr r3, [pc, #152] @ (80047f0 ) + 8004756: f8d3 308c ldr.w r3, [r3, #140] @ 0x8c + 800475a: f423 52f8 bic.w r2, r3, #7936 @ 0x1f00 + 800475e: 687b ldr r3, [r7, #4] + 8004760: 6adb ldr r3, [r3, #44] @ 0x2c + 8004762: 3b01 subs r3, #1 + 8004764: 021b lsls r3, r3, #8 + 8004766: 4922 ldr r1, [pc, #136] @ (80047f0 ) + 8004768: 4313 orrs r3, r2 + 800476a: 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 CLK48 */ if ((((PeriphClkInit->PeriphClockSelection) & RCC_PERIPHCLK_CLK48) == RCC_PERIPHCLK_CLK48) - 80045de: 687b ldr r3, [r7, #4] - 80045e0: 681b ldr r3, [r3, #0] - 80045e2: f403 7380 and.w r3, r3, #256 @ 0x100 - 80045e6: 2b00 cmp r3, #0 - 80045e8: d01d beq.n 8004626 + 800476e: 687b ldr r3, [r7, #4] + 8004770: 681b ldr r3, [r3, #0] + 8004772: f403 7380 and.w r3, r3, #256 @ 0x100 + 8004776: 2b00 cmp r3, #0 + 8004778: d01d beq.n 80047b6 && (PeriphClkInit->Clk48ClockSelection == RCC_CLK48CLKSOURCE_PLLSAIP)) - 80045ea: 687b ldr r3, [r7, #4] - 80045ec: 6d5b ldr r3, [r3, #84] @ 0x54 - 80045ee: f1b3 6f00 cmp.w r3, #134217728 @ 0x8000000 - 80045f2: d118 bne.n 8004626 + 800477a: 687b ldr r3, [r7, #4] + 800477c: 6d5b ldr r3, [r3, #84] @ 0x54 + 800477e: f1b3 6f00 cmp.w r3, #134217728 @ 0x8000000 + 8004782: d118 bne.n 80047b6 { /* check for Parameters */ assert_param(IS_RCC_PLLSAIP_VALUE(PeriphClkInit->PLLSAI.PLLSAIP)); /* Read PLLSAIQ value from PLLI2SCFGR register (this value is not need for SAI configuration) */ pllsaiq = ((RCC->PLLSAICFGR & RCC_PLLSAICFGR_PLLSAIQ) >> RCC_PLLSAICFGR_PLLSAIQ_Pos); - 80045f4: 4b1a ldr r3, [pc, #104] @ (8004660 ) - 80045f6: f8d3 3088 ldr.w r3, [r3, #136] @ 0x88 - 80045fa: 0e1b lsrs r3, r3, #24 - 80045fc: f003 030f and.w r3, r3, #15 - 8004600: 60fb str r3, [r7, #12] + 8004784: 4b1a ldr r3, [pc, #104] @ (80047f0 ) + 8004786: f8d3 3088 ldr.w r3, [r3, #136] @ 0x88 + 800478a: 0e1b lsrs r3, r3, #24 + 800478c: f003 030f and.w r3, r3, #15 + 8004790: 60fb str r3, [r7, #12] /* Configure the PLLSAI division factors */ /* PLLSAI_VCO = f(VCO clock) = f(PLLSAI clock input) * (PLLI2SN/PLLSAIM) */ /* 48CLK = f(PLLSAI clock output) = f(VCO clock) / PLLSAIP */ __HAL_RCC_PLLSAI_CONFIG(PeriphClkInit->PLLSAI.PLLSAIM, PeriphClkInit->PLLSAI.PLLSAIN, PeriphClkInit->PLLSAI.PLLSAIP, - 8004602: 687b ldr r3, [r7, #4] - 8004604: 699a ldr r2, [r3, #24] - 8004606: 687b ldr r3, [r7, #4] - 8004608: 69db ldr r3, [r3, #28] - 800460a: 019b lsls r3, r3, #6 - 800460c: 431a orrs r2, r3 - 800460e: 687b ldr r3, [r7, #4] - 8004610: 6a1b ldr r3, [r3, #32] - 8004612: 085b lsrs r3, r3, #1 - 8004614: 3b01 subs r3, #1 - 8004616: 041b lsls r3, r3, #16 - 8004618: 431a orrs r2, r3 - 800461a: 68fb ldr r3, [r7, #12] - 800461c: 061b lsls r3, r3, #24 - 800461e: 4910 ldr r1, [pc, #64] @ (8004660 ) - 8004620: 4313 orrs r3, r2 - 8004622: f8c1 3088 str.w r3, [r1, #136] @ 0x88 + 8004792: 687b ldr r3, [r7, #4] + 8004794: 699a ldr r2, [r3, #24] + 8004796: 687b ldr r3, [r7, #4] + 8004798: 69db ldr r3, [r3, #28] + 800479a: 019b lsls r3, r3, #6 + 800479c: 431a orrs r2, r3 + 800479e: 687b ldr r3, [r7, #4] + 80047a0: 6a1b ldr r3, [r3, #32] + 80047a2: 085b lsrs r3, r3, #1 + 80047a4: 3b01 subs r3, #1 + 80047a6: 041b lsls r3, r3, #16 + 80047a8: 431a orrs r2, r3 + 80047aa: 68fb ldr r3, [r7, #12] + 80047ac: 061b lsls r3, r3, #24 + 80047ae: 4910 ldr r1, [pc, #64] @ (80047f0 ) + 80047b0: 4313 orrs r3, r2 + 80047b2: f8c1 3088 str.w r3, [r1, #136] @ 0x88 pllsaiq, 0U); } /* Enable PLLSAI Clock */ __HAL_RCC_PLLSAI_ENABLE(); - 8004626: 4b0f ldr r3, [pc, #60] @ (8004664 ) - 8004628: 2201 movs r2, #1 - 800462a: 601a str r2, [r3, #0] + 80047b6: 4b0f ldr r3, [pc, #60] @ (80047f4 ) + 80047b8: 2201 movs r2, #1 + 80047ba: 601a str r2, [r3, #0] /* Get tick */ tickstart = HAL_GetTick(); - 800462c: f7fd f904 bl 8001838 - 8004630: 6278 str r0, [r7, #36] @ 0x24 + 80047bc: f7fd f904 bl 80019c8 + 80047c0: 6278 str r0, [r7, #36] @ 0x24 /* Wait till PLLSAI is ready */ while (__HAL_RCC_PLLSAI_GET_FLAG() == RESET) - 8004632: e008 b.n 8004646 + 80047c2: e008 b.n 80047d6 { if ((HAL_GetTick() - tickstart) > PLLSAI_TIMEOUT_VALUE) - 8004634: f7fd f900 bl 8001838 - 8004638: 4602 mov r2, r0 - 800463a: 6a7b ldr r3, [r7, #36] @ 0x24 - 800463c: 1ad3 subs r3, r2, r3 - 800463e: 2b02 cmp r3, #2 - 8004640: d901 bls.n 8004646 + 80047c4: f7fd f900 bl 80019c8 + 80047c8: 4602 mov r2, r0 + 80047ca: 6a7b ldr r3, [r7, #36] @ 0x24 + 80047cc: 1ad3 subs r3, r2, r3 + 80047ce: 2b02 cmp r3, #2 + 80047d0: d901 bls.n 80047d6 { /* return in case of Timeout detected */ return HAL_TIMEOUT; - 8004642: 2303 movs r3, #3 - 8004644: e007 b.n 8004656 + 80047d2: 2303 movs r3, #3 + 80047d4: e007 b.n 80047e6 while (__HAL_RCC_PLLSAI_GET_FLAG() == RESET) - 8004646: 4b06 ldr r3, [pc, #24] @ (8004660 ) - 8004648: 681b ldr r3, [r3, #0] - 800464a: f003 5300 and.w r3, r3, #536870912 @ 0x20000000 - 800464e: f1b3 5f00 cmp.w r3, #536870912 @ 0x20000000 - 8004652: d1ef bne.n 8004634 + 80047d6: 4b06 ldr r3, [pc, #24] @ (80047f0 ) + 80047d8: 681b ldr r3, [r3, #0] + 80047da: f003 5300 and.w r3, r3, #536870912 @ 0x20000000 + 80047de: f1b3 5f00 cmp.w r3, #536870912 @ 0x20000000 + 80047e2: d1ef bne.n 80047c4 } } } return HAL_OK; - 8004654: 2300 movs r3, #0 + 80047e4: 2300 movs r3, #0 } - 8004656: 4618 mov r0, r3 - 8004658: 3730 adds r7, #48 @ 0x30 - 800465a: 46bd mov sp, r7 - 800465c: bd80 pop {r7, pc} - 800465e: bf00 nop - 8004660: 40023800 .word 0x40023800 - 8004664: 42470070 .word 0x42470070 + 80047e6: 4618 mov r0, r3 + 80047e8: 3730 adds r7, #48 @ 0x30 + 80047ea: 46bd mov sp, r7 + 80047ec: bd80 pop {r7, pc} + 80047ee: bf00 nop + 80047f0: 40023800 .word 0x40023800 + 80047f4: 42470070 .word 0x42470070 -08004668 : +080047f8 : * * * @retval SYSCLK frequency */ uint32_t HAL_RCC_GetSysClockFreq(void) { - 8004668: e92d 4fb0 stmdb sp!, {r4, r5, r7, r8, r9, sl, fp, lr} - 800466c: b0ae sub sp, #184 @ 0xb8 - 800466e: af00 add r7, sp, #0 + 80047f8: e92d 4fb0 stmdb sp!, {r4, r5, r7, r8, r9, sl, fp, lr} + 80047fc: b0ae sub sp, #184 @ 0xb8 + 80047fe: af00 add r7, sp, #0 uint32_t pllm = 0U; - 8004670: 2300 movs r3, #0 - 8004672: f8c7 30ac str.w r3, [r7, #172] @ 0xac + 8004800: 2300 movs r3, #0 + 8004802: f8c7 30ac str.w r3, [r7, #172] @ 0xac uint32_t pllvco = 0U; - 8004676: 2300 movs r3, #0 - 8004678: f8c7 30b4 str.w r3, [r7, #180] @ 0xb4 + 8004806: 2300 movs r3, #0 + 8004808: f8c7 30b4 str.w r3, [r7, #180] @ 0xb4 uint32_t pllp = 0U; - 800467c: 2300 movs r3, #0 - 800467e: f8c7 30a8 str.w r3, [r7, #168] @ 0xa8 + 800480c: 2300 movs r3, #0 + 800480e: f8c7 30a8 str.w r3, [r7, #168] @ 0xa8 uint32_t pllr = 0U; - 8004682: 2300 movs r3, #0 - 8004684: f8c7 30a4 str.w r3, [r7, #164] @ 0xa4 + 8004812: 2300 movs r3, #0 + 8004814: f8c7 30a4 str.w r3, [r7, #164] @ 0xa4 uint32_t sysclockfreq = 0U; - 8004688: 2300 movs r3, #0 - 800468a: f8c7 30b0 str.w r3, [r7, #176] @ 0xb0 + 8004818: 2300 movs r3, #0 + 800481a: f8c7 30b0 str.w r3, [r7, #176] @ 0xb0 /* Get SYSCLK source -------------------------------------------------------*/ switch (RCC->CFGR & RCC_CFGR_SWS) - 800468e: 4bcb ldr r3, [pc, #812] @ (80049bc ) - 8004690: 689b ldr r3, [r3, #8] - 8004692: f003 030c and.w r3, r3, #12 - 8004696: 2b0c cmp r3, #12 - 8004698: f200 8206 bhi.w 8004aa8 - 800469c: a201 add r2, pc, #4 @ (adr r2, 80046a4 ) - 800469e: f852 f023 ldr.w pc, [r2, r3, lsl #2] - 80046a2: bf00 nop - 80046a4: 080046d9 .word 0x080046d9 - 80046a8: 08004aa9 .word 0x08004aa9 - 80046ac: 08004aa9 .word 0x08004aa9 - 80046b0: 08004aa9 .word 0x08004aa9 - 80046b4: 080046e1 .word 0x080046e1 - 80046b8: 08004aa9 .word 0x08004aa9 - 80046bc: 08004aa9 .word 0x08004aa9 - 80046c0: 08004aa9 .word 0x08004aa9 - 80046c4: 080046e9 .word 0x080046e9 - 80046c8: 08004aa9 .word 0x08004aa9 - 80046cc: 08004aa9 .word 0x08004aa9 - 80046d0: 08004aa9 .word 0x08004aa9 - 80046d4: 080048d9 .word 0x080048d9 + 800481e: 4bcb ldr r3, [pc, #812] @ (8004b4c ) + 8004820: 689b ldr r3, [r3, #8] + 8004822: f003 030c and.w r3, r3, #12 + 8004826: 2b0c cmp r3, #12 + 8004828: f200 8206 bhi.w 8004c38 + 800482c: a201 add r2, pc, #4 @ (adr r2, 8004834 ) + 800482e: f852 f023 ldr.w pc, [r2, r3, lsl #2] + 8004832: bf00 nop + 8004834: 08004869 .word 0x08004869 + 8004838: 08004c39 .word 0x08004c39 + 800483c: 08004c39 .word 0x08004c39 + 8004840: 08004c39 .word 0x08004c39 + 8004844: 08004871 .word 0x08004871 + 8004848: 08004c39 .word 0x08004c39 + 800484c: 08004c39 .word 0x08004c39 + 8004850: 08004c39 .word 0x08004c39 + 8004854: 08004879 .word 0x08004879 + 8004858: 08004c39 .word 0x08004c39 + 800485c: 08004c39 .word 0x08004c39 + 8004860: 08004c39 .word 0x08004c39 + 8004864: 08004a69 .word 0x08004a69 { case RCC_CFGR_SWS_HSI: /* HSI used as system clock source */ { sysclockfreq = HSI_VALUE; - 80046d8: 4bb9 ldr r3, [pc, #740] @ (80049c0 ) - 80046da: f8c7 30b0 str.w r3, [r7, #176] @ 0xb0 + 8004868: 4bb9 ldr r3, [pc, #740] @ (8004b50 ) + 800486a: f8c7 30b0 str.w r3, [r7, #176] @ 0xb0 break; - 80046de: e1e7 b.n 8004ab0 + 800486e: e1e7 b.n 8004c40 } case RCC_CFGR_SWS_HSE: /* HSE used as system clock source */ { sysclockfreq = HSE_VALUE; - 80046e0: 4bb8 ldr r3, [pc, #736] @ (80049c4 ) - 80046e2: f8c7 30b0 str.w r3, [r7, #176] @ 0xb0 + 8004870: 4bb8 ldr r3, [pc, #736] @ (8004b54 ) + 8004872: f8c7 30b0 str.w r3, [r7, #176] @ 0xb0 break; - 80046e6: e1e3 b.n 8004ab0 + 8004876: e1e3 b.n 8004c40 } case RCC_CFGR_SWS_PLL: /* PLL/PLLP used as system clock source */ { /* PLL_VCO = (HSE_VALUE or HSI_VALUE / PLLM) * PLLN SYSCLK = PLL_VCO / PLLP */ pllm = RCC->PLLCFGR & RCC_PLLCFGR_PLLM; - 80046e8: 4bb4 ldr r3, [pc, #720] @ (80049bc ) - 80046ea: 685b ldr r3, [r3, #4] - 80046ec: f003 033f and.w r3, r3, #63 @ 0x3f - 80046f0: f8c7 30ac str.w r3, [r7, #172] @ 0xac + 8004878: 4bb4 ldr r3, [pc, #720] @ (8004b4c ) + 800487a: 685b ldr r3, [r3, #4] + 800487c: f003 033f and.w r3, r3, #63 @ 0x3f + 8004880: f8c7 30ac str.w r3, [r7, #172] @ 0xac if (__HAL_RCC_GET_PLL_OSCSOURCE() != RCC_PLLSOURCE_HSI) - 80046f4: 4bb1 ldr r3, [pc, #708] @ (80049bc ) - 80046f6: 685b ldr r3, [r3, #4] - 80046f8: f403 0380 and.w r3, r3, #4194304 @ 0x400000 - 80046fc: 2b00 cmp r3, #0 - 80046fe: d071 beq.n 80047e4 + 8004884: 4bb1 ldr r3, [pc, #708] @ (8004b4c ) + 8004886: 685b ldr r3, [r3, #4] + 8004888: f403 0380 and.w r3, r3, #4194304 @ 0x400000 + 800488c: 2b00 cmp r3, #0 + 800488e: d071 beq.n 8004974 { /* 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); - 8004700: 4bae ldr r3, [pc, #696] @ (80049bc ) - 8004702: 685b ldr r3, [r3, #4] - 8004704: 099b lsrs r3, r3, #6 - 8004706: 2200 movs r2, #0 - 8004708: f8c7 3098 str.w r3, [r7, #152] @ 0x98 - 800470c: f8c7 209c str.w r2, [r7, #156] @ 0x9c - 8004710: f8d7 3098 ldr.w r3, [r7, #152] @ 0x98 - 8004714: f3c3 0308 ubfx r3, r3, #0, #9 - 8004718: f8c7 3090 str.w r3, [r7, #144] @ 0x90 - 800471c: 2300 movs r3, #0 - 800471e: f8c7 3094 str.w r3, [r7, #148] @ 0x94 - 8004722: e9d7 4524 ldrd r4, r5, [r7, #144] @ 0x90 - 8004726: 4622 mov r2, r4 - 8004728: 462b mov r3, r5 - 800472a: f04f 0000 mov.w r0, #0 - 800472e: f04f 0100 mov.w r1, #0 - 8004732: 0159 lsls r1, r3, #5 - 8004734: ea41 61d2 orr.w r1, r1, r2, lsr #27 - 8004738: 0150 lsls r0, r2, #5 - 800473a: 4602 mov r2, r0 - 800473c: 460b mov r3, r1 - 800473e: 4621 mov r1, r4 - 8004740: 1a51 subs r1, r2, r1 - 8004742: 6439 str r1, [r7, #64] @ 0x40 - 8004744: 4629 mov r1, r5 - 8004746: eb63 0301 sbc.w r3, r3, r1 - 800474a: 647b str r3, [r7, #68] @ 0x44 - 800474c: f04f 0200 mov.w r2, #0 - 8004750: f04f 0300 mov.w r3, #0 - 8004754: e9d7 8910 ldrd r8, r9, [r7, #64] @ 0x40 - 8004758: 4649 mov r1, r9 - 800475a: 018b lsls r3, r1, #6 - 800475c: 4641 mov r1, r8 - 800475e: ea43 6391 orr.w r3, r3, r1, lsr #26 - 8004762: 4641 mov r1, r8 - 8004764: 018a lsls r2, r1, #6 - 8004766: 4641 mov r1, r8 - 8004768: 1a51 subs r1, r2, r1 - 800476a: 63b9 str r1, [r7, #56] @ 0x38 - 800476c: 4649 mov r1, r9 - 800476e: eb63 0301 sbc.w r3, r3, r1 - 8004772: 63fb str r3, [r7, #60] @ 0x3c - 8004774: f04f 0200 mov.w r2, #0 - 8004778: f04f 0300 mov.w r3, #0 - 800477c: e9d7 890e ldrd r8, r9, [r7, #56] @ 0x38 - 8004780: 4649 mov r1, r9 - 8004782: 00cb lsls r3, r1, #3 - 8004784: 4641 mov r1, r8 - 8004786: ea43 7351 orr.w r3, r3, r1, lsr #29 - 800478a: 4641 mov r1, r8 - 800478c: 00ca lsls r2, r1, #3 - 800478e: 4610 mov r0, r2 - 8004790: 4619 mov r1, r3 - 8004792: 4603 mov r3, r0 - 8004794: 4622 mov r2, r4 - 8004796: 189b adds r3, r3, r2 - 8004798: 633b str r3, [r7, #48] @ 0x30 - 800479a: 462b mov r3, r5 - 800479c: 460a mov r2, r1 - 800479e: eb42 0303 adc.w r3, r2, r3 - 80047a2: 637b str r3, [r7, #52] @ 0x34 - 80047a4: f04f 0200 mov.w r2, #0 - 80047a8: f04f 0300 mov.w r3, #0 - 80047ac: e9d7 450c ldrd r4, r5, [r7, #48] @ 0x30 - 80047b0: 4629 mov r1, r5 - 80047b2: 024b lsls r3, r1, #9 - 80047b4: 4621 mov r1, r4 - 80047b6: ea43 53d1 orr.w r3, r3, r1, lsr #23 - 80047ba: 4621 mov r1, r4 - 80047bc: 024a lsls r2, r1, #9 - 80047be: 4610 mov r0, r2 - 80047c0: 4619 mov r1, r3 - 80047c2: f8d7 30ac ldr.w r3, [r7, #172] @ 0xac - 80047c6: 2200 movs r2, #0 - 80047c8: f8c7 3088 str.w r3, [r7, #136] @ 0x88 - 80047cc: f8c7 208c str.w r2, [r7, #140] @ 0x8c - 80047d0: e9d7 2322 ldrd r2, r3, [r7, #136] @ 0x88 - 80047d4: f7fb fd16 bl 8000204 <__aeabi_uldivmod> - 80047d8: 4602 mov r2, r0 - 80047da: 460b mov r3, r1 - 80047dc: 4613 mov r3, r2 - 80047de: f8c7 30b4 str.w r3, [r7, #180] @ 0xb4 - 80047e2: e067 b.n 80048b4 + 8004890: 4bae ldr r3, [pc, #696] @ (8004b4c ) + 8004892: 685b ldr r3, [r3, #4] + 8004894: 099b lsrs r3, r3, #6 + 8004896: 2200 movs r2, #0 + 8004898: f8c7 3098 str.w r3, [r7, #152] @ 0x98 + 800489c: f8c7 209c str.w r2, [r7, #156] @ 0x9c + 80048a0: f8d7 3098 ldr.w r3, [r7, #152] @ 0x98 + 80048a4: f3c3 0308 ubfx r3, r3, #0, #9 + 80048a8: f8c7 3090 str.w r3, [r7, #144] @ 0x90 + 80048ac: 2300 movs r3, #0 + 80048ae: f8c7 3094 str.w r3, [r7, #148] @ 0x94 + 80048b2: e9d7 4524 ldrd r4, r5, [r7, #144] @ 0x90 + 80048b6: 4622 mov r2, r4 + 80048b8: 462b mov r3, r5 + 80048ba: f04f 0000 mov.w r0, #0 + 80048be: f04f 0100 mov.w r1, #0 + 80048c2: 0159 lsls r1, r3, #5 + 80048c4: ea41 61d2 orr.w r1, r1, r2, lsr #27 + 80048c8: 0150 lsls r0, r2, #5 + 80048ca: 4602 mov r2, r0 + 80048cc: 460b mov r3, r1 + 80048ce: 4621 mov r1, r4 + 80048d0: 1a51 subs r1, r2, r1 + 80048d2: 6439 str r1, [r7, #64] @ 0x40 + 80048d4: 4629 mov r1, r5 + 80048d6: eb63 0301 sbc.w r3, r3, r1 + 80048da: 647b str r3, [r7, #68] @ 0x44 + 80048dc: f04f 0200 mov.w r2, #0 + 80048e0: f04f 0300 mov.w r3, #0 + 80048e4: e9d7 8910 ldrd r8, r9, [r7, #64] @ 0x40 + 80048e8: 4649 mov r1, r9 + 80048ea: 018b lsls r3, r1, #6 + 80048ec: 4641 mov r1, r8 + 80048ee: ea43 6391 orr.w r3, r3, r1, lsr #26 + 80048f2: 4641 mov r1, r8 + 80048f4: 018a lsls r2, r1, #6 + 80048f6: 4641 mov r1, r8 + 80048f8: 1a51 subs r1, r2, r1 + 80048fa: 63b9 str r1, [r7, #56] @ 0x38 + 80048fc: 4649 mov r1, r9 + 80048fe: eb63 0301 sbc.w r3, r3, r1 + 8004902: 63fb str r3, [r7, #60] @ 0x3c + 8004904: f04f 0200 mov.w r2, #0 + 8004908: f04f 0300 mov.w r3, #0 + 800490c: e9d7 890e ldrd r8, r9, [r7, #56] @ 0x38 + 8004910: 4649 mov r1, r9 + 8004912: 00cb lsls r3, r1, #3 + 8004914: 4641 mov r1, r8 + 8004916: ea43 7351 orr.w r3, r3, r1, lsr #29 + 800491a: 4641 mov r1, r8 + 800491c: 00ca lsls r2, r1, #3 + 800491e: 4610 mov r0, r2 + 8004920: 4619 mov r1, r3 + 8004922: 4603 mov r3, r0 + 8004924: 4622 mov r2, r4 + 8004926: 189b adds r3, r3, r2 + 8004928: 633b str r3, [r7, #48] @ 0x30 + 800492a: 462b mov r3, r5 + 800492c: 460a mov r2, r1 + 800492e: eb42 0303 adc.w r3, r2, r3 + 8004932: 637b str r3, [r7, #52] @ 0x34 + 8004934: f04f 0200 mov.w r2, #0 + 8004938: f04f 0300 mov.w r3, #0 + 800493c: e9d7 450c ldrd r4, r5, [r7, #48] @ 0x30 + 8004940: 4629 mov r1, r5 + 8004942: 024b lsls r3, r1, #9 + 8004944: 4621 mov r1, r4 + 8004946: ea43 53d1 orr.w r3, r3, r1, lsr #23 + 800494a: 4621 mov r1, r4 + 800494c: 024a lsls r2, r1, #9 + 800494e: 4610 mov r0, r2 + 8004950: 4619 mov r1, r3 + 8004952: f8d7 30ac ldr.w r3, [r7, #172] @ 0xac + 8004956: 2200 movs r2, #0 + 8004958: f8c7 3088 str.w r3, [r7, #136] @ 0x88 + 800495c: f8c7 208c str.w r2, [r7, #140] @ 0x8c + 8004960: e9d7 2322 ldrd r2, r3, [r7, #136] @ 0x88 + 8004964: f7fb fc4e bl 8000204 <__aeabi_uldivmod> + 8004968: 4602 mov r2, r0 + 800496a: 460b mov r3, r1 + 800496c: 4613 mov r3, r2 + 800496e: f8c7 30b4 str.w r3, [r7, #180] @ 0xb4 + 8004972: e067 b.n 8004a44 } 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); - 80047e4: 4b75 ldr r3, [pc, #468] @ (80049bc ) - 80047e6: 685b ldr r3, [r3, #4] - 80047e8: 099b lsrs r3, r3, #6 - 80047ea: 2200 movs r2, #0 - 80047ec: f8c7 3080 str.w r3, [r7, #128] @ 0x80 - 80047f0: f8c7 2084 str.w r2, [r7, #132] @ 0x84 - 80047f4: f8d7 3080 ldr.w r3, [r7, #128] @ 0x80 - 80047f8: f3c3 0308 ubfx r3, r3, #0, #9 - 80047fc: 67bb str r3, [r7, #120] @ 0x78 - 80047fe: 2300 movs r3, #0 - 8004800: 67fb str r3, [r7, #124] @ 0x7c - 8004802: e9d7 451e ldrd r4, r5, [r7, #120] @ 0x78 - 8004806: 4622 mov r2, r4 - 8004808: 462b mov r3, r5 - 800480a: f04f 0000 mov.w r0, #0 - 800480e: f04f 0100 mov.w r1, #0 - 8004812: 0159 lsls r1, r3, #5 - 8004814: ea41 61d2 orr.w r1, r1, r2, lsr #27 - 8004818: 0150 lsls r0, r2, #5 - 800481a: 4602 mov r2, r0 - 800481c: 460b mov r3, r1 - 800481e: 4621 mov r1, r4 - 8004820: 1a51 subs r1, r2, r1 - 8004822: 62b9 str r1, [r7, #40] @ 0x28 - 8004824: 4629 mov r1, r5 - 8004826: eb63 0301 sbc.w r3, r3, r1 - 800482a: 62fb str r3, [r7, #44] @ 0x2c - 800482c: f04f 0200 mov.w r2, #0 - 8004830: f04f 0300 mov.w r3, #0 - 8004834: e9d7 890a ldrd r8, r9, [r7, #40] @ 0x28 - 8004838: 4649 mov r1, r9 - 800483a: 018b lsls r3, r1, #6 - 800483c: 4641 mov r1, r8 - 800483e: ea43 6391 orr.w r3, r3, r1, lsr #26 - 8004842: 4641 mov r1, r8 - 8004844: 018a lsls r2, r1, #6 - 8004846: 4641 mov r1, r8 - 8004848: ebb2 0a01 subs.w sl, r2, r1 - 800484c: 4649 mov r1, r9 - 800484e: eb63 0b01 sbc.w fp, r3, r1 - 8004852: f04f 0200 mov.w r2, #0 - 8004856: f04f 0300 mov.w r3, #0 - 800485a: ea4f 03cb mov.w r3, fp, lsl #3 - 800485e: ea43 735a orr.w r3, r3, sl, lsr #29 - 8004862: ea4f 02ca mov.w r2, sl, lsl #3 - 8004866: 4692 mov sl, r2 - 8004868: 469b mov fp, r3 - 800486a: 4623 mov r3, r4 - 800486c: eb1a 0303 adds.w r3, sl, r3 - 8004870: 623b str r3, [r7, #32] - 8004872: 462b mov r3, r5 - 8004874: eb4b 0303 adc.w r3, fp, r3 - 8004878: 627b str r3, [r7, #36] @ 0x24 - 800487a: f04f 0200 mov.w r2, #0 - 800487e: f04f 0300 mov.w r3, #0 - 8004882: e9d7 4508 ldrd r4, r5, [r7, #32] - 8004886: 4629 mov r1, r5 - 8004888: 028b lsls r3, r1, #10 - 800488a: 4621 mov r1, r4 - 800488c: ea43 5391 orr.w r3, r3, r1, lsr #22 - 8004890: 4621 mov r1, r4 - 8004892: 028a lsls r2, r1, #10 - 8004894: 4610 mov r0, r2 - 8004896: 4619 mov r1, r3 - 8004898: f8d7 30ac ldr.w r3, [r7, #172] @ 0xac - 800489c: 2200 movs r2, #0 - 800489e: 673b str r3, [r7, #112] @ 0x70 - 80048a0: 677a str r2, [r7, #116] @ 0x74 - 80048a2: e9d7 231c ldrd r2, r3, [r7, #112] @ 0x70 - 80048a6: f7fb fcad bl 8000204 <__aeabi_uldivmod> - 80048aa: 4602 mov r2, r0 - 80048ac: 460b mov r3, r1 - 80048ae: 4613 mov r3, r2 - 80048b0: f8c7 30b4 str.w r3, [r7, #180] @ 0xb4 + 8004974: 4b75 ldr r3, [pc, #468] @ (8004b4c ) + 8004976: 685b ldr r3, [r3, #4] + 8004978: 099b lsrs r3, r3, #6 + 800497a: 2200 movs r2, #0 + 800497c: f8c7 3080 str.w r3, [r7, #128] @ 0x80 + 8004980: f8c7 2084 str.w r2, [r7, #132] @ 0x84 + 8004984: f8d7 3080 ldr.w r3, [r7, #128] @ 0x80 + 8004988: f3c3 0308 ubfx r3, r3, #0, #9 + 800498c: 67bb str r3, [r7, #120] @ 0x78 + 800498e: 2300 movs r3, #0 + 8004990: 67fb str r3, [r7, #124] @ 0x7c + 8004992: e9d7 451e ldrd r4, r5, [r7, #120] @ 0x78 + 8004996: 4622 mov r2, r4 + 8004998: 462b mov r3, r5 + 800499a: f04f 0000 mov.w r0, #0 + 800499e: f04f 0100 mov.w r1, #0 + 80049a2: 0159 lsls r1, r3, #5 + 80049a4: ea41 61d2 orr.w r1, r1, r2, lsr #27 + 80049a8: 0150 lsls r0, r2, #5 + 80049aa: 4602 mov r2, r0 + 80049ac: 460b mov r3, r1 + 80049ae: 4621 mov r1, r4 + 80049b0: 1a51 subs r1, r2, r1 + 80049b2: 62b9 str r1, [r7, #40] @ 0x28 + 80049b4: 4629 mov r1, r5 + 80049b6: eb63 0301 sbc.w r3, r3, r1 + 80049ba: 62fb str r3, [r7, #44] @ 0x2c + 80049bc: f04f 0200 mov.w r2, #0 + 80049c0: f04f 0300 mov.w r3, #0 + 80049c4: e9d7 890a ldrd r8, r9, [r7, #40] @ 0x28 + 80049c8: 4649 mov r1, r9 + 80049ca: 018b lsls r3, r1, #6 + 80049cc: 4641 mov r1, r8 + 80049ce: ea43 6391 orr.w r3, r3, r1, lsr #26 + 80049d2: 4641 mov r1, r8 + 80049d4: 018a lsls r2, r1, #6 + 80049d6: 4641 mov r1, r8 + 80049d8: ebb2 0a01 subs.w sl, r2, r1 + 80049dc: 4649 mov r1, r9 + 80049de: eb63 0b01 sbc.w fp, r3, r1 + 80049e2: f04f 0200 mov.w r2, #0 + 80049e6: f04f 0300 mov.w r3, #0 + 80049ea: ea4f 03cb mov.w r3, fp, lsl #3 + 80049ee: ea43 735a orr.w r3, r3, sl, lsr #29 + 80049f2: ea4f 02ca mov.w r2, sl, lsl #3 + 80049f6: 4692 mov sl, r2 + 80049f8: 469b mov fp, r3 + 80049fa: 4623 mov r3, r4 + 80049fc: eb1a 0303 adds.w r3, sl, r3 + 8004a00: 623b str r3, [r7, #32] + 8004a02: 462b mov r3, r5 + 8004a04: eb4b 0303 adc.w r3, fp, r3 + 8004a08: 627b str r3, [r7, #36] @ 0x24 + 8004a0a: f04f 0200 mov.w r2, #0 + 8004a0e: f04f 0300 mov.w r3, #0 + 8004a12: e9d7 4508 ldrd r4, r5, [r7, #32] + 8004a16: 4629 mov r1, r5 + 8004a18: 028b lsls r3, r1, #10 + 8004a1a: 4621 mov r1, r4 + 8004a1c: ea43 5391 orr.w r3, r3, r1, lsr #22 + 8004a20: 4621 mov r1, r4 + 8004a22: 028a lsls r2, r1, #10 + 8004a24: 4610 mov r0, r2 + 8004a26: 4619 mov r1, r3 + 8004a28: f8d7 30ac ldr.w r3, [r7, #172] @ 0xac + 8004a2c: 2200 movs r2, #0 + 8004a2e: 673b str r3, [r7, #112] @ 0x70 + 8004a30: 677a str r2, [r7, #116] @ 0x74 + 8004a32: e9d7 231c ldrd r2, r3, [r7, #112] @ 0x70 + 8004a36: f7fb fbe5 bl 8000204 <__aeabi_uldivmod> + 8004a3a: 4602 mov r2, r0 + 8004a3c: 460b mov r3, r1 + 8004a3e: 4613 mov r3, r2 + 8004a40: f8c7 30b4 str.w r3, [r7, #180] @ 0xb4 } pllp = ((((RCC->PLLCFGR & RCC_PLLCFGR_PLLP) >> RCC_PLLCFGR_PLLP_Pos) + 1U) * 2U); - 80048b4: 4b41 ldr r3, [pc, #260] @ (80049bc ) - 80048b6: 685b ldr r3, [r3, #4] - 80048b8: 0c1b lsrs r3, r3, #16 - 80048ba: f003 0303 and.w r3, r3, #3 - 80048be: 3301 adds r3, #1 - 80048c0: 005b lsls r3, r3, #1 - 80048c2: f8c7 30a8 str.w r3, [r7, #168] @ 0xa8 + 8004a44: 4b41 ldr r3, [pc, #260] @ (8004b4c ) + 8004a46: 685b ldr r3, [r3, #4] + 8004a48: 0c1b lsrs r3, r3, #16 + 8004a4a: f003 0303 and.w r3, r3, #3 + 8004a4e: 3301 adds r3, #1 + 8004a50: 005b lsls r3, r3, #1 + 8004a52: f8c7 30a8 str.w r3, [r7, #168] @ 0xa8 sysclockfreq = pllvco / pllp; - 80048c6: f8d7 20b4 ldr.w r2, [r7, #180] @ 0xb4 - 80048ca: f8d7 30a8 ldr.w r3, [r7, #168] @ 0xa8 - 80048ce: fbb2 f3f3 udiv r3, r2, r3 - 80048d2: f8c7 30b0 str.w r3, [r7, #176] @ 0xb0 + 8004a56: f8d7 20b4 ldr.w r2, [r7, #180] @ 0xb4 + 8004a5a: f8d7 30a8 ldr.w r3, [r7, #168] @ 0xa8 + 8004a5e: fbb2 f3f3 udiv r3, r2, r3 + 8004a62: f8c7 30b0 str.w r3, [r7, #176] @ 0xb0 break; - 80048d6: e0eb b.n 8004ab0 + 8004a66: e0eb b.n 8004c40 } case RCC_CFGR_SWS_PLLR: /* PLL/PLLR used as system clock source */ { /* PLL_VCO = (HSE_VALUE or HSI_VALUE / PLLM) * PLLN SYSCLK = PLL_VCO / PLLR */ pllm = RCC->PLLCFGR & RCC_PLLCFGR_PLLM; - 80048d8: 4b38 ldr r3, [pc, #224] @ (80049bc ) - 80048da: 685b ldr r3, [r3, #4] - 80048dc: f003 033f and.w r3, r3, #63 @ 0x3f - 80048e0: f8c7 30ac str.w r3, [r7, #172] @ 0xac + 8004a68: 4b38 ldr r3, [pc, #224] @ (8004b4c ) + 8004a6a: 685b ldr r3, [r3, #4] + 8004a6c: f003 033f and.w r3, r3, #63 @ 0x3f + 8004a70: f8c7 30ac str.w r3, [r7, #172] @ 0xac if (__HAL_RCC_GET_PLL_OSCSOURCE() != RCC_PLLSOURCE_HSI) - 80048e4: 4b35 ldr r3, [pc, #212] @ (80049bc ) - 80048e6: 685b ldr r3, [r3, #4] - 80048e8: f403 0380 and.w r3, r3, #4194304 @ 0x400000 - 80048ec: 2b00 cmp r3, #0 - 80048ee: d06b beq.n 80049c8 + 8004a74: 4b35 ldr r3, [pc, #212] @ (8004b4c ) + 8004a76: 685b ldr r3, [r3, #4] + 8004a78: f403 0380 and.w r3, r3, #4194304 @ 0x400000 + 8004a7c: 2b00 cmp r3, #0 + 8004a7e: d06b beq.n 8004b58 { /* 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); - 80048f0: 4b32 ldr r3, [pc, #200] @ (80049bc ) - 80048f2: 685b ldr r3, [r3, #4] - 80048f4: 099b lsrs r3, r3, #6 - 80048f6: 2200 movs r2, #0 - 80048f8: 66bb str r3, [r7, #104] @ 0x68 - 80048fa: 66fa str r2, [r7, #108] @ 0x6c - 80048fc: 6ebb ldr r3, [r7, #104] @ 0x68 - 80048fe: f3c3 0308 ubfx r3, r3, #0, #9 - 8004902: 663b str r3, [r7, #96] @ 0x60 - 8004904: 2300 movs r3, #0 - 8004906: 667b str r3, [r7, #100] @ 0x64 - 8004908: e9d7 4518 ldrd r4, r5, [r7, #96] @ 0x60 - 800490c: 4622 mov r2, r4 - 800490e: 462b mov r3, r5 - 8004910: f04f 0000 mov.w r0, #0 - 8004914: f04f 0100 mov.w r1, #0 - 8004918: 0159 lsls r1, r3, #5 - 800491a: ea41 61d2 orr.w r1, r1, r2, lsr #27 - 800491e: 0150 lsls r0, r2, #5 - 8004920: 4602 mov r2, r0 - 8004922: 460b mov r3, r1 - 8004924: 4621 mov r1, r4 - 8004926: 1a51 subs r1, r2, r1 - 8004928: 61b9 str r1, [r7, #24] - 800492a: 4629 mov r1, r5 - 800492c: eb63 0301 sbc.w r3, r3, r1 - 8004930: 61fb str r3, [r7, #28] - 8004932: f04f 0200 mov.w r2, #0 - 8004936: f04f 0300 mov.w r3, #0 - 800493a: e9d7 ab06 ldrd sl, fp, [r7, #24] - 800493e: 4659 mov r1, fp - 8004940: 018b lsls r3, r1, #6 - 8004942: 4651 mov r1, sl - 8004944: ea43 6391 orr.w r3, r3, r1, lsr #26 - 8004948: 4651 mov r1, sl - 800494a: 018a lsls r2, r1, #6 - 800494c: 4651 mov r1, sl - 800494e: ebb2 0801 subs.w r8, r2, r1 - 8004952: 4659 mov r1, fp - 8004954: eb63 0901 sbc.w r9, r3, r1 - 8004958: f04f 0200 mov.w r2, #0 - 800495c: f04f 0300 mov.w r3, #0 - 8004960: ea4f 03c9 mov.w r3, r9, lsl #3 - 8004964: ea43 7358 orr.w r3, r3, r8, lsr #29 - 8004968: ea4f 02c8 mov.w r2, r8, lsl #3 - 800496c: 4690 mov r8, r2 - 800496e: 4699 mov r9, r3 - 8004970: 4623 mov r3, r4 - 8004972: eb18 0303 adds.w r3, r8, r3 - 8004976: 613b str r3, [r7, #16] - 8004978: 462b mov r3, r5 - 800497a: eb49 0303 adc.w r3, r9, r3 - 800497e: 617b str r3, [r7, #20] - 8004980: f04f 0200 mov.w r2, #0 - 8004984: f04f 0300 mov.w r3, #0 - 8004988: e9d7 4504 ldrd r4, r5, [r7, #16] - 800498c: 4629 mov r1, r5 - 800498e: 024b lsls r3, r1, #9 - 8004990: 4621 mov r1, r4 - 8004992: ea43 53d1 orr.w r3, r3, r1, lsr #23 - 8004996: 4621 mov r1, r4 - 8004998: 024a lsls r2, r1, #9 - 800499a: 4610 mov r0, r2 - 800499c: 4619 mov r1, r3 - 800499e: f8d7 30ac ldr.w r3, [r7, #172] @ 0xac - 80049a2: 2200 movs r2, #0 - 80049a4: 65bb str r3, [r7, #88] @ 0x58 - 80049a6: 65fa str r2, [r7, #92] @ 0x5c - 80049a8: e9d7 2316 ldrd r2, r3, [r7, #88] @ 0x58 - 80049ac: f7fb fc2a bl 8000204 <__aeabi_uldivmod> - 80049b0: 4602 mov r2, r0 - 80049b2: 460b mov r3, r1 - 80049b4: 4613 mov r3, r2 - 80049b6: f8c7 30b4 str.w r3, [r7, #180] @ 0xb4 - 80049ba: e065 b.n 8004a88 - 80049bc: 40023800 .word 0x40023800 - 80049c0: 00f42400 .word 0x00f42400 - 80049c4: 007a1200 .word 0x007a1200 + 8004a80: 4b32 ldr r3, [pc, #200] @ (8004b4c ) + 8004a82: 685b ldr r3, [r3, #4] + 8004a84: 099b lsrs r3, r3, #6 + 8004a86: 2200 movs r2, #0 + 8004a88: 66bb str r3, [r7, #104] @ 0x68 + 8004a8a: 66fa str r2, [r7, #108] @ 0x6c + 8004a8c: 6ebb ldr r3, [r7, #104] @ 0x68 + 8004a8e: f3c3 0308 ubfx r3, r3, #0, #9 + 8004a92: 663b str r3, [r7, #96] @ 0x60 + 8004a94: 2300 movs r3, #0 + 8004a96: 667b str r3, [r7, #100] @ 0x64 + 8004a98: e9d7 4518 ldrd r4, r5, [r7, #96] @ 0x60 + 8004a9c: 4622 mov r2, r4 + 8004a9e: 462b mov r3, r5 + 8004aa0: f04f 0000 mov.w r0, #0 + 8004aa4: f04f 0100 mov.w r1, #0 + 8004aa8: 0159 lsls r1, r3, #5 + 8004aaa: ea41 61d2 orr.w r1, r1, r2, lsr #27 + 8004aae: 0150 lsls r0, r2, #5 + 8004ab0: 4602 mov r2, r0 + 8004ab2: 460b mov r3, r1 + 8004ab4: 4621 mov r1, r4 + 8004ab6: 1a51 subs r1, r2, r1 + 8004ab8: 61b9 str r1, [r7, #24] + 8004aba: 4629 mov r1, r5 + 8004abc: eb63 0301 sbc.w r3, r3, r1 + 8004ac0: 61fb str r3, [r7, #28] + 8004ac2: f04f 0200 mov.w r2, #0 + 8004ac6: f04f 0300 mov.w r3, #0 + 8004aca: e9d7 ab06 ldrd sl, fp, [r7, #24] + 8004ace: 4659 mov r1, fp + 8004ad0: 018b lsls r3, r1, #6 + 8004ad2: 4651 mov r1, sl + 8004ad4: ea43 6391 orr.w r3, r3, r1, lsr #26 + 8004ad8: 4651 mov r1, sl + 8004ada: 018a lsls r2, r1, #6 + 8004adc: 4651 mov r1, sl + 8004ade: ebb2 0801 subs.w r8, r2, r1 + 8004ae2: 4659 mov r1, fp + 8004ae4: eb63 0901 sbc.w r9, r3, r1 + 8004ae8: f04f 0200 mov.w r2, #0 + 8004aec: f04f 0300 mov.w r3, #0 + 8004af0: ea4f 03c9 mov.w r3, r9, lsl #3 + 8004af4: ea43 7358 orr.w r3, r3, r8, lsr #29 + 8004af8: ea4f 02c8 mov.w r2, r8, lsl #3 + 8004afc: 4690 mov r8, r2 + 8004afe: 4699 mov r9, r3 + 8004b00: 4623 mov r3, r4 + 8004b02: eb18 0303 adds.w r3, r8, r3 + 8004b06: 613b str r3, [r7, #16] + 8004b08: 462b mov r3, r5 + 8004b0a: eb49 0303 adc.w r3, r9, r3 + 8004b0e: 617b str r3, [r7, #20] + 8004b10: f04f 0200 mov.w r2, #0 + 8004b14: f04f 0300 mov.w r3, #0 + 8004b18: e9d7 4504 ldrd r4, r5, [r7, #16] + 8004b1c: 4629 mov r1, r5 + 8004b1e: 024b lsls r3, r1, #9 + 8004b20: 4621 mov r1, r4 + 8004b22: ea43 53d1 orr.w r3, r3, r1, lsr #23 + 8004b26: 4621 mov r1, r4 + 8004b28: 024a lsls r2, r1, #9 + 8004b2a: 4610 mov r0, r2 + 8004b2c: 4619 mov r1, r3 + 8004b2e: f8d7 30ac ldr.w r3, [r7, #172] @ 0xac + 8004b32: 2200 movs r2, #0 + 8004b34: 65bb str r3, [r7, #88] @ 0x58 + 8004b36: 65fa str r2, [r7, #92] @ 0x5c + 8004b38: e9d7 2316 ldrd r2, r3, [r7, #88] @ 0x58 + 8004b3c: f7fb fb62 bl 8000204 <__aeabi_uldivmod> + 8004b40: 4602 mov r2, r0 + 8004b42: 460b mov r3, r1 + 8004b44: 4613 mov r3, r2 + 8004b46: f8c7 30b4 str.w r3, [r7, #180] @ 0xb4 + 8004b4a: e065 b.n 8004c18 + 8004b4c: 40023800 .word 0x40023800 + 8004b50: 00f42400 .word 0x00f42400 + 8004b54: 007a1200 .word 0x007a1200 } 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); - 80049c8: 4b3d ldr r3, [pc, #244] @ (8004ac0 ) - 80049ca: 685b ldr r3, [r3, #4] - 80049cc: 099b lsrs r3, r3, #6 - 80049ce: 2200 movs r2, #0 - 80049d0: 4618 mov r0, r3 - 80049d2: 4611 mov r1, r2 - 80049d4: f3c0 0308 ubfx r3, r0, #0, #9 - 80049d8: 653b str r3, [r7, #80] @ 0x50 - 80049da: 2300 movs r3, #0 - 80049dc: 657b str r3, [r7, #84] @ 0x54 - 80049de: e9d7 8914 ldrd r8, r9, [r7, #80] @ 0x50 - 80049e2: 4642 mov r2, r8 - 80049e4: 464b mov r3, r9 - 80049e6: f04f 0000 mov.w r0, #0 - 80049ea: f04f 0100 mov.w r1, #0 - 80049ee: 0159 lsls r1, r3, #5 - 80049f0: ea41 61d2 orr.w r1, r1, r2, lsr #27 - 80049f4: 0150 lsls r0, r2, #5 - 80049f6: 4602 mov r2, r0 - 80049f8: 460b mov r3, r1 - 80049fa: 4641 mov r1, r8 - 80049fc: 1a51 subs r1, r2, r1 - 80049fe: 60b9 str r1, [r7, #8] - 8004a00: 4649 mov r1, r9 - 8004a02: eb63 0301 sbc.w r3, r3, r1 - 8004a06: 60fb str r3, [r7, #12] - 8004a08: f04f 0200 mov.w r2, #0 - 8004a0c: f04f 0300 mov.w r3, #0 - 8004a10: e9d7 ab02 ldrd sl, fp, [r7, #8] - 8004a14: 4659 mov r1, fp - 8004a16: 018b lsls r3, r1, #6 - 8004a18: 4651 mov r1, sl - 8004a1a: ea43 6391 orr.w r3, r3, r1, lsr #26 - 8004a1e: 4651 mov r1, sl - 8004a20: 018a lsls r2, r1, #6 - 8004a22: 4651 mov r1, sl - 8004a24: 1a54 subs r4, r2, r1 - 8004a26: 4659 mov r1, fp - 8004a28: eb63 0501 sbc.w r5, r3, r1 - 8004a2c: f04f 0200 mov.w r2, #0 - 8004a30: f04f 0300 mov.w r3, #0 - 8004a34: 00eb lsls r3, r5, #3 - 8004a36: ea43 7354 orr.w r3, r3, r4, lsr #29 - 8004a3a: 00e2 lsls r2, r4, #3 - 8004a3c: 4614 mov r4, r2 - 8004a3e: 461d mov r5, r3 - 8004a40: 4643 mov r3, r8 - 8004a42: 18e3 adds r3, r4, r3 - 8004a44: 603b str r3, [r7, #0] - 8004a46: 464b mov r3, r9 - 8004a48: eb45 0303 adc.w r3, r5, r3 - 8004a4c: 607b str r3, [r7, #4] - 8004a4e: f04f 0200 mov.w r2, #0 - 8004a52: f04f 0300 mov.w r3, #0 - 8004a56: e9d7 4500 ldrd r4, r5, [r7] - 8004a5a: 4629 mov r1, r5 - 8004a5c: 028b lsls r3, r1, #10 - 8004a5e: 4621 mov r1, r4 - 8004a60: ea43 5391 orr.w r3, r3, r1, lsr #22 - 8004a64: 4621 mov r1, r4 - 8004a66: 028a lsls r2, r1, #10 - 8004a68: 4610 mov r0, r2 - 8004a6a: 4619 mov r1, r3 - 8004a6c: f8d7 30ac ldr.w r3, [r7, #172] @ 0xac - 8004a70: 2200 movs r2, #0 - 8004a72: 64bb str r3, [r7, #72] @ 0x48 - 8004a74: 64fa str r2, [r7, #76] @ 0x4c - 8004a76: e9d7 2312 ldrd r2, r3, [r7, #72] @ 0x48 - 8004a7a: f7fb fbc3 bl 8000204 <__aeabi_uldivmod> - 8004a7e: 4602 mov r2, r0 - 8004a80: 460b mov r3, r1 - 8004a82: 4613 mov r3, r2 - 8004a84: f8c7 30b4 str.w r3, [r7, #180] @ 0xb4 + 8004b58: 4b3d ldr r3, [pc, #244] @ (8004c50 ) + 8004b5a: 685b ldr r3, [r3, #4] + 8004b5c: 099b lsrs r3, r3, #6 + 8004b5e: 2200 movs r2, #0 + 8004b60: 4618 mov r0, r3 + 8004b62: 4611 mov r1, r2 + 8004b64: f3c0 0308 ubfx r3, r0, #0, #9 + 8004b68: 653b str r3, [r7, #80] @ 0x50 + 8004b6a: 2300 movs r3, #0 + 8004b6c: 657b str r3, [r7, #84] @ 0x54 + 8004b6e: e9d7 8914 ldrd r8, r9, [r7, #80] @ 0x50 + 8004b72: 4642 mov r2, r8 + 8004b74: 464b mov r3, r9 + 8004b76: f04f 0000 mov.w r0, #0 + 8004b7a: f04f 0100 mov.w r1, #0 + 8004b7e: 0159 lsls r1, r3, #5 + 8004b80: ea41 61d2 orr.w r1, r1, r2, lsr #27 + 8004b84: 0150 lsls r0, r2, #5 + 8004b86: 4602 mov r2, r0 + 8004b88: 460b mov r3, r1 + 8004b8a: 4641 mov r1, r8 + 8004b8c: 1a51 subs r1, r2, r1 + 8004b8e: 60b9 str r1, [r7, #8] + 8004b90: 4649 mov r1, r9 + 8004b92: eb63 0301 sbc.w r3, r3, r1 + 8004b96: 60fb str r3, [r7, #12] + 8004b98: f04f 0200 mov.w r2, #0 + 8004b9c: f04f 0300 mov.w r3, #0 + 8004ba0: e9d7 ab02 ldrd sl, fp, [r7, #8] + 8004ba4: 4659 mov r1, fp + 8004ba6: 018b lsls r3, r1, #6 + 8004ba8: 4651 mov r1, sl + 8004baa: ea43 6391 orr.w r3, r3, r1, lsr #26 + 8004bae: 4651 mov r1, sl + 8004bb0: 018a lsls r2, r1, #6 + 8004bb2: 4651 mov r1, sl + 8004bb4: 1a54 subs r4, r2, r1 + 8004bb6: 4659 mov r1, fp + 8004bb8: eb63 0501 sbc.w r5, r3, r1 + 8004bbc: f04f 0200 mov.w r2, #0 + 8004bc0: f04f 0300 mov.w r3, #0 + 8004bc4: 00eb lsls r3, r5, #3 + 8004bc6: ea43 7354 orr.w r3, r3, r4, lsr #29 + 8004bca: 00e2 lsls r2, r4, #3 + 8004bcc: 4614 mov r4, r2 + 8004bce: 461d mov r5, r3 + 8004bd0: 4643 mov r3, r8 + 8004bd2: 18e3 adds r3, r4, r3 + 8004bd4: 603b str r3, [r7, #0] + 8004bd6: 464b mov r3, r9 + 8004bd8: eb45 0303 adc.w r3, r5, r3 + 8004bdc: 607b str r3, [r7, #4] + 8004bde: f04f 0200 mov.w r2, #0 + 8004be2: f04f 0300 mov.w r3, #0 + 8004be6: e9d7 4500 ldrd r4, r5, [r7] + 8004bea: 4629 mov r1, r5 + 8004bec: 028b lsls r3, r1, #10 + 8004bee: 4621 mov r1, r4 + 8004bf0: ea43 5391 orr.w r3, r3, r1, lsr #22 + 8004bf4: 4621 mov r1, r4 + 8004bf6: 028a lsls r2, r1, #10 + 8004bf8: 4610 mov r0, r2 + 8004bfa: 4619 mov r1, r3 + 8004bfc: f8d7 30ac ldr.w r3, [r7, #172] @ 0xac + 8004c00: 2200 movs r2, #0 + 8004c02: 64bb str r3, [r7, #72] @ 0x48 + 8004c04: 64fa str r2, [r7, #76] @ 0x4c + 8004c06: e9d7 2312 ldrd r2, r3, [r7, #72] @ 0x48 + 8004c0a: f7fb fafb bl 8000204 <__aeabi_uldivmod> + 8004c0e: 4602 mov r2, r0 + 8004c10: 460b mov r3, r1 + 8004c12: 4613 mov r3, r2 + 8004c14: f8c7 30b4 str.w r3, [r7, #180] @ 0xb4 } pllr = ((RCC->PLLCFGR & RCC_PLLCFGR_PLLR) >> RCC_PLLCFGR_PLLR_Pos); - 8004a88: 4b0d ldr r3, [pc, #52] @ (8004ac0 ) - 8004a8a: 685b ldr r3, [r3, #4] - 8004a8c: 0f1b lsrs r3, r3, #28 - 8004a8e: f003 0307 and.w r3, r3, #7 - 8004a92: f8c7 30a4 str.w r3, [r7, #164] @ 0xa4 + 8004c18: 4b0d ldr r3, [pc, #52] @ (8004c50 ) + 8004c1a: 685b ldr r3, [r3, #4] + 8004c1c: 0f1b lsrs r3, r3, #28 + 8004c1e: f003 0307 and.w r3, r3, #7 + 8004c22: f8c7 30a4 str.w r3, [r7, #164] @ 0xa4 sysclockfreq = pllvco / pllr; - 8004a96: f8d7 20b4 ldr.w r2, [r7, #180] @ 0xb4 - 8004a9a: f8d7 30a4 ldr.w r3, [r7, #164] @ 0xa4 - 8004a9e: fbb2 f3f3 udiv r3, r2, r3 - 8004aa2: f8c7 30b0 str.w r3, [r7, #176] @ 0xb0 + 8004c26: f8d7 20b4 ldr.w r2, [r7, #180] @ 0xb4 + 8004c2a: f8d7 30a4 ldr.w r3, [r7, #164] @ 0xa4 + 8004c2e: fbb2 f3f3 udiv r3, r2, r3 + 8004c32: f8c7 30b0 str.w r3, [r7, #176] @ 0xb0 break; - 8004aa6: e003 b.n 8004ab0 + 8004c36: e003 b.n 8004c40 } default: { sysclockfreq = HSI_VALUE; - 8004aa8: 4b06 ldr r3, [pc, #24] @ (8004ac4 ) - 8004aaa: f8c7 30b0 str.w r3, [r7, #176] @ 0xb0 + 8004c38: 4b06 ldr r3, [pc, #24] @ (8004c54 ) + 8004c3a: f8c7 30b0 str.w r3, [r7, #176] @ 0xb0 break; - 8004aae: bf00 nop + 8004c3e: bf00 nop } } return sysclockfreq; - 8004ab0: f8d7 30b0 ldr.w r3, [r7, #176] @ 0xb0 + 8004c40: f8d7 30b0 ldr.w r3, [r7, #176] @ 0xb0 } - 8004ab4: 4618 mov r0, r3 - 8004ab6: 37b8 adds r7, #184 @ 0xb8 - 8004ab8: 46bd mov sp, r7 - 8004aba: e8bd 8fb0 ldmia.w sp!, {r4, r5, r7, r8, r9, sl, fp, pc} - 8004abe: bf00 nop - 8004ac0: 40023800 .word 0x40023800 - 8004ac4: 00f42400 .word 0x00f42400 + 8004c44: 4618 mov r0, r3 + 8004c46: 37b8 adds r7, #184 @ 0xb8 + 8004c48: 46bd mov sp, r7 + 8004c4a: e8bd 8fb0 ldmia.w sp!, {r4, r5, r7, r8, r9, sl, fp, pc} + 8004c4e: bf00 nop + 8004c50: 40023800 .word 0x40023800 + 8004c54: 00f42400 .word 0x00f42400 -08004ac8 : +08004c58 : * @note This function add the PLL/PLLR factor management during PLL configuration this feature * is only available in STM32F410xx/STM32F446xx/STM32F469xx/STM32F479xx/STM32F412Zx/STM32F412Vx/STM32F412Rx/STM32F412Cx devices * @retval HAL status */ HAL_StatusTypeDef HAL_RCC_OscConfig(const RCC_OscInitTypeDef *RCC_OscInitStruct) { - 8004ac8: b580 push {r7, lr} - 8004aca: b086 sub sp, #24 - 8004acc: af00 add r7, sp, #0 - 8004ace: 6078 str r0, [r7, #4] + 8004c58: b580 push {r7, lr} + 8004c5a: b086 sub sp, #24 + 8004c5c: af00 add r7, sp, #0 + 8004c5e: 6078 str r0, [r7, #4] uint32_t tickstart; uint32_t pll_config; /* Check Null pointer */ if (RCC_OscInitStruct == NULL) - 8004ad0: 687b ldr r3, [r7, #4] - 8004ad2: 2b00 cmp r3, #0 - 8004ad4: d101 bne.n 8004ada + 8004c60: 687b ldr r3, [r7, #4] + 8004c62: 2b00 cmp r3, #0 + 8004c64: d101 bne.n 8004c6a { return HAL_ERROR; - 8004ad6: 2301 movs r3, #1 - 8004ad8: e28d b.n 8004ff6 + 8004c66: 2301 movs r3, #1 + 8004c68: e28d b.n 8005186 } /* Check the parameters */ assert_param(IS_RCC_OSCILLATORTYPE(RCC_OscInitStruct->OscillatorType)); /*------------------------------- HSE Configuration ------------------------*/ if (((RCC_OscInitStruct->OscillatorType) & RCC_OSCILLATORTYPE_HSE) == RCC_OSCILLATORTYPE_HSE) - 8004ada: 687b ldr r3, [r7, #4] - 8004adc: 681b ldr r3, [r3, #0] - 8004ade: f003 0301 and.w r3, r3, #1 - 8004ae2: 2b00 cmp r3, #0 - 8004ae4: f000 8083 beq.w 8004bee + 8004c6a: 687b ldr r3, [r7, #4] + 8004c6c: 681b ldr r3, [r3, #0] + 8004c6e: f003 0301 and.w r3, r3, #1 + 8004c72: 2b00 cmp r3, #0 + 8004c74: f000 8083 beq.w 8004d7e { /* Check the parameters */ assert_param(IS_RCC_HSE(RCC_OscInitStruct->HSEState)); /* When the HSE is used as system clock or clock source for PLL in these cases HSE will not disabled */ #if defined(STM32F446xx) if ((__HAL_RCC_GET_SYSCLK_SOURCE() == RCC_CFGR_SWS_HSE) - 8004ae8: 4b94 ldr r3, [pc, #592] @ (8004d3c ) - 8004aea: 689b ldr r3, [r3, #8] - 8004aec: f003 030c and.w r3, r3, #12 - 8004af0: 2b04 cmp r3, #4 - 8004af2: d019 beq.n 8004b28 + 8004c78: 4b94 ldr r3, [pc, #592] @ (8004ecc ) + 8004c7a: 689b ldr r3, [r3, #8] + 8004c7c: f003 030c and.w r3, r3, #12 + 8004c80: 2b04 cmp r3, #4 + 8004c82: d019 beq.n 8004cb8 || \ ((__HAL_RCC_GET_SYSCLK_SOURCE() == RCC_CFGR_SWS_PLL) && ((RCC->PLLCFGR & RCC_PLLCFGR_PLLSRC) == RCC_PLLCFGR_PLLSRC_HSE)) || \ - 8004af4: 4b91 ldr r3, [pc, #580] @ (8004d3c ) - 8004af6: 689b ldr r3, [r3, #8] - 8004af8: f003 030c and.w r3, r3, #12 + 8004c84: 4b91 ldr r3, [pc, #580] @ (8004ecc ) + 8004c86: 689b ldr r3, [r3, #8] + 8004c88: f003 030c and.w r3, r3, #12 || \ - 8004afc: 2b08 cmp r3, #8 - 8004afe: d106 bne.n 8004b0e + 8004c8c: 2b08 cmp r3, #8 + 8004c8e: d106 bne.n 8004c9e ((__HAL_RCC_GET_SYSCLK_SOURCE() == RCC_CFGR_SWS_PLL) && ((RCC->PLLCFGR & RCC_PLLCFGR_PLLSRC) == RCC_PLLCFGR_PLLSRC_HSE)) || \ - 8004b00: 4b8e ldr r3, [pc, #568] @ (8004d3c ) - 8004b02: 685b ldr r3, [r3, #4] - 8004b04: f403 0380 and.w r3, r3, #4194304 @ 0x400000 - 8004b08: f5b3 0f80 cmp.w r3, #4194304 @ 0x400000 - 8004b0c: d00c beq.n 8004b28 + 8004c90: 4b8e ldr r3, [pc, #568] @ (8004ecc ) + 8004c92: 685b ldr r3, [r3, #4] + 8004c94: f403 0380 and.w r3, r3, #4194304 @ 0x400000 + 8004c98: f5b3 0f80 cmp.w r3, #4194304 @ 0x400000 + 8004c9c: d00c beq.n 8004cb8 ((__HAL_RCC_GET_SYSCLK_SOURCE() == RCC_CFGR_SWS_PLLR) && ((RCC->PLLCFGR & RCC_PLLCFGR_PLLSRC) == RCC_PLLCFGR_PLLSRC_HSE))) - 8004b0e: 4b8b ldr r3, [pc, #556] @ (8004d3c ) - 8004b10: 689b ldr r3, [r3, #8] - 8004b12: f003 030c and.w r3, r3, #12 + 8004c9e: 4b8b ldr r3, [pc, #556] @ (8004ecc ) + 8004ca0: 689b ldr r3, [r3, #8] + 8004ca2: f003 030c and.w r3, r3, #12 ((__HAL_RCC_GET_SYSCLK_SOURCE() == RCC_CFGR_SWS_PLL) && ((RCC->PLLCFGR & RCC_PLLCFGR_PLLSRC) == RCC_PLLCFGR_PLLSRC_HSE)) || \ - 8004b16: 2b0c cmp r3, #12 - 8004b18: d112 bne.n 8004b40 + 8004ca6: 2b0c cmp r3, #12 + 8004ca8: d112 bne.n 8004cd0 ((__HAL_RCC_GET_SYSCLK_SOURCE() == RCC_CFGR_SWS_PLLR) && ((RCC->PLLCFGR & RCC_PLLCFGR_PLLSRC) == RCC_PLLCFGR_PLLSRC_HSE))) - 8004b1a: 4b88 ldr r3, [pc, #544] @ (8004d3c ) - 8004b1c: 685b ldr r3, [r3, #4] - 8004b1e: f403 0380 and.w r3, r3, #4194304 @ 0x400000 - 8004b22: f5b3 0f80 cmp.w r3, #4194304 @ 0x400000 - 8004b26: d10b bne.n 8004b40 + 8004caa: 4b88 ldr r3, [pc, #544] @ (8004ecc ) + 8004cac: 685b ldr r3, [r3, #4] + 8004cae: f403 0380 and.w r3, r3, #4194304 @ 0x400000 + 8004cb2: f5b3 0f80 cmp.w r3, #4194304 @ 0x400000 + 8004cb6: d10b bne.n 8004cd0 if ((__HAL_RCC_GET_SYSCLK_SOURCE() == RCC_CFGR_SWS_HSE) || \ ((__HAL_RCC_GET_SYSCLK_SOURCE() == RCC_CFGR_SWS_PLL) && ((RCC->PLLCFGR & RCC_PLLCFGR_PLLSRC) == RCC_PLLCFGR_PLLSRC_HSE))) #endif /* STM32F446xx */ { if ((__HAL_RCC_GET_FLAG(RCC_FLAG_HSERDY) != RESET) && (RCC_OscInitStruct->HSEState == RCC_HSE_OFF)) - 8004b28: 4b84 ldr r3, [pc, #528] @ (8004d3c ) - 8004b2a: 681b ldr r3, [r3, #0] - 8004b2c: f403 3300 and.w r3, r3, #131072 @ 0x20000 - 8004b30: 2b00 cmp r3, #0 - 8004b32: d05b beq.n 8004bec - 8004b34: 687b ldr r3, [r7, #4] - 8004b36: 685b ldr r3, [r3, #4] - 8004b38: 2b00 cmp r3, #0 - 8004b3a: d157 bne.n 8004bec + 8004cb8: 4b84 ldr r3, [pc, #528] @ (8004ecc ) + 8004cba: 681b ldr r3, [r3, #0] + 8004cbc: f403 3300 and.w r3, r3, #131072 @ 0x20000 + 8004cc0: 2b00 cmp r3, #0 + 8004cc2: d05b beq.n 8004d7c + 8004cc4: 687b ldr r3, [r7, #4] + 8004cc6: 685b ldr r3, [r3, #4] + 8004cc8: 2b00 cmp r3, #0 + 8004cca: d157 bne.n 8004d7c { return HAL_ERROR; - 8004b3c: 2301 movs r3, #1 - 8004b3e: e25a b.n 8004ff6 + 8004ccc: 2301 movs r3, #1 + 8004cce: e25a b.n 8005186 } } else { /* Set the new HSE configuration ---------------------------------------*/ __HAL_RCC_HSE_CONFIG(RCC_OscInitStruct->HSEState); - 8004b40: 687b ldr r3, [r7, #4] - 8004b42: 685b ldr r3, [r3, #4] - 8004b44: f5b3 3f80 cmp.w r3, #65536 @ 0x10000 - 8004b48: d106 bne.n 8004b58 - 8004b4a: 4b7c ldr r3, [pc, #496] @ (8004d3c ) - 8004b4c: 681b ldr r3, [r3, #0] - 8004b4e: 4a7b ldr r2, [pc, #492] @ (8004d3c ) - 8004b50: f443 3380 orr.w r3, r3, #65536 @ 0x10000 - 8004b54: 6013 str r3, [r2, #0] - 8004b56: e01d b.n 8004b94 - 8004b58: 687b ldr r3, [r7, #4] - 8004b5a: 685b ldr r3, [r3, #4] - 8004b5c: f5b3 2fa0 cmp.w r3, #327680 @ 0x50000 - 8004b60: d10c bne.n 8004b7c - 8004b62: 4b76 ldr r3, [pc, #472] @ (8004d3c ) - 8004b64: 681b ldr r3, [r3, #0] - 8004b66: 4a75 ldr r2, [pc, #468] @ (8004d3c ) - 8004b68: f443 2380 orr.w r3, r3, #262144 @ 0x40000 - 8004b6c: 6013 str r3, [r2, #0] - 8004b6e: 4b73 ldr r3, [pc, #460] @ (8004d3c ) - 8004b70: 681b ldr r3, [r3, #0] - 8004b72: 4a72 ldr r2, [pc, #456] @ (8004d3c ) - 8004b74: f443 3380 orr.w r3, r3, #65536 @ 0x10000 - 8004b78: 6013 str r3, [r2, #0] - 8004b7a: e00b b.n 8004b94 - 8004b7c: 4b6f ldr r3, [pc, #444] @ (8004d3c ) - 8004b7e: 681b ldr r3, [r3, #0] - 8004b80: 4a6e ldr r2, [pc, #440] @ (8004d3c ) - 8004b82: f423 3380 bic.w r3, r3, #65536 @ 0x10000 - 8004b86: 6013 str r3, [r2, #0] - 8004b88: 4b6c ldr r3, [pc, #432] @ (8004d3c ) - 8004b8a: 681b ldr r3, [r3, #0] - 8004b8c: 4a6b ldr r2, [pc, #428] @ (8004d3c ) - 8004b8e: f423 2380 bic.w r3, r3, #262144 @ 0x40000 - 8004b92: 6013 str r3, [r2, #0] + 8004cd0: 687b ldr r3, [r7, #4] + 8004cd2: 685b ldr r3, [r3, #4] + 8004cd4: f5b3 3f80 cmp.w r3, #65536 @ 0x10000 + 8004cd8: d106 bne.n 8004ce8 + 8004cda: 4b7c ldr r3, [pc, #496] @ (8004ecc ) + 8004cdc: 681b ldr r3, [r3, #0] + 8004cde: 4a7b ldr r2, [pc, #492] @ (8004ecc ) + 8004ce0: f443 3380 orr.w r3, r3, #65536 @ 0x10000 + 8004ce4: 6013 str r3, [r2, #0] + 8004ce6: e01d b.n 8004d24 + 8004ce8: 687b ldr r3, [r7, #4] + 8004cea: 685b ldr r3, [r3, #4] + 8004cec: f5b3 2fa0 cmp.w r3, #327680 @ 0x50000 + 8004cf0: d10c bne.n 8004d0c + 8004cf2: 4b76 ldr r3, [pc, #472] @ (8004ecc ) + 8004cf4: 681b ldr r3, [r3, #0] + 8004cf6: 4a75 ldr r2, [pc, #468] @ (8004ecc ) + 8004cf8: f443 2380 orr.w r3, r3, #262144 @ 0x40000 + 8004cfc: 6013 str r3, [r2, #0] + 8004cfe: 4b73 ldr r3, [pc, #460] @ (8004ecc ) + 8004d00: 681b ldr r3, [r3, #0] + 8004d02: 4a72 ldr r2, [pc, #456] @ (8004ecc ) + 8004d04: f443 3380 orr.w r3, r3, #65536 @ 0x10000 + 8004d08: 6013 str r3, [r2, #0] + 8004d0a: e00b b.n 8004d24 + 8004d0c: 4b6f ldr r3, [pc, #444] @ (8004ecc ) + 8004d0e: 681b ldr r3, [r3, #0] + 8004d10: 4a6e ldr r2, [pc, #440] @ (8004ecc ) + 8004d12: f423 3380 bic.w r3, r3, #65536 @ 0x10000 + 8004d16: 6013 str r3, [r2, #0] + 8004d18: 4b6c ldr r3, [pc, #432] @ (8004ecc ) + 8004d1a: 681b ldr r3, [r3, #0] + 8004d1c: 4a6b ldr r2, [pc, #428] @ (8004ecc ) + 8004d1e: f423 2380 bic.w r3, r3, #262144 @ 0x40000 + 8004d22: 6013 str r3, [r2, #0] /* Check the HSE State */ if ((RCC_OscInitStruct->HSEState) != RCC_HSE_OFF) - 8004b94: 687b ldr r3, [r7, #4] - 8004b96: 685b ldr r3, [r3, #4] - 8004b98: 2b00 cmp r3, #0 - 8004b9a: d013 beq.n 8004bc4 + 8004d24: 687b ldr r3, [r7, #4] + 8004d26: 685b ldr r3, [r3, #4] + 8004d28: 2b00 cmp r3, #0 + 8004d2a: d013 beq.n 8004d54 { /* Get Start Tick*/ tickstart = HAL_GetTick(); - 8004b9c: f7fc fe4c bl 8001838 - 8004ba0: 6138 str r0, [r7, #16] + 8004d2c: f7fc fe4c bl 80019c8 + 8004d30: 6138 str r0, [r7, #16] /* Wait till HSE is ready */ while (__HAL_RCC_GET_FLAG(RCC_FLAG_HSERDY) == RESET) - 8004ba2: e008 b.n 8004bb6 + 8004d32: e008 b.n 8004d46 { if ((HAL_GetTick() - tickstart) > HSE_TIMEOUT_VALUE) - 8004ba4: f7fc fe48 bl 8001838 - 8004ba8: 4602 mov r2, r0 - 8004baa: 693b ldr r3, [r7, #16] - 8004bac: 1ad3 subs r3, r2, r3 - 8004bae: 2b64 cmp r3, #100 @ 0x64 - 8004bb0: d901 bls.n 8004bb6 + 8004d34: f7fc fe48 bl 80019c8 + 8004d38: 4602 mov r2, r0 + 8004d3a: 693b ldr r3, [r7, #16] + 8004d3c: 1ad3 subs r3, r2, r3 + 8004d3e: 2b64 cmp r3, #100 @ 0x64 + 8004d40: d901 bls.n 8004d46 { return HAL_TIMEOUT; - 8004bb2: 2303 movs r3, #3 - 8004bb4: e21f b.n 8004ff6 + 8004d42: 2303 movs r3, #3 + 8004d44: e21f b.n 8005186 while (__HAL_RCC_GET_FLAG(RCC_FLAG_HSERDY) == RESET) - 8004bb6: 4b61 ldr r3, [pc, #388] @ (8004d3c ) - 8004bb8: 681b ldr r3, [r3, #0] - 8004bba: f403 3300 and.w r3, r3, #131072 @ 0x20000 - 8004bbe: 2b00 cmp r3, #0 - 8004bc0: d0f0 beq.n 8004ba4 - 8004bc2: e014 b.n 8004bee + 8004d46: 4b61 ldr r3, [pc, #388] @ (8004ecc ) + 8004d48: 681b ldr r3, [r3, #0] + 8004d4a: f403 3300 and.w r3, r3, #131072 @ 0x20000 + 8004d4e: 2b00 cmp r3, #0 + 8004d50: d0f0 beq.n 8004d34 + 8004d52: e014 b.n 8004d7e } } else { /* Get Start Tick*/ tickstart = HAL_GetTick(); - 8004bc4: f7fc fe38 bl 8001838 - 8004bc8: 6138 str r0, [r7, #16] + 8004d54: f7fc fe38 bl 80019c8 + 8004d58: 6138 str r0, [r7, #16] /* Wait till HSE is bypassed or disabled */ while (__HAL_RCC_GET_FLAG(RCC_FLAG_HSERDY) != RESET) - 8004bca: e008 b.n 8004bde + 8004d5a: e008 b.n 8004d6e { if ((HAL_GetTick() - tickstart) > HSE_TIMEOUT_VALUE) - 8004bcc: f7fc fe34 bl 8001838 - 8004bd0: 4602 mov r2, r0 - 8004bd2: 693b ldr r3, [r7, #16] - 8004bd4: 1ad3 subs r3, r2, r3 - 8004bd6: 2b64 cmp r3, #100 @ 0x64 - 8004bd8: d901 bls.n 8004bde + 8004d5c: f7fc fe34 bl 80019c8 + 8004d60: 4602 mov r2, r0 + 8004d62: 693b ldr r3, [r7, #16] + 8004d64: 1ad3 subs r3, r2, r3 + 8004d66: 2b64 cmp r3, #100 @ 0x64 + 8004d68: d901 bls.n 8004d6e { return HAL_TIMEOUT; - 8004bda: 2303 movs r3, #3 - 8004bdc: e20b b.n 8004ff6 + 8004d6a: 2303 movs r3, #3 + 8004d6c: e20b b.n 8005186 while (__HAL_RCC_GET_FLAG(RCC_FLAG_HSERDY) != RESET) - 8004bde: 4b57 ldr r3, [pc, #348] @ (8004d3c ) - 8004be0: 681b ldr r3, [r3, #0] - 8004be2: f403 3300 and.w r3, r3, #131072 @ 0x20000 - 8004be6: 2b00 cmp r3, #0 - 8004be8: d1f0 bne.n 8004bcc - 8004bea: e000 b.n 8004bee + 8004d6e: 4b57 ldr r3, [pc, #348] @ (8004ecc ) + 8004d70: 681b ldr r3, [r3, #0] + 8004d72: f403 3300 and.w r3, r3, #131072 @ 0x20000 + 8004d76: 2b00 cmp r3, #0 + 8004d78: d1f0 bne.n 8004d5c + 8004d7a: e000 b.n 8004d7e if ((__HAL_RCC_GET_FLAG(RCC_FLAG_HSERDY) != RESET) && (RCC_OscInitStruct->HSEState == RCC_HSE_OFF)) - 8004bec: bf00 nop + 8004d7c: bf00 nop } } } } /*----------------------------- HSI Configuration --------------------------*/ if (((RCC_OscInitStruct->OscillatorType) & RCC_OSCILLATORTYPE_HSI) == RCC_OSCILLATORTYPE_HSI) - 8004bee: 687b ldr r3, [r7, #4] - 8004bf0: 681b ldr r3, [r3, #0] - 8004bf2: f003 0302 and.w r3, r3, #2 - 8004bf6: 2b00 cmp r3, #0 - 8004bf8: d06f beq.n 8004cda + 8004d7e: 687b ldr r3, [r7, #4] + 8004d80: 681b ldr r3, [r3, #0] + 8004d82: f003 0302 and.w r3, r3, #2 + 8004d86: 2b00 cmp r3, #0 + 8004d88: d06f beq.n 8004e6a 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 defined(STM32F446xx) if ((__HAL_RCC_GET_SYSCLK_SOURCE() == RCC_CFGR_SWS_HSI) - 8004bfa: 4b50 ldr r3, [pc, #320] @ (8004d3c ) - 8004bfc: 689b ldr r3, [r3, #8] - 8004bfe: f003 030c and.w r3, r3, #12 - 8004c02: 2b00 cmp r3, #0 - 8004c04: d017 beq.n 8004c36 + 8004d8a: 4b50 ldr r3, [pc, #320] @ (8004ecc ) + 8004d8c: 689b ldr r3, [r3, #8] + 8004d8e: f003 030c and.w r3, r3, #12 + 8004d92: 2b00 cmp r3, #0 + 8004d94: d017 beq.n 8004dc6 || \ ((__HAL_RCC_GET_SYSCLK_SOURCE() == RCC_CFGR_SWS_PLL) && ((RCC->PLLCFGR & RCC_PLLCFGR_PLLSRC) == RCC_PLLCFGR_PLLSRC_HSI)) || \ - 8004c06: 4b4d ldr r3, [pc, #308] @ (8004d3c ) - 8004c08: 689b ldr r3, [r3, #8] - 8004c0a: f003 030c and.w r3, r3, #12 + 8004d96: 4b4d ldr r3, [pc, #308] @ (8004ecc ) + 8004d98: 689b ldr r3, [r3, #8] + 8004d9a: f003 030c and.w r3, r3, #12 || \ - 8004c0e: 2b08 cmp r3, #8 - 8004c10: d105 bne.n 8004c1e + 8004d9e: 2b08 cmp r3, #8 + 8004da0: d105 bne.n 8004dae ((__HAL_RCC_GET_SYSCLK_SOURCE() == RCC_CFGR_SWS_PLL) && ((RCC->PLLCFGR & RCC_PLLCFGR_PLLSRC) == RCC_PLLCFGR_PLLSRC_HSI)) || \ - 8004c12: 4b4a ldr r3, [pc, #296] @ (8004d3c ) - 8004c14: 685b ldr r3, [r3, #4] - 8004c16: f403 0380 and.w r3, r3, #4194304 @ 0x400000 - 8004c1a: 2b00 cmp r3, #0 - 8004c1c: d00b beq.n 8004c36 + 8004da2: 4b4a ldr r3, [pc, #296] @ (8004ecc ) + 8004da4: 685b ldr r3, [r3, #4] + 8004da6: f403 0380 and.w r3, r3, #4194304 @ 0x400000 + 8004daa: 2b00 cmp r3, #0 + 8004dac: d00b beq.n 8004dc6 ((__HAL_RCC_GET_SYSCLK_SOURCE() == RCC_CFGR_SWS_PLLR) && ((RCC->PLLCFGR & RCC_PLLCFGR_PLLSRC) == RCC_PLLCFGR_PLLSRC_HSI))) - 8004c1e: 4b47 ldr r3, [pc, #284] @ (8004d3c ) - 8004c20: 689b ldr r3, [r3, #8] - 8004c22: f003 030c and.w r3, r3, #12 + 8004dae: 4b47 ldr r3, [pc, #284] @ (8004ecc ) + 8004db0: 689b ldr r3, [r3, #8] + 8004db2: f003 030c and.w r3, r3, #12 ((__HAL_RCC_GET_SYSCLK_SOURCE() == RCC_CFGR_SWS_PLL) && ((RCC->PLLCFGR & RCC_PLLCFGR_PLLSRC) == RCC_PLLCFGR_PLLSRC_HSI)) || \ - 8004c26: 2b0c cmp r3, #12 - 8004c28: d11c bne.n 8004c64 + 8004db6: 2b0c cmp r3, #12 + 8004db8: d11c bne.n 8004df4 ((__HAL_RCC_GET_SYSCLK_SOURCE() == RCC_CFGR_SWS_PLLR) && ((RCC->PLLCFGR & RCC_PLLCFGR_PLLSRC) == RCC_PLLCFGR_PLLSRC_HSI))) - 8004c2a: 4b44 ldr r3, [pc, #272] @ (8004d3c ) - 8004c2c: 685b ldr r3, [r3, #4] - 8004c2e: f403 0380 and.w r3, r3, #4194304 @ 0x400000 - 8004c32: 2b00 cmp r3, #0 - 8004c34: d116 bne.n 8004c64 + 8004dba: 4b44 ldr r3, [pc, #272] @ (8004ecc ) + 8004dbc: 685b ldr r3, [r3, #4] + 8004dbe: f403 0380 and.w r3, r3, #4194304 @ 0x400000 + 8004dc2: 2b00 cmp r3, #0 + 8004dc4: d116 bne.n 8004df4 || \ ((__HAL_RCC_GET_SYSCLK_SOURCE() == RCC_CFGR_SWS_PLL) && ((RCC->PLLCFGR & RCC_PLLCFGR_PLLSRC) == RCC_PLLCFGR_PLLSRC_HSI))) #endif /* STM32F446xx */ { /* 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)) - 8004c36: 4b41 ldr r3, [pc, #260] @ (8004d3c ) - 8004c38: 681b ldr r3, [r3, #0] - 8004c3a: f003 0302 and.w r3, r3, #2 - 8004c3e: 2b00 cmp r3, #0 - 8004c40: d005 beq.n 8004c4e - 8004c42: 687b ldr r3, [r7, #4] - 8004c44: 68db ldr r3, [r3, #12] - 8004c46: 2b01 cmp r3, #1 - 8004c48: d001 beq.n 8004c4e + 8004dc6: 4b41 ldr r3, [pc, #260] @ (8004ecc ) + 8004dc8: 681b ldr r3, [r3, #0] + 8004dca: f003 0302 and.w r3, r3, #2 + 8004dce: 2b00 cmp r3, #0 + 8004dd0: d005 beq.n 8004dde + 8004dd2: 687b ldr r3, [r7, #4] + 8004dd4: 68db ldr r3, [r3, #12] + 8004dd6: 2b01 cmp r3, #1 + 8004dd8: d001 beq.n 8004dde { return HAL_ERROR; - 8004c4a: 2301 movs r3, #1 - 8004c4c: e1d3 b.n 8004ff6 + 8004dda: 2301 movs r3, #1 + 8004ddc: e1d3 b.n 8005186 } /* Otherwise, just the calibration is allowed */ else { /* Adjusts the Internal High Speed oscillator (HSI) calibration value.*/ __HAL_RCC_HSI_CALIBRATIONVALUE_ADJUST(RCC_OscInitStruct->HSICalibrationValue); - 8004c4e: 4b3b ldr r3, [pc, #236] @ (8004d3c ) - 8004c50: 681b ldr r3, [r3, #0] - 8004c52: f023 02f8 bic.w r2, r3, #248 @ 0xf8 - 8004c56: 687b ldr r3, [r7, #4] - 8004c58: 691b ldr r3, [r3, #16] - 8004c5a: 00db lsls r3, r3, #3 - 8004c5c: 4937 ldr r1, [pc, #220] @ (8004d3c ) - 8004c5e: 4313 orrs r3, r2 - 8004c60: 600b str r3, [r1, #0] + 8004dde: 4b3b ldr r3, [pc, #236] @ (8004ecc ) + 8004de0: 681b ldr r3, [r3, #0] + 8004de2: f023 02f8 bic.w r2, r3, #248 @ 0xf8 + 8004de6: 687b ldr r3, [r7, #4] + 8004de8: 691b ldr r3, [r3, #16] + 8004dea: 00db lsls r3, r3, #3 + 8004dec: 4937 ldr r1, [pc, #220] @ (8004ecc ) + 8004dee: 4313 orrs r3, r2 + 8004df0: 600b str r3, [r1, #0] if ((__HAL_RCC_GET_FLAG(RCC_FLAG_HSIRDY) != RESET) && (RCC_OscInitStruct->HSIState != RCC_HSI_ON)) - 8004c62: e03a b.n 8004cda + 8004df2: e03a b.n 8004e6a } } else { /* Check the HSI State */ if ((RCC_OscInitStruct->HSIState) != RCC_HSI_OFF) - 8004c64: 687b ldr r3, [r7, #4] - 8004c66: 68db ldr r3, [r3, #12] - 8004c68: 2b00 cmp r3, #0 - 8004c6a: d020 beq.n 8004cae + 8004df4: 687b ldr r3, [r7, #4] + 8004df6: 68db ldr r3, [r3, #12] + 8004df8: 2b00 cmp r3, #0 + 8004dfa: d020 beq.n 8004e3e { /* Enable the Internal High Speed oscillator (HSI). */ __HAL_RCC_HSI_ENABLE(); - 8004c6c: 4b34 ldr r3, [pc, #208] @ (8004d40 ) - 8004c6e: 2201 movs r2, #1 - 8004c70: 601a str r2, [r3, #0] + 8004dfc: 4b34 ldr r3, [pc, #208] @ (8004ed0 ) + 8004dfe: 2201 movs r2, #1 + 8004e00: 601a str r2, [r3, #0] /* Get Start Tick*/ tickstart = HAL_GetTick(); - 8004c72: f7fc fde1 bl 8001838 - 8004c76: 6138 str r0, [r7, #16] + 8004e02: f7fc fde1 bl 80019c8 + 8004e06: 6138 str r0, [r7, #16] /* Wait till HSI is ready */ while (__HAL_RCC_GET_FLAG(RCC_FLAG_HSIRDY) == RESET) - 8004c78: e008 b.n 8004c8c + 8004e08: e008 b.n 8004e1c { if ((HAL_GetTick() - tickstart) > HSI_TIMEOUT_VALUE) - 8004c7a: f7fc fddd bl 8001838 - 8004c7e: 4602 mov r2, r0 - 8004c80: 693b ldr r3, [r7, #16] - 8004c82: 1ad3 subs r3, r2, r3 - 8004c84: 2b02 cmp r3, #2 - 8004c86: d901 bls.n 8004c8c + 8004e0a: f7fc fddd bl 80019c8 + 8004e0e: 4602 mov r2, r0 + 8004e10: 693b ldr r3, [r7, #16] + 8004e12: 1ad3 subs r3, r2, r3 + 8004e14: 2b02 cmp r3, #2 + 8004e16: d901 bls.n 8004e1c { return HAL_TIMEOUT; - 8004c88: 2303 movs r3, #3 - 8004c8a: e1b4 b.n 8004ff6 + 8004e18: 2303 movs r3, #3 + 8004e1a: e1b4 b.n 8005186 while (__HAL_RCC_GET_FLAG(RCC_FLAG_HSIRDY) == RESET) - 8004c8c: 4b2b ldr r3, [pc, #172] @ (8004d3c ) - 8004c8e: 681b ldr r3, [r3, #0] - 8004c90: f003 0302 and.w r3, r3, #2 - 8004c94: 2b00 cmp r3, #0 - 8004c96: d0f0 beq.n 8004c7a + 8004e1c: 4b2b ldr r3, [pc, #172] @ (8004ecc ) + 8004e1e: 681b ldr r3, [r3, #0] + 8004e20: f003 0302 and.w r3, r3, #2 + 8004e24: 2b00 cmp r3, #0 + 8004e26: d0f0 beq.n 8004e0a } } /* Adjusts the Internal High Speed oscillator (HSI) calibration value.*/ __HAL_RCC_HSI_CALIBRATIONVALUE_ADJUST(RCC_OscInitStruct->HSICalibrationValue); - 8004c98: 4b28 ldr r3, [pc, #160] @ (8004d3c ) - 8004c9a: 681b ldr r3, [r3, #0] - 8004c9c: f023 02f8 bic.w r2, r3, #248 @ 0xf8 - 8004ca0: 687b ldr r3, [r7, #4] - 8004ca2: 691b ldr r3, [r3, #16] - 8004ca4: 00db lsls r3, r3, #3 - 8004ca6: 4925 ldr r1, [pc, #148] @ (8004d3c ) - 8004ca8: 4313 orrs r3, r2 - 8004caa: 600b str r3, [r1, #0] - 8004cac: e015 b.n 8004cda + 8004e28: 4b28 ldr r3, [pc, #160] @ (8004ecc ) + 8004e2a: 681b ldr r3, [r3, #0] + 8004e2c: f023 02f8 bic.w r2, r3, #248 @ 0xf8 + 8004e30: 687b ldr r3, [r7, #4] + 8004e32: 691b ldr r3, [r3, #16] + 8004e34: 00db lsls r3, r3, #3 + 8004e36: 4925 ldr r1, [pc, #148] @ (8004ecc ) + 8004e38: 4313 orrs r3, r2 + 8004e3a: 600b str r3, [r1, #0] + 8004e3c: e015 b.n 8004e6a } else { /* Disable the Internal High Speed oscillator (HSI). */ __HAL_RCC_HSI_DISABLE(); - 8004cae: 4b24 ldr r3, [pc, #144] @ (8004d40 ) - 8004cb0: 2200 movs r2, #0 - 8004cb2: 601a str r2, [r3, #0] + 8004e3e: 4b24 ldr r3, [pc, #144] @ (8004ed0 ) + 8004e40: 2200 movs r2, #0 + 8004e42: 601a str r2, [r3, #0] /* Get Start Tick*/ tickstart = HAL_GetTick(); - 8004cb4: f7fc fdc0 bl 8001838 - 8004cb8: 6138 str r0, [r7, #16] + 8004e44: f7fc fdc0 bl 80019c8 + 8004e48: 6138 str r0, [r7, #16] /* Wait till HSI is ready */ while (__HAL_RCC_GET_FLAG(RCC_FLAG_HSIRDY) != RESET) - 8004cba: e008 b.n 8004cce + 8004e4a: e008 b.n 8004e5e { if ((HAL_GetTick() - tickstart) > HSI_TIMEOUT_VALUE) - 8004cbc: f7fc fdbc bl 8001838 - 8004cc0: 4602 mov r2, r0 - 8004cc2: 693b ldr r3, [r7, #16] - 8004cc4: 1ad3 subs r3, r2, r3 - 8004cc6: 2b02 cmp r3, #2 - 8004cc8: d901 bls.n 8004cce + 8004e4c: f7fc fdbc bl 80019c8 + 8004e50: 4602 mov r2, r0 + 8004e52: 693b ldr r3, [r7, #16] + 8004e54: 1ad3 subs r3, r2, r3 + 8004e56: 2b02 cmp r3, #2 + 8004e58: d901 bls.n 8004e5e { return HAL_TIMEOUT; - 8004cca: 2303 movs r3, #3 - 8004ccc: e193 b.n 8004ff6 + 8004e5a: 2303 movs r3, #3 + 8004e5c: e193 b.n 8005186 while (__HAL_RCC_GET_FLAG(RCC_FLAG_HSIRDY) != RESET) - 8004cce: 4b1b ldr r3, [pc, #108] @ (8004d3c ) - 8004cd0: 681b ldr r3, [r3, #0] - 8004cd2: f003 0302 and.w r3, r3, #2 - 8004cd6: 2b00 cmp r3, #0 - 8004cd8: d1f0 bne.n 8004cbc + 8004e5e: 4b1b ldr r3, [pc, #108] @ (8004ecc ) + 8004e60: 681b ldr r3, [r3, #0] + 8004e62: f003 0302 and.w r3, r3, #2 + 8004e66: 2b00 cmp r3, #0 + 8004e68: d1f0 bne.n 8004e4c } } } } /*------------------------------ LSI Configuration -------------------------*/ if (((RCC_OscInitStruct->OscillatorType) & RCC_OSCILLATORTYPE_LSI) == RCC_OSCILLATORTYPE_LSI) - 8004cda: 687b ldr r3, [r7, #4] - 8004cdc: 681b ldr r3, [r3, #0] - 8004cde: f003 0308 and.w r3, r3, #8 - 8004ce2: 2b00 cmp r3, #0 - 8004ce4: d036 beq.n 8004d54 + 8004e6a: 687b ldr r3, [r7, #4] + 8004e6c: 681b ldr r3, [r3, #0] + 8004e6e: f003 0308 and.w r3, r3, #8 + 8004e72: 2b00 cmp r3, #0 + 8004e74: d036 beq.n 8004ee4 { /* Check the parameters */ assert_param(IS_RCC_LSI(RCC_OscInitStruct->LSIState)); /* Check the LSI State */ if ((RCC_OscInitStruct->LSIState) != RCC_LSI_OFF) - 8004ce6: 687b ldr r3, [r7, #4] - 8004ce8: 695b ldr r3, [r3, #20] - 8004cea: 2b00 cmp r3, #0 - 8004cec: d016 beq.n 8004d1c + 8004e76: 687b ldr r3, [r7, #4] + 8004e78: 695b ldr r3, [r3, #20] + 8004e7a: 2b00 cmp r3, #0 + 8004e7c: d016 beq.n 8004eac { /* Enable the Internal Low Speed oscillator (LSI). */ __HAL_RCC_LSI_ENABLE(); - 8004cee: 4b15 ldr r3, [pc, #84] @ (8004d44 ) - 8004cf0: 2201 movs r2, #1 - 8004cf2: 601a str r2, [r3, #0] + 8004e7e: 4b15 ldr r3, [pc, #84] @ (8004ed4 ) + 8004e80: 2201 movs r2, #1 + 8004e82: 601a str r2, [r3, #0] /* Get Start Tick*/ tickstart = HAL_GetTick(); - 8004cf4: f7fc fda0 bl 8001838 - 8004cf8: 6138 str r0, [r7, #16] + 8004e84: f7fc fda0 bl 80019c8 + 8004e88: 6138 str r0, [r7, #16] /* Wait till LSI is ready */ while (__HAL_RCC_GET_FLAG(RCC_FLAG_LSIRDY) == RESET) - 8004cfa: e008 b.n 8004d0e + 8004e8a: e008 b.n 8004e9e { if ((HAL_GetTick() - tickstart) > LSI_TIMEOUT_VALUE) - 8004cfc: f7fc fd9c bl 8001838 - 8004d00: 4602 mov r2, r0 - 8004d02: 693b ldr r3, [r7, #16] - 8004d04: 1ad3 subs r3, r2, r3 - 8004d06: 2b02 cmp r3, #2 - 8004d08: d901 bls.n 8004d0e + 8004e8c: f7fc fd9c bl 80019c8 + 8004e90: 4602 mov r2, r0 + 8004e92: 693b ldr r3, [r7, #16] + 8004e94: 1ad3 subs r3, r2, r3 + 8004e96: 2b02 cmp r3, #2 + 8004e98: d901 bls.n 8004e9e { return HAL_TIMEOUT; - 8004d0a: 2303 movs r3, #3 - 8004d0c: e173 b.n 8004ff6 + 8004e9a: 2303 movs r3, #3 + 8004e9c: e173 b.n 8005186 while (__HAL_RCC_GET_FLAG(RCC_FLAG_LSIRDY) == RESET) - 8004d0e: 4b0b ldr r3, [pc, #44] @ (8004d3c ) - 8004d10: 6f5b ldr r3, [r3, #116] @ 0x74 - 8004d12: f003 0302 and.w r3, r3, #2 - 8004d16: 2b00 cmp r3, #0 - 8004d18: d0f0 beq.n 8004cfc - 8004d1a: e01b b.n 8004d54 + 8004e9e: 4b0b ldr r3, [pc, #44] @ (8004ecc ) + 8004ea0: 6f5b ldr r3, [r3, #116] @ 0x74 + 8004ea2: f003 0302 and.w r3, r3, #2 + 8004ea6: 2b00 cmp r3, #0 + 8004ea8: d0f0 beq.n 8004e8c + 8004eaa: e01b b.n 8004ee4 } } else { /* Disable the Internal Low Speed oscillator (LSI). */ __HAL_RCC_LSI_DISABLE(); - 8004d1c: 4b09 ldr r3, [pc, #36] @ (8004d44 ) - 8004d1e: 2200 movs r2, #0 - 8004d20: 601a str r2, [r3, #0] + 8004eac: 4b09 ldr r3, [pc, #36] @ (8004ed4 ) + 8004eae: 2200 movs r2, #0 + 8004eb0: 601a str r2, [r3, #0] /* Get Start Tick*/ tickstart = HAL_GetTick(); - 8004d22: f7fc fd89 bl 8001838 - 8004d26: 6138 str r0, [r7, #16] + 8004eb2: f7fc fd89 bl 80019c8 + 8004eb6: 6138 str r0, [r7, #16] /* Wait till LSI is ready */ while (__HAL_RCC_GET_FLAG(RCC_FLAG_LSIRDY) != RESET) - 8004d28: e00e b.n 8004d48 + 8004eb8: e00e b.n 8004ed8 { if ((HAL_GetTick() - tickstart) > LSI_TIMEOUT_VALUE) - 8004d2a: f7fc fd85 bl 8001838 - 8004d2e: 4602 mov r2, r0 - 8004d30: 693b ldr r3, [r7, #16] - 8004d32: 1ad3 subs r3, r2, r3 - 8004d34: 2b02 cmp r3, #2 - 8004d36: d907 bls.n 8004d48 + 8004eba: f7fc fd85 bl 80019c8 + 8004ebe: 4602 mov r2, r0 + 8004ec0: 693b ldr r3, [r7, #16] + 8004ec2: 1ad3 subs r3, r2, r3 + 8004ec4: 2b02 cmp r3, #2 + 8004ec6: d907 bls.n 8004ed8 { return HAL_TIMEOUT; - 8004d38: 2303 movs r3, #3 - 8004d3a: e15c b.n 8004ff6 - 8004d3c: 40023800 .word 0x40023800 - 8004d40: 42470000 .word 0x42470000 - 8004d44: 42470e80 .word 0x42470e80 + 8004ec8: 2303 movs r3, #3 + 8004eca: e15c b.n 8005186 + 8004ecc: 40023800 .word 0x40023800 + 8004ed0: 42470000 .word 0x42470000 + 8004ed4: 42470e80 .word 0x42470e80 while (__HAL_RCC_GET_FLAG(RCC_FLAG_LSIRDY) != RESET) - 8004d48: 4b8a ldr r3, [pc, #552] @ (8004f74 ) - 8004d4a: 6f5b ldr r3, [r3, #116] @ 0x74 - 8004d4c: f003 0302 and.w r3, r3, #2 - 8004d50: 2b00 cmp r3, #0 - 8004d52: d1ea bne.n 8004d2a + 8004ed8: 4b8a ldr r3, [pc, #552] @ (8005104 ) + 8004eda: 6f5b ldr r3, [r3, #116] @ 0x74 + 8004edc: f003 0302 and.w r3, r3, #2 + 8004ee0: 2b00 cmp r3, #0 + 8004ee2: d1ea bne.n 8004eba } } } } /*------------------------------ LSE Configuration -------------------------*/ if (((RCC_OscInitStruct->OscillatorType) & RCC_OSCILLATORTYPE_LSE) == RCC_OSCILLATORTYPE_LSE) - 8004d54: 687b ldr r3, [r7, #4] - 8004d56: 681b ldr r3, [r3, #0] - 8004d58: f003 0304 and.w r3, r3, #4 - 8004d5c: 2b00 cmp r3, #0 - 8004d5e: f000 8097 beq.w 8004e90 + 8004ee4: 687b ldr r3, [r7, #4] + 8004ee6: 681b ldr r3, [r3, #0] + 8004ee8: f003 0304 and.w r3, r3, #4 + 8004eec: 2b00 cmp r3, #0 + 8004eee: f000 8097 beq.w 8005020 { FlagStatus pwrclkchanged = RESET; - 8004d62: 2300 movs r3, #0 - 8004d64: 75fb strb r3, [r7, #23] + 8004ef2: 2300 movs r3, #0 + 8004ef4: 75fb strb r3, [r7, #23] /* 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()) - 8004d66: 4b83 ldr r3, [pc, #524] @ (8004f74 ) - 8004d68: 6c1b ldr r3, [r3, #64] @ 0x40 - 8004d6a: f003 5380 and.w r3, r3, #268435456 @ 0x10000000 - 8004d6e: 2b00 cmp r3, #0 - 8004d70: d10f bne.n 8004d92 + 8004ef6: 4b83 ldr r3, [pc, #524] @ (8005104 ) + 8004ef8: 6c1b ldr r3, [r3, #64] @ 0x40 + 8004efa: f003 5380 and.w r3, r3, #268435456 @ 0x10000000 + 8004efe: 2b00 cmp r3, #0 + 8004f00: d10f bne.n 8004f22 { __HAL_RCC_PWR_CLK_ENABLE(); - 8004d72: 2300 movs r3, #0 - 8004d74: 60bb str r3, [r7, #8] - 8004d76: 4b7f ldr r3, [pc, #508] @ (8004f74 ) - 8004d78: 6c1b ldr r3, [r3, #64] @ 0x40 - 8004d7a: 4a7e ldr r2, [pc, #504] @ (8004f74 ) - 8004d7c: f043 5380 orr.w r3, r3, #268435456 @ 0x10000000 - 8004d80: 6413 str r3, [r2, #64] @ 0x40 - 8004d82: 4b7c ldr r3, [pc, #496] @ (8004f74 ) - 8004d84: 6c1b ldr r3, [r3, #64] @ 0x40 - 8004d86: f003 5380 and.w r3, r3, #268435456 @ 0x10000000 - 8004d8a: 60bb str r3, [r7, #8] - 8004d8c: 68bb ldr r3, [r7, #8] + 8004f02: 2300 movs r3, #0 + 8004f04: 60bb str r3, [r7, #8] + 8004f06: 4b7f ldr r3, [pc, #508] @ (8005104 ) + 8004f08: 6c1b ldr r3, [r3, #64] @ 0x40 + 8004f0a: 4a7e ldr r2, [pc, #504] @ (8005104 ) + 8004f0c: f043 5380 orr.w r3, r3, #268435456 @ 0x10000000 + 8004f10: 6413 str r3, [r2, #64] @ 0x40 + 8004f12: 4b7c ldr r3, [pc, #496] @ (8005104 ) + 8004f14: 6c1b ldr r3, [r3, #64] @ 0x40 + 8004f16: f003 5380 and.w r3, r3, #268435456 @ 0x10000000 + 8004f1a: 60bb str r3, [r7, #8] + 8004f1c: 68bb ldr r3, [r7, #8] pwrclkchanged = SET; - 8004d8e: 2301 movs r3, #1 - 8004d90: 75fb strb r3, [r7, #23] + 8004f1e: 2301 movs r3, #1 + 8004f20: 75fb strb r3, [r7, #23] } if (HAL_IS_BIT_CLR(PWR->CR, PWR_CR_DBP)) - 8004d92: 4b79 ldr r3, [pc, #484] @ (8004f78 ) - 8004d94: 681b ldr r3, [r3, #0] - 8004d96: f403 7380 and.w r3, r3, #256 @ 0x100 - 8004d9a: 2b00 cmp r3, #0 - 8004d9c: d118 bne.n 8004dd0 + 8004f22: 4b79 ldr r3, [pc, #484] @ (8005108 ) + 8004f24: 681b ldr r3, [r3, #0] + 8004f26: f403 7380 and.w r3, r3, #256 @ 0x100 + 8004f2a: 2b00 cmp r3, #0 + 8004f2c: d118 bne.n 8004f60 { /* Enable write access to Backup domain */ SET_BIT(PWR->CR, PWR_CR_DBP); - 8004d9e: 4b76 ldr r3, [pc, #472] @ (8004f78 ) - 8004da0: 681b ldr r3, [r3, #0] - 8004da2: 4a75 ldr r2, [pc, #468] @ (8004f78 ) - 8004da4: f443 7380 orr.w r3, r3, #256 @ 0x100 - 8004da8: 6013 str r3, [r2, #0] + 8004f2e: 4b76 ldr r3, [pc, #472] @ (8005108 ) + 8004f30: 681b ldr r3, [r3, #0] + 8004f32: 4a75 ldr r2, [pc, #468] @ (8005108 ) + 8004f34: f443 7380 orr.w r3, r3, #256 @ 0x100 + 8004f38: 6013 str r3, [r2, #0] /* Wait for Backup domain Write protection disable */ tickstart = HAL_GetTick(); - 8004daa: f7fc fd45 bl 8001838 - 8004dae: 6138 str r0, [r7, #16] + 8004f3a: f7fc fd45 bl 80019c8 + 8004f3e: 6138 str r0, [r7, #16] while (HAL_IS_BIT_CLR(PWR->CR, PWR_CR_DBP)) - 8004db0: e008 b.n 8004dc4 + 8004f40: e008 b.n 8004f54 { if ((HAL_GetTick() - tickstart) > RCC_DBP_TIMEOUT_VALUE) - 8004db2: f7fc fd41 bl 8001838 - 8004db6: 4602 mov r2, r0 - 8004db8: 693b ldr r3, [r7, #16] - 8004dba: 1ad3 subs r3, r2, r3 - 8004dbc: 2b02 cmp r3, #2 - 8004dbe: d901 bls.n 8004dc4 + 8004f42: f7fc fd41 bl 80019c8 + 8004f46: 4602 mov r2, r0 + 8004f48: 693b ldr r3, [r7, #16] + 8004f4a: 1ad3 subs r3, r2, r3 + 8004f4c: 2b02 cmp r3, #2 + 8004f4e: d901 bls.n 8004f54 { return HAL_TIMEOUT; - 8004dc0: 2303 movs r3, #3 - 8004dc2: e118 b.n 8004ff6 + 8004f50: 2303 movs r3, #3 + 8004f52: e118 b.n 8005186 while (HAL_IS_BIT_CLR(PWR->CR, PWR_CR_DBP)) - 8004dc4: 4b6c ldr r3, [pc, #432] @ (8004f78 ) - 8004dc6: 681b ldr r3, [r3, #0] - 8004dc8: f403 7380 and.w r3, r3, #256 @ 0x100 - 8004dcc: 2b00 cmp r3, #0 - 8004dce: d0f0 beq.n 8004db2 + 8004f54: 4b6c ldr r3, [pc, #432] @ (8005108 ) + 8004f56: 681b ldr r3, [r3, #0] + 8004f58: f403 7380 and.w r3, r3, #256 @ 0x100 + 8004f5c: 2b00 cmp r3, #0 + 8004f5e: d0f0 beq.n 8004f42 } } } /* Set the new LSE configuration -----------------------------------------*/ __HAL_RCC_LSE_CONFIG(RCC_OscInitStruct->LSEState); - 8004dd0: 687b ldr r3, [r7, #4] - 8004dd2: 689b ldr r3, [r3, #8] - 8004dd4: 2b01 cmp r3, #1 - 8004dd6: d106 bne.n 8004de6 - 8004dd8: 4b66 ldr r3, [pc, #408] @ (8004f74 ) - 8004dda: 6f1b ldr r3, [r3, #112] @ 0x70 - 8004ddc: 4a65 ldr r2, [pc, #404] @ (8004f74 ) - 8004dde: f043 0301 orr.w r3, r3, #1 - 8004de2: 6713 str r3, [r2, #112] @ 0x70 - 8004de4: e01c b.n 8004e20 - 8004de6: 687b ldr r3, [r7, #4] - 8004de8: 689b ldr r3, [r3, #8] - 8004dea: 2b05 cmp r3, #5 - 8004dec: d10c bne.n 8004e08 - 8004dee: 4b61 ldr r3, [pc, #388] @ (8004f74 ) - 8004df0: 6f1b ldr r3, [r3, #112] @ 0x70 - 8004df2: 4a60 ldr r2, [pc, #384] @ (8004f74 ) - 8004df4: f043 0304 orr.w r3, r3, #4 - 8004df8: 6713 str r3, [r2, #112] @ 0x70 - 8004dfa: 4b5e ldr r3, [pc, #376] @ (8004f74 ) - 8004dfc: 6f1b ldr r3, [r3, #112] @ 0x70 - 8004dfe: 4a5d ldr r2, [pc, #372] @ (8004f74 ) - 8004e00: f043 0301 orr.w r3, r3, #1 - 8004e04: 6713 str r3, [r2, #112] @ 0x70 - 8004e06: e00b b.n 8004e20 - 8004e08: 4b5a ldr r3, [pc, #360] @ (8004f74 ) - 8004e0a: 6f1b ldr r3, [r3, #112] @ 0x70 - 8004e0c: 4a59 ldr r2, [pc, #356] @ (8004f74 ) - 8004e0e: f023 0301 bic.w r3, r3, #1 - 8004e12: 6713 str r3, [r2, #112] @ 0x70 - 8004e14: 4b57 ldr r3, [pc, #348] @ (8004f74 ) - 8004e16: 6f1b ldr r3, [r3, #112] @ 0x70 - 8004e18: 4a56 ldr r2, [pc, #344] @ (8004f74 ) - 8004e1a: f023 0304 bic.w r3, r3, #4 - 8004e1e: 6713 str r3, [r2, #112] @ 0x70 + 8004f60: 687b ldr r3, [r7, #4] + 8004f62: 689b ldr r3, [r3, #8] + 8004f64: 2b01 cmp r3, #1 + 8004f66: d106 bne.n 8004f76 + 8004f68: 4b66 ldr r3, [pc, #408] @ (8005104 ) + 8004f6a: 6f1b ldr r3, [r3, #112] @ 0x70 + 8004f6c: 4a65 ldr r2, [pc, #404] @ (8005104 ) + 8004f6e: f043 0301 orr.w r3, r3, #1 + 8004f72: 6713 str r3, [r2, #112] @ 0x70 + 8004f74: e01c b.n 8004fb0 + 8004f76: 687b ldr r3, [r7, #4] + 8004f78: 689b ldr r3, [r3, #8] + 8004f7a: 2b05 cmp r3, #5 + 8004f7c: d10c bne.n 8004f98 + 8004f7e: 4b61 ldr r3, [pc, #388] @ (8005104 ) + 8004f80: 6f1b ldr r3, [r3, #112] @ 0x70 + 8004f82: 4a60 ldr r2, [pc, #384] @ (8005104 ) + 8004f84: f043 0304 orr.w r3, r3, #4 + 8004f88: 6713 str r3, [r2, #112] @ 0x70 + 8004f8a: 4b5e ldr r3, [pc, #376] @ (8005104 ) + 8004f8c: 6f1b ldr r3, [r3, #112] @ 0x70 + 8004f8e: 4a5d ldr r2, [pc, #372] @ (8005104 ) + 8004f90: f043 0301 orr.w r3, r3, #1 + 8004f94: 6713 str r3, [r2, #112] @ 0x70 + 8004f96: e00b b.n 8004fb0 + 8004f98: 4b5a ldr r3, [pc, #360] @ (8005104 ) + 8004f9a: 6f1b ldr r3, [r3, #112] @ 0x70 + 8004f9c: 4a59 ldr r2, [pc, #356] @ (8005104 ) + 8004f9e: f023 0301 bic.w r3, r3, #1 + 8004fa2: 6713 str r3, [r2, #112] @ 0x70 + 8004fa4: 4b57 ldr r3, [pc, #348] @ (8005104 ) + 8004fa6: 6f1b ldr r3, [r3, #112] @ 0x70 + 8004fa8: 4a56 ldr r2, [pc, #344] @ (8005104 ) + 8004faa: f023 0304 bic.w r3, r3, #4 + 8004fae: 6713 str r3, [r2, #112] @ 0x70 /* Check the LSE State */ if ((RCC_OscInitStruct->LSEState) != RCC_LSE_OFF) - 8004e20: 687b ldr r3, [r7, #4] - 8004e22: 689b ldr r3, [r3, #8] - 8004e24: 2b00 cmp r3, #0 - 8004e26: d015 beq.n 8004e54 + 8004fb0: 687b ldr r3, [r7, #4] + 8004fb2: 689b ldr r3, [r3, #8] + 8004fb4: 2b00 cmp r3, #0 + 8004fb6: d015 beq.n 8004fe4 { /* Get Start Tick*/ tickstart = HAL_GetTick(); - 8004e28: f7fc fd06 bl 8001838 - 8004e2c: 6138 str r0, [r7, #16] + 8004fb8: f7fc fd06 bl 80019c8 + 8004fbc: 6138 str r0, [r7, #16] /* Wait till LSE is ready */ while (__HAL_RCC_GET_FLAG(RCC_FLAG_LSERDY) == RESET) - 8004e2e: e00a b.n 8004e46 + 8004fbe: e00a b.n 8004fd6 { if ((HAL_GetTick() - tickstart) > RCC_LSE_TIMEOUT_VALUE) - 8004e30: f7fc fd02 bl 8001838 - 8004e34: 4602 mov r2, r0 - 8004e36: 693b ldr r3, [r7, #16] - 8004e38: 1ad3 subs r3, r2, r3 - 8004e3a: f241 3288 movw r2, #5000 @ 0x1388 - 8004e3e: 4293 cmp r3, r2 - 8004e40: d901 bls.n 8004e46 + 8004fc0: f7fc fd02 bl 80019c8 + 8004fc4: 4602 mov r2, r0 + 8004fc6: 693b ldr r3, [r7, #16] + 8004fc8: 1ad3 subs r3, r2, r3 + 8004fca: f241 3288 movw r2, #5000 @ 0x1388 + 8004fce: 4293 cmp r3, r2 + 8004fd0: d901 bls.n 8004fd6 { return HAL_TIMEOUT; - 8004e42: 2303 movs r3, #3 - 8004e44: e0d7 b.n 8004ff6 + 8004fd2: 2303 movs r3, #3 + 8004fd4: e0d7 b.n 8005186 while (__HAL_RCC_GET_FLAG(RCC_FLAG_LSERDY) == RESET) - 8004e46: 4b4b ldr r3, [pc, #300] @ (8004f74 ) - 8004e48: 6f1b ldr r3, [r3, #112] @ 0x70 - 8004e4a: f003 0302 and.w r3, r3, #2 - 8004e4e: 2b00 cmp r3, #0 - 8004e50: d0ee beq.n 8004e30 - 8004e52: e014 b.n 8004e7e + 8004fd6: 4b4b ldr r3, [pc, #300] @ (8005104 ) + 8004fd8: 6f1b ldr r3, [r3, #112] @ 0x70 + 8004fda: f003 0302 and.w r3, r3, #2 + 8004fde: 2b00 cmp r3, #0 + 8004fe0: d0ee beq.n 8004fc0 + 8004fe2: e014 b.n 800500e } } else { /* Get Start Tick*/ tickstart = HAL_GetTick(); - 8004e54: f7fc fcf0 bl 8001838 - 8004e58: 6138 str r0, [r7, #16] + 8004fe4: f7fc fcf0 bl 80019c8 + 8004fe8: 6138 str r0, [r7, #16] /* Wait till LSE is ready */ while (__HAL_RCC_GET_FLAG(RCC_FLAG_LSERDY) != RESET) - 8004e5a: e00a b.n 8004e72 + 8004fea: e00a b.n 8005002 { if ((HAL_GetTick() - tickstart) > RCC_LSE_TIMEOUT_VALUE) - 8004e5c: f7fc fcec bl 8001838 - 8004e60: 4602 mov r2, r0 - 8004e62: 693b ldr r3, [r7, #16] - 8004e64: 1ad3 subs r3, r2, r3 - 8004e66: f241 3288 movw r2, #5000 @ 0x1388 - 8004e6a: 4293 cmp r3, r2 - 8004e6c: d901 bls.n 8004e72 + 8004fec: f7fc fcec bl 80019c8 + 8004ff0: 4602 mov r2, r0 + 8004ff2: 693b ldr r3, [r7, #16] + 8004ff4: 1ad3 subs r3, r2, r3 + 8004ff6: f241 3288 movw r2, #5000 @ 0x1388 + 8004ffa: 4293 cmp r3, r2 + 8004ffc: d901 bls.n 8005002 { return HAL_TIMEOUT; - 8004e6e: 2303 movs r3, #3 - 8004e70: e0c1 b.n 8004ff6 + 8004ffe: 2303 movs r3, #3 + 8005000: e0c1 b.n 8005186 while (__HAL_RCC_GET_FLAG(RCC_FLAG_LSERDY) != RESET) - 8004e72: 4b40 ldr r3, [pc, #256] @ (8004f74 ) - 8004e74: 6f1b ldr r3, [r3, #112] @ 0x70 - 8004e76: f003 0302 and.w r3, r3, #2 - 8004e7a: 2b00 cmp r3, #0 - 8004e7c: d1ee bne.n 8004e5c + 8005002: 4b40 ldr r3, [pc, #256] @ (8005104 ) + 8005004: 6f1b ldr r3, [r3, #112] @ 0x70 + 8005006: f003 0302 and.w r3, r3, #2 + 800500a: 2b00 cmp r3, #0 + 800500c: d1ee bne.n 8004fec } } } /* Restore clock configuration if changed */ if (pwrclkchanged == SET) - 8004e7e: 7dfb ldrb r3, [r7, #23] - 8004e80: 2b01 cmp r3, #1 - 8004e82: d105 bne.n 8004e90 + 800500e: 7dfb ldrb r3, [r7, #23] + 8005010: 2b01 cmp r3, #1 + 8005012: d105 bne.n 8005020 { __HAL_RCC_PWR_CLK_DISABLE(); - 8004e84: 4b3b ldr r3, [pc, #236] @ (8004f74 ) - 8004e86: 6c1b ldr r3, [r3, #64] @ 0x40 - 8004e88: 4a3a ldr r2, [pc, #232] @ (8004f74 ) - 8004e8a: f023 5380 bic.w r3, r3, #268435456 @ 0x10000000 - 8004e8e: 6413 str r3, [r2, #64] @ 0x40 + 8005014: 4b3b ldr r3, [pc, #236] @ (8005104 ) + 8005016: 6c1b ldr r3, [r3, #64] @ 0x40 + 8005018: 4a3a ldr r2, [pc, #232] @ (8005104 ) + 800501a: f023 5380 bic.w r3, r3, #268435456 @ 0x10000000 + 800501e: 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) - 8004e90: 687b ldr r3, [r7, #4] - 8004e92: 699b ldr r3, [r3, #24] - 8004e94: 2b00 cmp r3, #0 - 8004e96: f000 80ad beq.w 8004ff4 + 8005020: 687b ldr r3, [r7, #4] + 8005022: 699b ldr r3, [r3, #24] + 8005024: 2b00 cmp r3, #0 + 8005026: f000 80ad beq.w 8005184 { /* Check if the PLL is used as system clock or not */ if (__HAL_RCC_GET_SYSCLK_SOURCE() != RCC_CFGR_SWS_PLL) - 8004e9a: 4b36 ldr r3, [pc, #216] @ (8004f74 ) - 8004e9c: 689b ldr r3, [r3, #8] - 8004e9e: f003 030c and.w r3, r3, #12 - 8004ea2: 2b08 cmp r3, #8 - 8004ea4: d060 beq.n 8004f68 + 800502a: 4b36 ldr r3, [pc, #216] @ (8005104 ) + 800502c: 689b ldr r3, [r3, #8] + 800502e: f003 030c and.w r3, r3, #12 + 8005032: 2b08 cmp r3, #8 + 8005034: d060 beq.n 80050f8 { if ((RCC_OscInitStruct->PLL.PLLState) == RCC_PLL_ON) - 8004ea6: 687b ldr r3, [r7, #4] - 8004ea8: 699b ldr r3, [r3, #24] - 8004eaa: 2b02 cmp r3, #2 - 8004eac: d145 bne.n 8004f3a + 8005036: 687b ldr r3, [r7, #4] + 8005038: 699b ldr r3, [r3, #24] + 800503a: 2b02 cmp r3, #2 + 800503c: d145 bne.n 80050ca assert_param(IS_RCC_PLLP_VALUE(RCC_OscInitStruct->PLL.PLLP)); assert_param(IS_RCC_PLLQ_VALUE(RCC_OscInitStruct->PLL.PLLQ)); assert_param(IS_RCC_PLLR_VALUE(RCC_OscInitStruct->PLL.PLLR)); /* Disable the main PLL. */ __HAL_RCC_PLL_DISABLE(); - 8004eae: 4b33 ldr r3, [pc, #204] @ (8004f7c ) - 8004eb0: 2200 movs r2, #0 - 8004eb2: 601a str r2, [r3, #0] + 800503e: 4b33 ldr r3, [pc, #204] @ (800510c ) + 8005040: 2200 movs r2, #0 + 8005042: 601a str r2, [r3, #0] /* Get Start Tick*/ tickstart = HAL_GetTick(); - 8004eb4: f7fc fcc0 bl 8001838 - 8004eb8: 6138 str r0, [r7, #16] + 8005044: f7fc fcc0 bl 80019c8 + 8005048: 6138 str r0, [r7, #16] /* Wait till PLL is ready */ while (__HAL_RCC_GET_FLAG(RCC_FLAG_PLLRDY) != RESET) - 8004eba: e008 b.n 8004ece + 800504a: e008 b.n 800505e { if ((HAL_GetTick() - tickstart) > PLL_TIMEOUT_VALUE) - 8004ebc: f7fc fcbc bl 8001838 - 8004ec0: 4602 mov r2, r0 - 8004ec2: 693b ldr r3, [r7, #16] - 8004ec4: 1ad3 subs r3, r2, r3 - 8004ec6: 2b02 cmp r3, #2 - 8004ec8: d901 bls.n 8004ece + 800504c: f7fc fcbc bl 80019c8 + 8005050: 4602 mov r2, r0 + 8005052: 693b ldr r3, [r7, #16] + 8005054: 1ad3 subs r3, r2, r3 + 8005056: 2b02 cmp r3, #2 + 8005058: d901 bls.n 800505e { return HAL_TIMEOUT; - 8004eca: 2303 movs r3, #3 - 8004ecc: e093 b.n 8004ff6 + 800505a: 2303 movs r3, #3 + 800505c: e093 b.n 8005186 while (__HAL_RCC_GET_FLAG(RCC_FLAG_PLLRDY) != RESET) - 8004ece: 4b29 ldr r3, [pc, #164] @ (8004f74 ) - 8004ed0: 681b ldr r3, [r3, #0] - 8004ed2: f003 7300 and.w r3, r3, #33554432 @ 0x2000000 - 8004ed6: 2b00 cmp r3, #0 - 8004ed8: d1f0 bne.n 8004ebc + 800505e: 4b29 ldr r3, [pc, #164] @ (8005104 ) + 8005060: 681b ldr r3, [r3, #0] + 8005062: f003 7300 and.w r3, r3, #33554432 @ 0x2000000 + 8005066: 2b00 cmp r3, #0 + 8005068: d1f0 bne.n 800504c } } /* Configure the main PLL clock source, multiplication and division factors. */ WRITE_REG(RCC->PLLCFGR, (RCC_OscInitStruct->PLL.PLLSource | \ - 8004eda: 687b ldr r3, [r7, #4] - 8004edc: 69da ldr r2, [r3, #28] - 8004ede: 687b ldr r3, [r7, #4] - 8004ee0: 6a1b ldr r3, [r3, #32] - 8004ee2: 431a orrs r2, r3 - 8004ee4: 687b ldr r3, [r7, #4] - 8004ee6: 6a5b ldr r3, [r3, #36] @ 0x24 - 8004ee8: 019b lsls r3, r3, #6 - 8004eea: 431a orrs r2, r3 - 8004eec: 687b ldr r3, [r7, #4] - 8004eee: 6a9b ldr r3, [r3, #40] @ 0x28 - 8004ef0: 085b lsrs r3, r3, #1 - 8004ef2: 3b01 subs r3, #1 - 8004ef4: 041b lsls r3, r3, #16 - 8004ef6: 431a orrs r2, r3 - 8004ef8: 687b ldr r3, [r7, #4] - 8004efa: 6adb ldr r3, [r3, #44] @ 0x2c - 8004efc: 061b lsls r3, r3, #24 - 8004efe: 431a orrs r2, r3 - 8004f00: 687b ldr r3, [r7, #4] - 8004f02: 6b1b ldr r3, [r3, #48] @ 0x30 - 8004f04: 071b lsls r3, r3, #28 - 8004f06: 491b ldr r1, [pc, #108] @ (8004f74 ) - 8004f08: 4313 orrs r3, r2 - 8004f0a: 604b str r3, [r1, #4] + 800506a: 687b ldr r3, [r7, #4] + 800506c: 69da ldr r2, [r3, #28] + 800506e: 687b ldr r3, [r7, #4] + 8005070: 6a1b ldr r3, [r3, #32] + 8005072: 431a orrs r2, r3 + 8005074: 687b ldr r3, [r7, #4] + 8005076: 6a5b ldr r3, [r3, #36] @ 0x24 + 8005078: 019b lsls r3, r3, #6 + 800507a: 431a orrs r2, r3 + 800507c: 687b ldr r3, [r7, #4] + 800507e: 6a9b ldr r3, [r3, #40] @ 0x28 + 8005080: 085b lsrs r3, r3, #1 + 8005082: 3b01 subs r3, #1 + 8005084: 041b lsls r3, r3, #16 + 8005086: 431a orrs r2, r3 + 8005088: 687b ldr r3, [r7, #4] + 800508a: 6adb ldr r3, [r3, #44] @ 0x2c + 800508c: 061b lsls r3, r3, #24 + 800508e: 431a orrs r2, r3 + 8005090: 687b ldr r3, [r7, #4] + 8005092: 6b1b ldr r3, [r3, #48] @ 0x30 + 8005094: 071b lsls r3, r3, #28 + 8005096: 491b ldr r1, [pc, #108] @ (8005104 ) + 8005098: 4313 orrs r3, r2 + 800509a: 604b str r3, [r1, #4] (RCC_OscInitStruct->PLL.PLLN << RCC_PLLCFGR_PLLN_Pos) | \ (((RCC_OscInitStruct->PLL.PLLP >> 1U) - 1U) << RCC_PLLCFGR_PLLP_Pos) | \ (RCC_OscInitStruct->PLL.PLLQ << RCC_PLLCFGR_PLLQ_Pos) | \ (RCC_OscInitStruct->PLL.PLLR << RCC_PLLCFGR_PLLR_Pos))); /* Enable the main PLL. */ __HAL_RCC_PLL_ENABLE(); - 8004f0c: 4b1b ldr r3, [pc, #108] @ (8004f7c ) - 8004f0e: 2201 movs r2, #1 - 8004f10: 601a str r2, [r3, #0] + 800509c: 4b1b ldr r3, [pc, #108] @ (800510c ) + 800509e: 2201 movs r2, #1 + 80050a0: 601a str r2, [r3, #0] /* Get Start Tick*/ tickstart = HAL_GetTick(); - 8004f12: f7fc fc91 bl 8001838 - 8004f16: 6138 str r0, [r7, #16] + 80050a2: f7fc fc91 bl 80019c8 + 80050a6: 6138 str r0, [r7, #16] /* Wait till PLL is ready */ while (__HAL_RCC_GET_FLAG(RCC_FLAG_PLLRDY) == RESET) - 8004f18: e008 b.n 8004f2c + 80050a8: e008 b.n 80050bc { if ((HAL_GetTick() - tickstart) > PLL_TIMEOUT_VALUE) - 8004f1a: f7fc fc8d bl 8001838 - 8004f1e: 4602 mov r2, r0 - 8004f20: 693b ldr r3, [r7, #16] - 8004f22: 1ad3 subs r3, r2, r3 - 8004f24: 2b02 cmp r3, #2 - 8004f26: d901 bls.n 8004f2c + 80050aa: f7fc fc8d bl 80019c8 + 80050ae: 4602 mov r2, r0 + 80050b0: 693b ldr r3, [r7, #16] + 80050b2: 1ad3 subs r3, r2, r3 + 80050b4: 2b02 cmp r3, #2 + 80050b6: d901 bls.n 80050bc { return HAL_TIMEOUT; - 8004f28: 2303 movs r3, #3 - 8004f2a: e064 b.n 8004ff6 + 80050b8: 2303 movs r3, #3 + 80050ba: e064 b.n 8005186 while (__HAL_RCC_GET_FLAG(RCC_FLAG_PLLRDY) == RESET) - 8004f2c: 4b11 ldr r3, [pc, #68] @ (8004f74 ) - 8004f2e: 681b ldr r3, [r3, #0] - 8004f30: f003 7300 and.w r3, r3, #33554432 @ 0x2000000 - 8004f34: 2b00 cmp r3, #0 - 8004f36: d0f0 beq.n 8004f1a - 8004f38: e05c b.n 8004ff4 + 80050bc: 4b11 ldr r3, [pc, #68] @ (8005104 ) + 80050be: 681b ldr r3, [r3, #0] + 80050c0: f003 7300 and.w r3, r3, #33554432 @ 0x2000000 + 80050c4: 2b00 cmp r3, #0 + 80050c6: d0f0 beq.n 80050aa + 80050c8: e05c b.n 8005184 } } else { /* Disable the main PLL. */ __HAL_RCC_PLL_DISABLE(); - 8004f3a: 4b10 ldr r3, [pc, #64] @ (8004f7c ) - 8004f3c: 2200 movs r2, #0 - 8004f3e: 601a str r2, [r3, #0] + 80050ca: 4b10 ldr r3, [pc, #64] @ (800510c ) + 80050cc: 2200 movs r2, #0 + 80050ce: 601a str r2, [r3, #0] /* Get Start Tick*/ tickstart = HAL_GetTick(); - 8004f40: f7fc fc7a bl 8001838 - 8004f44: 6138 str r0, [r7, #16] + 80050d0: f7fc fc7a bl 80019c8 + 80050d4: 6138 str r0, [r7, #16] /* Wait till PLL is ready */ while (__HAL_RCC_GET_FLAG(RCC_FLAG_PLLRDY) != RESET) - 8004f46: e008 b.n 8004f5a + 80050d6: e008 b.n 80050ea { if ((HAL_GetTick() - tickstart) > PLL_TIMEOUT_VALUE) - 8004f48: f7fc fc76 bl 8001838 - 8004f4c: 4602 mov r2, r0 - 8004f4e: 693b ldr r3, [r7, #16] - 8004f50: 1ad3 subs r3, r2, r3 - 8004f52: 2b02 cmp r3, #2 - 8004f54: d901 bls.n 8004f5a + 80050d8: f7fc fc76 bl 80019c8 + 80050dc: 4602 mov r2, r0 + 80050de: 693b ldr r3, [r7, #16] + 80050e0: 1ad3 subs r3, r2, r3 + 80050e2: 2b02 cmp r3, #2 + 80050e4: d901 bls.n 80050ea { return HAL_TIMEOUT; - 8004f56: 2303 movs r3, #3 - 8004f58: e04d b.n 8004ff6 + 80050e6: 2303 movs r3, #3 + 80050e8: e04d b.n 8005186 while (__HAL_RCC_GET_FLAG(RCC_FLAG_PLLRDY) != RESET) - 8004f5a: 4b06 ldr r3, [pc, #24] @ (8004f74 ) - 8004f5c: 681b ldr r3, [r3, #0] - 8004f5e: f003 7300 and.w r3, r3, #33554432 @ 0x2000000 - 8004f62: 2b00 cmp r3, #0 - 8004f64: d1f0 bne.n 8004f48 - 8004f66: e045 b.n 8004ff4 + 80050ea: 4b06 ldr r3, [pc, #24] @ (8005104 ) + 80050ec: 681b ldr r3, [r3, #0] + 80050ee: f003 7300 and.w r3, r3, #33554432 @ 0x2000000 + 80050f2: 2b00 cmp r3, #0 + 80050f4: d1f0 bne.n 80050d8 + 80050f6: e045 b.n 8005184 } } else { /* Check if there is a request to disable the PLL used as System clock source */ if ((RCC_OscInitStruct->PLL.PLLState) == RCC_PLL_OFF) - 8004f68: 687b ldr r3, [r7, #4] - 8004f6a: 699b ldr r3, [r3, #24] - 8004f6c: 2b01 cmp r3, #1 - 8004f6e: d107 bne.n 8004f80 + 80050f8: 687b ldr r3, [r7, #4] + 80050fa: 699b ldr r3, [r3, #24] + 80050fc: 2b01 cmp r3, #1 + 80050fe: d107 bne.n 8005110 { return HAL_ERROR; - 8004f70: 2301 movs r3, #1 - 8004f72: e040 b.n 8004ff6 - 8004f74: 40023800 .word 0x40023800 - 8004f78: 40007000 .word 0x40007000 - 8004f7c: 42470060 .word 0x42470060 + 8005100: 2301 movs r3, #1 + 8005102: e040 b.n 8005186 + 8005104: 40023800 .word 0x40023800 + 8005108: 40007000 .word 0x40007000 + 800510c: 42470060 .word 0x42470060 } else { /* Do not return HAL_ERROR if request repeats the current configuration */ pll_config = RCC->PLLCFGR; - 8004f80: 4b1f ldr r3, [pc, #124] @ (8005000 ) - 8004f82: 685b ldr r3, [r3, #4] - 8004f84: 60fb str r3, [r7, #12] + 8005110: 4b1f ldr r3, [pc, #124] @ (8005190 ) + 8005112: 685b ldr r3, [r3, #4] + 8005114: 60fb str r3, [r7, #12] #if defined (RCC_PLLCFGR_PLLR) if (((RCC_OscInitStruct->PLL.PLLState) == RCC_PLL_OFF) || - 8004f86: 687b ldr r3, [r7, #4] - 8004f88: 699b ldr r3, [r3, #24] - 8004f8a: 2b01 cmp r3, #1 - 8004f8c: d030 beq.n 8004ff0 + 8005116: 687b ldr r3, [r7, #4] + 8005118: 699b ldr r3, [r3, #24] + 800511a: 2b01 cmp r3, #1 + 800511c: d030 beq.n 8005180 (READ_BIT(pll_config, RCC_PLLCFGR_PLLSRC) != RCC_OscInitStruct->PLL.PLLSource) || - 8004f8e: 68fb ldr r3, [r7, #12] - 8004f90: f403 0280 and.w r2, r3, #4194304 @ 0x400000 - 8004f94: 687b ldr r3, [r7, #4] - 8004f96: 69db ldr r3, [r3, #28] + 800511e: 68fb ldr r3, [r7, #12] + 8005120: f403 0280 and.w r2, r3, #4194304 @ 0x400000 + 8005124: 687b ldr r3, [r7, #4] + 8005126: 69db ldr r3, [r3, #28] if (((RCC_OscInitStruct->PLL.PLLState) == RCC_PLL_OFF) || - 8004f98: 429a cmp r2, r3 - 8004f9a: d129 bne.n 8004ff0 + 8005128: 429a cmp r2, r3 + 800512a: d129 bne.n 8005180 (READ_BIT(pll_config, RCC_PLLCFGR_PLLM) != (RCC_OscInitStruct->PLL.PLLM) << RCC_PLLCFGR_PLLM_Pos) || - 8004f9c: 68fb ldr r3, [r7, #12] - 8004f9e: f003 023f and.w r2, r3, #63 @ 0x3f - 8004fa2: 687b ldr r3, [r7, #4] - 8004fa4: 6a1b ldr r3, [r3, #32] + 800512c: 68fb ldr r3, [r7, #12] + 800512e: f003 023f and.w r2, r3, #63 @ 0x3f + 8005132: 687b ldr r3, [r7, #4] + 8005134: 6a1b ldr r3, [r3, #32] (READ_BIT(pll_config, RCC_PLLCFGR_PLLSRC) != RCC_OscInitStruct->PLL.PLLSource) || - 8004fa6: 429a cmp r2, r3 - 8004fa8: d122 bne.n 8004ff0 + 8005136: 429a cmp r2, r3 + 8005138: d122 bne.n 8005180 (READ_BIT(pll_config, RCC_PLLCFGR_PLLN) != (RCC_OscInitStruct->PLL.PLLN) << RCC_PLLCFGR_PLLN_Pos) || - 8004faa: 68fa ldr r2, [r7, #12] - 8004fac: f647 73c0 movw r3, #32704 @ 0x7fc0 - 8004fb0: 4013 ands r3, r2 - 8004fb2: 687a ldr r2, [r7, #4] - 8004fb4: 6a52 ldr r2, [r2, #36] @ 0x24 - 8004fb6: 0192 lsls r2, r2, #6 + 800513a: 68fa ldr r2, [r7, #12] + 800513c: f647 73c0 movw r3, #32704 @ 0x7fc0 + 8005140: 4013 ands r3, r2 + 8005142: 687a ldr r2, [r7, #4] + 8005144: 6a52 ldr r2, [r2, #36] @ 0x24 + 8005146: 0192 lsls r2, r2, #6 (READ_BIT(pll_config, RCC_PLLCFGR_PLLM) != (RCC_OscInitStruct->PLL.PLLM) << RCC_PLLCFGR_PLLM_Pos) || - 8004fb8: 4293 cmp r3, r2 - 8004fba: d119 bne.n 8004ff0 + 8005148: 4293 cmp r3, r2 + 800514a: d119 bne.n 8005180 (READ_BIT(pll_config, RCC_PLLCFGR_PLLP) != (((RCC_OscInitStruct->PLL.PLLP >> 1U) - 1U)) << RCC_PLLCFGR_PLLP_Pos) || - 8004fbc: 68fb ldr r3, [r7, #12] - 8004fbe: f403 3240 and.w r2, r3, #196608 @ 0x30000 - 8004fc2: 687b ldr r3, [r7, #4] - 8004fc4: 6a9b ldr r3, [r3, #40] @ 0x28 - 8004fc6: 085b lsrs r3, r3, #1 - 8004fc8: 3b01 subs r3, #1 - 8004fca: 041b lsls r3, r3, #16 + 800514c: 68fb ldr r3, [r7, #12] + 800514e: f403 3240 and.w r2, r3, #196608 @ 0x30000 + 8005152: 687b ldr r3, [r7, #4] + 8005154: 6a9b ldr r3, [r3, #40] @ 0x28 + 8005156: 085b lsrs r3, r3, #1 + 8005158: 3b01 subs r3, #1 + 800515a: 041b lsls r3, r3, #16 (READ_BIT(pll_config, RCC_PLLCFGR_PLLN) != (RCC_OscInitStruct->PLL.PLLN) << RCC_PLLCFGR_PLLN_Pos) || - 8004fcc: 429a cmp r2, r3 - 8004fce: d10f bne.n 8004ff0 + 800515c: 429a cmp r2, r3 + 800515e: d10f bne.n 8005180 (READ_BIT(pll_config, RCC_PLLCFGR_PLLQ) != (RCC_OscInitStruct->PLL.PLLQ << RCC_PLLCFGR_PLLQ_Pos)) || - 8004fd0: 68fb ldr r3, [r7, #12] - 8004fd2: f003 6270 and.w r2, r3, #251658240 @ 0xf000000 - 8004fd6: 687b ldr r3, [r7, #4] - 8004fd8: 6adb ldr r3, [r3, #44] @ 0x2c - 8004fda: 061b lsls r3, r3, #24 + 8005160: 68fb ldr r3, [r7, #12] + 8005162: f003 6270 and.w r2, r3, #251658240 @ 0xf000000 + 8005166: 687b ldr r3, [r7, #4] + 8005168: 6adb ldr r3, [r3, #44] @ 0x2c + 800516a: 061b lsls r3, r3, #24 (READ_BIT(pll_config, RCC_PLLCFGR_PLLP) != (((RCC_OscInitStruct->PLL.PLLP >> 1U) - 1U)) << RCC_PLLCFGR_PLLP_Pos) || - 8004fdc: 429a cmp r2, r3 - 8004fde: d107 bne.n 8004ff0 + 800516c: 429a cmp r2, r3 + 800516e: d107 bne.n 8005180 (READ_BIT(pll_config, RCC_PLLCFGR_PLLR) != (RCC_OscInitStruct->PLL.PLLR << RCC_PLLCFGR_PLLR_Pos))) - 8004fe0: 68fb ldr r3, [r7, #12] - 8004fe2: f003 42e0 and.w r2, r3, #1879048192 @ 0x70000000 - 8004fe6: 687b ldr r3, [r7, #4] - 8004fe8: 6b1b ldr r3, [r3, #48] @ 0x30 - 8004fea: 071b lsls r3, r3, #28 + 8005170: 68fb ldr r3, [r7, #12] + 8005172: f003 42e0 and.w r2, r3, #1879048192 @ 0x70000000 + 8005176: 687b ldr r3, [r7, #4] + 8005178: 6b1b ldr r3, [r3, #48] @ 0x30 + 800517a: 071b lsls r3, r3, #28 (READ_BIT(pll_config, RCC_PLLCFGR_PLLQ) != (RCC_OscInitStruct->PLL.PLLQ << RCC_PLLCFGR_PLLQ_Pos)) || - 8004fec: 429a cmp r2, r3 - 8004fee: d001 beq.n 8004ff4 + 800517c: 429a cmp r2, r3 + 800517e: d001 beq.n 8005184 (READ_BIT(pll_config, RCC_PLLCFGR_PLLN) != (RCC_OscInitStruct->PLL.PLLN) << RCC_PLLCFGR_PLLN_Pos) || (READ_BIT(pll_config, RCC_PLLCFGR_PLLP) != (((RCC_OscInitStruct->PLL.PLLP >> 1U) - 1U)) << RCC_PLLCFGR_PLLP_Pos) || (READ_BIT(pll_config, RCC_PLLCFGR_PLLQ) != (RCC_OscInitStruct->PLL.PLLQ << RCC_PLLCFGR_PLLQ_Pos))) #endif /* RCC_PLLCFGR_PLLR */ { return HAL_ERROR; - 8004ff0: 2301 movs r3, #1 - 8004ff2: e000 b.n 8004ff6 + 8005180: 2301 movs r3, #1 + 8005182: e000 b.n 8005186 } } } } return HAL_OK; - 8004ff4: 2300 movs r3, #0 + 8005184: 2300 movs r3, #0 } - 8004ff6: 4618 mov r0, r3 - 8004ff8: 3718 adds r7, #24 - 8004ffa: 46bd mov sp, r7 - 8004ffc: bd80 pop {r7, pc} - 8004ffe: bf00 nop - 8005000: 40023800 .word 0x40023800 + 8005186: 4618 mov r0, r3 + 8005188: 3718 adds r7, #24 + 800518a: 46bd mov sp, r7 + 800518c: bd80 pop {r7, pc} + 800518e: bf00 nop + 8005190: 40023800 .word 0x40023800 -08005004 : +08005194 : * Ex: call @ref HAL_TIM_OC_DeInit() before HAL_TIM_OC_Init() * @param htim TIM Output Compare handle * @retval HAL status */ HAL_StatusTypeDef HAL_TIM_OC_Init(TIM_HandleTypeDef *htim) { - 8005004: b580 push {r7, lr} - 8005006: b082 sub sp, #8 - 8005008: af00 add r7, sp, #0 - 800500a: 6078 str r0, [r7, #4] + 8005194: b580 push {r7, lr} + 8005196: b082 sub sp, #8 + 8005198: af00 add r7, sp, #0 + 800519a: 6078 str r0, [r7, #4] /* Check the TIM handle allocation */ if (htim == NULL) - 800500c: 687b ldr r3, [r7, #4] - 800500e: 2b00 cmp r3, #0 - 8005010: d101 bne.n 8005016 + 800519c: 687b ldr r3, [r7, #4] + 800519e: 2b00 cmp r3, #0 + 80051a0: d101 bne.n 80051a6 { return HAL_ERROR; - 8005012: 2301 movs r3, #1 - 8005014: e041 b.n 800509a + 80051a2: 2301 movs r3, #1 + 80051a4: e041 b.n 800522a assert_param(IS_TIM_COUNTER_MODE(htim->Init.CounterMode)); assert_param(IS_TIM_CLOCKDIVISION_DIV(htim->Init.ClockDivision)); assert_param(IS_TIM_PERIOD(htim, htim->Init.Period)); assert_param(IS_TIM_AUTORELOAD_PRELOAD(htim->Init.AutoReloadPreload)); if (htim->State == HAL_TIM_STATE_RESET) - 8005016: 687b ldr r3, [r7, #4] - 8005018: f893 303d ldrb.w r3, [r3, #61] @ 0x3d - 800501c: b2db uxtb r3, r3 - 800501e: 2b00 cmp r3, #0 - 8005020: d106 bne.n 8005030 + 80051a6: 687b ldr r3, [r7, #4] + 80051a8: f893 303d ldrb.w r3, [r3, #61] @ 0x3d + 80051ac: b2db uxtb r3, r3 + 80051ae: 2b00 cmp r3, #0 + 80051b0: d106 bne.n 80051c0 { /* Allocate lock resource and initialize it */ htim->Lock = HAL_UNLOCKED; - 8005022: 687b ldr r3, [r7, #4] - 8005024: 2200 movs r2, #0 - 8005026: f883 203c strb.w r2, [r3, #60] @ 0x3c + 80051b2: 687b ldr r3, [r7, #4] + 80051b4: 2200 movs r2, #0 + 80051b6: f883 203c strb.w r2, [r3, #60] @ 0x3c } /* Init the low level hardware : GPIO, CLOCK, NVIC */ htim->OC_MspInitCallback(htim); #else /* Init the low level hardware : GPIO, CLOCK, NVIC and DMA */ HAL_TIM_OC_MspInit(htim); - 800502a: 6878 ldr r0, [r7, #4] - 800502c: f7fb ff6a bl 8000f04 + 80051ba: 6878 ldr r0, [r7, #4] + 80051bc: f7fb ff6a bl 8001094 #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ } /* Set the TIM state */ htim->State = HAL_TIM_STATE_BUSY; - 8005030: 687b ldr r3, [r7, #4] - 8005032: 2202 movs r2, #2 - 8005034: f883 203d strb.w r2, [r3, #61] @ 0x3d + 80051c0: 687b ldr r3, [r7, #4] + 80051c2: 2202 movs r2, #2 + 80051c4: f883 203d strb.w r2, [r3, #61] @ 0x3d /* Init the base time for the Output Compare */ TIM_Base_SetConfig(htim->Instance, &htim->Init); - 8005038: 687b ldr r3, [r7, #4] - 800503a: 681a ldr r2, [r3, #0] - 800503c: 687b ldr r3, [r7, #4] - 800503e: 3304 adds r3, #4 - 8005040: 4619 mov r1, r3 - 8005042: 4610 mov r0, r2 - 8005044: f000 f930 bl 80052a8 + 80051c8: 687b ldr r3, [r7, #4] + 80051ca: 681a ldr r2, [r3, #0] + 80051cc: 687b ldr r3, [r7, #4] + 80051ce: 3304 adds r3, #4 + 80051d0: 4619 mov r1, r3 + 80051d2: 4610 mov r0, r2 + 80051d4: f000 f930 bl 8005438 /* Initialize the DMA burst operation state */ htim->DMABurstState = HAL_DMA_BURST_STATE_READY; - 8005048: 687b ldr r3, [r7, #4] - 800504a: 2201 movs r2, #1 - 800504c: f883 2046 strb.w r2, [r3, #70] @ 0x46 + 80051d8: 687b ldr r3, [r7, #4] + 80051da: 2201 movs r2, #1 + 80051dc: f883 2046 strb.w r2, [r3, #70] @ 0x46 /* Initialize the TIM channels state */ TIM_CHANNEL_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_READY); - 8005050: 687b ldr r3, [r7, #4] - 8005052: 2201 movs r2, #1 - 8005054: f883 203e strb.w r2, [r3, #62] @ 0x3e - 8005058: 687b ldr r3, [r7, #4] - 800505a: 2201 movs r2, #1 - 800505c: f883 203f strb.w r2, [r3, #63] @ 0x3f - 8005060: 687b ldr r3, [r7, #4] - 8005062: 2201 movs r2, #1 - 8005064: f883 2040 strb.w r2, [r3, #64] @ 0x40 - 8005068: 687b ldr r3, [r7, #4] - 800506a: 2201 movs r2, #1 - 800506c: f883 2041 strb.w r2, [r3, #65] @ 0x41 + 80051e0: 687b ldr r3, [r7, #4] + 80051e2: 2201 movs r2, #1 + 80051e4: f883 203e strb.w r2, [r3, #62] @ 0x3e + 80051e8: 687b ldr r3, [r7, #4] + 80051ea: 2201 movs r2, #1 + 80051ec: f883 203f strb.w r2, [r3, #63] @ 0x3f + 80051f0: 687b ldr r3, [r7, #4] + 80051f2: 2201 movs r2, #1 + 80051f4: f883 2040 strb.w r2, [r3, #64] @ 0x40 + 80051f8: 687b ldr r3, [r7, #4] + 80051fa: 2201 movs r2, #1 + 80051fc: f883 2041 strb.w r2, [r3, #65] @ 0x41 TIM_CHANNEL_N_STATE_SET_ALL(htim, HAL_TIM_CHANNEL_STATE_READY); - 8005070: 687b ldr r3, [r7, #4] - 8005072: 2201 movs r2, #1 - 8005074: f883 2042 strb.w r2, [r3, #66] @ 0x42 - 8005078: 687b ldr r3, [r7, #4] - 800507a: 2201 movs r2, #1 - 800507c: f883 2043 strb.w r2, [r3, #67] @ 0x43 - 8005080: 687b ldr r3, [r7, #4] - 8005082: 2201 movs r2, #1 - 8005084: f883 2044 strb.w r2, [r3, #68] @ 0x44 - 8005088: 687b ldr r3, [r7, #4] - 800508a: 2201 movs r2, #1 - 800508c: f883 2045 strb.w r2, [r3, #69] @ 0x45 + 8005200: 687b ldr r3, [r7, #4] + 8005202: 2201 movs r2, #1 + 8005204: f883 2042 strb.w r2, [r3, #66] @ 0x42 + 8005208: 687b ldr r3, [r7, #4] + 800520a: 2201 movs r2, #1 + 800520c: f883 2043 strb.w r2, [r3, #67] @ 0x43 + 8005210: 687b ldr r3, [r7, #4] + 8005212: 2201 movs r2, #1 + 8005214: f883 2044 strb.w r2, [r3, #68] @ 0x44 + 8005218: 687b ldr r3, [r7, #4] + 800521a: 2201 movs r2, #1 + 800521c: f883 2045 strb.w r2, [r3, #69] @ 0x45 /* Initialize the TIM state*/ htim->State = HAL_TIM_STATE_READY; - 8005090: 687b ldr r3, [r7, #4] - 8005092: 2201 movs r2, #1 - 8005094: f883 203d strb.w r2, [r3, #61] @ 0x3d + 8005220: 687b ldr r3, [r7, #4] + 8005222: 2201 movs r2, #1 + 8005224: f883 203d strb.w r2, [r3, #61] @ 0x3d return HAL_OK; - 8005098: 2300 movs r3, #0 + 8005228: 2300 movs r3, #0 } - 800509a: 4618 mov r0, r3 - 800509c: 3708 adds r7, #8 - 800509e: 46bd mov sp, r7 - 80050a0: bd80 pop {r7, pc} + 800522a: 4618 mov r0, r3 + 800522c: 3708 adds r7, #8 + 800522e: 46bd mov sp, r7 + 8005230: bd80 pop {r7, pc} -080050a2 : +08005232 : * @param htim TIM Encoder Interface handle * @param sConfig TIM Encoder Interface configuration structure * @retval HAL status */ HAL_StatusTypeDef HAL_TIM_Encoder_Init(TIM_HandleTypeDef *htim, const TIM_Encoder_InitTypeDef *sConfig) { - 80050a2: b580 push {r7, lr} - 80050a4: b086 sub sp, #24 - 80050a6: af00 add r7, sp, #0 - 80050a8: 6078 str r0, [r7, #4] - 80050aa: 6039 str r1, [r7, #0] + 8005232: b580 push {r7, lr} + 8005234: b086 sub sp, #24 + 8005236: af00 add r7, sp, #0 + 8005238: 6078 str r0, [r7, #4] + 800523a: 6039 str r1, [r7, #0] uint32_t tmpsmcr; uint32_t tmpccmr1; uint32_t tmpccer; /* Check the TIM handle allocation */ if (htim == NULL) - 80050ac: 687b ldr r3, [r7, #4] - 80050ae: 2b00 cmp r3, #0 - 80050b0: d101 bne.n 80050b6 + 800523c: 687b ldr r3, [r7, #4] + 800523e: 2b00 cmp r3, #0 + 8005240: d101 bne.n 8005246 { return HAL_ERROR; - 80050b2: 2301 movs r3, #1 - 80050b4: e097 b.n 80051e6 + 8005242: 2301 movs r3, #1 + 8005244: e097 b.n 8005376 assert_param(IS_TIM_IC_PRESCALER(sConfig->IC2Prescaler)); assert_param(IS_TIM_IC_FILTER(sConfig->IC1Filter)); assert_param(IS_TIM_IC_FILTER(sConfig->IC2Filter)); assert_param(IS_TIM_PERIOD(htim, htim->Init.Period)); if (htim->State == HAL_TIM_STATE_RESET) - 80050b6: 687b ldr r3, [r7, #4] - 80050b8: f893 303d ldrb.w r3, [r3, #61] @ 0x3d - 80050bc: b2db uxtb r3, r3 - 80050be: 2b00 cmp r3, #0 - 80050c0: d106 bne.n 80050d0 + 8005246: 687b ldr r3, [r7, #4] + 8005248: f893 303d ldrb.w r3, [r3, #61] @ 0x3d + 800524c: b2db uxtb r3, r3 + 800524e: 2b00 cmp r3, #0 + 8005250: d106 bne.n 8005260 { /* Allocate lock resource and initialize it */ htim->Lock = HAL_UNLOCKED; - 80050c2: 687b ldr r3, [r7, #4] - 80050c4: 2200 movs r2, #0 - 80050c6: f883 203c strb.w r2, [r3, #60] @ 0x3c + 8005252: 687b ldr r3, [r7, #4] + 8005254: 2200 movs r2, #0 + 8005256: f883 203c strb.w r2, [r3, #60] @ 0x3c } /* Init the low level hardware : GPIO, CLOCK, NVIC */ htim->Encoder_MspInitCallback(htim); #else /* Init the low level hardware : GPIO, CLOCK, NVIC and DMA */ HAL_TIM_Encoder_MspInit(htim); - 80050ca: 6878 ldr r0, [r7, #4] - 80050cc: f7fb ff3a bl 8000f44 + 800525a: 6878 ldr r0, [r7, #4] + 800525c: f7fb ff3a bl 80010d4 #endif /* USE_HAL_TIM_REGISTER_CALLBACKS */ } /* Set the TIM state */ htim->State = HAL_TIM_STATE_BUSY; - 80050d0: 687b ldr r3, [r7, #4] - 80050d2: 2202 movs r2, #2 - 80050d4: f883 203d strb.w r2, [r3, #61] @ 0x3d + 8005260: 687b ldr r3, [r7, #4] + 8005262: 2202 movs r2, #2 + 8005264: f883 203d strb.w r2, [r3, #61] @ 0x3d /* Reset the SMS and ECE bits */ htim->Instance->SMCR &= ~(TIM_SMCR_SMS | TIM_SMCR_ECE); - 80050d8: 687b ldr r3, [r7, #4] - 80050da: 681b ldr r3, [r3, #0] - 80050dc: 689b ldr r3, [r3, #8] - 80050de: 687a ldr r2, [r7, #4] - 80050e0: 6812 ldr r2, [r2, #0] - 80050e2: f423 4380 bic.w r3, r3, #16384 @ 0x4000 - 80050e6: f023 0307 bic.w r3, r3, #7 - 80050ea: 6093 str r3, [r2, #8] + 8005268: 687b ldr r3, [r7, #4] + 800526a: 681b ldr r3, [r3, #0] + 800526c: 689b ldr r3, [r3, #8] + 800526e: 687a ldr r2, [r7, #4] + 8005270: 6812 ldr r2, [r2, #0] + 8005272: f423 4380 bic.w r3, r3, #16384 @ 0x4000 + 8005276: f023 0307 bic.w r3, r3, #7 + 800527a: 6093 str r3, [r2, #8] /* Configure the Time base in the Encoder Mode */ TIM_Base_SetConfig(htim->Instance, &htim->Init); - 80050ec: 687b ldr r3, [r7, #4] - 80050ee: 681a ldr r2, [r3, #0] - 80050f0: 687b ldr r3, [r7, #4] - 80050f2: 3304 adds r3, #4 - 80050f4: 4619 mov r1, r3 - 80050f6: 4610 mov r0, r2 - 80050f8: f000 f8d6 bl 80052a8 + 800527c: 687b ldr r3, [r7, #4] + 800527e: 681a ldr r2, [r3, #0] + 8005280: 687b ldr r3, [r7, #4] + 8005282: 3304 adds r3, #4 + 8005284: 4619 mov r1, r3 + 8005286: 4610 mov r0, r2 + 8005288: f000 f8d6 bl 8005438 /* Get the TIMx SMCR register value */ tmpsmcr = htim->Instance->SMCR; - 80050fc: 687b ldr r3, [r7, #4] - 80050fe: 681b ldr r3, [r3, #0] - 8005100: 689b ldr r3, [r3, #8] - 8005102: 617b str r3, [r7, #20] + 800528c: 687b ldr r3, [r7, #4] + 800528e: 681b ldr r3, [r3, #0] + 8005290: 689b ldr r3, [r3, #8] + 8005292: 617b str r3, [r7, #20] /* Get the TIMx CCMR1 register value */ tmpccmr1 = htim->Instance->CCMR1; - 8005104: 687b ldr r3, [r7, #4] - 8005106: 681b ldr r3, [r3, #0] - 8005108: 699b ldr r3, [r3, #24] - 800510a: 613b str r3, [r7, #16] + 8005294: 687b ldr r3, [r7, #4] + 8005296: 681b ldr r3, [r3, #0] + 8005298: 699b ldr r3, [r3, #24] + 800529a: 613b str r3, [r7, #16] /* Get the TIMx CCER register value */ tmpccer = htim->Instance->CCER; - 800510c: 687b ldr r3, [r7, #4] - 800510e: 681b ldr r3, [r3, #0] - 8005110: 6a1b ldr r3, [r3, #32] - 8005112: 60fb str r3, [r7, #12] + 800529c: 687b ldr r3, [r7, #4] + 800529e: 681b ldr r3, [r3, #0] + 80052a0: 6a1b ldr r3, [r3, #32] + 80052a2: 60fb str r3, [r7, #12] /* Set the encoder Mode */ tmpsmcr |= sConfig->EncoderMode; - 8005114: 683b ldr r3, [r7, #0] - 8005116: 681b ldr r3, [r3, #0] - 8005118: 697a ldr r2, [r7, #20] - 800511a: 4313 orrs r3, r2 - 800511c: 617b str r3, [r7, #20] + 80052a4: 683b ldr r3, [r7, #0] + 80052a6: 681b ldr r3, [r3, #0] + 80052a8: 697a ldr r2, [r7, #20] + 80052aa: 4313 orrs r3, r2 + 80052ac: 617b str r3, [r7, #20] /* Select the Capture Compare 1 and the Capture Compare 2 as input */ tmpccmr1 &= ~(TIM_CCMR1_CC1S | TIM_CCMR1_CC2S); - 800511e: 693b ldr r3, [r7, #16] - 8005120: f423 7340 bic.w r3, r3, #768 @ 0x300 - 8005124: f023 0303 bic.w r3, r3, #3 - 8005128: 613b str r3, [r7, #16] + 80052ae: 693b ldr r3, [r7, #16] + 80052b0: f423 7340 bic.w r3, r3, #768 @ 0x300 + 80052b4: f023 0303 bic.w r3, r3, #3 + 80052b8: 613b str r3, [r7, #16] tmpccmr1 |= (sConfig->IC1Selection | (sConfig->IC2Selection << 8U)); - 800512a: 683b ldr r3, [r7, #0] - 800512c: 689a ldr r2, [r3, #8] - 800512e: 683b ldr r3, [r7, #0] - 8005130: 699b ldr r3, [r3, #24] - 8005132: 021b lsls r3, r3, #8 - 8005134: 4313 orrs r3, r2 - 8005136: 693a ldr r2, [r7, #16] - 8005138: 4313 orrs r3, r2 - 800513a: 613b str r3, [r7, #16] + 80052ba: 683b ldr r3, [r7, #0] + 80052bc: 689a ldr r2, [r3, #8] + 80052be: 683b ldr r3, [r7, #0] + 80052c0: 699b ldr r3, [r3, #24] + 80052c2: 021b lsls r3, r3, #8 + 80052c4: 4313 orrs r3, r2 + 80052c6: 693a ldr r2, [r7, #16] + 80052c8: 4313 orrs r3, r2 + 80052ca: 613b str r3, [r7, #16] /* Set the Capture Compare 1 and the Capture Compare 2 prescalers and filters */ tmpccmr1 &= ~(TIM_CCMR1_IC1PSC | TIM_CCMR1_IC2PSC); - 800513c: 693b ldr r3, [r7, #16] - 800513e: f423 6340 bic.w r3, r3, #3072 @ 0xc00 - 8005142: f023 030c bic.w r3, r3, #12 - 8005146: 613b str r3, [r7, #16] + 80052cc: 693b ldr r3, [r7, #16] + 80052ce: f423 6340 bic.w r3, r3, #3072 @ 0xc00 + 80052d2: f023 030c bic.w r3, r3, #12 + 80052d6: 613b str r3, [r7, #16] tmpccmr1 &= ~(TIM_CCMR1_IC1F | TIM_CCMR1_IC2F); - 8005148: 693b ldr r3, [r7, #16] - 800514a: f423 4370 bic.w r3, r3, #61440 @ 0xf000 - 800514e: f023 03f0 bic.w r3, r3, #240 @ 0xf0 - 8005152: 613b str r3, [r7, #16] + 80052d8: 693b ldr r3, [r7, #16] + 80052da: f423 4370 bic.w r3, r3, #61440 @ 0xf000 + 80052de: f023 03f0 bic.w r3, r3, #240 @ 0xf0 + 80052e2: 613b str r3, [r7, #16] tmpccmr1 |= sConfig->IC1Prescaler | (sConfig->IC2Prescaler << 8U); - 8005154: 683b ldr r3, [r7, #0] - 8005156: 68da ldr r2, [r3, #12] - 8005158: 683b ldr r3, [r7, #0] - 800515a: 69db ldr r3, [r3, #28] - 800515c: 021b lsls r3, r3, #8 - 800515e: 4313 orrs r3, r2 - 8005160: 693a ldr r2, [r7, #16] - 8005162: 4313 orrs r3, r2 - 8005164: 613b str r3, [r7, #16] + 80052e4: 683b ldr r3, [r7, #0] + 80052e6: 68da ldr r2, [r3, #12] + 80052e8: 683b ldr r3, [r7, #0] + 80052ea: 69db ldr r3, [r3, #28] + 80052ec: 021b lsls r3, r3, #8 + 80052ee: 4313 orrs r3, r2 + 80052f0: 693a ldr r2, [r7, #16] + 80052f2: 4313 orrs r3, r2 + 80052f4: 613b str r3, [r7, #16] tmpccmr1 |= (sConfig->IC1Filter << 4U) | (sConfig->IC2Filter << 12U); - 8005166: 683b ldr r3, [r7, #0] - 8005168: 691b ldr r3, [r3, #16] - 800516a: 011a lsls r2, r3, #4 - 800516c: 683b ldr r3, [r7, #0] - 800516e: 6a1b ldr r3, [r3, #32] - 8005170: 031b lsls r3, r3, #12 - 8005172: 4313 orrs r3, r2 - 8005174: 693a ldr r2, [r7, #16] - 8005176: 4313 orrs r3, r2 - 8005178: 613b str r3, [r7, #16] + 80052f6: 683b ldr r3, [r7, #0] + 80052f8: 691b ldr r3, [r3, #16] + 80052fa: 011a lsls r2, r3, #4 + 80052fc: 683b ldr r3, [r7, #0] + 80052fe: 6a1b ldr r3, [r3, #32] + 8005300: 031b lsls r3, r3, #12 + 8005302: 4313 orrs r3, r2 + 8005304: 693a ldr r2, [r7, #16] + 8005306: 4313 orrs r3, r2 + 8005308: 613b str r3, [r7, #16] /* Set the TI1 and the TI2 Polarities */ tmpccer &= ~(TIM_CCER_CC1P | TIM_CCER_CC2P); - 800517a: 68fb ldr r3, [r7, #12] - 800517c: f023 0322 bic.w r3, r3, #34 @ 0x22 - 8005180: 60fb str r3, [r7, #12] + 800530a: 68fb ldr r3, [r7, #12] + 800530c: f023 0322 bic.w r3, r3, #34 @ 0x22 + 8005310: 60fb str r3, [r7, #12] tmpccer &= ~(TIM_CCER_CC1NP | TIM_CCER_CC2NP); - 8005182: 68fb ldr r3, [r7, #12] - 8005184: f023 0388 bic.w r3, r3, #136 @ 0x88 - 8005188: 60fb str r3, [r7, #12] + 8005312: 68fb ldr r3, [r7, #12] + 8005314: f023 0388 bic.w r3, r3, #136 @ 0x88 + 8005318: 60fb str r3, [r7, #12] tmpccer |= sConfig->IC1Polarity | (sConfig->IC2Polarity << 4U); - 800518a: 683b ldr r3, [r7, #0] - 800518c: 685a ldr r2, [r3, #4] - 800518e: 683b ldr r3, [r7, #0] - 8005190: 695b ldr r3, [r3, #20] - 8005192: 011b lsls r3, r3, #4 - 8005194: 4313 orrs r3, r2 - 8005196: 68fa ldr r2, [r7, #12] - 8005198: 4313 orrs r3, r2 - 800519a: 60fb str r3, [r7, #12] + 800531a: 683b ldr r3, [r7, #0] + 800531c: 685a ldr r2, [r3, #4] + 800531e: 683b ldr r3, [r7, #0] + 8005320: 695b ldr r3, [r3, #20] + 8005322: 011b lsls r3, r3, #4 + 8005324: 4313 orrs r3, r2 + 8005326: 68fa ldr r2, [r7, #12] + 8005328: 4313 orrs r3, r2 + 800532a: 60fb str r3, [r7, #12] /* Write to TIMx SMCR */ htim->Instance->SMCR = tmpsmcr; - 800519c: 687b ldr r3, [r7, #4] - 800519e: 681b ldr r3, [r3, #0] - 80051a0: 697a ldr r2, [r7, #20] - 80051a2: 609a str r2, [r3, #8] + 800532c: 687b ldr r3, [r7, #4] + 800532e: 681b ldr r3, [r3, #0] + 8005330: 697a ldr r2, [r7, #20] + 8005332: 609a str r2, [r3, #8] /* Write to TIMx CCMR1 */ htim->Instance->CCMR1 = tmpccmr1; - 80051a4: 687b ldr r3, [r7, #4] - 80051a6: 681b ldr r3, [r3, #0] - 80051a8: 693a ldr r2, [r7, #16] - 80051aa: 619a str r2, [r3, #24] + 8005334: 687b ldr r3, [r7, #4] + 8005336: 681b ldr r3, [r3, #0] + 8005338: 693a ldr r2, [r7, #16] + 800533a: 619a str r2, [r3, #24] /* Write to TIMx CCER */ htim->Instance->CCER = tmpccer; - 80051ac: 687b ldr r3, [r7, #4] - 80051ae: 681b ldr r3, [r3, #0] - 80051b0: 68fa ldr r2, [r7, #12] - 80051b2: 621a str r2, [r3, #32] + 800533c: 687b ldr r3, [r7, #4] + 800533e: 681b ldr r3, [r3, #0] + 8005340: 68fa ldr r2, [r7, #12] + 8005342: 621a str r2, [r3, #32] /* Initialize the DMA burst operation state */ htim->DMABurstState = HAL_DMA_BURST_STATE_READY; - 80051b4: 687b ldr r3, [r7, #4] - 80051b6: 2201 movs r2, #1 - 80051b8: f883 2046 strb.w r2, [r3, #70] @ 0x46 + 8005344: 687b ldr r3, [r7, #4] + 8005346: 2201 movs r2, #1 + 8005348: f883 2046 strb.w r2, [r3, #70] @ 0x46 /* Set the TIM channels state */ TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY); - 80051bc: 687b ldr r3, [r7, #4] - 80051be: 2201 movs r2, #1 - 80051c0: f883 203e strb.w r2, [r3, #62] @ 0x3e + 800534c: 687b ldr r3, [r7, #4] + 800534e: 2201 movs r2, #1 + 8005350: f883 203e strb.w r2, [r3, #62] @ 0x3e TIM_CHANNEL_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY); - 80051c4: 687b ldr r3, [r7, #4] - 80051c6: 2201 movs r2, #1 - 80051c8: f883 203f strb.w r2, [r3, #63] @ 0x3f + 8005354: 687b ldr r3, [r7, #4] + 8005356: 2201 movs r2, #1 + 8005358: f883 203f strb.w r2, [r3, #63] @ 0x3f TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_1, HAL_TIM_CHANNEL_STATE_READY); - 80051cc: 687b ldr r3, [r7, #4] - 80051ce: 2201 movs r2, #1 - 80051d0: f883 2042 strb.w r2, [r3, #66] @ 0x42 + 800535c: 687b ldr r3, [r7, #4] + 800535e: 2201 movs r2, #1 + 8005360: f883 2042 strb.w r2, [r3, #66] @ 0x42 TIM_CHANNEL_N_STATE_SET(htim, TIM_CHANNEL_2, HAL_TIM_CHANNEL_STATE_READY); - 80051d4: 687b ldr r3, [r7, #4] - 80051d6: 2201 movs r2, #1 - 80051d8: f883 2043 strb.w r2, [r3, #67] @ 0x43 + 8005364: 687b ldr r3, [r7, #4] + 8005366: 2201 movs r2, #1 + 8005368: f883 2043 strb.w r2, [r3, #67] @ 0x43 /* Initialize the TIM state*/ htim->State = HAL_TIM_STATE_READY; - 80051dc: 687b ldr r3, [r7, #4] - 80051de: 2201 movs r2, #1 - 80051e0: f883 203d strb.w r2, [r3, #61] @ 0x3d + 800536c: 687b ldr r3, [r7, #4] + 800536e: 2201 movs r2, #1 + 8005370: f883 203d strb.w r2, [r3, #61] @ 0x3d return HAL_OK; - 80051e4: 2300 movs r3, #0 + 8005374: 2300 movs r3, #0 } - 80051e6: 4618 mov r0, r3 - 80051e8: 3718 adds r7, #24 - 80051ea: 46bd mov sp, r7 - 80051ec: bd80 pop {r7, pc} + 8005376: 4618 mov r0, r3 + 8005378: 3718 adds r7, #24 + 800537a: 46bd mov sp, r7 + 800537c: bd80 pop {r7, pc} ... -080051f0 : +08005380 : * @retval HAL status */ HAL_StatusTypeDef HAL_TIM_OC_ConfigChannel(TIM_HandleTypeDef *htim, const TIM_OC_InitTypeDef *sConfig, uint32_t Channel) { - 80051f0: b580 push {r7, lr} - 80051f2: b086 sub sp, #24 - 80051f4: af00 add r7, sp, #0 - 80051f6: 60f8 str r0, [r7, #12] - 80051f8: 60b9 str r1, [r7, #8] - 80051fa: 607a str r2, [r7, #4] + 8005380: b580 push {r7, lr} + 8005382: b086 sub sp, #24 + 8005384: af00 add r7, sp, #0 + 8005386: 60f8 str r0, [r7, #12] + 8005388: 60b9 str r1, [r7, #8] + 800538a: 607a str r2, [r7, #4] HAL_StatusTypeDef status = HAL_OK; - 80051fc: 2300 movs r3, #0 - 80051fe: 75fb strb r3, [r7, #23] + 800538c: 2300 movs r3, #0 + 800538e: 75fb strb r3, [r7, #23] assert_param(IS_TIM_CHANNELS(Channel)); assert_param(IS_TIM_OC_MODE(sConfig->OCMode)); assert_param(IS_TIM_OC_POLARITY(sConfig->OCPolarity)); /* Process Locked */ __HAL_LOCK(htim); - 8005200: 68fb ldr r3, [r7, #12] - 8005202: f893 303c ldrb.w r3, [r3, #60] @ 0x3c - 8005206: 2b01 cmp r3, #1 - 8005208: d101 bne.n 800520e - 800520a: 2302 movs r3, #2 - 800520c: e048 b.n 80052a0 - 800520e: 68fb ldr r3, [r7, #12] - 8005210: 2201 movs r2, #1 - 8005212: f883 203c strb.w r2, [r3, #60] @ 0x3c + 8005390: 68fb ldr r3, [r7, #12] + 8005392: f893 303c ldrb.w r3, [r3, #60] @ 0x3c + 8005396: 2b01 cmp r3, #1 + 8005398: d101 bne.n 800539e + 800539a: 2302 movs r3, #2 + 800539c: e048 b.n 8005430 + 800539e: 68fb ldr r3, [r7, #12] + 80053a0: 2201 movs r2, #1 + 80053a2: f883 203c strb.w r2, [r3, #60] @ 0x3c switch (Channel) - 8005216: 687b ldr r3, [r7, #4] - 8005218: 2b0c cmp r3, #12 - 800521a: d839 bhi.n 8005290 - 800521c: a201 add r2, pc, #4 @ (adr r2, 8005224 ) - 800521e: f852 f023 ldr.w pc, [r2, r3, lsl #2] - 8005222: bf00 nop - 8005224: 08005259 .word 0x08005259 - 8005228: 08005291 .word 0x08005291 - 800522c: 08005291 .word 0x08005291 - 8005230: 08005291 .word 0x08005291 - 8005234: 08005267 .word 0x08005267 - 8005238: 08005291 .word 0x08005291 - 800523c: 08005291 .word 0x08005291 - 8005240: 08005291 .word 0x08005291 - 8005244: 08005275 .word 0x08005275 - 8005248: 08005291 .word 0x08005291 - 800524c: 08005291 .word 0x08005291 - 8005250: 08005291 .word 0x08005291 - 8005254: 08005283 .word 0x08005283 + 80053a6: 687b ldr r3, [r7, #4] + 80053a8: 2b0c cmp r3, #12 + 80053aa: d839 bhi.n 8005420 + 80053ac: a201 add r2, pc, #4 @ (adr r2, 80053b4 ) + 80053ae: f852 f023 ldr.w pc, [r2, r3, lsl #2] + 80053b2: bf00 nop + 80053b4: 080053e9 .word 0x080053e9 + 80053b8: 08005421 .word 0x08005421 + 80053bc: 08005421 .word 0x08005421 + 80053c0: 08005421 .word 0x08005421 + 80053c4: 080053f7 .word 0x080053f7 + 80053c8: 08005421 .word 0x08005421 + 80053cc: 08005421 .word 0x08005421 + 80053d0: 08005421 .word 0x08005421 + 80053d4: 08005405 .word 0x08005405 + 80053d8: 08005421 .word 0x08005421 + 80053dc: 08005421 .word 0x08005421 + 80053e0: 08005421 .word 0x08005421 + 80053e4: 08005413 .word 0x08005413 { /* Check the parameters */ assert_param(IS_TIM_CC1_INSTANCE(htim->Instance)); /* Configure the TIM Channel 1 in Output Compare */ TIM_OC1_SetConfig(htim->Instance, sConfig); - 8005258: 68fb ldr r3, [r7, #12] - 800525a: 681b ldr r3, [r3, #0] - 800525c: 68b9 ldr r1, [r7, #8] - 800525e: 4618 mov r0, r3 - 8005260: f000 f8c8 bl 80053f4 + 80053e8: 68fb ldr r3, [r7, #12] + 80053ea: 681b ldr r3, [r3, #0] + 80053ec: 68b9 ldr r1, [r7, #8] + 80053ee: 4618 mov r0, r3 + 80053f0: f000 f8c8 bl 8005584 break; - 8005264: e017 b.n 8005296 + 80053f4: e017 b.n 8005426 { /* Check the parameters */ assert_param(IS_TIM_CC2_INSTANCE(htim->Instance)); /* Configure the TIM Channel 2 in Output Compare */ TIM_OC2_SetConfig(htim->Instance, sConfig); - 8005266: 68fb ldr r3, [r7, #12] - 8005268: 681b ldr r3, [r3, #0] - 800526a: 68b9 ldr r1, [r7, #8] - 800526c: 4618 mov r0, r3 - 800526e: f000 f931 bl 80054d4 + 80053f6: 68fb ldr r3, [r7, #12] + 80053f8: 681b ldr r3, [r3, #0] + 80053fa: 68b9 ldr r1, [r7, #8] + 80053fc: 4618 mov r0, r3 + 80053fe: f000 f931 bl 8005664 break; - 8005272: e010 b.n 8005296 + 8005402: e010 b.n 8005426 { /* Check the parameters */ assert_param(IS_TIM_CC3_INSTANCE(htim->Instance)); /* Configure the TIM Channel 3 in Output Compare */ TIM_OC3_SetConfig(htim->Instance, sConfig); - 8005274: 68fb ldr r3, [r7, #12] - 8005276: 681b ldr r3, [r3, #0] - 8005278: 68b9 ldr r1, [r7, #8] - 800527a: 4618 mov r0, r3 - 800527c: f000 f9a0 bl 80055c0 + 8005404: 68fb ldr r3, [r7, #12] + 8005406: 681b ldr r3, [r3, #0] + 8005408: 68b9 ldr r1, [r7, #8] + 800540a: 4618 mov r0, r3 + 800540c: f000 f9a0 bl 8005750 break; - 8005280: e009 b.n 8005296 + 8005410: e009 b.n 8005426 { /* Check the parameters */ assert_param(IS_TIM_CC4_INSTANCE(htim->Instance)); /* Configure the TIM Channel 4 in Output Compare */ TIM_OC4_SetConfig(htim->Instance, sConfig); - 8005282: 68fb ldr r3, [r7, #12] - 8005284: 681b ldr r3, [r3, #0] - 8005286: 68b9 ldr r1, [r7, #8] - 8005288: 4618 mov r0, r3 - 800528a: f000 fa0d bl 80056a8 + 8005412: 68fb ldr r3, [r7, #12] + 8005414: 681b ldr r3, [r3, #0] + 8005416: 68b9 ldr r1, [r7, #8] + 8005418: 4618 mov r0, r3 + 800541a: f000 fa0d bl 8005838 break; - 800528e: e002 b.n 8005296 + 800541e: e002 b.n 8005426 } default: status = HAL_ERROR; - 8005290: 2301 movs r3, #1 - 8005292: 75fb strb r3, [r7, #23] + 8005420: 2301 movs r3, #1 + 8005422: 75fb strb r3, [r7, #23] break; - 8005294: bf00 nop + 8005424: bf00 nop } __HAL_UNLOCK(htim); - 8005296: 68fb ldr r3, [r7, #12] - 8005298: 2200 movs r2, #0 - 800529a: f883 203c strb.w r2, [r3, #60] @ 0x3c + 8005426: 68fb ldr r3, [r7, #12] + 8005428: 2200 movs r2, #0 + 800542a: f883 203c strb.w r2, [r3, #60] @ 0x3c return status; - 800529e: 7dfb ldrb r3, [r7, #23] + 800542e: 7dfb ldrb r3, [r7, #23] } - 80052a0: 4618 mov r0, r3 - 80052a2: 3718 adds r7, #24 - 80052a4: 46bd mov sp, r7 - 80052a6: bd80 pop {r7, pc} + 8005430: 4618 mov r0, r3 + 8005432: 3718 adds r7, #24 + 8005434: 46bd mov sp, r7 + 8005436: bd80 pop {r7, pc} -080052a8 : +08005438 : * @param TIMx TIM peripheral * @param Structure TIM Base configuration structure * @retval None */ void TIM_Base_SetConfig(TIM_TypeDef *TIMx, const TIM_Base_InitTypeDef *Structure) { - 80052a8: b480 push {r7} - 80052aa: b085 sub sp, #20 - 80052ac: af00 add r7, sp, #0 - 80052ae: 6078 str r0, [r7, #4] - 80052b0: 6039 str r1, [r7, #0] + 8005438: b480 push {r7} + 800543a: b085 sub sp, #20 + 800543c: af00 add r7, sp, #0 + 800543e: 6078 str r0, [r7, #4] + 8005440: 6039 str r1, [r7, #0] uint32_t tmpcr1; tmpcr1 = TIMx->CR1; - 80052b2: 687b ldr r3, [r7, #4] - 80052b4: 681b ldr r3, [r3, #0] - 80052b6: 60fb str r3, [r7, #12] + 8005442: 687b ldr r3, [r7, #4] + 8005444: 681b ldr r3, [r3, #0] + 8005446: 60fb str r3, [r7, #12] /* Set TIM Time Base Unit parameters ---------------------------------------*/ if (IS_TIM_COUNTER_MODE_SELECT_INSTANCE(TIMx)) - 80052b8: 687b ldr r3, [r7, #4] - 80052ba: 4a43 ldr r2, [pc, #268] @ (80053c8 ) - 80052bc: 4293 cmp r3, r2 - 80052be: d013 beq.n 80052e8 - 80052c0: 687b ldr r3, [r7, #4] - 80052c2: f1b3 4f80 cmp.w r3, #1073741824 @ 0x40000000 - 80052c6: d00f beq.n 80052e8 - 80052c8: 687b ldr r3, [r7, #4] - 80052ca: 4a40 ldr r2, [pc, #256] @ (80053cc ) - 80052cc: 4293 cmp r3, r2 - 80052ce: d00b beq.n 80052e8 - 80052d0: 687b ldr r3, [r7, #4] - 80052d2: 4a3f ldr r2, [pc, #252] @ (80053d0 ) - 80052d4: 4293 cmp r3, r2 - 80052d6: d007 beq.n 80052e8 - 80052d8: 687b ldr r3, [r7, #4] - 80052da: 4a3e ldr r2, [pc, #248] @ (80053d4 ) - 80052dc: 4293 cmp r3, r2 - 80052de: d003 beq.n 80052e8 - 80052e0: 687b ldr r3, [r7, #4] - 80052e2: 4a3d ldr r2, [pc, #244] @ (80053d8 ) - 80052e4: 4293 cmp r3, r2 - 80052e6: d108 bne.n 80052fa + 8005448: 687b ldr r3, [r7, #4] + 800544a: 4a43 ldr r2, [pc, #268] @ (8005558 ) + 800544c: 4293 cmp r3, r2 + 800544e: d013 beq.n 8005478 + 8005450: 687b ldr r3, [r7, #4] + 8005452: f1b3 4f80 cmp.w r3, #1073741824 @ 0x40000000 + 8005456: d00f beq.n 8005478 + 8005458: 687b ldr r3, [r7, #4] + 800545a: 4a40 ldr r2, [pc, #256] @ (800555c ) + 800545c: 4293 cmp r3, r2 + 800545e: d00b beq.n 8005478 + 8005460: 687b ldr r3, [r7, #4] + 8005462: 4a3f ldr r2, [pc, #252] @ (8005560 ) + 8005464: 4293 cmp r3, r2 + 8005466: d007 beq.n 8005478 + 8005468: 687b ldr r3, [r7, #4] + 800546a: 4a3e ldr r2, [pc, #248] @ (8005564 ) + 800546c: 4293 cmp r3, r2 + 800546e: d003 beq.n 8005478 + 8005470: 687b ldr r3, [r7, #4] + 8005472: 4a3d ldr r2, [pc, #244] @ (8005568 ) + 8005474: 4293 cmp r3, r2 + 8005476: d108 bne.n 800548a { /* Select the Counter Mode */ tmpcr1 &= ~(TIM_CR1_DIR | TIM_CR1_CMS); - 80052e8: 68fb ldr r3, [r7, #12] - 80052ea: f023 0370 bic.w r3, r3, #112 @ 0x70 - 80052ee: 60fb str r3, [r7, #12] + 8005478: 68fb ldr r3, [r7, #12] + 800547a: f023 0370 bic.w r3, r3, #112 @ 0x70 + 800547e: 60fb str r3, [r7, #12] tmpcr1 |= Structure->CounterMode; - 80052f0: 683b ldr r3, [r7, #0] - 80052f2: 685b ldr r3, [r3, #4] - 80052f4: 68fa ldr r2, [r7, #12] - 80052f6: 4313 orrs r3, r2 - 80052f8: 60fb str r3, [r7, #12] + 8005480: 683b ldr r3, [r7, #0] + 8005482: 685b ldr r3, [r3, #4] + 8005484: 68fa ldr r2, [r7, #12] + 8005486: 4313 orrs r3, r2 + 8005488: 60fb str r3, [r7, #12] } if (IS_TIM_CLOCK_DIVISION_INSTANCE(TIMx)) - 80052fa: 687b ldr r3, [r7, #4] - 80052fc: 4a32 ldr r2, [pc, #200] @ (80053c8 ) - 80052fe: 4293 cmp r3, r2 - 8005300: d02b beq.n 800535a - 8005302: 687b ldr r3, [r7, #4] - 8005304: f1b3 4f80 cmp.w r3, #1073741824 @ 0x40000000 - 8005308: d027 beq.n 800535a - 800530a: 687b ldr r3, [r7, #4] - 800530c: 4a2f ldr r2, [pc, #188] @ (80053cc ) - 800530e: 4293 cmp r3, r2 - 8005310: d023 beq.n 800535a - 8005312: 687b ldr r3, [r7, #4] - 8005314: 4a2e ldr r2, [pc, #184] @ (80053d0 ) - 8005316: 4293 cmp r3, r2 - 8005318: d01f beq.n 800535a - 800531a: 687b ldr r3, [r7, #4] - 800531c: 4a2d ldr r2, [pc, #180] @ (80053d4 ) - 800531e: 4293 cmp r3, r2 - 8005320: d01b beq.n 800535a - 8005322: 687b ldr r3, [r7, #4] - 8005324: 4a2c ldr r2, [pc, #176] @ (80053d8 ) - 8005326: 4293 cmp r3, r2 - 8005328: d017 beq.n 800535a - 800532a: 687b ldr r3, [r7, #4] - 800532c: 4a2b ldr r2, [pc, #172] @ (80053dc ) - 800532e: 4293 cmp r3, r2 - 8005330: d013 beq.n 800535a - 8005332: 687b ldr r3, [r7, #4] - 8005334: 4a2a ldr r2, [pc, #168] @ (80053e0 ) - 8005336: 4293 cmp r3, r2 - 8005338: d00f beq.n 800535a - 800533a: 687b ldr r3, [r7, #4] - 800533c: 4a29 ldr r2, [pc, #164] @ (80053e4 ) - 800533e: 4293 cmp r3, r2 - 8005340: d00b beq.n 800535a - 8005342: 687b ldr r3, [r7, #4] - 8005344: 4a28 ldr r2, [pc, #160] @ (80053e8 ) - 8005346: 4293 cmp r3, r2 - 8005348: d007 beq.n 800535a - 800534a: 687b ldr r3, [r7, #4] - 800534c: 4a27 ldr r2, [pc, #156] @ (80053ec ) - 800534e: 4293 cmp r3, r2 - 8005350: d003 beq.n 800535a - 8005352: 687b ldr r3, [r7, #4] - 8005354: 4a26 ldr r2, [pc, #152] @ (80053f0 ) - 8005356: 4293 cmp r3, r2 - 8005358: d108 bne.n 800536c + 800548a: 687b ldr r3, [r7, #4] + 800548c: 4a32 ldr r2, [pc, #200] @ (8005558 ) + 800548e: 4293 cmp r3, r2 + 8005490: d02b beq.n 80054ea + 8005492: 687b ldr r3, [r7, #4] + 8005494: f1b3 4f80 cmp.w r3, #1073741824 @ 0x40000000 + 8005498: d027 beq.n 80054ea + 800549a: 687b ldr r3, [r7, #4] + 800549c: 4a2f ldr r2, [pc, #188] @ (800555c ) + 800549e: 4293 cmp r3, r2 + 80054a0: d023 beq.n 80054ea + 80054a2: 687b ldr r3, [r7, #4] + 80054a4: 4a2e ldr r2, [pc, #184] @ (8005560 ) + 80054a6: 4293 cmp r3, r2 + 80054a8: d01f beq.n 80054ea + 80054aa: 687b ldr r3, [r7, #4] + 80054ac: 4a2d ldr r2, [pc, #180] @ (8005564 ) + 80054ae: 4293 cmp r3, r2 + 80054b0: d01b beq.n 80054ea + 80054b2: 687b ldr r3, [r7, #4] + 80054b4: 4a2c ldr r2, [pc, #176] @ (8005568 ) + 80054b6: 4293 cmp r3, r2 + 80054b8: d017 beq.n 80054ea + 80054ba: 687b ldr r3, [r7, #4] + 80054bc: 4a2b ldr r2, [pc, #172] @ (800556c ) + 80054be: 4293 cmp r3, r2 + 80054c0: d013 beq.n 80054ea + 80054c2: 687b ldr r3, [r7, #4] + 80054c4: 4a2a ldr r2, [pc, #168] @ (8005570 ) + 80054c6: 4293 cmp r3, r2 + 80054c8: d00f beq.n 80054ea + 80054ca: 687b ldr r3, [r7, #4] + 80054cc: 4a29 ldr r2, [pc, #164] @ (8005574 ) + 80054ce: 4293 cmp r3, r2 + 80054d0: d00b beq.n 80054ea + 80054d2: 687b ldr r3, [r7, #4] + 80054d4: 4a28 ldr r2, [pc, #160] @ (8005578 ) + 80054d6: 4293 cmp r3, r2 + 80054d8: d007 beq.n 80054ea + 80054da: 687b ldr r3, [r7, #4] + 80054dc: 4a27 ldr r2, [pc, #156] @ (800557c ) + 80054de: 4293 cmp r3, r2 + 80054e0: d003 beq.n 80054ea + 80054e2: 687b ldr r3, [r7, #4] + 80054e4: 4a26 ldr r2, [pc, #152] @ (8005580 ) + 80054e6: 4293 cmp r3, r2 + 80054e8: d108 bne.n 80054fc { /* Set the clock division */ tmpcr1 &= ~TIM_CR1_CKD; - 800535a: 68fb ldr r3, [r7, #12] - 800535c: f423 7340 bic.w r3, r3, #768 @ 0x300 - 8005360: 60fb str r3, [r7, #12] + 80054ea: 68fb ldr r3, [r7, #12] + 80054ec: f423 7340 bic.w r3, r3, #768 @ 0x300 + 80054f0: 60fb str r3, [r7, #12] tmpcr1 |= (uint32_t)Structure->ClockDivision; - 8005362: 683b ldr r3, [r7, #0] - 8005364: 68db ldr r3, [r3, #12] - 8005366: 68fa ldr r2, [r7, #12] - 8005368: 4313 orrs r3, r2 - 800536a: 60fb str r3, [r7, #12] + 80054f2: 683b ldr r3, [r7, #0] + 80054f4: 68db ldr r3, [r3, #12] + 80054f6: 68fa ldr r2, [r7, #12] + 80054f8: 4313 orrs r3, r2 + 80054fa: 60fb str r3, [r7, #12] } /* Set the auto-reload preload */ MODIFY_REG(tmpcr1, TIM_CR1_ARPE, Structure->AutoReloadPreload); - 800536c: 68fb ldr r3, [r7, #12] - 800536e: f023 0280 bic.w r2, r3, #128 @ 0x80 - 8005372: 683b ldr r3, [r7, #0] - 8005374: 695b ldr r3, [r3, #20] - 8005376: 4313 orrs r3, r2 - 8005378: 60fb str r3, [r7, #12] + 80054fc: 68fb ldr r3, [r7, #12] + 80054fe: f023 0280 bic.w r2, r3, #128 @ 0x80 + 8005502: 683b ldr r3, [r7, #0] + 8005504: 695b ldr r3, [r3, #20] + 8005506: 4313 orrs r3, r2 + 8005508: 60fb str r3, [r7, #12] /* Set the Autoreload value */ TIMx->ARR = (uint32_t)Structure->Period ; - 800537a: 683b ldr r3, [r7, #0] - 800537c: 689a ldr r2, [r3, #8] - 800537e: 687b ldr r3, [r7, #4] - 8005380: 62da str r2, [r3, #44] @ 0x2c + 800550a: 683b ldr r3, [r7, #0] + 800550c: 689a ldr r2, [r3, #8] + 800550e: 687b ldr r3, [r7, #4] + 8005510: 62da str r2, [r3, #44] @ 0x2c /* Set the Prescaler value */ TIMx->PSC = Structure->Prescaler; - 8005382: 683b ldr r3, [r7, #0] - 8005384: 681a ldr r2, [r3, #0] - 8005386: 687b ldr r3, [r7, #4] - 8005388: 629a str r2, [r3, #40] @ 0x28 + 8005512: 683b ldr r3, [r7, #0] + 8005514: 681a ldr r2, [r3, #0] + 8005516: 687b ldr r3, [r7, #4] + 8005518: 629a str r2, [r3, #40] @ 0x28 if (IS_TIM_REPETITION_COUNTER_INSTANCE(TIMx)) - 800538a: 687b ldr r3, [r7, #4] - 800538c: 4a0e ldr r2, [pc, #56] @ (80053c8 ) - 800538e: 4293 cmp r3, r2 - 8005390: d003 beq.n 800539a - 8005392: 687b ldr r3, [r7, #4] - 8005394: 4a10 ldr r2, [pc, #64] @ (80053d8 ) - 8005396: 4293 cmp r3, r2 - 8005398: d103 bne.n 80053a2 + 800551a: 687b ldr r3, [r7, #4] + 800551c: 4a0e ldr r2, [pc, #56] @ (8005558 ) + 800551e: 4293 cmp r3, r2 + 8005520: d003 beq.n 800552a + 8005522: 687b ldr r3, [r7, #4] + 8005524: 4a10 ldr r2, [pc, #64] @ (8005568 ) + 8005526: 4293 cmp r3, r2 + 8005528: d103 bne.n 8005532 { /* Set the Repetition Counter value */ TIMx->RCR = Structure->RepetitionCounter; - 800539a: 683b ldr r3, [r7, #0] - 800539c: 691a ldr r2, [r3, #16] - 800539e: 687b ldr r3, [r7, #4] - 80053a0: 631a str r2, [r3, #48] @ 0x30 + 800552a: 683b ldr r3, [r7, #0] + 800552c: 691a ldr r2, [r3, #16] + 800552e: 687b ldr r3, [r7, #4] + 8005530: 631a str r2, [r3, #48] @ 0x30 } /* Disable Update Event (UEV) with Update Generation (UG) by changing Update Request Source (URS) to avoid Update flag (UIF) */ SET_BIT(TIMx->CR1, TIM_CR1_URS); - 80053a2: 687b ldr r3, [r7, #4] - 80053a4: 681b ldr r3, [r3, #0] - 80053a6: f043 0204 orr.w r2, r3, #4 - 80053aa: 687b ldr r3, [r7, #4] - 80053ac: 601a str r2, [r3, #0] + 8005532: 687b ldr r3, [r7, #4] + 8005534: 681b ldr r3, [r3, #0] + 8005536: f043 0204 orr.w r2, r3, #4 + 800553a: 687b ldr r3, [r7, #4] + 800553c: 601a str r2, [r3, #0] /* Generate an update event to reload the Prescaler and the repetition counter (only for advanced timer) value immediately */ TIMx->EGR = TIM_EGR_UG; - 80053ae: 687b ldr r3, [r7, #4] - 80053b0: 2201 movs r2, #1 - 80053b2: 615a str r2, [r3, #20] + 800553e: 687b ldr r3, [r7, #4] + 8005540: 2201 movs r2, #1 + 8005542: 615a str r2, [r3, #20] TIMx->CR1 = tmpcr1; - 80053b4: 687b ldr r3, [r7, #4] - 80053b6: 68fa ldr r2, [r7, #12] - 80053b8: 601a str r2, [r3, #0] + 8005544: 687b ldr r3, [r7, #4] + 8005546: 68fa ldr r2, [r7, #12] + 8005548: 601a str r2, [r3, #0] } - 80053ba: bf00 nop - 80053bc: 3714 adds r7, #20 - 80053be: 46bd mov sp, r7 - 80053c0: f85d 7b04 ldr.w r7, [sp], #4 - 80053c4: 4770 bx lr - 80053c6: bf00 nop - 80053c8: 40010000 .word 0x40010000 - 80053cc: 40000400 .word 0x40000400 - 80053d0: 40000800 .word 0x40000800 - 80053d4: 40000c00 .word 0x40000c00 - 80053d8: 40010400 .word 0x40010400 - 80053dc: 40014000 .word 0x40014000 - 80053e0: 40014400 .word 0x40014400 - 80053e4: 40014800 .word 0x40014800 - 80053e8: 40001800 .word 0x40001800 - 80053ec: 40001c00 .word 0x40001c00 - 80053f0: 40002000 .word 0x40002000 + 800554a: bf00 nop + 800554c: 3714 adds r7, #20 + 800554e: 46bd mov sp, r7 + 8005550: f85d 7b04 ldr.w r7, [sp], #4 + 8005554: 4770 bx lr + 8005556: bf00 nop + 8005558: 40010000 .word 0x40010000 + 800555c: 40000400 .word 0x40000400 + 8005560: 40000800 .word 0x40000800 + 8005564: 40000c00 .word 0x40000c00 + 8005568: 40010400 .word 0x40010400 + 800556c: 40014000 .word 0x40014000 + 8005570: 40014400 .word 0x40014400 + 8005574: 40014800 .word 0x40014800 + 8005578: 40001800 .word 0x40001800 + 800557c: 40001c00 .word 0x40001c00 + 8005580: 40002000 .word 0x40002000 -080053f4 : +08005584 : * @param TIMx to select the TIM peripheral * @param OC_Config The output configuration structure * @retval None */ static void TIM_OC1_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config) { - 80053f4: b480 push {r7} - 80053f6: b087 sub sp, #28 - 80053f8: af00 add r7, sp, #0 - 80053fa: 6078 str r0, [r7, #4] - 80053fc: 6039 str r1, [r7, #0] + 8005584: b480 push {r7} + 8005586: b087 sub sp, #28 + 8005588: af00 add r7, sp, #0 + 800558a: 6078 str r0, [r7, #4] + 800558c: 6039 str r1, [r7, #0] uint32_t tmpccmrx; uint32_t tmpccer; uint32_t tmpcr2; /* Get the TIMx CCER register value */ tmpccer = TIMx->CCER; - 80053fe: 687b ldr r3, [r7, #4] - 8005400: 6a1b ldr r3, [r3, #32] - 8005402: 617b str r3, [r7, #20] + 800558e: 687b ldr r3, [r7, #4] + 8005590: 6a1b ldr r3, [r3, #32] + 8005592: 617b str r3, [r7, #20] /* Disable the Channel 1: Reset the CC1E Bit */ TIMx->CCER &= ~TIM_CCER_CC1E; - 8005404: 687b ldr r3, [r7, #4] - 8005406: 6a1b ldr r3, [r3, #32] - 8005408: f023 0201 bic.w r2, r3, #1 - 800540c: 687b ldr r3, [r7, #4] - 800540e: 621a str r2, [r3, #32] + 8005594: 687b ldr r3, [r7, #4] + 8005596: 6a1b ldr r3, [r3, #32] + 8005598: f023 0201 bic.w r2, r3, #1 + 800559c: 687b ldr r3, [r7, #4] + 800559e: 621a str r2, [r3, #32] /* Get the TIMx CR2 register value */ tmpcr2 = TIMx->CR2; - 8005410: 687b ldr r3, [r7, #4] - 8005412: 685b ldr r3, [r3, #4] - 8005414: 613b str r3, [r7, #16] + 80055a0: 687b ldr r3, [r7, #4] + 80055a2: 685b ldr r3, [r3, #4] + 80055a4: 613b str r3, [r7, #16] /* Get the TIMx CCMR1 register value */ tmpccmrx = TIMx->CCMR1; - 8005416: 687b ldr r3, [r7, #4] - 8005418: 699b ldr r3, [r3, #24] - 800541a: 60fb str r3, [r7, #12] + 80055a6: 687b ldr r3, [r7, #4] + 80055a8: 699b ldr r3, [r3, #24] + 80055aa: 60fb str r3, [r7, #12] /* Reset the Output Compare Mode Bits */ tmpccmrx &= ~TIM_CCMR1_OC1M; - 800541c: 68fb ldr r3, [r7, #12] - 800541e: f023 0370 bic.w r3, r3, #112 @ 0x70 - 8005422: 60fb str r3, [r7, #12] + 80055ac: 68fb ldr r3, [r7, #12] + 80055ae: f023 0370 bic.w r3, r3, #112 @ 0x70 + 80055b2: 60fb str r3, [r7, #12] tmpccmrx &= ~TIM_CCMR1_CC1S; - 8005424: 68fb ldr r3, [r7, #12] - 8005426: f023 0303 bic.w r3, r3, #3 - 800542a: 60fb str r3, [r7, #12] + 80055b4: 68fb ldr r3, [r7, #12] + 80055b6: f023 0303 bic.w r3, r3, #3 + 80055ba: 60fb str r3, [r7, #12] /* Select the Output Compare Mode */ tmpccmrx |= OC_Config->OCMode; - 800542c: 683b ldr r3, [r7, #0] - 800542e: 681b ldr r3, [r3, #0] - 8005430: 68fa ldr r2, [r7, #12] - 8005432: 4313 orrs r3, r2 - 8005434: 60fb str r3, [r7, #12] + 80055bc: 683b ldr r3, [r7, #0] + 80055be: 681b ldr r3, [r3, #0] + 80055c0: 68fa ldr r2, [r7, #12] + 80055c2: 4313 orrs r3, r2 + 80055c4: 60fb str r3, [r7, #12] /* Reset the Output Polarity level */ tmpccer &= ~TIM_CCER_CC1P; - 8005436: 697b ldr r3, [r7, #20] - 8005438: f023 0302 bic.w r3, r3, #2 - 800543c: 617b str r3, [r7, #20] + 80055c6: 697b ldr r3, [r7, #20] + 80055c8: f023 0302 bic.w r3, r3, #2 + 80055cc: 617b str r3, [r7, #20] /* Set the Output Compare Polarity */ tmpccer |= OC_Config->OCPolarity; - 800543e: 683b ldr r3, [r7, #0] - 8005440: 689b ldr r3, [r3, #8] - 8005442: 697a ldr r2, [r7, #20] - 8005444: 4313 orrs r3, r2 - 8005446: 617b str r3, [r7, #20] + 80055ce: 683b ldr r3, [r7, #0] + 80055d0: 689b ldr r3, [r3, #8] + 80055d2: 697a ldr r2, [r7, #20] + 80055d4: 4313 orrs r3, r2 + 80055d6: 617b str r3, [r7, #20] if (IS_TIM_CCXN_INSTANCE(TIMx, TIM_CHANNEL_1)) - 8005448: 687b ldr r3, [r7, #4] - 800544a: 4a20 ldr r2, [pc, #128] @ (80054cc ) - 800544c: 4293 cmp r3, r2 - 800544e: d003 beq.n 8005458 - 8005450: 687b ldr r3, [r7, #4] - 8005452: 4a1f ldr r2, [pc, #124] @ (80054d0 ) - 8005454: 4293 cmp r3, r2 - 8005456: d10c bne.n 8005472 + 80055d8: 687b ldr r3, [r7, #4] + 80055da: 4a20 ldr r2, [pc, #128] @ (800565c ) + 80055dc: 4293 cmp r3, r2 + 80055de: d003 beq.n 80055e8 + 80055e0: 687b ldr r3, [r7, #4] + 80055e2: 4a1f ldr r2, [pc, #124] @ (8005660 ) + 80055e4: 4293 cmp r3, r2 + 80055e6: d10c bne.n 8005602 { /* Check parameters */ assert_param(IS_TIM_OCN_POLARITY(OC_Config->OCNPolarity)); /* Reset the Output N Polarity level */ tmpccer &= ~TIM_CCER_CC1NP; - 8005458: 697b ldr r3, [r7, #20] - 800545a: f023 0308 bic.w r3, r3, #8 - 800545e: 617b str r3, [r7, #20] + 80055e8: 697b ldr r3, [r7, #20] + 80055ea: f023 0308 bic.w r3, r3, #8 + 80055ee: 617b str r3, [r7, #20] /* Set the Output N Polarity */ tmpccer |= OC_Config->OCNPolarity; - 8005460: 683b ldr r3, [r7, #0] - 8005462: 68db ldr r3, [r3, #12] - 8005464: 697a ldr r2, [r7, #20] - 8005466: 4313 orrs r3, r2 - 8005468: 617b str r3, [r7, #20] + 80055f0: 683b ldr r3, [r7, #0] + 80055f2: 68db ldr r3, [r3, #12] + 80055f4: 697a ldr r2, [r7, #20] + 80055f6: 4313 orrs r3, r2 + 80055f8: 617b str r3, [r7, #20] /* Reset the Output N State */ tmpccer &= ~TIM_CCER_CC1NE; - 800546a: 697b ldr r3, [r7, #20] - 800546c: f023 0304 bic.w r3, r3, #4 - 8005470: 617b str r3, [r7, #20] + 80055fa: 697b ldr r3, [r7, #20] + 80055fc: f023 0304 bic.w r3, r3, #4 + 8005600: 617b str r3, [r7, #20] } if (IS_TIM_BREAK_INSTANCE(TIMx)) - 8005472: 687b ldr r3, [r7, #4] - 8005474: 4a15 ldr r2, [pc, #84] @ (80054cc ) - 8005476: 4293 cmp r3, r2 - 8005478: d003 beq.n 8005482 - 800547a: 687b ldr r3, [r7, #4] - 800547c: 4a14 ldr r2, [pc, #80] @ (80054d0 ) - 800547e: 4293 cmp r3, r2 - 8005480: d111 bne.n 80054a6 + 8005602: 687b ldr r3, [r7, #4] + 8005604: 4a15 ldr r2, [pc, #84] @ (800565c ) + 8005606: 4293 cmp r3, r2 + 8005608: d003 beq.n 8005612 + 800560a: 687b ldr r3, [r7, #4] + 800560c: 4a14 ldr r2, [pc, #80] @ (8005660 ) + 800560e: 4293 cmp r3, r2 + 8005610: d111 bne.n 8005636 /* Check parameters */ assert_param(IS_TIM_OCNIDLE_STATE(OC_Config->OCNIdleState)); assert_param(IS_TIM_OCIDLE_STATE(OC_Config->OCIdleState)); /* Reset the Output Compare and Output Compare N IDLE State */ tmpcr2 &= ~TIM_CR2_OIS1; - 8005482: 693b ldr r3, [r7, #16] - 8005484: f423 7380 bic.w r3, r3, #256 @ 0x100 - 8005488: 613b str r3, [r7, #16] + 8005612: 693b ldr r3, [r7, #16] + 8005614: f423 7380 bic.w r3, r3, #256 @ 0x100 + 8005618: 613b str r3, [r7, #16] tmpcr2 &= ~TIM_CR2_OIS1N; - 800548a: 693b ldr r3, [r7, #16] - 800548c: f423 7300 bic.w r3, r3, #512 @ 0x200 - 8005490: 613b str r3, [r7, #16] + 800561a: 693b ldr r3, [r7, #16] + 800561c: f423 7300 bic.w r3, r3, #512 @ 0x200 + 8005620: 613b str r3, [r7, #16] /* Set the Output Idle state */ tmpcr2 |= OC_Config->OCIdleState; - 8005492: 683b ldr r3, [r7, #0] - 8005494: 695b ldr r3, [r3, #20] - 8005496: 693a ldr r2, [r7, #16] - 8005498: 4313 orrs r3, r2 - 800549a: 613b str r3, [r7, #16] + 8005622: 683b ldr r3, [r7, #0] + 8005624: 695b ldr r3, [r3, #20] + 8005626: 693a ldr r2, [r7, #16] + 8005628: 4313 orrs r3, r2 + 800562a: 613b str r3, [r7, #16] /* Set the Output N Idle state */ tmpcr2 |= OC_Config->OCNIdleState; - 800549c: 683b ldr r3, [r7, #0] - 800549e: 699b ldr r3, [r3, #24] - 80054a0: 693a ldr r2, [r7, #16] - 80054a2: 4313 orrs r3, r2 - 80054a4: 613b str r3, [r7, #16] + 800562c: 683b ldr r3, [r7, #0] + 800562e: 699b ldr r3, [r3, #24] + 8005630: 693a ldr r2, [r7, #16] + 8005632: 4313 orrs r3, r2 + 8005634: 613b str r3, [r7, #16] } /* Write to TIMx CR2 */ TIMx->CR2 = tmpcr2; - 80054a6: 687b ldr r3, [r7, #4] - 80054a8: 693a ldr r2, [r7, #16] - 80054aa: 605a str r2, [r3, #4] + 8005636: 687b ldr r3, [r7, #4] + 8005638: 693a ldr r2, [r7, #16] + 800563a: 605a str r2, [r3, #4] /* Write to TIMx CCMR1 */ TIMx->CCMR1 = tmpccmrx; - 80054ac: 687b ldr r3, [r7, #4] - 80054ae: 68fa ldr r2, [r7, #12] - 80054b0: 619a str r2, [r3, #24] + 800563c: 687b ldr r3, [r7, #4] + 800563e: 68fa ldr r2, [r7, #12] + 8005640: 619a str r2, [r3, #24] /* Set the Capture Compare Register value */ TIMx->CCR1 = OC_Config->Pulse; - 80054b2: 683b ldr r3, [r7, #0] - 80054b4: 685a ldr r2, [r3, #4] - 80054b6: 687b ldr r3, [r7, #4] - 80054b8: 635a str r2, [r3, #52] @ 0x34 + 8005642: 683b ldr r3, [r7, #0] + 8005644: 685a ldr r2, [r3, #4] + 8005646: 687b ldr r3, [r7, #4] + 8005648: 635a str r2, [r3, #52] @ 0x34 /* Write to TIMx CCER */ TIMx->CCER = tmpccer; - 80054ba: 687b ldr r3, [r7, #4] - 80054bc: 697a ldr r2, [r7, #20] - 80054be: 621a str r2, [r3, #32] + 800564a: 687b ldr r3, [r7, #4] + 800564c: 697a ldr r2, [r7, #20] + 800564e: 621a str r2, [r3, #32] } - 80054c0: bf00 nop - 80054c2: 371c adds r7, #28 - 80054c4: 46bd mov sp, r7 - 80054c6: f85d 7b04 ldr.w r7, [sp], #4 - 80054ca: 4770 bx lr - 80054cc: 40010000 .word 0x40010000 - 80054d0: 40010400 .word 0x40010400 + 8005650: bf00 nop + 8005652: 371c adds r7, #28 + 8005654: 46bd mov sp, r7 + 8005656: f85d 7b04 ldr.w r7, [sp], #4 + 800565a: 4770 bx lr + 800565c: 40010000 .word 0x40010000 + 8005660: 40010400 .word 0x40010400 -080054d4 : +08005664 : * @param TIMx to select the TIM peripheral * @param OC_Config The output configuration structure * @retval None */ void TIM_OC2_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config) { - 80054d4: b480 push {r7} - 80054d6: b087 sub sp, #28 - 80054d8: af00 add r7, sp, #0 - 80054da: 6078 str r0, [r7, #4] - 80054dc: 6039 str r1, [r7, #0] + 8005664: b480 push {r7} + 8005666: b087 sub sp, #28 + 8005668: af00 add r7, sp, #0 + 800566a: 6078 str r0, [r7, #4] + 800566c: 6039 str r1, [r7, #0] uint32_t tmpccmrx; uint32_t tmpccer; uint32_t tmpcr2; /* Get the TIMx CCER register value */ tmpccer = TIMx->CCER; - 80054de: 687b ldr r3, [r7, #4] - 80054e0: 6a1b ldr r3, [r3, #32] - 80054e2: 617b str r3, [r7, #20] + 800566e: 687b ldr r3, [r7, #4] + 8005670: 6a1b ldr r3, [r3, #32] + 8005672: 617b str r3, [r7, #20] /* Disable the Channel 2: Reset the CC2E Bit */ TIMx->CCER &= ~TIM_CCER_CC2E; - 80054e4: 687b ldr r3, [r7, #4] - 80054e6: 6a1b ldr r3, [r3, #32] - 80054e8: f023 0210 bic.w r2, r3, #16 - 80054ec: 687b ldr r3, [r7, #4] - 80054ee: 621a str r2, [r3, #32] + 8005674: 687b ldr r3, [r7, #4] + 8005676: 6a1b ldr r3, [r3, #32] + 8005678: f023 0210 bic.w r2, r3, #16 + 800567c: 687b ldr r3, [r7, #4] + 800567e: 621a str r2, [r3, #32] /* Get the TIMx CR2 register value */ tmpcr2 = TIMx->CR2; - 80054f0: 687b ldr r3, [r7, #4] - 80054f2: 685b ldr r3, [r3, #4] - 80054f4: 613b str r3, [r7, #16] + 8005680: 687b ldr r3, [r7, #4] + 8005682: 685b ldr r3, [r3, #4] + 8005684: 613b str r3, [r7, #16] /* Get the TIMx CCMR1 register value */ tmpccmrx = TIMx->CCMR1; - 80054f6: 687b ldr r3, [r7, #4] - 80054f8: 699b ldr r3, [r3, #24] - 80054fa: 60fb str r3, [r7, #12] + 8005686: 687b ldr r3, [r7, #4] + 8005688: 699b ldr r3, [r3, #24] + 800568a: 60fb str r3, [r7, #12] /* Reset the Output Compare mode and Capture/Compare selection Bits */ tmpccmrx &= ~TIM_CCMR1_OC2M; - 80054fc: 68fb ldr r3, [r7, #12] - 80054fe: f423 43e0 bic.w r3, r3, #28672 @ 0x7000 - 8005502: 60fb str r3, [r7, #12] + 800568c: 68fb ldr r3, [r7, #12] + 800568e: f423 43e0 bic.w r3, r3, #28672 @ 0x7000 + 8005692: 60fb str r3, [r7, #12] tmpccmrx &= ~TIM_CCMR1_CC2S; - 8005504: 68fb ldr r3, [r7, #12] - 8005506: f423 7340 bic.w r3, r3, #768 @ 0x300 - 800550a: 60fb str r3, [r7, #12] + 8005694: 68fb ldr r3, [r7, #12] + 8005696: f423 7340 bic.w r3, r3, #768 @ 0x300 + 800569a: 60fb str r3, [r7, #12] /* Select the Output Compare Mode */ tmpccmrx |= (OC_Config->OCMode << 8U); - 800550c: 683b ldr r3, [r7, #0] - 800550e: 681b ldr r3, [r3, #0] - 8005510: 021b lsls r3, r3, #8 - 8005512: 68fa ldr r2, [r7, #12] - 8005514: 4313 orrs r3, r2 - 8005516: 60fb str r3, [r7, #12] + 800569c: 683b ldr r3, [r7, #0] + 800569e: 681b ldr r3, [r3, #0] + 80056a0: 021b lsls r3, r3, #8 + 80056a2: 68fa ldr r2, [r7, #12] + 80056a4: 4313 orrs r3, r2 + 80056a6: 60fb str r3, [r7, #12] /* Reset the Output Polarity level */ tmpccer &= ~TIM_CCER_CC2P; - 8005518: 697b ldr r3, [r7, #20] - 800551a: f023 0320 bic.w r3, r3, #32 - 800551e: 617b str r3, [r7, #20] + 80056a8: 697b ldr r3, [r7, #20] + 80056aa: f023 0320 bic.w r3, r3, #32 + 80056ae: 617b str r3, [r7, #20] /* Set the Output Compare Polarity */ tmpccer |= (OC_Config->OCPolarity << 4U); - 8005520: 683b ldr r3, [r7, #0] - 8005522: 689b ldr r3, [r3, #8] - 8005524: 011b lsls r3, r3, #4 - 8005526: 697a ldr r2, [r7, #20] - 8005528: 4313 orrs r3, r2 - 800552a: 617b str r3, [r7, #20] + 80056b0: 683b ldr r3, [r7, #0] + 80056b2: 689b ldr r3, [r3, #8] + 80056b4: 011b lsls r3, r3, #4 + 80056b6: 697a ldr r2, [r7, #20] + 80056b8: 4313 orrs r3, r2 + 80056ba: 617b str r3, [r7, #20] if (IS_TIM_CCXN_INSTANCE(TIMx, TIM_CHANNEL_2)) - 800552c: 687b ldr r3, [r7, #4] - 800552e: 4a22 ldr r2, [pc, #136] @ (80055b8 ) - 8005530: 4293 cmp r3, r2 - 8005532: d003 beq.n 800553c - 8005534: 687b ldr r3, [r7, #4] - 8005536: 4a21 ldr r2, [pc, #132] @ (80055bc ) - 8005538: 4293 cmp r3, r2 - 800553a: d10d bne.n 8005558 + 80056bc: 687b ldr r3, [r7, #4] + 80056be: 4a22 ldr r2, [pc, #136] @ (8005748 ) + 80056c0: 4293 cmp r3, r2 + 80056c2: d003 beq.n 80056cc + 80056c4: 687b ldr r3, [r7, #4] + 80056c6: 4a21 ldr r2, [pc, #132] @ (800574c ) + 80056c8: 4293 cmp r3, r2 + 80056ca: d10d bne.n 80056e8 { assert_param(IS_TIM_OCN_POLARITY(OC_Config->OCNPolarity)); /* Reset the Output N Polarity level */ tmpccer &= ~TIM_CCER_CC2NP; - 800553c: 697b ldr r3, [r7, #20] - 800553e: f023 0380 bic.w r3, r3, #128 @ 0x80 - 8005542: 617b str r3, [r7, #20] + 80056cc: 697b ldr r3, [r7, #20] + 80056ce: f023 0380 bic.w r3, r3, #128 @ 0x80 + 80056d2: 617b str r3, [r7, #20] /* Set the Output N Polarity */ tmpccer |= (OC_Config->OCNPolarity << 4U); - 8005544: 683b ldr r3, [r7, #0] - 8005546: 68db ldr r3, [r3, #12] - 8005548: 011b lsls r3, r3, #4 - 800554a: 697a ldr r2, [r7, #20] - 800554c: 4313 orrs r3, r2 - 800554e: 617b str r3, [r7, #20] + 80056d4: 683b ldr r3, [r7, #0] + 80056d6: 68db ldr r3, [r3, #12] + 80056d8: 011b lsls r3, r3, #4 + 80056da: 697a ldr r2, [r7, #20] + 80056dc: 4313 orrs r3, r2 + 80056de: 617b str r3, [r7, #20] /* Reset the Output N State */ tmpccer &= ~TIM_CCER_CC2NE; - 8005550: 697b ldr r3, [r7, #20] - 8005552: f023 0340 bic.w r3, r3, #64 @ 0x40 - 8005556: 617b str r3, [r7, #20] + 80056e0: 697b ldr r3, [r7, #20] + 80056e2: f023 0340 bic.w r3, r3, #64 @ 0x40 + 80056e6: 617b str r3, [r7, #20] } if (IS_TIM_BREAK_INSTANCE(TIMx)) - 8005558: 687b ldr r3, [r7, #4] - 800555a: 4a17 ldr r2, [pc, #92] @ (80055b8 ) - 800555c: 4293 cmp r3, r2 - 800555e: d003 beq.n 8005568 - 8005560: 687b ldr r3, [r7, #4] - 8005562: 4a16 ldr r2, [pc, #88] @ (80055bc ) - 8005564: 4293 cmp r3, r2 - 8005566: d113 bne.n 8005590 + 80056e8: 687b ldr r3, [r7, #4] + 80056ea: 4a17 ldr r2, [pc, #92] @ (8005748 ) + 80056ec: 4293 cmp r3, r2 + 80056ee: d003 beq.n 80056f8 + 80056f0: 687b ldr r3, [r7, #4] + 80056f2: 4a16 ldr r2, [pc, #88] @ (800574c ) + 80056f4: 4293 cmp r3, r2 + 80056f6: d113 bne.n 8005720 /* Check parameters */ assert_param(IS_TIM_OCNIDLE_STATE(OC_Config->OCNIdleState)); assert_param(IS_TIM_OCIDLE_STATE(OC_Config->OCIdleState)); /* Reset the Output Compare and Output Compare N IDLE State */ tmpcr2 &= ~TIM_CR2_OIS2; - 8005568: 693b ldr r3, [r7, #16] - 800556a: f423 6380 bic.w r3, r3, #1024 @ 0x400 - 800556e: 613b str r3, [r7, #16] + 80056f8: 693b ldr r3, [r7, #16] + 80056fa: f423 6380 bic.w r3, r3, #1024 @ 0x400 + 80056fe: 613b str r3, [r7, #16] tmpcr2 &= ~TIM_CR2_OIS2N; - 8005570: 693b ldr r3, [r7, #16] - 8005572: f423 6300 bic.w r3, r3, #2048 @ 0x800 - 8005576: 613b str r3, [r7, #16] + 8005700: 693b ldr r3, [r7, #16] + 8005702: f423 6300 bic.w r3, r3, #2048 @ 0x800 + 8005706: 613b str r3, [r7, #16] /* Set the Output Idle state */ tmpcr2 |= (OC_Config->OCIdleState << 2U); - 8005578: 683b ldr r3, [r7, #0] - 800557a: 695b ldr r3, [r3, #20] - 800557c: 009b lsls r3, r3, #2 - 800557e: 693a ldr r2, [r7, #16] - 8005580: 4313 orrs r3, r2 - 8005582: 613b str r3, [r7, #16] + 8005708: 683b ldr r3, [r7, #0] + 800570a: 695b ldr r3, [r3, #20] + 800570c: 009b lsls r3, r3, #2 + 800570e: 693a ldr r2, [r7, #16] + 8005710: 4313 orrs r3, r2 + 8005712: 613b str r3, [r7, #16] /* Set the Output N Idle state */ tmpcr2 |= (OC_Config->OCNIdleState << 2U); - 8005584: 683b ldr r3, [r7, #0] - 8005586: 699b ldr r3, [r3, #24] - 8005588: 009b lsls r3, r3, #2 - 800558a: 693a ldr r2, [r7, #16] - 800558c: 4313 orrs r3, r2 - 800558e: 613b str r3, [r7, #16] + 8005714: 683b ldr r3, [r7, #0] + 8005716: 699b ldr r3, [r3, #24] + 8005718: 009b lsls r3, r3, #2 + 800571a: 693a ldr r2, [r7, #16] + 800571c: 4313 orrs r3, r2 + 800571e: 613b str r3, [r7, #16] } /* Write to TIMx CR2 */ TIMx->CR2 = tmpcr2; - 8005590: 687b ldr r3, [r7, #4] - 8005592: 693a ldr r2, [r7, #16] - 8005594: 605a str r2, [r3, #4] + 8005720: 687b ldr r3, [r7, #4] + 8005722: 693a ldr r2, [r7, #16] + 8005724: 605a str r2, [r3, #4] /* Write to TIMx CCMR1 */ TIMx->CCMR1 = tmpccmrx; - 8005596: 687b ldr r3, [r7, #4] - 8005598: 68fa ldr r2, [r7, #12] - 800559a: 619a str r2, [r3, #24] + 8005726: 687b ldr r3, [r7, #4] + 8005728: 68fa ldr r2, [r7, #12] + 800572a: 619a str r2, [r3, #24] /* Set the Capture Compare Register value */ TIMx->CCR2 = OC_Config->Pulse; - 800559c: 683b ldr r3, [r7, #0] - 800559e: 685a ldr r2, [r3, #4] - 80055a0: 687b ldr r3, [r7, #4] - 80055a2: 639a str r2, [r3, #56] @ 0x38 + 800572c: 683b ldr r3, [r7, #0] + 800572e: 685a ldr r2, [r3, #4] + 8005730: 687b ldr r3, [r7, #4] + 8005732: 639a str r2, [r3, #56] @ 0x38 /* Write to TIMx CCER */ TIMx->CCER = tmpccer; - 80055a4: 687b ldr r3, [r7, #4] - 80055a6: 697a ldr r2, [r7, #20] - 80055a8: 621a str r2, [r3, #32] + 8005734: 687b ldr r3, [r7, #4] + 8005736: 697a ldr r2, [r7, #20] + 8005738: 621a str r2, [r3, #32] } - 80055aa: bf00 nop - 80055ac: 371c adds r7, #28 - 80055ae: 46bd mov sp, r7 - 80055b0: f85d 7b04 ldr.w r7, [sp], #4 - 80055b4: 4770 bx lr - 80055b6: bf00 nop - 80055b8: 40010000 .word 0x40010000 - 80055bc: 40010400 .word 0x40010400 + 800573a: bf00 nop + 800573c: 371c adds r7, #28 + 800573e: 46bd mov sp, r7 + 8005740: f85d 7b04 ldr.w r7, [sp], #4 + 8005744: 4770 bx lr + 8005746: bf00 nop + 8005748: 40010000 .word 0x40010000 + 800574c: 40010400 .word 0x40010400 -080055c0 : +08005750 : * @param TIMx to select the TIM peripheral * @param OC_Config The output configuration structure * @retval None */ static void TIM_OC3_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config) { - 80055c0: b480 push {r7} - 80055c2: b087 sub sp, #28 - 80055c4: af00 add r7, sp, #0 - 80055c6: 6078 str r0, [r7, #4] - 80055c8: 6039 str r1, [r7, #0] + 8005750: b480 push {r7} + 8005752: b087 sub sp, #28 + 8005754: af00 add r7, sp, #0 + 8005756: 6078 str r0, [r7, #4] + 8005758: 6039 str r1, [r7, #0] uint32_t tmpccmrx; uint32_t tmpccer; uint32_t tmpcr2; /* Get the TIMx CCER register value */ tmpccer = TIMx->CCER; - 80055ca: 687b ldr r3, [r7, #4] - 80055cc: 6a1b ldr r3, [r3, #32] - 80055ce: 617b str r3, [r7, #20] + 800575a: 687b ldr r3, [r7, #4] + 800575c: 6a1b ldr r3, [r3, #32] + 800575e: 617b str r3, [r7, #20] /* Disable the Channel 3: Reset the CC2E Bit */ TIMx->CCER &= ~TIM_CCER_CC3E; - 80055d0: 687b ldr r3, [r7, #4] - 80055d2: 6a1b ldr r3, [r3, #32] - 80055d4: f423 7280 bic.w r2, r3, #256 @ 0x100 - 80055d8: 687b ldr r3, [r7, #4] - 80055da: 621a str r2, [r3, #32] + 8005760: 687b ldr r3, [r7, #4] + 8005762: 6a1b ldr r3, [r3, #32] + 8005764: f423 7280 bic.w r2, r3, #256 @ 0x100 + 8005768: 687b ldr r3, [r7, #4] + 800576a: 621a str r2, [r3, #32] /* Get the TIMx CR2 register value */ tmpcr2 = TIMx->CR2; - 80055dc: 687b ldr r3, [r7, #4] - 80055de: 685b ldr r3, [r3, #4] - 80055e0: 613b str r3, [r7, #16] + 800576c: 687b ldr r3, [r7, #4] + 800576e: 685b ldr r3, [r3, #4] + 8005770: 613b str r3, [r7, #16] /* Get the TIMx CCMR2 register value */ tmpccmrx = TIMx->CCMR2; - 80055e2: 687b ldr r3, [r7, #4] - 80055e4: 69db ldr r3, [r3, #28] - 80055e6: 60fb str r3, [r7, #12] + 8005772: 687b ldr r3, [r7, #4] + 8005774: 69db ldr r3, [r3, #28] + 8005776: 60fb str r3, [r7, #12] /* Reset the Output Compare mode and Capture/Compare selection Bits */ tmpccmrx &= ~TIM_CCMR2_OC3M; - 80055e8: 68fb ldr r3, [r7, #12] - 80055ea: f023 0370 bic.w r3, r3, #112 @ 0x70 - 80055ee: 60fb str r3, [r7, #12] + 8005778: 68fb ldr r3, [r7, #12] + 800577a: f023 0370 bic.w r3, r3, #112 @ 0x70 + 800577e: 60fb str r3, [r7, #12] tmpccmrx &= ~TIM_CCMR2_CC3S; - 80055f0: 68fb ldr r3, [r7, #12] - 80055f2: f023 0303 bic.w r3, r3, #3 - 80055f6: 60fb str r3, [r7, #12] + 8005780: 68fb ldr r3, [r7, #12] + 8005782: f023 0303 bic.w r3, r3, #3 + 8005786: 60fb str r3, [r7, #12] /* Select the Output Compare Mode */ tmpccmrx |= OC_Config->OCMode; - 80055f8: 683b ldr r3, [r7, #0] - 80055fa: 681b ldr r3, [r3, #0] - 80055fc: 68fa ldr r2, [r7, #12] - 80055fe: 4313 orrs r3, r2 - 8005600: 60fb str r3, [r7, #12] + 8005788: 683b ldr r3, [r7, #0] + 800578a: 681b ldr r3, [r3, #0] + 800578c: 68fa ldr r2, [r7, #12] + 800578e: 4313 orrs r3, r2 + 8005790: 60fb str r3, [r7, #12] /* Reset the Output Polarity level */ tmpccer &= ~TIM_CCER_CC3P; - 8005602: 697b ldr r3, [r7, #20] - 8005604: f423 7300 bic.w r3, r3, #512 @ 0x200 - 8005608: 617b str r3, [r7, #20] + 8005792: 697b ldr r3, [r7, #20] + 8005794: f423 7300 bic.w r3, r3, #512 @ 0x200 + 8005798: 617b str r3, [r7, #20] /* Set the Output Compare Polarity */ tmpccer |= (OC_Config->OCPolarity << 8U); - 800560a: 683b ldr r3, [r7, #0] - 800560c: 689b ldr r3, [r3, #8] - 800560e: 021b lsls r3, r3, #8 - 8005610: 697a ldr r2, [r7, #20] - 8005612: 4313 orrs r3, r2 - 8005614: 617b str r3, [r7, #20] + 800579a: 683b ldr r3, [r7, #0] + 800579c: 689b ldr r3, [r3, #8] + 800579e: 021b lsls r3, r3, #8 + 80057a0: 697a ldr r2, [r7, #20] + 80057a2: 4313 orrs r3, r2 + 80057a4: 617b str r3, [r7, #20] if (IS_TIM_CCXN_INSTANCE(TIMx, TIM_CHANNEL_3)) - 8005616: 687b ldr r3, [r7, #4] - 8005618: 4a21 ldr r2, [pc, #132] @ (80056a0 ) - 800561a: 4293 cmp r3, r2 - 800561c: d003 beq.n 8005626 - 800561e: 687b ldr r3, [r7, #4] - 8005620: 4a20 ldr r2, [pc, #128] @ (80056a4 ) - 8005622: 4293 cmp r3, r2 - 8005624: d10d bne.n 8005642 + 80057a6: 687b ldr r3, [r7, #4] + 80057a8: 4a21 ldr r2, [pc, #132] @ (8005830 ) + 80057aa: 4293 cmp r3, r2 + 80057ac: d003 beq.n 80057b6 + 80057ae: 687b ldr r3, [r7, #4] + 80057b0: 4a20 ldr r2, [pc, #128] @ (8005834 ) + 80057b2: 4293 cmp r3, r2 + 80057b4: d10d bne.n 80057d2 { assert_param(IS_TIM_OCN_POLARITY(OC_Config->OCNPolarity)); /* Reset the Output N Polarity level */ tmpccer &= ~TIM_CCER_CC3NP; - 8005626: 697b ldr r3, [r7, #20] - 8005628: f423 6300 bic.w r3, r3, #2048 @ 0x800 - 800562c: 617b str r3, [r7, #20] + 80057b6: 697b ldr r3, [r7, #20] + 80057b8: f423 6300 bic.w r3, r3, #2048 @ 0x800 + 80057bc: 617b str r3, [r7, #20] /* Set the Output N Polarity */ tmpccer |= (OC_Config->OCNPolarity << 8U); - 800562e: 683b ldr r3, [r7, #0] - 8005630: 68db ldr r3, [r3, #12] - 8005632: 021b lsls r3, r3, #8 - 8005634: 697a ldr r2, [r7, #20] - 8005636: 4313 orrs r3, r2 - 8005638: 617b str r3, [r7, #20] + 80057be: 683b ldr r3, [r7, #0] + 80057c0: 68db ldr r3, [r3, #12] + 80057c2: 021b lsls r3, r3, #8 + 80057c4: 697a ldr r2, [r7, #20] + 80057c6: 4313 orrs r3, r2 + 80057c8: 617b str r3, [r7, #20] /* Reset the Output N State */ tmpccer &= ~TIM_CCER_CC3NE; - 800563a: 697b ldr r3, [r7, #20] - 800563c: f423 6380 bic.w r3, r3, #1024 @ 0x400 - 8005640: 617b str r3, [r7, #20] + 80057ca: 697b ldr r3, [r7, #20] + 80057cc: f423 6380 bic.w r3, r3, #1024 @ 0x400 + 80057d0: 617b str r3, [r7, #20] } if (IS_TIM_BREAK_INSTANCE(TIMx)) - 8005642: 687b ldr r3, [r7, #4] - 8005644: 4a16 ldr r2, [pc, #88] @ (80056a0 ) - 8005646: 4293 cmp r3, r2 - 8005648: d003 beq.n 8005652 - 800564a: 687b ldr r3, [r7, #4] - 800564c: 4a15 ldr r2, [pc, #84] @ (80056a4 ) - 800564e: 4293 cmp r3, r2 - 8005650: d113 bne.n 800567a + 80057d2: 687b ldr r3, [r7, #4] + 80057d4: 4a16 ldr r2, [pc, #88] @ (8005830 ) + 80057d6: 4293 cmp r3, r2 + 80057d8: d003 beq.n 80057e2 + 80057da: 687b ldr r3, [r7, #4] + 80057dc: 4a15 ldr r2, [pc, #84] @ (8005834 ) + 80057de: 4293 cmp r3, r2 + 80057e0: d113 bne.n 800580a /* Check parameters */ assert_param(IS_TIM_OCNIDLE_STATE(OC_Config->OCNIdleState)); assert_param(IS_TIM_OCIDLE_STATE(OC_Config->OCIdleState)); /* Reset the Output Compare and Output Compare N IDLE State */ tmpcr2 &= ~TIM_CR2_OIS3; - 8005652: 693b ldr r3, [r7, #16] - 8005654: f423 5380 bic.w r3, r3, #4096 @ 0x1000 - 8005658: 613b str r3, [r7, #16] + 80057e2: 693b ldr r3, [r7, #16] + 80057e4: f423 5380 bic.w r3, r3, #4096 @ 0x1000 + 80057e8: 613b str r3, [r7, #16] tmpcr2 &= ~TIM_CR2_OIS3N; - 800565a: 693b ldr r3, [r7, #16] - 800565c: f423 5300 bic.w r3, r3, #8192 @ 0x2000 - 8005660: 613b str r3, [r7, #16] + 80057ea: 693b ldr r3, [r7, #16] + 80057ec: f423 5300 bic.w r3, r3, #8192 @ 0x2000 + 80057f0: 613b str r3, [r7, #16] /* Set the Output Idle state */ tmpcr2 |= (OC_Config->OCIdleState << 4U); - 8005662: 683b ldr r3, [r7, #0] - 8005664: 695b ldr r3, [r3, #20] - 8005666: 011b lsls r3, r3, #4 - 8005668: 693a ldr r2, [r7, #16] - 800566a: 4313 orrs r3, r2 - 800566c: 613b str r3, [r7, #16] + 80057f2: 683b ldr r3, [r7, #0] + 80057f4: 695b ldr r3, [r3, #20] + 80057f6: 011b lsls r3, r3, #4 + 80057f8: 693a ldr r2, [r7, #16] + 80057fa: 4313 orrs r3, r2 + 80057fc: 613b str r3, [r7, #16] /* Set the Output N Idle state */ tmpcr2 |= (OC_Config->OCNIdleState << 4U); - 800566e: 683b ldr r3, [r7, #0] - 8005670: 699b ldr r3, [r3, #24] - 8005672: 011b lsls r3, r3, #4 - 8005674: 693a ldr r2, [r7, #16] - 8005676: 4313 orrs r3, r2 - 8005678: 613b str r3, [r7, #16] + 80057fe: 683b ldr r3, [r7, #0] + 8005800: 699b ldr r3, [r3, #24] + 8005802: 011b lsls r3, r3, #4 + 8005804: 693a ldr r2, [r7, #16] + 8005806: 4313 orrs r3, r2 + 8005808: 613b str r3, [r7, #16] } /* Write to TIMx CR2 */ TIMx->CR2 = tmpcr2; - 800567a: 687b ldr r3, [r7, #4] - 800567c: 693a ldr r2, [r7, #16] - 800567e: 605a str r2, [r3, #4] + 800580a: 687b ldr r3, [r7, #4] + 800580c: 693a ldr r2, [r7, #16] + 800580e: 605a str r2, [r3, #4] /* Write to TIMx CCMR2 */ TIMx->CCMR2 = tmpccmrx; - 8005680: 687b ldr r3, [r7, #4] - 8005682: 68fa ldr r2, [r7, #12] - 8005684: 61da str r2, [r3, #28] + 8005810: 687b ldr r3, [r7, #4] + 8005812: 68fa ldr r2, [r7, #12] + 8005814: 61da str r2, [r3, #28] /* Set the Capture Compare Register value */ TIMx->CCR3 = OC_Config->Pulse; - 8005686: 683b ldr r3, [r7, #0] - 8005688: 685a ldr r2, [r3, #4] - 800568a: 687b ldr r3, [r7, #4] - 800568c: 63da str r2, [r3, #60] @ 0x3c + 8005816: 683b ldr r3, [r7, #0] + 8005818: 685a ldr r2, [r3, #4] + 800581a: 687b ldr r3, [r7, #4] + 800581c: 63da str r2, [r3, #60] @ 0x3c /* Write to TIMx CCER */ TIMx->CCER = tmpccer; - 800568e: 687b ldr r3, [r7, #4] - 8005690: 697a ldr r2, [r7, #20] - 8005692: 621a str r2, [r3, #32] + 800581e: 687b ldr r3, [r7, #4] + 8005820: 697a ldr r2, [r7, #20] + 8005822: 621a str r2, [r3, #32] } - 8005694: bf00 nop - 8005696: 371c adds r7, #28 - 8005698: 46bd mov sp, r7 - 800569a: f85d 7b04 ldr.w r7, [sp], #4 - 800569e: 4770 bx lr - 80056a0: 40010000 .word 0x40010000 - 80056a4: 40010400 .word 0x40010400 + 8005824: bf00 nop + 8005826: 371c adds r7, #28 + 8005828: 46bd mov sp, r7 + 800582a: f85d 7b04 ldr.w r7, [sp], #4 + 800582e: 4770 bx lr + 8005830: 40010000 .word 0x40010000 + 8005834: 40010400 .word 0x40010400 -080056a8 : +08005838 : * @param TIMx to select the TIM peripheral * @param OC_Config The output configuration structure * @retval None */ static void TIM_OC4_SetConfig(TIM_TypeDef *TIMx, const TIM_OC_InitTypeDef *OC_Config) { - 80056a8: b480 push {r7} - 80056aa: b087 sub sp, #28 - 80056ac: af00 add r7, sp, #0 - 80056ae: 6078 str r0, [r7, #4] - 80056b0: 6039 str r1, [r7, #0] + 8005838: b480 push {r7} + 800583a: b087 sub sp, #28 + 800583c: af00 add r7, sp, #0 + 800583e: 6078 str r0, [r7, #4] + 8005840: 6039 str r1, [r7, #0] uint32_t tmpccmrx; uint32_t tmpccer; uint32_t tmpcr2; /* Get the TIMx CCER register value */ tmpccer = TIMx->CCER; - 80056b2: 687b ldr r3, [r7, #4] - 80056b4: 6a1b ldr r3, [r3, #32] - 80056b6: 613b str r3, [r7, #16] + 8005842: 687b ldr r3, [r7, #4] + 8005844: 6a1b ldr r3, [r3, #32] + 8005846: 613b str r3, [r7, #16] /* Disable the Channel 4: Reset the CC4E Bit */ TIMx->CCER &= ~TIM_CCER_CC4E; - 80056b8: 687b ldr r3, [r7, #4] - 80056ba: 6a1b ldr r3, [r3, #32] - 80056bc: f423 5280 bic.w r2, r3, #4096 @ 0x1000 - 80056c0: 687b ldr r3, [r7, #4] - 80056c2: 621a str r2, [r3, #32] + 8005848: 687b ldr r3, [r7, #4] + 800584a: 6a1b ldr r3, [r3, #32] + 800584c: f423 5280 bic.w r2, r3, #4096 @ 0x1000 + 8005850: 687b ldr r3, [r7, #4] + 8005852: 621a str r2, [r3, #32] /* Get the TIMx CR2 register value */ tmpcr2 = TIMx->CR2; - 80056c4: 687b ldr r3, [r7, #4] - 80056c6: 685b ldr r3, [r3, #4] - 80056c8: 617b str r3, [r7, #20] + 8005854: 687b ldr r3, [r7, #4] + 8005856: 685b ldr r3, [r3, #4] + 8005858: 617b str r3, [r7, #20] /* Get the TIMx CCMR2 register value */ tmpccmrx = TIMx->CCMR2; - 80056ca: 687b ldr r3, [r7, #4] - 80056cc: 69db ldr r3, [r3, #28] - 80056ce: 60fb str r3, [r7, #12] + 800585a: 687b ldr r3, [r7, #4] + 800585c: 69db ldr r3, [r3, #28] + 800585e: 60fb str r3, [r7, #12] /* Reset the Output Compare mode and Capture/Compare selection Bits */ tmpccmrx &= ~TIM_CCMR2_OC4M; - 80056d0: 68fb ldr r3, [r7, #12] - 80056d2: f423 43e0 bic.w r3, r3, #28672 @ 0x7000 - 80056d6: 60fb str r3, [r7, #12] + 8005860: 68fb ldr r3, [r7, #12] + 8005862: f423 43e0 bic.w r3, r3, #28672 @ 0x7000 + 8005866: 60fb str r3, [r7, #12] tmpccmrx &= ~TIM_CCMR2_CC4S; - 80056d8: 68fb ldr r3, [r7, #12] - 80056da: f423 7340 bic.w r3, r3, #768 @ 0x300 - 80056de: 60fb str r3, [r7, #12] + 8005868: 68fb ldr r3, [r7, #12] + 800586a: f423 7340 bic.w r3, r3, #768 @ 0x300 + 800586e: 60fb str r3, [r7, #12] /* Select the Output Compare Mode */ tmpccmrx |= (OC_Config->OCMode << 8U); - 80056e0: 683b ldr r3, [r7, #0] - 80056e2: 681b ldr r3, [r3, #0] - 80056e4: 021b lsls r3, r3, #8 - 80056e6: 68fa ldr r2, [r7, #12] - 80056e8: 4313 orrs r3, r2 - 80056ea: 60fb str r3, [r7, #12] + 8005870: 683b ldr r3, [r7, #0] + 8005872: 681b ldr r3, [r3, #0] + 8005874: 021b lsls r3, r3, #8 + 8005876: 68fa ldr r2, [r7, #12] + 8005878: 4313 orrs r3, r2 + 800587a: 60fb str r3, [r7, #12] /* Reset the Output Polarity level */ tmpccer &= ~TIM_CCER_CC4P; - 80056ec: 693b ldr r3, [r7, #16] - 80056ee: f423 5300 bic.w r3, r3, #8192 @ 0x2000 - 80056f2: 613b str r3, [r7, #16] + 800587c: 693b ldr r3, [r7, #16] + 800587e: f423 5300 bic.w r3, r3, #8192 @ 0x2000 + 8005882: 613b str r3, [r7, #16] /* Set the Output Compare Polarity */ tmpccer |= (OC_Config->OCPolarity << 12U); - 80056f4: 683b ldr r3, [r7, #0] - 80056f6: 689b ldr r3, [r3, #8] - 80056f8: 031b lsls r3, r3, #12 - 80056fa: 693a ldr r2, [r7, #16] - 80056fc: 4313 orrs r3, r2 - 80056fe: 613b str r3, [r7, #16] + 8005884: 683b ldr r3, [r7, #0] + 8005886: 689b ldr r3, [r3, #8] + 8005888: 031b lsls r3, r3, #12 + 800588a: 693a ldr r2, [r7, #16] + 800588c: 4313 orrs r3, r2 + 800588e: 613b str r3, [r7, #16] if (IS_TIM_BREAK_INSTANCE(TIMx)) - 8005700: 687b ldr r3, [r7, #4] - 8005702: 4a12 ldr r2, [pc, #72] @ (800574c ) - 8005704: 4293 cmp r3, r2 - 8005706: d003 beq.n 8005710 - 8005708: 687b ldr r3, [r7, #4] - 800570a: 4a11 ldr r2, [pc, #68] @ (8005750 ) - 800570c: 4293 cmp r3, r2 - 800570e: d109 bne.n 8005724 + 8005890: 687b ldr r3, [r7, #4] + 8005892: 4a12 ldr r2, [pc, #72] @ (80058dc ) + 8005894: 4293 cmp r3, r2 + 8005896: d003 beq.n 80058a0 + 8005898: 687b ldr r3, [r7, #4] + 800589a: 4a11 ldr r2, [pc, #68] @ (80058e0 ) + 800589c: 4293 cmp r3, r2 + 800589e: d109 bne.n 80058b4 { /* Check parameters */ assert_param(IS_TIM_OCIDLE_STATE(OC_Config->OCIdleState)); /* Reset the Output Compare IDLE State */ tmpcr2 &= ~TIM_CR2_OIS4; - 8005710: 697b ldr r3, [r7, #20] - 8005712: f423 4380 bic.w r3, r3, #16384 @ 0x4000 - 8005716: 617b str r3, [r7, #20] + 80058a0: 697b ldr r3, [r7, #20] + 80058a2: f423 4380 bic.w r3, r3, #16384 @ 0x4000 + 80058a6: 617b str r3, [r7, #20] /* Set the Output Idle state */ tmpcr2 |= (OC_Config->OCIdleState << 6U); - 8005718: 683b ldr r3, [r7, #0] - 800571a: 695b ldr r3, [r3, #20] - 800571c: 019b lsls r3, r3, #6 - 800571e: 697a ldr r2, [r7, #20] - 8005720: 4313 orrs r3, r2 - 8005722: 617b str r3, [r7, #20] + 80058a8: 683b ldr r3, [r7, #0] + 80058aa: 695b ldr r3, [r3, #20] + 80058ac: 019b lsls r3, r3, #6 + 80058ae: 697a ldr r2, [r7, #20] + 80058b0: 4313 orrs r3, r2 + 80058b2: 617b str r3, [r7, #20] } /* Write to TIMx CR2 */ TIMx->CR2 = tmpcr2; - 8005724: 687b ldr r3, [r7, #4] - 8005726: 697a ldr r2, [r7, #20] - 8005728: 605a str r2, [r3, #4] + 80058b4: 687b ldr r3, [r7, #4] + 80058b6: 697a ldr r2, [r7, #20] + 80058b8: 605a str r2, [r3, #4] /* Write to TIMx CCMR2 */ TIMx->CCMR2 = tmpccmrx; - 800572a: 687b ldr r3, [r7, #4] - 800572c: 68fa ldr r2, [r7, #12] - 800572e: 61da str r2, [r3, #28] + 80058ba: 687b ldr r3, [r7, #4] + 80058bc: 68fa ldr r2, [r7, #12] + 80058be: 61da str r2, [r3, #28] /* Set the Capture Compare Register value */ TIMx->CCR4 = OC_Config->Pulse; - 8005730: 683b ldr r3, [r7, #0] - 8005732: 685a ldr r2, [r3, #4] - 8005734: 687b ldr r3, [r7, #4] - 8005736: 641a str r2, [r3, #64] @ 0x40 + 80058c0: 683b ldr r3, [r7, #0] + 80058c2: 685a ldr r2, [r3, #4] + 80058c4: 687b ldr r3, [r7, #4] + 80058c6: 641a str r2, [r3, #64] @ 0x40 /* Write to TIMx CCER */ TIMx->CCER = tmpccer; - 8005738: 687b ldr r3, [r7, #4] - 800573a: 693a ldr r2, [r7, #16] - 800573c: 621a str r2, [r3, #32] + 80058c8: 687b ldr r3, [r7, #4] + 80058ca: 693a ldr r2, [r7, #16] + 80058cc: 621a str r2, [r3, #32] } - 800573e: bf00 nop - 8005740: 371c adds r7, #28 - 8005742: 46bd mov sp, r7 - 8005744: f85d 7b04 ldr.w r7, [sp], #4 - 8005748: 4770 bx lr - 800574a: bf00 nop - 800574c: 40010000 .word 0x40010000 - 8005750: 40010400 .word 0x40010400 + 80058ce: bf00 nop + 80058d0: 371c adds r7, #28 + 80058d2: 46bd mov sp, r7 + 80058d4: f85d 7b04 ldr.w r7, [sp], #4 + 80058d8: 4770 bx lr + 80058da: bf00 nop + 80058dc: 40010000 .word 0x40010000 + 80058e0: 40010400 .word 0x40010400 -08005754 : +080058e4 : * mode. * @retval HAL status */ HAL_StatusTypeDef HAL_TIMEx_MasterConfigSynchronization(TIM_HandleTypeDef *htim, const TIM_MasterConfigTypeDef *sMasterConfig) { - 8005754: b480 push {r7} - 8005756: b085 sub sp, #20 - 8005758: af00 add r7, sp, #0 - 800575a: 6078 str r0, [r7, #4] - 800575c: 6039 str r1, [r7, #0] + 80058e4: b480 push {r7} + 80058e6: b085 sub sp, #20 + 80058e8: af00 add r7, sp, #0 + 80058ea: 6078 str r0, [r7, #4] + 80058ec: 6039 str r1, [r7, #0] assert_param(IS_TIM_MASTER_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); - 800575e: 687b ldr r3, [r7, #4] - 8005760: f893 303c ldrb.w r3, [r3, #60] @ 0x3c - 8005764: 2b01 cmp r3, #1 - 8005766: d101 bne.n 800576c - 8005768: 2302 movs r3, #2 - 800576a: e05a b.n 8005822 - 800576c: 687b ldr r3, [r7, #4] - 800576e: 2201 movs r2, #1 - 8005770: f883 203c strb.w r2, [r3, #60] @ 0x3c + 80058ee: 687b ldr r3, [r7, #4] + 80058f0: f893 303c ldrb.w r3, [r3, #60] @ 0x3c + 80058f4: 2b01 cmp r3, #1 + 80058f6: d101 bne.n 80058fc + 80058f8: 2302 movs r3, #2 + 80058fa: e05a b.n 80059b2 + 80058fc: 687b ldr r3, [r7, #4] + 80058fe: 2201 movs r2, #1 + 8005900: f883 203c strb.w r2, [r3, #60] @ 0x3c /* Change the handler state */ htim->State = HAL_TIM_STATE_BUSY; - 8005774: 687b ldr r3, [r7, #4] - 8005776: 2202 movs r2, #2 - 8005778: f883 203d strb.w r2, [r3, #61] @ 0x3d + 8005904: 687b ldr r3, [r7, #4] + 8005906: 2202 movs r2, #2 + 8005908: f883 203d strb.w r2, [r3, #61] @ 0x3d /* Get the TIMx CR2 register value */ tmpcr2 = htim->Instance->CR2; - 800577c: 687b ldr r3, [r7, #4] - 800577e: 681b ldr r3, [r3, #0] - 8005780: 685b ldr r3, [r3, #4] - 8005782: 60fb str r3, [r7, #12] + 800590c: 687b ldr r3, [r7, #4] + 800590e: 681b ldr r3, [r3, #0] + 8005910: 685b ldr r3, [r3, #4] + 8005912: 60fb str r3, [r7, #12] /* Get the TIMx SMCR register value */ tmpsmcr = htim->Instance->SMCR; - 8005784: 687b ldr r3, [r7, #4] - 8005786: 681b ldr r3, [r3, #0] - 8005788: 689b ldr r3, [r3, #8] - 800578a: 60bb str r3, [r7, #8] + 8005914: 687b ldr r3, [r7, #4] + 8005916: 681b ldr r3, [r3, #0] + 8005918: 689b ldr r3, [r3, #8] + 800591a: 60bb str r3, [r7, #8] /* Reset the MMS Bits */ tmpcr2 &= ~TIM_CR2_MMS; - 800578c: 68fb ldr r3, [r7, #12] - 800578e: f023 0370 bic.w r3, r3, #112 @ 0x70 - 8005792: 60fb str r3, [r7, #12] + 800591c: 68fb ldr r3, [r7, #12] + 800591e: f023 0370 bic.w r3, r3, #112 @ 0x70 + 8005922: 60fb str r3, [r7, #12] /* Select the TRGO source */ tmpcr2 |= sMasterConfig->MasterOutputTrigger; - 8005794: 683b ldr r3, [r7, #0] - 8005796: 681b ldr r3, [r3, #0] - 8005798: 68fa ldr r2, [r7, #12] - 800579a: 4313 orrs r3, r2 - 800579c: 60fb str r3, [r7, #12] + 8005924: 683b ldr r3, [r7, #0] + 8005926: 681b ldr r3, [r3, #0] + 8005928: 68fa ldr r2, [r7, #12] + 800592a: 4313 orrs r3, r2 + 800592c: 60fb str r3, [r7, #12] /* Update TIMx CR2 */ htim->Instance->CR2 = tmpcr2; - 800579e: 687b ldr r3, [r7, #4] - 80057a0: 681b ldr r3, [r3, #0] - 80057a2: 68fa ldr r2, [r7, #12] - 80057a4: 605a str r2, [r3, #4] + 800592e: 687b ldr r3, [r7, #4] + 8005930: 681b ldr r3, [r3, #0] + 8005932: 68fa ldr r2, [r7, #12] + 8005934: 605a str r2, [r3, #4] if (IS_TIM_SLAVE_INSTANCE(htim->Instance)) - 80057a6: 687b ldr r3, [r7, #4] - 80057a8: 681b ldr r3, [r3, #0] - 80057aa: 4a21 ldr r2, [pc, #132] @ (8005830 ) - 80057ac: 4293 cmp r3, r2 - 80057ae: d022 beq.n 80057f6 - 80057b0: 687b ldr r3, [r7, #4] - 80057b2: 681b ldr r3, [r3, #0] - 80057b4: f1b3 4f80 cmp.w r3, #1073741824 @ 0x40000000 - 80057b8: d01d beq.n 80057f6 - 80057ba: 687b ldr r3, [r7, #4] - 80057bc: 681b ldr r3, [r3, #0] - 80057be: 4a1d ldr r2, [pc, #116] @ (8005834 ) - 80057c0: 4293 cmp r3, r2 - 80057c2: d018 beq.n 80057f6 - 80057c4: 687b ldr r3, [r7, #4] - 80057c6: 681b ldr r3, [r3, #0] - 80057c8: 4a1b ldr r2, [pc, #108] @ (8005838 ) - 80057ca: 4293 cmp r3, r2 - 80057cc: d013 beq.n 80057f6 - 80057ce: 687b ldr r3, [r7, #4] - 80057d0: 681b ldr r3, [r3, #0] - 80057d2: 4a1a ldr r2, [pc, #104] @ (800583c ) - 80057d4: 4293 cmp r3, r2 - 80057d6: d00e beq.n 80057f6 - 80057d8: 687b ldr r3, [r7, #4] - 80057da: 681b ldr r3, [r3, #0] - 80057dc: 4a18 ldr r2, [pc, #96] @ (8005840 ) - 80057de: 4293 cmp r3, r2 - 80057e0: d009 beq.n 80057f6 - 80057e2: 687b ldr r3, [r7, #4] - 80057e4: 681b ldr r3, [r3, #0] - 80057e6: 4a17 ldr r2, [pc, #92] @ (8005844 ) - 80057e8: 4293 cmp r3, r2 - 80057ea: d004 beq.n 80057f6 - 80057ec: 687b ldr r3, [r7, #4] - 80057ee: 681b ldr r3, [r3, #0] - 80057f0: 4a15 ldr r2, [pc, #84] @ (8005848 ) - 80057f2: 4293 cmp r3, r2 - 80057f4: d10c bne.n 8005810 + 8005936: 687b ldr r3, [r7, #4] + 8005938: 681b ldr r3, [r3, #0] + 800593a: 4a21 ldr r2, [pc, #132] @ (80059c0 ) + 800593c: 4293 cmp r3, r2 + 800593e: d022 beq.n 8005986 + 8005940: 687b ldr r3, [r7, #4] + 8005942: 681b ldr r3, [r3, #0] + 8005944: f1b3 4f80 cmp.w r3, #1073741824 @ 0x40000000 + 8005948: d01d beq.n 8005986 + 800594a: 687b ldr r3, [r7, #4] + 800594c: 681b ldr r3, [r3, #0] + 800594e: 4a1d ldr r2, [pc, #116] @ (80059c4 ) + 8005950: 4293 cmp r3, r2 + 8005952: d018 beq.n 8005986 + 8005954: 687b ldr r3, [r7, #4] + 8005956: 681b ldr r3, [r3, #0] + 8005958: 4a1b ldr r2, [pc, #108] @ (80059c8 ) + 800595a: 4293 cmp r3, r2 + 800595c: d013 beq.n 8005986 + 800595e: 687b ldr r3, [r7, #4] + 8005960: 681b ldr r3, [r3, #0] + 8005962: 4a1a ldr r2, [pc, #104] @ (80059cc ) + 8005964: 4293 cmp r3, r2 + 8005966: d00e beq.n 8005986 + 8005968: 687b ldr r3, [r7, #4] + 800596a: 681b ldr r3, [r3, #0] + 800596c: 4a18 ldr r2, [pc, #96] @ (80059d0 ) + 800596e: 4293 cmp r3, r2 + 8005970: d009 beq.n 8005986 + 8005972: 687b ldr r3, [r7, #4] + 8005974: 681b ldr r3, [r3, #0] + 8005976: 4a17 ldr r2, [pc, #92] @ (80059d4 ) + 8005978: 4293 cmp r3, r2 + 800597a: d004 beq.n 8005986 + 800597c: 687b ldr r3, [r7, #4] + 800597e: 681b ldr r3, [r3, #0] + 8005980: 4a15 ldr r2, [pc, #84] @ (80059d8 ) + 8005982: 4293 cmp r3, r2 + 8005984: d10c bne.n 80059a0 { /* Reset the MSM Bit */ tmpsmcr &= ~TIM_SMCR_MSM; - 80057f6: 68bb ldr r3, [r7, #8] - 80057f8: f023 0380 bic.w r3, r3, #128 @ 0x80 - 80057fc: 60bb str r3, [r7, #8] + 8005986: 68bb ldr r3, [r7, #8] + 8005988: f023 0380 bic.w r3, r3, #128 @ 0x80 + 800598c: 60bb str r3, [r7, #8] /* Set master mode */ tmpsmcr |= sMasterConfig->MasterSlaveMode; - 80057fe: 683b ldr r3, [r7, #0] - 8005800: 685b ldr r3, [r3, #4] - 8005802: 68ba ldr r2, [r7, #8] - 8005804: 4313 orrs r3, r2 - 8005806: 60bb str r3, [r7, #8] + 800598e: 683b ldr r3, [r7, #0] + 8005990: 685b ldr r3, [r3, #4] + 8005992: 68ba ldr r2, [r7, #8] + 8005994: 4313 orrs r3, r2 + 8005996: 60bb str r3, [r7, #8] /* Update TIMx SMCR */ htim->Instance->SMCR = tmpsmcr; - 8005808: 687b ldr r3, [r7, #4] - 800580a: 681b ldr r3, [r3, #0] - 800580c: 68ba ldr r2, [r7, #8] - 800580e: 609a str r2, [r3, #8] + 8005998: 687b ldr r3, [r7, #4] + 800599a: 681b ldr r3, [r3, #0] + 800599c: 68ba ldr r2, [r7, #8] + 800599e: 609a str r2, [r3, #8] } /* Change the htim state */ htim->State = HAL_TIM_STATE_READY; - 8005810: 687b ldr r3, [r7, #4] - 8005812: 2201 movs r2, #1 - 8005814: f883 203d strb.w r2, [r3, #61] @ 0x3d + 80059a0: 687b ldr r3, [r7, #4] + 80059a2: 2201 movs r2, #1 + 80059a4: f883 203d strb.w r2, [r3, #61] @ 0x3d __HAL_UNLOCK(htim); - 8005818: 687b ldr r3, [r7, #4] - 800581a: 2200 movs r2, #0 - 800581c: f883 203c strb.w r2, [r3, #60] @ 0x3c + 80059a8: 687b ldr r3, [r7, #4] + 80059aa: 2200 movs r2, #0 + 80059ac: f883 203c strb.w r2, [r3, #60] @ 0x3c return HAL_OK; - 8005820: 2300 movs r3, #0 + 80059b0: 2300 movs r3, #0 } - 8005822: 4618 mov r0, r3 - 8005824: 3714 adds r7, #20 - 8005826: 46bd mov sp, r7 - 8005828: f85d 7b04 ldr.w r7, [sp], #4 - 800582c: 4770 bx lr - 800582e: bf00 nop - 8005830: 40010000 .word 0x40010000 - 8005834: 40000400 .word 0x40000400 - 8005838: 40000800 .word 0x40000800 - 800583c: 40000c00 .word 0x40000c00 - 8005840: 40010400 .word 0x40010400 - 8005844: 40014000 .word 0x40014000 - 8005848: 40001800 .word 0x40001800 + 80059b2: 4618 mov r0, r3 + 80059b4: 3714 adds r7, #20 + 80059b6: 46bd mov sp, r7 + 80059b8: f85d 7b04 ldr.w r7, [sp], #4 + 80059bc: 4770 bx lr + 80059be: bf00 nop + 80059c0: 40010000 .word 0x40010000 + 80059c4: 40000400 .word 0x40000400 + 80059c8: 40000800 .word 0x40000800 + 80059cc: 40000c00 .word 0x40000c00 + 80059d0: 40010400 .word 0x40010400 + 80059d4: 40014000 .word 0x40014000 + 80059d8: 40001800 .word 0x40001800 -0800584c : +080059dc : * @param huart Pointer to a UART_HandleTypeDef structure that contains * the configuration information for the specified UART module. * @retval HAL status */ HAL_StatusTypeDef HAL_UART_Init(UART_HandleTypeDef *huart) { - 800584c: b580 push {r7, lr} - 800584e: b082 sub sp, #8 - 8005850: af00 add r7, sp, #0 - 8005852: 6078 str r0, [r7, #4] + 80059dc: b580 push {r7, lr} + 80059de: b082 sub sp, #8 + 80059e0: af00 add r7, sp, #0 + 80059e2: 6078 str r0, [r7, #4] /* Check the UART handle allocation */ if (huart == NULL) - 8005854: 687b ldr r3, [r7, #4] - 8005856: 2b00 cmp r3, #0 - 8005858: d101 bne.n 800585e + 80059e4: 687b ldr r3, [r7, #4] + 80059e6: 2b00 cmp r3, #0 + 80059e8: d101 bne.n 80059ee { return HAL_ERROR; - 800585a: 2301 movs r3, #1 - 800585c: e042 b.n 80058e4 + 80059ea: 2301 movs r3, #1 + 80059ec: e042 b.n 8005a74 assert_param(IS_UART_INSTANCE(huart->Instance)); } assert_param(IS_UART_WORD_LENGTH(huart->Init.WordLength)); assert_param(IS_UART_OVERSAMPLING(huart->Init.OverSampling)); if (huart->gState == HAL_UART_STATE_RESET) - 800585e: 687b ldr r3, [r7, #4] - 8005860: f893 3041 ldrb.w r3, [r3, #65] @ 0x41 - 8005864: b2db uxtb r3, r3 - 8005866: 2b00 cmp r3, #0 - 8005868: d106 bne.n 8005878 + 80059ee: 687b ldr r3, [r7, #4] + 80059f0: f893 3041 ldrb.w r3, [r3, #65] @ 0x41 + 80059f4: b2db uxtb r3, r3 + 80059f6: 2b00 cmp r3, #0 + 80059f8: d106 bne.n 8005a08 { /* Allocate lock resource and initialize it */ huart->Lock = HAL_UNLOCKED; - 800586a: 687b ldr r3, [r7, #4] - 800586c: 2200 movs r2, #0 - 800586e: f883 2040 strb.w r2, [r3, #64] @ 0x40 + 80059fa: 687b ldr r3, [r7, #4] + 80059fc: 2200 movs r2, #0 + 80059fe: f883 2040 strb.w r2, [r3, #64] @ 0x40 /* Init the low level hardware */ huart->MspInitCallback(huart); #else /* Init the low level hardware : GPIO, CLOCK */ HAL_UART_MspInit(huart); - 8005872: 6878 ldr r0, [r7, #4] - 8005874: f7fb fc8e bl 8001194 + 8005a02: 6878 ldr r0, [r7, #4] + 8005a04: f7fb fc8e bl 8001324 #endif /* (USE_HAL_UART_REGISTER_CALLBACKS) */ } huart->gState = HAL_UART_STATE_BUSY; - 8005878: 687b ldr r3, [r7, #4] - 800587a: 2224 movs r2, #36 @ 0x24 - 800587c: f883 2041 strb.w r2, [r3, #65] @ 0x41 + 8005a08: 687b ldr r3, [r7, #4] + 8005a0a: 2224 movs r2, #36 @ 0x24 + 8005a0c: f883 2041 strb.w r2, [r3, #65] @ 0x41 /* Disable the peripheral */ __HAL_UART_DISABLE(huart); - 8005880: 687b ldr r3, [r7, #4] - 8005882: 681b ldr r3, [r3, #0] - 8005884: 68da ldr r2, [r3, #12] - 8005886: 687b ldr r3, [r7, #4] - 8005888: 681b ldr r3, [r3, #0] - 800588a: f422 5200 bic.w r2, r2, #8192 @ 0x2000 - 800588e: 60da str r2, [r3, #12] + 8005a10: 687b ldr r3, [r7, #4] + 8005a12: 681b ldr r3, [r3, #0] + 8005a14: 68da ldr r2, [r3, #12] + 8005a16: 687b ldr r3, [r7, #4] + 8005a18: 681b ldr r3, [r3, #0] + 8005a1a: f422 5200 bic.w r2, r2, #8192 @ 0x2000 + 8005a1e: 60da str r2, [r3, #12] /* Set the UART Communication parameters */ UART_SetConfig(huart); - 8005890: 6878 ldr r0, [r7, #4] - 8005892: f000 fde3 bl 800645c + 8005a20: 6878 ldr r0, [r7, #4] + 8005a22: f001 f851 bl 8006ac8 /* 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)); - 8005896: 687b ldr r3, [r7, #4] - 8005898: 681b ldr r3, [r3, #0] - 800589a: 691a ldr r2, [r3, #16] - 800589c: 687b ldr r3, [r7, #4] - 800589e: 681b ldr r3, [r3, #0] - 80058a0: f422 4290 bic.w r2, r2, #18432 @ 0x4800 - 80058a4: 611a str r2, [r3, #16] + 8005a26: 687b ldr r3, [r7, #4] + 8005a28: 681b ldr r3, [r3, #0] + 8005a2a: 691a ldr r2, [r3, #16] + 8005a2c: 687b ldr r3, [r7, #4] + 8005a2e: 681b ldr r3, [r3, #0] + 8005a30: f422 4290 bic.w r2, r2, #18432 @ 0x4800 + 8005a34: 611a str r2, [r3, #16] CLEAR_BIT(huart->Instance->CR3, (USART_CR3_SCEN | USART_CR3_HDSEL | USART_CR3_IREN)); - 80058a6: 687b ldr r3, [r7, #4] - 80058a8: 681b ldr r3, [r3, #0] - 80058aa: 695a ldr r2, [r3, #20] - 80058ac: 687b ldr r3, [r7, #4] - 80058ae: 681b ldr r3, [r3, #0] - 80058b0: f022 022a bic.w r2, r2, #42 @ 0x2a - 80058b4: 615a str r2, [r3, #20] + 8005a36: 687b ldr r3, [r7, #4] + 8005a38: 681b ldr r3, [r3, #0] + 8005a3a: 695a ldr r2, [r3, #20] + 8005a3c: 687b ldr r3, [r7, #4] + 8005a3e: 681b ldr r3, [r3, #0] + 8005a40: f022 022a bic.w r2, r2, #42 @ 0x2a + 8005a44: 615a str r2, [r3, #20] /* Enable the peripheral */ __HAL_UART_ENABLE(huart); - 80058b6: 687b ldr r3, [r7, #4] - 80058b8: 681b ldr r3, [r3, #0] - 80058ba: 68da ldr r2, [r3, #12] - 80058bc: 687b ldr r3, [r7, #4] - 80058be: 681b ldr r3, [r3, #0] - 80058c0: f442 5200 orr.w r2, r2, #8192 @ 0x2000 - 80058c4: 60da str r2, [r3, #12] + 8005a46: 687b ldr r3, [r7, #4] + 8005a48: 681b ldr r3, [r3, #0] + 8005a4a: 68da ldr r2, [r3, #12] + 8005a4c: 687b ldr r3, [r7, #4] + 8005a4e: 681b ldr r3, [r3, #0] + 8005a50: f442 5200 orr.w r2, r2, #8192 @ 0x2000 + 8005a54: 60da str r2, [r3, #12] /* Initialize the UART state */ huart->ErrorCode = HAL_UART_ERROR_NONE; - 80058c6: 687b ldr r3, [r7, #4] - 80058c8: 2200 movs r2, #0 - 80058ca: 645a str r2, [r3, #68] @ 0x44 + 8005a56: 687b ldr r3, [r7, #4] + 8005a58: 2200 movs r2, #0 + 8005a5a: 645a str r2, [r3, #68] @ 0x44 huart->gState = HAL_UART_STATE_READY; - 80058cc: 687b ldr r3, [r7, #4] - 80058ce: 2220 movs r2, #32 - 80058d0: f883 2041 strb.w r2, [r3, #65] @ 0x41 + 8005a5c: 687b ldr r3, [r7, #4] + 8005a5e: 2220 movs r2, #32 + 8005a60: f883 2041 strb.w r2, [r3, #65] @ 0x41 huart->RxState = HAL_UART_STATE_READY; - 80058d4: 687b ldr r3, [r7, #4] - 80058d6: 2220 movs r2, #32 - 80058d8: f883 2042 strb.w r2, [r3, #66] @ 0x42 + 8005a64: 687b ldr r3, [r7, #4] + 8005a66: 2220 movs r2, #32 + 8005a68: f883 2042 strb.w r2, [r3, #66] @ 0x42 huart->RxEventType = HAL_UART_RXEVENT_TC; - 80058dc: 687b ldr r3, [r7, #4] - 80058de: 2200 movs r2, #0 - 80058e0: 635a str r2, [r3, #52] @ 0x34 + 8005a6c: 687b ldr r3, [r7, #4] + 8005a6e: 2200 movs r2, #0 + 8005a70: 635a str r2, [r3, #52] @ 0x34 return HAL_OK; - 80058e2: 2300 movs r3, #0 + 8005a72: 2300 movs r3, #0 } - 80058e4: 4618 mov r0, r3 - 80058e6: 3708 adds r7, #8 - 80058e8: 46bd mov sp, r7 - 80058ea: bd80 pop {r7, pc} + 8005a74: 4618 mov r0, r3 + 8005a76: 3708 adds r7, #8 + 8005a78: 46bd mov sp, r7 + 8005a7a: bd80 pop {r7, pc} -080058ec : +08005a7c : + * @param Size Amount of data elements (u8 or u16) to be sent + * @param Timeout Timeout duration + * @retval HAL status + */ +HAL_StatusTypeDef HAL_UART_Transmit(UART_HandleTypeDef *huart, const uint8_t *pData, uint16_t Size, uint32_t Timeout) +{ + 8005a7c: b580 push {r7, lr} + 8005a7e: b08a sub sp, #40 @ 0x28 + 8005a80: af02 add r7, sp, #8 + 8005a82: 60f8 str r0, [r7, #12] + 8005a84: 60b9 str r1, [r7, #8] + 8005a86: 603b str r3, [r7, #0] + 8005a88: 4613 mov r3, r2 + 8005a8a: 80fb strh r3, [r7, #6] + const uint8_t *pdata8bits; + const uint16_t *pdata16bits; + uint32_t tickstart = 0U; + 8005a8c: 2300 movs r3, #0 + 8005a8e: 617b str r3, [r7, #20] + + /* Check that a Tx process is not already ongoing */ + if (huart->gState == HAL_UART_STATE_READY) + 8005a90: 68fb ldr r3, [r7, #12] + 8005a92: f893 3041 ldrb.w r3, [r3, #65] @ 0x41 + 8005a96: b2db uxtb r3, r3 + 8005a98: 2b20 cmp r3, #32 + 8005a9a: d175 bne.n 8005b88 + { + if ((pData == NULL) || (Size == 0U)) + 8005a9c: 68bb ldr r3, [r7, #8] + 8005a9e: 2b00 cmp r3, #0 + 8005aa0: d002 beq.n 8005aa8 + 8005aa2: 88fb ldrh r3, [r7, #6] + 8005aa4: 2b00 cmp r3, #0 + 8005aa6: d101 bne.n 8005aac + { + return HAL_ERROR; + 8005aa8: 2301 movs r3, #1 + 8005aaa: e06e b.n 8005b8a + } + + huart->ErrorCode = HAL_UART_ERROR_NONE; + 8005aac: 68fb ldr r3, [r7, #12] + 8005aae: 2200 movs r2, #0 + 8005ab0: 645a str r2, [r3, #68] @ 0x44 + huart->gState = HAL_UART_STATE_BUSY_TX; + 8005ab2: 68fb ldr r3, [r7, #12] + 8005ab4: 2221 movs r2, #33 @ 0x21 + 8005ab6: f883 2041 strb.w r2, [r3, #65] @ 0x41 + + /* Init tickstart for timeout management */ + tickstart = HAL_GetTick(); + 8005aba: f7fb ff85 bl 80019c8 + 8005abe: 6178 str r0, [r7, #20] + + huart->TxXferSize = Size; + 8005ac0: 68fb ldr r3, [r7, #12] + 8005ac2: 88fa ldrh r2, [r7, #6] + 8005ac4: 849a strh r2, [r3, #36] @ 0x24 + huart->TxXferCount = Size; + 8005ac6: 68fb ldr r3, [r7, #12] + 8005ac8: 88fa ldrh r2, [r7, #6] + 8005aca: 84da strh r2, [r3, #38] @ 0x26 + + /* 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)) + 8005acc: 68fb ldr r3, [r7, #12] + 8005ace: 689b ldr r3, [r3, #8] + 8005ad0: f5b3 5f80 cmp.w r3, #4096 @ 0x1000 + 8005ad4: d108 bne.n 8005ae8 + 8005ad6: 68fb ldr r3, [r7, #12] + 8005ad8: 691b ldr r3, [r3, #16] + 8005ada: 2b00 cmp r3, #0 + 8005adc: d104 bne.n 8005ae8 + { + pdata8bits = NULL; + 8005ade: 2300 movs r3, #0 + 8005ae0: 61fb str r3, [r7, #28] + pdata16bits = (const uint16_t *) pData; + 8005ae2: 68bb ldr r3, [r7, #8] + 8005ae4: 61bb str r3, [r7, #24] + 8005ae6: e003 b.n 8005af0 + } + else + { + pdata8bits = pData; + 8005ae8: 68bb ldr r3, [r7, #8] + 8005aea: 61fb str r3, [r7, #28] + pdata16bits = NULL; + 8005aec: 2300 movs r3, #0 + 8005aee: 61bb str r3, [r7, #24] + } + + while (huart->TxXferCount > 0U) + 8005af0: e02e b.n 8005b50 + { + if (UART_WaitOnFlagUntilTimeout(huart, UART_FLAG_TXE, RESET, tickstart, Timeout) != HAL_OK) + 8005af2: 683b ldr r3, [r7, #0] + 8005af4: 9300 str r3, [sp, #0] + 8005af6: 697b ldr r3, [r7, #20] + 8005af8: 2200 movs r2, #0 + 8005afa: 2180 movs r1, #128 @ 0x80 + 8005afc: 68f8 ldr r0, [r7, #12] + 8005afe: f000 fd22 bl 8006546 + 8005b02: 4603 mov r3, r0 + 8005b04: 2b00 cmp r3, #0 + 8005b06: d005 beq.n 8005b14 + { + huart->gState = HAL_UART_STATE_READY; + 8005b08: 68fb ldr r3, [r7, #12] + 8005b0a: 2220 movs r2, #32 + 8005b0c: f883 2041 strb.w r2, [r3, #65] @ 0x41 + + return HAL_TIMEOUT; + 8005b10: 2303 movs r3, #3 + 8005b12: e03a b.n 8005b8a + } + if (pdata8bits == NULL) + 8005b14: 69fb ldr r3, [r7, #28] + 8005b16: 2b00 cmp r3, #0 + 8005b18: d10b bne.n 8005b32 + { + huart->Instance->DR = (uint16_t)(*pdata16bits & 0x01FFU); + 8005b1a: 69bb ldr r3, [r7, #24] + 8005b1c: 881b ldrh r3, [r3, #0] + 8005b1e: 461a mov r2, r3 + 8005b20: 68fb ldr r3, [r7, #12] + 8005b22: 681b ldr r3, [r3, #0] + 8005b24: f3c2 0208 ubfx r2, r2, #0, #9 + 8005b28: 605a str r2, [r3, #4] + pdata16bits++; + 8005b2a: 69bb ldr r3, [r7, #24] + 8005b2c: 3302 adds r3, #2 + 8005b2e: 61bb str r3, [r7, #24] + 8005b30: e007 b.n 8005b42 + } + else + { + huart->Instance->DR = (uint8_t)(*pdata8bits & 0xFFU); + 8005b32: 69fb ldr r3, [r7, #28] + 8005b34: 781a ldrb r2, [r3, #0] + 8005b36: 68fb ldr r3, [r7, #12] + 8005b38: 681b ldr r3, [r3, #0] + 8005b3a: 605a str r2, [r3, #4] + pdata8bits++; + 8005b3c: 69fb ldr r3, [r7, #28] + 8005b3e: 3301 adds r3, #1 + 8005b40: 61fb str r3, [r7, #28] + } + huart->TxXferCount--; + 8005b42: 68fb ldr r3, [r7, #12] + 8005b44: 8cdb ldrh r3, [r3, #38] @ 0x26 + 8005b46: b29b uxth r3, r3 + 8005b48: 3b01 subs r3, #1 + 8005b4a: b29a uxth r2, r3 + 8005b4c: 68fb ldr r3, [r7, #12] + 8005b4e: 84da strh r2, [r3, #38] @ 0x26 + while (huart->TxXferCount > 0U) + 8005b50: 68fb ldr r3, [r7, #12] + 8005b52: 8cdb ldrh r3, [r3, #38] @ 0x26 + 8005b54: b29b uxth r3, r3 + 8005b56: 2b00 cmp r3, #0 + 8005b58: d1cb bne.n 8005af2 + } + + if (UART_WaitOnFlagUntilTimeout(huart, UART_FLAG_TC, RESET, tickstart, Timeout) != HAL_OK) + 8005b5a: 683b ldr r3, [r7, #0] + 8005b5c: 9300 str r3, [sp, #0] + 8005b5e: 697b ldr r3, [r7, #20] + 8005b60: 2200 movs r2, #0 + 8005b62: 2140 movs r1, #64 @ 0x40 + 8005b64: 68f8 ldr r0, [r7, #12] + 8005b66: f000 fcee bl 8006546 + 8005b6a: 4603 mov r3, r0 + 8005b6c: 2b00 cmp r3, #0 + 8005b6e: d005 beq.n 8005b7c + { + huart->gState = HAL_UART_STATE_READY; + 8005b70: 68fb ldr r3, [r7, #12] + 8005b72: 2220 movs r2, #32 + 8005b74: f883 2041 strb.w r2, [r3, #65] @ 0x41 + + return HAL_TIMEOUT; + 8005b78: 2303 movs r3, #3 + 8005b7a: e006 b.n 8005b8a + } + + /* At end of Tx process, restore huart->gState to Ready */ + huart->gState = HAL_UART_STATE_READY; + 8005b7c: 68fb ldr r3, [r7, #12] + 8005b7e: 2220 movs r2, #32 + 8005b80: f883 2041 strb.w r2, [r3, #65] @ 0x41 + + return HAL_OK; + 8005b84: 2300 movs r3, #0 + 8005b86: e000 b.n 8005b8a + } + else + { + return HAL_BUSY; + 8005b88: 2302 movs r3, #2 + } +} + 8005b8a: 4618 mov r0, r3 + 8005b8c: 3720 adds r7, #32 + 8005b8e: 46bd mov sp, r7 + 8005b90: bd80 pop {r7, pc} + ... + +08005b94 : * @param pData Pointer to data buffer (u8 or u16 data elements). * @param Size Amount of data elements (u8 or u16) to be sent * @retval HAL status */ HAL_StatusTypeDef HAL_UART_Transmit_DMA(UART_HandleTypeDef *huart, const uint8_t *pData, uint16_t Size) { - 80058ec: b580 push {r7, lr} - 80058ee: b08c sub sp, #48 @ 0x30 - 80058f0: af00 add r7, sp, #0 - 80058f2: 60f8 str r0, [r7, #12] - 80058f4: 60b9 str r1, [r7, #8] - 80058f6: 4613 mov r3, r2 - 80058f8: 80fb strh r3, [r7, #6] + 8005b94: b580 push {r7, lr} + 8005b96: b08c sub sp, #48 @ 0x30 + 8005b98: af00 add r7, sp, #0 + 8005b9a: 60f8 str r0, [r7, #12] + 8005b9c: 60b9 str r1, [r7, #8] + 8005b9e: 4613 mov r3, r2 + 8005ba0: 80fb strh r3, [r7, #6] const uint32_t *tmp; /* Check that a Tx process is not already ongoing */ if (huart->gState == HAL_UART_STATE_READY) - 80058fa: 68fb ldr r3, [r7, #12] - 80058fc: f893 3041 ldrb.w r3, [r3, #65] @ 0x41 - 8005900: b2db uxtb r3, r3 - 8005902: 2b20 cmp r3, #32 - 8005904: d162 bne.n 80059cc + 8005ba2: 68fb ldr r3, [r7, #12] + 8005ba4: f893 3041 ldrb.w r3, [r3, #65] @ 0x41 + 8005ba8: b2db uxtb r3, r3 + 8005baa: 2b20 cmp r3, #32 + 8005bac: d162 bne.n 8005c74 { if ((pData == NULL) || (Size == 0U)) - 8005906: 68bb ldr r3, [r7, #8] - 8005908: 2b00 cmp r3, #0 - 800590a: d002 beq.n 8005912 - 800590c: 88fb ldrh r3, [r7, #6] - 800590e: 2b00 cmp r3, #0 - 8005910: d101 bne.n 8005916 + 8005bae: 68bb ldr r3, [r7, #8] + 8005bb0: 2b00 cmp r3, #0 + 8005bb2: d002 beq.n 8005bba + 8005bb4: 88fb ldrh r3, [r7, #6] + 8005bb6: 2b00 cmp r3, #0 + 8005bb8: d101 bne.n 8005bbe { return HAL_ERROR; - 8005912: 2301 movs r3, #1 - 8005914: e05b b.n 80059ce + 8005bba: 2301 movs r3, #1 + 8005bbc: e05b b.n 8005c76 } huart->pTxBuffPtr = pData; - 8005916: 68ba ldr r2, [r7, #8] - 8005918: 68fb ldr r3, [r7, #12] - 800591a: 621a str r2, [r3, #32] + 8005bbe: 68ba ldr r2, [r7, #8] + 8005bc0: 68fb ldr r3, [r7, #12] + 8005bc2: 621a str r2, [r3, #32] huart->TxXferSize = Size; - 800591c: 68fb ldr r3, [r7, #12] - 800591e: 88fa ldrh r2, [r7, #6] - 8005920: 849a strh r2, [r3, #36] @ 0x24 + 8005bc4: 68fb ldr r3, [r7, #12] + 8005bc6: 88fa ldrh r2, [r7, #6] + 8005bc8: 849a strh r2, [r3, #36] @ 0x24 huart->TxXferCount = Size; - 8005922: 68fb ldr r3, [r7, #12] - 8005924: 88fa ldrh r2, [r7, #6] - 8005926: 84da strh r2, [r3, #38] @ 0x26 + 8005bca: 68fb ldr r3, [r7, #12] + 8005bcc: 88fa ldrh r2, [r7, #6] + 8005bce: 84da strh r2, [r3, #38] @ 0x26 huart->ErrorCode = HAL_UART_ERROR_NONE; - 8005928: 68fb ldr r3, [r7, #12] - 800592a: 2200 movs r2, #0 - 800592c: 645a str r2, [r3, #68] @ 0x44 + 8005bd0: 68fb ldr r3, [r7, #12] + 8005bd2: 2200 movs r2, #0 + 8005bd4: 645a str r2, [r3, #68] @ 0x44 huart->gState = HAL_UART_STATE_BUSY_TX; - 800592e: 68fb ldr r3, [r7, #12] - 8005930: 2221 movs r2, #33 @ 0x21 - 8005932: f883 2041 strb.w r2, [r3, #65] @ 0x41 + 8005bd6: 68fb ldr r3, [r7, #12] + 8005bd8: 2221 movs r2, #33 @ 0x21 + 8005bda: f883 2041 strb.w r2, [r3, #65] @ 0x41 /* Set the UART DMA transfer complete callback */ huart->hdmatx->XferCpltCallback = UART_DMATransmitCplt; - 8005936: 68fb ldr r3, [r7, #12] - 8005938: 6b9b ldr r3, [r3, #56] @ 0x38 - 800593a: 4a27 ldr r2, [pc, #156] @ (80059d8 ) - 800593c: 63da str r2, [r3, #60] @ 0x3c + 8005bde: 68fb ldr r3, [r7, #12] + 8005be0: 6b9b ldr r3, [r3, #56] @ 0x38 + 8005be2: 4a27 ldr r2, [pc, #156] @ (8005c80 ) + 8005be4: 63da str r2, [r3, #60] @ 0x3c /* Set the UART DMA Half transfer complete callback */ huart->hdmatx->XferHalfCpltCallback = UART_DMATxHalfCplt; - 800593e: 68fb ldr r3, [r7, #12] - 8005940: 6b9b ldr r3, [r3, #56] @ 0x38 - 8005942: 4a26 ldr r2, [pc, #152] @ (80059dc ) - 8005944: 641a str r2, [r3, #64] @ 0x40 + 8005be6: 68fb ldr r3, [r7, #12] + 8005be8: 6b9b ldr r3, [r3, #56] @ 0x38 + 8005bea: 4a26 ldr r2, [pc, #152] @ (8005c84 ) + 8005bec: 641a str r2, [r3, #64] @ 0x40 /* Set the DMA error callback */ huart->hdmatx->XferErrorCallback = UART_DMAError; - 8005946: 68fb ldr r3, [r7, #12] - 8005948: 6b9b ldr r3, [r3, #56] @ 0x38 - 800594a: 4a25 ldr r2, [pc, #148] @ (80059e0 ) - 800594c: 64da str r2, [r3, #76] @ 0x4c + 8005bee: 68fb ldr r3, [r7, #12] + 8005bf0: 6b9b ldr r3, [r3, #56] @ 0x38 + 8005bf2: 4a25 ldr r2, [pc, #148] @ (8005c88 ) + 8005bf4: 64da str r2, [r3, #76] @ 0x4c /* Set the DMA abort callback */ huart->hdmatx->XferAbortCallback = NULL; - 800594e: 68fb ldr r3, [r7, #12] - 8005950: 6b9b ldr r3, [r3, #56] @ 0x38 - 8005952: 2200 movs r2, #0 - 8005954: 651a str r2, [r3, #80] @ 0x50 + 8005bf6: 68fb ldr r3, [r7, #12] + 8005bf8: 6b9b ldr r3, [r3, #56] @ 0x38 + 8005bfa: 2200 movs r2, #0 + 8005bfc: 651a str r2, [r3, #80] @ 0x50 /* Enable the UART transmit DMA stream */ tmp = (const uint32_t *)&pData; - 8005956: f107 0308 add.w r3, r7, #8 - 800595a: 62fb str r3, [r7, #44] @ 0x2c + 8005bfe: f107 0308 add.w r3, r7, #8 + 8005c02: 62fb str r3, [r7, #44] @ 0x2c if (HAL_DMA_Start_IT(huart->hdmatx, *(const uint32_t *)tmp, (uint32_t)&huart->Instance->DR, Size) != HAL_OK) - 800595c: 68fb ldr r3, [r7, #12] - 800595e: 6b98 ldr r0, [r3, #56] @ 0x38 - 8005960: 6afb ldr r3, [r7, #44] @ 0x2c - 8005962: 6819 ldr r1, [r3, #0] - 8005964: 68fb ldr r3, [r7, #12] - 8005966: 681b ldr r3, [r3, #0] - 8005968: 3304 adds r3, #4 - 800596a: 461a mov r2, r3 - 800596c: 88fb ldrh r3, [r7, #6] - 800596e: f7fc f953 bl 8001c18 - 8005972: 4603 mov r3, r0 - 8005974: 2b00 cmp r3, #0 - 8005976: d008 beq.n 800598a + 8005c04: 68fb ldr r3, [r7, #12] + 8005c06: 6b98 ldr r0, [r3, #56] @ 0x38 + 8005c08: 6afb ldr r3, [r7, #44] @ 0x2c + 8005c0a: 6819 ldr r1, [r3, #0] + 8005c0c: 68fb ldr r3, [r7, #12] + 8005c0e: 681b ldr r3, [r3, #0] + 8005c10: 3304 adds r3, #4 + 8005c12: 461a mov r2, r3 + 8005c14: 88fb ldrh r3, [r7, #6] + 8005c16: f7fc f8c7 bl 8001da8 + 8005c1a: 4603 mov r3, r0 + 8005c1c: 2b00 cmp r3, #0 + 8005c1e: d008 beq.n 8005c32 { /* Set error code to DMA */ huart->ErrorCode = HAL_UART_ERROR_DMA; - 8005978: 68fb ldr r3, [r7, #12] - 800597a: 2210 movs r2, #16 - 800597c: 645a str r2, [r3, #68] @ 0x44 + 8005c20: 68fb ldr r3, [r7, #12] + 8005c22: 2210 movs r2, #16 + 8005c24: 645a str r2, [r3, #68] @ 0x44 /* Restore huart->gState to ready */ huart->gState = HAL_UART_STATE_READY; - 800597e: 68fb ldr r3, [r7, #12] - 8005980: 2220 movs r2, #32 - 8005982: f883 2041 strb.w r2, [r3, #65] @ 0x41 + 8005c26: 68fb ldr r3, [r7, #12] + 8005c28: 2220 movs r2, #32 + 8005c2a: f883 2041 strb.w r2, [r3, #65] @ 0x41 return HAL_ERROR; - 8005986: 2301 movs r3, #1 - 8005988: e021 b.n 80059ce + 8005c2e: 2301 movs r3, #1 + 8005c30: e021 b.n 8005c76 } /* Clear the TC flag in the SR register by writing 0 to it */ __HAL_UART_CLEAR_FLAG(huart, UART_FLAG_TC); - 800598a: 68fb ldr r3, [r7, #12] - 800598c: 681b ldr r3, [r3, #0] - 800598e: f06f 0240 mvn.w r2, #64 @ 0x40 - 8005992: 601a str r2, [r3, #0] + 8005c32: 68fb ldr r3, [r7, #12] + 8005c34: 681b ldr r3, [r3, #0] + 8005c36: f06f 0240 mvn.w r2, #64 @ 0x40 + 8005c3a: 601a str r2, [r3, #0] /* Enable the DMA transfer for transmit request by setting the DMAT bit in the UART CR3 register */ ATOMIC_SET_BIT(huart->Instance->CR3, USART_CR3_DMAT); - 8005994: 68fb ldr r3, [r7, #12] - 8005996: 681b ldr r3, [r3, #0] - 8005998: 3314 adds r3, #20 - 800599a: 61bb str r3, [r7, #24] + 8005c3c: 68fb ldr r3, [r7, #12] + 8005c3e: 681b ldr r3, [r3, #0] + 8005c40: 3314 adds r3, #20 + 8005c42: 61bb str r3, [r7, #24] __ASM volatile ("ldrex %0, %1" : "=r" (result) : "Q" (*addr) ); - 800599c: 69bb ldr r3, [r7, #24] - 800599e: e853 3f00 ldrex r3, [r3] - 80059a2: 617b str r3, [r7, #20] + 8005c44: 69bb ldr r3, [r7, #24] + 8005c46: e853 3f00 ldrex r3, [r3] + 8005c4a: 617b str r3, [r7, #20] return(result); - 80059a4: 697b ldr r3, [r7, #20] - 80059a6: f043 0380 orr.w r3, r3, #128 @ 0x80 - 80059aa: 62bb str r3, [r7, #40] @ 0x28 - 80059ac: 68fb ldr r3, [r7, #12] - 80059ae: 681b ldr r3, [r3, #0] - 80059b0: 3314 adds r3, #20 - 80059b2: 6aba ldr r2, [r7, #40] @ 0x28 - 80059b4: 627a str r2, [r7, #36] @ 0x24 - 80059b6: 623b str r3, [r7, #32] + 8005c4c: 697b ldr r3, [r7, #20] + 8005c4e: f043 0380 orr.w r3, r3, #128 @ 0x80 + 8005c52: 62bb str r3, [r7, #40] @ 0x28 + 8005c54: 68fb ldr r3, [r7, #12] + 8005c56: 681b ldr r3, [r3, #0] + 8005c58: 3314 adds r3, #20 + 8005c5a: 6aba ldr r2, [r7, #40] @ 0x28 + 8005c5c: 627a str r2, [r7, #36] @ 0x24 + 8005c5e: 623b str r3, [r7, #32] __ASM volatile ("strex %0, %2, %1" : "=&r" (result), "=Q" (*addr) : "r" (value) ); - 80059b8: 6a39 ldr r1, [r7, #32] - 80059ba: 6a7a ldr r2, [r7, #36] @ 0x24 - 80059bc: e841 2300 strex r3, r2, [r1] - 80059c0: 61fb str r3, [r7, #28] + 8005c60: 6a39 ldr r1, [r7, #32] + 8005c62: 6a7a ldr r2, [r7, #36] @ 0x24 + 8005c64: e841 2300 strex r3, r2, [r1] + 8005c68: 61fb str r3, [r7, #28] return(result); - 80059c2: 69fb ldr r3, [r7, #28] - 80059c4: 2b00 cmp r3, #0 - 80059c6: d1e5 bne.n 8005994 + 8005c6a: 69fb ldr r3, [r7, #28] + 8005c6c: 2b00 cmp r3, #0 + 8005c6e: d1e5 bne.n 8005c3c return HAL_OK; - 80059c8: 2300 movs r3, #0 - 80059ca: e000 b.n 80059ce + 8005c70: 2300 movs r3, #0 + 8005c72: e000 b.n 8005c76 } else { return HAL_BUSY; - 80059cc: 2302 movs r3, #2 + 8005c74: 2302 movs r3, #2 } } - 80059ce: 4618 mov r0, r3 - 80059d0: 3730 adds r7, #48 @ 0x30 - 80059d2: 46bd mov sp, r7 - 80059d4: bd80 pop {r7, pc} - 80059d6: bf00 nop - 80059d8: 08005f8d .word 0x08005f8d - 80059dc: 08006027 .word 0x08006027 - 80059e0: 08006043 .word 0x08006043 + 8005c76: 4618 mov r0, r3 + 8005c78: 3730 adds r7, #48 @ 0x30 + 8005c7a: 46bd mov sp, r7 + 8005c7c: bd80 pop {r7, pc} + 8005c7e: bf00 nop + 8005c80: 08006295 .word 0x08006295 + 8005c84: 0800632f .word 0x0800632f + 8005c88: 080064b3 .word 0x080064b3 -080059e4 : +08005c8c : + * @param Size Amount of data elements (u8 or u16) to be received. + * @note When the UART parity is enabled (PCE = 1) the received data contains the parity bit. + * @retval HAL status + */ +HAL_StatusTypeDef HAL_UART_Receive_DMA(UART_HandleTypeDef *huart, uint8_t *pData, uint16_t Size) +{ + 8005c8c: b580 push {r7, lr} + 8005c8e: b084 sub sp, #16 + 8005c90: af00 add r7, sp, #0 + 8005c92: 60f8 str r0, [r7, #12] + 8005c94: 60b9 str r1, [r7, #8] + 8005c96: 4613 mov r3, r2 + 8005c98: 80fb strh r3, [r7, #6] + /* Check that a Rx process is not already ongoing */ + if (huart->RxState == HAL_UART_STATE_READY) + 8005c9a: 68fb ldr r3, [r7, #12] + 8005c9c: f893 3042 ldrb.w r3, [r3, #66] @ 0x42 + 8005ca0: b2db uxtb r3, r3 + 8005ca2: 2b20 cmp r3, #32 + 8005ca4: d112 bne.n 8005ccc + { + if ((pData == NULL) || (Size == 0U)) + 8005ca6: 68bb ldr r3, [r7, #8] + 8005ca8: 2b00 cmp r3, #0 + 8005caa: d002 beq.n 8005cb2 + 8005cac: 88fb ldrh r3, [r7, #6] + 8005cae: 2b00 cmp r3, #0 + 8005cb0: d101 bne.n 8005cb6 + { + return HAL_ERROR; + 8005cb2: 2301 movs r3, #1 + 8005cb4: e00b b.n 8005cce + } + + /* Set Reception type to Standard reception */ + huart->ReceptionType = HAL_UART_RECEPTION_STANDARD; + 8005cb6: 68fb ldr r3, [r7, #12] + 8005cb8: 2200 movs r2, #0 + 8005cba: 631a str r2, [r3, #48] @ 0x30 + + return (UART_Start_Receive_DMA(huart, pData, Size)); + 8005cbc: 88fb ldrh r3, [r7, #6] + 8005cbe: 461a mov r2, r3 + 8005cc0: 68b9 ldr r1, [r7, #8] + 8005cc2: 68f8 ldr r0, [r7, #12] + 8005cc4: f000 fc98 bl 80065f8 + 8005cc8: 4603 mov r3, r0 + 8005cca: e000 b.n 8005cce + } + else + { + return HAL_BUSY; + 8005ccc: 2302 movs r3, #2 + } +} + 8005cce: 4618 mov r0, r3 + 8005cd0: 3710 adds r7, #16 + 8005cd2: 46bd mov sp, r7 + 8005cd4: bd80 pop {r7, pc} + ... + +08005cd8 : * @param huart Pointer to a UART_HandleTypeDef structure that contains * the configuration information for the specified UART module. * @retval None */ void HAL_UART_IRQHandler(UART_HandleTypeDef *huart) { - 80059e4: b580 push {r7, lr} - 80059e6: b0ba sub sp, #232 @ 0xe8 - 80059e8: af00 add r7, sp, #0 - 80059ea: 6078 str r0, [r7, #4] + 8005cd8: b580 push {r7, lr} + 8005cda: b0ba sub sp, #232 @ 0xe8 + 8005cdc: af00 add r7, sp, #0 + 8005cde: 6078 str r0, [r7, #4] uint32_t isrflags = READ_REG(huart->Instance->SR); - 80059ec: 687b ldr r3, [r7, #4] - 80059ee: 681b ldr r3, [r3, #0] - 80059f0: 681b ldr r3, [r3, #0] - 80059f2: f8c7 30e4 str.w r3, [r7, #228] @ 0xe4 + 8005ce0: 687b ldr r3, [r7, #4] + 8005ce2: 681b ldr r3, [r3, #0] + 8005ce4: 681b ldr r3, [r3, #0] + 8005ce6: f8c7 30e4 str.w r3, [r7, #228] @ 0xe4 uint32_t cr1its = READ_REG(huart->Instance->CR1); - 80059f6: 687b ldr r3, [r7, #4] - 80059f8: 681b ldr r3, [r3, #0] - 80059fa: 68db ldr r3, [r3, #12] - 80059fc: f8c7 30e0 str.w r3, [r7, #224] @ 0xe0 + 8005cea: 687b ldr r3, [r7, #4] + 8005cec: 681b ldr r3, [r3, #0] + 8005cee: 68db ldr r3, [r3, #12] + 8005cf0: f8c7 30e0 str.w r3, [r7, #224] @ 0xe0 uint32_t cr3its = READ_REG(huart->Instance->CR3); - 8005a00: 687b ldr r3, [r7, #4] - 8005a02: 681b ldr r3, [r3, #0] - 8005a04: 695b ldr r3, [r3, #20] - 8005a06: f8c7 30dc str.w r3, [r7, #220] @ 0xdc + 8005cf4: 687b ldr r3, [r7, #4] + 8005cf6: 681b ldr r3, [r3, #0] + 8005cf8: 695b ldr r3, [r3, #20] + 8005cfa: f8c7 30dc str.w r3, [r7, #220] @ 0xdc uint32_t errorflags = 0x00U; - 8005a0a: 2300 movs r3, #0 - 8005a0c: f8c7 30d8 str.w r3, [r7, #216] @ 0xd8 + 8005cfe: 2300 movs r3, #0 + 8005d00: f8c7 30d8 str.w r3, [r7, #216] @ 0xd8 uint32_t dmarequest = 0x00U; - 8005a10: 2300 movs r3, #0 - 8005a12: f8c7 30d4 str.w r3, [r7, #212] @ 0xd4 + 8005d04: 2300 movs r3, #0 + 8005d06: f8c7 30d4 str.w r3, [r7, #212] @ 0xd4 /* If no error occurs */ errorflags = (isrflags & (uint32_t)(USART_SR_PE | USART_SR_FE | USART_SR_ORE | USART_SR_NE)); - 8005a16: f8d7 30e4 ldr.w r3, [r7, #228] @ 0xe4 - 8005a1a: f003 030f and.w r3, r3, #15 - 8005a1e: f8c7 30d8 str.w r3, [r7, #216] @ 0xd8 + 8005d0a: f8d7 30e4 ldr.w r3, [r7, #228] @ 0xe4 + 8005d0e: f003 030f and.w r3, r3, #15 + 8005d12: f8c7 30d8 str.w r3, [r7, #216] @ 0xd8 if (errorflags == RESET) - 8005a22: f8d7 30d8 ldr.w r3, [r7, #216] @ 0xd8 - 8005a26: 2b00 cmp r3, #0 - 8005a28: d10f bne.n 8005a4a + 8005d16: f8d7 30d8 ldr.w r3, [r7, #216] @ 0xd8 + 8005d1a: 2b00 cmp r3, #0 + 8005d1c: d10f bne.n 8005d3e { /* UART in mode Receiver -------------------------------------------------*/ if (((isrflags & USART_SR_RXNE) != RESET) && ((cr1its & USART_CR1_RXNEIE) != RESET)) - 8005a2a: f8d7 30e4 ldr.w r3, [r7, #228] @ 0xe4 - 8005a2e: f003 0320 and.w r3, r3, #32 - 8005a32: 2b00 cmp r3, #0 - 8005a34: d009 beq.n 8005a4a - 8005a36: f8d7 30e0 ldr.w r3, [r7, #224] @ 0xe0 - 8005a3a: f003 0320 and.w r3, r3, #32 - 8005a3e: 2b00 cmp r3, #0 - 8005a40: d003 beq.n 8005a4a + 8005d1e: f8d7 30e4 ldr.w r3, [r7, #228] @ 0xe4 + 8005d22: f003 0320 and.w r3, r3, #32 + 8005d26: 2b00 cmp r3, #0 + 8005d28: d009 beq.n 8005d3e + 8005d2a: f8d7 30e0 ldr.w r3, [r7, #224] @ 0xe0 + 8005d2e: f003 0320 and.w r3, r3, #32 + 8005d32: 2b00 cmp r3, #0 + 8005d34: d003 beq.n 8005d3e { UART_Receive_IT(huart); - 8005a42: 6878 ldr r0, [r7, #4] - 8005a44: f000 fc4b bl 80062de + 8005d36: 6878 ldr r0, [r7, #4] + 8005d38: f000 fe08 bl 800694c return; - 8005a48: e273 b.n 8005f32 + 8005d3c: e273 b.n 8006226 } } /* If some errors occur */ if ((errorflags != RESET) && (((cr3its & USART_CR3_EIE) != RESET) - 8005a4a: f8d7 30d8 ldr.w r3, [r7, #216] @ 0xd8 - 8005a4e: 2b00 cmp r3, #0 - 8005a50: f000 80de beq.w 8005c10 - 8005a54: f8d7 30dc ldr.w r3, [r7, #220] @ 0xdc - 8005a58: f003 0301 and.w r3, r3, #1 - 8005a5c: 2b00 cmp r3, #0 - 8005a5e: d106 bne.n 8005a6e + 8005d3e: f8d7 30d8 ldr.w r3, [r7, #216] @ 0xd8 + 8005d42: 2b00 cmp r3, #0 + 8005d44: f000 80de beq.w 8005f04 + 8005d48: f8d7 30dc ldr.w r3, [r7, #220] @ 0xdc + 8005d4c: f003 0301 and.w r3, r3, #1 + 8005d50: 2b00 cmp r3, #0 + 8005d52: d106 bne.n 8005d62 || ((cr1its & (USART_CR1_RXNEIE | USART_CR1_PEIE)) != RESET))) - 8005a60: f8d7 30e0 ldr.w r3, [r7, #224] @ 0xe0 - 8005a64: f403 7390 and.w r3, r3, #288 @ 0x120 - 8005a68: 2b00 cmp r3, #0 - 8005a6a: f000 80d1 beq.w 8005c10 + 8005d54: f8d7 30e0 ldr.w r3, [r7, #224] @ 0xe0 + 8005d58: f403 7390 and.w r3, r3, #288 @ 0x120 + 8005d5c: 2b00 cmp r3, #0 + 8005d5e: f000 80d1 beq.w 8005f04 { /* UART parity error interrupt occurred ----------------------------------*/ if (((isrflags & USART_SR_PE) != RESET) && ((cr1its & USART_CR1_PEIE) != RESET)) - 8005a6e: f8d7 30e4 ldr.w r3, [r7, #228] @ 0xe4 - 8005a72: f003 0301 and.w r3, r3, #1 - 8005a76: 2b00 cmp r3, #0 - 8005a78: d00b beq.n 8005a92 - 8005a7a: f8d7 30e0 ldr.w r3, [r7, #224] @ 0xe0 - 8005a7e: f403 7380 and.w r3, r3, #256 @ 0x100 - 8005a82: 2b00 cmp r3, #0 - 8005a84: d005 beq.n 8005a92 + 8005d62: f8d7 30e4 ldr.w r3, [r7, #228] @ 0xe4 + 8005d66: f003 0301 and.w r3, r3, #1 + 8005d6a: 2b00 cmp r3, #0 + 8005d6c: d00b beq.n 8005d86 + 8005d6e: f8d7 30e0 ldr.w r3, [r7, #224] @ 0xe0 + 8005d72: f403 7380 and.w r3, r3, #256 @ 0x100 + 8005d76: 2b00 cmp r3, #0 + 8005d78: d005 beq.n 8005d86 { huart->ErrorCode |= HAL_UART_ERROR_PE; - 8005a86: 687b ldr r3, [r7, #4] - 8005a88: 6c5b ldr r3, [r3, #68] @ 0x44 - 8005a8a: f043 0201 orr.w r2, r3, #1 - 8005a8e: 687b ldr r3, [r7, #4] - 8005a90: 645a str r2, [r3, #68] @ 0x44 + 8005d7a: 687b ldr r3, [r7, #4] + 8005d7c: 6c5b ldr r3, [r3, #68] @ 0x44 + 8005d7e: f043 0201 orr.w r2, r3, #1 + 8005d82: 687b ldr r3, [r7, #4] + 8005d84: 645a str r2, [r3, #68] @ 0x44 } /* UART noise error interrupt occurred -----------------------------------*/ if (((isrflags & USART_SR_NE) != RESET) && ((cr3its & USART_CR3_EIE) != RESET)) - 8005a92: f8d7 30e4 ldr.w r3, [r7, #228] @ 0xe4 - 8005a96: f003 0304 and.w r3, r3, #4 - 8005a9a: 2b00 cmp r3, #0 - 8005a9c: d00b beq.n 8005ab6 - 8005a9e: f8d7 30dc ldr.w r3, [r7, #220] @ 0xdc - 8005aa2: f003 0301 and.w r3, r3, #1 - 8005aa6: 2b00 cmp r3, #0 - 8005aa8: d005 beq.n 8005ab6 + 8005d86: f8d7 30e4 ldr.w r3, [r7, #228] @ 0xe4 + 8005d8a: f003 0304 and.w r3, r3, #4 + 8005d8e: 2b00 cmp r3, #0 + 8005d90: d00b beq.n 8005daa + 8005d92: f8d7 30dc ldr.w r3, [r7, #220] @ 0xdc + 8005d96: f003 0301 and.w r3, r3, #1 + 8005d9a: 2b00 cmp r3, #0 + 8005d9c: d005 beq.n 8005daa { huart->ErrorCode |= HAL_UART_ERROR_NE; - 8005aaa: 687b ldr r3, [r7, #4] - 8005aac: 6c5b ldr r3, [r3, #68] @ 0x44 - 8005aae: f043 0202 orr.w r2, r3, #2 - 8005ab2: 687b ldr r3, [r7, #4] - 8005ab4: 645a str r2, [r3, #68] @ 0x44 + 8005d9e: 687b ldr r3, [r7, #4] + 8005da0: 6c5b ldr r3, [r3, #68] @ 0x44 + 8005da2: f043 0202 orr.w r2, r3, #2 + 8005da6: 687b ldr r3, [r7, #4] + 8005da8: 645a str r2, [r3, #68] @ 0x44 } /* UART frame error interrupt occurred -----------------------------------*/ if (((isrflags & USART_SR_FE) != RESET) && ((cr3its & USART_CR3_EIE) != RESET)) - 8005ab6: f8d7 30e4 ldr.w r3, [r7, #228] @ 0xe4 - 8005aba: f003 0302 and.w r3, r3, #2 - 8005abe: 2b00 cmp r3, #0 - 8005ac0: d00b beq.n 8005ada - 8005ac2: f8d7 30dc ldr.w r3, [r7, #220] @ 0xdc - 8005ac6: f003 0301 and.w r3, r3, #1 - 8005aca: 2b00 cmp r3, #0 - 8005acc: d005 beq.n 8005ada + 8005daa: f8d7 30e4 ldr.w r3, [r7, #228] @ 0xe4 + 8005dae: f003 0302 and.w r3, r3, #2 + 8005db2: 2b00 cmp r3, #0 + 8005db4: d00b beq.n 8005dce + 8005db6: f8d7 30dc ldr.w r3, [r7, #220] @ 0xdc + 8005dba: f003 0301 and.w r3, r3, #1 + 8005dbe: 2b00 cmp r3, #0 + 8005dc0: d005 beq.n 8005dce { huart->ErrorCode |= HAL_UART_ERROR_FE; - 8005ace: 687b ldr r3, [r7, #4] - 8005ad0: 6c5b ldr r3, [r3, #68] @ 0x44 - 8005ad2: f043 0204 orr.w r2, r3, #4 - 8005ad6: 687b ldr r3, [r7, #4] - 8005ad8: 645a str r2, [r3, #68] @ 0x44 + 8005dc2: 687b ldr r3, [r7, #4] + 8005dc4: 6c5b ldr r3, [r3, #68] @ 0x44 + 8005dc6: f043 0204 orr.w r2, r3, #4 + 8005dca: 687b ldr r3, [r7, #4] + 8005dcc: 645a str r2, [r3, #68] @ 0x44 } /* UART Over-Run interrupt occurred --------------------------------------*/ if (((isrflags & USART_SR_ORE) != RESET) && (((cr1its & USART_CR1_RXNEIE) != RESET) - 8005ada: f8d7 30e4 ldr.w r3, [r7, #228] @ 0xe4 - 8005ade: f003 0308 and.w r3, r3, #8 - 8005ae2: 2b00 cmp r3, #0 - 8005ae4: d011 beq.n 8005b0a - 8005ae6: f8d7 30e0 ldr.w r3, [r7, #224] @ 0xe0 - 8005aea: f003 0320 and.w r3, r3, #32 - 8005aee: 2b00 cmp r3, #0 - 8005af0: d105 bne.n 8005afe + 8005dce: f8d7 30e4 ldr.w r3, [r7, #228] @ 0xe4 + 8005dd2: f003 0308 and.w r3, r3, #8 + 8005dd6: 2b00 cmp r3, #0 + 8005dd8: d011 beq.n 8005dfe + 8005dda: f8d7 30e0 ldr.w r3, [r7, #224] @ 0xe0 + 8005dde: f003 0320 and.w r3, r3, #32 + 8005de2: 2b00 cmp r3, #0 + 8005de4: d105 bne.n 8005df2 || ((cr3its & USART_CR3_EIE) != RESET))) - 8005af2: f8d7 30dc ldr.w r3, [r7, #220] @ 0xdc - 8005af6: f003 0301 and.w r3, r3, #1 - 8005afa: 2b00 cmp r3, #0 - 8005afc: d005 beq.n 8005b0a + 8005de6: f8d7 30dc ldr.w r3, [r7, #220] @ 0xdc + 8005dea: f003 0301 and.w r3, r3, #1 + 8005dee: 2b00 cmp r3, #0 + 8005df0: d005 beq.n 8005dfe { huart->ErrorCode |= HAL_UART_ERROR_ORE; - 8005afe: 687b ldr r3, [r7, #4] - 8005b00: 6c5b ldr r3, [r3, #68] @ 0x44 - 8005b02: f043 0208 orr.w r2, r3, #8 - 8005b06: 687b ldr r3, [r7, #4] - 8005b08: 645a str r2, [r3, #68] @ 0x44 + 8005df2: 687b ldr r3, [r7, #4] + 8005df4: 6c5b ldr r3, [r3, #68] @ 0x44 + 8005df6: f043 0208 orr.w r2, r3, #8 + 8005dfa: 687b ldr r3, [r7, #4] + 8005dfc: 645a str r2, [r3, #68] @ 0x44 } /* Call UART Error Call back function if need be --------------------------*/ if (huart->ErrorCode != HAL_UART_ERROR_NONE) - 8005b0a: 687b ldr r3, [r7, #4] - 8005b0c: 6c5b ldr r3, [r3, #68] @ 0x44 - 8005b0e: 2b00 cmp r3, #0 - 8005b10: f000 820a beq.w 8005f28 + 8005dfe: 687b ldr r3, [r7, #4] + 8005e00: 6c5b ldr r3, [r3, #68] @ 0x44 + 8005e02: 2b00 cmp r3, #0 + 8005e04: f000 820a beq.w 800621c { /* UART in mode Receiver -----------------------------------------------*/ if (((isrflags & USART_SR_RXNE) != RESET) && ((cr1its & USART_CR1_RXNEIE) != RESET)) - 8005b14: f8d7 30e4 ldr.w r3, [r7, #228] @ 0xe4 - 8005b18: f003 0320 and.w r3, r3, #32 - 8005b1c: 2b00 cmp r3, #0 - 8005b1e: d008 beq.n 8005b32 - 8005b20: f8d7 30e0 ldr.w r3, [r7, #224] @ 0xe0 - 8005b24: f003 0320 and.w r3, r3, #32 - 8005b28: 2b00 cmp r3, #0 - 8005b2a: d002 beq.n 8005b32 + 8005e08: f8d7 30e4 ldr.w r3, [r7, #228] @ 0xe4 + 8005e0c: f003 0320 and.w r3, r3, #32 + 8005e10: 2b00 cmp r3, #0 + 8005e12: d008 beq.n 8005e26 + 8005e14: f8d7 30e0 ldr.w r3, [r7, #224] @ 0xe0 + 8005e18: f003 0320 and.w r3, r3, #32 + 8005e1c: 2b00 cmp r3, #0 + 8005e1e: d002 beq.n 8005e26 { UART_Receive_IT(huart); - 8005b2c: 6878 ldr r0, [r7, #4] - 8005b2e: f000 fbd6 bl 80062de + 8005e20: 6878 ldr r0, [r7, #4] + 8005e22: f000 fd93 bl 800694c } /* If Overrun error occurs, or if any error occurs in DMA mode reception, consider error as blocking */ dmarequest = HAL_IS_BIT_SET(huart->Instance->CR3, USART_CR3_DMAR); - 8005b32: 687b ldr r3, [r7, #4] - 8005b34: 681b ldr r3, [r3, #0] - 8005b36: 695b ldr r3, [r3, #20] - 8005b38: f003 0340 and.w r3, r3, #64 @ 0x40 - 8005b3c: 2b40 cmp r3, #64 @ 0x40 - 8005b3e: bf0c ite eq - 8005b40: 2301 moveq r3, #1 - 8005b42: 2300 movne r3, #0 - 8005b44: b2db uxtb r3, r3 - 8005b46: f8c7 30d4 str.w r3, [r7, #212] @ 0xd4 + 8005e26: 687b ldr r3, [r7, #4] + 8005e28: 681b ldr r3, [r3, #0] + 8005e2a: 695b ldr r3, [r3, #20] + 8005e2c: f003 0340 and.w r3, r3, #64 @ 0x40 + 8005e30: 2b40 cmp r3, #64 @ 0x40 + 8005e32: bf0c ite eq + 8005e34: 2301 moveq r3, #1 + 8005e36: 2300 movne r3, #0 + 8005e38: b2db uxtb r3, r3 + 8005e3a: f8c7 30d4 str.w r3, [r7, #212] @ 0xd4 if (((huart->ErrorCode & HAL_UART_ERROR_ORE) != RESET) || dmarequest) - 8005b4a: 687b ldr r3, [r7, #4] - 8005b4c: 6c5b ldr r3, [r3, #68] @ 0x44 - 8005b4e: f003 0308 and.w r3, r3, #8 - 8005b52: 2b00 cmp r3, #0 - 8005b54: d103 bne.n 8005b5e - 8005b56: f8d7 30d4 ldr.w r3, [r7, #212] @ 0xd4 - 8005b5a: 2b00 cmp r3, #0 - 8005b5c: d04f beq.n 8005bfe + 8005e3e: 687b ldr r3, [r7, #4] + 8005e40: 6c5b ldr r3, [r3, #68] @ 0x44 + 8005e42: f003 0308 and.w r3, r3, #8 + 8005e46: 2b00 cmp r3, #0 + 8005e48: d103 bne.n 8005e52 + 8005e4a: f8d7 30d4 ldr.w r3, [r7, #212] @ 0xd4 + 8005e4e: 2b00 cmp r3, #0 + 8005e50: d04f beq.n 8005ef2 { /* 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); - 8005b5e: 6878 ldr r0, [r7, #4] - 8005b60: f000 fae1 bl 8006126 + 8005e52: 6878 ldr r0, [r7, #4] + 8005e54: f000 fc9e bl 8006794 /* Disable the UART DMA Rx request if enabled */ if (HAL_IS_BIT_SET(huart->Instance->CR3, USART_CR3_DMAR)) - 8005b64: 687b ldr r3, [r7, #4] - 8005b66: 681b ldr r3, [r3, #0] - 8005b68: 695b ldr r3, [r3, #20] - 8005b6a: f003 0340 and.w r3, r3, #64 @ 0x40 - 8005b6e: 2b40 cmp r3, #64 @ 0x40 - 8005b70: d141 bne.n 8005bf6 + 8005e58: 687b ldr r3, [r7, #4] + 8005e5a: 681b ldr r3, [r3, #0] + 8005e5c: 695b ldr r3, [r3, #20] + 8005e5e: f003 0340 and.w r3, r3, #64 @ 0x40 + 8005e62: 2b40 cmp r3, #64 @ 0x40 + 8005e64: d141 bne.n 8005eea { ATOMIC_CLEAR_BIT(huart->Instance->CR3, USART_CR3_DMAR); - 8005b72: 687b ldr r3, [r7, #4] - 8005b74: 681b ldr r3, [r3, #0] - 8005b76: 3314 adds r3, #20 - 8005b78: f8c7 309c str.w r3, [r7, #156] @ 0x9c + 8005e66: 687b ldr r3, [r7, #4] + 8005e68: 681b ldr r3, [r3, #0] + 8005e6a: 3314 adds r3, #20 + 8005e6c: f8c7 309c str.w r3, [r7, #156] @ 0x9c __ASM volatile ("ldrex %0, %1" : "=r" (result) : "Q" (*addr) ); - 8005b7c: f8d7 309c ldr.w r3, [r7, #156] @ 0x9c - 8005b80: e853 3f00 ldrex r3, [r3] - 8005b84: f8c7 3098 str.w r3, [r7, #152] @ 0x98 + 8005e70: f8d7 309c ldr.w r3, [r7, #156] @ 0x9c + 8005e74: e853 3f00 ldrex r3, [r3] + 8005e78: f8c7 3098 str.w r3, [r7, #152] @ 0x98 return(result); - 8005b88: f8d7 3098 ldr.w r3, [r7, #152] @ 0x98 - 8005b8c: f023 0340 bic.w r3, r3, #64 @ 0x40 - 8005b90: f8c7 30d0 str.w r3, [r7, #208] @ 0xd0 - 8005b94: 687b ldr r3, [r7, #4] - 8005b96: 681b ldr r3, [r3, #0] - 8005b98: 3314 adds r3, #20 - 8005b9a: f8d7 20d0 ldr.w r2, [r7, #208] @ 0xd0 - 8005b9e: f8c7 20a8 str.w r2, [r7, #168] @ 0xa8 - 8005ba2: f8c7 30a4 str.w r3, [r7, #164] @ 0xa4 + 8005e7c: f8d7 3098 ldr.w r3, [r7, #152] @ 0x98 + 8005e80: f023 0340 bic.w r3, r3, #64 @ 0x40 + 8005e84: f8c7 30d0 str.w r3, [r7, #208] @ 0xd0 + 8005e88: 687b ldr r3, [r7, #4] + 8005e8a: 681b ldr r3, [r3, #0] + 8005e8c: 3314 adds r3, #20 + 8005e8e: f8d7 20d0 ldr.w r2, [r7, #208] @ 0xd0 + 8005e92: f8c7 20a8 str.w r2, [r7, #168] @ 0xa8 + 8005e96: f8c7 30a4 str.w r3, [r7, #164] @ 0xa4 __ASM volatile ("strex %0, %2, %1" : "=&r" (result), "=Q" (*addr) : "r" (value) ); - 8005ba6: f8d7 10a4 ldr.w r1, [r7, #164] @ 0xa4 - 8005baa: f8d7 20a8 ldr.w r2, [r7, #168] @ 0xa8 - 8005bae: e841 2300 strex r3, r2, [r1] - 8005bb2: f8c7 30a0 str.w r3, [r7, #160] @ 0xa0 + 8005e9a: f8d7 10a4 ldr.w r1, [r7, #164] @ 0xa4 + 8005e9e: f8d7 20a8 ldr.w r2, [r7, #168] @ 0xa8 + 8005ea2: e841 2300 strex r3, r2, [r1] + 8005ea6: f8c7 30a0 str.w r3, [r7, #160] @ 0xa0 return(result); - 8005bb6: f8d7 30a0 ldr.w r3, [r7, #160] @ 0xa0 - 8005bba: 2b00 cmp r3, #0 - 8005bbc: d1d9 bne.n 8005b72 + 8005eaa: f8d7 30a0 ldr.w r3, [r7, #160] @ 0xa0 + 8005eae: 2b00 cmp r3, #0 + 8005eb0: d1d9 bne.n 8005e66 /* Abort the UART DMA Rx stream */ if (huart->hdmarx != NULL) - 8005bbe: 687b ldr r3, [r7, #4] - 8005bc0: 6bdb ldr r3, [r3, #60] @ 0x3c - 8005bc2: 2b00 cmp r3, #0 - 8005bc4: d013 beq.n 8005bee + 8005eb2: 687b ldr r3, [r7, #4] + 8005eb4: 6bdb ldr r3, [r3, #60] @ 0x3c + 8005eb6: 2b00 cmp r3, #0 + 8005eb8: d013 beq.n 8005ee2 { /* Set the UART DMA Abort callback : will lead to call HAL_UART_ErrorCallback() at end of DMA abort procedure */ huart->hdmarx->XferAbortCallback = UART_DMAAbortOnError; - 8005bc6: 687b ldr r3, [r7, #4] - 8005bc8: 6bdb ldr r3, [r3, #60] @ 0x3c - 8005bca: 4a8a ldr r2, [pc, #552] @ (8005df4 ) - 8005bcc: 651a str r2, [r3, #80] @ 0x50 + 8005eba: 687b ldr r3, [r7, #4] + 8005ebc: 6bdb ldr r3, [r3, #60] @ 0x3c + 8005ebe: 4a8a ldr r2, [pc, #552] @ (80060e8 ) + 8005ec0: 651a str r2, [r3, #80] @ 0x50 if (HAL_DMA_Abort_IT(huart->hdmarx) != HAL_OK) - 8005bce: 687b ldr r3, [r7, #4] - 8005bd0: 6bdb ldr r3, [r3, #60] @ 0x3c - 8005bd2: 4618 mov r0, r3 - 8005bd4: f7fc f8e8 bl 8001da8 - 8005bd8: 4603 mov r3, r0 - 8005bda: 2b00 cmp r3, #0 - 8005bdc: d016 beq.n 8005c0c + 8005ec2: 687b ldr r3, [r7, #4] + 8005ec4: 6bdb ldr r3, [r3, #60] @ 0x3c + 8005ec6: 4618 mov r0, r3 + 8005ec8: f7fc f836 bl 8001f38 + 8005ecc: 4603 mov r3, r0 + 8005ece: 2b00 cmp r3, #0 + 8005ed0: d016 beq.n 8005f00 { /* Call Directly XferAbortCallback function in case of error */ huart->hdmarx->XferAbortCallback(huart->hdmarx); - 8005bde: 687b ldr r3, [r7, #4] - 8005be0: 6bdb ldr r3, [r3, #60] @ 0x3c - 8005be2: 6d1b ldr r3, [r3, #80] @ 0x50 - 8005be4: 687a ldr r2, [r7, #4] - 8005be6: 6bd2 ldr r2, [r2, #60] @ 0x3c - 8005be8: 4610 mov r0, r2 - 8005bea: 4798 blx r3 + 8005ed2: 687b ldr r3, [r7, #4] + 8005ed4: 6bdb ldr r3, [r3, #60] @ 0x3c + 8005ed6: 6d1b ldr r3, [r3, #80] @ 0x50 + 8005ed8: 687a ldr r2, [r7, #4] + 8005eda: 6bd2 ldr r2, [r2, #60] @ 0x3c + 8005edc: 4610 mov r0, r2 + 8005ede: 4798 blx r3 if (HAL_IS_BIT_SET(huart->Instance->CR3, USART_CR3_DMAR)) - 8005bec: e00e b.n 8005c0c + 8005ee0: e00e b.n 8005f00 #if (USE_HAL_UART_REGISTER_CALLBACKS == 1) /*Call registered error callback*/ huart->ErrorCallback(huart); #else /*Call legacy weak error callback*/ HAL_UART_ErrorCallback(huart); - 8005bee: 6878 ldr r0, [r7, #4] - 8005bf0: f000 f9b6 bl 8005f60 + 8005ee2: 6878 ldr r0, [r7, #4] + 8005ee4: f000 f9c0 bl 8006268 if (HAL_IS_BIT_SET(huart->Instance->CR3, USART_CR3_DMAR)) - 8005bf4: e00a b.n 8005c0c + 8005ee8: e00a b.n 8005f00 #if (USE_HAL_UART_REGISTER_CALLBACKS == 1) /*Call registered error callback*/ huart->ErrorCallback(huart); #else /*Call legacy weak error callback*/ HAL_UART_ErrorCallback(huart); - 8005bf6: 6878 ldr r0, [r7, #4] - 8005bf8: f000 f9b2 bl 8005f60 + 8005eea: 6878 ldr r0, [r7, #4] + 8005eec: f000 f9bc bl 8006268 if (HAL_IS_BIT_SET(huart->Instance->CR3, USART_CR3_DMAR)) - 8005bfc: e006 b.n 8005c0c + 8005ef0: e006 b.n 8005f00 #if (USE_HAL_UART_REGISTER_CALLBACKS == 1) /*Call registered error callback*/ huart->ErrorCallback(huart); #else /*Call legacy weak error callback*/ HAL_UART_ErrorCallback(huart); - 8005bfe: 6878 ldr r0, [r7, #4] - 8005c00: f000 f9ae bl 8005f60 + 8005ef2: 6878 ldr r0, [r7, #4] + 8005ef4: f000 f9b8 bl 8006268 #endif /* USE_HAL_UART_REGISTER_CALLBACKS */ huart->ErrorCode = HAL_UART_ERROR_NONE; - 8005c04: 687b ldr r3, [r7, #4] - 8005c06: 2200 movs r2, #0 - 8005c08: 645a str r2, [r3, #68] @ 0x44 + 8005ef8: 687b ldr r3, [r7, #4] + 8005efa: 2200 movs r2, #0 + 8005efc: 645a str r2, [r3, #68] @ 0x44 } } return; - 8005c0a: e18d b.n 8005f28 + 8005efe: e18d b.n 800621c if (HAL_IS_BIT_SET(huart->Instance->CR3, USART_CR3_DMAR)) - 8005c0c: bf00 nop + 8005f00: bf00 nop return; - 8005c0e: e18b b.n 8005f28 + 8005f02: e18b b.n 800621c } /* End if some error occurs */ /* Check current reception Mode : If Reception till IDLE event has been selected : */ if ((huart->ReceptionType == HAL_UART_RECEPTION_TOIDLE) - 8005c10: 687b ldr r3, [r7, #4] - 8005c12: 6b1b ldr r3, [r3, #48] @ 0x30 - 8005c14: 2b01 cmp r3, #1 - 8005c16: f040 8167 bne.w 8005ee8 + 8005f04: 687b ldr r3, [r7, #4] + 8005f06: 6b1b ldr r3, [r3, #48] @ 0x30 + 8005f08: 2b01 cmp r3, #1 + 8005f0a: f040 8167 bne.w 80061dc && ((isrflags & USART_SR_IDLE) != 0U) - 8005c1a: f8d7 30e4 ldr.w r3, [r7, #228] @ 0xe4 - 8005c1e: f003 0310 and.w r3, r3, #16 - 8005c22: 2b00 cmp r3, #0 - 8005c24: f000 8160 beq.w 8005ee8 + 8005f0e: f8d7 30e4 ldr.w r3, [r7, #228] @ 0xe4 + 8005f12: f003 0310 and.w r3, r3, #16 + 8005f16: 2b00 cmp r3, #0 + 8005f18: f000 8160 beq.w 80061dc && ((cr1its & USART_CR1_IDLEIE) != 0U)) - 8005c28: f8d7 30e0 ldr.w r3, [r7, #224] @ 0xe0 - 8005c2c: f003 0310 and.w r3, r3, #16 - 8005c30: 2b00 cmp r3, #0 - 8005c32: f000 8159 beq.w 8005ee8 + 8005f1c: f8d7 30e0 ldr.w r3, [r7, #224] @ 0xe0 + 8005f20: f003 0310 and.w r3, r3, #16 + 8005f24: 2b00 cmp r3, #0 + 8005f26: f000 8159 beq.w 80061dc { __HAL_UART_CLEAR_IDLEFLAG(huart); - 8005c36: 2300 movs r3, #0 - 8005c38: 60bb str r3, [r7, #8] - 8005c3a: 687b ldr r3, [r7, #4] - 8005c3c: 681b ldr r3, [r3, #0] - 8005c3e: 681b ldr r3, [r3, #0] - 8005c40: 60bb str r3, [r7, #8] - 8005c42: 687b ldr r3, [r7, #4] - 8005c44: 681b ldr r3, [r3, #0] - 8005c46: 685b ldr r3, [r3, #4] - 8005c48: 60bb str r3, [r7, #8] - 8005c4a: 68bb ldr r3, [r7, #8] + 8005f2a: 2300 movs r3, #0 + 8005f2c: 60bb str r3, [r7, #8] + 8005f2e: 687b ldr r3, [r7, #4] + 8005f30: 681b ldr r3, [r3, #0] + 8005f32: 681b ldr r3, [r3, #0] + 8005f34: 60bb str r3, [r7, #8] + 8005f36: 687b ldr r3, [r7, #4] + 8005f38: 681b ldr r3, [r3, #0] + 8005f3a: 685b ldr r3, [r3, #4] + 8005f3c: 60bb str r3, [r7, #8] + 8005f3e: 68bb ldr r3, [r7, #8] /* Check if DMA mode is enabled in UART */ if (HAL_IS_BIT_SET(huart->Instance->CR3, USART_CR3_DMAR)) - 8005c4c: 687b ldr r3, [r7, #4] - 8005c4e: 681b ldr r3, [r3, #0] - 8005c50: 695b ldr r3, [r3, #20] - 8005c52: f003 0340 and.w r3, r3, #64 @ 0x40 - 8005c56: 2b40 cmp r3, #64 @ 0x40 - 8005c58: f040 80ce bne.w 8005df8 + 8005f40: 687b ldr r3, [r7, #4] + 8005f42: 681b ldr r3, [r3, #0] + 8005f44: 695b ldr r3, [r3, #20] + 8005f46: f003 0340 and.w r3, r3, #64 @ 0x40 + 8005f4a: 2b40 cmp r3, #64 @ 0x40 + 8005f4c: f040 80ce bne.w 80060ec { /* DMA mode enabled */ /* Check received length : If all expected data are received, do nothing, (DMA cplt callback will be called). Otherwise, if at least one data has already been received, IDLE event is to be notified to user */ uint16_t nb_remaining_rx_data = (uint16_t) __HAL_DMA_GET_COUNTER(huart->hdmarx); - 8005c5c: 687b ldr r3, [r7, #4] - 8005c5e: 6bdb ldr r3, [r3, #60] @ 0x3c - 8005c60: 681b ldr r3, [r3, #0] - 8005c62: 685b ldr r3, [r3, #4] - 8005c64: f8a7 30be strh.w r3, [r7, #190] @ 0xbe + 8005f50: 687b ldr r3, [r7, #4] + 8005f52: 6bdb ldr r3, [r3, #60] @ 0x3c + 8005f54: 681b ldr r3, [r3, #0] + 8005f56: 685b ldr r3, [r3, #4] + 8005f58: f8a7 30be strh.w r3, [r7, #190] @ 0xbe if ((nb_remaining_rx_data > 0U) - 8005c68: f8b7 30be ldrh.w r3, [r7, #190] @ 0xbe - 8005c6c: 2b00 cmp r3, #0 - 8005c6e: f000 80a9 beq.w 8005dc4 + 8005f5c: f8b7 30be ldrh.w r3, [r7, #190] @ 0xbe + 8005f60: 2b00 cmp r3, #0 + 8005f62: f000 80a9 beq.w 80060b8 && (nb_remaining_rx_data < huart->RxXferSize)) - 8005c72: 687b ldr r3, [r7, #4] - 8005c74: 8d9b ldrh r3, [r3, #44] @ 0x2c - 8005c76: f8b7 20be ldrh.w r2, [r7, #190] @ 0xbe - 8005c7a: 429a cmp r2, r3 - 8005c7c: f080 80a2 bcs.w 8005dc4 + 8005f66: 687b ldr r3, [r7, #4] + 8005f68: 8d9b ldrh r3, [r3, #44] @ 0x2c + 8005f6a: f8b7 20be ldrh.w r2, [r7, #190] @ 0xbe + 8005f6e: 429a cmp r2, r3 + 8005f70: f080 80a2 bcs.w 80060b8 { /* Reception is not complete */ huart->RxXferCount = nb_remaining_rx_data; - 8005c80: 687b ldr r3, [r7, #4] - 8005c82: f8b7 20be ldrh.w r2, [r7, #190] @ 0xbe - 8005c86: 85da strh r2, [r3, #46] @ 0x2e + 8005f74: 687b ldr r3, [r7, #4] + 8005f76: f8b7 20be ldrh.w r2, [r7, #190] @ 0xbe + 8005f7a: 85da strh r2, [r3, #46] @ 0x2e /* In Normal mode, end DMA xfer and HAL UART Rx process*/ if (huart->hdmarx->Init.Mode != DMA_CIRCULAR) - 8005c88: 687b ldr r3, [r7, #4] - 8005c8a: 6bdb ldr r3, [r3, #60] @ 0x3c - 8005c8c: 69db ldr r3, [r3, #28] - 8005c8e: f5b3 7f80 cmp.w r3, #256 @ 0x100 - 8005c92: f000 8088 beq.w 8005da6 + 8005f7c: 687b ldr r3, [r7, #4] + 8005f7e: 6bdb ldr r3, [r3, #60] @ 0x3c + 8005f80: 69db ldr r3, [r3, #28] + 8005f82: f5b3 7f80 cmp.w r3, #256 @ 0x100 + 8005f86: f000 8088 beq.w 800609a { /* Disable PE and ERR (Frame error, noise error, overrun error) interrupts */ ATOMIC_CLEAR_BIT(huart->Instance->CR1, USART_CR1_PEIE); - 8005c96: 687b ldr r3, [r7, #4] - 8005c98: 681b ldr r3, [r3, #0] - 8005c9a: 330c adds r3, #12 - 8005c9c: f8c7 3088 str.w r3, [r7, #136] @ 0x88 + 8005f8a: 687b ldr r3, [r7, #4] + 8005f8c: 681b ldr r3, [r3, #0] + 8005f8e: 330c adds r3, #12 + 8005f90: f8c7 3088 str.w r3, [r7, #136] @ 0x88 __ASM volatile ("ldrex %0, %1" : "=r" (result) : "Q" (*addr) ); - 8005ca0: f8d7 3088 ldr.w r3, [r7, #136] @ 0x88 - 8005ca4: e853 3f00 ldrex r3, [r3] - 8005ca8: f8c7 3084 str.w r3, [r7, #132] @ 0x84 + 8005f94: f8d7 3088 ldr.w r3, [r7, #136] @ 0x88 + 8005f98: e853 3f00 ldrex r3, [r3] + 8005f9c: f8c7 3084 str.w r3, [r7, #132] @ 0x84 return(result); - 8005cac: f8d7 3084 ldr.w r3, [r7, #132] @ 0x84 - 8005cb0: f423 7380 bic.w r3, r3, #256 @ 0x100 - 8005cb4: f8c7 30b8 str.w r3, [r7, #184] @ 0xb8 - 8005cb8: 687b ldr r3, [r7, #4] - 8005cba: 681b ldr r3, [r3, #0] - 8005cbc: 330c adds r3, #12 - 8005cbe: f8d7 20b8 ldr.w r2, [r7, #184] @ 0xb8 - 8005cc2: f8c7 2094 str.w r2, [r7, #148] @ 0x94 - 8005cc6: f8c7 3090 str.w r3, [r7, #144] @ 0x90 + 8005fa0: f8d7 3084 ldr.w r3, [r7, #132] @ 0x84 + 8005fa4: f423 7380 bic.w r3, r3, #256 @ 0x100 + 8005fa8: f8c7 30b8 str.w r3, [r7, #184] @ 0xb8 + 8005fac: 687b ldr r3, [r7, #4] + 8005fae: 681b ldr r3, [r3, #0] + 8005fb0: 330c adds r3, #12 + 8005fb2: f8d7 20b8 ldr.w r2, [r7, #184] @ 0xb8 + 8005fb6: f8c7 2094 str.w r2, [r7, #148] @ 0x94 + 8005fba: f8c7 3090 str.w r3, [r7, #144] @ 0x90 __ASM volatile ("strex %0, %2, %1" : "=&r" (result), "=Q" (*addr) : "r" (value) ); - 8005cca: f8d7 1090 ldr.w r1, [r7, #144] @ 0x90 - 8005cce: f8d7 2094 ldr.w r2, [r7, #148] @ 0x94 - 8005cd2: e841 2300 strex r3, r2, [r1] - 8005cd6: f8c7 308c str.w r3, [r7, #140] @ 0x8c + 8005fbe: f8d7 1090 ldr.w r1, [r7, #144] @ 0x90 + 8005fc2: f8d7 2094 ldr.w r2, [r7, #148] @ 0x94 + 8005fc6: e841 2300 strex r3, r2, [r1] + 8005fca: f8c7 308c str.w r3, [r7, #140] @ 0x8c return(result); - 8005cda: f8d7 308c ldr.w r3, [r7, #140] @ 0x8c - 8005cde: 2b00 cmp r3, #0 - 8005ce0: d1d9 bne.n 8005c96 + 8005fce: f8d7 308c ldr.w r3, [r7, #140] @ 0x8c + 8005fd2: 2b00 cmp r3, #0 + 8005fd4: d1d9 bne.n 8005f8a ATOMIC_CLEAR_BIT(huart->Instance->CR3, USART_CR3_EIE); - 8005ce2: 687b ldr r3, [r7, #4] - 8005ce4: 681b ldr r3, [r3, #0] - 8005ce6: 3314 adds r3, #20 - 8005ce8: 677b str r3, [r7, #116] @ 0x74 + 8005fd6: 687b ldr r3, [r7, #4] + 8005fd8: 681b ldr r3, [r3, #0] + 8005fda: 3314 adds r3, #20 + 8005fdc: 677b str r3, [r7, #116] @ 0x74 __ASM volatile ("ldrex %0, %1" : "=r" (result) : "Q" (*addr) ); - 8005cea: 6f7b ldr r3, [r7, #116] @ 0x74 - 8005cec: e853 3f00 ldrex r3, [r3] - 8005cf0: 673b str r3, [r7, #112] @ 0x70 + 8005fde: 6f7b ldr r3, [r7, #116] @ 0x74 + 8005fe0: e853 3f00 ldrex r3, [r3] + 8005fe4: 673b str r3, [r7, #112] @ 0x70 return(result); - 8005cf2: 6f3b ldr r3, [r7, #112] @ 0x70 - 8005cf4: f023 0301 bic.w r3, r3, #1 - 8005cf8: f8c7 30b4 str.w r3, [r7, #180] @ 0xb4 - 8005cfc: 687b ldr r3, [r7, #4] - 8005cfe: 681b ldr r3, [r3, #0] - 8005d00: 3314 adds r3, #20 - 8005d02: f8d7 20b4 ldr.w r2, [r7, #180] @ 0xb4 - 8005d06: f8c7 2080 str.w r2, [r7, #128] @ 0x80 - 8005d0a: 67fb str r3, [r7, #124] @ 0x7c + 8005fe6: 6f3b ldr r3, [r7, #112] @ 0x70 + 8005fe8: f023 0301 bic.w r3, r3, #1 + 8005fec: f8c7 30b4 str.w r3, [r7, #180] @ 0xb4 + 8005ff0: 687b ldr r3, [r7, #4] + 8005ff2: 681b ldr r3, [r3, #0] + 8005ff4: 3314 adds r3, #20 + 8005ff6: f8d7 20b4 ldr.w r2, [r7, #180] @ 0xb4 + 8005ffa: f8c7 2080 str.w r2, [r7, #128] @ 0x80 + 8005ffe: 67fb str r3, [r7, #124] @ 0x7c __ASM volatile ("strex %0, %2, %1" : "=&r" (result), "=Q" (*addr) : "r" (value) ); - 8005d0c: 6ff9 ldr r1, [r7, #124] @ 0x7c - 8005d0e: f8d7 2080 ldr.w r2, [r7, #128] @ 0x80 - 8005d12: e841 2300 strex r3, r2, [r1] - 8005d16: 67bb str r3, [r7, #120] @ 0x78 + 8006000: 6ff9 ldr r1, [r7, #124] @ 0x7c + 8006002: f8d7 2080 ldr.w r2, [r7, #128] @ 0x80 + 8006006: e841 2300 strex r3, r2, [r1] + 800600a: 67bb str r3, [r7, #120] @ 0x78 return(result); - 8005d18: 6fbb ldr r3, [r7, #120] @ 0x78 - 8005d1a: 2b00 cmp r3, #0 - 8005d1c: d1e1 bne.n 8005ce2 + 800600c: 6fbb ldr r3, [r7, #120] @ 0x78 + 800600e: 2b00 cmp r3, #0 + 8006010: d1e1 bne.n 8005fd6 /* Disable the DMA transfer for the receiver request by resetting the DMAR bit in the UART CR3 register */ ATOMIC_CLEAR_BIT(huart->Instance->CR3, USART_CR3_DMAR); - 8005d1e: 687b ldr r3, [r7, #4] - 8005d20: 681b ldr r3, [r3, #0] - 8005d22: 3314 adds r3, #20 - 8005d24: 663b str r3, [r7, #96] @ 0x60 + 8006012: 687b ldr r3, [r7, #4] + 8006014: 681b ldr r3, [r3, #0] + 8006016: 3314 adds r3, #20 + 8006018: 663b str r3, [r7, #96] @ 0x60 __ASM volatile ("ldrex %0, %1" : "=r" (result) : "Q" (*addr) ); - 8005d26: 6e3b ldr r3, [r7, #96] @ 0x60 - 8005d28: e853 3f00 ldrex r3, [r3] - 8005d2c: 65fb str r3, [r7, #92] @ 0x5c + 800601a: 6e3b ldr r3, [r7, #96] @ 0x60 + 800601c: e853 3f00 ldrex r3, [r3] + 8006020: 65fb str r3, [r7, #92] @ 0x5c return(result); - 8005d2e: 6dfb ldr r3, [r7, #92] @ 0x5c - 8005d30: f023 0340 bic.w r3, r3, #64 @ 0x40 - 8005d34: f8c7 30b0 str.w r3, [r7, #176] @ 0xb0 - 8005d38: 687b ldr r3, [r7, #4] - 8005d3a: 681b ldr r3, [r3, #0] - 8005d3c: 3314 adds r3, #20 - 8005d3e: f8d7 20b0 ldr.w r2, [r7, #176] @ 0xb0 - 8005d42: 66fa str r2, [r7, #108] @ 0x6c - 8005d44: 66bb str r3, [r7, #104] @ 0x68 + 8006022: 6dfb ldr r3, [r7, #92] @ 0x5c + 8006024: f023 0340 bic.w r3, r3, #64 @ 0x40 + 8006028: f8c7 30b0 str.w r3, [r7, #176] @ 0xb0 + 800602c: 687b ldr r3, [r7, #4] + 800602e: 681b ldr r3, [r3, #0] + 8006030: 3314 adds r3, #20 + 8006032: f8d7 20b0 ldr.w r2, [r7, #176] @ 0xb0 + 8006036: 66fa str r2, [r7, #108] @ 0x6c + 8006038: 66bb str r3, [r7, #104] @ 0x68 __ASM volatile ("strex %0, %2, %1" : "=&r" (result), "=Q" (*addr) : "r" (value) ); - 8005d46: 6eb9 ldr r1, [r7, #104] @ 0x68 - 8005d48: 6efa ldr r2, [r7, #108] @ 0x6c - 8005d4a: e841 2300 strex r3, r2, [r1] - 8005d4e: 667b str r3, [r7, #100] @ 0x64 + 800603a: 6eb9 ldr r1, [r7, #104] @ 0x68 + 800603c: 6efa ldr r2, [r7, #108] @ 0x6c + 800603e: e841 2300 strex r3, r2, [r1] + 8006042: 667b str r3, [r7, #100] @ 0x64 return(result); - 8005d50: 6e7b ldr r3, [r7, #100] @ 0x64 - 8005d52: 2b00 cmp r3, #0 - 8005d54: d1e3 bne.n 8005d1e + 8006044: 6e7b ldr r3, [r7, #100] @ 0x64 + 8006046: 2b00 cmp r3, #0 + 8006048: d1e3 bne.n 8006012 /* At end of Rx process, restore huart->RxState to Ready */ huart->RxState = HAL_UART_STATE_READY; - 8005d56: 687b ldr r3, [r7, #4] - 8005d58: 2220 movs r2, #32 - 8005d5a: f883 2042 strb.w r2, [r3, #66] @ 0x42 + 800604a: 687b ldr r3, [r7, #4] + 800604c: 2220 movs r2, #32 + 800604e: f883 2042 strb.w r2, [r3, #66] @ 0x42 huart->ReceptionType = HAL_UART_RECEPTION_STANDARD; - 8005d5e: 687b ldr r3, [r7, #4] - 8005d60: 2200 movs r2, #0 - 8005d62: 631a str r2, [r3, #48] @ 0x30 + 8006052: 687b ldr r3, [r7, #4] + 8006054: 2200 movs r2, #0 + 8006056: 631a str r2, [r3, #48] @ 0x30 ATOMIC_CLEAR_BIT(huart->Instance->CR1, USART_CR1_IDLEIE); - 8005d64: 687b ldr r3, [r7, #4] - 8005d66: 681b ldr r3, [r3, #0] - 8005d68: 330c adds r3, #12 - 8005d6a: 64fb str r3, [r7, #76] @ 0x4c + 8006058: 687b ldr r3, [r7, #4] + 800605a: 681b ldr r3, [r3, #0] + 800605c: 330c adds r3, #12 + 800605e: 64fb str r3, [r7, #76] @ 0x4c __ASM volatile ("ldrex %0, %1" : "=r" (result) : "Q" (*addr) ); - 8005d6c: 6cfb ldr r3, [r7, #76] @ 0x4c - 8005d6e: e853 3f00 ldrex r3, [r3] - 8005d72: 64bb str r3, [r7, #72] @ 0x48 + 8006060: 6cfb ldr r3, [r7, #76] @ 0x4c + 8006062: e853 3f00 ldrex r3, [r3] + 8006066: 64bb str r3, [r7, #72] @ 0x48 return(result); - 8005d74: 6cbb ldr r3, [r7, #72] @ 0x48 - 8005d76: f023 0310 bic.w r3, r3, #16 - 8005d7a: f8c7 30ac str.w r3, [r7, #172] @ 0xac - 8005d7e: 687b ldr r3, [r7, #4] - 8005d80: 681b ldr r3, [r3, #0] - 8005d82: 330c adds r3, #12 - 8005d84: f8d7 20ac ldr.w r2, [r7, #172] @ 0xac - 8005d88: 65ba str r2, [r7, #88] @ 0x58 - 8005d8a: 657b str r3, [r7, #84] @ 0x54 + 8006068: 6cbb ldr r3, [r7, #72] @ 0x48 + 800606a: f023 0310 bic.w r3, r3, #16 + 800606e: f8c7 30ac str.w r3, [r7, #172] @ 0xac + 8006072: 687b ldr r3, [r7, #4] + 8006074: 681b ldr r3, [r3, #0] + 8006076: 330c adds r3, #12 + 8006078: f8d7 20ac ldr.w r2, [r7, #172] @ 0xac + 800607c: 65ba str r2, [r7, #88] @ 0x58 + 800607e: 657b str r3, [r7, #84] @ 0x54 __ASM volatile ("strex %0, %2, %1" : "=&r" (result), "=Q" (*addr) : "r" (value) ); - 8005d8c: 6d79 ldr r1, [r7, #84] @ 0x54 - 8005d8e: 6dba ldr r2, [r7, #88] @ 0x58 - 8005d90: e841 2300 strex r3, r2, [r1] - 8005d94: 653b str r3, [r7, #80] @ 0x50 + 8006080: 6d79 ldr r1, [r7, #84] @ 0x54 + 8006082: 6dba ldr r2, [r7, #88] @ 0x58 + 8006084: e841 2300 strex r3, r2, [r1] + 8006088: 653b str r3, [r7, #80] @ 0x50 return(result); - 8005d96: 6d3b ldr r3, [r7, #80] @ 0x50 - 8005d98: 2b00 cmp r3, #0 - 8005d9a: d1e3 bne.n 8005d64 + 800608a: 6d3b ldr r3, [r7, #80] @ 0x50 + 800608c: 2b00 cmp r3, #0 + 800608e: d1e3 bne.n 8006058 /* Last bytes received, so no need as the abort is immediate */ (void)HAL_DMA_Abort(huart->hdmarx); - 8005d9c: 687b ldr r3, [r7, #4] - 8005d9e: 6bdb ldr r3, [r3, #60] @ 0x3c - 8005da0: 4618 mov r0, r3 - 8005da2: f7fb ff91 bl 8001cc8 + 8006090: 687b ldr r3, [r7, #4] + 8006092: 6bdb ldr r3, [r3, #60] @ 0x3c + 8006094: 4618 mov r0, r3 + 8006096: f7fb fedf bl 8001e58 } /* Initialize type of RxEvent that correspond to RxEvent callback execution; In this case, Rx Event type is Idle Event */ huart->RxEventType = HAL_UART_RXEVENT_IDLE; - 8005da6: 687b ldr r3, [r7, #4] - 8005da8: 2202 movs r2, #2 - 8005daa: 635a str r2, [r3, #52] @ 0x34 + 800609a: 687b ldr r3, [r7, #4] + 800609c: 2202 movs r2, #2 + 800609e: 635a str r2, [r3, #52] @ 0x34 #if (USE_HAL_UART_REGISTER_CALLBACKS == 1) /*Call registered Rx Event callback*/ huart->RxEventCallback(huart, (huart->RxXferSize - huart->RxXferCount)); #else /*Call legacy weak Rx Event callback*/ HAL_UARTEx_RxEventCallback(huart, (huart->RxXferSize - huart->RxXferCount)); - 8005dac: 687b ldr r3, [r7, #4] - 8005dae: 8d9a ldrh r2, [r3, #44] @ 0x2c - 8005db0: 687b ldr r3, [r7, #4] - 8005db2: 8ddb ldrh r3, [r3, #46] @ 0x2e - 8005db4: b29b uxth r3, r3 - 8005db6: 1ad3 subs r3, r2, r3 - 8005db8: b29b uxth r3, r3 - 8005dba: 4619 mov r1, r3 - 8005dbc: 6878 ldr r0, [r7, #4] - 8005dbe: f000 f8d9 bl 8005f74 + 80060a0: 687b ldr r3, [r7, #4] + 80060a2: 8d9a ldrh r2, [r3, #44] @ 0x2c + 80060a4: 687b ldr r3, [r7, #4] + 80060a6: 8ddb ldrh r3, [r3, #46] @ 0x2e + 80060a8: b29b uxth r3, r3 + 80060aa: 1ad3 subs r3, r2, r3 + 80060ac: b29b uxth r3, r3 + 80060ae: 4619 mov r1, r3 + 80060b0: 6878 ldr r0, [r7, #4] + 80060b2: f000 f8e3 bl 800627c HAL_UARTEx_RxEventCallback(huart, huart->RxXferSize); #endif /* (USE_HAL_UART_REGISTER_CALLBACKS) */ } } } return; - 8005dc2: e0b3 b.n 8005f2c + 80060b6: e0b3 b.n 8006220 if (nb_remaining_rx_data == huart->RxXferSize) - 8005dc4: 687b ldr r3, [r7, #4] - 8005dc6: 8d9b ldrh r3, [r3, #44] @ 0x2c - 8005dc8: f8b7 20be ldrh.w r2, [r7, #190] @ 0xbe - 8005dcc: 429a cmp r2, r3 - 8005dce: f040 80ad bne.w 8005f2c + 80060b8: 687b ldr r3, [r7, #4] + 80060ba: 8d9b ldrh r3, [r3, #44] @ 0x2c + 80060bc: f8b7 20be ldrh.w r2, [r7, #190] @ 0xbe + 80060c0: 429a cmp r2, r3 + 80060c2: f040 80ad bne.w 8006220 if (huart->hdmarx->Init.Mode == DMA_CIRCULAR) - 8005dd2: 687b ldr r3, [r7, #4] - 8005dd4: 6bdb ldr r3, [r3, #60] @ 0x3c - 8005dd6: 69db ldr r3, [r3, #28] - 8005dd8: f5b3 7f80 cmp.w r3, #256 @ 0x100 - 8005ddc: f040 80a6 bne.w 8005f2c + 80060c6: 687b ldr r3, [r7, #4] + 80060c8: 6bdb ldr r3, [r3, #60] @ 0x3c + 80060ca: 69db ldr r3, [r3, #28] + 80060cc: f5b3 7f80 cmp.w r3, #256 @ 0x100 + 80060d0: f040 80a6 bne.w 8006220 huart->RxEventType = HAL_UART_RXEVENT_IDLE; - 8005de0: 687b ldr r3, [r7, #4] - 8005de2: 2202 movs r2, #2 - 8005de4: 635a str r2, [r3, #52] @ 0x34 + 80060d4: 687b ldr r3, [r7, #4] + 80060d6: 2202 movs r2, #2 + 80060d8: 635a str r2, [r3, #52] @ 0x34 HAL_UARTEx_RxEventCallback(huart, huart->RxXferSize); - 8005de6: 687b ldr r3, [r7, #4] - 8005de8: 8d9b ldrh r3, [r3, #44] @ 0x2c - 8005dea: 4619 mov r1, r3 - 8005dec: 6878 ldr r0, [r7, #4] - 8005dee: f000 f8c1 bl 8005f74 + 80060da: 687b ldr r3, [r7, #4] + 80060dc: 8d9b ldrh r3, [r3, #44] @ 0x2c + 80060de: 4619 mov r1, r3 + 80060e0: 6878 ldr r0, [r7, #4] + 80060e2: f000 f8cb bl 800627c return; - 8005df2: e09b b.n 8005f2c - 8005df4: 080061ed .word 0x080061ed + 80060e6: e09b b.n 8006220 + 80060e8: 0800685b .word 0x0800685b else { /* DMA mode not enabled */ /* Check received length : If all expected data are received, do nothing. Otherwise, if at least one data has already been received, IDLE event is to be notified to user */ uint16_t nb_rx_data = huart->RxXferSize - huart->RxXferCount; - 8005df8: 687b ldr r3, [r7, #4] - 8005dfa: 8d9a ldrh r2, [r3, #44] @ 0x2c - 8005dfc: 687b ldr r3, [r7, #4] - 8005dfe: 8ddb ldrh r3, [r3, #46] @ 0x2e - 8005e00: b29b uxth r3, r3 - 8005e02: 1ad3 subs r3, r2, r3 - 8005e04: f8a7 30ce strh.w r3, [r7, #206] @ 0xce + 80060ec: 687b ldr r3, [r7, #4] + 80060ee: 8d9a ldrh r2, [r3, #44] @ 0x2c + 80060f0: 687b ldr r3, [r7, #4] + 80060f2: 8ddb ldrh r3, [r3, #46] @ 0x2e + 80060f4: b29b uxth r3, r3 + 80060f6: 1ad3 subs r3, r2, r3 + 80060f8: f8a7 30ce strh.w r3, [r7, #206] @ 0xce if ((huart->RxXferCount > 0U) - 8005e08: 687b ldr r3, [r7, #4] - 8005e0a: 8ddb ldrh r3, [r3, #46] @ 0x2e - 8005e0c: b29b uxth r3, r3 - 8005e0e: 2b00 cmp r3, #0 - 8005e10: f000 808e beq.w 8005f30 + 80060fc: 687b ldr r3, [r7, #4] + 80060fe: 8ddb ldrh r3, [r3, #46] @ 0x2e + 8006100: b29b uxth r3, r3 + 8006102: 2b00 cmp r3, #0 + 8006104: f000 808e beq.w 8006224 && (nb_rx_data > 0U)) - 8005e14: f8b7 30ce ldrh.w r3, [r7, #206] @ 0xce - 8005e18: 2b00 cmp r3, #0 - 8005e1a: f000 8089 beq.w 8005f30 + 8006108: f8b7 30ce ldrh.w r3, [r7, #206] @ 0xce + 800610c: 2b00 cmp r3, #0 + 800610e: f000 8089 beq.w 8006224 { /* Disable the UART Parity Error Interrupt and RXNE interrupts */ ATOMIC_CLEAR_BIT(huart->Instance->CR1, (USART_CR1_RXNEIE | USART_CR1_PEIE)); - 8005e1e: 687b ldr r3, [r7, #4] - 8005e20: 681b ldr r3, [r3, #0] - 8005e22: 330c adds r3, #12 - 8005e24: 63bb str r3, [r7, #56] @ 0x38 + 8006112: 687b ldr r3, [r7, #4] + 8006114: 681b ldr r3, [r3, #0] + 8006116: 330c adds r3, #12 + 8006118: 63bb str r3, [r7, #56] @ 0x38 __ASM volatile ("ldrex %0, %1" : "=r" (result) : "Q" (*addr) ); - 8005e26: 6bbb ldr r3, [r7, #56] @ 0x38 - 8005e28: e853 3f00 ldrex r3, [r3] - 8005e2c: 637b str r3, [r7, #52] @ 0x34 + 800611a: 6bbb ldr r3, [r7, #56] @ 0x38 + 800611c: e853 3f00 ldrex r3, [r3] + 8006120: 637b str r3, [r7, #52] @ 0x34 return(result); - 8005e2e: 6b7b ldr r3, [r7, #52] @ 0x34 - 8005e30: f423 7390 bic.w r3, r3, #288 @ 0x120 - 8005e34: f8c7 30c8 str.w r3, [r7, #200] @ 0xc8 - 8005e38: 687b ldr r3, [r7, #4] - 8005e3a: 681b ldr r3, [r3, #0] - 8005e3c: 330c adds r3, #12 - 8005e3e: f8d7 20c8 ldr.w r2, [r7, #200] @ 0xc8 - 8005e42: 647a str r2, [r7, #68] @ 0x44 - 8005e44: 643b str r3, [r7, #64] @ 0x40 + 8006122: 6b7b ldr r3, [r7, #52] @ 0x34 + 8006124: f423 7390 bic.w r3, r3, #288 @ 0x120 + 8006128: f8c7 30c8 str.w r3, [r7, #200] @ 0xc8 + 800612c: 687b ldr r3, [r7, #4] + 800612e: 681b ldr r3, [r3, #0] + 8006130: 330c adds r3, #12 + 8006132: f8d7 20c8 ldr.w r2, [r7, #200] @ 0xc8 + 8006136: 647a str r2, [r7, #68] @ 0x44 + 8006138: 643b str r3, [r7, #64] @ 0x40 __ASM volatile ("strex %0, %2, %1" : "=&r" (result), "=Q" (*addr) : "r" (value) ); - 8005e46: 6c39 ldr r1, [r7, #64] @ 0x40 - 8005e48: 6c7a ldr r2, [r7, #68] @ 0x44 - 8005e4a: e841 2300 strex r3, r2, [r1] - 8005e4e: 63fb str r3, [r7, #60] @ 0x3c + 800613a: 6c39 ldr r1, [r7, #64] @ 0x40 + 800613c: 6c7a ldr r2, [r7, #68] @ 0x44 + 800613e: e841 2300 strex r3, r2, [r1] + 8006142: 63fb str r3, [r7, #60] @ 0x3c return(result); - 8005e50: 6bfb ldr r3, [r7, #60] @ 0x3c - 8005e52: 2b00 cmp r3, #0 - 8005e54: d1e3 bne.n 8005e1e + 8006144: 6bfb ldr r3, [r7, #60] @ 0x3c + 8006146: 2b00 cmp r3, #0 + 8006148: d1e3 bne.n 8006112 /* Disable the UART Error Interrupt: (Frame error, noise error, overrun error) */ ATOMIC_CLEAR_BIT(huart->Instance->CR3, USART_CR3_EIE); - 8005e56: 687b ldr r3, [r7, #4] - 8005e58: 681b ldr r3, [r3, #0] - 8005e5a: 3314 adds r3, #20 - 8005e5c: 627b str r3, [r7, #36] @ 0x24 + 800614a: 687b ldr r3, [r7, #4] + 800614c: 681b ldr r3, [r3, #0] + 800614e: 3314 adds r3, #20 + 8006150: 627b str r3, [r7, #36] @ 0x24 __ASM volatile ("ldrex %0, %1" : "=r" (result) : "Q" (*addr) ); - 8005e5e: 6a7b ldr r3, [r7, #36] @ 0x24 - 8005e60: e853 3f00 ldrex r3, [r3] - 8005e64: 623b str r3, [r7, #32] + 8006152: 6a7b ldr r3, [r7, #36] @ 0x24 + 8006154: e853 3f00 ldrex r3, [r3] + 8006158: 623b str r3, [r7, #32] return(result); - 8005e66: 6a3b ldr r3, [r7, #32] - 8005e68: f023 0301 bic.w r3, r3, #1 - 8005e6c: f8c7 30c4 str.w r3, [r7, #196] @ 0xc4 - 8005e70: 687b ldr r3, [r7, #4] - 8005e72: 681b ldr r3, [r3, #0] - 8005e74: 3314 adds r3, #20 - 8005e76: f8d7 20c4 ldr.w r2, [r7, #196] @ 0xc4 - 8005e7a: 633a str r2, [r7, #48] @ 0x30 - 8005e7c: 62fb str r3, [r7, #44] @ 0x2c + 800615a: 6a3b ldr r3, [r7, #32] + 800615c: f023 0301 bic.w r3, r3, #1 + 8006160: f8c7 30c4 str.w r3, [r7, #196] @ 0xc4 + 8006164: 687b ldr r3, [r7, #4] + 8006166: 681b ldr r3, [r3, #0] + 8006168: 3314 adds r3, #20 + 800616a: f8d7 20c4 ldr.w r2, [r7, #196] @ 0xc4 + 800616e: 633a str r2, [r7, #48] @ 0x30 + 8006170: 62fb str r3, [r7, #44] @ 0x2c __ASM volatile ("strex %0, %2, %1" : "=&r" (result), "=Q" (*addr) : "r" (value) ); - 8005e7e: 6af9 ldr r1, [r7, #44] @ 0x2c - 8005e80: 6b3a ldr r2, [r7, #48] @ 0x30 - 8005e82: e841 2300 strex r3, r2, [r1] - 8005e86: 62bb str r3, [r7, #40] @ 0x28 + 8006172: 6af9 ldr r1, [r7, #44] @ 0x2c + 8006174: 6b3a ldr r2, [r7, #48] @ 0x30 + 8006176: e841 2300 strex r3, r2, [r1] + 800617a: 62bb str r3, [r7, #40] @ 0x28 return(result); - 8005e88: 6abb ldr r3, [r7, #40] @ 0x28 - 8005e8a: 2b00 cmp r3, #0 - 8005e8c: d1e3 bne.n 8005e56 + 800617c: 6abb ldr r3, [r7, #40] @ 0x28 + 800617e: 2b00 cmp r3, #0 + 8006180: d1e3 bne.n 800614a /* Rx process is completed, restore huart->RxState to Ready */ huart->RxState = HAL_UART_STATE_READY; - 8005e8e: 687b ldr r3, [r7, #4] - 8005e90: 2220 movs r2, #32 - 8005e92: f883 2042 strb.w r2, [r3, #66] @ 0x42 + 8006182: 687b ldr r3, [r7, #4] + 8006184: 2220 movs r2, #32 + 8006186: f883 2042 strb.w r2, [r3, #66] @ 0x42 huart->ReceptionType = HAL_UART_RECEPTION_STANDARD; - 8005e96: 687b ldr r3, [r7, #4] - 8005e98: 2200 movs r2, #0 - 8005e9a: 631a str r2, [r3, #48] @ 0x30 + 800618a: 687b ldr r3, [r7, #4] + 800618c: 2200 movs r2, #0 + 800618e: 631a str r2, [r3, #48] @ 0x30 ATOMIC_CLEAR_BIT(huart->Instance->CR1, USART_CR1_IDLEIE); - 8005e9c: 687b ldr r3, [r7, #4] - 8005e9e: 681b ldr r3, [r3, #0] - 8005ea0: 330c adds r3, #12 - 8005ea2: 613b str r3, [r7, #16] + 8006190: 687b ldr r3, [r7, #4] + 8006192: 681b ldr r3, [r3, #0] + 8006194: 330c adds r3, #12 + 8006196: 613b str r3, [r7, #16] __ASM volatile ("ldrex %0, %1" : "=r" (result) : "Q" (*addr) ); - 8005ea4: 693b ldr r3, [r7, #16] - 8005ea6: e853 3f00 ldrex r3, [r3] - 8005eaa: 60fb str r3, [r7, #12] + 8006198: 693b ldr r3, [r7, #16] + 800619a: e853 3f00 ldrex r3, [r3] + 800619e: 60fb str r3, [r7, #12] return(result); - 8005eac: 68fb ldr r3, [r7, #12] - 8005eae: f023 0310 bic.w r3, r3, #16 - 8005eb2: f8c7 30c0 str.w r3, [r7, #192] @ 0xc0 - 8005eb6: 687b ldr r3, [r7, #4] - 8005eb8: 681b ldr r3, [r3, #0] - 8005eba: 330c adds r3, #12 - 8005ebc: f8d7 20c0 ldr.w r2, [r7, #192] @ 0xc0 - 8005ec0: 61fa str r2, [r7, #28] - 8005ec2: 61bb str r3, [r7, #24] + 80061a0: 68fb ldr r3, [r7, #12] + 80061a2: f023 0310 bic.w r3, r3, #16 + 80061a6: f8c7 30c0 str.w r3, [r7, #192] @ 0xc0 + 80061aa: 687b ldr r3, [r7, #4] + 80061ac: 681b ldr r3, [r3, #0] + 80061ae: 330c adds r3, #12 + 80061b0: f8d7 20c0 ldr.w r2, [r7, #192] @ 0xc0 + 80061b4: 61fa str r2, [r7, #28] + 80061b6: 61bb str r3, [r7, #24] __ASM volatile ("strex %0, %2, %1" : "=&r" (result), "=Q" (*addr) : "r" (value) ); - 8005ec4: 69b9 ldr r1, [r7, #24] - 8005ec6: 69fa ldr r2, [r7, #28] - 8005ec8: e841 2300 strex r3, r2, [r1] - 8005ecc: 617b str r3, [r7, #20] + 80061b8: 69b9 ldr r1, [r7, #24] + 80061ba: 69fa ldr r2, [r7, #28] + 80061bc: e841 2300 strex r3, r2, [r1] + 80061c0: 617b str r3, [r7, #20] return(result); - 8005ece: 697b ldr r3, [r7, #20] - 8005ed0: 2b00 cmp r3, #0 - 8005ed2: d1e3 bne.n 8005e9c + 80061c2: 697b ldr r3, [r7, #20] + 80061c4: 2b00 cmp r3, #0 + 80061c6: d1e3 bne.n 8006190 /* Initialize type of RxEvent that correspond to RxEvent callback execution; In this case, Rx Event type is Idle Event */ huart->RxEventType = HAL_UART_RXEVENT_IDLE; - 8005ed4: 687b ldr r3, [r7, #4] - 8005ed6: 2202 movs r2, #2 - 8005ed8: 635a str r2, [r3, #52] @ 0x34 + 80061c8: 687b ldr r3, [r7, #4] + 80061ca: 2202 movs r2, #2 + 80061cc: 635a str r2, [r3, #52] @ 0x34 #if (USE_HAL_UART_REGISTER_CALLBACKS == 1) /*Call registered Rx complete callback*/ huart->RxEventCallback(huart, nb_rx_data); #else /*Call legacy weak Rx Event callback*/ HAL_UARTEx_RxEventCallback(huart, nb_rx_data); - 8005eda: f8b7 30ce ldrh.w r3, [r7, #206] @ 0xce - 8005ede: 4619 mov r1, r3 - 8005ee0: 6878 ldr r0, [r7, #4] - 8005ee2: f000 f847 bl 8005f74 + 80061ce: f8b7 30ce ldrh.w r3, [r7, #206] @ 0xce + 80061d2: 4619 mov r1, r3 + 80061d4: 6878 ldr r0, [r7, #4] + 80061d6: f000 f851 bl 800627c #endif /* USE_HAL_UART_REGISTER_CALLBACKS */ } return; - 8005ee6: e023 b.n 8005f30 + 80061da: e023 b.n 8006224 } } /* UART in mode Transmitter ------------------------------------------------*/ if (((isrflags & USART_SR_TXE) != RESET) && ((cr1its & USART_CR1_TXEIE) != RESET)) - 8005ee8: f8d7 30e4 ldr.w r3, [r7, #228] @ 0xe4 - 8005eec: f003 0380 and.w r3, r3, #128 @ 0x80 - 8005ef0: 2b00 cmp r3, #0 - 8005ef2: d009 beq.n 8005f08 - 8005ef4: f8d7 30e0 ldr.w r3, [r7, #224] @ 0xe0 - 8005ef8: f003 0380 and.w r3, r3, #128 @ 0x80 - 8005efc: 2b00 cmp r3, #0 - 8005efe: d003 beq.n 8005f08 + 80061dc: f8d7 30e4 ldr.w r3, [r7, #228] @ 0xe4 + 80061e0: f003 0380 and.w r3, r3, #128 @ 0x80 + 80061e4: 2b00 cmp r3, #0 + 80061e6: d009 beq.n 80061fc + 80061e8: f8d7 30e0 ldr.w r3, [r7, #224] @ 0xe0 + 80061ec: f003 0380 and.w r3, r3, #128 @ 0x80 + 80061f0: 2b00 cmp r3, #0 + 80061f2: d003 beq.n 80061fc { UART_Transmit_IT(huart); - 8005f00: 6878 ldr r0, [r7, #4] - 8005f02: f000 f984 bl 800620e + 80061f4: 6878 ldr r0, [r7, #4] + 80061f6: f000 fb41 bl 800687c return; - 8005f06: e014 b.n 8005f32 + 80061fa: e014 b.n 8006226 } /* UART in mode Transmitter end --------------------------------------------*/ if (((isrflags & USART_SR_TC) != RESET) && ((cr1its & USART_CR1_TCIE) != RESET)) - 8005f08: f8d7 30e4 ldr.w r3, [r7, #228] @ 0xe4 - 8005f0c: f003 0340 and.w r3, r3, #64 @ 0x40 - 8005f10: 2b00 cmp r3, #0 - 8005f12: d00e beq.n 8005f32 - 8005f14: f8d7 30e0 ldr.w r3, [r7, #224] @ 0xe0 - 8005f18: f003 0340 and.w r3, r3, #64 @ 0x40 - 8005f1c: 2b00 cmp r3, #0 - 8005f1e: d008 beq.n 8005f32 + 80061fc: f8d7 30e4 ldr.w r3, [r7, #228] @ 0xe4 + 8006200: f003 0340 and.w r3, r3, #64 @ 0x40 + 8006204: 2b00 cmp r3, #0 + 8006206: d00e beq.n 8006226 + 8006208: f8d7 30e0 ldr.w r3, [r7, #224] @ 0xe0 + 800620c: f003 0340 and.w r3, r3, #64 @ 0x40 + 8006210: 2b00 cmp r3, #0 + 8006212: d008 beq.n 8006226 { UART_EndTransmit_IT(huart); - 8005f20: 6878 ldr r0, [r7, #4] - 8005f22: f000 f9c4 bl 80062ae + 8006214: 6878 ldr r0, [r7, #4] + 8006216: f000 fb81 bl 800691c return; - 8005f26: e004 b.n 8005f32 + 800621a: e004 b.n 8006226 return; - 8005f28: bf00 nop - 8005f2a: e002 b.n 8005f32 + 800621c: bf00 nop + 800621e: e002 b.n 8006226 return; - 8005f2c: bf00 nop - 8005f2e: e000 b.n 8005f32 + 8006220: bf00 nop + 8006222: e000 b.n 8006226 return; - 8005f30: bf00 nop + 8006224: bf00 nop } } - 8005f32: 37e8 adds r7, #232 @ 0xe8 - 8005f34: 46bd mov sp, r7 - 8005f36: bd80 pop {r7, pc} + 8006226: 37e8 adds r7, #232 @ 0xe8 + 8006228: 46bd mov sp, r7 + 800622a: bd80 pop {r7, pc} -08005f38 : +0800622c : * @param huart Pointer to a UART_HandleTypeDef structure that contains * the configuration information for the specified UART module. * @retval None */ __weak void HAL_UART_TxCpltCallback(UART_HandleTypeDef *huart) { - 8005f38: b480 push {r7} - 8005f3a: b083 sub sp, #12 - 8005f3c: af00 add r7, sp, #0 - 8005f3e: 6078 str r0, [r7, #4] + 800622c: b480 push {r7} + 800622e: b083 sub sp, #12 + 8006230: af00 add r7, sp, #0 + 8006232: 6078 str r0, [r7, #4] /* Prevent unused argument(s) compilation warning */ UNUSED(huart); /* NOTE: This function should not be modified, when the callback is needed, the HAL_UART_TxCpltCallback could be implemented in the user file */ } - 8005f40: bf00 nop - 8005f42: 370c adds r7, #12 - 8005f44: 46bd mov sp, r7 - 8005f46: f85d 7b04 ldr.w r7, [sp], #4 - 8005f4a: 4770 bx lr + 8006234: bf00 nop + 8006236: 370c adds r7, #12 + 8006238: 46bd mov sp, r7 + 800623a: f85d 7b04 ldr.w r7, [sp], #4 + 800623e: 4770 bx lr -08005f4c : +08006240 : * @param huart Pointer to a UART_HandleTypeDef structure that contains * the configuration information for the specified UART module. * @retval None */ __weak void HAL_UART_TxHalfCpltCallback(UART_HandleTypeDef *huart) { - 8005f4c: b480 push {r7} - 8005f4e: b083 sub sp, #12 - 8005f50: af00 add r7, sp, #0 - 8005f52: 6078 str r0, [r7, #4] + 8006240: b480 push {r7} + 8006242: b083 sub sp, #12 + 8006244: af00 add r7, sp, #0 + 8006246: 6078 str r0, [r7, #4] /* Prevent unused argument(s) compilation warning */ UNUSED(huart); /* NOTE: This function should not be modified, when the callback is needed, the HAL_UART_TxHalfCpltCallback could be implemented in the user file */ } - 8005f54: bf00 nop - 8005f56: 370c adds r7, #12 - 8005f58: 46bd mov sp, r7 - 8005f5a: f85d 7b04 ldr.w r7, [sp], #4 - 8005f5e: 4770 bx lr + 8006248: bf00 nop + 800624a: 370c adds r7, #12 + 800624c: 46bd mov sp, r7 + 800624e: f85d 7b04 ldr.w r7, [sp], #4 + 8006252: 4770 bx lr -08005f60 : +08006254 : + * @param huart Pointer to a UART_HandleTypeDef structure that contains + * the configuration information for the specified UART module. + * @retval None + */ +__weak void HAL_UART_RxHalfCpltCallback(UART_HandleTypeDef *huart) +{ + 8006254: b480 push {r7} + 8006256: b083 sub sp, #12 + 8006258: af00 add r7, sp, #0 + 800625a: 6078 str r0, [r7, #4] + /* Prevent unused argument(s) compilation warning */ + UNUSED(huart); + /* NOTE: This function should not be modified, when the callback is needed, + the HAL_UART_RxHalfCpltCallback could be implemented in the user file + */ +} + 800625c: bf00 nop + 800625e: 370c adds r7, #12 + 8006260: 46bd mov sp, r7 + 8006262: f85d 7b04 ldr.w r7, [sp], #4 + 8006266: 4770 bx lr + +08006268 : * @param huart Pointer to a UART_HandleTypeDef structure that contains * the configuration information for the specified UART module. * @retval None */ __weak void HAL_UART_ErrorCallback(UART_HandleTypeDef *huart) { - 8005f60: b480 push {r7} - 8005f62: b083 sub sp, #12 - 8005f64: af00 add r7, sp, #0 - 8005f66: 6078 str r0, [r7, #4] + 8006268: b480 push {r7} + 800626a: b083 sub sp, #12 + 800626c: af00 add r7, sp, #0 + 800626e: 6078 str r0, [r7, #4] /* Prevent unused argument(s) compilation warning */ UNUSED(huart); /* NOTE: This function should not be modified, when the callback is needed, the HAL_UART_ErrorCallback could be implemented in the user file */ } - 8005f68: bf00 nop - 8005f6a: 370c adds r7, #12 - 8005f6c: 46bd mov sp, r7 - 8005f6e: f85d 7b04 ldr.w r7, [sp], #4 - 8005f72: 4770 bx lr + 8006270: bf00 nop + 8006272: 370c adds r7, #12 + 8006274: 46bd mov sp, r7 + 8006276: f85d 7b04 ldr.w r7, [sp], #4 + 800627a: 4770 bx lr -08005f74 : +0800627c : * @param Size Number of data available in application reception buffer (indicates a position in * reception buffer until which, data are available) * @retval None */ __weak void HAL_UARTEx_RxEventCallback(UART_HandleTypeDef *huart, uint16_t Size) { - 8005f74: b480 push {r7} - 8005f76: b083 sub sp, #12 - 8005f78: af00 add r7, sp, #0 - 8005f7a: 6078 str r0, [r7, #4] - 8005f7c: 460b mov r3, r1 - 8005f7e: 807b strh r3, [r7, #2] + 800627c: b480 push {r7} + 800627e: b083 sub sp, #12 + 8006280: af00 add r7, sp, #0 + 8006282: 6078 str r0, [r7, #4] + 8006284: 460b mov r3, r1 + 8006286: 807b strh r3, [r7, #2] UNUSED(Size); /* NOTE : This function should not be modified, when the callback is needed, the HAL_UARTEx_RxEventCallback can be implemented in the user file. */ } - 8005f80: bf00 nop - 8005f82: 370c adds r7, #12 - 8005f84: 46bd mov sp, r7 - 8005f86: f85d 7b04 ldr.w r7, [sp], #4 - 8005f8a: 4770 bx lr + 8006288: bf00 nop + 800628a: 370c adds r7, #12 + 800628c: 46bd mov sp, r7 + 800628e: f85d 7b04 ldr.w r7, [sp], #4 + 8006292: 4770 bx lr -08005f8c : +08006294 : * @param hdma Pointer to a DMA_HandleTypeDef structure that contains * the configuration information for the specified DMA module. * @retval None */ static void UART_DMATransmitCplt(DMA_HandleTypeDef *hdma) { - 8005f8c: b580 push {r7, lr} - 8005f8e: b090 sub sp, #64 @ 0x40 - 8005f90: af00 add r7, sp, #0 - 8005f92: 6078 str r0, [r7, #4] + 8006294: b580 push {r7, lr} + 8006296: b090 sub sp, #64 @ 0x40 + 8006298: af00 add r7, sp, #0 + 800629a: 6078 str r0, [r7, #4] UART_HandleTypeDef *huart = (UART_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; - 8005f94: 687b ldr r3, [r7, #4] - 8005f96: 6b9b ldr r3, [r3, #56] @ 0x38 - 8005f98: 63fb str r3, [r7, #60] @ 0x3c + 800629c: 687b ldr r3, [r7, #4] + 800629e: 6b9b ldr r3, [r3, #56] @ 0x38 + 80062a0: 63fb str r3, [r7, #60] @ 0x3c /* DMA Normal mode*/ if ((hdma->Instance->CR & DMA_SxCR_CIRC) == 0U) - 8005f9a: 687b ldr r3, [r7, #4] - 8005f9c: 681b ldr r3, [r3, #0] - 8005f9e: 681b ldr r3, [r3, #0] - 8005fa0: f403 7380 and.w r3, r3, #256 @ 0x100 - 8005fa4: 2b00 cmp r3, #0 - 8005fa6: d137 bne.n 8006018 + 80062a2: 687b ldr r3, [r7, #4] + 80062a4: 681b ldr r3, [r3, #0] + 80062a6: 681b ldr r3, [r3, #0] + 80062a8: f403 7380 and.w r3, r3, #256 @ 0x100 + 80062ac: 2b00 cmp r3, #0 + 80062ae: d137 bne.n 8006320 { huart->TxXferCount = 0x00U; - 8005fa8: 6bfb ldr r3, [r7, #60] @ 0x3c - 8005faa: 2200 movs r2, #0 - 8005fac: 84da strh r2, [r3, #38] @ 0x26 + 80062b0: 6bfb ldr r3, [r7, #60] @ 0x3c + 80062b2: 2200 movs r2, #0 + 80062b4: 84da strh r2, [r3, #38] @ 0x26 /* Disable the DMA transfer for transmit request by setting the DMAT bit in the UART CR3 register */ ATOMIC_CLEAR_BIT(huart->Instance->CR3, USART_CR3_DMAT); - 8005fae: 6bfb ldr r3, [r7, #60] @ 0x3c - 8005fb0: 681b ldr r3, [r3, #0] - 8005fb2: 3314 adds r3, #20 - 8005fb4: 627b str r3, [r7, #36] @ 0x24 + 80062b6: 6bfb ldr r3, [r7, #60] @ 0x3c + 80062b8: 681b ldr r3, [r3, #0] + 80062ba: 3314 adds r3, #20 + 80062bc: 627b str r3, [r7, #36] @ 0x24 __ASM volatile ("ldrex %0, %1" : "=r" (result) : "Q" (*addr) ); - 8005fb6: 6a7b ldr r3, [r7, #36] @ 0x24 - 8005fb8: e853 3f00 ldrex r3, [r3] - 8005fbc: 623b str r3, [r7, #32] + 80062be: 6a7b ldr r3, [r7, #36] @ 0x24 + 80062c0: e853 3f00 ldrex r3, [r3] + 80062c4: 623b str r3, [r7, #32] return(result); - 8005fbe: 6a3b ldr r3, [r7, #32] - 8005fc0: f023 0380 bic.w r3, r3, #128 @ 0x80 - 8005fc4: 63bb str r3, [r7, #56] @ 0x38 - 8005fc6: 6bfb ldr r3, [r7, #60] @ 0x3c - 8005fc8: 681b ldr r3, [r3, #0] - 8005fca: 3314 adds r3, #20 - 8005fcc: 6bba ldr r2, [r7, #56] @ 0x38 - 8005fce: 633a str r2, [r7, #48] @ 0x30 - 8005fd0: 62fb str r3, [r7, #44] @ 0x2c + 80062c6: 6a3b ldr r3, [r7, #32] + 80062c8: f023 0380 bic.w r3, r3, #128 @ 0x80 + 80062cc: 63bb str r3, [r7, #56] @ 0x38 + 80062ce: 6bfb ldr r3, [r7, #60] @ 0x3c + 80062d0: 681b ldr r3, [r3, #0] + 80062d2: 3314 adds r3, #20 + 80062d4: 6bba ldr r2, [r7, #56] @ 0x38 + 80062d6: 633a str r2, [r7, #48] @ 0x30 + 80062d8: 62fb str r3, [r7, #44] @ 0x2c __ASM volatile ("strex %0, %2, %1" : "=&r" (result), "=Q" (*addr) : "r" (value) ); - 8005fd2: 6af9 ldr r1, [r7, #44] @ 0x2c - 8005fd4: 6b3a ldr r2, [r7, #48] @ 0x30 - 8005fd6: e841 2300 strex r3, r2, [r1] - 8005fda: 62bb str r3, [r7, #40] @ 0x28 + 80062da: 6af9 ldr r1, [r7, #44] @ 0x2c + 80062dc: 6b3a ldr r2, [r7, #48] @ 0x30 + 80062de: e841 2300 strex r3, r2, [r1] + 80062e2: 62bb str r3, [r7, #40] @ 0x28 return(result); - 8005fdc: 6abb ldr r3, [r7, #40] @ 0x28 - 8005fde: 2b00 cmp r3, #0 - 8005fe0: d1e5 bne.n 8005fae + 80062e4: 6abb ldr r3, [r7, #40] @ 0x28 + 80062e6: 2b00 cmp r3, #0 + 80062e8: d1e5 bne.n 80062b6 /* Enable the UART Transmit Complete Interrupt */ ATOMIC_SET_BIT(huart->Instance->CR1, USART_CR1_TCIE); - 8005fe2: 6bfb ldr r3, [r7, #60] @ 0x3c - 8005fe4: 681b ldr r3, [r3, #0] - 8005fe6: 330c adds r3, #12 - 8005fe8: 613b str r3, [r7, #16] + 80062ea: 6bfb ldr r3, [r7, #60] @ 0x3c + 80062ec: 681b ldr r3, [r3, #0] + 80062ee: 330c adds r3, #12 + 80062f0: 613b str r3, [r7, #16] __ASM volatile ("ldrex %0, %1" : "=r" (result) : "Q" (*addr) ); - 8005fea: 693b ldr r3, [r7, #16] - 8005fec: e853 3f00 ldrex r3, [r3] - 8005ff0: 60fb str r3, [r7, #12] + 80062f2: 693b ldr r3, [r7, #16] + 80062f4: e853 3f00 ldrex r3, [r3] + 80062f8: 60fb str r3, [r7, #12] return(result); - 8005ff2: 68fb ldr r3, [r7, #12] - 8005ff4: f043 0340 orr.w r3, r3, #64 @ 0x40 - 8005ff8: 637b str r3, [r7, #52] @ 0x34 - 8005ffa: 6bfb ldr r3, [r7, #60] @ 0x3c - 8005ffc: 681b ldr r3, [r3, #0] - 8005ffe: 330c adds r3, #12 - 8006000: 6b7a ldr r2, [r7, #52] @ 0x34 - 8006002: 61fa str r2, [r7, #28] - 8006004: 61bb str r3, [r7, #24] + 80062fa: 68fb ldr r3, [r7, #12] + 80062fc: f043 0340 orr.w r3, r3, #64 @ 0x40 + 8006300: 637b str r3, [r7, #52] @ 0x34 + 8006302: 6bfb ldr r3, [r7, #60] @ 0x3c + 8006304: 681b ldr r3, [r3, #0] + 8006306: 330c adds r3, #12 + 8006308: 6b7a ldr r2, [r7, #52] @ 0x34 + 800630a: 61fa str r2, [r7, #28] + 800630c: 61bb str r3, [r7, #24] __ASM volatile ("strex %0, %2, %1" : "=&r" (result), "=Q" (*addr) : "r" (value) ); - 8006006: 69b9 ldr r1, [r7, #24] - 8006008: 69fa ldr r2, [r7, #28] - 800600a: e841 2300 strex r3, r2, [r1] - 800600e: 617b str r3, [r7, #20] + 800630e: 69b9 ldr r1, [r7, #24] + 8006310: 69fa ldr r2, [r7, #28] + 8006312: e841 2300 strex r3, r2, [r1] + 8006316: 617b str r3, [r7, #20] return(result); - 8006010: 697b ldr r3, [r7, #20] - 8006012: 2b00 cmp r3, #0 - 8006014: d1e5 bne.n 8005fe2 + 8006318: 697b ldr r3, [r7, #20] + 800631a: 2b00 cmp r3, #0 + 800631c: d1e5 bne.n 80062ea #else /*Call legacy weak Tx complete callback*/ HAL_UART_TxCpltCallback(huart); #endif /* USE_HAL_UART_REGISTER_CALLBACKS */ } } - 8006016: e002 b.n 800601e + 800631e: e002 b.n 8006326 HAL_UART_TxCpltCallback(huart); - 8006018: 6bf8 ldr r0, [r7, #60] @ 0x3c - 800601a: f7ff ff8d bl 8005f38 + 8006320: 6bf8 ldr r0, [r7, #60] @ 0x3c + 8006322: f7ff ff83 bl 800622c } - 800601e: bf00 nop - 8006020: 3740 adds r7, #64 @ 0x40 - 8006022: 46bd mov sp, r7 - 8006024: bd80 pop {r7, pc} + 8006326: bf00 nop + 8006328: 3740 adds r7, #64 @ 0x40 + 800632a: 46bd mov sp, r7 + 800632c: bd80 pop {r7, pc} -08006026 : +0800632e : * @param hdma Pointer to a DMA_HandleTypeDef structure that contains * the configuration information for the specified DMA module. * @retval None */ static void UART_DMATxHalfCplt(DMA_HandleTypeDef *hdma) { - 8006026: b580 push {r7, lr} - 8006028: b084 sub sp, #16 - 800602a: af00 add r7, sp, #0 - 800602c: 6078 str r0, [r7, #4] + 800632e: b580 push {r7, lr} + 8006330: b084 sub sp, #16 + 8006332: af00 add r7, sp, #0 + 8006334: 6078 str r0, [r7, #4] UART_HandleTypeDef *huart = (UART_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; - 800602e: 687b ldr r3, [r7, #4] - 8006030: 6b9b ldr r3, [r3, #56] @ 0x38 - 8006032: 60fb str r3, [r7, #12] + 8006336: 687b ldr r3, [r7, #4] + 8006338: 6b9b ldr r3, [r3, #56] @ 0x38 + 800633a: 60fb str r3, [r7, #12] #if (USE_HAL_UART_REGISTER_CALLBACKS == 1) /*Call registered Tx complete callback*/ huart->TxHalfCpltCallback(huart); #else /*Call legacy weak Tx complete callback*/ HAL_UART_TxHalfCpltCallback(huart); - 8006034: 68f8 ldr r0, [r7, #12] - 8006036: f7ff ff89 bl 8005f4c + 800633c: 68f8 ldr r0, [r7, #12] + 800633e: f7ff ff7f bl 8006240 #endif /* USE_HAL_UART_REGISTER_CALLBACKS */ } - 800603a: bf00 nop - 800603c: 3710 adds r7, #16 - 800603e: 46bd mov sp, r7 - 8006040: bd80 pop {r7, pc} + 8006342: bf00 nop + 8006344: 3710 adds r7, #16 + 8006346: 46bd mov sp, r7 + 8006348: bd80 pop {r7, pc} -08006042 : +0800634a : + * @param hdma Pointer to a DMA_HandleTypeDef structure that contains + * the configuration information for the specified DMA module. + * @retval None + */ +static void UART_DMAReceiveCplt(DMA_HandleTypeDef *hdma) +{ + 800634a: b580 push {r7, lr} + 800634c: b09c sub sp, #112 @ 0x70 + 800634e: af00 add r7, sp, #0 + 8006350: 6078 str r0, [r7, #4] + UART_HandleTypeDef *huart = (UART_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; + 8006352: 687b ldr r3, [r7, #4] + 8006354: 6b9b ldr r3, [r3, #56] @ 0x38 + 8006356: 66fb str r3, [r7, #108] @ 0x6c + + /* DMA Normal mode*/ + if ((hdma->Instance->CR & DMA_SxCR_CIRC) == 0U) + 8006358: 687b ldr r3, [r7, #4] + 800635a: 681b ldr r3, [r3, #0] + 800635c: 681b ldr r3, [r3, #0] + 800635e: f403 7380 and.w r3, r3, #256 @ 0x100 + 8006362: 2b00 cmp r3, #0 + 8006364: d172 bne.n 800644c + { + huart->RxXferCount = 0U; + 8006366: 6efb ldr r3, [r7, #108] @ 0x6c + 8006368: 2200 movs r2, #0 + 800636a: 85da strh r2, [r3, #46] @ 0x2e + + /* Disable RXNE, PE and ERR (Frame error, noise error, overrun error) interrupts */ + ATOMIC_CLEAR_BIT(huart->Instance->CR1, USART_CR1_PEIE); + 800636c: 6efb ldr r3, [r7, #108] @ 0x6c + 800636e: 681b ldr r3, [r3, #0] + 8006370: 330c adds r3, #12 + 8006372: 64fb str r3, [r7, #76] @ 0x4c + __ASM volatile ("ldrex %0, %1" : "=r" (result) : "Q" (*addr) ); + 8006374: 6cfb ldr r3, [r7, #76] @ 0x4c + 8006376: e853 3f00 ldrex r3, [r3] + 800637a: 64bb str r3, [r7, #72] @ 0x48 + return(result); + 800637c: 6cbb ldr r3, [r7, #72] @ 0x48 + 800637e: f423 7380 bic.w r3, r3, #256 @ 0x100 + 8006382: 66bb str r3, [r7, #104] @ 0x68 + 8006384: 6efb ldr r3, [r7, #108] @ 0x6c + 8006386: 681b ldr r3, [r3, #0] + 8006388: 330c adds r3, #12 + 800638a: 6eba ldr r2, [r7, #104] @ 0x68 + 800638c: 65ba str r2, [r7, #88] @ 0x58 + 800638e: 657b str r3, [r7, #84] @ 0x54 + __ASM volatile ("strex %0, %2, %1" : "=&r" (result), "=Q" (*addr) : "r" (value) ); + 8006390: 6d79 ldr r1, [r7, #84] @ 0x54 + 8006392: 6dba ldr r2, [r7, #88] @ 0x58 + 8006394: e841 2300 strex r3, r2, [r1] + 8006398: 653b str r3, [r7, #80] @ 0x50 + return(result); + 800639a: 6d3b ldr r3, [r7, #80] @ 0x50 + 800639c: 2b00 cmp r3, #0 + 800639e: d1e5 bne.n 800636c + ATOMIC_CLEAR_BIT(huart->Instance->CR3, USART_CR3_EIE); + 80063a0: 6efb ldr r3, [r7, #108] @ 0x6c + 80063a2: 681b ldr r3, [r3, #0] + 80063a4: 3314 adds r3, #20 + 80063a6: 63bb str r3, [r7, #56] @ 0x38 + __ASM volatile ("ldrex %0, %1" : "=r" (result) : "Q" (*addr) ); + 80063a8: 6bbb ldr r3, [r7, #56] @ 0x38 + 80063aa: e853 3f00 ldrex r3, [r3] + 80063ae: 637b str r3, [r7, #52] @ 0x34 + return(result); + 80063b0: 6b7b ldr r3, [r7, #52] @ 0x34 + 80063b2: f023 0301 bic.w r3, r3, #1 + 80063b6: 667b str r3, [r7, #100] @ 0x64 + 80063b8: 6efb ldr r3, [r7, #108] @ 0x6c + 80063ba: 681b ldr r3, [r3, #0] + 80063bc: 3314 adds r3, #20 + 80063be: 6e7a ldr r2, [r7, #100] @ 0x64 + 80063c0: 647a str r2, [r7, #68] @ 0x44 + 80063c2: 643b str r3, [r7, #64] @ 0x40 + __ASM volatile ("strex %0, %2, %1" : "=&r" (result), "=Q" (*addr) : "r" (value) ); + 80063c4: 6c39 ldr r1, [r7, #64] @ 0x40 + 80063c6: 6c7a ldr r2, [r7, #68] @ 0x44 + 80063c8: e841 2300 strex r3, r2, [r1] + 80063cc: 63fb str r3, [r7, #60] @ 0x3c + return(result); + 80063ce: 6bfb ldr r3, [r7, #60] @ 0x3c + 80063d0: 2b00 cmp r3, #0 + 80063d2: d1e5 bne.n 80063a0 + + /* Disable the DMA transfer for the receiver request by setting the DMAR bit + in the UART CR3 register */ + ATOMIC_CLEAR_BIT(huart->Instance->CR3, USART_CR3_DMAR); + 80063d4: 6efb ldr r3, [r7, #108] @ 0x6c + 80063d6: 681b ldr r3, [r3, #0] + 80063d8: 3314 adds r3, #20 + 80063da: 627b str r3, [r7, #36] @ 0x24 + __ASM volatile ("ldrex %0, %1" : "=r" (result) : "Q" (*addr) ); + 80063dc: 6a7b ldr r3, [r7, #36] @ 0x24 + 80063de: e853 3f00 ldrex r3, [r3] + 80063e2: 623b str r3, [r7, #32] + return(result); + 80063e4: 6a3b ldr r3, [r7, #32] + 80063e6: f023 0340 bic.w r3, r3, #64 @ 0x40 + 80063ea: 663b str r3, [r7, #96] @ 0x60 + 80063ec: 6efb ldr r3, [r7, #108] @ 0x6c + 80063ee: 681b ldr r3, [r3, #0] + 80063f0: 3314 adds r3, #20 + 80063f2: 6e3a ldr r2, [r7, #96] @ 0x60 + 80063f4: 633a str r2, [r7, #48] @ 0x30 + 80063f6: 62fb str r3, [r7, #44] @ 0x2c + __ASM volatile ("strex %0, %2, %1" : "=&r" (result), "=Q" (*addr) : "r" (value) ); + 80063f8: 6af9 ldr r1, [r7, #44] @ 0x2c + 80063fa: 6b3a ldr r2, [r7, #48] @ 0x30 + 80063fc: e841 2300 strex r3, r2, [r1] + 8006400: 62bb str r3, [r7, #40] @ 0x28 + return(result); + 8006402: 6abb ldr r3, [r7, #40] @ 0x28 + 8006404: 2b00 cmp r3, #0 + 8006406: d1e5 bne.n 80063d4 + + /* At end of Rx process, restore huart->RxState to Ready */ + huart->RxState = HAL_UART_STATE_READY; + 8006408: 6efb ldr r3, [r7, #108] @ 0x6c + 800640a: 2220 movs r2, #32 + 800640c: f883 2042 strb.w r2, [r3, #66] @ 0x42 + + /* If Reception till IDLE event has been selected, Disable IDLE Interrupt */ + if (huart->ReceptionType == HAL_UART_RECEPTION_TOIDLE) + 8006410: 6efb ldr r3, [r7, #108] @ 0x6c + 8006412: 6b1b ldr r3, [r3, #48] @ 0x30 + 8006414: 2b01 cmp r3, #1 + 8006416: d119 bne.n 800644c + { + ATOMIC_CLEAR_BIT(huart->Instance->CR1, USART_CR1_IDLEIE); + 8006418: 6efb ldr r3, [r7, #108] @ 0x6c + 800641a: 681b ldr r3, [r3, #0] + 800641c: 330c adds r3, #12 + 800641e: 613b str r3, [r7, #16] + __ASM volatile ("ldrex %0, %1" : "=r" (result) : "Q" (*addr) ); + 8006420: 693b ldr r3, [r7, #16] + 8006422: e853 3f00 ldrex r3, [r3] + 8006426: 60fb str r3, [r7, #12] + return(result); + 8006428: 68fb ldr r3, [r7, #12] + 800642a: f023 0310 bic.w r3, r3, #16 + 800642e: 65fb str r3, [r7, #92] @ 0x5c + 8006430: 6efb ldr r3, [r7, #108] @ 0x6c + 8006432: 681b ldr r3, [r3, #0] + 8006434: 330c adds r3, #12 + 8006436: 6dfa ldr r2, [r7, #92] @ 0x5c + 8006438: 61fa str r2, [r7, #28] + 800643a: 61bb str r3, [r7, #24] + __ASM volatile ("strex %0, %2, %1" : "=&r" (result), "=Q" (*addr) : "r" (value) ); + 800643c: 69b9 ldr r1, [r7, #24] + 800643e: 69fa ldr r2, [r7, #28] + 8006440: e841 2300 strex r3, r2, [r1] + 8006444: 617b str r3, [r7, #20] + return(result); + 8006446: 697b ldr r3, [r7, #20] + 8006448: 2b00 cmp r3, #0 + 800644a: d1e5 bne.n 8006418 + } + } + + /* Initialize type of RxEvent that correspond to RxEvent callback execution; + In this case, Rx Event type is Transfer Complete */ + huart->RxEventType = HAL_UART_RXEVENT_TC; + 800644c: 6efb ldr r3, [r7, #108] @ 0x6c + 800644e: 2200 movs r2, #0 + 8006450: 635a str r2, [r3, #52] @ 0x34 + + /* Check current reception Mode : + If Reception till IDLE event has been selected : use Rx Event callback */ + if (huart->ReceptionType == HAL_UART_RECEPTION_TOIDLE) + 8006452: 6efb ldr r3, [r7, #108] @ 0x6c + 8006454: 6b1b ldr r3, [r3, #48] @ 0x30 + 8006456: 2b01 cmp r3, #1 + 8006458: d106 bne.n 8006468 +#if (USE_HAL_UART_REGISTER_CALLBACKS == 1) + /*Call registered Rx Event callback*/ + huart->RxEventCallback(huart, huart->RxXferSize); +#else + /*Call legacy weak Rx Event callback*/ + HAL_UARTEx_RxEventCallback(huart, huart->RxXferSize); + 800645a: 6efb ldr r3, [r7, #108] @ 0x6c + 800645c: 8d9b ldrh r3, [r3, #44] @ 0x2c + 800645e: 4619 mov r1, r3 + 8006460: 6ef8 ldr r0, [r7, #108] @ 0x6c + 8006462: f7ff ff0b bl 800627c +#else + /*Call legacy weak Rx complete callback*/ + HAL_UART_RxCpltCallback(huart); +#endif /* USE_HAL_UART_REGISTER_CALLBACKS */ + } +} + 8006466: e002 b.n 800646e + HAL_UART_RxCpltCallback(huart); + 8006468: 6ef8 ldr r0, [r7, #108] @ 0x6c + 800646a: f7fa fae7 bl 8000a3c +} + 800646e: bf00 nop + 8006470: 3770 adds r7, #112 @ 0x70 + 8006472: 46bd mov sp, r7 + 8006474: bd80 pop {r7, pc} + +08006476 : + * @param hdma Pointer to a DMA_HandleTypeDef structure that contains + * the configuration information for the specified DMA module. + * @retval None + */ +static void UART_DMARxHalfCplt(DMA_HandleTypeDef *hdma) +{ + 8006476: b580 push {r7, lr} + 8006478: b084 sub sp, #16 + 800647a: af00 add r7, sp, #0 + 800647c: 6078 str r0, [r7, #4] + UART_HandleTypeDef *huart = (UART_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; + 800647e: 687b ldr r3, [r7, #4] + 8006480: 6b9b ldr r3, [r3, #56] @ 0x38 + 8006482: 60fb str r3, [r7, #12] + + /* Initialize type of RxEvent that correspond to RxEvent callback execution; + In this case, Rx Event type is Half Transfer */ + huart->RxEventType = HAL_UART_RXEVENT_HT; + 8006484: 68fb ldr r3, [r7, #12] + 8006486: 2201 movs r2, #1 + 8006488: 635a str r2, [r3, #52] @ 0x34 + + /* Check current reception Mode : + If Reception till IDLE event has been selected : use Rx Event callback */ + if (huart->ReceptionType == HAL_UART_RECEPTION_TOIDLE) + 800648a: 68fb ldr r3, [r7, #12] + 800648c: 6b1b ldr r3, [r3, #48] @ 0x30 + 800648e: 2b01 cmp r3, #1 + 8006490: d108 bne.n 80064a4 +#if (USE_HAL_UART_REGISTER_CALLBACKS == 1) + /*Call registered Rx Event callback*/ + huart->RxEventCallback(huart, huart->RxXferSize / 2U); +#else + /*Call legacy weak Rx Event callback*/ + HAL_UARTEx_RxEventCallback(huart, huart->RxXferSize / 2U); + 8006492: 68fb ldr r3, [r7, #12] + 8006494: 8d9b ldrh r3, [r3, #44] @ 0x2c + 8006496: 085b lsrs r3, r3, #1 + 8006498: b29b uxth r3, r3 + 800649a: 4619 mov r1, r3 + 800649c: 68f8 ldr r0, [r7, #12] + 800649e: f7ff feed bl 800627c +#else + /*Call legacy weak Rx Half complete callback*/ + HAL_UART_RxHalfCpltCallback(huart); +#endif /* USE_HAL_UART_REGISTER_CALLBACKS */ + } +} + 80064a2: e002 b.n 80064aa + HAL_UART_RxHalfCpltCallback(huart); + 80064a4: 68f8 ldr r0, [r7, #12] + 80064a6: f7ff fed5 bl 8006254 +} + 80064aa: bf00 nop + 80064ac: 3710 adds r7, #16 + 80064ae: 46bd mov sp, r7 + 80064b0: bd80 pop {r7, pc} + +080064b2 : * @param hdma Pointer to a DMA_HandleTypeDef structure that contains * the configuration information for the specified DMA module. * @retval None */ static void UART_DMAError(DMA_HandleTypeDef *hdma) { - 8006042: b580 push {r7, lr} - 8006044: b084 sub sp, #16 - 8006046: af00 add r7, sp, #0 - 8006048: 6078 str r0, [r7, #4] + 80064b2: b580 push {r7, lr} + 80064b4: b084 sub sp, #16 + 80064b6: af00 add r7, sp, #0 + 80064b8: 6078 str r0, [r7, #4] uint32_t dmarequest = 0x00U; - 800604a: 2300 movs r3, #0 - 800604c: 60fb str r3, [r7, #12] + 80064ba: 2300 movs r3, #0 + 80064bc: 60fb str r3, [r7, #12] UART_HandleTypeDef *huart = (UART_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; - 800604e: 687b ldr r3, [r7, #4] - 8006050: 6b9b ldr r3, [r3, #56] @ 0x38 - 8006052: 60bb str r3, [r7, #8] + 80064be: 687b ldr r3, [r7, #4] + 80064c0: 6b9b ldr r3, [r3, #56] @ 0x38 + 80064c2: 60bb str r3, [r7, #8] /* Stop UART DMA Tx request if ongoing */ dmarequest = HAL_IS_BIT_SET(huart->Instance->CR3, USART_CR3_DMAT); - 8006054: 68bb ldr r3, [r7, #8] - 8006056: 681b ldr r3, [r3, #0] - 8006058: 695b ldr r3, [r3, #20] - 800605a: f003 0380 and.w r3, r3, #128 @ 0x80 - 800605e: 2b80 cmp r3, #128 @ 0x80 - 8006060: bf0c ite eq - 8006062: 2301 moveq r3, #1 - 8006064: 2300 movne r3, #0 - 8006066: b2db uxtb r3, r3 - 8006068: 60fb str r3, [r7, #12] + 80064c4: 68bb ldr r3, [r7, #8] + 80064c6: 681b ldr r3, [r3, #0] + 80064c8: 695b ldr r3, [r3, #20] + 80064ca: f003 0380 and.w r3, r3, #128 @ 0x80 + 80064ce: 2b80 cmp r3, #128 @ 0x80 + 80064d0: bf0c ite eq + 80064d2: 2301 moveq r3, #1 + 80064d4: 2300 movne r3, #0 + 80064d6: b2db uxtb r3, r3 + 80064d8: 60fb str r3, [r7, #12] if ((huart->gState == HAL_UART_STATE_BUSY_TX) && dmarequest) - 800606a: 68bb ldr r3, [r7, #8] - 800606c: f893 3041 ldrb.w r3, [r3, #65] @ 0x41 - 8006070: b2db uxtb r3, r3 - 8006072: 2b21 cmp r3, #33 @ 0x21 - 8006074: d108 bne.n 8006088 - 8006076: 68fb ldr r3, [r7, #12] - 8006078: 2b00 cmp r3, #0 - 800607a: d005 beq.n 8006088 + 80064da: 68bb ldr r3, [r7, #8] + 80064dc: f893 3041 ldrb.w r3, [r3, #65] @ 0x41 + 80064e0: b2db uxtb r3, r3 + 80064e2: 2b21 cmp r3, #33 @ 0x21 + 80064e4: d108 bne.n 80064f8 + 80064e6: 68fb ldr r3, [r7, #12] + 80064e8: 2b00 cmp r3, #0 + 80064ea: d005 beq.n 80064f8 { huart->TxXferCount = 0x00U; - 800607c: 68bb ldr r3, [r7, #8] - 800607e: 2200 movs r2, #0 - 8006080: 84da strh r2, [r3, #38] @ 0x26 + 80064ec: 68bb ldr r3, [r7, #8] + 80064ee: 2200 movs r2, #0 + 80064f0: 84da strh r2, [r3, #38] @ 0x26 UART_EndTxTransfer(huart); - 8006082: 68b8 ldr r0, [r7, #8] - 8006084: f000 f827 bl 80060d6 + 80064f2: 68b8 ldr r0, [r7, #8] + 80064f4: f000 f926 bl 8006744 } /* Stop UART DMA Rx request if ongoing */ dmarequest = HAL_IS_BIT_SET(huart->Instance->CR3, USART_CR3_DMAR); - 8006088: 68bb ldr r3, [r7, #8] - 800608a: 681b ldr r3, [r3, #0] - 800608c: 695b ldr r3, [r3, #20] - 800608e: f003 0340 and.w r3, r3, #64 @ 0x40 - 8006092: 2b40 cmp r3, #64 @ 0x40 - 8006094: bf0c ite eq - 8006096: 2301 moveq r3, #1 - 8006098: 2300 movne r3, #0 - 800609a: b2db uxtb r3, r3 - 800609c: 60fb str r3, [r7, #12] + 80064f8: 68bb ldr r3, [r7, #8] + 80064fa: 681b ldr r3, [r3, #0] + 80064fc: 695b ldr r3, [r3, #20] + 80064fe: f003 0340 and.w r3, r3, #64 @ 0x40 + 8006502: 2b40 cmp r3, #64 @ 0x40 + 8006504: bf0c ite eq + 8006506: 2301 moveq r3, #1 + 8006508: 2300 movne r3, #0 + 800650a: b2db uxtb r3, r3 + 800650c: 60fb str r3, [r7, #12] if ((huart->RxState == HAL_UART_STATE_BUSY_RX) && dmarequest) - 800609e: 68bb ldr r3, [r7, #8] - 80060a0: f893 3042 ldrb.w r3, [r3, #66] @ 0x42 - 80060a4: b2db uxtb r3, r3 - 80060a6: 2b22 cmp r3, #34 @ 0x22 - 80060a8: d108 bne.n 80060bc - 80060aa: 68fb ldr r3, [r7, #12] - 80060ac: 2b00 cmp r3, #0 - 80060ae: d005 beq.n 80060bc + 800650e: 68bb ldr r3, [r7, #8] + 8006510: f893 3042 ldrb.w r3, [r3, #66] @ 0x42 + 8006514: b2db uxtb r3, r3 + 8006516: 2b22 cmp r3, #34 @ 0x22 + 8006518: d108 bne.n 800652c + 800651a: 68fb ldr r3, [r7, #12] + 800651c: 2b00 cmp r3, #0 + 800651e: d005 beq.n 800652c { huart->RxXferCount = 0x00U; - 80060b0: 68bb ldr r3, [r7, #8] - 80060b2: 2200 movs r2, #0 - 80060b4: 85da strh r2, [r3, #46] @ 0x2e + 8006520: 68bb ldr r3, [r7, #8] + 8006522: 2200 movs r2, #0 + 8006524: 85da strh r2, [r3, #46] @ 0x2e UART_EndRxTransfer(huart); - 80060b6: 68b8 ldr r0, [r7, #8] - 80060b8: f000 f835 bl 8006126 + 8006526: 68b8 ldr r0, [r7, #8] + 8006528: f000 f934 bl 8006794 } huart->ErrorCode |= HAL_UART_ERROR_DMA; - 80060bc: 68bb ldr r3, [r7, #8] - 80060be: 6c5b ldr r3, [r3, #68] @ 0x44 - 80060c0: f043 0210 orr.w r2, r3, #16 - 80060c4: 68bb ldr r3, [r7, #8] - 80060c6: 645a str r2, [r3, #68] @ 0x44 + 800652c: 68bb ldr r3, [r7, #8] + 800652e: 6c5b ldr r3, [r3, #68] @ 0x44 + 8006530: f043 0210 orr.w r2, r3, #16 + 8006534: 68bb ldr r3, [r7, #8] + 8006536: 645a str r2, [r3, #68] @ 0x44 #if (USE_HAL_UART_REGISTER_CALLBACKS == 1) /*Call registered error callback*/ huart->ErrorCallback(huart); #else /*Call legacy weak error callback*/ HAL_UART_ErrorCallback(huart); - 80060c8: 68b8 ldr r0, [r7, #8] - 80060ca: f7ff ff49 bl 8005f60 + 8006538: 68b8 ldr r0, [r7, #8] + 800653a: f7ff fe95 bl 8006268 #endif /* USE_HAL_UART_REGISTER_CALLBACKS */ } - 80060ce: bf00 nop - 80060d0: 3710 adds r7, #16 - 80060d2: 46bd mov sp, r7 - 80060d4: bd80 pop {r7, pc} + 800653e: bf00 nop + 8006540: 3710 adds r7, #16 + 8006542: 46bd mov sp, r7 + 8006544: bd80 pop {r7, pc} -080060d6 : +08006546 : + * @param Timeout Timeout duration + * @retval HAL status + */ +static HAL_StatusTypeDef UART_WaitOnFlagUntilTimeout(UART_HandleTypeDef *huart, uint32_t Flag, FlagStatus Status, + uint32_t Tickstart, uint32_t Timeout) +{ + 8006546: b580 push {r7, lr} + 8006548: b086 sub sp, #24 + 800654a: af00 add r7, sp, #0 + 800654c: 60f8 str r0, [r7, #12] + 800654e: 60b9 str r1, [r7, #8] + 8006550: 603b str r3, [r7, #0] + 8006552: 4613 mov r3, r2 + 8006554: 71fb strb r3, [r7, #7] + /* Wait until flag is set */ + while ((__HAL_UART_GET_FLAG(huart, Flag) ? SET : RESET) == Status) + 8006556: e03b b.n 80065d0 + { + /* Check for the Timeout */ + if (Timeout != HAL_MAX_DELAY) + 8006558: 6a3b ldr r3, [r7, #32] + 800655a: f1b3 3fff cmp.w r3, #4294967295 @ 0xffffffff + 800655e: d037 beq.n 80065d0 + { + if (((HAL_GetTick() - Tickstart) > Timeout) || (Timeout == 0U)) + 8006560: f7fb fa32 bl 80019c8 + 8006564: 4602 mov r2, r0 + 8006566: 683b ldr r3, [r7, #0] + 8006568: 1ad3 subs r3, r2, r3 + 800656a: 6a3a ldr r2, [r7, #32] + 800656c: 429a cmp r2, r3 + 800656e: d302 bcc.n 8006576 + 8006570: 6a3b ldr r3, [r7, #32] + 8006572: 2b00 cmp r3, #0 + 8006574: d101 bne.n 800657a + { + + return HAL_TIMEOUT; + 8006576: 2303 movs r3, #3 + 8006578: e03a b.n 80065f0 + } + + if ((READ_BIT(huart->Instance->CR1, USART_CR1_RE) != 0U) && (Flag != UART_FLAG_TXE) && (Flag != UART_FLAG_TC)) + 800657a: 68fb ldr r3, [r7, #12] + 800657c: 681b ldr r3, [r3, #0] + 800657e: 68db ldr r3, [r3, #12] + 8006580: f003 0304 and.w r3, r3, #4 + 8006584: 2b00 cmp r3, #0 + 8006586: d023 beq.n 80065d0 + 8006588: 68bb ldr r3, [r7, #8] + 800658a: 2b80 cmp r3, #128 @ 0x80 + 800658c: d020 beq.n 80065d0 + 800658e: 68bb ldr r3, [r7, #8] + 8006590: 2b40 cmp r3, #64 @ 0x40 + 8006592: d01d beq.n 80065d0 + { + if (__HAL_UART_GET_FLAG(huart, UART_FLAG_ORE) == SET) + 8006594: 68fb ldr r3, [r7, #12] + 8006596: 681b ldr r3, [r3, #0] + 8006598: 681b ldr r3, [r3, #0] + 800659a: f003 0308 and.w r3, r3, #8 + 800659e: 2b08 cmp r3, #8 + 80065a0: d116 bne.n 80065d0 + { + /* Clear Overrun Error flag*/ + __HAL_UART_CLEAR_OREFLAG(huart); + 80065a2: 2300 movs r3, #0 + 80065a4: 617b str r3, [r7, #20] + 80065a6: 68fb ldr r3, [r7, #12] + 80065a8: 681b ldr r3, [r3, #0] + 80065aa: 681b ldr r3, [r3, #0] + 80065ac: 617b str r3, [r7, #20] + 80065ae: 68fb ldr r3, [r7, #12] + 80065b0: 681b ldr r3, [r3, #0] + 80065b2: 685b ldr r3, [r3, #4] + 80065b4: 617b str r3, [r7, #20] + 80065b6: 697b ldr r3, [r7, #20] + + /* Blocking error : transfer is aborted + Set the UART state ready to be able to start again the process, + Disable Rx Interrupts if ongoing */ + UART_EndRxTransfer(huart); + 80065b8: 68f8 ldr r0, [r7, #12] + 80065ba: f000 f8eb bl 8006794 + + huart->ErrorCode = HAL_UART_ERROR_ORE; + 80065be: 68fb ldr r3, [r7, #12] + 80065c0: 2208 movs r2, #8 + 80065c2: 645a str r2, [r3, #68] @ 0x44 + + /* Process Unlocked */ + __HAL_UNLOCK(huart); + 80065c4: 68fb ldr r3, [r7, #12] + 80065c6: 2200 movs r2, #0 + 80065c8: f883 2040 strb.w r2, [r3, #64] @ 0x40 + + return HAL_ERROR; + 80065cc: 2301 movs r3, #1 + 80065ce: e00f b.n 80065f0 + while ((__HAL_UART_GET_FLAG(huart, Flag) ? SET : RESET) == Status) + 80065d0: 68fb ldr r3, [r7, #12] + 80065d2: 681b ldr r3, [r3, #0] + 80065d4: 681a ldr r2, [r3, #0] + 80065d6: 68bb ldr r3, [r7, #8] + 80065d8: 4013 ands r3, r2 + 80065da: 68ba ldr r2, [r7, #8] + 80065dc: 429a cmp r2, r3 + 80065de: bf0c ite eq + 80065e0: 2301 moveq r3, #1 + 80065e2: 2300 movne r3, #0 + 80065e4: b2db uxtb r3, r3 + 80065e6: 461a mov r2, r3 + 80065e8: 79fb ldrb r3, [r7, #7] + 80065ea: 429a cmp r2, r3 + 80065ec: d0b4 beq.n 8006558 + } + } + } + } + return HAL_OK; + 80065ee: 2300 movs r3, #0 +} + 80065f0: 4618 mov r0, r3 + 80065f2: 3718 adds r7, #24 + 80065f4: 46bd mov sp, r7 + 80065f6: bd80 pop {r7, pc} + +080065f8 : + * @param pData Pointer to data buffer (u8 or u16 data elements). + * @param Size Amount of data elements (u8 or u16) to be received. + * @retval HAL status + */ +HAL_StatusTypeDef UART_Start_Receive_DMA(UART_HandleTypeDef *huart, uint8_t *pData, uint16_t Size) +{ + 80065f8: b580 push {r7, lr} + 80065fa: b098 sub sp, #96 @ 0x60 + 80065fc: af00 add r7, sp, #0 + 80065fe: 60f8 str r0, [r7, #12] + 8006600: 60b9 str r1, [r7, #8] + 8006602: 4613 mov r3, r2 + 8006604: 80fb strh r3, [r7, #6] + uint32_t *tmp; + + huart->pRxBuffPtr = pData; + 8006606: 68ba ldr r2, [r7, #8] + 8006608: 68fb ldr r3, [r7, #12] + 800660a: 629a str r2, [r3, #40] @ 0x28 + huart->RxXferSize = Size; + 800660c: 68fb ldr r3, [r7, #12] + 800660e: 88fa ldrh r2, [r7, #6] + 8006610: 859a strh r2, [r3, #44] @ 0x2c + + huart->ErrorCode = HAL_UART_ERROR_NONE; + 8006612: 68fb ldr r3, [r7, #12] + 8006614: 2200 movs r2, #0 + 8006616: 645a str r2, [r3, #68] @ 0x44 + huart->RxState = HAL_UART_STATE_BUSY_RX; + 8006618: 68fb ldr r3, [r7, #12] + 800661a: 2222 movs r2, #34 @ 0x22 + 800661c: f883 2042 strb.w r2, [r3, #66] @ 0x42 + + /* Set the UART DMA transfer complete callback */ + huart->hdmarx->XferCpltCallback = UART_DMAReceiveCplt; + 8006620: 68fb ldr r3, [r7, #12] + 8006622: 6bdb ldr r3, [r3, #60] @ 0x3c + 8006624: 4a44 ldr r2, [pc, #272] @ (8006738 ) + 8006626: 63da str r2, [r3, #60] @ 0x3c + + /* Set the UART DMA Half transfer complete callback */ + huart->hdmarx->XferHalfCpltCallback = UART_DMARxHalfCplt; + 8006628: 68fb ldr r3, [r7, #12] + 800662a: 6bdb ldr r3, [r3, #60] @ 0x3c + 800662c: 4a43 ldr r2, [pc, #268] @ (800673c ) + 800662e: 641a str r2, [r3, #64] @ 0x40 + + /* Set the DMA error callback */ + huart->hdmarx->XferErrorCallback = UART_DMAError; + 8006630: 68fb ldr r3, [r7, #12] + 8006632: 6bdb ldr r3, [r3, #60] @ 0x3c + 8006634: 4a42 ldr r2, [pc, #264] @ (8006740 ) + 8006636: 64da str r2, [r3, #76] @ 0x4c + + /* Set the DMA abort callback */ + huart->hdmarx->XferAbortCallback = NULL; + 8006638: 68fb ldr r3, [r7, #12] + 800663a: 6bdb ldr r3, [r3, #60] @ 0x3c + 800663c: 2200 movs r2, #0 + 800663e: 651a str r2, [r3, #80] @ 0x50 + + /* Enable the DMA stream */ + tmp = (uint32_t *)&pData; + 8006640: f107 0308 add.w r3, r7, #8 + 8006644: 65fb str r3, [r7, #92] @ 0x5c + if (HAL_DMA_Start_IT(huart->hdmarx, (uint32_t)&huart->Instance->DR, *(uint32_t *)tmp, Size) != HAL_OK) + 8006646: 68fb ldr r3, [r7, #12] + 8006648: 6bd8 ldr r0, [r3, #60] @ 0x3c + 800664a: 68fb ldr r3, [r7, #12] + 800664c: 681b ldr r3, [r3, #0] + 800664e: 3304 adds r3, #4 + 8006650: 4619 mov r1, r3 + 8006652: 6dfb ldr r3, [r7, #92] @ 0x5c + 8006654: 681a ldr r2, [r3, #0] + 8006656: 88fb ldrh r3, [r7, #6] + 8006658: f7fb fba6 bl 8001da8 + 800665c: 4603 mov r3, r0 + 800665e: 2b00 cmp r3, #0 + 8006660: d008 beq.n 8006674 + { + /* Set error code to DMA */ + huart->ErrorCode = HAL_UART_ERROR_DMA; + 8006662: 68fb ldr r3, [r7, #12] + 8006664: 2210 movs r2, #16 + 8006666: 645a str r2, [r3, #68] @ 0x44 + + /* Restore huart->RxState to ready */ + huart->RxState = HAL_UART_STATE_READY; + 8006668: 68fb ldr r3, [r7, #12] + 800666a: 2220 movs r2, #32 + 800666c: f883 2042 strb.w r2, [r3, #66] @ 0x42 + + return HAL_ERROR; + 8006670: 2301 movs r3, #1 + 8006672: e05d b.n 8006730 + } + /* Clear the Overrun flag just before enabling the DMA Rx request: can be mandatory for the second transfer */ + __HAL_UART_CLEAR_OREFLAG(huart); + 8006674: 2300 movs r3, #0 + 8006676: 613b str r3, [r7, #16] + 8006678: 68fb ldr r3, [r7, #12] + 800667a: 681b ldr r3, [r3, #0] + 800667c: 681b ldr r3, [r3, #0] + 800667e: 613b str r3, [r7, #16] + 8006680: 68fb ldr r3, [r7, #12] + 8006682: 681b ldr r3, [r3, #0] + 8006684: 685b ldr r3, [r3, #4] + 8006686: 613b str r3, [r7, #16] + 8006688: 693b ldr r3, [r7, #16] + + if (huart->Init.Parity != UART_PARITY_NONE) + 800668a: 68fb ldr r3, [r7, #12] + 800668c: 691b ldr r3, [r3, #16] + 800668e: 2b00 cmp r3, #0 + 8006690: d019 beq.n 80066c6 + { + /* Enable the UART Parity Error Interrupt */ + ATOMIC_SET_BIT(huart->Instance->CR1, USART_CR1_PEIE); + 8006692: 68fb ldr r3, [r7, #12] + 8006694: 681b ldr r3, [r3, #0] + 8006696: 330c adds r3, #12 + 8006698: 643b str r3, [r7, #64] @ 0x40 + __ASM volatile ("ldrex %0, %1" : "=r" (result) : "Q" (*addr) ); + 800669a: 6c3b ldr r3, [r7, #64] @ 0x40 + 800669c: e853 3f00 ldrex r3, [r3] + 80066a0: 63fb str r3, [r7, #60] @ 0x3c + return(result); + 80066a2: 6bfb ldr r3, [r7, #60] @ 0x3c + 80066a4: f443 7380 orr.w r3, r3, #256 @ 0x100 + 80066a8: 65bb str r3, [r7, #88] @ 0x58 + 80066aa: 68fb ldr r3, [r7, #12] + 80066ac: 681b ldr r3, [r3, #0] + 80066ae: 330c adds r3, #12 + 80066b0: 6dba ldr r2, [r7, #88] @ 0x58 + 80066b2: 64fa str r2, [r7, #76] @ 0x4c + 80066b4: 64bb str r3, [r7, #72] @ 0x48 + __ASM volatile ("strex %0, %2, %1" : "=&r" (result), "=Q" (*addr) : "r" (value) ); + 80066b6: 6cb9 ldr r1, [r7, #72] @ 0x48 + 80066b8: 6cfa ldr r2, [r7, #76] @ 0x4c + 80066ba: e841 2300 strex r3, r2, [r1] + 80066be: 647b str r3, [r7, #68] @ 0x44 + return(result); + 80066c0: 6c7b ldr r3, [r7, #68] @ 0x44 + 80066c2: 2b00 cmp r3, #0 + 80066c4: d1e5 bne.n 8006692 + } + + /* Enable the UART Error Interrupt: (Frame error, noise error, overrun error) */ + ATOMIC_SET_BIT(huart->Instance->CR3, USART_CR3_EIE); + 80066c6: 68fb ldr r3, [r7, #12] + 80066c8: 681b ldr r3, [r3, #0] + 80066ca: 3314 adds r3, #20 + 80066cc: 62fb str r3, [r7, #44] @ 0x2c + __ASM volatile ("ldrex %0, %1" : "=r" (result) : "Q" (*addr) ); + 80066ce: 6afb ldr r3, [r7, #44] @ 0x2c + 80066d0: e853 3f00 ldrex r3, [r3] + 80066d4: 62bb str r3, [r7, #40] @ 0x28 + return(result); + 80066d6: 6abb ldr r3, [r7, #40] @ 0x28 + 80066d8: f043 0301 orr.w r3, r3, #1 + 80066dc: 657b str r3, [r7, #84] @ 0x54 + 80066de: 68fb ldr r3, [r7, #12] + 80066e0: 681b ldr r3, [r3, #0] + 80066e2: 3314 adds r3, #20 + 80066e4: 6d7a ldr r2, [r7, #84] @ 0x54 + 80066e6: 63ba str r2, [r7, #56] @ 0x38 + 80066e8: 637b str r3, [r7, #52] @ 0x34 + __ASM volatile ("strex %0, %2, %1" : "=&r" (result), "=Q" (*addr) : "r" (value) ); + 80066ea: 6b79 ldr r1, [r7, #52] @ 0x34 + 80066ec: 6bba ldr r2, [r7, #56] @ 0x38 + 80066ee: e841 2300 strex r3, r2, [r1] + 80066f2: 633b str r3, [r7, #48] @ 0x30 + return(result); + 80066f4: 6b3b ldr r3, [r7, #48] @ 0x30 + 80066f6: 2b00 cmp r3, #0 + 80066f8: d1e5 bne.n 80066c6 + + /* Enable the DMA transfer for the receiver request by setting the DMAR bit + in the UART CR3 register */ + ATOMIC_SET_BIT(huart->Instance->CR3, USART_CR3_DMAR); + 80066fa: 68fb ldr r3, [r7, #12] + 80066fc: 681b ldr r3, [r3, #0] + 80066fe: 3314 adds r3, #20 + 8006700: 61bb str r3, [r7, #24] + __ASM volatile ("ldrex %0, %1" : "=r" (result) : "Q" (*addr) ); + 8006702: 69bb ldr r3, [r7, #24] + 8006704: e853 3f00 ldrex r3, [r3] + 8006708: 617b str r3, [r7, #20] + return(result); + 800670a: 697b ldr r3, [r7, #20] + 800670c: f043 0340 orr.w r3, r3, #64 @ 0x40 + 8006710: 653b str r3, [r7, #80] @ 0x50 + 8006712: 68fb ldr r3, [r7, #12] + 8006714: 681b ldr r3, [r3, #0] + 8006716: 3314 adds r3, #20 + 8006718: 6d3a ldr r2, [r7, #80] @ 0x50 + 800671a: 627a str r2, [r7, #36] @ 0x24 + 800671c: 623b str r3, [r7, #32] + __ASM volatile ("strex %0, %2, %1" : "=&r" (result), "=Q" (*addr) : "r" (value) ); + 800671e: 6a39 ldr r1, [r7, #32] + 8006720: 6a7a ldr r2, [r7, #36] @ 0x24 + 8006722: e841 2300 strex r3, r2, [r1] + 8006726: 61fb str r3, [r7, #28] + return(result); + 8006728: 69fb ldr r3, [r7, #28] + 800672a: 2b00 cmp r3, #0 + 800672c: d1e5 bne.n 80066fa + + return HAL_OK; + 800672e: 2300 movs r3, #0 +} + 8006730: 4618 mov r0, r3 + 8006732: 3760 adds r7, #96 @ 0x60 + 8006734: 46bd mov sp, r7 + 8006736: bd80 pop {r7, pc} + 8006738: 0800634b .word 0x0800634b + 800673c: 08006477 .word 0x08006477 + 8006740: 080064b3 .word 0x080064b3 + +08006744 : * @brief End ongoing Tx transfer on UART peripheral (following error detection or Transmit completion). * @param huart UART handle. * @retval None */ static void UART_EndTxTransfer(UART_HandleTypeDef *huart) { - 80060d6: b480 push {r7} - 80060d8: b089 sub sp, #36 @ 0x24 - 80060da: af00 add r7, sp, #0 - 80060dc: 6078 str r0, [r7, #4] + 8006744: b480 push {r7} + 8006746: b089 sub sp, #36 @ 0x24 + 8006748: af00 add r7, sp, #0 + 800674a: 6078 str r0, [r7, #4] /* Disable TXEIE and TCIE interrupts */ ATOMIC_CLEAR_BIT(huart->Instance->CR1, (USART_CR1_TXEIE | USART_CR1_TCIE)); - 80060de: 687b ldr r3, [r7, #4] - 80060e0: 681b ldr r3, [r3, #0] - 80060e2: 330c adds r3, #12 - 80060e4: 60fb str r3, [r7, #12] + 800674c: 687b ldr r3, [r7, #4] + 800674e: 681b ldr r3, [r3, #0] + 8006750: 330c adds r3, #12 + 8006752: 60fb str r3, [r7, #12] __ASM volatile ("ldrex %0, %1" : "=r" (result) : "Q" (*addr) ); - 80060e6: 68fb ldr r3, [r7, #12] - 80060e8: e853 3f00 ldrex r3, [r3] - 80060ec: 60bb str r3, [r7, #8] + 8006754: 68fb ldr r3, [r7, #12] + 8006756: e853 3f00 ldrex r3, [r3] + 800675a: 60bb str r3, [r7, #8] return(result); - 80060ee: 68bb ldr r3, [r7, #8] - 80060f0: f023 03c0 bic.w r3, r3, #192 @ 0xc0 - 80060f4: 61fb str r3, [r7, #28] - 80060f6: 687b ldr r3, [r7, #4] - 80060f8: 681b ldr r3, [r3, #0] - 80060fa: 330c adds r3, #12 - 80060fc: 69fa ldr r2, [r7, #28] - 80060fe: 61ba str r2, [r7, #24] - 8006100: 617b str r3, [r7, #20] + 800675c: 68bb ldr r3, [r7, #8] + 800675e: f023 03c0 bic.w r3, r3, #192 @ 0xc0 + 8006762: 61fb str r3, [r7, #28] + 8006764: 687b ldr r3, [r7, #4] + 8006766: 681b ldr r3, [r3, #0] + 8006768: 330c adds r3, #12 + 800676a: 69fa ldr r2, [r7, #28] + 800676c: 61ba str r2, [r7, #24] + 800676e: 617b str r3, [r7, #20] __ASM volatile ("strex %0, %2, %1" : "=&r" (result), "=Q" (*addr) : "r" (value) ); - 8006102: 6979 ldr r1, [r7, #20] - 8006104: 69ba ldr r2, [r7, #24] - 8006106: e841 2300 strex r3, r2, [r1] - 800610a: 613b str r3, [r7, #16] + 8006770: 6979 ldr r1, [r7, #20] + 8006772: 69ba ldr r2, [r7, #24] + 8006774: e841 2300 strex r3, r2, [r1] + 8006778: 613b str r3, [r7, #16] return(result); - 800610c: 693b ldr r3, [r7, #16] - 800610e: 2b00 cmp r3, #0 - 8006110: d1e5 bne.n 80060de + 800677a: 693b ldr r3, [r7, #16] + 800677c: 2b00 cmp r3, #0 + 800677e: d1e5 bne.n 800674c /* At end of Tx process, restore huart->gState to Ready */ huart->gState = HAL_UART_STATE_READY; - 8006112: 687b ldr r3, [r7, #4] - 8006114: 2220 movs r2, #32 - 8006116: f883 2041 strb.w r2, [r3, #65] @ 0x41 + 8006780: 687b ldr r3, [r7, #4] + 8006782: 2220 movs r2, #32 + 8006784: f883 2041 strb.w r2, [r3, #65] @ 0x41 } - 800611a: bf00 nop - 800611c: 3724 adds r7, #36 @ 0x24 - 800611e: 46bd mov sp, r7 - 8006120: f85d 7b04 ldr.w r7, [sp], #4 - 8006124: 4770 bx lr + 8006788: bf00 nop + 800678a: 3724 adds r7, #36 @ 0x24 + 800678c: 46bd mov sp, r7 + 800678e: f85d 7b04 ldr.w r7, [sp], #4 + 8006792: 4770 bx lr -08006126 : +08006794 : * @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) { - 8006126: b480 push {r7} - 8006128: b095 sub sp, #84 @ 0x54 - 800612a: af00 add r7, sp, #0 - 800612c: 6078 str r0, [r7, #4] + 8006794: b480 push {r7} + 8006796: b095 sub sp, #84 @ 0x54 + 8006798: af00 add r7, sp, #0 + 800679a: 6078 str r0, [r7, #4] /* Disable RXNE, PE and ERR (Frame error, noise error, overrun error) interrupts */ ATOMIC_CLEAR_BIT(huart->Instance->CR1, (USART_CR1_RXNEIE | USART_CR1_PEIE)); - 800612e: 687b ldr r3, [r7, #4] - 8006130: 681b ldr r3, [r3, #0] - 8006132: 330c adds r3, #12 - 8006134: 637b str r3, [r7, #52] @ 0x34 + 800679c: 687b ldr r3, [r7, #4] + 800679e: 681b ldr r3, [r3, #0] + 80067a0: 330c adds r3, #12 + 80067a2: 637b str r3, [r7, #52] @ 0x34 __ASM volatile ("ldrex %0, %1" : "=r" (result) : "Q" (*addr) ); - 8006136: 6b7b ldr r3, [r7, #52] @ 0x34 - 8006138: e853 3f00 ldrex r3, [r3] - 800613c: 633b str r3, [r7, #48] @ 0x30 + 80067a4: 6b7b ldr r3, [r7, #52] @ 0x34 + 80067a6: e853 3f00 ldrex r3, [r3] + 80067aa: 633b str r3, [r7, #48] @ 0x30 return(result); - 800613e: 6b3b ldr r3, [r7, #48] @ 0x30 - 8006140: f423 7390 bic.w r3, r3, #288 @ 0x120 - 8006144: 64fb str r3, [r7, #76] @ 0x4c - 8006146: 687b ldr r3, [r7, #4] - 8006148: 681b ldr r3, [r3, #0] - 800614a: 330c adds r3, #12 - 800614c: 6cfa ldr r2, [r7, #76] @ 0x4c - 800614e: 643a str r2, [r7, #64] @ 0x40 - 8006150: 63fb str r3, [r7, #60] @ 0x3c + 80067ac: 6b3b ldr r3, [r7, #48] @ 0x30 + 80067ae: f423 7390 bic.w r3, r3, #288 @ 0x120 + 80067b2: 64fb str r3, [r7, #76] @ 0x4c + 80067b4: 687b ldr r3, [r7, #4] + 80067b6: 681b ldr r3, [r3, #0] + 80067b8: 330c adds r3, #12 + 80067ba: 6cfa ldr r2, [r7, #76] @ 0x4c + 80067bc: 643a str r2, [r7, #64] @ 0x40 + 80067be: 63fb str r3, [r7, #60] @ 0x3c __ASM volatile ("strex %0, %2, %1" : "=&r" (result), "=Q" (*addr) : "r" (value) ); - 8006152: 6bf9 ldr r1, [r7, #60] @ 0x3c - 8006154: 6c3a ldr r2, [r7, #64] @ 0x40 - 8006156: e841 2300 strex r3, r2, [r1] - 800615a: 63bb str r3, [r7, #56] @ 0x38 + 80067c0: 6bf9 ldr r1, [r7, #60] @ 0x3c + 80067c2: 6c3a ldr r2, [r7, #64] @ 0x40 + 80067c4: e841 2300 strex r3, r2, [r1] + 80067c8: 63bb str r3, [r7, #56] @ 0x38 return(result); - 800615c: 6bbb ldr r3, [r7, #56] @ 0x38 - 800615e: 2b00 cmp r3, #0 - 8006160: d1e5 bne.n 800612e + 80067ca: 6bbb ldr r3, [r7, #56] @ 0x38 + 80067cc: 2b00 cmp r3, #0 + 80067ce: d1e5 bne.n 800679c ATOMIC_CLEAR_BIT(huart->Instance->CR3, USART_CR3_EIE); - 8006162: 687b ldr r3, [r7, #4] - 8006164: 681b ldr r3, [r3, #0] - 8006166: 3314 adds r3, #20 - 8006168: 623b str r3, [r7, #32] + 80067d0: 687b ldr r3, [r7, #4] + 80067d2: 681b ldr r3, [r3, #0] + 80067d4: 3314 adds r3, #20 + 80067d6: 623b str r3, [r7, #32] __ASM volatile ("ldrex %0, %1" : "=r" (result) : "Q" (*addr) ); - 800616a: 6a3b ldr r3, [r7, #32] - 800616c: e853 3f00 ldrex r3, [r3] - 8006170: 61fb str r3, [r7, #28] + 80067d8: 6a3b ldr r3, [r7, #32] + 80067da: e853 3f00 ldrex r3, [r3] + 80067de: 61fb str r3, [r7, #28] return(result); - 8006172: 69fb ldr r3, [r7, #28] - 8006174: f023 0301 bic.w r3, r3, #1 - 8006178: 64bb str r3, [r7, #72] @ 0x48 - 800617a: 687b ldr r3, [r7, #4] - 800617c: 681b ldr r3, [r3, #0] - 800617e: 3314 adds r3, #20 - 8006180: 6cba ldr r2, [r7, #72] @ 0x48 - 8006182: 62fa str r2, [r7, #44] @ 0x2c - 8006184: 62bb str r3, [r7, #40] @ 0x28 + 80067e0: 69fb ldr r3, [r7, #28] + 80067e2: f023 0301 bic.w r3, r3, #1 + 80067e6: 64bb str r3, [r7, #72] @ 0x48 + 80067e8: 687b ldr r3, [r7, #4] + 80067ea: 681b ldr r3, [r3, #0] + 80067ec: 3314 adds r3, #20 + 80067ee: 6cba ldr r2, [r7, #72] @ 0x48 + 80067f0: 62fa str r2, [r7, #44] @ 0x2c + 80067f2: 62bb str r3, [r7, #40] @ 0x28 __ASM volatile ("strex %0, %2, %1" : "=&r" (result), "=Q" (*addr) : "r" (value) ); - 8006186: 6ab9 ldr r1, [r7, #40] @ 0x28 - 8006188: 6afa ldr r2, [r7, #44] @ 0x2c - 800618a: e841 2300 strex r3, r2, [r1] - 800618e: 627b str r3, [r7, #36] @ 0x24 + 80067f4: 6ab9 ldr r1, [r7, #40] @ 0x28 + 80067f6: 6afa ldr r2, [r7, #44] @ 0x2c + 80067f8: e841 2300 strex r3, r2, [r1] + 80067fc: 627b str r3, [r7, #36] @ 0x24 return(result); - 8006190: 6a7b ldr r3, [r7, #36] @ 0x24 - 8006192: 2b00 cmp r3, #0 - 8006194: d1e5 bne.n 8006162 + 80067fe: 6a7b ldr r3, [r7, #36] @ 0x24 + 8006800: 2b00 cmp r3, #0 + 8006802: d1e5 bne.n 80067d0 /* In case of reception waiting for IDLE event, disable also the IDLE IE interrupt source */ if (huart->ReceptionType == HAL_UART_RECEPTION_TOIDLE) - 8006196: 687b ldr r3, [r7, #4] - 8006198: 6b1b ldr r3, [r3, #48] @ 0x30 - 800619a: 2b01 cmp r3, #1 - 800619c: d119 bne.n 80061d2 + 8006804: 687b ldr r3, [r7, #4] + 8006806: 6b1b ldr r3, [r3, #48] @ 0x30 + 8006808: 2b01 cmp r3, #1 + 800680a: d119 bne.n 8006840 { ATOMIC_CLEAR_BIT(huart->Instance->CR1, USART_CR1_IDLEIE); - 800619e: 687b ldr r3, [r7, #4] - 80061a0: 681b ldr r3, [r3, #0] - 80061a2: 330c adds r3, #12 - 80061a4: 60fb str r3, [r7, #12] + 800680c: 687b ldr r3, [r7, #4] + 800680e: 681b ldr r3, [r3, #0] + 8006810: 330c adds r3, #12 + 8006812: 60fb str r3, [r7, #12] __ASM volatile ("ldrex %0, %1" : "=r" (result) : "Q" (*addr) ); - 80061a6: 68fb ldr r3, [r7, #12] - 80061a8: e853 3f00 ldrex r3, [r3] - 80061ac: 60bb str r3, [r7, #8] + 8006814: 68fb ldr r3, [r7, #12] + 8006816: e853 3f00 ldrex r3, [r3] + 800681a: 60bb str r3, [r7, #8] return(result); - 80061ae: 68bb ldr r3, [r7, #8] - 80061b0: f023 0310 bic.w r3, r3, #16 - 80061b4: 647b str r3, [r7, #68] @ 0x44 - 80061b6: 687b ldr r3, [r7, #4] - 80061b8: 681b ldr r3, [r3, #0] - 80061ba: 330c adds r3, #12 - 80061bc: 6c7a ldr r2, [r7, #68] @ 0x44 - 80061be: 61ba str r2, [r7, #24] - 80061c0: 617b str r3, [r7, #20] + 800681c: 68bb ldr r3, [r7, #8] + 800681e: f023 0310 bic.w r3, r3, #16 + 8006822: 647b str r3, [r7, #68] @ 0x44 + 8006824: 687b ldr r3, [r7, #4] + 8006826: 681b ldr r3, [r3, #0] + 8006828: 330c adds r3, #12 + 800682a: 6c7a ldr r2, [r7, #68] @ 0x44 + 800682c: 61ba str r2, [r7, #24] + 800682e: 617b str r3, [r7, #20] __ASM volatile ("strex %0, %2, %1" : "=&r" (result), "=Q" (*addr) : "r" (value) ); - 80061c2: 6979 ldr r1, [r7, #20] - 80061c4: 69ba ldr r2, [r7, #24] - 80061c6: e841 2300 strex r3, r2, [r1] - 80061ca: 613b str r3, [r7, #16] + 8006830: 6979 ldr r1, [r7, #20] + 8006832: 69ba ldr r2, [r7, #24] + 8006834: e841 2300 strex r3, r2, [r1] + 8006838: 613b str r3, [r7, #16] return(result); - 80061cc: 693b ldr r3, [r7, #16] - 80061ce: 2b00 cmp r3, #0 - 80061d0: d1e5 bne.n 800619e + 800683a: 693b ldr r3, [r7, #16] + 800683c: 2b00 cmp r3, #0 + 800683e: d1e5 bne.n 800680c } /* At end of Rx process, restore huart->RxState to Ready */ huart->RxState = HAL_UART_STATE_READY; - 80061d2: 687b ldr r3, [r7, #4] - 80061d4: 2220 movs r2, #32 - 80061d6: f883 2042 strb.w r2, [r3, #66] @ 0x42 + 8006840: 687b ldr r3, [r7, #4] + 8006842: 2220 movs r2, #32 + 8006844: f883 2042 strb.w r2, [r3, #66] @ 0x42 huart->ReceptionType = HAL_UART_RECEPTION_STANDARD; - 80061da: 687b ldr r3, [r7, #4] - 80061dc: 2200 movs r2, #0 - 80061de: 631a str r2, [r3, #48] @ 0x30 + 8006848: 687b ldr r3, [r7, #4] + 800684a: 2200 movs r2, #0 + 800684c: 631a str r2, [r3, #48] @ 0x30 } - 80061e0: bf00 nop - 80061e2: 3754 adds r7, #84 @ 0x54 - 80061e4: 46bd mov sp, r7 - 80061e6: f85d 7b04 ldr.w r7, [sp], #4 - 80061ea: 4770 bx lr + 800684e: bf00 nop + 8006850: 3754 adds r7, #84 @ 0x54 + 8006852: 46bd mov sp, r7 + 8006854: f85d 7b04 ldr.w r7, [sp], #4 + 8006858: 4770 bx lr -080061ec : +0800685a : * @param hdma Pointer to a DMA_HandleTypeDef structure that contains * the configuration information for the specified DMA module. * @retval None */ static void UART_DMAAbortOnError(DMA_HandleTypeDef *hdma) { - 80061ec: b580 push {r7, lr} - 80061ee: b084 sub sp, #16 - 80061f0: af00 add r7, sp, #0 - 80061f2: 6078 str r0, [r7, #4] + 800685a: b580 push {r7, lr} + 800685c: b084 sub sp, #16 + 800685e: af00 add r7, sp, #0 + 8006860: 6078 str r0, [r7, #4] UART_HandleTypeDef *huart = (UART_HandleTypeDef *)((DMA_HandleTypeDef *)hdma)->Parent; - 80061f4: 687b ldr r3, [r7, #4] - 80061f6: 6b9b ldr r3, [r3, #56] @ 0x38 - 80061f8: 60fb str r3, [r7, #12] + 8006862: 687b ldr r3, [r7, #4] + 8006864: 6b9b ldr r3, [r3, #56] @ 0x38 + 8006866: 60fb str r3, [r7, #12] huart->RxXferCount = 0x00U; - 80061fa: 68fb ldr r3, [r7, #12] - 80061fc: 2200 movs r2, #0 - 80061fe: 85da strh r2, [r3, #46] @ 0x2e + 8006868: 68fb ldr r3, [r7, #12] + 800686a: 2200 movs r2, #0 + 800686c: 85da strh r2, [r3, #46] @ 0x2e #if (USE_HAL_UART_REGISTER_CALLBACKS == 1) /*Call registered error callback*/ huart->ErrorCallback(huart); #else /*Call legacy weak error callback*/ HAL_UART_ErrorCallback(huart); - 8006200: 68f8 ldr r0, [r7, #12] - 8006202: f7ff fead bl 8005f60 + 800686e: 68f8 ldr r0, [r7, #12] + 8006870: f7ff fcfa bl 8006268 #endif /* USE_HAL_UART_REGISTER_CALLBACKS */ } - 8006206: bf00 nop - 8006208: 3710 adds r7, #16 - 800620a: 46bd mov sp, r7 - 800620c: bd80 pop {r7, pc} + 8006874: bf00 nop + 8006876: 3710 adds r7, #16 + 8006878: 46bd mov sp, r7 + 800687a: bd80 pop {r7, pc} -0800620e : +0800687c : * @param huart Pointer to a UART_HandleTypeDef structure that contains * the configuration information for the specified UART module. * @retval HAL status */ static HAL_StatusTypeDef UART_Transmit_IT(UART_HandleTypeDef *huart) { - 800620e: b480 push {r7} - 8006210: b085 sub sp, #20 - 8006212: af00 add r7, sp, #0 - 8006214: 6078 str r0, [r7, #4] + 800687c: b480 push {r7} + 800687e: b085 sub sp, #20 + 8006880: af00 add r7, sp, #0 + 8006882: 6078 str r0, [r7, #4] const uint16_t *tmp; /* Check that a Tx process is ongoing */ if (huart->gState == HAL_UART_STATE_BUSY_TX) - 8006216: 687b ldr r3, [r7, #4] - 8006218: f893 3041 ldrb.w r3, [r3, #65] @ 0x41 - 800621c: b2db uxtb r3, r3 - 800621e: 2b21 cmp r3, #33 @ 0x21 - 8006220: d13e bne.n 80062a0 + 8006884: 687b ldr r3, [r7, #4] + 8006886: f893 3041 ldrb.w r3, [r3, #65] @ 0x41 + 800688a: b2db uxtb r3, r3 + 800688c: 2b21 cmp r3, #33 @ 0x21 + 800688e: d13e bne.n 800690e { if ((huart->Init.WordLength == UART_WORDLENGTH_9B) && (huart->Init.Parity == UART_PARITY_NONE)) - 8006222: 687b ldr r3, [r7, #4] - 8006224: 689b ldr r3, [r3, #8] - 8006226: f5b3 5f80 cmp.w r3, #4096 @ 0x1000 - 800622a: d114 bne.n 8006256 - 800622c: 687b ldr r3, [r7, #4] - 800622e: 691b ldr r3, [r3, #16] - 8006230: 2b00 cmp r3, #0 - 8006232: d110 bne.n 8006256 + 8006890: 687b ldr r3, [r7, #4] + 8006892: 689b ldr r3, [r3, #8] + 8006894: f5b3 5f80 cmp.w r3, #4096 @ 0x1000 + 8006898: d114 bne.n 80068c4 + 800689a: 687b ldr r3, [r7, #4] + 800689c: 691b ldr r3, [r3, #16] + 800689e: 2b00 cmp r3, #0 + 80068a0: d110 bne.n 80068c4 { tmp = (const uint16_t *) huart->pTxBuffPtr; - 8006234: 687b ldr r3, [r7, #4] - 8006236: 6a1b ldr r3, [r3, #32] - 8006238: 60fb str r3, [r7, #12] + 80068a2: 687b ldr r3, [r7, #4] + 80068a4: 6a1b ldr r3, [r3, #32] + 80068a6: 60fb str r3, [r7, #12] huart->Instance->DR = (uint16_t)(*tmp & (uint16_t)0x01FF); - 800623a: 68fb ldr r3, [r7, #12] - 800623c: 881b ldrh r3, [r3, #0] - 800623e: 461a mov r2, r3 - 8006240: 687b ldr r3, [r7, #4] - 8006242: 681b ldr r3, [r3, #0] - 8006244: f3c2 0208 ubfx r2, r2, #0, #9 - 8006248: 605a str r2, [r3, #4] + 80068a8: 68fb ldr r3, [r7, #12] + 80068aa: 881b ldrh r3, [r3, #0] + 80068ac: 461a mov r2, r3 + 80068ae: 687b ldr r3, [r7, #4] + 80068b0: 681b ldr r3, [r3, #0] + 80068b2: f3c2 0208 ubfx r2, r2, #0, #9 + 80068b6: 605a str r2, [r3, #4] huart->pTxBuffPtr += 2U; - 800624a: 687b ldr r3, [r7, #4] - 800624c: 6a1b ldr r3, [r3, #32] - 800624e: 1c9a adds r2, r3, #2 - 8006250: 687b ldr r3, [r7, #4] - 8006252: 621a str r2, [r3, #32] - 8006254: e008 b.n 8006268 + 80068b8: 687b ldr r3, [r7, #4] + 80068ba: 6a1b ldr r3, [r3, #32] + 80068bc: 1c9a adds r2, r3, #2 + 80068be: 687b ldr r3, [r7, #4] + 80068c0: 621a str r2, [r3, #32] + 80068c2: e008 b.n 80068d6 } else { huart->Instance->DR = (uint8_t)(*huart->pTxBuffPtr++ & (uint8_t)0x00FF); - 8006256: 687b ldr r3, [r7, #4] - 8006258: 6a1b ldr r3, [r3, #32] - 800625a: 1c59 adds r1, r3, #1 - 800625c: 687a ldr r2, [r7, #4] - 800625e: 6211 str r1, [r2, #32] - 8006260: 781a ldrb r2, [r3, #0] - 8006262: 687b ldr r3, [r7, #4] - 8006264: 681b ldr r3, [r3, #0] - 8006266: 605a str r2, [r3, #4] + 80068c4: 687b ldr r3, [r7, #4] + 80068c6: 6a1b ldr r3, [r3, #32] + 80068c8: 1c59 adds r1, r3, #1 + 80068ca: 687a ldr r2, [r7, #4] + 80068cc: 6211 str r1, [r2, #32] + 80068ce: 781a ldrb r2, [r3, #0] + 80068d0: 687b ldr r3, [r7, #4] + 80068d2: 681b ldr r3, [r3, #0] + 80068d4: 605a str r2, [r3, #4] } if (--huart->TxXferCount == 0U) - 8006268: 687b ldr r3, [r7, #4] - 800626a: 8cdb ldrh r3, [r3, #38] @ 0x26 - 800626c: b29b uxth r3, r3 - 800626e: 3b01 subs r3, #1 - 8006270: b29b uxth r3, r3 - 8006272: 687a ldr r2, [r7, #4] - 8006274: 4619 mov r1, r3 - 8006276: 84d1 strh r1, [r2, #38] @ 0x26 - 8006278: 2b00 cmp r3, #0 - 800627a: d10f bne.n 800629c + 80068d6: 687b ldr r3, [r7, #4] + 80068d8: 8cdb ldrh r3, [r3, #38] @ 0x26 + 80068da: b29b uxth r3, r3 + 80068dc: 3b01 subs r3, #1 + 80068de: b29b uxth r3, r3 + 80068e0: 687a ldr r2, [r7, #4] + 80068e2: 4619 mov r1, r3 + 80068e4: 84d1 strh r1, [r2, #38] @ 0x26 + 80068e6: 2b00 cmp r3, #0 + 80068e8: d10f bne.n 800690a { /* Disable the UART Transmit Data Register Empty Interrupt */ __HAL_UART_DISABLE_IT(huart, UART_IT_TXE); - 800627c: 687b ldr r3, [r7, #4] - 800627e: 681b ldr r3, [r3, #0] - 8006280: 68da ldr r2, [r3, #12] - 8006282: 687b ldr r3, [r7, #4] - 8006284: 681b ldr r3, [r3, #0] - 8006286: f022 0280 bic.w r2, r2, #128 @ 0x80 - 800628a: 60da str r2, [r3, #12] + 80068ea: 687b ldr r3, [r7, #4] + 80068ec: 681b ldr r3, [r3, #0] + 80068ee: 68da ldr r2, [r3, #12] + 80068f0: 687b ldr r3, [r7, #4] + 80068f2: 681b ldr r3, [r3, #0] + 80068f4: f022 0280 bic.w r2, r2, #128 @ 0x80 + 80068f8: 60da str r2, [r3, #12] /* Enable the UART Transmit Complete Interrupt */ __HAL_UART_ENABLE_IT(huart, UART_IT_TC); - 800628c: 687b ldr r3, [r7, #4] - 800628e: 681b ldr r3, [r3, #0] - 8006290: 68da ldr r2, [r3, #12] - 8006292: 687b ldr r3, [r7, #4] - 8006294: 681b ldr r3, [r3, #0] - 8006296: f042 0240 orr.w r2, r2, #64 @ 0x40 - 800629a: 60da str r2, [r3, #12] + 80068fa: 687b ldr r3, [r7, #4] + 80068fc: 681b ldr r3, [r3, #0] + 80068fe: 68da ldr r2, [r3, #12] + 8006900: 687b ldr r3, [r7, #4] + 8006902: 681b ldr r3, [r3, #0] + 8006904: f042 0240 orr.w r2, r2, #64 @ 0x40 + 8006908: 60da str r2, [r3, #12] } return HAL_OK; - 800629c: 2300 movs r3, #0 - 800629e: e000 b.n 80062a2 + 800690a: 2300 movs r3, #0 + 800690c: e000 b.n 8006910 } else { return HAL_BUSY; - 80062a0: 2302 movs r3, #2 + 800690e: 2302 movs r3, #2 } } - 80062a2: 4618 mov r0, r3 - 80062a4: 3714 adds r7, #20 - 80062a6: 46bd mov sp, r7 - 80062a8: f85d 7b04 ldr.w r7, [sp], #4 - 80062ac: 4770 bx lr + 8006910: 4618 mov r0, r3 + 8006912: 3714 adds r7, #20 + 8006914: 46bd mov sp, r7 + 8006916: f85d 7b04 ldr.w r7, [sp], #4 + 800691a: 4770 bx lr -080062ae : +0800691c : * @param huart Pointer to a UART_HandleTypeDef structure that contains * the configuration information for the specified UART module. * @retval HAL status */ static HAL_StatusTypeDef UART_EndTransmit_IT(UART_HandleTypeDef *huart) { - 80062ae: b580 push {r7, lr} - 80062b0: b082 sub sp, #8 - 80062b2: af00 add r7, sp, #0 - 80062b4: 6078 str r0, [r7, #4] + 800691c: b580 push {r7, lr} + 800691e: b082 sub sp, #8 + 8006920: af00 add r7, sp, #0 + 8006922: 6078 str r0, [r7, #4] /* Disable the UART Transmit Complete Interrupt */ __HAL_UART_DISABLE_IT(huart, UART_IT_TC); - 80062b6: 687b ldr r3, [r7, #4] - 80062b8: 681b ldr r3, [r3, #0] - 80062ba: 68da ldr r2, [r3, #12] - 80062bc: 687b ldr r3, [r7, #4] - 80062be: 681b ldr r3, [r3, #0] - 80062c0: f022 0240 bic.w r2, r2, #64 @ 0x40 - 80062c4: 60da str r2, [r3, #12] + 8006924: 687b ldr r3, [r7, #4] + 8006926: 681b ldr r3, [r3, #0] + 8006928: 68da ldr r2, [r3, #12] + 800692a: 687b ldr r3, [r7, #4] + 800692c: 681b ldr r3, [r3, #0] + 800692e: f022 0240 bic.w r2, r2, #64 @ 0x40 + 8006932: 60da str r2, [r3, #12] /* Tx process is ended, restore huart->gState to Ready */ huart->gState = HAL_UART_STATE_READY; - 80062c6: 687b ldr r3, [r7, #4] - 80062c8: 2220 movs r2, #32 - 80062ca: f883 2041 strb.w r2, [r3, #65] @ 0x41 + 8006934: 687b ldr r3, [r7, #4] + 8006936: 2220 movs r2, #32 + 8006938: f883 2041 strb.w r2, [r3, #65] @ 0x41 #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); - 80062ce: 6878 ldr r0, [r7, #4] - 80062d0: f7ff fe32 bl 8005f38 + 800693c: 6878 ldr r0, [r7, #4] + 800693e: f7ff fc75 bl 800622c #endif /* USE_HAL_UART_REGISTER_CALLBACKS */ return HAL_OK; - 80062d4: 2300 movs r3, #0 + 8006942: 2300 movs r3, #0 } - 80062d6: 4618 mov r0, r3 - 80062d8: 3708 adds r7, #8 - 80062da: 46bd mov sp, r7 - 80062dc: bd80 pop {r7, pc} + 8006944: 4618 mov r0, r3 + 8006946: 3708 adds r7, #8 + 8006948: 46bd mov sp, r7 + 800694a: bd80 pop {r7, pc} -080062de : +0800694c : * @param huart Pointer to a UART_HandleTypeDef structure that contains * the configuration information for the specified UART module. * @retval HAL status */ static HAL_StatusTypeDef UART_Receive_IT(UART_HandleTypeDef *huart) { - 80062de: b580 push {r7, lr} - 80062e0: b08c sub sp, #48 @ 0x30 - 80062e2: af00 add r7, sp, #0 - 80062e4: 6078 str r0, [r7, #4] + 800694c: b580 push {r7, lr} + 800694e: b08c sub sp, #48 @ 0x30 + 8006950: af00 add r7, sp, #0 + 8006952: 6078 str r0, [r7, #4] uint8_t *pdata8bits = NULL; - 80062e6: 2300 movs r3, #0 - 80062e8: 62fb str r3, [r7, #44] @ 0x2c + 8006954: 2300 movs r3, #0 + 8006956: 62fb str r3, [r7, #44] @ 0x2c uint16_t *pdata16bits = NULL; - 80062ea: 2300 movs r3, #0 - 80062ec: 62bb str r3, [r7, #40] @ 0x28 + 8006958: 2300 movs r3, #0 + 800695a: 62bb str r3, [r7, #40] @ 0x28 /* Check that a Rx process is ongoing */ if (huart->RxState == HAL_UART_STATE_BUSY_RX) - 80062ee: 687b ldr r3, [r7, #4] - 80062f0: f893 3042 ldrb.w r3, [r3, #66] @ 0x42 - 80062f4: b2db uxtb r3, r3 - 80062f6: 2b22 cmp r3, #34 @ 0x22 - 80062f8: f040 80aa bne.w 8006450 + 800695c: 687b ldr r3, [r7, #4] + 800695e: f893 3042 ldrb.w r3, [r3, #66] @ 0x42 + 8006962: b2db uxtb r3, r3 + 8006964: 2b22 cmp r3, #34 @ 0x22 + 8006966: f040 80aa bne.w 8006abe { if ((huart->Init.WordLength == UART_WORDLENGTH_9B) && (huart->Init.Parity == UART_PARITY_NONE)) - 80062fc: 687b ldr r3, [r7, #4] - 80062fe: 689b ldr r3, [r3, #8] - 8006300: f5b3 5f80 cmp.w r3, #4096 @ 0x1000 - 8006304: d115 bne.n 8006332 - 8006306: 687b ldr r3, [r7, #4] - 8006308: 691b ldr r3, [r3, #16] - 800630a: 2b00 cmp r3, #0 - 800630c: d111 bne.n 8006332 + 800696a: 687b ldr r3, [r7, #4] + 800696c: 689b ldr r3, [r3, #8] + 800696e: f5b3 5f80 cmp.w r3, #4096 @ 0x1000 + 8006972: d115 bne.n 80069a0 + 8006974: 687b ldr r3, [r7, #4] + 8006976: 691b ldr r3, [r3, #16] + 8006978: 2b00 cmp r3, #0 + 800697a: d111 bne.n 80069a0 { /* Unused pdata8bits */ UNUSED(pdata8bits); pdata16bits = (uint16_t *) huart->pRxBuffPtr; - 800630e: 687b ldr r3, [r7, #4] - 8006310: 6a9b ldr r3, [r3, #40] @ 0x28 - 8006312: 62bb str r3, [r7, #40] @ 0x28 + 800697c: 687b ldr r3, [r7, #4] + 800697e: 6a9b ldr r3, [r3, #40] @ 0x28 + 8006980: 62bb str r3, [r7, #40] @ 0x28 *pdata16bits = (uint16_t)(huart->Instance->DR & (uint16_t)0x01FF); - 8006314: 687b ldr r3, [r7, #4] - 8006316: 681b ldr r3, [r3, #0] - 8006318: 685b ldr r3, [r3, #4] - 800631a: b29b uxth r3, r3 - 800631c: f3c3 0308 ubfx r3, r3, #0, #9 - 8006320: b29a uxth r2, r3 - 8006322: 6abb ldr r3, [r7, #40] @ 0x28 - 8006324: 801a strh r2, [r3, #0] + 8006982: 687b ldr r3, [r7, #4] + 8006984: 681b ldr r3, [r3, #0] + 8006986: 685b ldr r3, [r3, #4] + 8006988: b29b uxth r3, r3 + 800698a: f3c3 0308 ubfx r3, r3, #0, #9 + 800698e: b29a uxth r2, r3 + 8006990: 6abb ldr r3, [r7, #40] @ 0x28 + 8006992: 801a strh r2, [r3, #0] huart->pRxBuffPtr += 2U; - 8006326: 687b ldr r3, [r7, #4] - 8006328: 6a9b ldr r3, [r3, #40] @ 0x28 - 800632a: 1c9a adds r2, r3, #2 - 800632c: 687b ldr r3, [r7, #4] - 800632e: 629a str r2, [r3, #40] @ 0x28 - 8006330: e024 b.n 800637c + 8006994: 687b ldr r3, [r7, #4] + 8006996: 6a9b ldr r3, [r3, #40] @ 0x28 + 8006998: 1c9a adds r2, r3, #2 + 800699a: 687b ldr r3, [r7, #4] + 800699c: 629a str r2, [r3, #40] @ 0x28 + 800699e: e024 b.n 80069ea } else { pdata8bits = (uint8_t *) huart->pRxBuffPtr; - 8006332: 687b ldr r3, [r7, #4] - 8006334: 6a9b ldr r3, [r3, #40] @ 0x28 - 8006336: 62fb str r3, [r7, #44] @ 0x2c + 80069a0: 687b ldr r3, [r7, #4] + 80069a2: 6a9b ldr r3, [r3, #40] @ 0x28 + 80069a4: 62fb str r3, [r7, #44] @ 0x2c /* Unused pdata16bits */ UNUSED(pdata16bits); if ((huart->Init.WordLength == UART_WORDLENGTH_9B) || ((huart->Init.WordLength == UART_WORDLENGTH_8B) && (huart->Init.Parity == UART_PARITY_NONE))) - 8006338: 687b ldr r3, [r7, #4] - 800633a: 689b ldr r3, [r3, #8] - 800633c: f5b3 5f80 cmp.w r3, #4096 @ 0x1000 - 8006340: d007 beq.n 8006352 - 8006342: 687b ldr r3, [r7, #4] - 8006344: 689b ldr r3, [r3, #8] - 8006346: 2b00 cmp r3, #0 - 8006348: d10a bne.n 8006360 - 800634a: 687b ldr r3, [r7, #4] - 800634c: 691b ldr r3, [r3, #16] - 800634e: 2b00 cmp r3, #0 - 8006350: d106 bne.n 8006360 + 80069a6: 687b ldr r3, [r7, #4] + 80069a8: 689b ldr r3, [r3, #8] + 80069aa: f5b3 5f80 cmp.w r3, #4096 @ 0x1000 + 80069ae: d007 beq.n 80069c0 + 80069b0: 687b ldr r3, [r7, #4] + 80069b2: 689b ldr r3, [r3, #8] + 80069b4: 2b00 cmp r3, #0 + 80069b6: d10a bne.n 80069ce + 80069b8: 687b ldr r3, [r7, #4] + 80069ba: 691b ldr r3, [r3, #16] + 80069bc: 2b00 cmp r3, #0 + 80069be: d106 bne.n 80069ce { *pdata8bits = (uint8_t)(huart->Instance->DR & (uint8_t)0x00FF); - 8006352: 687b ldr r3, [r7, #4] - 8006354: 681b ldr r3, [r3, #0] - 8006356: 685b ldr r3, [r3, #4] - 8006358: b2da uxtb r2, r3 - 800635a: 6afb ldr r3, [r7, #44] @ 0x2c - 800635c: 701a strb r2, [r3, #0] - 800635e: e008 b.n 8006372 + 80069c0: 687b ldr r3, [r7, #4] + 80069c2: 681b ldr r3, [r3, #0] + 80069c4: 685b ldr r3, [r3, #4] + 80069c6: b2da uxtb r2, r3 + 80069c8: 6afb ldr r3, [r7, #44] @ 0x2c + 80069ca: 701a strb r2, [r3, #0] + 80069cc: e008 b.n 80069e0 } else { *pdata8bits = (uint8_t)(huart->Instance->DR & (uint8_t)0x007F); - 8006360: 687b ldr r3, [r7, #4] - 8006362: 681b ldr r3, [r3, #0] - 8006364: 685b ldr r3, [r3, #4] - 8006366: b2db uxtb r3, r3 - 8006368: f003 037f and.w r3, r3, #127 @ 0x7f - 800636c: b2da uxtb r2, r3 - 800636e: 6afb ldr r3, [r7, #44] @ 0x2c - 8006370: 701a strb r2, [r3, #0] + 80069ce: 687b ldr r3, [r7, #4] + 80069d0: 681b ldr r3, [r3, #0] + 80069d2: 685b ldr r3, [r3, #4] + 80069d4: b2db uxtb r3, r3 + 80069d6: f003 037f and.w r3, r3, #127 @ 0x7f + 80069da: b2da uxtb r2, r3 + 80069dc: 6afb ldr r3, [r7, #44] @ 0x2c + 80069de: 701a strb r2, [r3, #0] } huart->pRxBuffPtr += 1U; - 8006372: 687b ldr r3, [r7, #4] - 8006374: 6a9b ldr r3, [r3, #40] @ 0x28 - 8006376: 1c5a adds r2, r3, #1 - 8006378: 687b ldr r3, [r7, #4] - 800637a: 629a str r2, [r3, #40] @ 0x28 + 80069e0: 687b ldr r3, [r7, #4] + 80069e2: 6a9b ldr r3, [r3, #40] @ 0x28 + 80069e4: 1c5a adds r2, r3, #1 + 80069e6: 687b ldr r3, [r7, #4] + 80069e8: 629a str r2, [r3, #40] @ 0x28 } if (--huart->RxXferCount == 0U) - 800637c: 687b ldr r3, [r7, #4] - 800637e: 8ddb ldrh r3, [r3, #46] @ 0x2e - 8006380: b29b uxth r3, r3 - 8006382: 3b01 subs r3, #1 - 8006384: b29b uxth r3, r3 - 8006386: 687a ldr r2, [r7, #4] - 8006388: 4619 mov r1, r3 - 800638a: 85d1 strh r1, [r2, #46] @ 0x2e - 800638c: 2b00 cmp r3, #0 - 800638e: d15d bne.n 800644c + 80069ea: 687b ldr r3, [r7, #4] + 80069ec: 8ddb ldrh r3, [r3, #46] @ 0x2e + 80069ee: b29b uxth r3, r3 + 80069f0: 3b01 subs r3, #1 + 80069f2: b29b uxth r3, r3 + 80069f4: 687a ldr r2, [r7, #4] + 80069f6: 4619 mov r1, r3 + 80069f8: 85d1 strh r1, [r2, #46] @ 0x2e + 80069fa: 2b00 cmp r3, #0 + 80069fc: d15d bne.n 8006aba { /* Disable the UART Data Register not empty Interrupt */ __HAL_UART_DISABLE_IT(huart, UART_IT_RXNE); - 8006390: 687b ldr r3, [r7, #4] - 8006392: 681b ldr r3, [r3, #0] - 8006394: 68da ldr r2, [r3, #12] - 8006396: 687b ldr r3, [r7, #4] - 8006398: 681b ldr r3, [r3, #0] - 800639a: f022 0220 bic.w r2, r2, #32 - 800639e: 60da str r2, [r3, #12] + 80069fe: 687b ldr r3, [r7, #4] + 8006a00: 681b ldr r3, [r3, #0] + 8006a02: 68da ldr r2, [r3, #12] + 8006a04: 687b ldr r3, [r7, #4] + 8006a06: 681b ldr r3, [r3, #0] + 8006a08: f022 0220 bic.w r2, r2, #32 + 8006a0c: 60da str r2, [r3, #12] /* Disable the UART Parity Error Interrupt */ __HAL_UART_DISABLE_IT(huart, UART_IT_PE); - 80063a0: 687b ldr r3, [r7, #4] - 80063a2: 681b ldr r3, [r3, #0] - 80063a4: 68da ldr r2, [r3, #12] - 80063a6: 687b ldr r3, [r7, #4] - 80063a8: 681b ldr r3, [r3, #0] - 80063aa: f422 7280 bic.w r2, r2, #256 @ 0x100 - 80063ae: 60da str r2, [r3, #12] + 8006a0e: 687b ldr r3, [r7, #4] + 8006a10: 681b ldr r3, [r3, #0] + 8006a12: 68da ldr r2, [r3, #12] + 8006a14: 687b ldr r3, [r7, #4] + 8006a16: 681b ldr r3, [r3, #0] + 8006a18: f422 7280 bic.w r2, r2, #256 @ 0x100 + 8006a1c: 60da str r2, [r3, #12] /* Disable the UART Error Interrupt: (Frame error, noise error, overrun error) */ __HAL_UART_DISABLE_IT(huart, UART_IT_ERR); - 80063b0: 687b ldr r3, [r7, #4] - 80063b2: 681b ldr r3, [r3, #0] - 80063b4: 695a ldr r2, [r3, #20] - 80063b6: 687b ldr r3, [r7, #4] - 80063b8: 681b ldr r3, [r3, #0] - 80063ba: f022 0201 bic.w r2, r2, #1 - 80063be: 615a str r2, [r3, #20] + 8006a1e: 687b ldr r3, [r7, #4] + 8006a20: 681b ldr r3, [r3, #0] + 8006a22: 695a ldr r2, [r3, #20] + 8006a24: 687b ldr r3, [r7, #4] + 8006a26: 681b ldr r3, [r3, #0] + 8006a28: f022 0201 bic.w r2, r2, #1 + 8006a2c: 615a str r2, [r3, #20] /* Rx process is completed, restore huart->RxState to Ready */ huart->RxState = HAL_UART_STATE_READY; - 80063c0: 687b ldr r3, [r7, #4] - 80063c2: 2220 movs r2, #32 - 80063c4: f883 2042 strb.w r2, [r3, #66] @ 0x42 + 8006a2e: 687b ldr r3, [r7, #4] + 8006a30: 2220 movs r2, #32 + 8006a32: f883 2042 strb.w r2, [r3, #66] @ 0x42 /* Initialize type of RxEvent to Transfer Complete */ huart->RxEventType = HAL_UART_RXEVENT_TC; - 80063c8: 687b ldr r3, [r7, #4] - 80063ca: 2200 movs r2, #0 - 80063cc: 635a str r2, [r3, #52] @ 0x34 + 8006a36: 687b ldr r3, [r7, #4] + 8006a38: 2200 movs r2, #0 + 8006a3a: 635a str r2, [r3, #52] @ 0x34 /* Check current reception Mode : If Reception till IDLE event has been selected : */ if (huart->ReceptionType == HAL_UART_RECEPTION_TOIDLE) - 80063ce: 687b ldr r3, [r7, #4] - 80063d0: 6b1b ldr r3, [r3, #48] @ 0x30 - 80063d2: 2b01 cmp r3, #1 - 80063d4: d135 bne.n 8006442 + 8006a3c: 687b ldr r3, [r7, #4] + 8006a3e: 6b1b ldr r3, [r3, #48] @ 0x30 + 8006a40: 2b01 cmp r3, #1 + 8006a42: d135 bne.n 8006ab0 { /* Set reception type to Standard */ huart->ReceptionType = HAL_UART_RECEPTION_STANDARD; - 80063d6: 687b ldr r3, [r7, #4] - 80063d8: 2200 movs r2, #0 - 80063da: 631a str r2, [r3, #48] @ 0x30 + 8006a44: 687b ldr r3, [r7, #4] + 8006a46: 2200 movs r2, #0 + 8006a48: 631a str r2, [r3, #48] @ 0x30 /* Disable IDLE interrupt */ ATOMIC_CLEAR_BIT(huart->Instance->CR1, USART_CR1_IDLEIE); - 80063dc: 687b ldr r3, [r7, #4] - 80063de: 681b ldr r3, [r3, #0] - 80063e0: 330c adds r3, #12 - 80063e2: 617b str r3, [r7, #20] + 8006a4a: 687b ldr r3, [r7, #4] + 8006a4c: 681b ldr r3, [r3, #0] + 8006a4e: 330c adds r3, #12 + 8006a50: 617b str r3, [r7, #20] __ASM volatile ("ldrex %0, %1" : "=r" (result) : "Q" (*addr) ); - 80063e4: 697b ldr r3, [r7, #20] - 80063e6: e853 3f00 ldrex r3, [r3] - 80063ea: 613b str r3, [r7, #16] + 8006a52: 697b ldr r3, [r7, #20] + 8006a54: e853 3f00 ldrex r3, [r3] + 8006a58: 613b str r3, [r7, #16] return(result); - 80063ec: 693b ldr r3, [r7, #16] - 80063ee: f023 0310 bic.w r3, r3, #16 - 80063f2: 627b str r3, [r7, #36] @ 0x24 - 80063f4: 687b ldr r3, [r7, #4] - 80063f6: 681b ldr r3, [r3, #0] - 80063f8: 330c adds r3, #12 - 80063fa: 6a7a ldr r2, [r7, #36] @ 0x24 - 80063fc: 623a str r2, [r7, #32] - 80063fe: 61fb str r3, [r7, #28] + 8006a5a: 693b ldr r3, [r7, #16] + 8006a5c: f023 0310 bic.w r3, r3, #16 + 8006a60: 627b str r3, [r7, #36] @ 0x24 + 8006a62: 687b ldr r3, [r7, #4] + 8006a64: 681b ldr r3, [r3, #0] + 8006a66: 330c adds r3, #12 + 8006a68: 6a7a ldr r2, [r7, #36] @ 0x24 + 8006a6a: 623a str r2, [r7, #32] + 8006a6c: 61fb str r3, [r7, #28] __ASM volatile ("strex %0, %2, %1" : "=&r" (result), "=Q" (*addr) : "r" (value) ); - 8006400: 69f9 ldr r1, [r7, #28] - 8006402: 6a3a ldr r2, [r7, #32] - 8006404: e841 2300 strex r3, r2, [r1] - 8006408: 61bb str r3, [r7, #24] + 8006a6e: 69f9 ldr r1, [r7, #28] + 8006a70: 6a3a ldr r2, [r7, #32] + 8006a72: e841 2300 strex r3, r2, [r1] + 8006a76: 61bb str r3, [r7, #24] return(result); - 800640a: 69bb ldr r3, [r7, #24] - 800640c: 2b00 cmp r3, #0 - 800640e: d1e5 bne.n 80063dc + 8006a78: 69bb ldr r3, [r7, #24] + 8006a7a: 2b00 cmp r3, #0 + 8006a7c: d1e5 bne.n 8006a4a /* Check if IDLE flag is set */ if (__HAL_UART_GET_FLAG(huart, UART_FLAG_IDLE)) - 8006410: 687b ldr r3, [r7, #4] - 8006412: 681b ldr r3, [r3, #0] - 8006414: 681b ldr r3, [r3, #0] - 8006416: f003 0310 and.w r3, r3, #16 - 800641a: 2b10 cmp r3, #16 - 800641c: d10a bne.n 8006434 + 8006a7e: 687b ldr r3, [r7, #4] + 8006a80: 681b ldr r3, [r3, #0] + 8006a82: 681b ldr r3, [r3, #0] + 8006a84: f003 0310 and.w r3, r3, #16 + 8006a88: 2b10 cmp r3, #16 + 8006a8a: d10a bne.n 8006aa2 { /* Clear IDLE flag in ISR */ __HAL_UART_CLEAR_IDLEFLAG(huart); - 800641e: 2300 movs r3, #0 - 8006420: 60fb str r3, [r7, #12] - 8006422: 687b ldr r3, [r7, #4] - 8006424: 681b ldr r3, [r3, #0] - 8006426: 681b ldr r3, [r3, #0] - 8006428: 60fb str r3, [r7, #12] - 800642a: 687b ldr r3, [r7, #4] - 800642c: 681b ldr r3, [r3, #0] - 800642e: 685b ldr r3, [r3, #4] - 8006430: 60fb str r3, [r7, #12] - 8006432: 68fb ldr r3, [r7, #12] + 8006a8c: 2300 movs r3, #0 + 8006a8e: 60fb str r3, [r7, #12] + 8006a90: 687b ldr r3, [r7, #4] + 8006a92: 681b ldr r3, [r3, #0] + 8006a94: 681b ldr r3, [r3, #0] + 8006a96: 60fb str r3, [r7, #12] + 8006a98: 687b ldr r3, [r7, #4] + 8006a9a: 681b ldr r3, [r3, #0] + 8006a9c: 685b ldr r3, [r3, #4] + 8006a9e: 60fb str r3, [r7, #12] + 8006aa0: 68fb ldr r3, [r7, #12] #if (USE_HAL_UART_REGISTER_CALLBACKS == 1) /*Call registered Rx Event callback*/ huart->RxEventCallback(huart, huart->RxXferSize); #else /*Call legacy weak Rx Event callback*/ HAL_UARTEx_RxEventCallback(huart, huart->RxXferSize); - 8006434: 687b ldr r3, [r7, #4] - 8006436: 8d9b ldrh r3, [r3, #44] @ 0x2c - 8006438: 4619 mov r1, r3 - 800643a: 6878 ldr r0, [r7, #4] - 800643c: f7ff fd9a bl 8005f74 - 8006440: e002 b.n 8006448 + 8006aa2: 687b ldr r3, [r7, #4] + 8006aa4: 8d9b ldrh r3, [r3, #44] @ 0x2c + 8006aa6: 4619 mov r1, r3 + 8006aa8: 6878 ldr r0, [r7, #4] + 8006aaa: f7ff fbe7 bl 800627c + 8006aae: e002 b.n 8006ab6 #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); - 8006442: 6878 ldr r0, [r7, #4] - 8006444: f7fa fade bl 8000a04 + 8006ab0: 6878 ldr r0, [r7, #4] + 8006ab2: f7f9 ffc3 bl 8000a3c #endif /* USE_HAL_UART_REGISTER_CALLBACKS */ } return HAL_OK; - 8006448: 2300 movs r3, #0 - 800644a: e002 b.n 8006452 + 8006ab6: 2300 movs r3, #0 + 8006ab8: e002 b.n 8006ac0 } return HAL_OK; - 800644c: 2300 movs r3, #0 - 800644e: e000 b.n 8006452 + 8006aba: 2300 movs r3, #0 + 8006abc: e000 b.n 8006ac0 } else { return HAL_BUSY; - 8006450: 2302 movs r3, #2 + 8006abe: 2302 movs r3, #2 } } - 8006452: 4618 mov r0, r3 - 8006454: 3730 adds r7, #48 @ 0x30 - 8006456: 46bd mov sp, r7 - 8006458: bd80 pop {r7, pc} - ... + 8006ac0: 4618 mov r0, r3 + 8006ac2: 3730 adds r7, #48 @ 0x30 + 8006ac4: 46bd mov sp, r7 + 8006ac6: bd80 pop {r7, pc} -0800645c : +08006ac8 : * @param huart Pointer to a UART_HandleTypeDef structure that contains * the configuration information for the specified UART module. * @retval None */ static void UART_SetConfig(UART_HandleTypeDef *huart) { - 800645c: e92d 4fb0 stmdb sp!, {r4, r5, r7, r8, r9, sl, fp, lr} - 8006460: b0c0 sub sp, #256 @ 0x100 - 8006462: af00 add r7, sp, #0 - 8006464: f8c7 00f4 str.w r0, [r7, #244] @ 0xf4 + 8006ac8: e92d 4fb0 stmdb sp!, {r4, r5, r7, r8, r9, sl, fp, lr} + 8006acc: b0c0 sub sp, #256 @ 0x100 + 8006ace: af00 add r7, sp, #0 + 8006ad0: f8c7 00f4 str.w r0, [r7, #244] @ 0xf4 assert_param(IS_UART_MODE(huart->Init.Mode)); /*-------------------------- 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); - 8006468: f8d7 30f4 ldr.w r3, [r7, #244] @ 0xf4 - 800646c: 681b ldr r3, [r3, #0] - 800646e: 691b ldr r3, [r3, #16] - 8006470: f423 5040 bic.w r0, r3, #12288 @ 0x3000 - 8006474: f8d7 30f4 ldr.w r3, [r7, #244] @ 0xf4 - 8006478: 68d9 ldr r1, [r3, #12] - 800647a: f8d7 30f4 ldr.w r3, [r7, #244] @ 0xf4 - 800647e: 681a ldr r2, [r3, #0] - 8006480: ea40 0301 orr.w r3, r0, r1 - 8006484: 6113 str r3, [r2, #16] + 8006ad4: f8d7 30f4 ldr.w r3, [r7, #244] @ 0xf4 + 8006ad8: 681b ldr r3, [r3, #0] + 8006ada: 691b ldr r3, [r3, #16] + 8006adc: f423 5040 bic.w r0, r3, #12288 @ 0x3000 + 8006ae0: f8d7 30f4 ldr.w r3, [r7, #244] @ 0xf4 + 8006ae4: 68d9 ldr r1, [r3, #12] + 8006ae6: f8d7 30f4 ldr.w r3, [r7, #244] @ 0xf4 + 8006aea: 681a ldr r2, [r3, #0] + 8006aec: ea40 0301 orr.w r3, r0, r1 + 8006af0: 6113 str r3, [r2, #16] 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; - 8006486: f8d7 30f4 ldr.w r3, [r7, #244] @ 0xf4 - 800648a: 689a ldr r2, [r3, #8] - 800648c: f8d7 30f4 ldr.w r3, [r7, #244] @ 0xf4 - 8006490: 691b ldr r3, [r3, #16] - 8006492: 431a orrs r2, r3 - 8006494: f8d7 30f4 ldr.w r3, [r7, #244] @ 0xf4 - 8006498: 695b ldr r3, [r3, #20] - 800649a: 431a orrs r2, r3 - 800649c: f8d7 30f4 ldr.w r3, [r7, #244] @ 0xf4 - 80064a0: 69db ldr r3, [r3, #28] - 80064a2: 4313 orrs r3, r2 - 80064a4: f8c7 30f8 str.w r3, [r7, #248] @ 0xf8 + 8006af2: f8d7 30f4 ldr.w r3, [r7, #244] @ 0xf4 + 8006af6: 689a ldr r2, [r3, #8] + 8006af8: f8d7 30f4 ldr.w r3, [r7, #244] @ 0xf4 + 8006afc: 691b ldr r3, [r3, #16] + 8006afe: 431a orrs r2, r3 + 8006b00: f8d7 30f4 ldr.w r3, [r7, #244] @ 0xf4 + 8006b04: 695b ldr r3, [r3, #20] + 8006b06: 431a orrs r2, r3 + 8006b08: f8d7 30f4 ldr.w r3, [r7, #244] @ 0xf4 + 8006b0c: 69db ldr r3, [r3, #28] + 8006b0e: 4313 orrs r3, r2 + 8006b10: f8c7 30f8 str.w r3, [r7, #248] @ 0xf8 MODIFY_REG(huart->Instance->CR1, - 80064a8: f8d7 30f4 ldr.w r3, [r7, #244] @ 0xf4 - 80064ac: 681b ldr r3, [r3, #0] - 80064ae: 68db ldr r3, [r3, #12] - 80064b0: f423 4116 bic.w r1, r3, #38400 @ 0x9600 - 80064b4: f021 010c bic.w r1, r1, #12 - 80064b8: f8d7 30f4 ldr.w r3, [r7, #244] @ 0xf4 - 80064bc: 681a ldr r2, [r3, #0] - 80064be: f8d7 30f8 ldr.w r3, [r7, #248] @ 0xf8 - 80064c2: 430b orrs r3, r1 - 80064c4: 60d3 str r3, [r2, #12] + 8006b14: f8d7 30f4 ldr.w r3, [r7, #244] @ 0xf4 + 8006b18: 681b ldr r3, [r3, #0] + 8006b1a: 68db ldr r3, [r3, #12] + 8006b1c: f423 4116 bic.w r1, r3, #38400 @ 0x9600 + 8006b20: f021 010c bic.w r1, r1, #12 + 8006b24: f8d7 30f4 ldr.w r3, [r7, #244] @ 0xf4 + 8006b28: 681a ldr r2, [r3, #0] + 8006b2a: f8d7 30f8 ldr.w r3, [r7, #248] @ 0xf8 + 8006b2e: 430b orrs r3, r1 + 8006b30: 60d3 str r3, [r2, #12] (uint32_t)(USART_CR1_M | USART_CR1_PCE | USART_CR1_PS | USART_CR1_TE | USART_CR1_RE | USART_CR1_OVER8), tmpreg); /*-------------------------- USART CR3 Configuration -----------------------*/ /* Configure the UART HFC: Set CTSE and RTSE bits according to huart->Init.HwFlowCtl value */ MODIFY_REG(huart->Instance->CR3, (USART_CR3_RTSE | USART_CR3_CTSE), huart->Init.HwFlowCtl); - 80064c6: f8d7 30f4 ldr.w r3, [r7, #244] @ 0xf4 - 80064ca: 681b ldr r3, [r3, #0] - 80064cc: 695b ldr r3, [r3, #20] - 80064ce: f423 7040 bic.w r0, r3, #768 @ 0x300 - 80064d2: f8d7 30f4 ldr.w r3, [r7, #244] @ 0xf4 - 80064d6: 6999 ldr r1, [r3, #24] - 80064d8: f8d7 30f4 ldr.w r3, [r7, #244] @ 0xf4 - 80064dc: 681a ldr r2, [r3, #0] - 80064de: ea40 0301 orr.w r3, r0, r1 - 80064e2: 6153 str r3, [r2, #20] + 8006b32: f8d7 30f4 ldr.w r3, [r7, #244] @ 0xf4 + 8006b36: 681b ldr r3, [r3, #0] + 8006b38: 695b ldr r3, [r3, #20] + 8006b3a: f423 7040 bic.w r0, r3, #768 @ 0x300 + 8006b3e: f8d7 30f4 ldr.w r3, [r7, #244] @ 0xf4 + 8006b42: 6999 ldr r1, [r3, #24] + 8006b44: f8d7 30f4 ldr.w r3, [r7, #244] @ 0xf4 + 8006b48: 681a ldr r2, [r3, #0] + 8006b4a: ea40 0301 orr.w r3, r0, r1 + 8006b4e: 6153 str r3, [r2, #20] if ((huart->Instance == USART1) || (huart->Instance == USART6) || (huart->Instance == UART9) || (huart->Instance == UART10)) { pclk = HAL_RCC_GetPCLK2Freq(); } #elif defined(USART6) if ((huart->Instance == USART1) || (huart->Instance == USART6)) - 80064e4: f8d7 30f4 ldr.w r3, [r7, #244] @ 0xf4 - 80064e8: 681a ldr r2, [r3, #0] - 80064ea: 4b8f ldr r3, [pc, #572] @ (8006728 ) - 80064ec: 429a cmp r2, r3 - 80064ee: d005 beq.n 80064fc - 80064f0: f8d7 30f4 ldr.w r3, [r7, #244] @ 0xf4 - 80064f4: 681a ldr r2, [r3, #0] - 80064f6: 4b8d ldr r3, [pc, #564] @ (800672c ) - 80064f8: 429a cmp r2, r3 - 80064fa: d104 bne.n 8006506 + 8006b50: f8d7 30f4 ldr.w r3, [r7, #244] @ 0xf4 + 8006b54: 681a ldr r2, [r3, #0] + 8006b56: 4b8f ldr r3, [pc, #572] @ (8006d94 ) + 8006b58: 429a cmp r2, r3 + 8006b5a: d005 beq.n 8006b68 + 8006b5c: f8d7 30f4 ldr.w r3, [r7, #244] @ 0xf4 + 8006b60: 681a ldr r2, [r3, #0] + 8006b62: 4b8d ldr r3, [pc, #564] @ (8006d98 ) + 8006b64: 429a cmp r2, r3 + 8006b66: d104 bne.n 8006b72 { pclk = HAL_RCC_GetPCLK2Freq(); - 80064fc: f7fd fd76 bl 8003fec - 8006500: f8c7 00fc str.w r0, [r7, #252] @ 0xfc - 8006504: e003 b.n 800650e + 8006b68: f7fd fb08 bl 800417c + 8006b6c: f8c7 00fc str.w r0, [r7, #252] @ 0xfc + 8006b70: e003 b.n 8006b7a pclk = HAL_RCC_GetPCLK2Freq(); } #endif /* USART6 */ else { pclk = HAL_RCC_GetPCLK1Freq(); - 8006506: f7fd fd5d bl 8003fc4 - 800650a: f8c7 00fc str.w r0, [r7, #252] @ 0xfc + 8006b72: f7fd faef bl 8004154 + 8006b76: f8c7 00fc str.w r0, [r7, #252] @ 0xfc } /*-------------------------- USART BRR Configuration ---------------------*/ if (huart->Init.OverSampling == UART_OVERSAMPLING_8) - 800650e: f8d7 30f4 ldr.w r3, [r7, #244] @ 0xf4 - 8006512: 69db ldr r3, [r3, #28] - 8006514: f5b3 4f00 cmp.w r3, #32768 @ 0x8000 - 8006518: f040 810c bne.w 8006734 + 8006b7a: f8d7 30f4 ldr.w r3, [r7, #244] @ 0xf4 + 8006b7e: 69db ldr r3, [r3, #28] + 8006b80: f5b3 4f00 cmp.w r3, #32768 @ 0x8000 + 8006b84: f040 810c bne.w 8006da0 { huart->Instance->BRR = UART_BRR_SAMPLING8(pclk, huart->Init.BaudRate); - 800651c: f8d7 30fc ldr.w r3, [r7, #252] @ 0xfc - 8006520: 2200 movs r2, #0 - 8006522: f8c7 30e8 str.w r3, [r7, #232] @ 0xe8 - 8006526: f8c7 20ec str.w r2, [r7, #236] @ 0xec - 800652a: e9d7 453a ldrd r4, r5, [r7, #232] @ 0xe8 - 800652e: 4622 mov r2, r4 - 8006530: 462b mov r3, r5 - 8006532: 1891 adds r1, r2, r2 - 8006534: 65b9 str r1, [r7, #88] @ 0x58 - 8006536: 415b adcs r3, r3 - 8006538: 65fb str r3, [r7, #92] @ 0x5c - 800653a: e9d7 2316 ldrd r2, r3, [r7, #88] @ 0x58 - 800653e: 4621 mov r1, r4 - 8006540: eb12 0801 adds.w r8, r2, r1 - 8006544: 4629 mov r1, r5 - 8006546: eb43 0901 adc.w r9, r3, r1 - 800654a: f04f 0200 mov.w r2, #0 - 800654e: f04f 0300 mov.w r3, #0 - 8006552: ea4f 03c9 mov.w r3, r9, lsl #3 - 8006556: ea43 7358 orr.w r3, r3, r8, lsr #29 - 800655a: ea4f 02c8 mov.w r2, r8, lsl #3 - 800655e: 4690 mov r8, r2 - 8006560: 4699 mov r9, r3 - 8006562: 4623 mov r3, r4 - 8006564: eb18 0303 adds.w r3, r8, r3 - 8006568: f8c7 30e0 str.w r3, [r7, #224] @ 0xe0 - 800656c: 462b mov r3, r5 - 800656e: eb49 0303 adc.w r3, r9, r3 - 8006572: f8c7 30e4 str.w r3, [r7, #228] @ 0xe4 - 8006576: f8d7 30f4 ldr.w r3, [r7, #244] @ 0xf4 - 800657a: 685b ldr r3, [r3, #4] - 800657c: 2200 movs r2, #0 - 800657e: f8c7 30d8 str.w r3, [r7, #216] @ 0xd8 - 8006582: f8c7 20dc str.w r2, [r7, #220] @ 0xdc - 8006586: e9d7 1236 ldrd r1, r2, [r7, #216] @ 0xd8 - 800658a: 460b mov r3, r1 - 800658c: 18db adds r3, r3, r3 - 800658e: 653b str r3, [r7, #80] @ 0x50 - 8006590: 4613 mov r3, r2 - 8006592: eb42 0303 adc.w r3, r2, r3 - 8006596: 657b str r3, [r7, #84] @ 0x54 - 8006598: e9d7 2314 ldrd r2, r3, [r7, #80] @ 0x50 - 800659c: e9d7 0138 ldrd r0, r1, [r7, #224] @ 0xe0 - 80065a0: f7f9 fe30 bl 8000204 <__aeabi_uldivmod> - 80065a4: 4602 mov r2, r0 - 80065a6: 460b mov r3, r1 - 80065a8: 4b61 ldr r3, [pc, #388] @ (8006730 ) - 80065aa: fba3 2302 umull r2, r3, r3, r2 - 80065ae: 095b lsrs r3, r3, #5 - 80065b0: 011c lsls r4, r3, #4 - 80065b2: f8d7 30fc ldr.w r3, [r7, #252] @ 0xfc - 80065b6: 2200 movs r2, #0 - 80065b8: f8c7 30d0 str.w r3, [r7, #208] @ 0xd0 - 80065bc: f8c7 20d4 str.w r2, [r7, #212] @ 0xd4 - 80065c0: e9d7 8934 ldrd r8, r9, [r7, #208] @ 0xd0 - 80065c4: 4642 mov r2, r8 - 80065c6: 464b mov r3, r9 - 80065c8: 1891 adds r1, r2, r2 - 80065ca: 64b9 str r1, [r7, #72] @ 0x48 - 80065cc: 415b adcs r3, r3 - 80065ce: 64fb str r3, [r7, #76] @ 0x4c - 80065d0: e9d7 2312 ldrd r2, r3, [r7, #72] @ 0x48 - 80065d4: 4641 mov r1, r8 - 80065d6: eb12 0a01 adds.w sl, r2, r1 - 80065da: 4649 mov r1, r9 - 80065dc: eb43 0b01 adc.w fp, r3, r1 - 80065e0: f04f 0200 mov.w r2, #0 - 80065e4: f04f 0300 mov.w r3, #0 - 80065e8: ea4f 03cb mov.w r3, fp, lsl #3 - 80065ec: ea43 735a orr.w r3, r3, sl, lsr #29 - 80065f0: ea4f 02ca mov.w r2, sl, lsl #3 - 80065f4: 4692 mov sl, r2 - 80065f6: 469b mov fp, r3 - 80065f8: 4643 mov r3, r8 - 80065fa: eb1a 0303 adds.w r3, sl, r3 - 80065fe: f8c7 30c8 str.w r3, [r7, #200] @ 0xc8 - 8006602: 464b mov r3, r9 - 8006604: eb4b 0303 adc.w r3, fp, r3 - 8006608: f8c7 30cc str.w r3, [r7, #204] @ 0xcc - 800660c: f8d7 30f4 ldr.w r3, [r7, #244] @ 0xf4 - 8006610: 685b ldr r3, [r3, #4] - 8006612: 2200 movs r2, #0 - 8006614: f8c7 30c0 str.w r3, [r7, #192] @ 0xc0 - 8006618: f8c7 20c4 str.w r2, [r7, #196] @ 0xc4 - 800661c: e9d7 1230 ldrd r1, r2, [r7, #192] @ 0xc0 - 8006620: 460b mov r3, r1 - 8006622: 18db adds r3, r3, r3 - 8006624: 643b str r3, [r7, #64] @ 0x40 - 8006626: 4613 mov r3, r2 - 8006628: eb42 0303 adc.w r3, r2, r3 - 800662c: 647b str r3, [r7, #68] @ 0x44 - 800662e: e9d7 2310 ldrd r2, r3, [r7, #64] @ 0x40 - 8006632: e9d7 0132 ldrd r0, r1, [r7, #200] @ 0xc8 - 8006636: f7f9 fde5 bl 8000204 <__aeabi_uldivmod> - 800663a: 4602 mov r2, r0 - 800663c: 460b mov r3, r1 - 800663e: 4611 mov r1, r2 - 8006640: 4b3b ldr r3, [pc, #236] @ (8006730 ) - 8006642: fba3 2301 umull r2, r3, r3, r1 - 8006646: 095b lsrs r3, r3, #5 - 8006648: 2264 movs r2, #100 @ 0x64 - 800664a: fb02 f303 mul.w r3, r2, r3 - 800664e: 1acb subs r3, r1, r3 - 8006650: 00db lsls r3, r3, #3 - 8006652: f103 0232 add.w r2, r3, #50 @ 0x32 - 8006656: 4b36 ldr r3, [pc, #216] @ (8006730 ) - 8006658: fba3 2302 umull r2, r3, r3, r2 - 800665c: 095b lsrs r3, r3, #5 - 800665e: 005b lsls r3, r3, #1 - 8006660: f403 73f8 and.w r3, r3, #496 @ 0x1f0 - 8006664: 441c add r4, r3 - 8006666: f8d7 30fc ldr.w r3, [r7, #252] @ 0xfc - 800666a: 2200 movs r2, #0 - 800666c: f8c7 30b8 str.w r3, [r7, #184] @ 0xb8 - 8006670: f8c7 20bc str.w r2, [r7, #188] @ 0xbc - 8006674: e9d7 892e ldrd r8, r9, [r7, #184] @ 0xb8 - 8006678: 4642 mov r2, r8 - 800667a: 464b mov r3, r9 - 800667c: 1891 adds r1, r2, r2 - 800667e: 63b9 str r1, [r7, #56] @ 0x38 - 8006680: 415b adcs r3, r3 - 8006682: 63fb str r3, [r7, #60] @ 0x3c - 8006684: e9d7 230e ldrd r2, r3, [r7, #56] @ 0x38 - 8006688: 4641 mov r1, r8 - 800668a: 1851 adds r1, r2, r1 - 800668c: 6339 str r1, [r7, #48] @ 0x30 - 800668e: 4649 mov r1, r9 - 8006690: 414b adcs r3, r1 - 8006692: 637b str r3, [r7, #52] @ 0x34 - 8006694: f04f 0200 mov.w r2, #0 - 8006698: f04f 0300 mov.w r3, #0 - 800669c: e9d7 ab0c ldrd sl, fp, [r7, #48] @ 0x30 - 80066a0: 4659 mov r1, fp - 80066a2: 00cb lsls r3, r1, #3 - 80066a4: 4651 mov r1, sl - 80066a6: ea43 7351 orr.w r3, r3, r1, lsr #29 - 80066aa: 4651 mov r1, sl - 80066ac: 00ca lsls r2, r1, #3 - 80066ae: 4610 mov r0, r2 - 80066b0: 4619 mov r1, r3 - 80066b2: 4603 mov r3, r0 - 80066b4: 4642 mov r2, r8 - 80066b6: 189b adds r3, r3, r2 - 80066b8: f8c7 30b0 str.w r3, [r7, #176] @ 0xb0 - 80066bc: 464b mov r3, r9 - 80066be: 460a mov r2, r1 - 80066c0: eb42 0303 adc.w r3, r2, r3 - 80066c4: f8c7 30b4 str.w r3, [r7, #180] @ 0xb4 - 80066c8: f8d7 30f4 ldr.w r3, [r7, #244] @ 0xf4 - 80066cc: 685b ldr r3, [r3, #4] - 80066ce: 2200 movs r2, #0 - 80066d0: f8c7 30a8 str.w r3, [r7, #168] @ 0xa8 - 80066d4: f8c7 20ac str.w r2, [r7, #172] @ 0xac - 80066d8: e9d7 122a ldrd r1, r2, [r7, #168] @ 0xa8 - 80066dc: 460b mov r3, r1 - 80066de: 18db adds r3, r3, r3 - 80066e0: 62bb str r3, [r7, #40] @ 0x28 - 80066e2: 4613 mov r3, r2 - 80066e4: eb42 0303 adc.w r3, r2, r3 - 80066e8: 62fb str r3, [r7, #44] @ 0x2c - 80066ea: e9d7 230a ldrd r2, r3, [r7, #40] @ 0x28 - 80066ee: e9d7 012c ldrd r0, r1, [r7, #176] @ 0xb0 - 80066f2: f7f9 fd87 bl 8000204 <__aeabi_uldivmod> - 80066f6: 4602 mov r2, r0 - 80066f8: 460b mov r3, r1 - 80066fa: 4b0d ldr r3, [pc, #52] @ (8006730 ) - 80066fc: fba3 1302 umull r1, r3, r3, r2 - 8006700: 095b lsrs r3, r3, #5 - 8006702: 2164 movs r1, #100 @ 0x64 - 8006704: fb01 f303 mul.w r3, r1, r3 - 8006708: 1ad3 subs r3, r2, r3 - 800670a: 00db lsls r3, r3, #3 - 800670c: 3332 adds r3, #50 @ 0x32 - 800670e: 4a08 ldr r2, [pc, #32] @ (8006730 ) - 8006710: fba2 2303 umull r2, r3, r2, r3 - 8006714: 095b lsrs r3, r3, #5 - 8006716: f003 0207 and.w r2, r3, #7 - 800671a: f8d7 30f4 ldr.w r3, [r7, #244] @ 0xf4 - 800671e: 681b ldr r3, [r3, #0] - 8006720: 4422 add r2, r4 - 8006722: 609a str r2, [r3, #8] + 8006b88: f8d7 30fc ldr.w r3, [r7, #252] @ 0xfc + 8006b8c: 2200 movs r2, #0 + 8006b8e: f8c7 30e8 str.w r3, [r7, #232] @ 0xe8 + 8006b92: f8c7 20ec str.w r2, [r7, #236] @ 0xec + 8006b96: e9d7 453a ldrd r4, r5, [r7, #232] @ 0xe8 + 8006b9a: 4622 mov r2, r4 + 8006b9c: 462b mov r3, r5 + 8006b9e: 1891 adds r1, r2, r2 + 8006ba0: 65b9 str r1, [r7, #88] @ 0x58 + 8006ba2: 415b adcs r3, r3 + 8006ba4: 65fb str r3, [r7, #92] @ 0x5c + 8006ba6: e9d7 2316 ldrd r2, r3, [r7, #88] @ 0x58 + 8006baa: 4621 mov r1, r4 + 8006bac: eb12 0801 adds.w r8, r2, r1 + 8006bb0: 4629 mov r1, r5 + 8006bb2: eb43 0901 adc.w r9, r3, r1 + 8006bb6: f04f 0200 mov.w r2, #0 + 8006bba: f04f 0300 mov.w r3, #0 + 8006bbe: ea4f 03c9 mov.w r3, r9, lsl #3 + 8006bc2: ea43 7358 orr.w r3, r3, r8, lsr #29 + 8006bc6: ea4f 02c8 mov.w r2, r8, lsl #3 + 8006bca: 4690 mov r8, r2 + 8006bcc: 4699 mov r9, r3 + 8006bce: 4623 mov r3, r4 + 8006bd0: eb18 0303 adds.w r3, r8, r3 + 8006bd4: f8c7 30e0 str.w r3, [r7, #224] @ 0xe0 + 8006bd8: 462b mov r3, r5 + 8006bda: eb49 0303 adc.w r3, r9, r3 + 8006bde: f8c7 30e4 str.w r3, [r7, #228] @ 0xe4 + 8006be2: f8d7 30f4 ldr.w r3, [r7, #244] @ 0xf4 + 8006be6: 685b ldr r3, [r3, #4] + 8006be8: 2200 movs r2, #0 + 8006bea: f8c7 30d8 str.w r3, [r7, #216] @ 0xd8 + 8006bee: f8c7 20dc str.w r2, [r7, #220] @ 0xdc + 8006bf2: e9d7 1236 ldrd r1, r2, [r7, #216] @ 0xd8 + 8006bf6: 460b mov r3, r1 + 8006bf8: 18db adds r3, r3, r3 + 8006bfa: 653b str r3, [r7, #80] @ 0x50 + 8006bfc: 4613 mov r3, r2 + 8006bfe: eb42 0303 adc.w r3, r2, r3 + 8006c02: 657b str r3, [r7, #84] @ 0x54 + 8006c04: e9d7 2314 ldrd r2, r3, [r7, #80] @ 0x50 + 8006c08: e9d7 0138 ldrd r0, r1, [r7, #224] @ 0xe0 + 8006c0c: f7f9 fafa bl 8000204 <__aeabi_uldivmod> + 8006c10: 4602 mov r2, r0 + 8006c12: 460b mov r3, r1 + 8006c14: 4b61 ldr r3, [pc, #388] @ (8006d9c ) + 8006c16: fba3 2302 umull r2, r3, r3, r2 + 8006c1a: 095b lsrs r3, r3, #5 + 8006c1c: 011c lsls r4, r3, #4 + 8006c1e: f8d7 30fc ldr.w r3, [r7, #252] @ 0xfc + 8006c22: 2200 movs r2, #0 + 8006c24: f8c7 30d0 str.w r3, [r7, #208] @ 0xd0 + 8006c28: f8c7 20d4 str.w r2, [r7, #212] @ 0xd4 + 8006c2c: e9d7 8934 ldrd r8, r9, [r7, #208] @ 0xd0 + 8006c30: 4642 mov r2, r8 + 8006c32: 464b mov r3, r9 + 8006c34: 1891 adds r1, r2, r2 + 8006c36: 64b9 str r1, [r7, #72] @ 0x48 + 8006c38: 415b adcs r3, r3 + 8006c3a: 64fb str r3, [r7, #76] @ 0x4c + 8006c3c: e9d7 2312 ldrd r2, r3, [r7, #72] @ 0x48 + 8006c40: 4641 mov r1, r8 + 8006c42: eb12 0a01 adds.w sl, r2, r1 + 8006c46: 4649 mov r1, r9 + 8006c48: eb43 0b01 adc.w fp, r3, r1 + 8006c4c: f04f 0200 mov.w r2, #0 + 8006c50: f04f 0300 mov.w r3, #0 + 8006c54: ea4f 03cb mov.w r3, fp, lsl #3 + 8006c58: ea43 735a orr.w r3, r3, sl, lsr #29 + 8006c5c: ea4f 02ca mov.w r2, sl, lsl #3 + 8006c60: 4692 mov sl, r2 + 8006c62: 469b mov fp, r3 + 8006c64: 4643 mov r3, r8 + 8006c66: eb1a 0303 adds.w r3, sl, r3 + 8006c6a: f8c7 30c8 str.w r3, [r7, #200] @ 0xc8 + 8006c6e: 464b mov r3, r9 + 8006c70: eb4b 0303 adc.w r3, fp, r3 + 8006c74: f8c7 30cc str.w r3, [r7, #204] @ 0xcc + 8006c78: f8d7 30f4 ldr.w r3, [r7, #244] @ 0xf4 + 8006c7c: 685b ldr r3, [r3, #4] + 8006c7e: 2200 movs r2, #0 + 8006c80: f8c7 30c0 str.w r3, [r7, #192] @ 0xc0 + 8006c84: f8c7 20c4 str.w r2, [r7, #196] @ 0xc4 + 8006c88: e9d7 1230 ldrd r1, r2, [r7, #192] @ 0xc0 + 8006c8c: 460b mov r3, r1 + 8006c8e: 18db adds r3, r3, r3 + 8006c90: 643b str r3, [r7, #64] @ 0x40 + 8006c92: 4613 mov r3, r2 + 8006c94: eb42 0303 adc.w r3, r2, r3 + 8006c98: 647b str r3, [r7, #68] @ 0x44 + 8006c9a: e9d7 2310 ldrd r2, r3, [r7, #64] @ 0x40 + 8006c9e: e9d7 0132 ldrd r0, r1, [r7, #200] @ 0xc8 + 8006ca2: f7f9 faaf bl 8000204 <__aeabi_uldivmod> + 8006ca6: 4602 mov r2, r0 + 8006ca8: 460b mov r3, r1 + 8006caa: 4611 mov r1, r2 + 8006cac: 4b3b ldr r3, [pc, #236] @ (8006d9c ) + 8006cae: fba3 2301 umull r2, r3, r3, r1 + 8006cb2: 095b lsrs r3, r3, #5 + 8006cb4: 2264 movs r2, #100 @ 0x64 + 8006cb6: fb02 f303 mul.w r3, r2, r3 + 8006cba: 1acb subs r3, r1, r3 + 8006cbc: 00db lsls r3, r3, #3 + 8006cbe: f103 0232 add.w r2, r3, #50 @ 0x32 + 8006cc2: 4b36 ldr r3, [pc, #216] @ (8006d9c ) + 8006cc4: fba3 2302 umull r2, r3, r3, r2 + 8006cc8: 095b lsrs r3, r3, #5 + 8006cca: 005b lsls r3, r3, #1 + 8006ccc: f403 73f8 and.w r3, r3, #496 @ 0x1f0 + 8006cd0: 441c add r4, r3 + 8006cd2: f8d7 30fc ldr.w r3, [r7, #252] @ 0xfc + 8006cd6: 2200 movs r2, #0 + 8006cd8: f8c7 30b8 str.w r3, [r7, #184] @ 0xb8 + 8006cdc: f8c7 20bc str.w r2, [r7, #188] @ 0xbc + 8006ce0: e9d7 892e ldrd r8, r9, [r7, #184] @ 0xb8 + 8006ce4: 4642 mov r2, r8 + 8006ce6: 464b mov r3, r9 + 8006ce8: 1891 adds r1, r2, r2 + 8006cea: 63b9 str r1, [r7, #56] @ 0x38 + 8006cec: 415b adcs r3, r3 + 8006cee: 63fb str r3, [r7, #60] @ 0x3c + 8006cf0: e9d7 230e ldrd r2, r3, [r7, #56] @ 0x38 + 8006cf4: 4641 mov r1, r8 + 8006cf6: 1851 adds r1, r2, r1 + 8006cf8: 6339 str r1, [r7, #48] @ 0x30 + 8006cfa: 4649 mov r1, r9 + 8006cfc: 414b adcs r3, r1 + 8006cfe: 637b str r3, [r7, #52] @ 0x34 + 8006d00: f04f 0200 mov.w r2, #0 + 8006d04: f04f 0300 mov.w r3, #0 + 8006d08: e9d7 ab0c ldrd sl, fp, [r7, #48] @ 0x30 + 8006d0c: 4659 mov r1, fp + 8006d0e: 00cb lsls r3, r1, #3 + 8006d10: 4651 mov r1, sl + 8006d12: ea43 7351 orr.w r3, r3, r1, lsr #29 + 8006d16: 4651 mov r1, sl + 8006d18: 00ca lsls r2, r1, #3 + 8006d1a: 4610 mov r0, r2 + 8006d1c: 4619 mov r1, r3 + 8006d1e: 4603 mov r3, r0 + 8006d20: 4642 mov r2, r8 + 8006d22: 189b adds r3, r3, r2 + 8006d24: f8c7 30b0 str.w r3, [r7, #176] @ 0xb0 + 8006d28: 464b mov r3, r9 + 8006d2a: 460a mov r2, r1 + 8006d2c: eb42 0303 adc.w r3, r2, r3 + 8006d30: f8c7 30b4 str.w r3, [r7, #180] @ 0xb4 + 8006d34: f8d7 30f4 ldr.w r3, [r7, #244] @ 0xf4 + 8006d38: 685b ldr r3, [r3, #4] + 8006d3a: 2200 movs r2, #0 + 8006d3c: f8c7 30a8 str.w r3, [r7, #168] @ 0xa8 + 8006d40: f8c7 20ac str.w r2, [r7, #172] @ 0xac + 8006d44: e9d7 122a ldrd r1, r2, [r7, #168] @ 0xa8 + 8006d48: 460b mov r3, r1 + 8006d4a: 18db adds r3, r3, r3 + 8006d4c: 62bb str r3, [r7, #40] @ 0x28 + 8006d4e: 4613 mov r3, r2 + 8006d50: eb42 0303 adc.w r3, r2, r3 + 8006d54: 62fb str r3, [r7, #44] @ 0x2c + 8006d56: e9d7 230a ldrd r2, r3, [r7, #40] @ 0x28 + 8006d5a: e9d7 012c ldrd r0, r1, [r7, #176] @ 0xb0 + 8006d5e: f7f9 fa51 bl 8000204 <__aeabi_uldivmod> + 8006d62: 4602 mov r2, r0 + 8006d64: 460b mov r3, r1 + 8006d66: 4b0d ldr r3, [pc, #52] @ (8006d9c ) + 8006d68: fba3 1302 umull r1, r3, r3, r2 + 8006d6c: 095b lsrs r3, r3, #5 + 8006d6e: 2164 movs r1, #100 @ 0x64 + 8006d70: fb01 f303 mul.w r3, r1, r3 + 8006d74: 1ad3 subs r3, r2, r3 + 8006d76: 00db lsls r3, r3, #3 + 8006d78: 3332 adds r3, #50 @ 0x32 + 8006d7a: 4a08 ldr r2, [pc, #32] @ (8006d9c ) + 8006d7c: fba2 2303 umull r2, r3, r2, r3 + 8006d80: 095b lsrs r3, r3, #5 + 8006d82: f003 0207 and.w r2, r3, #7 + 8006d86: f8d7 30f4 ldr.w r3, [r7, #244] @ 0xf4 + 8006d8a: 681b ldr r3, [r3, #0] + 8006d8c: 4422 add r2, r4 + 8006d8e: 609a str r2, [r3, #8] } else { huart->Instance->BRR = UART_BRR_SAMPLING16(pclk, huart->Init.BaudRate); } } - 8006724: e106 b.n 8006934 - 8006726: bf00 nop - 8006728: 40011000 .word 0x40011000 - 800672c: 40011400 .word 0x40011400 - 8006730: 51eb851f .word 0x51eb851f + 8006d90: e106 b.n 8006fa0 + 8006d92: bf00 nop + 8006d94: 40011000 .word 0x40011000 + 8006d98: 40011400 .word 0x40011400 + 8006d9c: 51eb851f .word 0x51eb851f huart->Instance->BRR = UART_BRR_SAMPLING16(pclk, huart->Init.BaudRate); - 8006734: f8d7 30fc ldr.w r3, [r7, #252] @ 0xfc - 8006738: 2200 movs r2, #0 - 800673a: f8c7 30a0 str.w r3, [r7, #160] @ 0xa0 - 800673e: f8c7 20a4 str.w r2, [r7, #164] @ 0xa4 - 8006742: e9d7 8928 ldrd r8, r9, [r7, #160] @ 0xa0 - 8006746: 4642 mov r2, r8 - 8006748: 464b mov r3, r9 - 800674a: 1891 adds r1, r2, r2 - 800674c: 6239 str r1, [r7, #32] - 800674e: 415b adcs r3, r3 - 8006750: 627b str r3, [r7, #36] @ 0x24 - 8006752: e9d7 2308 ldrd r2, r3, [r7, #32] - 8006756: 4641 mov r1, r8 - 8006758: 1854 adds r4, r2, r1 - 800675a: 4649 mov r1, r9 - 800675c: eb43 0501 adc.w r5, r3, r1 - 8006760: f04f 0200 mov.w r2, #0 - 8006764: f04f 0300 mov.w r3, #0 - 8006768: 00eb lsls r3, r5, #3 - 800676a: ea43 7354 orr.w r3, r3, r4, lsr #29 - 800676e: 00e2 lsls r2, r4, #3 - 8006770: 4614 mov r4, r2 - 8006772: 461d mov r5, r3 - 8006774: 4643 mov r3, r8 - 8006776: 18e3 adds r3, r4, r3 - 8006778: f8c7 3098 str.w r3, [r7, #152] @ 0x98 - 800677c: 464b mov r3, r9 - 800677e: eb45 0303 adc.w r3, r5, r3 - 8006782: f8c7 309c str.w r3, [r7, #156] @ 0x9c - 8006786: f8d7 30f4 ldr.w r3, [r7, #244] @ 0xf4 - 800678a: 685b ldr r3, [r3, #4] - 800678c: 2200 movs r2, #0 - 800678e: f8c7 3090 str.w r3, [r7, #144] @ 0x90 - 8006792: f8c7 2094 str.w r2, [r7, #148] @ 0x94 - 8006796: f04f 0200 mov.w r2, #0 - 800679a: f04f 0300 mov.w r3, #0 - 800679e: e9d7 4524 ldrd r4, r5, [r7, #144] @ 0x90 - 80067a2: 4629 mov r1, r5 - 80067a4: 008b lsls r3, r1, #2 - 80067a6: 4621 mov r1, r4 - 80067a8: ea43 7391 orr.w r3, r3, r1, lsr #30 - 80067ac: 4621 mov r1, r4 - 80067ae: 008a lsls r2, r1, #2 - 80067b0: e9d7 0126 ldrd r0, r1, [r7, #152] @ 0x98 - 80067b4: f7f9 fd26 bl 8000204 <__aeabi_uldivmod> - 80067b8: 4602 mov r2, r0 - 80067ba: 460b mov r3, r1 - 80067bc: 4b60 ldr r3, [pc, #384] @ (8006940 ) - 80067be: fba3 2302 umull r2, r3, r3, r2 - 80067c2: 095b lsrs r3, r3, #5 - 80067c4: 011c lsls r4, r3, #4 - 80067c6: f8d7 30fc ldr.w r3, [r7, #252] @ 0xfc - 80067ca: 2200 movs r2, #0 - 80067cc: f8c7 3088 str.w r3, [r7, #136] @ 0x88 - 80067d0: f8c7 208c str.w r2, [r7, #140] @ 0x8c - 80067d4: e9d7 8922 ldrd r8, r9, [r7, #136] @ 0x88 - 80067d8: 4642 mov r2, r8 - 80067da: 464b mov r3, r9 - 80067dc: 1891 adds r1, r2, r2 - 80067de: 61b9 str r1, [r7, #24] - 80067e0: 415b adcs r3, r3 - 80067e2: 61fb str r3, [r7, #28] - 80067e4: e9d7 2306 ldrd r2, r3, [r7, #24] - 80067e8: 4641 mov r1, r8 - 80067ea: 1851 adds r1, r2, r1 - 80067ec: 6139 str r1, [r7, #16] - 80067ee: 4649 mov r1, r9 - 80067f0: 414b adcs r3, r1 - 80067f2: 617b str r3, [r7, #20] - 80067f4: f04f 0200 mov.w r2, #0 - 80067f8: f04f 0300 mov.w r3, #0 - 80067fc: e9d7 ab04 ldrd sl, fp, [r7, #16] - 8006800: 4659 mov r1, fp - 8006802: 00cb lsls r3, r1, #3 - 8006804: 4651 mov r1, sl - 8006806: ea43 7351 orr.w r3, r3, r1, lsr #29 - 800680a: 4651 mov r1, sl - 800680c: 00ca lsls r2, r1, #3 - 800680e: 4610 mov r0, r2 - 8006810: 4619 mov r1, r3 - 8006812: 4603 mov r3, r0 - 8006814: 4642 mov r2, r8 - 8006816: 189b adds r3, r3, r2 - 8006818: f8c7 3080 str.w r3, [r7, #128] @ 0x80 - 800681c: 464b mov r3, r9 - 800681e: 460a mov r2, r1 - 8006820: eb42 0303 adc.w r3, r2, r3 - 8006824: f8c7 3084 str.w r3, [r7, #132] @ 0x84 - 8006828: f8d7 30f4 ldr.w r3, [r7, #244] @ 0xf4 - 800682c: 685b ldr r3, [r3, #4] - 800682e: 2200 movs r2, #0 - 8006830: 67bb str r3, [r7, #120] @ 0x78 - 8006832: 67fa str r2, [r7, #124] @ 0x7c - 8006834: f04f 0200 mov.w r2, #0 - 8006838: f04f 0300 mov.w r3, #0 - 800683c: e9d7 891e ldrd r8, r9, [r7, #120] @ 0x78 - 8006840: 4649 mov r1, r9 - 8006842: 008b lsls r3, r1, #2 - 8006844: 4641 mov r1, r8 - 8006846: ea43 7391 orr.w r3, r3, r1, lsr #30 - 800684a: 4641 mov r1, r8 - 800684c: 008a lsls r2, r1, #2 - 800684e: e9d7 0120 ldrd r0, r1, [r7, #128] @ 0x80 - 8006852: f7f9 fcd7 bl 8000204 <__aeabi_uldivmod> - 8006856: 4602 mov r2, r0 - 8006858: 460b mov r3, r1 - 800685a: 4611 mov r1, r2 - 800685c: 4b38 ldr r3, [pc, #224] @ (8006940 ) - 800685e: fba3 2301 umull r2, r3, r3, r1 - 8006862: 095b lsrs r3, r3, #5 - 8006864: 2264 movs r2, #100 @ 0x64 - 8006866: fb02 f303 mul.w r3, r2, r3 - 800686a: 1acb subs r3, r1, r3 - 800686c: 011b lsls r3, r3, #4 - 800686e: 3332 adds r3, #50 @ 0x32 - 8006870: 4a33 ldr r2, [pc, #204] @ (8006940 ) - 8006872: fba2 2303 umull r2, r3, r2, r3 - 8006876: 095b lsrs r3, r3, #5 - 8006878: f003 03f0 and.w r3, r3, #240 @ 0xf0 - 800687c: 441c add r4, r3 - 800687e: f8d7 30fc ldr.w r3, [r7, #252] @ 0xfc - 8006882: 2200 movs r2, #0 - 8006884: 673b str r3, [r7, #112] @ 0x70 - 8006886: 677a str r2, [r7, #116] @ 0x74 - 8006888: e9d7 891c ldrd r8, r9, [r7, #112] @ 0x70 - 800688c: 4642 mov r2, r8 - 800688e: 464b mov r3, r9 - 8006890: 1891 adds r1, r2, r2 - 8006892: 60b9 str r1, [r7, #8] - 8006894: 415b adcs r3, r3 - 8006896: 60fb str r3, [r7, #12] - 8006898: e9d7 2302 ldrd r2, r3, [r7, #8] - 800689c: 4641 mov r1, r8 - 800689e: 1851 adds r1, r2, r1 - 80068a0: 6039 str r1, [r7, #0] - 80068a2: 4649 mov r1, r9 - 80068a4: 414b adcs r3, r1 - 80068a6: 607b str r3, [r7, #4] - 80068a8: f04f 0200 mov.w r2, #0 - 80068ac: f04f 0300 mov.w r3, #0 - 80068b0: e9d7 ab00 ldrd sl, fp, [r7] - 80068b4: 4659 mov r1, fp - 80068b6: 00cb lsls r3, r1, #3 - 80068b8: 4651 mov r1, sl - 80068ba: ea43 7351 orr.w r3, r3, r1, lsr #29 - 80068be: 4651 mov r1, sl - 80068c0: 00ca lsls r2, r1, #3 - 80068c2: 4610 mov r0, r2 - 80068c4: 4619 mov r1, r3 - 80068c6: 4603 mov r3, r0 - 80068c8: 4642 mov r2, r8 - 80068ca: 189b adds r3, r3, r2 - 80068cc: 66bb str r3, [r7, #104] @ 0x68 - 80068ce: 464b mov r3, r9 - 80068d0: 460a mov r2, r1 - 80068d2: eb42 0303 adc.w r3, r2, r3 - 80068d6: 66fb str r3, [r7, #108] @ 0x6c - 80068d8: f8d7 30f4 ldr.w r3, [r7, #244] @ 0xf4 - 80068dc: 685b ldr r3, [r3, #4] - 80068de: 2200 movs r2, #0 - 80068e0: 663b str r3, [r7, #96] @ 0x60 - 80068e2: 667a str r2, [r7, #100] @ 0x64 - 80068e4: f04f 0200 mov.w r2, #0 - 80068e8: f04f 0300 mov.w r3, #0 - 80068ec: e9d7 8918 ldrd r8, r9, [r7, #96] @ 0x60 - 80068f0: 4649 mov r1, r9 - 80068f2: 008b lsls r3, r1, #2 - 80068f4: 4641 mov r1, r8 - 80068f6: ea43 7391 orr.w r3, r3, r1, lsr #30 - 80068fa: 4641 mov r1, r8 - 80068fc: 008a lsls r2, r1, #2 - 80068fe: e9d7 011a ldrd r0, r1, [r7, #104] @ 0x68 - 8006902: f7f9 fc7f bl 8000204 <__aeabi_uldivmod> - 8006906: 4602 mov r2, r0 - 8006908: 460b mov r3, r1 - 800690a: 4b0d ldr r3, [pc, #52] @ (8006940 ) - 800690c: fba3 1302 umull r1, r3, r3, r2 - 8006910: 095b lsrs r3, r3, #5 - 8006912: 2164 movs r1, #100 @ 0x64 - 8006914: fb01 f303 mul.w r3, r1, r3 - 8006918: 1ad3 subs r3, r2, r3 - 800691a: 011b lsls r3, r3, #4 - 800691c: 3332 adds r3, #50 @ 0x32 - 800691e: 4a08 ldr r2, [pc, #32] @ (8006940 ) - 8006920: fba2 2303 umull r2, r3, r2, r3 - 8006924: 095b lsrs r3, r3, #5 - 8006926: f003 020f and.w r2, r3, #15 - 800692a: f8d7 30f4 ldr.w r3, [r7, #244] @ 0xf4 - 800692e: 681b ldr r3, [r3, #0] - 8006930: 4422 add r2, r4 - 8006932: 609a str r2, [r3, #8] + 8006da0: f8d7 30fc ldr.w r3, [r7, #252] @ 0xfc + 8006da4: 2200 movs r2, #0 + 8006da6: f8c7 30a0 str.w r3, [r7, #160] @ 0xa0 + 8006daa: f8c7 20a4 str.w r2, [r7, #164] @ 0xa4 + 8006dae: e9d7 8928 ldrd r8, r9, [r7, #160] @ 0xa0 + 8006db2: 4642 mov r2, r8 + 8006db4: 464b mov r3, r9 + 8006db6: 1891 adds r1, r2, r2 + 8006db8: 6239 str r1, [r7, #32] + 8006dba: 415b adcs r3, r3 + 8006dbc: 627b str r3, [r7, #36] @ 0x24 + 8006dbe: e9d7 2308 ldrd r2, r3, [r7, #32] + 8006dc2: 4641 mov r1, r8 + 8006dc4: 1854 adds r4, r2, r1 + 8006dc6: 4649 mov r1, r9 + 8006dc8: eb43 0501 adc.w r5, r3, r1 + 8006dcc: f04f 0200 mov.w r2, #0 + 8006dd0: f04f 0300 mov.w r3, #0 + 8006dd4: 00eb lsls r3, r5, #3 + 8006dd6: ea43 7354 orr.w r3, r3, r4, lsr #29 + 8006dda: 00e2 lsls r2, r4, #3 + 8006ddc: 4614 mov r4, r2 + 8006dde: 461d mov r5, r3 + 8006de0: 4643 mov r3, r8 + 8006de2: 18e3 adds r3, r4, r3 + 8006de4: f8c7 3098 str.w r3, [r7, #152] @ 0x98 + 8006de8: 464b mov r3, r9 + 8006dea: eb45 0303 adc.w r3, r5, r3 + 8006dee: f8c7 309c str.w r3, [r7, #156] @ 0x9c + 8006df2: f8d7 30f4 ldr.w r3, [r7, #244] @ 0xf4 + 8006df6: 685b ldr r3, [r3, #4] + 8006df8: 2200 movs r2, #0 + 8006dfa: f8c7 3090 str.w r3, [r7, #144] @ 0x90 + 8006dfe: f8c7 2094 str.w r2, [r7, #148] @ 0x94 + 8006e02: f04f 0200 mov.w r2, #0 + 8006e06: f04f 0300 mov.w r3, #0 + 8006e0a: e9d7 4524 ldrd r4, r5, [r7, #144] @ 0x90 + 8006e0e: 4629 mov r1, r5 + 8006e10: 008b lsls r3, r1, #2 + 8006e12: 4621 mov r1, r4 + 8006e14: ea43 7391 orr.w r3, r3, r1, lsr #30 + 8006e18: 4621 mov r1, r4 + 8006e1a: 008a lsls r2, r1, #2 + 8006e1c: e9d7 0126 ldrd r0, r1, [r7, #152] @ 0x98 + 8006e20: f7f9 f9f0 bl 8000204 <__aeabi_uldivmod> + 8006e24: 4602 mov r2, r0 + 8006e26: 460b mov r3, r1 + 8006e28: 4b60 ldr r3, [pc, #384] @ (8006fac ) + 8006e2a: fba3 2302 umull r2, r3, r3, r2 + 8006e2e: 095b lsrs r3, r3, #5 + 8006e30: 011c lsls r4, r3, #4 + 8006e32: f8d7 30fc ldr.w r3, [r7, #252] @ 0xfc + 8006e36: 2200 movs r2, #0 + 8006e38: f8c7 3088 str.w r3, [r7, #136] @ 0x88 + 8006e3c: f8c7 208c str.w r2, [r7, #140] @ 0x8c + 8006e40: e9d7 8922 ldrd r8, r9, [r7, #136] @ 0x88 + 8006e44: 4642 mov r2, r8 + 8006e46: 464b mov r3, r9 + 8006e48: 1891 adds r1, r2, r2 + 8006e4a: 61b9 str r1, [r7, #24] + 8006e4c: 415b adcs r3, r3 + 8006e4e: 61fb str r3, [r7, #28] + 8006e50: e9d7 2306 ldrd r2, r3, [r7, #24] + 8006e54: 4641 mov r1, r8 + 8006e56: 1851 adds r1, r2, r1 + 8006e58: 6139 str r1, [r7, #16] + 8006e5a: 4649 mov r1, r9 + 8006e5c: 414b adcs r3, r1 + 8006e5e: 617b str r3, [r7, #20] + 8006e60: f04f 0200 mov.w r2, #0 + 8006e64: f04f 0300 mov.w r3, #0 + 8006e68: e9d7 ab04 ldrd sl, fp, [r7, #16] + 8006e6c: 4659 mov r1, fp + 8006e6e: 00cb lsls r3, r1, #3 + 8006e70: 4651 mov r1, sl + 8006e72: ea43 7351 orr.w r3, r3, r1, lsr #29 + 8006e76: 4651 mov r1, sl + 8006e78: 00ca lsls r2, r1, #3 + 8006e7a: 4610 mov r0, r2 + 8006e7c: 4619 mov r1, r3 + 8006e7e: 4603 mov r3, r0 + 8006e80: 4642 mov r2, r8 + 8006e82: 189b adds r3, r3, r2 + 8006e84: f8c7 3080 str.w r3, [r7, #128] @ 0x80 + 8006e88: 464b mov r3, r9 + 8006e8a: 460a mov r2, r1 + 8006e8c: eb42 0303 adc.w r3, r2, r3 + 8006e90: f8c7 3084 str.w r3, [r7, #132] @ 0x84 + 8006e94: f8d7 30f4 ldr.w r3, [r7, #244] @ 0xf4 + 8006e98: 685b ldr r3, [r3, #4] + 8006e9a: 2200 movs r2, #0 + 8006e9c: 67bb str r3, [r7, #120] @ 0x78 + 8006e9e: 67fa str r2, [r7, #124] @ 0x7c + 8006ea0: f04f 0200 mov.w r2, #0 + 8006ea4: f04f 0300 mov.w r3, #0 + 8006ea8: e9d7 891e ldrd r8, r9, [r7, #120] @ 0x78 + 8006eac: 4649 mov r1, r9 + 8006eae: 008b lsls r3, r1, #2 + 8006eb0: 4641 mov r1, r8 + 8006eb2: ea43 7391 orr.w r3, r3, r1, lsr #30 + 8006eb6: 4641 mov r1, r8 + 8006eb8: 008a lsls r2, r1, #2 + 8006eba: e9d7 0120 ldrd r0, r1, [r7, #128] @ 0x80 + 8006ebe: f7f9 f9a1 bl 8000204 <__aeabi_uldivmod> + 8006ec2: 4602 mov r2, r0 + 8006ec4: 460b mov r3, r1 + 8006ec6: 4611 mov r1, r2 + 8006ec8: 4b38 ldr r3, [pc, #224] @ (8006fac ) + 8006eca: fba3 2301 umull r2, r3, r3, r1 + 8006ece: 095b lsrs r3, r3, #5 + 8006ed0: 2264 movs r2, #100 @ 0x64 + 8006ed2: fb02 f303 mul.w r3, r2, r3 + 8006ed6: 1acb subs r3, r1, r3 + 8006ed8: 011b lsls r3, r3, #4 + 8006eda: 3332 adds r3, #50 @ 0x32 + 8006edc: 4a33 ldr r2, [pc, #204] @ (8006fac ) + 8006ede: fba2 2303 umull r2, r3, r2, r3 + 8006ee2: 095b lsrs r3, r3, #5 + 8006ee4: f003 03f0 and.w r3, r3, #240 @ 0xf0 + 8006ee8: 441c add r4, r3 + 8006eea: f8d7 30fc ldr.w r3, [r7, #252] @ 0xfc + 8006eee: 2200 movs r2, #0 + 8006ef0: 673b str r3, [r7, #112] @ 0x70 + 8006ef2: 677a str r2, [r7, #116] @ 0x74 + 8006ef4: e9d7 891c ldrd r8, r9, [r7, #112] @ 0x70 + 8006ef8: 4642 mov r2, r8 + 8006efa: 464b mov r3, r9 + 8006efc: 1891 adds r1, r2, r2 + 8006efe: 60b9 str r1, [r7, #8] + 8006f00: 415b adcs r3, r3 + 8006f02: 60fb str r3, [r7, #12] + 8006f04: e9d7 2302 ldrd r2, r3, [r7, #8] + 8006f08: 4641 mov r1, r8 + 8006f0a: 1851 adds r1, r2, r1 + 8006f0c: 6039 str r1, [r7, #0] + 8006f0e: 4649 mov r1, r9 + 8006f10: 414b adcs r3, r1 + 8006f12: 607b str r3, [r7, #4] + 8006f14: f04f 0200 mov.w r2, #0 + 8006f18: f04f 0300 mov.w r3, #0 + 8006f1c: e9d7 ab00 ldrd sl, fp, [r7] + 8006f20: 4659 mov r1, fp + 8006f22: 00cb lsls r3, r1, #3 + 8006f24: 4651 mov r1, sl + 8006f26: ea43 7351 orr.w r3, r3, r1, lsr #29 + 8006f2a: 4651 mov r1, sl + 8006f2c: 00ca lsls r2, r1, #3 + 8006f2e: 4610 mov r0, r2 + 8006f30: 4619 mov r1, r3 + 8006f32: 4603 mov r3, r0 + 8006f34: 4642 mov r2, r8 + 8006f36: 189b adds r3, r3, r2 + 8006f38: 66bb str r3, [r7, #104] @ 0x68 + 8006f3a: 464b mov r3, r9 + 8006f3c: 460a mov r2, r1 + 8006f3e: eb42 0303 adc.w r3, r2, r3 + 8006f42: 66fb str r3, [r7, #108] @ 0x6c + 8006f44: f8d7 30f4 ldr.w r3, [r7, #244] @ 0xf4 + 8006f48: 685b ldr r3, [r3, #4] + 8006f4a: 2200 movs r2, #0 + 8006f4c: 663b str r3, [r7, #96] @ 0x60 + 8006f4e: 667a str r2, [r7, #100] @ 0x64 + 8006f50: f04f 0200 mov.w r2, #0 + 8006f54: f04f 0300 mov.w r3, #0 + 8006f58: e9d7 8918 ldrd r8, r9, [r7, #96] @ 0x60 + 8006f5c: 4649 mov r1, r9 + 8006f5e: 008b lsls r3, r1, #2 + 8006f60: 4641 mov r1, r8 + 8006f62: ea43 7391 orr.w r3, r3, r1, lsr #30 + 8006f66: 4641 mov r1, r8 + 8006f68: 008a lsls r2, r1, #2 + 8006f6a: e9d7 011a ldrd r0, r1, [r7, #104] @ 0x68 + 8006f6e: f7f9 f949 bl 8000204 <__aeabi_uldivmod> + 8006f72: 4602 mov r2, r0 + 8006f74: 460b mov r3, r1 + 8006f76: 4b0d ldr r3, [pc, #52] @ (8006fac ) + 8006f78: fba3 1302 umull r1, r3, r3, r2 + 8006f7c: 095b lsrs r3, r3, #5 + 8006f7e: 2164 movs r1, #100 @ 0x64 + 8006f80: fb01 f303 mul.w r3, r1, r3 + 8006f84: 1ad3 subs r3, r2, r3 + 8006f86: 011b lsls r3, r3, #4 + 8006f88: 3332 adds r3, #50 @ 0x32 + 8006f8a: 4a08 ldr r2, [pc, #32] @ (8006fac ) + 8006f8c: fba2 2303 umull r2, r3, r2, r3 + 8006f90: 095b lsrs r3, r3, #5 + 8006f92: f003 020f and.w r2, r3, #15 + 8006f96: f8d7 30f4 ldr.w r3, [r7, #244] @ 0xf4 + 8006f9a: 681b ldr r3, [r3, #0] + 8006f9c: 4422 add r2, r4 + 8006f9e: 609a str r2, [r3, #8] } - 8006934: bf00 nop - 8006936: f507 7780 add.w r7, r7, #256 @ 0x100 - 800693a: 46bd mov sp, r7 - 800693c: e8bd 8fb0 ldmia.w sp!, {r4, r5, r7, r8, r9, sl, fp, pc} - 8006940: 51eb851f .word 0x51eb851f + 8006fa0: bf00 nop + 8006fa2: f507 7780 add.w r7, r7, #256 @ 0x100 + 8006fa6: 46bd mov sp, r7 + 8006fa8: e8bd 8fb0 ldmia.w sp!, {r4, r5, r7, r8, r9, sl, fp, pc} + 8006fac: 51eb851f .word 0x51eb851f -08006944 : +08006fb0 : * @param cfg pointer to a USB_OTG_CfgTypeDef structure that contains * the configuration information for the specified USBx peripheral. * @retval HAL status */ HAL_StatusTypeDef USB_CoreInit(USB_OTG_GlobalTypeDef *USBx, USB_OTG_CfgTypeDef cfg) { - 8006944: b084 sub sp, #16 - 8006946: b580 push {r7, lr} - 8006948: b084 sub sp, #16 - 800694a: af00 add r7, sp, #0 - 800694c: 6078 str r0, [r7, #4] - 800694e: f107 001c add.w r0, r7, #28 - 8006952: e880 000e stmia.w r0, {r1, r2, r3} + 8006fb0: b084 sub sp, #16 + 8006fb2: b580 push {r7, lr} + 8006fb4: b084 sub sp, #16 + 8006fb6: af00 add r7, sp, #0 + 8006fb8: 6078 str r0, [r7, #4] + 8006fba: f107 001c add.w r0, r7, #28 + 8006fbe: e880 000e stmia.w r0, {r1, r2, r3} HAL_StatusTypeDef ret; if (cfg.phy_itface == USB_OTG_ULPI_PHY) - 8006956: f897 3021 ldrb.w r3, [r7, #33] @ 0x21 - 800695a: 2b01 cmp r3, #1 - 800695c: d123 bne.n 80069a6 + 8006fc2: f897 3021 ldrb.w r3, [r7, #33] @ 0x21 + 8006fc6: 2b01 cmp r3, #1 + 8006fc8: d123 bne.n 8007012 { USBx->GCCFG &= ~(USB_OTG_GCCFG_PWRDWN); - 800695e: 687b ldr r3, [r7, #4] - 8006960: 6b9b ldr r3, [r3, #56] @ 0x38 - 8006962: f423 3280 bic.w r2, r3, #65536 @ 0x10000 - 8006966: 687b ldr r3, [r7, #4] - 8006968: 639a str r2, [r3, #56] @ 0x38 + 8006fca: 687b ldr r3, [r7, #4] + 8006fcc: 6b9b ldr r3, [r3, #56] @ 0x38 + 8006fce: f423 3280 bic.w r2, r3, #65536 @ 0x10000 + 8006fd2: 687b ldr r3, [r7, #4] + 8006fd4: 639a str r2, [r3, #56] @ 0x38 /* Init The ULPI Interface */ USBx->GUSBCFG &= ~(USB_OTG_GUSBCFG_TSDPS | USB_OTG_GUSBCFG_ULPIFSLS | USB_OTG_GUSBCFG_PHYSEL); - 800696a: 687b ldr r3, [r7, #4] - 800696c: 68db ldr r3, [r3, #12] - 800696e: f423 0384 bic.w r3, r3, #4325376 @ 0x420000 - 8006972: f023 0340 bic.w r3, r3, #64 @ 0x40 - 8006976: 687a ldr r2, [r7, #4] - 8006978: 60d3 str r3, [r2, #12] + 8006fd6: 687b ldr r3, [r7, #4] + 8006fd8: 68db ldr r3, [r3, #12] + 8006fda: f423 0384 bic.w r3, r3, #4325376 @ 0x420000 + 8006fde: f023 0340 bic.w r3, r3, #64 @ 0x40 + 8006fe2: 687a ldr r2, [r7, #4] + 8006fe4: 60d3 str r3, [r2, #12] /* Select vbus source */ USBx->GUSBCFG &= ~(USB_OTG_GUSBCFG_ULPIEVBUSD | USB_OTG_GUSBCFG_ULPIEVBUSI); - 800697a: 687b ldr r3, [r7, #4] - 800697c: 68db ldr r3, [r3, #12] - 800697e: f423 1240 bic.w r2, r3, #3145728 @ 0x300000 - 8006982: 687b ldr r3, [r7, #4] - 8006984: 60da str r2, [r3, #12] + 8006fe6: 687b ldr r3, [r7, #4] + 8006fe8: 68db ldr r3, [r3, #12] + 8006fea: f423 1240 bic.w r2, r3, #3145728 @ 0x300000 + 8006fee: 687b ldr r3, [r7, #4] + 8006ff0: 60da str r2, [r3, #12] if (cfg.use_external_vbus == 1U) - 8006986: f897 3028 ldrb.w r3, [r7, #40] @ 0x28 - 800698a: 2b01 cmp r3, #1 - 800698c: d105 bne.n 800699a + 8006ff2: f897 3028 ldrb.w r3, [r7, #40] @ 0x28 + 8006ff6: 2b01 cmp r3, #1 + 8006ff8: d105 bne.n 8007006 { USBx->GUSBCFG |= USB_OTG_GUSBCFG_ULPIEVBUSD; - 800698e: 687b ldr r3, [r7, #4] - 8006990: 68db ldr r3, [r3, #12] - 8006992: f443 1280 orr.w r2, r3, #1048576 @ 0x100000 - 8006996: 687b ldr r3, [r7, #4] - 8006998: 60da str r2, [r3, #12] + 8006ffa: 687b ldr r3, [r7, #4] + 8006ffc: 68db ldr r3, [r3, #12] + 8006ffe: f443 1280 orr.w r2, r3, #1048576 @ 0x100000 + 8007002: 687b ldr r3, [r7, #4] + 8007004: 60da str r2, [r3, #12] } /* Reset after a PHY select */ ret = USB_CoreReset(USBx); - 800699a: 6878 ldr r0, [r7, #4] - 800699c: f001 fae2 bl 8007f64 - 80069a0: 4603 mov r3, r0 - 80069a2: 73fb strb r3, [r7, #15] - 80069a4: e01b b.n 80069de + 8007006: 6878 ldr r0, [r7, #4] + 8007008: f001 fae2 bl 80085d0 + 800700c: 4603 mov r3, r0 + 800700e: 73fb strb r3, [r7, #15] + 8007010: e01b b.n 800704a } else /* FS interface (embedded Phy) */ { /* Select FS Embedded PHY */ USBx->GUSBCFG |= USB_OTG_GUSBCFG_PHYSEL; - 80069a6: 687b ldr r3, [r7, #4] - 80069a8: 68db ldr r3, [r3, #12] - 80069aa: f043 0240 orr.w r2, r3, #64 @ 0x40 - 80069ae: 687b ldr r3, [r7, #4] - 80069b0: 60da str r2, [r3, #12] + 8007012: 687b ldr r3, [r7, #4] + 8007014: 68db ldr r3, [r3, #12] + 8007016: f043 0240 orr.w r2, r3, #64 @ 0x40 + 800701a: 687b ldr r3, [r7, #4] + 800701c: 60da str r2, [r3, #12] /* Reset after a PHY select */ ret = USB_CoreReset(USBx); - 80069b2: 6878 ldr r0, [r7, #4] - 80069b4: f001 fad6 bl 8007f64 - 80069b8: 4603 mov r3, r0 - 80069ba: 73fb strb r3, [r7, #15] + 800701e: 6878 ldr r0, [r7, #4] + 8007020: f001 fad6 bl 80085d0 + 8007024: 4603 mov r3, r0 + 8007026: 73fb strb r3, [r7, #15] if (cfg.battery_charging_enable == 0U) - 80069bc: f897 3025 ldrb.w r3, [r7, #37] @ 0x25 - 80069c0: 2b00 cmp r3, #0 - 80069c2: d106 bne.n 80069d2 + 8007028: f897 3025 ldrb.w r3, [r7, #37] @ 0x25 + 800702c: 2b00 cmp r3, #0 + 800702e: d106 bne.n 800703e { /* Activate the USB Transceiver */ USBx->GCCFG |= USB_OTG_GCCFG_PWRDWN; - 80069c4: 687b ldr r3, [r7, #4] - 80069c6: 6b9b ldr r3, [r3, #56] @ 0x38 - 80069c8: f443 3280 orr.w r2, r3, #65536 @ 0x10000 - 80069cc: 687b ldr r3, [r7, #4] - 80069ce: 639a str r2, [r3, #56] @ 0x38 - 80069d0: e005 b.n 80069de + 8007030: 687b ldr r3, [r7, #4] + 8007032: 6b9b ldr r3, [r3, #56] @ 0x38 + 8007034: f443 3280 orr.w r2, r3, #65536 @ 0x10000 + 8007038: 687b ldr r3, [r7, #4] + 800703a: 639a str r2, [r3, #56] @ 0x38 + 800703c: e005 b.n 800704a } else { /* Deactivate the USB Transceiver */ USBx->GCCFG &= ~(USB_OTG_GCCFG_PWRDWN); - 80069d2: 687b ldr r3, [r7, #4] - 80069d4: 6b9b ldr r3, [r3, #56] @ 0x38 - 80069d6: f423 3280 bic.w r2, r3, #65536 @ 0x10000 - 80069da: 687b ldr r3, [r7, #4] - 80069dc: 639a str r2, [r3, #56] @ 0x38 + 800703e: 687b ldr r3, [r7, #4] + 8007040: 6b9b ldr r3, [r3, #56] @ 0x38 + 8007042: f423 3280 bic.w r2, r3, #65536 @ 0x10000 + 8007046: 687b ldr r3, [r7, #4] + 8007048: 639a str r2, [r3, #56] @ 0x38 } } if (cfg.dma_enable == 1U) - 80069de: 7fbb ldrb r3, [r7, #30] - 80069e0: 2b01 cmp r3, #1 - 80069e2: d10b bne.n 80069fc + 800704a: 7fbb ldrb r3, [r7, #30] + 800704c: 2b01 cmp r3, #1 + 800704e: d10b bne.n 8007068 { USBx->GAHBCFG |= USB_OTG_GAHBCFG_HBSTLEN_2; - 80069e4: 687b ldr r3, [r7, #4] - 80069e6: 689b ldr r3, [r3, #8] - 80069e8: f043 0206 orr.w r2, r3, #6 - 80069ec: 687b ldr r3, [r7, #4] - 80069ee: 609a str r2, [r3, #8] + 8007050: 687b ldr r3, [r7, #4] + 8007052: 689b ldr r3, [r3, #8] + 8007054: f043 0206 orr.w r2, r3, #6 + 8007058: 687b ldr r3, [r7, #4] + 800705a: 609a str r2, [r3, #8] USBx->GAHBCFG |= USB_OTG_GAHBCFG_DMAEN; - 80069f0: 687b ldr r3, [r7, #4] - 80069f2: 689b ldr r3, [r3, #8] - 80069f4: f043 0220 orr.w r2, r3, #32 - 80069f8: 687b ldr r3, [r7, #4] - 80069fa: 609a str r2, [r3, #8] + 800705c: 687b ldr r3, [r7, #4] + 800705e: 689b ldr r3, [r3, #8] + 8007060: f043 0220 orr.w r2, r3, #32 + 8007064: 687b ldr r3, [r7, #4] + 8007066: 609a str r2, [r3, #8] } return ret; - 80069fc: 7bfb ldrb r3, [r7, #15] + 8007068: 7bfb ldrb r3, [r7, #15] } - 80069fe: 4618 mov r0, r3 - 8006a00: 3710 adds r7, #16 - 8006a02: 46bd mov sp, r7 - 8006a04: e8bd 4080 ldmia.w sp!, {r7, lr} - 8006a08: b004 add sp, #16 - 8006a0a: 4770 bx lr + 800706a: 4618 mov r0, r3 + 800706c: 3710 adds r7, #16 + 800706e: 46bd mov sp, r7 + 8007070: e8bd 4080 ldmia.w sp!, {r7, lr} + 8007074: b004 add sp, #16 + 8007076: 4770 bx lr -08006a0c : +08007078 : * @param hclk: AHB clock frequency * @retval USB turnaround time In PHY Clocks number */ HAL_StatusTypeDef USB_SetTurnaroundTime(USB_OTG_GlobalTypeDef *USBx, uint32_t hclk, uint8_t speed) { - 8006a0c: b480 push {r7} - 8006a0e: b087 sub sp, #28 - 8006a10: af00 add r7, sp, #0 - 8006a12: 60f8 str r0, [r7, #12] - 8006a14: 60b9 str r1, [r7, #8] - 8006a16: 4613 mov r3, r2 - 8006a18: 71fb strb r3, [r7, #7] + 8007078: b480 push {r7} + 800707a: b087 sub sp, #28 + 800707c: af00 add r7, sp, #0 + 800707e: 60f8 str r0, [r7, #12] + 8007080: 60b9 str r1, [r7, #8] + 8007082: 4613 mov r3, r2 + 8007084: 71fb strb r3, [r7, #7] /* The USBTRD is configured according to the tables below, depending on AHB frequency used by application. In the low AHB frequency range it is used to stretch enough the USB response time to IN tokens, the USB turnaround time, so to compensate for the longer AHB read access latency to the Data FIFO */ if (speed == USBD_FS_SPEED) - 8006a1a: 79fb ldrb r3, [r7, #7] - 8006a1c: 2b02 cmp r3, #2 - 8006a1e: d165 bne.n 8006aec + 8007086: 79fb ldrb r3, [r7, #7] + 8007088: 2b02 cmp r3, #2 + 800708a: d165 bne.n 8007158 { if ((hclk >= 14200000U) && (hclk < 15000000U)) - 8006a20: 68bb ldr r3, [r7, #8] - 8006a22: 4a41 ldr r2, [pc, #260] @ (8006b28 ) - 8006a24: 4293 cmp r3, r2 - 8006a26: d906 bls.n 8006a36 - 8006a28: 68bb ldr r3, [r7, #8] - 8006a2a: 4a40 ldr r2, [pc, #256] @ (8006b2c ) - 8006a2c: 4293 cmp r3, r2 - 8006a2e: d202 bcs.n 8006a36 + 800708c: 68bb ldr r3, [r7, #8] + 800708e: 4a41 ldr r2, [pc, #260] @ (8007194 ) + 8007090: 4293 cmp r3, r2 + 8007092: d906 bls.n 80070a2 + 8007094: 68bb ldr r3, [r7, #8] + 8007096: 4a40 ldr r2, [pc, #256] @ (8007198 ) + 8007098: 4293 cmp r3, r2 + 800709a: d202 bcs.n 80070a2 { /* hclk Clock Range between 14.2-15 MHz */ UsbTrd = 0xFU; - 8006a30: 230f movs r3, #15 - 8006a32: 617b str r3, [r7, #20] - 8006a34: e062 b.n 8006afc + 800709c: 230f movs r3, #15 + 800709e: 617b str r3, [r7, #20] + 80070a0: e062 b.n 8007168 } else if ((hclk >= 15000000U) && (hclk < 16000000U)) - 8006a36: 68bb ldr r3, [r7, #8] - 8006a38: 4a3c ldr r2, [pc, #240] @ (8006b2c ) - 8006a3a: 4293 cmp r3, r2 - 8006a3c: d306 bcc.n 8006a4c - 8006a3e: 68bb ldr r3, [r7, #8] - 8006a40: 4a3b ldr r2, [pc, #236] @ (8006b30 ) - 8006a42: 4293 cmp r3, r2 - 8006a44: d202 bcs.n 8006a4c + 80070a2: 68bb ldr r3, [r7, #8] + 80070a4: 4a3c ldr r2, [pc, #240] @ (8007198 ) + 80070a6: 4293 cmp r3, r2 + 80070a8: d306 bcc.n 80070b8 + 80070aa: 68bb ldr r3, [r7, #8] + 80070ac: 4a3b ldr r2, [pc, #236] @ (800719c ) + 80070ae: 4293 cmp r3, r2 + 80070b0: d202 bcs.n 80070b8 { /* hclk Clock Range between 15-16 MHz */ UsbTrd = 0xEU; - 8006a46: 230e movs r3, #14 - 8006a48: 617b str r3, [r7, #20] - 8006a4a: e057 b.n 8006afc + 80070b2: 230e movs r3, #14 + 80070b4: 617b str r3, [r7, #20] + 80070b6: e057 b.n 8007168 } else if ((hclk >= 16000000U) && (hclk < 17200000U)) - 8006a4c: 68bb ldr r3, [r7, #8] - 8006a4e: 4a38 ldr r2, [pc, #224] @ (8006b30 ) - 8006a50: 4293 cmp r3, r2 - 8006a52: d306 bcc.n 8006a62 - 8006a54: 68bb ldr r3, [r7, #8] - 8006a56: 4a37 ldr r2, [pc, #220] @ (8006b34 ) - 8006a58: 4293 cmp r3, r2 - 8006a5a: d202 bcs.n 8006a62 + 80070b8: 68bb ldr r3, [r7, #8] + 80070ba: 4a38 ldr r2, [pc, #224] @ (800719c ) + 80070bc: 4293 cmp r3, r2 + 80070be: d306 bcc.n 80070ce + 80070c0: 68bb ldr r3, [r7, #8] + 80070c2: 4a37 ldr r2, [pc, #220] @ (80071a0 ) + 80070c4: 4293 cmp r3, r2 + 80070c6: d202 bcs.n 80070ce { /* hclk Clock Range between 16-17.2 MHz */ UsbTrd = 0xDU; - 8006a5c: 230d movs r3, #13 - 8006a5e: 617b str r3, [r7, #20] - 8006a60: e04c b.n 8006afc + 80070c8: 230d movs r3, #13 + 80070ca: 617b str r3, [r7, #20] + 80070cc: e04c b.n 8007168 } else if ((hclk >= 17200000U) && (hclk < 18500000U)) - 8006a62: 68bb ldr r3, [r7, #8] - 8006a64: 4a33 ldr r2, [pc, #204] @ (8006b34 ) - 8006a66: 4293 cmp r3, r2 - 8006a68: d306 bcc.n 8006a78 - 8006a6a: 68bb ldr r3, [r7, #8] - 8006a6c: 4a32 ldr r2, [pc, #200] @ (8006b38 ) - 8006a6e: 4293 cmp r3, r2 - 8006a70: d802 bhi.n 8006a78 + 80070ce: 68bb ldr r3, [r7, #8] + 80070d0: 4a33 ldr r2, [pc, #204] @ (80071a0 ) + 80070d2: 4293 cmp r3, r2 + 80070d4: d306 bcc.n 80070e4 + 80070d6: 68bb ldr r3, [r7, #8] + 80070d8: 4a32 ldr r2, [pc, #200] @ (80071a4 ) + 80070da: 4293 cmp r3, r2 + 80070dc: d802 bhi.n 80070e4 { /* hclk Clock Range between 17.2-18.5 MHz */ UsbTrd = 0xCU; - 8006a72: 230c movs r3, #12 - 8006a74: 617b str r3, [r7, #20] - 8006a76: e041 b.n 8006afc + 80070de: 230c movs r3, #12 + 80070e0: 617b str r3, [r7, #20] + 80070e2: e041 b.n 8007168 } else if ((hclk >= 18500000U) && (hclk < 20000000U)) - 8006a78: 68bb ldr r3, [r7, #8] - 8006a7a: 4a2f ldr r2, [pc, #188] @ (8006b38 ) - 8006a7c: 4293 cmp r3, r2 - 8006a7e: d906 bls.n 8006a8e - 8006a80: 68bb ldr r3, [r7, #8] - 8006a82: 4a2e ldr r2, [pc, #184] @ (8006b3c ) - 8006a84: 4293 cmp r3, r2 - 8006a86: d802 bhi.n 8006a8e + 80070e4: 68bb ldr r3, [r7, #8] + 80070e6: 4a2f ldr r2, [pc, #188] @ (80071a4 ) + 80070e8: 4293 cmp r3, r2 + 80070ea: d906 bls.n 80070fa + 80070ec: 68bb ldr r3, [r7, #8] + 80070ee: 4a2e ldr r2, [pc, #184] @ (80071a8 ) + 80070f0: 4293 cmp r3, r2 + 80070f2: d802 bhi.n 80070fa { /* hclk Clock Range between 18.5-20 MHz */ UsbTrd = 0xBU; - 8006a88: 230b movs r3, #11 - 8006a8a: 617b str r3, [r7, #20] - 8006a8c: e036 b.n 8006afc + 80070f4: 230b movs r3, #11 + 80070f6: 617b str r3, [r7, #20] + 80070f8: e036 b.n 8007168 } else if ((hclk >= 20000000U) && (hclk < 21800000U)) - 8006a8e: 68bb ldr r3, [r7, #8] - 8006a90: 4a2a ldr r2, [pc, #168] @ (8006b3c ) - 8006a92: 4293 cmp r3, r2 - 8006a94: d906 bls.n 8006aa4 - 8006a96: 68bb ldr r3, [r7, #8] - 8006a98: 4a29 ldr r2, [pc, #164] @ (8006b40 ) - 8006a9a: 4293 cmp r3, r2 - 8006a9c: d802 bhi.n 8006aa4 + 80070fa: 68bb ldr r3, [r7, #8] + 80070fc: 4a2a ldr r2, [pc, #168] @ (80071a8 ) + 80070fe: 4293 cmp r3, r2 + 8007100: d906 bls.n 8007110 + 8007102: 68bb ldr r3, [r7, #8] + 8007104: 4a29 ldr r2, [pc, #164] @ (80071ac ) + 8007106: 4293 cmp r3, r2 + 8007108: d802 bhi.n 8007110 { /* hclk Clock Range between 20-21.8 MHz */ UsbTrd = 0xAU; - 8006a9e: 230a movs r3, #10 - 8006aa0: 617b str r3, [r7, #20] - 8006aa2: e02b b.n 8006afc + 800710a: 230a movs r3, #10 + 800710c: 617b str r3, [r7, #20] + 800710e: e02b b.n 8007168 } else if ((hclk >= 21800000U) && (hclk < 24000000U)) - 8006aa4: 68bb ldr r3, [r7, #8] - 8006aa6: 4a26 ldr r2, [pc, #152] @ (8006b40 ) - 8006aa8: 4293 cmp r3, r2 - 8006aaa: d906 bls.n 8006aba - 8006aac: 68bb ldr r3, [r7, #8] - 8006aae: 4a25 ldr r2, [pc, #148] @ (8006b44 ) - 8006ab0: 4293 cmp r3, r2 - 8006ab2: d202 bcs.n 8006aba + 8007110: 68bb ldr r3, [r7, #8] + 8007112: 4a26 ldr r2, [pc, #152] @ (80071ac ) + 8007114: 4293 cmp r3, r2 + 8007116: d906 bls.n 8007126 + 8007118: 68bb ldr r3, [r7, #8] + 800711a: 4a25 ldr r2, [pc, #148] @ (80071b0 ) + 800711c: 4293 cmp r3, r2 + 800711e: d202 bcs.n 8007126 { /* hclk Clock Range between 21.8-24 MHz */ UsbTrd = 0x9U; - 8006ab4: 2309 movs r3, #9 - 8006ab6: 617b str r3, [r7, #20] - 8006ab8: e020 b.n 8006afc + 8007120: 2309 movs r3, #9 + 8007122: 617b str r3, [r7, #20] + 8007124: e020 b.n 8007168 } else if ((hclk >= 24000000U) && (hclk < 27700000U)) - 8006aba: 68bb ldr r3, [r7, #8] - 8006abc: 4a21 ldr r2, [pc, #132] @ (8006b44 ) - 8006abe: 4293 cmp r3, r2 - 8006ac0: d306 bcc.n 8006ad0 - 8006ac2: 68bb ldr r3, [r7, #8] - 8006ac4: 4a20 ldr r2, [pc, #128] @ (8006b48 ) - 8006ac6: 4293 cmp r3, r2 - 8006ac8: d802 bhi.n 8006ad0 + 8007126: 68bb ldr r3, [r7, #8] + 8007128: 4a21 ldr r2, [pc, #132] @ (80071b0 ) + 800712a: 4293 cmp r3, r2 + 800712c: d306 bcc.n 800713c + 800712e: 68bb ldr r3, [r7, #8] + 8007130: 4a20 ldr r2, [pc, #128] @ (80071b4 ) + 8007132: 4293 cmp r3, r2 + 8007134: d802 bhi.n 800713c { /* hclk Clock Range between 24-27.7 MHz */ UsbTrd = 0x8U; - 8006aca: 2308 movs r3, #8 - 8006acc: 617b str r3, [r7, #20] - 8006ace: e015 b.n 8006afc + 8007136: 2308 movs r3, #8 + 8007138: 617b str r3, [r7, #20] + 800713a: e015 b.n 8007168 } else if ((hclk >= 27700000U) && (hclk < 32000000U)) - 8006ad0: 68bb ldr r3, [r7, #8] - 8006ad2: 4a1d ldr r2, [pc, #116] @ (8006b48 ) - 8006ad4: 4293 cmp r3, r2 - 8006ad6: d906 bls.n 8006ae6 - 8006ad8: 68bb ldr r3, [r7, #8] - 8006ada: 4a1c ldr r2, [pc, #112] @ (8006b4c ) - 8006adc: 4293 cmp r3, r2 - 8006ade: d202 bcs.n 8006ae6 + 800713c: 68bb ldr r3, [r7, #8] + 800713e: 4a1d ldr r2, [pc, #116] @ (80071b4 ) + 8007140: 4293 cmp r3, r2 + 8007142: d906 bls.n 8007152 + 8007144: 68bb ldr r3, [r7, #8] + 8007146: 4a1c ldr r2, [pc, #112] @ (80071b8 ) + 8007148: 4293 cmp r3, r2 + 800714a: d202 bcs.n 8007152 { /* hclk Clock Range between 27.7-32 MHz */ UsbTrd = 0x7U; - 8006ae0: 2307 movs r3, #7 - 8006ae2: 617b str r3, [r7, #20] - 8006ae4: e00a b.n 8006afc + 800714c: 2307 movs r3, #7 + 800714e: 617b str r3, [r7, #20] + 8007150: e00a b.n 8007168 } else /* if(hclk >= 32000000) */ { /* hclk Clock Range between 32-200 MHz */ UsbTrd = 0x6U; - 8006ae6: 2306 movs r3, #6 - 8006ae8: 617b str r3, [r7, #20] - 8006aea: e007 b.n 8006afc + 8007152: 2306 movs r3, #6 + 8007154: 617b str r3, [r7, #20] + 8007156: e007 b.n 8007168 } } else if (speed == USBD_HS_SPEED) - 8006aec: 79fb ldrb r3, [r7, #7] - 8006aee: 2b00 cmp r3, #0 - 8006af0: d102 bne.n 8006af8 + 8007158: 79fb ldrb r3, [r7, #7] + 800715a: 2b00 cmp r3, #0 + 800715c: d102 bne.n 8007164 { UsbTrd = USBD_HS_TRDT_VALUE; - 8006af2: 2309 movs r3, #9 - 8006af4: 617b str r3, [r7, #20] - 8006af6: e001 b.n 8006afc + 800715e: 2309 movs r3, #9 + 8007160: 617b str r3, [r7, #20] + 8007162: e001 b.n 8007168 } else { UsbTrd = USBD_DEFAULT_TRDT_VALUE; - 8006af8: 2309 movs r3, #9 - 8006afa: 617b str r3, [r7, #20] + 8007164: 2309 movs r3, #9 + 8007166: 617b str r3, [r7, #20] } USBx->GUSBCFG &= ~USB_OTG_GUSBCFG_TRDT; - 8006afc: 68fb ldr r3, [r7, #12] - 8006afe: 68db ldr r3, [r3, #12] - 8006b00: f423 5270 bic.w r2, r3, #15360 @ 0x3c00 - 8006b04: 68fb ldr r3, [r7, #12] - 8006b06: 60da str r2, [r3, #12] + 8007168: 68fb ldr r3, [r7, #12] + 800716a: 68db ldr r3, [r3, #12] + 800716c: f423 5270 bic.w r2, r3, #15360 @ 0x3c00 + 8007170: 68fb ldr r3, [r7, #12] + 8007172: 60da str r2, [r3, #12] USBx->GUSBCFG |= (uint32_t)((UsbTrd << 10) & USB_OTG_GUSBCFG_TRDT); - 8006b08: 68fb ldr r3, [r7, #12] - 8006b0a: 68da ldr r2, [r3, #12] - 8006b0c: 697b ldr r3, [r7, #20] - 8006b0e: 029b lsls r3, r3, #10 - 8006b10: f403 5370 and.w r3, r3, #15360 @ 0x3c00 - 8006b14: 431a orrs r2, r3 - 8006b16: 68fb ldr r3, [r7, #12] - 8006b18: 60da str r2, [r3, #12] + 8007174: 68fb ldr r3, [r7, #12] + 8007176: 68da ldr r2, [r3, #12] + 8007178: 697b ldr r3, [r7, #20] + 800717a: 029b lsls r3, r3, #10 + 800717c: f403 5370 and.w r3, r3, #15360 @ 0x3c00 + 8007180: 431a orrs r2, r3 + 8007182: 68fb ldr r3, [r7, #12] + 8007184: 60da str r2, [r3, #12] return HAL_OK; - 8006b1a: 2300 movs r3, #0 + 8007186: 2300 movs r3, #0 } - 8006b1c: 4618 mov r0, r3 - 8006b1e: 371c adds r7, #28 - 8006b20: 46bd mov sp, r7 - 8006b22: f85d 7b04 ldr.w r7, [sp], #4 - 8006b26: 4770 bx lr - 8006b28: 00d8acbf .word 0x00d8acbf - 8006b2c: 00e4e1c0 .word 0x00e4e1c0 - 8006b30: 00f42400 .word 0x00f42400 - 8006b34: 01067380 .word 0x01067380 - 8006b38: 011a499f .word 0x011a499f - 8006b3c: 01312cff .word 0x01312cff - 8006b40: 014ca43f .word 0x014ca43f - 8006b44: 016e3600 .word 0x016e3600 - 8006b48: 01a6ab1f .word 0x01a6ab1f - 8006b4c: 01e84800 .word 0x01e84800 + 8007188: 4618 mov r0, r3 + 800718a: 371c adds r7, #28 + 800718c: 46bd mov sp, r7 + 800718e: f85d 7b04 ldr.w r7, [sp], #4 + 8007192: 4770 bx lr + 8007194: 00d8acbf .word 0x00d8acbf + 8007198: 00e4e1c0 .word 0x00e4e1c0 + 800719c: 00f42400 .word 0x00f42400 + 80071a0: 01067380 .word 0x01067380 + 80071a4: 011a499f .word 0x011a499f + 80071a8: 01312cff .word 0x01312cff + 80071ac: 014ca43f .word 0x014ca43f + 80071b0: 016e3600 .word 0x016e3600 + 80071b4: 01a6ab1f .word 0x01a6ab1f + 80071b8: 01e84800 .word 0x01e84800 -08006b50 : +080071bc : * Enables the controller's Global Int in the AHB Config reg * @param USBx Selected device * @retval HAL status */ HAL_StatusTypeDef USB_EnableGlobalInt(USB_OTG_GlobalTypeDef *USBx) { - 8006b50: b480 push {r7} - 8006b52: b083 sub sp, #12 - 8006b54: af00 add r7, sp, #0 - 8006b56: 6078 str r0, [r7, #4] + 80071bc: b480 push {r7} + 80071be: b083 sub sp, #12 + 80071c0: af00 add r7, sp, #0 + 80071c2: 6078 str r0, [r7, #4] USBx->GAHBCFG |= USB_OTG_GAHBCFG_GINT; - 8006b58: 687b ldr r3, [r7, #4] - 8006b5a: 689b ldr r3, [r3, #8] - 8006b5c: f043 0201 orr.w r2, r3, #1 - 8006b60: 687b ldr r3, [r7, #4] - 8006b62: 609a str r2, [r3, #8] + 80071c4: 687b ldr r3, [r7, #4] + 80071c6: 689b ldr r3, [r3, #8] + 80071c8: f043 0201 orr.w r2, r3, #1 + 80071cc: 687b ldr r3, [r7, #4] + 80071ce: 609a str r2, [r3, #8] return HAL_OK; - 8006b64: 2300 movs r3, #0 + 80071d0: 2300 movs r3, #0 } - 8006b66: 4618 mov r0, r3 - 8006b68: 370c adds r7, #12 - 8006b6a: 46bd mov sp, r7 - 8006b6c: f85d 7b04 ldr.w r7, [sp], #4 - 8006b70: 4770 bx lr + 80071d2: 4618 mov r0, r3 + 80071d4: 370c adds r7, #12 + 80071d6: 46bd mov sp, r7 + 80071d8: f85d 7b04 ldr.w r7, [sp], #4 + 80071dc: 4770 bx lr -08006b72 : +080071de : * Disable the controller's Global Int in the AHB Config reg * @param USBx Selected device * @retval HAL status */ HAL_StatusTypeDef USB_DisableGlobalInt(USB_OTG_GlobalTypeDef *USBx) { - 8006b72: b480 push {r7} - 8006b74: b083 sub sp, #12 - 8006b76: af00 add r7, sp, #0 - 8006b78: 6078 str r0, [r7, #4] + 80071de: b480 push {r7} + 80071e0: b083 sub sp, #12 + 80071e2: af00 add r7, sp, #0 + 80071e4: 6078 str r0, [r7, #4] USBx->GAHBCFG &= ~USB_OTG_GAHBCFG_GINT; - 8006b7a: 687b ldr r3, [r7, #4] - 8006b7c: 689b ldr r3, [r3, #8] - 8006b7e: f023 0201 bic.w r2, r3, #1 - 8006b82: 687b ldr r3, [r7, #4] - 8006b84: 609a str r2, [r3, #8] + 80071e6: 687b ldr r3, [r7, #4] + 80071e8: 689b ldr r3, [r3, #8] + 80071ea: f023 0201 bic.w r2, r3, #1 + 80071ee: 687b ldr r3, [r7, #4] + 80071f0: 609a str r2, [r3, #8] return HAL_OK; - 8006b86: 2300 movs r3, #0 + 80071f2: 2300 movs r3, #0 } - 8006b88: 4618 mov r0, r3 - 8006b8a: 370c adds r7, #12 - 8006b8c: 46bd mov sp, r7 - 8006b8e: f85d 7b04 ldr.w r7, [sp], #4 - 8006b92: 4770 bx lr + 80071f4: 4618 mov r0, r3 + 80071f6: 370c adds r7, #12 + 80071f8: 46bd mov sp, r7 + 80071fa: f85d 7b04 ldr.w r7, [sp], #4 + 80071fe: 4770 bx lr -08006b94 : +08007200 : * @arg USB_DEVICE_MODE Peripheral mode * @arg USB_HOST_MODE Host mode * @retval HAL status */ HAL_StatusTypeDef USB_SetCurrentMode(USB_OTG_GlobalTypeDef *USBx, USB_OTG_ModeTypeDef mode) { - 8006b94: b580 push {r7, lr} - 8006b96: b084 sub sp, #16 - 8006b98: af00 add r7, sp, #0 - 8006b9a: 6078 str r0, [r7, #4] - 8006b9c: 460b mov r3, r1 - 8006b9e: 70fb strb r3, [r7, #3] + 8007200: b580 push {r7, lr} + 8007202: b084 sub sp, #16 + 8007204: af00 add r7, sp, #0 + 8007206: 6078 str r0, [r7, #4] + 8007208: 460b mov r3, r1 + 800720a: 70fb strb r3, [r7, #3] uint32_t ms = 0U; - 8006ba0: 2300 movs r3, #0 - 8006ba2: 60fb str r3, [r7, #12] + 800720c: 2300 movs r3, #0 + 800720e: 60fb str r3, [r7, #12] USBx->GUSBCFG &= ~(USB_OTG_GUSBCFG_FHMOD | USB_OTG_GUSBCFG_FDMOD); - 8006ba4: 687b ldr r3, [r7, #4] - 8006ba6: 68db ldr r3, [r3, #12] - 8006ba8: f023 42c0 bic.w r2, r3, #1610612736 @ 0x60000000 - 8006bac: 687b ldr r3, [r7, #4] - 8006bae: 60da str r2, [r3, #12] + 8007210: 687b ldr r3, [r7, #4] + 8007212: 68db ldr r3, [r3, #12] + 8007214: f023 42c0 bic.w r2, r3, #1610612736 @ 0x60000000 + 8007218: 687b ldr r3, [r7, #4] + 800721a: 60da str r2, [r3, #12] if (mode == USB_HOST_MODE) - 8006bb0: 78fb ldrb r3, [r7, #3] - 8006bb2: 2b01 cmp r3, #1 - 8006bb4: d115 bne.n 8006be2 + 800721c: 78fb ldrb r3, [r7, #3] + 800721e: 2b01 cmp r3, #1 + 8007220: d115 bne.n 800724e { USBx->GUSBCFG |= USB_OTG_GUSBCFG_FHMOD; - 8006bb6: 687b ldr r3, [r7, #4] - 8006bb8: 68db ldr r3, [r3, #12] - 8006bba: f043 5200 orr.w r2, r3, #536870912 @ 0x20000000 - 8006bbe: 687b ldr r3, [r7, #4] - 8006bc0: 60da str r2, [r3, #12] + 8007222: 687b ldr r3, [r7, #4] + 8007224: 68db ldr r3, [r3, #12] + 8007226: f043 5200 orr.w r2, r3, #536870912 @ 0x20000000 + 800722a: 687b ldr r3, [r7, #4] + 800722c: 60da str r2, [r3, #12] do { HAL_Delay(10U); - 8006bc2: 200a movs r0, #10 - 8006bc4: f7fa fe44 bl 8001850 + 800722e: 200a movs r0, #10 + 8007230: f7fa fbd6 bl 80019e0 ms += 10U; - 8006bc8: 68fb ldr r3, [r7, #12] - 8006bca: 330a adds r3, #10 - 8006bcc: 60fb str r3, [r7, #12] + 8007234: 68fb ldr r3, [r7, #12] + 8007236: 330a adds r3, #10 + 8007238: 60fb str r3, [r7, #12] } while ((USB_GetMode(USBx) != (uint32_t)USB_HOST_MODE) && (ms < HAL_USB_CURRENT_MODE_MAX_DELAY_MS)); - 8006bce: 6878 ldr r0, [r7, #4] - 8006bd0: f001 f939 bl 8007e46 - 8006bd4: 4603 mov r3, r0 - 8006bd6: 2b01 cmp r3, #1 - 8006bd8: d01e beq.n 8006c18 - 8006bda: 68fb ldr r3, [r7, #12] - 8006bdc: 2bc7 cmp r3, #199 @ 0xc7 - 8006bde: d9f0 bls.n 8006bc2 - 8006be0: e01a b.n 8006c18 + 800723a: 6878 ldr r0, [r7, #4] + 800723c: f001 f939 bl 80084b2 + 8007240: 4603 mov r3, r0 + 8007242: 2b01 cmp r3, #1 + 8007244: d01e beq.n 8007284 + 8007246: 68fb ldr r3, [r7, #12] + 8007248: 2bc7 cmp r3, #199 @ 0xc7 + 800724a: d9f0 bls.n 800722e + 800724c: e01a b.n 8007284 } else if (mode == USB_DEVICE_MODE) - 8006be2: 78fb ldrb r3, [r7, #3] - 8006be4: 2b00 cmp r3, #0 - 8006be6: d115 bne.n 8006c14 + 800724e: 78fb ldrb r3, [r7, #3] + 8007250: 2b00 cmp r3, #0 + 8007252: d115 bne.n 8007280 { USBx->GUSBCFG |= USB_OTG_GUSBCFG_FDMOD; - 8006be8: 687b ldr r3, [r7, #4] - 8006bea: 68db ldr r3, [r3, #12] - 8006bec: f043 4280 orr.w r2, r3, #1073741824 @ 0x40000000 - 8006bf0: 687b ldr r3, [r7, #4] - 8006bf2: 60da str r2, [r3, #12] + 8007254: 687b ldr r3, [r7, #4] + 8007256: 68db ldr r3, [r3, #12] + 8007258: f043 4280 orr.w r2, r3, #1073741824 @ 0x40000000 + 800725c: 687b ldr r3, [r7, #4] + 800725e: 60da str r2, [r3, #12] do { HAL_Delay(10U); - 8006bf4: 200a movs r0, #10 - 8006bf6: f7fa fe2b bl 8001850 + 8007260: 200a movs r0, #10 + 8007262: f7fa fbbd bl 80019e0 ms += 10U; - 8006bfa: 68fb ldr r3, [r7, #12] - 8006bfc: 330a adds r3, #10 - 8006bfe: 60fb str r3, [r7, #12] + 8007266: 68fb ldr r3, [r7, #12] + 8007268: 330a adds r3, #10 + 800726a: 60fb str r3, [r7, #12] } while ((USB_GetMode(USBx) != (uint32_t)USB_DEVICE_MODE) && (ms < HAL_USB_CURRENT_MODE_MAX_DELAY_MS)); - 8006c00: 6878 ldr r0, [r7, #4] - 8006c02: f001 f920 bl 8007e46 - 8006c06: 4603 mov r3, r0 - 8006c08: 2b00 cmp r3, #0 - 8006c0a: d005 beq.n 8006c18 - 8006c0c: 68fb ldr r3, [r7, #12] - 8006c0e: 2bc7 cmp r3, #199 @ 0xc7 - 8006c10: d9f0 bls.n 8006bf4 - 8006c12: e001 b.n 8006c18 + 800726c: 6878 ldr r0, [r7, #4] + 800726e: f001 f920 bl 80084b2 + 8007272: 4603 mov r3, r0 + 8007274: 2b00 cmp r3, #0 + 8007276: d005 beq.n 8007284 + 8007278: 68fb ldr r3, [r7, #12] + 800727a: 2bc7 cmp r3, #199 @ 0xc7 + 800727c: d9f0 bls.n 8007260 + 800727e: e001 b.n 8007284 } else { return HAL_ERROR; - 8006c14: 2301 movs r3, #1 - 8006c16: e005 b.n 8006c24 + 8007280: 2301 movs r3, #1 + 8007282: e005 b.n 8007290 } if (ms == HAL_USB_CURRENT_MODE_MAX_DELAY_MS) - 8006c18: 68fb ldr r3, [r7, #12] - 8006c1a: 2bc8 cmp r3, #200 @ 0xc8 - 8006c1c: d101 bne.n 8006c22 + 8007284: 68fb ldr r3, [r7, #12] + 8007286: 2bc8 cmp r3, #200 @ 0xc8 + 8007288: d101 bne.n 800728e { return HAL_ERROR; - 8006c1e: 2301 movs r3, #1 - 8006c20: e000 b.n 8006c24 + 800728a: 2301 movs r3, #1 + 800728c: e000 b.n 8007290 } return HAL_OK; - 8006c22: 2300 movs r3, #0 + 800728e: 2300 movs r3, #0 } - 8006c24: 4618 mov r0, r3 - 8006c26: 3710 adds r7, #16 - 8006c28: 46bd mov sp, r7 - 8006c2a: bd80 pop {r7, pc} + 8007290: 4618 mov r0, r3 + 8007292: 3710 adds r7, #16 + 8007294: 46bd mov sp, r7 + 8007296: bd80 pop {r7, pc} -08006c2c : +08007298 : * @param cfg pointer to a USB_OTG_CfgTypeDef structure that contains * the configuration information for the specified USBx peripheral. * @retval HAL status */ HAL_StatusTypeDef USB_DevInit(USB_OTG_GlobalTypeDef *USBx, USB_OTG_CfgTypeDef cfg) { - 8006c2c: b084 sub sp, #16 - 8006c2e: b580 push {r7, lr} - 8006c30: b086 sub sp, #24 - 8006c32: af00 add r7, sp, #0 - 8006c34: 6078 str r0, [r7, #4] - 8006c36: f107 0024 add.w r0, r7, #36 @ 0x24 - 8006c3a: e880 000e stmia.w r0, {r1, r2, r3} + 8007298: b084 sub sp, #16 + 800729a: b580 push {r7, lr} + 800729c: b086 sub sp, #24 + 800729e: af00 add r7, sp, #0 + 80072a0: 6078 str r0, [r7, #4] + 80072a2: f107 0024 add.w r0, r7, #36 @ 0x24 + 80072a6: e880 000e stmia.w r0, {r1, r2, r3} HAL_StatusTypeDef ret = HAL_OK; - 8006c3e: 2300 movs r3, #0 - 8006c40: 75fb strb r3, [r7, #23] + 80072aa: 2300 movs r3, #0 + 80072ac: 75fb strb r3, [r7, #23] uint32_t USBx_BASE = (uint32_t)USBx; - 8006c42: 687b ldr r3, [r7, #4] - 8006c44: 60fb str r3, [r7, #12] + 80072ae: 687b ldr r3, [r7, #4] + 80072b0: 60fb str r3, [r7, #12] uint32_t i; for (i = 0U; i < 15U; i++) - 8006c46: 2300 movs r3, #0 - 8006c48: 613b str r3, [r7, #16] - 8006c4a: e009 b.n 8006c60 + 80072b2: 2300 movs r3, #0 + 80072b4: 613b str r3, [r7, #16] + 80072b6: e009 b.n 80072cc { USBx->DIEPTXF[i] = 0U; - 8006c4c: 687a ldr r2, [r7, #4] - 8006c4e: 693b ldr r3, [r7, #16] - 8006c50: 3340 adds r3, #64 @ 0x40 - 8006c52: 009b lsls r3, r3, #2 - 8006c54: 4413 add r3, r2 - 8006c56: 2200 movs r2, #0 - 8006c58: 605a str r2, [r3, #4] + 80072b8: 687a ldr r2, [r7, #4] + 80072ba: 693b ldr r3, [r7, #16] + 80072bc: 3340 adds r3, #64 @ 0x40 + 80072be: 009b lsls r3, r3, #2 + 80072c0: 4413 add r3, r2 + 80072c2: 2200 movs r2, #0 + 80072c4: 605a str r2, [r3, #4] for (i = 0U; i < 15U; i++) - 8006c5a: 693b ldr r3, [r7, #16] - 8006c5c: 3301 adds r3, #1 - 8006c5e: 613b str r3, [r7, #16] - 8006c60: 693b ldr r3, [r7, #16] - 8006c62: 2b0e cmp r3, #14 - 8006c64: d9f2 bls.n 8006c4c + 80072c6: 693b ldr r3, [r7, #16] + 80072c8: 3301 adds r3, #1 + 80072ca: 613b str r3, [r7, #16] + 80072cc: 693b ldr r3, [r7, #16] + 80072ce: 2b0e cmp r3, #14 + 80072d0: d9f2 bls.n 80072b8 #if defined(STM32F446xx) || defined(STM32F469xx) || defined(STM32F479xx) || defined(STM32F412Zx) \ || defined(STM32F412Vx) || defined(STM32F412Rx) || defined(STM32F412Cx) || defined(STM32F413xx) \ || defined(STM32F423xx) /* VBUS Sensing setup */ if (cfg.vbus_sensing_enable == 0U) - 8006c66: f897 302e ldrb.w r3, [r7, #46] @ 0x2e - 8006c6a: 2b00 cmp r3, #0 - 8006c6c: d11c bne.n 8006ca8 + 80072d2: f897 302e ldrb.w r3, [r7, #46] @ 0x2e + 80072d6: 2b00 cmp r3, #0 + 80072d8: d11c bne.n 8007314 { USBx_DEVICE->DCTL |= USB_OTG_DCTL_SDIS; - 8006c6e: 68fb ldr r3, [r7, #12] - 8006c70: f503 6300 add.w r3, r3, #2048 @ 0x800 - 8006c74: 685b ldr r3, [r3, #4] - 8006c76: 68fa ldr r2, [r7, #12] - 8006c78: f502 6200 add.w r2, r2, #2048 @ 0x800 - 8006c7c: f043 0302 orr.w r3, r3, #2 - 8006c80: 6053 str r3, [r2, #4] + 80072da: 68fb ldr r3, [r7, #12] + 80072dc: f503 6300 add.w r3, r3, #2048 @ 0x800 + 80072e0: 685b ldr r3, [r3, #4] + 80072e2: 68fa ldr r2, [r7, #12] + 80072e4: f502 6200 add.w r2, r2, #2048 @ 0x800 + 80072e8: f043 0302 orr.w r3, r3, #2 + 80072ec: 6053 str r3, [r2, #4] /* Deactivate VBUS Sensing B */ USBx->GCCFG &= ~USB_OTG_GCCFG_VBDEN; - 8006c82: 687b ldr r3, [r7, #4] - 8006c84: 6b9b ldr r3, [r3, #56] @ 0x38 - 8006c86: f423 1200 bic.w r2, r3, #2097152 @ 0x200000 - 8006c8a: 687b ldr r3, [r7, #4] - 8006c8c: 639a str r2, [r3, #56] @ 0x38 + 80072ee: 687b ldr r3, [r7, #4] + 80072f0: 6b9b ldr r3, [r3, #56] @ 0x38 + 80072f2: f423 1200 bic.w r2, r3, #2097152 @ 0x200000 + 80072f6: 687b ldr r3, [r7, #4] + 80072f8: 639a str r2, [r3, #56] @ 0x38 /* B-peripheral session valid override enable */ USBx->GOTGCTL |= USB_OTG_GOTGCTL_BVALOEN; - 8006c8e: 687b ldr r3, [r7, #4] - 8006c90: 681b ldr r3, [r3, #0] - 8006c92: f043 0240 orr.w r2, r3, #64 @ 0x40 - 8006c96: 687b ldr r3, [r7, #4] - 8006c98: 601a str r2, [r3, #0] + 80072fa: 687b ldr r3, [r7, #4] + 80072fc: 681b ldr r3, [r3, #0] + 80072fe: f043 0240 orr.w r2, r3, #64 @ 0x40 + 8007302: 687b ldr r3, [r7, #4] + 8007304: 601a str r2, [r3, #0] USBx->GOTGCTL |= USB_OTG_GOTGCTL_BVALOVAL; - 8006c9a: 687b ldr r3, [r7, #4] - 8006c9c: 681b ldr r3, [r3, #0] - 8006c9e: f043 0280 orr.w r2, r3, #128 @ 0x80 - 8006ca2: 687b ldr r3, [r7, #4] - 8006ca4: 601a str r2, [r3, #0] - 8006ca6: e005 b.n 8006cb4 + 8007306: 687b ldr r3, [r7, #4] + 8007308: 681b ldr r3, [r3, #0] + 800730a: f043 0280 orr.w r2, r3, #128 @ 0x80 + 800730e: 687b ldr r3, [r7, #4] + 8007310: 601a str r2, [r3, #0] + 8007312: e005 b.n 8007320 } else { /* Enable HW VBUS sensing */ USBx->GCCFG |= USB_OTG_GCCFG_VBDEN; - 8006ca8: 687b ldr r3, [r7, #4] - 8006caa: 6b9b ldr r3, [r3, #56] @ 0x38 - 8006cac: f443 1200 orr.w r2, r3, #2097152 @ 0x200000 - 8006cb0: 687b ldr r3, [r7, #4] - 8006cb2: 639a str r2, [r3, #56] @ 0x38 + 8007314: 687b ldr r3, [r7, #4] + 8007316: 6b9b ldr r3, [r3, #56] @ 0x38 + 8007318: f443 1200 orr.w r2, r3, #2097152 @ 0x200000 + 800731c: 687b ldr r3, [r7, #4] + 800731e: 639a str r2, [r3, #56] @ 0x38 #endif /* defined(STM32F446xx) || defined(STM32F469xx) || defined(STM32F479xx) || defined(STM32F412Zx) || defined(STM32F412Vx) || defined(STM32F412Rx) || defined(STM32F412Cx) || defined(STM32F413xx) || defined(STM32F423xx) */ /* Restart the Phy Clock */ USBx_PCGCCTL = 0U; - 8006cb4: 68fb ldr r3, [r7, #12] - 8006cb6: f503 6360 add.w r3, r3, #3584 @ 0xe00 - 8006cba: 461a mov r2, r3 - 8006cbc: 2300 movs r3, #0 - 8006cbe: 6013 str r3, [r2, #0] + 8007320: 68fb ldr r3, [r7, #12] + 8007322: f503 6360 add.w r3, r3, #3584 @ 0xe00 + 8007326: 461a mov r2, r3 + 8007328: 2300 movs r3, #0 + 800732a: 6013 str r3, [r2, #0] if (cfg.phy_itface == USB_OTG_ULPI_PHY) - 8006cc0: f897 3029 ldrb.w r3, [r7, #41] @ 0x29 - 8006cc4: 2b01 cmp r3, #1 - 8006cc6: d10d bne.n 8006ce4 + 800732c: f897 3029 ldrb.w r3, [r7, #41] @ 0x29 + 8007330: 2b01 cmp r3, #1 + 8007332: d10d bne.n 8007350 { if (cfg.speed == USBD_HS_SPEED) - 8006cc8: f897 3027 ldrb.w r3, [r7, #39] @ 0x27 - 8006ccc: 2b00 cmp r3, #0 - 8006cce: d104 bne.n 8006cda + 8007334: f897 3027 ldrb.w r3, [r7, #39] @ 0x27 + 8007338: 2b00 cmp r3, #0 + 800733a: d104 bne.n 8007346 { /* Set Core speed to High speed mode */ (void)USB_SetDevSpeed(USBx, USB_OTG_SPEED_HIGH); - 8006cd0: 2100 movs r1, #0 - 8006cd2: 6878 ldr r0, [r7, #4] - 8006cd4: f000 f968 bl 8006fa8 - 8006cd8: e008 b.n 8006cec + 800733c: 2100 movs r1, #0 + 800733e: 6878 ldr r0, [r7, #4] + 8007340: f000 f968 bl 8007614 + 8007344: e008 b.n 8007358 } else { /* Set Core speed to Full speed mode */ (void)USB_SetDevSpeed(USBx, USB_OTG_SPEED_HIGH_IN_FULL); - 8006cda: 2101 movs r1, #1 - 8006cdc: 6878 ldr r0, [r7, #4] - 8006cde: f000 f963 bl 8006fa8 - 8006ce2: e003 b.n 8006cec + 8007346: 2101 movs r1, #1 + 8007348: 6878 ldr r0, [r7, #4] + 800734a: f000 f963 bl 8007614 + 800734e: e003 b.n 8007358 } } else { /* Set Core speed to Full speed mode */ (void)USB_SetDevSpeed(USBx, USB_OTG_SPEED_FULL); - 8006ce4: 2103 movs r1, #3 - 8006ce6: 6878 ldr r0, [r7, #4] - 8006ce8: f000 f95e bl 8006fa8 + 8007350: 2103 movs r1, #3 + 8007352: 6878 ldr r0, [r7, #4] + 8007354: f000 f95e bl 8007614 } /* Flush the FIFOs */ if (USB_FlushTxFifo(USBx, 0x10U) != HAL_OK) /* all Tx FIFOs */ - 8006cec: 2110 movs r1, #16 - 8006cee: 6878 ldr r0, [r7, #4] - 8006cf0: f000 f8fa bl 8006ee8 - 8006cf4: 4603 mov r3, r0 - 8006cf6: 2b00 cmp r3, #0 - 8006cf8: d001 beq.n 8006cfe + 8007358: 2110 movs r1, #16 + 800735a: 6878 ldr r0, [r7, #4] + 800735c: f000 f8fa bl 8007554 + 8007360: 4603 mov r3, r0 + 8007362: 2b00 cmp r3, #0 + 8007364: d001 beq.n 800736a { ret = HAL_ERROR; - 8006cfa: 2301 movs r3, #1 - 8006cfc: 75fb strb r3, [r7, #23] + 8007366: 2301 movs r3, #1 + 8007368: 75fb strb r3, [r7, #23] } if (USB_FlushRxFifo(USBx) != HAL_OK) - 8006cfe: 6878 ldr r0, [r7, #4] - 8006d00: f000 f924 bl 8006f4c - 8006d04: 4603 mov r3, r0 - 8006d06: 2b00 cmp r3, #0 - 8006d08: d001 beq.n 8006d0e + 800736a: 6878 ldr r0, [r7, #4] + 800736c: f000 f924 bl 80075b8 + 8007370: 4603 mov r3, r0 + 8007372: 2b00 cmp r3, #0 + 8007374: d001 beq.n 800737a { ret = HAL_ERROR; - 8006d0a: 2301 movs r3, #1 - 8006d0c: 75fb strb r3, [r7, #23] + 8007376: 2301 movs r3, #1 + 8007378: 75fb strb r3, [r7, #23] } /* Clear all pending Device Interrupts */ USBx_DEVICE->DIEPMSK = 0U; - 8006d0e: 68fb ldr r3, [r7, #12] - 8006d10: f503 6300 add.w r3, r3, #2048 @ 0x800 - 8006d14: 461a mov r2, r3 - 8006d16: 2300 movs r3, #0 - 8006d18: 6113 str r3, [r2, #16] + 800737a: 68fb ldr r3, [r7, #12] + 800737c: f503 6300 add.w r3, r3, #2048 @ 0x800 + 8007380: 461a mov r2, r3 + 8007382: 2300 movs r3, #0 + 8007384: 6113 str r3, [r2, #16] USBx_DEVICE->DOEPMSK = 0U; - 8006d1a: 68fb ldr r3, [r7, #12] - 8006d1c: f503 6300 add.w r3, r3, #2048 @ 0x800 - 8006d20: 461a mov r2, r3 - 8006d22: 2300 movs r3, #0 - 8006d24: 6153 str r3, [r2, #20] + 8007386: 68fb ldr r3, [r7, #12] + 8007388: f503 6300 add.w r3, r3, #2048 @ 0x800 + 800738c: 461a mov r2, r3 + 800738e: 2300 movs r3, #0 + 8007390: 6153 str r3, [r2, #20] USBx_DEVICE->DAINTMSK = 0U; - 8006d26: 68fb ldr r3, [r7, #12] - 8006d28: f503 6300 add.w r3, r3, #2048 @ 0x800 - 8006d2c: 461a mov r2, r3 - 8006d2e: 2300 movs r3, #0 - 8006d30: 61d3 str r3, [r2, #28] + 8007392: 68fb ldr r3, [r7, #12] + 8007394: f503 6300 add.w r3, r3, #2048 @ 0x800 + 8007398: 461a mov r2, r3 + 800739a: 2300 movs r3, #0 + 800739c: 61d3 str r3, [r2, #28] for (i = 0U; i < cfg.dev_endpoints; i++) - 8006d32: 2300 movs r3, #0 - 8006d34: 613b str r3, [r7, #16] - 8006d36: e043 b.n 8006dc0 + 800739e: 2300 movs r3, #0 + 80073a0: 613b str r3, [r7, #16] + 80073a2: e043 b.n 800742c { if ((USBx_INEP(i)->DIEPCTL & USB_OTG_DIEPCTL_EPENA) == USB_OTG_DIEPCTL_EPENA) - 8006d38: 693b ldr r3, [r7, #16] - 8006d3a: 015a lsls r2, r3, #5 - 8006d3c: 68fb ldr r3, [r7, #12] - 8006d3e: 4413 add r3, r2 - 8006d40: f503 6310 add.w r3, r3, #2304 @ 0x900 - 8006d44: 681b ldr r3, [r3, #0] - 8006d46: f003 4300 and.w r3, r3, #2147483648 @ 0x80000000 - 8006d4a: f1b3 4f00 cmp.w r3, #2147483648 @ 0x80000000 - 8006d4e: d118 bne.n 8006d82 + 80073a4: 693b ldr r3, [r7, #16] + 80073a6: 015a lsls r2, r3, #5 + 80073a8: 68fb ldr r3, [r7, #12] + 80073aa: 4413 add r3, r2 + 80073ac: f503 6310 add.w r3, r3, #2304 @ 0x900 + 80073b0: 681b ldr r3, [r3, #0] + 80073b2: f003 4300 and.w r3, r3, #2147483648 @ 0x80000000 + 80073b6: f1b3 4f00 cmp.w r3, #2147483648 @ 0x80000000 + 80073ba: d118 bne.n 80073ee { if (i == 0U) - 8006d50: 693b ldr r3, [r7, #16] - 8006d52: 2b00 cmp r3, #0 - 8006d54: d10a bne.n 8006d6c + 80073bc: 693b ldr r3, [r7, #16] + 80073be: 2b00 cmp r3, #0 + 80073c0: d10a bne.n 80073d8 { USBx_INEP(i)->DIEPCTL = USB_OTG_DIEPCTL_SNAK; - 8006d56: 693b ldr r3, [r7, #16] - 8006d58: 015a lsls r2, r3, #5 - 8006d5a: 68fb ldr r3, [r7, #12] - 8006d5c: 4413 add r3, r2 - 8006d5e: f503 6310 add.w r3, r3, #2304 @ 0x900 - 8006d62: 461a mov r2, r3 - 8006d64: f04f 6300 mov.w r3, #134217728 @ 0x8000000 - 8006d68: 6013 str r3, [r2, #0] - 8006d6a: e013 b.n 8006d94 + 80073c2: 693b ldr r3, [r7, #16] + 80073c4: 015a lsls r2, r3, #5 + 80073c6: 68fb ldr r3, [r7, #12] + 80073c8: 4413 add r3, r2 + 80073ca: f503 6310 add.w r3, r3, #2304 @ 0x900 + 80073ce: 461a mov r2, r3 + 80073d0: f04f 6300 mov.w r3, #134217728 @ 0x8000000 + 80073d4: 6013 str r3, [r2, #0] + 80073d6: e013 b.n 8007400 } else { USBx_INEP(i)->DIEPCTL = USB_OTG_DIEPCTL_EPDIS | USB_OTG_DIEPCTL_SNAK; - 8006d6c: 693b ldr r3, [r7, #16] - 8006d6e: 015a lsls r2, r3, #5 - 8006d70: 68fb ldr r3, [r7, #12] - 8006d72: 4413 add r3, r2 - 8006d74: f503 6310 add.w r3, r3, #2304 @ 0x900 - 8006d78: 461a mov r2, r3 - 8006d7a: f04f 4390 mov.w r3, #1207959552 @ 0x48000000 - 8006d7e: 6013 str r3, [r2, #0] - 8006d80: e008 b.n 8006d94 + 80073d8: 693b ldr r3, [r7, #16] + 80073da: 015a lsls r2, r3, #5 + 80073dc: 68fb ldr r3, [r7, #12] + 80073de: 4413 add r3, r2 + 80073e0: f503 6310 add.w r3, r3, #2304 @ 0x900 + 80073e4: 461a mov r2, r3 + 80073e6: f04f 4390 mov.w r3, #1207959552 @ 0x48000000 + 80073ea: 6013 str r3, [r2, #0] + 80073ec: e008 b.n 8007400 } } else { USBx_INEP(i)->DIEPCTL = 0U; - 8006d82: 693b ldr r3, [r7, #16] - 8006d84: 015a lsls r2, r3, #5 - 8006d86: 68fb ldr r3, [r7, #12] - 8006d88: 4413 add r3, r2 - 8006d8a: f503 6310 add.w r3, r3, #2304 @ 0x900 - 8006d8e: 461a mov r2, r3 - 8006d90: 2300 movs r3, #0 - 8006d92: 6013 str r3, [r2, #0] + 80073ee: 693b ldr r3, [r7, #16] + 80073f0: 015a lsls r2, r3, #5 + 80073f2: 68fb ldr r3, [r7, #12] + 80073f4: 4413 add r3, r2 + 80073f6: f503 6310 add.w r3, r3, #2304 @ 0x900 + 80073fa: 461a mov r2, r3 + 80073fc: 2300 movs r3, #0 + 80073fe: 6013 str r3, [r2, #0] } USBx_INEP(i)->DIEPTSIZ = 0U; - 8006d94: 693b ldr r3, [r7, #16] - 8006d96: 015a lsls r2, r3, #5 - 8006d98: 68fb ldr r3, [r7, #12] - 8006d9a: 4413 add r3, r2 - 8006d9c: f503 6310 add.w r3, r3, #2304 @ 0x900 - 8006da0: 461a mov r2, r3 - 8006da2: 2300 movs r3, #0 - 8006da4: 6113 str r3, [r2, #16] + 8007400: 693b ldr r3, [r7, #16] + 8007402: 015a lsls r2, r3, #5 + 8007404: 68fb ldr r3, [r7, #12] + 8007406: 4413 add r3, r2 + 8007408: f503 6310 add.w r3, r3, #2304 @ 0x900 + 800740c: 461a mov r2, r3 + 800740e: 2300 movs r3, #0 + 8007410: 6113 str r3, [r2, #16] USBx_INEP(i)->DIEPINT = 0xFB7FU; - 8006da6: 693b ldr r3, [r7, #16] - 8006da8: 015a lsls r2, r3, #5 - 8006daa: 68fb ldr r3, [r7, #12] - 8006dac: 4413 add r3, r2 - 8006dae: f503 6310 add.w r3, r3, #2304 @ 0x900 - 8006db2: 461a mov r2, r3 - 8006db4: f64f 337f movw r3, #64383 @ 0xfb7f - 8006db8: 6093 str r3, [r2, #8] + 8007412: 693b ldr r3, [r7, #16] + 8007414: 015a lsls r2, r3, #5 + 8007416: 68fb ldr r3, [r7, #12] + 8007418: 4413 add r3, r2 + 800741a: f503 6310 add.w r3, r3, #2304 @ 0x900 + 800741e: 461a mov r2, r3 + 8007420: f64f 337f movw r3, #64383 @ 0xfb7f + 8007424: 6093 str r3, [r2, #8] for (i = 0U; i < cfg.dev_endpoints; i++) - 8006dba: 693b ldr r3, [r7, #16] - 8006dbc: 3301 adds r3, #1 - 8006dbe: 613b str r3, [r7, #16] - 8006dc0: f897 3024 ldrb.w r3, [r7, #36] @ 0x24 - 8006dc4: 461a mov r2, r3 - 8006dc6: 693b ldr r3, [r7, #16] - 8006dc8: 4293 cmp r3, r2 - 8006dca: d3b5 bcc.n 8006d38 + 8007426: 693b ldr r3, [r7, #16] + 8007428: 3301 adds r3, #1 + 800742a: 613b str r3, [r7, #16] + 800742c: f897 3024 ldrb.w r3, [r7, #36] @ 0x24 + 8007430: 461a mov r2, r3 + 8007432: 693b ldr r3, [r7, #16] + 8007434: 4293 cmp r3, r2 + 8007436: d3b5 bcc.n 80073a4 } for (i = 0U; i < cfg.dev_endpoints; i++) - 8006dcc: 2300 movs r3, #0 - 8006dce: 613b str r3, [r7, #16] - 8006dd0: e043 b.n 8006e5a + 8007438: 2300 movs r3, #0 + 800743a: 613b str r3, [r7, #16] + 800743c: e043 b.n 80074c6 { if ((USBx_OUTEP(i)->DOEPCTL & USB_OTG_DOEPCTL_EPENA) == USB_OTG_DOEPCTL_EPENA) - 8006dd2: 693b ldr r3, [r7, #16] - 8006dd4: 015a lsls r2, r3, #5 - 8006dd6: 68fb ldr r3, [r7, #12] - 8006dd8: 4413 add r3, r2 - 8006dda: f503 6330 add.w r3, r3, #2816 @ 0xb00 - 8006dde: 681b ldr r3, [r3, #0] - 8006de0: f003 4300 and.w r3, r3, #2147483648 @ 0x80000000 - 8006de4: f1b3 4f00 cmp.w r3, #2147483648 @ 0x80000000 - 8006de8: d118 bne.n 8006e1c + 800743e: 693b ldr r3, [r7, #16] + 8007440: 015a lsls r2, r3, #5 + 8007442: 68fb ldr r3, [r7, #12] + 8007444: 4413 add r3, r2 + 8007446: f503 6330 add.w r3, r3, #2816 @ 0xb00 + 800744a: 681b ldr r3, [r3, #0] + 800744c: f003 4300 and.w r3, r3, #2147483648 @ 0x80000000 + 8007450: f1b3 4f00 cmp.w r3, #2147483648 @ 0x80000000 + 8007454: d118 bne.n 8007488 { if (i == 0U) - 8006dea: 693b ldr r3, [r7, #16] - 8006dec: 2b00 cmp r3, #0 - 8006dee: d10a bne.n 8006e06 + 8007456: 693b ldr r3, [r7, #16] + 8007458: 2b00 cmp r3, #0 + 800745a: d10a bne.n 8007472 { USBx_OUTEP(i)->DOEPCTL = USB_OTG_DOEPCTL_SNAK; - 8006df0: 693b ldr r3, [r7, #16] - 8006df2: 015a lsls r2, r3, #5 - 8006df4: 68fb ldr r3, [r7, #12] - 8006df6: 4413 add r3, r2 - 8006df8: f503 6330 add.w r3, r3, #2816 @ 0xb00 - 8006dfc: 461a mov r2, r3 - 8006dfe: f04f 6300 mov.w r3, #134217728 @ 0x8000000 - 8006e02: 6013 str r3, [r2, #0] - 8006e04: e013 b.n 8006e2e + 800745c: 693b ldr r3, [r7, #16] + 800745e: 015a lsls r2, r3, #5 + 8007460: 68fb ldr r3, [r7, #12] + 8007462: 4413 add r3, r2 + 8007464: f503 6330 add.w r3, r3, #2816 @ 0xb00 + 8007468: 461a mov r2, r3 + 800746a: f04f 6300 mov.w r3, #134217728 @ 0x8000000 + 800746e: 6013 str r3, [r2, #0] + 8007470: e013 b.n 800749a } else { USBx_OUTEP(i)->DOEPCTL = USB_OTG_DOEPCTL_EPDIS | USB_OTG_DOEPCTL_SNAK; - 8006e06: 693b ldr r3, [r7, #16] - 8006e08: 015a lsls r2, r3, #5 - 8006e0a: 68fb ldr r3, [r7, #12] - 8006e0c: 4413 add r3, r2 - 8006e0e: f503 6330 add.w r3, r3, #2816 @ 0xb00 - 8006e12: 461a mov r2, r3 - 8006e14: f04f 4390 mov.w r3, #1207959552 @ 0x48000000 - 8006e18: 6013 str r3, [r2, #0] - 8006e1a: e008 b.n 8006e2e + 8007472: 693b ldr r3, [r7, #16] + 8007474: 015a lsls r2, r3, #5 + 8007476: 68fb ldr r3, [r7, #12] + 8007478: 4413 add r3, r2 + 800747a: f503 6330 add.w r3, r3, #2816 @ 0xb00 + 800747e: 461a mov r2, r3 + 8007480: f04f 4390 mov.w r3, #1207959552 @ 0x48000000 + 8007484: 6013 str r3, [r2, #0] + 8007486: e008 b.n 800749a } } else { USBx_OUTEP(i)->DOEPCTL = 0U; - 8006e1c: 693b ldr r3, [r7, #16] - 8006e1e: 015a lsls r2, r3, #5 - 8006e20: 68fb ldr r3, [r7, #12] - 8006e22: 4413 add r3, r2 - 8006e24: f503 6330 add.w r3, r3, #2816 @ 0xb00 - 8006e28: 461a mov r2, r3 - 8006e2a: 2300 movs r3, #0 - 8006e2c: 6013 str r3, [r2, #0] + 8007488: 693b ldr r3, [r7, #16] + 800748a: 015a lsls r2, r3, #5 + 800748c: 68fb ldr r3, [r7, #12] + 800748e: 4413 add r3, r2 + 8007490: f503 6330 add.w r3, r3, #2816 @ 0xb00 + 8007494: 461a mov r2, r3 + 8007496: 2300 movs r3, #0 + 8007498: 6013 str r3, [r2, #0] } USBx_OUTEP(i)->DOEPTSIZ = 0U; - 8006e2e: 693b ldr r3, [r7, #16] - 8006e30: 015a lsls r2, r3, #5 - 8006e32: 68fb ldr r3, [r7, #12] - 8006e34: 4413 add r3, r2 - 8006e36: f503 6330 add.w r3, r3, #2816 @ 0xb00 - 8006e3a: 461a mov r2, r3 - 8006e3c: 2300 movs r3, #0 - 8006e3e: 6113 str r3, [r2, #16] + 800749a: 693b ldr r3, [r7, #16] + 800749c: 015a lsls r2, r3, #5 + 800749e: 68fb ldr r3, [r7, #12] + 80074a0: 4413 add r3, r2 + 80074a2: f503 6330 add.w r3, r3, #2816 @ 0xb00 + 80074a6: 461a mov r2, r3 + 80074a8: 2300 movs r3, #0 + 80074aa: 6113 str r3, [r2, #16] USBx_OUTEP(i)->DOEPINT = 0xFB7FU; - 8006e40: 693b ldr r3, [r7, #16] - 8006e42: 015a lsls r2, r3, #5 - 8006e44: 68fb ldr r3, [r7, #12] - 8006e46: 4413 add r3, r2 - 8006e48: f503 6330 add.w r3, r3, #2816 @ 0xb00 - 8006e4c: 461a mov r2, r3 - 8006e4e: f64f 337f movw r3, #64383 @ 0xfb7f - 8006e52: 6093 str r3, [r2, #8] + 80074ac: 693b ldr r3, [r7, #16] + 80074ae: 015a lsls r2, r3, #5 + 80074b0: 68fb ldr r3, [r7, #12] + 80074b2: 4413 add r3, r2 + 80074b4: f503 6330 add.w r3, r3, #2816 @ 0xb00 + 80074b8: 461a mov r2, r3 + 80074ba: f64f 337f movw r3, #64383 @ 0xfb7f + 80074be: 6093 str r3, [r2, #8] for (i = 0U; i < cfg.dev_endpoints; i++) - 8006e54: 693b ldr r3, [r7, #16] - 8006e56: 3301 adds r3, #1 - 8006e58: 613b str r3, [r7, #16] - 8006e5a: f897 3024 ldrb.w r3, [r7, #36] @ 0x24 - 8006e5e: 461a mov r2, r3 - 8006e60: 693b ldr r3, [r7, #16] - 8006e62: 4293 cmp r3, r2 - 8006e64: d3b5 bcc.n 8006dd2 + 80074c0: 693b ldr r3, [r7, #16] + 80074c2: 3301 adds r3, #1 + 80074c4: 613b str r3, [r7, #16] + 80074c6: f897 3024 ldrb.w r3, [r7, #36] @ 0x24 + 80074ca: 461a mov r2, r3 + 80074cc: 693b ldr r3, [r7, #16] + 80074ce: 4293 cmp r3, r2 + 80074d0: d3b5 bcc.n 800743e } USBx_DEVICE->DIEPMSK &= ~(USB_OTG_DIEPMSK_TXFURM); - 8006e66: 68fb ldr r3, [r7, #12] - 8006e68: f503 6300 add.w r3, r3, #2048 @ 0x800 - 8006e6c: 691b ldr r3, [r3, #16] - 8006e6e: 68fa ldr r2, [r7, #12] - 8006e70: f502 6200 add.w r2, r2, #2048 @ 0x800 - 8006e74: f423 7380 bic.w r3, r3, #256 @ 0x100 - 8006e78: 6113 str r3, [r2, #16] + 80074d2: 68fb ldr r3, [r7, #12] + 80074d4: f503 6300 add.w r3, r3, #2048 @ 0x800 + 80074d8: 691b ldr r3, [r3, #16] + 80074da: 68fa ldr r2, [r7, #12] + 80074dc: f502 6200 add.w r2, r2, #2048 @ 0x800 + 80074e0: f423 7380 bic.w r3, r3, #256 @ 0x100 + 80074e4: 6113 str r3, [r2, #16] /* Disable all interrupts. */ USBx->GINTMSK = 0U; - 8006e7a: 687b ldr r3, [r7, #4] - 8006e7c: 2200 movs r2, #0 - 8006e7e: 619a str r2, [r3, #24] + 80074e6: 687b ldr r3, [r7, #4] + 80074e8: 2200 movs r2, #0 + 80074ea: 619a str r2, [r3, #24] /* Clear any pending interrupts */ USBx->GINTSTS = 0xBFFFFFFFU; - 8006e80: 687b ldr r3, [r7, #4] - 8006e82: f06f 4280 mvn.w r2, #1073741824 @ 0x40000000 - 8006e86: 615a str r2, [r3, #20] + 80074ec: 687b ldr r3, [r7, #4] + 80074ee: f06f 4280 mvn.w r2, #1073741824 @ 0x40000000 + 80074f2: 615a str r2, [r3, #20] /* Enable the common interrupts */ if (cfg.dma_enable == 0U) - 8006e88: f897 3026 ldrb.w r3, [r7, #38] @ 0x26 - 8006e8c: 2b00 cmp r3, #0 - 8006e8e: d105 bne.n 8006e9c + 80074f4: f897 3026 ldrb.w r3, [r7, #38] @ 0x26 + 80074f8: 2b00 cmp r3, #0 + 80074fa: d105 bne.n 8007508 { USBx->GINTMSK |= USB_OTG_GINTMSK_RXFLVLM; - 8006e90: 687b ldr r3, [r7, #4] - 8006e92: 699b ldr r3, [r3, #24] - 8006e94: f043 0210 orr.w r2, r3, #16 - 8006e98: 687b ldr r3, [r7, #4] - 8006e9a: 619a str r2, [r3, #24] + 80074fc: 687b ldr r3, [r7, #4] + 80074fe: 699b ldr r3, [r3, #24] + 8007500: f043 0210 orr.w r2, r3, #16 + 8007504: 687b ldr r3, [r7, #4] + 8007506: 619a str r2, [r3, #24] } /* Enable interrupts matching to the Device mode ONLY */ USBx->GINTMSK |= USB_OTG_GINTMSK_USBSUSPM | USB_OTG_GINTMSK_USBRST | - 8006e9c: 687b ldr r3, [r7, #4] - 8006e9e: 699a ldr r2, [r3, #24] - 8006ea0: 4b10 ldr r3, [pc, #64] @ (8006ee4 ) - 8006ea2: 4313 orrs r3, r2 - 8006ea4: 687a ldr r2, [r7, #4] - 8006ea6: 6193 str r3, [r2, #24] + 8007508: 687b ldr r3, [r7, #4] + 800750a: 699a ldr r2, [r3, #24] + 800750c: 4b10 ldr r3, [pc, #64] @ (8007550 ) + 800750e: 4313 orrs r3, r2 + 8007510: 687a ldr r2, [r7, #4] + 8007512: 6193 str r3, [r2, #24] USB_OTG_GINTMSK_ENUMDNEM | USB_OTG_GINTMSK_IEPINT | USB_OTG_GINTMSK_OEPINT | USB_OTG_GINTMSK_IISOIXFRM | USB_OTG_GINTMSK_PXFRM_IISOOXFRM | USB_OTG_GINTMSK_WUIM; if (cfg.Sof_enable != 0U) - 8006ea8: f897 302a ldrb.w r3, [r7, #42] @ 0x2a - 8006eac: 2b00 cmp r3, #0 - 8006eae: d005 beq.n 8006ebc + 8007514: f897 302a ldrb.w r3, [r7, #42] @ 0x2a + 8007518: 2b00 cmp r3, #0 + 800751a: d005 beq.n 8007528 { USBx->GINTMSK |= USB_OTG_GINTMSK_SOFM; - 8006eb0: 687b ldr r3, [r7, #4] - 8006eb2: 699b ldr r3, [r3, #24] - 8006eb4: f043 0208 orr.w r2, r3, #8 - 8006eb8: 687b ldr r3, [r7, #4] - 8006eba: 619a str r2, [r3, #24] + 800751c: 687b ldr r3, [r7, #4] + 800751e: 699b ldr r3, [r3, #24] + 8007520: f043 0208 orr.w r2, r3, #8 + 8007524: 687b ldr r3, [r7, #4] + 8007526: 619a str r2, [r3, #24] } if (cfg.vbus_sensing_enable == 1U) - 8006ebc: f897 302e ldrb.w r3, [r7, #46] @ 0x2e - 8006ec0: 2b01 cmp r3, #1 - 8006ec2: d107 bne.n 8006ed4 + 8007528: f897 302e ldrb.w r3, [r7, #46] @ 0x2e + 800752c: 2b01 cmp r3, #1 + 800752e: d107 bne.n 8007540 { USBx->GINTMSK |= (USB_OTG_GINTMSK_SRQIM | USB_OTG_GINTMSK_OTGINT); - 8006ec4: 687b ldr r3, [r7, #4] - 8006ec6: 699b ldr r3, [r3, #24] - 8006ec8: f043 4380 orr.w r3, r3, #1073741824 @ 0x40000000 - 8006ecc: f043 0304 orr.w r3, r3, #4 - 8006ed0: 687a ldr r2, [r7, #4] - 8006ed2: 6193 str r3, [r2, #24] + 8007530: 687b ldr r3, [r7, #4] + 8007532: 699b ldr r3, [r3, #24] + 8007534: f043 4380 orr.w r3, r3, #1073741824 @ 0x40000000 + 8007538: f043 0304 orr.w r3, r3, #4 + 800753c: 687a ldr r2, [r7, #4] + 800753e: 6193 str r3, [r2, #24] } return ret; - 8006ed4: 7dfb ldrb r3, [r7, #23] + 8007540: 7dfb ldrb r3, [r7, #23] } - 8006ed6: 4618 mov r0, r3 - 8006ed8: 3718 adds r7, #24 - 8006eda: 46bd mov sp, r7 - 8006edc: e8bd 4080 ldmia.w sp!, {r7, lr} - 8006ee0: b004 add sp, #16 - 8006ee2: 4770 bx lr - 8006ee4: 803c3800 .word 0x803c3800 + 8007542: 4618 mov r0, r3 + 8007544: 3718 adds r7, #24 + 8007546: 46bd mov sp, r7 + 8007548: e8bd 4080 ldmia.w sp!, {r7, lr} + 800754c: b004 add sp, #16 + 800754e: 4770 bx lr + 8007550: 803c3800 .word 0x803c3800 -08006ee8 : +08007554 : * This parameter can be a value from 1 to 15 15 means Flush all Tx FIFOs * @retval HAL status */ HAL_StatusTypeDef USB_FlushTxFifo(USB_OTG_GlobalTypeDef *USBx, uint32_t num) { - 8006ee8: b480 push {r7} - 8006eea: b085 sub sp, #20 - 8006eec: af00 add r7, sp, #0 - 8006eee: 6078 str r0, [r7, #4] - 8006ef0: 6039 str r1, [r7, #0] + 8007554: b480 push {r7} + 8007556: b085 sub sp, #20 + 8007558: af00 add r7, sp, #0 + 800755a: 6078 str r0, [r7, #4] + 800755c: 6039 str r1, [r7, #0] __IO uint32_t count = 0U; - 8006ef2: 2300 movs r3, #0 - 8006ef4: 60fb str r3, [r7, #12] + 800755e: 2300 movs r3, #0 + 8007560: 60fb str r3, [r7, #12] /* Wait for AHB master IDLE state. */ do { count++; - 8006ef6: 68fb ldr r3, [r7, #12] - 8006ef8: 3301 adds r3, #1 - 8006efa: 60fb str r3, [r7, #12] + 8007562: 68fb ldr r3, [r7, #12] + 8007564: 3301 adds r3, #1 + 8007566: 60fb str r3, [r7, #12] if (count > HAL_USB_TIMEOUT) - 8006efc: 68fb ldr r3, [r7, #12] - 8006efe: f1b3 6f70 cmp.w r3, #251658240 @ 0xf000000 - 8006f02: d901 bls.n 8006f08 + 8007568: 68fb ldr r3, [r7, #12] + 800756a: f1b3 6f70 cmp.w r3, #251658240 @ 0xf000000 + 800756e: d901 bls.n 8007574 { return HAL_TIMEOUT; - 8006f04: 2303 movs r3, #3 - 8006f06: e01b b.n 8006f40 + 8007570: 2303 movs r3, #3 + 8007572: e01b b.n 80075ac } } while ((USBx->GRSTCTL & USB_OTG_GRSTCTL_AHBIDL) == 0U); - 8006f08: 687b ldr r3, [r7, #4] - 8006f0a: 691b ldr r3, [r3, #16] - 8006f0c: 2b00 cmp r3, #0 - 8006f0e: daf2 bge.n 8006ef6 + 8007574: 687b ldr r3, [r7, #4] + 8007576: 691b ldr r3, [r3, #16] + 8007578: 2b00 cmp r3, #0 + 800757a: daf2 bge.n 8007562 /* Flush TX Fifo */ count = 0U; - 8006f10: 2300 movs r3, #0 - 8006f12: 60fb str r3, [r7, #12] + 800757c: 2300 movs r3, #0 + 800757e: 60fb str r3, [r7, #12] USBx->GRSTCTL = (USB_OTG_GRSTCTL_TXFFLSH | (num << 6)); - 8006f14: 683b ldr r3, [r7, #0] - 8006f16: 019b lsls r3, r3, #6 - 8006f18: f043 0220 orr.w r2, r3, #32 - 8006f1c: 687b ldr r3, [r7, #4] - 8006f1e: 611a str r2, [r3, #16] + 8007580: 683b ldr r3, [r7, #0] + 8007582: 019b lsls r3, r3, #6 + 8007584: f043 0220 orr.w r2, r3, #32 + 8007588: 687b ldr r3, [r7, #4] + 800758a: 611a str r2, [r3, #16] do { count++; - 8006f20: 68fb ldr r3, [r7, #12] - 8006f22: 3301 adds r3, #1 - 8006f24: 60fb str r3, [r7, #12] + 800758c: 68fb ldr r3, [r7, #12] + 800758e: 3301 adds r3, #1 + 8007590: 60fb str r3, [r7, #12] if (count > HAL_USB_TIMEOUT) - 8006f26: 68fb ldr r3, [r7, #12] - 8006f28: f1b3 6f70 cmp.w r3, #251658240 @ 0xf000000 - 8006f2c: d901 bls.n 8006f32 + 8007592: 68fb ldr r3, [r7, #12] + 8007594: f1b3 6f70 cmp.w r3, #251658240 @ 0xf000000 + 8007598: d901 bls.n 800759e { return HAL_TIMEOUT; - 8006f2e: 2303 movs r3, #3 - 8006f30: e006 b.n 8006f40 + 800759a: 2303 movs r3, #3 + 800759c: e006 b.n 80075ac } } while ((USBx->GRSTCTL & USB_OTG_GRSTCTL_TXFFLSH) == USB_OTG_GRSTCTL_TXFFLSH); - 8006f32: 687b ldr r3, [r7, #4] - 8006f34: 691b ldr r3, [r3, #16] - 8006f36: f003 0320 and.w r3, r3, #32 - 8006f3a: 2b20 cmp r3, #32 - 8006f3c: d0f0 beq.n 8006f20 + 800759e: 687b ldr r3, [r7, #4] + 80075a0: 691b ldr r3, [r3, #16] + 80075a2: f003 0320 and.w r3, r3, #32 + 80075a6: 2b20 cmp r3, #32 + 80075a8: d0f0 beq.n 800758c return HAL_OK; - 8006f3e: 2300 movs r3, #0 + 80075aa: 2300 movs r3, #0 } - 8006f40: 4618 mov r0, r3 - 8006f42: 3714 adds r7, #20 - 8006f44: 46bd mov sp, r7 - 8006f46: f85d 7b04 ldr.w r7, [sp], #4 - 8006f4a: 4770 bx lr + 80075ac: 4618 mov r0, r3 + 80075ae: 3714 adds r7, #20 + 80075b0: 46bd mov sp, r7 + 80075b2: f85d 7b04 ldr.w r7, [sp], #4 + 80075b6: 4770 bx lr -08006f4c : +080075b8 : * @brief USB_FlushRxFifo Flush Rx FIFO * @param USBx Selected device * @retval HAL status */ HAL_StatusTypeDef USB_FlushRxFifo(USB_OTG_GlobalTypeDef *USBx) { - 8006f4c: b480 push {r7} - 8006f4e: b085 sub sp, #20 - 8006f50: af00 add r7, sp, #0 - 8006f52: 6078 str r0, [r7, #4] + 80075b8: b480 push {r7} + 80075ba: b085 sub sp, #20 + 80075bc: af00 add r7, sp, #0 + 80075be: 6078 str r0, [r7, #4] __IO uint32_t count = 0U; - 8006f54: 2300 movs r3, #0 - 8006f56: 60fb str r3, [r7, #12] + 80075c0: 2300 movs r3, #0 + 80075c2: 60fb str r3, [r7, #12] /* Wait for AHB master IDLE state. */ do { count++; - 8006f58: 68fb ldr r3, [r7, #12] - 8006f5a: 3301 adds r3, #1 - 8006f5c: 60fb str r3, [r7, #12] + 80075c4: 68fb ldr r3, [r7, #12] + 80075c6: 3301 adds r3, #1 + 80075c8: 60fb str r3, [r7, #12] if (count > HAL_USB_TIMEOUT) - 8006f5e: 68fb ldr r3, [r7, #12] - 8006f60: f1b3 6f70 cmp.w r3, #251658240 @ 0xf000000 - 8006f64: d901 bls.n 8006f6a + 80075ca: 68fb ldr r3, [r7, #12] + 80075cc: f1b3 6f70 cmp.w r3, #251658240 @ 0xf000000 + 80075d0: d901 bls.n 80075d6 { return HAL_TIMEOUT; - 8006f66: 2303 movs r3, #3 - 8006f68: e018 b.n 8006f9c + 80075d2: 2303 movs r3, #3 + 80075d4: e018 b.n 8007608 } } while ((USBx->GRSTCTL & USB_OTG_GRSTCTL_AHBIDL) == 0U); - 8006f6a: 687b ldr r3, [r7, #4] - 8006f6c: 691b ldr r3, [r3, #16] - 8006f6e: 2b00 cmp r3, #0 - 8006f70: daf2 bge.n 8006f58 + 80075d6: 687b ldr r3, [r7, #4] + 80075d8: 691b ldr r3, [r3, #16] + 80075da: 2b00 cmp r3, #0 + 80075dc: daf2 bge.n 80075c4 /* Flush RX Fifo */ count = 0U; - 8006f72: 2300 movs r3, #0 - 8006f74: 60fb str r3, [r7, #12] + 80075de: 2300 movs r3, #0 + 80075e0: 60fb str r3, [r7, #12] USBx->GRSTCTL = USB_OTG_GRSTCTL_RXFFLSH; - 8006f76: 687b ldr r3, [r7, #4] - 8006f78: 2210 movs r2, #16 - 8006f7a: 611a str r2, [r3, #16] + 80075e2: 687b ldr r3, [r7, #4] + 80075e4: 2210 movs r2, #16 + 80075e6: 611a str r2, [r3, #16] do { count++; - 8006f7c: 68fb ldr r3, [r7, #12] - 8006f7e: 3301 adds r3, #1 - 8006f80: 60fb str r3, [r7, #12] + 80075e8: 68fb ldr r3, [r7, #12] + 80075ea: 3301 adds r3, #1 + 80075ec: 60fb str r3, [r7, #12] if (count > HAL_USB_TIMEOUT) - 8006f82: 68fb ldr r3, [r7, #12] - 8006f84: f1b3 6f70 cmp.w r3, #251658240 @ 0xf000000 - 8006f88: d901 bls.n 8006f8e + 80075ee: 68fb ldr r3, [r7, #12] + 80075f0: f1b3 6f70 cmp.w r3, #251658240 @ 0xf000000 + 80075f4: d901 bls.n 80075fa { return HAL_TIMEOUT; - 8006f8a: 2303 movs r3, #3 - 8006f8c: e006 b.n 8006f9c + 80075f6: 2303 movs r3, #3 + 80075f8: e006 b.n 8007608 } } while ((USBx->GRSTCTL & USB_OTG_GRSTCTL_RXFFLSH) == USB_OTG_GRSTCTL_RXFFLSH); - 8006f8e: 687b ldr r3, [r7, #4] - 8006f90: 691b ldr r3, [r3, #16] - 8006f92: f003 0310 and.w r3, r3, #16 - 8006f96: 2b10 cmp r3, #16 - 8006f98: d0f0 beq.n 8006f7c + 80075fa: 687b ldr r3, [r7, #4] + 80075fc: 691b ldr r3, [r3, #16] + 80075fe: f003 0310 and.w r3, r3, #16 + 8007602: 2b10 cmp r3, #16 + 8007604: d0f0 beq.n 80075e8 return HAL_OK; - 8006f9a: 2300 movs r3, #0 + 8007606: 2300 movs r3, #0 } - 8006f9c: 4618 mov r0, r3 - 8006f9e: 3714 adds r7, #20 - 8006fa0: 46bd mov sp, r7 - 8006fa2: f85d 7b04 ldr.w r7, [sp], #4 - 8006fa6: 4770 bx lr + 8007608: 4618 mov r0, r3 + 800760a: 3714 adds r7, #20 + 800760c: 46bd mov sp, r7 + 800760e: f85d 7b04 ldr.w r7, [sp], #4 + 8007612: 4770 bx lr -08006fa8 : +08007614 : * @arg USB_OTG_SPEED_HIGH_IN_FULL: High speed core in Full Speed mode * @arg USB_OTG_SPEED_FULL: Full speed mode * @retval Hal status */ HAL_StatusTypeDef USB_SetDevSpeed(const USB_OTG_GlobalTypeDef *USBx, uint8_t speed) { - 8006fa8: b480 push {r7} - 8006faa: b085 sub sp, #20 - 8006fac: af00 add r7, sp, #0 - 8006fae: 6078 str r0, [r7, #4] - 8006fb0: 460b mov r3, r1 - 8006fb2: 70fb strb r3, [r7, #3] + 8007614: b480 push {r7} + 8007616: b085 sub sp, #20 + 8007618: af00 add r7, sp, #0 + 800761a: 6078 str r0, [r7, #4] + 800761c: 460b mov r3, r1 + 800761e: 70fb strb r3, [r7, #3] uint32_t USBx_BASE = (uint32_t)USBx; - 8006fb4: 687b ldr r3, [r7, #4] - 8006fb6: 60fb str r3, [r7, #12] + 8007620: 687b ldr r3, [r7, #4] + 8007622: 60fb str r3, [r7, #12] USBx_DEVICE->DCFG |= speed; - 8006fb8: 68fb ldr r3, [r7, #12] - 8006fba: f503 6300 add.w r3, r3, #2048 @ 0x800 - 8006fbe: 681a ldr r2, [r3, #0] - 8006fc0: 78fb ldrb r3, [r7, #3] - 8006fc2: 68f9 ldr r1, [r7, #12] - 8006fc4: f501 6100 add.w r1, r1, #2048 @ 0x800 - 8006fc8: 4313 orrs r3, r2 - 8006fca: 600b str r3, [r1, #0] + 8007624: 68fb ldr r3, [r7, #12] + 8007626: f503 6300 add.w r3, r3, #2048 @ 0x800 + 800762a: 681a ldr r2, [r3, #0] + 800762c: 78fb ldrb r3, [r7, #3] + 800762e: 68f9 ldr r1, [r7, #12] + 8007630: f501 6100 add.w r1, r1, #2048 @ 0x800 + 8007634: 4313 orrs r3, r2 + 8007636: 600b str r3, [r1, #0] return HAL_OK; - 8006fcc: 2300 movs r3, #0 + 8007638: 2300 movs r3, #0 } - 8006fce: 4618 mov r0, r3 - 8006fd0: 3714 adds r7, #20 - 8006fd2: 46bd mov sp, r7 - 8006fd4: f85d 7b04 ldr.w r7, [sp], #4 - 8006fd8: 4770 bx lr + 800763a: 4618 mov r0, r3 + 800763c: 3714 adds r7, #20 + 800763e: 46bd mov sp, r7 + 8007640: f85d 7b04 ldr.w r7, [sp], #4 + 8007644: 4770 bx lr -08006fda : +08007646 : * This parameter can be one of these values: * @arg USBD_HS_SPEED: High speed mode * @arg USBD_FS_SPEED: Full speed mode */ uint8_t USB_GetDevSpeed(const USB_OTG_GlobalTypeDef *USBx) { - 8006fda: b480 push {r7} - 8006fdc: b087 sub sp, #28 - 8006fde: af00 add r7, sp, #0 - 8006fe0: 6078 str r0, [r7, #4] + 8007646: b480 push {r7} + 8007648: b087 sub sp, #28 + 800764a: af00 add r7, sp, #0 + 800764c: 6078 str r0, [r7, #4] uint32_t USBx_BASE = (uint32_t)USBx; - 8006fe2: 687b ldr r3, [r7, #4] - 8006fe4: 613b str r3, [r7, #16] + 800764e: 687b ldr r3, [r7, #4] + 8007650: 613b str r3, [r7, #16] uint8_t speed; uint32_t DevEnumSpeed = USBx_DEVICE->DSTS & USB_OTG_DSTS_ENUMSPD; - 8006fe6: 693b ldr r3, [r7, #16] - 8006fe8: f503 6300 add.w r3, r3, #2048 @ 0x800 - 8006fec: 689b ldr r3, [r3, #8] - 8006fee: f003 0306 and.w r3, r3, #6 - 8006ff2: 60fb str r3, [r7, #12] + 8007652: 693b ldr r3, [r7, #16] + 8007654: f503 6300 add.w r3, r3, #2048 @ 0x800 + 8007658: 689b ldr r3, [r3, #8] + 800765a: f003 0306 and.w r3, r3, #6 + 800765e: 60fb str r3, [r7, #12] if (DevEnumSpeed == DSTS_ENUMSPD_HS_PHY_30MHZ_OR_60MHZ) - 8006ff4: 68fb ldr r3, [r7, #12] - 8006ff6: 2b00 cmp r3, #0 - 8006ff8: d102 bne.n 8007000 + 8007660: 68fb ldr r3, [r7, #12] + 8007662: 2b00 cmp r3, #0 + 8007664: d102 bne.n 800766c { speed = USBD_HS_SPEED; - 8006ffa: 2300 movs r3, #0 - 8006ffc: 75fb strb r3, [r7, #23] - 8006ffe: e00a b.n 8007016 + 8007666: 2300 movs r3, #0 + 8007668: 75fb strb r3, [r7, #23] + 800766a: e00a b.n 8007682 } else if ((DevEnumSpeed == DSTS_ENUMSPD_FS_PHY_30MHZ_OR_60MHZ) || - 8007000: 68fb ldr r3, [r7, #12] - 8007002: 2b02 cmp r3, #2 - 8007004: d002 beq.n 800700c - 8007006: 68fb ldr r3, [r7, #12] - 8007008: 2b06 cmp r3, #6 - 800700a: d102 bne.n 8007012 + 800766c: 68fb ldr r3, [r7, #12] + 800766e: 2b02 cmp r3, #2 + 8007670: d002 beq.n 8007678 + 8007672: 68fb ldr r3, [r7, #12] + 8007674: 2b06 cmp r3, #6 + 8007676: d102 bne.n 800767e (DevEnumSpeed == DSTS_ENUMSPD_FS_PHY_48MHZ)) { speed = USBD_FS_SPEED; - 800700c: 2302 movs r3, #2 - 800700e: 75fb strb r3, [r7, #23] - 8007010: e001 b.n 8007016 + 8007678: 2302 movs r3, #2 + 800767a: 75fb strb r3, [r7, #23] + 800767c: e001 b.n 8007682 } else { speed = 0xFU; - 8007012: 230f movs r3, #15 - 8007014: 75fb strb r3, [r7, #23] + 800767e: 230f movs r3, #15 + 8007680: 75fb strb r3, [r7, #23] } return speed; - 8007016: 7dfb ldrb r3, [r7, #23] + 8007682: 7dfb ldrb r3, [r7, #23] } - 8007018: 4618 mov r0, r3 - 800701a: 371c adds r7, #28 - 800701c: 46bd mov sp, r7 - 800701e: f85d 7b04 ldr.w r7, [sp], #4 - 8007022: 4770 bx lr + 8007684: 4618 mov r0, r3 + 8007686: 371c adds r7, #28 + 8007688: 46bd mov sp, r7 + 800768a: f85d 7b04 ldr.w r7, [sp], #4 + 800768e: 4770 bx lr -08007024 : +08007690 : * @param USBx Selected device * @param ep pointer to endpoint structure * @retval HAL status */ HAL_StatusTypeDef USB_ActivateEndpoint(const USB_OTG_GlobalTypeDef *USBx, const USB_OTG_EPTypeDef *ep) { - 8007024: b480 push {r7} - 8007026: b085 sub sp, #20 - 8007028: af00 add r7, sp, #0 - 800702a: 6078 str r0, [r7, #4] - 800702c: 6039 str r1, [r7, #0] + 8007690: b480 push {r7} + 8007692: b085 sub sp, #20 + 8007694: af00 add r7, sp, #0 + 8007696: 6078 str r0, [r7, #4] + 8007698: 6039 str r1, [r7, #0] uint32_t USBx_BASE = (uint32_t)USBx; - 800702e: 687b ldr r3, [r7, #4] - 8007030: 60fb str r3, [r7, #12] + 800769a: 687b ldr r3, [r7, #4] + 800769c: 60fb str r3, [r7, #12] uint32_t epnum = (uint32_t)ep->num; - 8007032: 683b ldr r3, [r7, #0] - 8007034: 781b ldrb r3, [r3, #0] - 8007036: 60bb str r3, [r7, #8] + 800769e: 683b ldr r3, [r7, #0] + 80076a0: 781b ldrb r3, [r3, #0] + 80076a2: 60bb str r3, [r7, #8] if (ep->is_in == 1U) - 8007038: 683b ldr r3, [r7, #0] - 800703a: 785b ldrb r3, [r3, #1] - 800703c: 2b01 cmp r3, #1 - 800703e: d13a bne.n 80070b6 + 80076a4: 683b ldr r3, [r7, #0] + 80076a6: 785b ldrb r3, [r3, #1] + 80076a8: 2b01 cmp r3, #1 + 80076aa: d13a bne.n 8007722 { USBx_DEVICE->DAINTMSK |= USB_OTG_DAINTMSK_IEPM & (uint32_t)(1UL << (ep->num & EP_ADDR_MSK)); - 8007040: 68fb ldr r3, [r7, #12] - 8007042: f503 6300 add.w r3, r3, #2048 @ 0x800 - 8007046: 69da ldr r2, [r3, #28] - 8007048: 683b ldr r3, [r7, #0] - 800704a: 781b ldrb r3, [r3, #0] - 800704c: f003 030f and.w r3, r3, #15 - 8007050: 2101 movs r1, #1 - 8007052: fa01 f303 lsl.w r3, r1, r3 - 8007056: b29b uxth r3, r3 - 8007058: 68f9 ldr r1, [r7, #12] - 800705a: f501 6100 add.w r1, r1, #2048 @ 0x800 - 800705e: 4313 orrs r3, r2 - 8007060: 61cb str r3, [r1, #28] + 80076ac: 68fb ldr r3, [r7, #12] + 80076ae: f503 6300 add.w r3, r3, #2048 @ 0x800 + 80076b2: 69da ldr r2, [r3, #28] + 80076b4: 683b ldr r3, [r7, #0] + 80076b6: 781b ldrb r3, [r3, #0] + 80076b8: f003 030f and.w r3, r3, #15 + 80076bc: 2101 movs r1, #1 + 80076be: fa01 f303 lsl.w r3, r1, r3 + 80076c2: b29b uxth r3, r3 + 80076c4: 68f9 ldr r1, [r7, #12] + 80076c6: f501 6100 add.w r1, r1, #2048 @ 0x800 + 80076ca: 4313 orrs r3, r2 + 80076cc: 61cb str r3, [r1, #28] if ((USBx_INEP(epnum)->DIEPCTL & USB_OTG_DIEPCTL_USBAEP) == 0U) - 8007062: 68bb ldr r3, [r7, #8] - 8007064: 015a lsls r2, r3, #5 - 8007066: 68fb ldr r3, [r7, #12] - 8007068: 4413 add r3, r2 - 800706a: f503 6310 add.w r3, r3, #2304 @ 0x900 - 800706e: 681b ldr r3, [r3, #0] - 8007070: f403 4300 and.w r3, r3, #32768 @ 0x8000 - 8007074: 2b00 cmp r3, #0 - 8007076: d155 bne.n 8007124 + 80076ce: 68bb ldr r3, [r7, #8] + 80076d0: 015a lsls r2, r3, #5 + 80076d2: 68fb ldr r3, [r7, #12] + 80076d4: 4413 add r3, r2 + 80076d6: f503 6310 add.w r3, r3, #2304 @ 0x900 + 80076da: 681b ldr r3, [r3, #0] + 80076dc: f403 4300 and.w r3, r3, #32768 @ 0x8000 + 80076e0: 2b00 cmp r3, #0 + 80076e2: d155 bne.n 8007790 { USBx_INEP(epnum)->DIEPCTL |= (ep->maxpacket & USB_OTG_DIEPCTL_MPSIZ) | - 8007078: 68bb ldr r3, [r7, #8] - 800707a: 015a lsls r2, r3, #5 - 800707c: 68fb ldr r3, [r7, #12] - 800707e: 4413 add r3, r2 - 8007080: f503 6310 add.w r3, r3, #2304 @ 0x900 - 8007084: 681a ldr r2, [r3, #0] - 8007086: 683b ldr r3, [r7, #0] - 8007088: 689b ldr r3, [r3, #8] - 800708a: f3c3 010a ubfx r1, r3, #0, #11 + 80076e4: 68bb ldr r3, [r7, #8] + 80076e6: 015a lsls r2, r3, #5 + 80076e8: 68fb ldr r3, [r7, #12] + 80076ea: 4413 add r3, r2 + 80076ec: f503 6310 add.w r3, r3, #2304 @ 0x900 + 80076f0: 681a ldr r2, [r3, #0] + 80076f2: 683b ldr r3, [r7, #0] + 80076f4: 689b ldr r3, [r3, #8] + 80076f6: f3c3 010a ubfx r1, r3, #0, #11 ((uint32_t)ep->type << 18) | (epnum << 22) | - 800708e: 683b ldr r3, [r7, #0] - 8007090: 791b ldrb r3, [r3, #4] - 8007092: 049b lsls r3, r3, #18 + 80076fa: 683b ldr r3, [r7, #0] + 80076fc: 791b ldrb r3, [r3, #4] + 80076fe: 049b lsls r3, r3, #18 USBx_INEP(epnum)->DIEPCTL |= (ep->maxpacket & USB_OTG_DIEPCTL_MPSIZ) | - 8007094: 4319 orrs r1, r3 + 8007700: 4319 orrs r1, r3 ((uint32_t)ep->type << 18) | (epnum << 22) | - 8007096: 68bb ldr r3, [r7, #8] - 8007098: 059b lsls r3, r3, #22 - 800709a: 430b orrs r3, r1 + 8007702: 68bb ldr r3, [r7, #8] + 8007704: 059b lsls r3, r3, #22 + 8007706: 430b orrs r3, r1 USBx_INEP(epnum)->DIEPCTL |= (ep->maxpacket & USB_OTG_DIEPCTL_MPSIZ) | - 800709c: 4313 orrs r3, r2 - 800709e: 68ba ldr r2, [r7, #8] - 80070a0: 0151 lsls r1, r2, #5 - 80070a2: 68fa ldr r2, [r7, #12] - 80070a4: 440a add r2, r1 - 80070a6: f502 6210 add.w r2, r2, #2304 @ 0x900 - 80070aa: f043 5380 orr.w r3, r3, #268435456 @ 0x10000000 - 80070ae: f443 4300 orr.w r3, r3, #32768 @ 0x8000 - 80070b2: 6013 str r3, [r2, #0] - 80070b4: e036 b.n 8007124 + 8007708: 4313 orrs r3, r2 + 800770a: 68ba ldr r2, [r7, #8] + 800770c: 0151 lsls r1, r2, #5 + 800770e: 68fa ldr r2, [r7, #12] + 8007710: 440a add r2, r1 + 8007712: f502 6210 add.w r2, r2, #2304 @ 0x900 + 8007716: f043 5380 orr.w r3, r3, #268435456 @ 0x10000000 + 800771a: f443 4300 orr.w r3, r3, #32768 @ 0x8000 + 800771e: 6013 str r3, [r2, #0] + 8007720: e036 b.n 8007790 USB_OTG_DIEPCTL_USBAEP; } } else { USBx_DEVICE->DAINTMSK |= USB_OTG_DAINTMSK_OEPM & ((uint32_t)(1UL << (ep->num & EP_ADDR_MSK)) << 16); - 80070b6: 68fb ldr r3, [r7, #12] - 80070b8: f503 6300 add.w r3, r3, #2048 @ 0x800 - 80070bc: 69da ldr r2, [r3, #28] - 80070be: 683b ldr r3, [r7, #0] - 80070c0: 781b ldrb r3, [r3, #0] - 80070c2: f003 030f and.w r3, r3, #15 - 80070c6: 2101 movs r1, #1 - 80070c8: fa01 f303 lsl.w r3, r1, r3 - 80070cc: 041b lsls r3, r3, #16 - 80070ce: 68f9 ldr r1, [r7, #12] - 80070d0: f501 6100 add.w r1, r1, #2048 @ 0x800 - 80070d4: 4313 orrs r3, r2 - 80070d6: 61cb str r3, [r1, #28] + 8007722: 68fb ldr r3, [r7, #12] + 8007724: f503 6300 add.w r3, r3, #2048 @ 0x800 + 8007728: 69da ldr r2, [r3, #28] + 800772a: 683b ldr r3, [r7, #0] + 800772c: 781b ldrb r3, [r3, #0] + 800772e: f003 030f and.w r3, r3, #15 + 8007732: 2101 movs r1, #1 + 8007734: fa01 f303 lsl.w r3, r1, r3 + 8007738: 041b lsls r3, r3, #16 + 800773a: 68f9 ldr r1, [r7, #12] + 800773c: f501 6100 add.w r1, r1, #2048 @ 0x800 + 8007740: 4313 orrs r3, r2 + 8007742: 61cb str r3, [r1, #28] if (((USBx_OUTEP(epnum)->DOEPCTL) & USB_OTG_DOEPCTL_USBAEP) == 0U) - 80070d8: 68bb ldr r3, [r7, #8] - 80070da: 015a lsls r2, r3, #5 - 80070dc: 68fb ldr r3, [r7, #12] - 80070de: 4413 add r3, r2 - 80070e0: f503 6330 add.w r3, r3, #2816 @ 0xb00 - 80070e4: 681b ldr r3, [r3, #0] - 80070e6: f403 4300 and.w r3, r3, #32768 @ 0x8000 - 80070ea: 2b00 cmp r3, #0 - 80070ec: d11a bne.n 8007124 + 8007744: 68bb ldr r3, [r7, #8] + 8007746: 015a lsls r2, r3, #5 + 8007748: 68fb ldr r3, [r7, #12] + 800774a: 4413 add r3, r2 + 800774c: f503 6330 add.w r3, r3, #2816 @ 0xb00 + 8007750: 681b ldr r3, [r3, #0] + 8007752: f403 4300 and.w r3, r3, #32768 @ 0x8000 + 8007756: 2b00 cmp r3, #0 + 8007758: d11a bne.n 8007790 { USBx_OUTEP(epnum)->DOEPCTL |= (ep->maxpacket & USB_OTG_DOEPCTL_MPSIZ) | - 80070ee: 68bb ldr r3, [r7, #8] - 80070f0: 015a lsls r2, r3, #5 - 80070f2: 68fb ldr r3, [r7, #12] - 80070f4: 4413 add r3, r2 - 80070f6: f503 6330 add.w r3, r3, #2816 @ 0xb00 - 80070fa: 681a ldr r2, [r3, #0] - 80070fc: 683b ldr r3, [r7, #0] - 80070fe: 689b ldr r3, [r3, #8] - 8007100: f3c3 010a ubfx r1, r3, #0, #11 + 800775a: 68bb ldr r3, [r7, #8] + 800775c: 015a lsls r2, r3, #5 + 800775e: 68fb ldr r3, [r7, #12] + 8007760: 4413 add r3, r2 + 8007762: f503 6330 add.w r3, r3, #2816 @ 0xb00 + 8007766: 681a ldr r2, [r3, #0] + 8007768: 683b ldr r3, [r7, #0] + 800776a: 689b ldr r3, [r3, #8] + 800776c: f3c3 010a ubfx r1, r3, #0, #11 ((uint32_t)ep->type << 18) | - 8007104: 683b ldr r3, [r7, #0] - 8007106: 791b ldrb r3, [r3, #4] - 8007108: 049b lsls r3, r3, #18 + 8007770: 683b ldr r3, [r7, #0] + 8007772: 791b ldrb r3, [r3, #4] + 8007774: 049b lsls r3, r3, #18 USBx_OUTEP(epnum)->DOEPCTL |= (ep->maxpacket & USB_OTG_DOEPCTL_MPSIZ) | - 800710a: 430b orrs r3, r1 - 800710c: 4313 orrs r3, r2 - 800710e: 68ba ldr r2, [r7, #8] - 8007110: 0151 lsls r1, r2, #5 - 8007112: 68fa ldr r2, [r7, #12] - 8007114: 440a add r2, r1 - 8007116: f502 6230 add.w r2, r2, #2816 @ 0xb00 - 800711a: f043 5380 orr.w r3, r3, #268435456 @ 0x10000000 - 800711e: f443 4300 orr.w r3, r3, #32768 @ 0x8000 - 8007122: 6013 str r3, [r2, #0] + 8007776: 430b orrs r3, r1 + 8007778: 4313 orrs r3, r2 + 800777a: 68ba ldr r2, [r7, #8] + 800777c: 0151 lsls r1, r2, #5 + 800777e: 68fa ldr r2, [r7, #12] + 8007780: 440a add r2, r1 + 8007782: f502 6230 add.w r2, r2, #2816 @ 0xb00 + 8007786: f043 5380 orr.w r3, r3, #268435456 @ 0x10000000 + 800778a: f443 4300 orr.w r3, r3, #32768 @ 0x8000 + 800778e: 6013 str r3, [r2, #0] USB_OTG_DIEPCTL_SD0PID_SEVNFRM | USB_OTG_DOEPCTL_USBAEP; } } return HAL_OK; - 8007124: 2300 movs r3, #0 + 8007790: 2300 movs r3, #0 } - 8007126: 4618 mov r0, r3 - 8007128: 3714 adds r7, #20 - 800712a: 46bd mov sp, r7 - 800712c: f85d 7b04 ldr.w r7, [sp], #4 - 8007130: 4770 bx lr + 8007792: 4618 mov r0, r3 + 8007794: 3714 adds r7, #20 + 8007796: 46bd mov sp, r7 + 8007798: f85d 7b04 ldr.w r7, [sp], #4 + 800779c: 4770 bx lr ... -08007134 : +080077a0 : * @param USBx Selected device * @param ep pointer to endpoint structure * @retval HAL status */ HAL_StatusTypeDef USB_DeactivateEndpoint(const USB_OTG_GlobalTypeDef *USBx, const USB_OTG_EPTypeDef *ep) { - 8007134: b480 push {r7} - 8007136: b085 sub sp, #20 - 8007138: af00 add r7, sp, #0 - 800713a: 6078 str r0, [r7, #4] - 800713c: 6039 str r1, [r7, #0] + 80077a0: b480 push {r7} + 80077a2: b085 sub sp, #20 + 80077a4: af00 add r7, sp, #0 + 80077a6: 6078 str r0, [r7, #4] + 80077a8: 6039 str r1, [r7, #0] uint32_t USBx_BASE = (uint32_t)USBx; - 800713e: 687b ldr r3, [r7, #4] - 8007140: 60fb str r3, [r7, #12] + 80077aa: 687b ldr r3, [r7, #4] + 80077ac: 60fb str r3, [r7, #12] uint32_t epnum = (uint32_t)ep->num; - 8007142: 683b ldr r3, [r7, #0] - 8007144: 781b ldrb r3, [r3, #0] - 8007146: 60bb str r3, [r7, #8] + 80077ae: 683b ldr r3, [r7, #0] + 80077b0: 781b ldrb r3, [r3, #0] + 80077b2: 60bb str r3, [r7, #8] /* Read DEPCTLn register */ if (ep->is_in == 1U) - 8007148: 683b ldr r3, [r7, #0] - 800714a: 785b ldrb r3, [r3, #1] - 800714c: 2b01 cmp r3, #1 - 800714e: d161 bne.n 8007214 + 80077b4: 683b ldr r3, [r7, #0] + 80077b6: 785b ldrb r3, [r3, #1] + 80077b8: 2b01 cmp r3, #1 + 80077ba: d161 bne.n 8007880 { if ((USBx_INEP(epnum)->DIEPCTL & USB_OTG_DIEPCTL_EPENA) == USB_OTG_DIEPCTL_EPENA) - 8007150: 68bb ldr r3, [r7, #8] - 8007152: 015a lsls r2, r3, #5 - 8007154: 68fb ldr r3, [r7, #12] - 8007156: 4413 add r3, r2 - 8007158: f503 6310 add.w r3, r3, #2304 @ 0x900 - 800715c: 681b ldr r3, [r3, #0] - 800715e: f003 4300 and.w r3, r3, #2147483648 @ 0x80000000 - 8007162: f1b3 4f00 cmp.w r3, #2147483648 @ 0x80000000 - 8007166: d11f bne.n 80071a8 + 80077bc: 68bb ldr r3, [r7, #8] + 80077be: 015a lsls r2, r3, #5 + 80077c0: 68fb ldr r3, [r7, #12] + 80077c2: 4413 add r3, r2 + 80077c4: f503 6310 add.w r3, r3, #2304 @ 0x900 + 80077c8: 681b ldr r3, [r3, #0] + 80077ca: f003 4300 and.w r3, r3, #2147483648 @ 0x80000000 + 80077ce: f1b3 4f00 cmp.w r3, #2147483648 @ 0x80000000 + 80077d2: d11f bne.n 8007814 { USBx_INEP(epnum)->DIEPCTL |= USB_OTG_DIEPCTL_SNAK; - 8007168: 68bb ldr r3, [r7, #8] - 800716a: 015a lsls r2, r3, #5 - 800716c: 68fb ldr r3, [r7, #12] - 800716e: 4413 add r3, r2 - 8007170: f503 6310 add.w r3, r3, #2304 @ 0x900 - 8007174: 681b ldr r3, [r3, #0] - 8007176: 68ba ldr r2, [r7, #8] - 8007178: 0151 lsls r1, r2, #5 - 800717a: 68fa ldr r2, [r7, #12] - 800717c: 440a add r2, r1 - 800717e: f502 6210 add.w r2, r2, #2304 @ 0x900 - 8007182: f043 6300 orr.w r3, r3, #134217728 @ 0x8000000 - 8007186: 6013 str r3, [r2, #0] + 80077d4: 68bb ldr r3, [r7, #8] + 80077d6: 015a lsls r2, r3, #5 + 80077d8: 68fb ldr r3, [r7, #12] + 80077da: 4413 add r3, r2 + 80077dc: f503 6310 add.w r3, r3, #2304 @ 0x900 + 80077e0: 681b ldr r3, [r3, #0] + 80077e2: 68ba ldr r2, [r7, #8] + 80077e4: 0151 lsls r1, r2, #5 + 80077e6: 68fa ldr r2, [r7, #12] + 80077e8: 440a add r2, r1 + 80077ea: f502 6210 add.w r2, r2, #2304 @ 0x900 + 80077ee: f043 6300 orr.w r3, r3, #134217728 @ 0x8000000 + 80077f2: 6013 str r3, [r2, #0] USBx_INEP(epnum)->DIEPCTL |= USB_OTG_DIEPCTL_EPDIS; - 8007188: 68bb ldr r3, [r7, #8] - 800718a: 015a lsls r2, r3, #5 - 800718c: 68fb ldr r3, [r7, #12] - 800718e: 4413 add r3, r2 - 8007190: f503 6310 add.w r3, r3, #2304 @ 0x900 - 8007194: 681b ldr r3, [r3, #0] - 8007196: 68ba ldr r2, [r7, #8] - 8007198: 0151 lsls r1, r2, #5 - 800719a: 68fa ldr r2, [r7, #12] - 800719c: 440a add r2, r1 - 800719e: f502 6210 add.w r2, r2, #2304 @ 0x900 - 80071a2: f043 4380 orr.w r3, r3, #1073741824 @ 0x40000000 - 80071a6: 6013 str r3, [r2, #0] + 80077f4: 68bb ldr r3, [r7, #8] + 80077f6: 015a lsls r2, r3, #5 + 80077f8: 68fb ldr r3, [r7, #12] + 80077fa: 4413 add r3, r2 + 80077fc: f503 6310 add.w r3, r3, #2304 @ 0x900 + 8007800: 681b ldr r3, [r3, #0] + 8007802: 68ba ldr r2, [r7, #8] + 8007804: 0151 lsls r1, r2, #5 + 8007806: 68fa ldr r2, [r7, #12] + 8007808: 440a add r2, r1 + 800780a: f502 6210 add.w r2, r2, #2304 @ 0x900 + 800780e: f043 4380 orr.w r3, r3, #1073741824 @ 0x40000000 + 8007812: 6013 str r3, [r2, #0] } USBx_DEVICE->DEACHMSK &= ~(USB_OTG_DAINTMSK_IEPM & (uint32_t)(1UL << (ep->num & EP_ADDR_MSK))); - 80071a8: 68fb ldr r3, [r7, #12] - 80071aa: f503 6300 add.w r3, r3, #2048 @ 0x800 - 80071ae: 6bda ldr r2, [r3, #60] @ 0x3c - 80071b0: 683b ldr r3, [r7, #0] - 80071b2: 781b ldrb r3, [r3, #0] - 80071b4: f003 030f and.w r3, r3, #15 - 80071b8: 2101 movs r1, #1 - 80071ba: fa01 f303 lsl.w r3, r1, r3 - 80071be: b29b uxth r3, r3 - 80071c0: 43db mvns r3, r3 - 80071c2: 68f9 ldr r1, [r7, #12] - 80071c4: f501 6100 add.w r1, r1, #2048 @ 0x800 - 80071c8: 4013 ands r3, r2 - 80071ca: 63cb str r3, [r1, #60] @ 0x3c + 8007814: 68fb ldr r3, [r7, #12] + 8007816: f503 6300 add.w r3, r3, #2048 @ 0x800 + 800781a: 6bda ldr r2, [r3, #60] @ 0x3c + 800781c: 683b ldr r3, [r7, #0] + 800781e: 781b ldrb r3, [r3, #0] + 8007820: f003 030f and.w r3, r3, #15 + 8007824: 2101 movs r1, #1 + 8007826: fa01 f303 lsl.w r3, r1, r3 + 800782a: b29b uxth r3, r3 + 800782c: 43db mvns r3, r3 + 800782e: 68f9 ldr r1, [r7, #12] + 8007830: f501 6100 add.w r1, r1, #2048 @ 0x800 + 8007834: 4013 ands r3, r2 + 8007836: 63cb str r3, [r1, #60] @ 0x3c USBx_DEVICE->DAINTMSK &= ~(USB_OTG_DAINTMSK_IEPM & (uint32_t)(1UL << (ep->num & EP_ADDR_MSK))); - 80071cc: 68fb ldr r3, [r7, #12] - 80071ce: f503 6300 add.w r3, r3, #2048 @ 0x800 - 80071d2: 69da ldr r2, [r3, #28] - 80071d4: 683b ldr r3, [r7, #0] - 80071d6: 781b ldrb r3, [r3, #0] - 80071d8: f003 030f and.w r3, r3, #15 - 80071dc: 2101 movs r1, #1 - 80071de: fa01 f303 lsl.w r3, r1, r3 - 80071e2: b29b uxth r3, r3 - 80071e4: 43db mvns r3, r3 - 80071e6: 68f9 ldr r1, [r7, #12] - 80071e8: f501 6100 add.w r1, r1, #2048 @ 0x800 - 80071ec: 4013 ands r3, r2 - 80071ee: 61cb str r3, [r1, #28] + 8007838: 68fb ldr r3, [r7, #12] + 800783a: f503 6300 add.w r3, r3, #2048 @ 0x800 + 800783e: 69da ldr r2, [r3, #28] + 8007840: 683b ldr r3, [r7, #0] + 8007842: 781b ldrb r3, [r3, #0] + 8007844: f003 030f and.w r3, r3, #15 + 8007848: 2101 movs r1, #1 + 800784a: fa01 f303 lsl.w r3, r1, r3 + 800784e: b29b uxth r3, r3 + 8007850: 43db mvns r3, r3 + 8007852: 68f9 ldr r1, [r7, #12] + 8007854: f501 6100 add.w r1, r1, #2048 @ 0x800 + 8007858: 4013 ands r3, r2 + 800785a: 61cb str r3, [r1, #28] USBx_INEP(epnum)->DIEPCTL &= ~(USB_OTG_DIEPCTL_USBAEP | - 80071f0: 68bb ldr r3, [r7, #8] - 80071f2: 015a lsls r2, r3, #5 - 80071f4: 68fb ldr r3, [r7, #12] - 80071f6: 4413 add r3, r2 - 80071f8: f503 6310 add.w r3, r3, #2304 @ 0x900 - 80071fc: 681a ldr r2, [r3, #0] - 80071fe: 68bb ldr r3, [r7, #8] - 8007200: 0159 lsls r1, r3, #5 - 8007202: 68fb ldr r3, [r7, #12] - 8007204: 440b add r3, r1 - 8007206: f503 6310 add.w r3, r3, #2304 @ 0x900 - 800720a: 4619 mov r1, r3 - 800720c: 4b35 ldr r3, [pc, #212] @ (80072e4 ) - 800720e: 4013 ands r3, r2 - 8007210: 600b str r3, [r1, #0] - 8007212: e060 b.n 80072d6 + 800785c: 68bb ldr r3, [r7, #8] + 800785e: 015a lsls r2, r3, #5 + 8007860: 68fb ldr r3, [r7, #12] + 8007862: 4413 add r3, r2 + 8007864: f503 6310 add.w r3, r3, #2304 @ 0x900 + 8007868: 681a ldr r2, [r3, #0] + 800786a: 68bb ldr r3, [r7, #8] + 800786c: 0159 lsls r1, r3, #5 + 800786e: 68fb ldr r3, [r7, #12] + 8007870: 440b add r3, r1 + 8007872: f503 6310 add.w r3, r3, #2304 @ 0x900 + 8007876: 4619 mov r1, r3 + 8007878: 4b35 ldr r3, [pc, #212] @ (8007950 ) + 800787a: 4013 ands r3, r2 + 800787c: 600b str r3, [r1, #0] + 800787e: e060 b.n 8007942 USB_OTG_DIEPCTL_SD0PID_SEVNFRM | USB_OTG_DIEPCTL_EPTYP); } else { if ((USBx_OUTEP(epnum)->DOEPCTL & USB_OTG_DOEPCTL_EPENA) == USB_OTG_DOEPCTL_EPENA) - 8007214: 68bb ldr r3, [r7, #8] - 8007216: 015a lsls r2, r3, #5 - 8007218: 68fb ldr r3, [r7, #12] - 800721a: 4413 add r3, r2 - 800721c: f503 6330 add.w r3, r3, #2816 @ 0xb00 - 8007220: 681b ldr r3, [r3, #0] - 8007222: f003 4300 and.w r3, r3, #2147483648 @ 0x80000000 - 8007226: f1b3 4f00 cmp.w r3, #2147483648 @ 0x80000000 - 800722a: d11f bne.n 800726c + 8007880: 68bb ldr r3, [r7, #8] + 8007882: 015a lsls r2, r3, #5 + 8007884: 68fb ldr r3, [r7, #12] + 8007886: 4413 add r3, r2 + 8007888: f503 6330 add.w r3, r3, #2816 @ 0xb00 + 800788c: 681b ldr r3, [r3, #0] + 800788e: f003 4300 and.w r3, r3, #2147483648 @ 0x80000000 + 8007892: f1b3 4f00 cmp.w r3, #2147483648 @ 0x80000000 + 8007896: d11f bne.n 80078d8 { USBx_OUTEP(epnum)->DOEPCTL |= USB_OTG_DOEPCTL_SNAK; - 800722c: 68bb ldr r3, [r7, #8] - 800722e: 015a lsls r2, r3, #5 - 8007230: 68fb ldr r3, [r7, #12] - 8007232: 4413 add r3, r2 - 8007234: f503 6330 add.w r3, r3, #2816 @ 0xb00 - 8007238: 681b ldr r3, [r3, #0] - 800723a: 68ba ldr r2, [r7, #8] - 800723c: 0151 lsls r1, r2, #5 - 800723e: 68fa ldr r2, [r7, #12] - 8007240: 440a add r2, r1 - 8007242: f502 6230 add.w r2, r2, #2816 @ 0xb00 - 8007246: f043 6300 orr.w r3, r3, #134217728 @ 0x8000000 - 800724a: 6013 str r3, [r2, #0] + 8007898: 68bb ldr r3, [r7, #8] + 800789a: 015a lsls r2, r3, #5 + 800789c: 68fb ldr r3, [r7, #12] + 800789e: 4413 add r3, r2 + 80078a0: f503 6330 add.w r3, r3, #2816 @ 0xb00 + 80078a4: 681b ldr r3, [r3, #0] + 80078a6: 68ba ldr r2, [r7, #8] + 80078a8: 0151 lsls r1, r2, #5 + 80078aa: 68fa ldr r2, [r7, #12] + 80078ac: 440a add r2, r1 + 80078ae: f502 6230 add.w r2, r2, #2816 @ 0xb00 + 80078b2: f043 6300 orr.w r3, r3, #134217728 @ 0x8000000 + 80078b6: 6013 str r3, [r2, #0] USBx_OUTEP(epnum)->DOEPCTL |= USB_OTG_DOEPCTL_EPDIS; - 800724c: 68bb ldr r3, [r7, #8] - 800724e: 015a lsls r2, r3, #5 - 8007250: 68fb ldr r3, [r7, #12] - 8007252: 4413 add r3, r2 - 8007254: f503 6330 add.w r3, r3, #2816 @ 0xb00 - 8007258: 681b ldr r3, [r3, #0] - 800725a: 68ba ldr r2, [r7, #8] - 800725c: 0151 lsls r1, r2, #5 - 800725e: 68fa ldr r2, [r7, #12] - 8007260: 440a add r2, r1 - 8007262: f502 6230 add.w r2, r2, #2816 @ 0xb00 - 8007266: f043 4380 orr.w r3, r3, #1073741824 @ 0x40000000 - 800726a: 6013 str r3, [r2, #0] + 80078b8: 68bb ldr r3, [r7, #8] + 80078ba: 015a lsls r2, r3, #5 + 80078bc: 68fb ldr r3, [r7, #12] + 80078be: 4413 add r3, r2 + 80078c0: f503 6330 add.w r3, r3, #2816 @ 0xb00 + 80078c4: 681b ldr r3, [r3, #0] + 80078c6: 68ba ldr r2, [r7, #8] + 80078c8: 0151 lsls r1, r2, #5 + 80078ca: 68fa ldr r2, [r7, #12] + 80078cc: 440a add r2, r1 + 80078ce: f502 6230 add.w r2, r2, #2816 @ 0xb00 + 80078d2: f043 4380 orr.w r3, r3, #1073741824 @ 0x40000000 + 80078d6: 6013 str r3, [r2, #0] } USBx_DEVICE->DEACHMSK &= ~(USB_OTG_DAINTMSK_OEPM & ((uint32_t)(1UL << (ep->num & EP_ADDR_MSK)) << 16)); - 800726c: 68fb ldr r3, [r7, #12] - 800726e: f503 6300 add.w r3, r3, #2048 @ 0x800 - 8007272: 6bda ldr r2, [r3, #60] @ 0x3c - 8007274: 683b ldr r3, [r7, #0] - 8007276: 781b ldrb r3, [r3, #0] - 8007278: f003 030f and.w r3, r3, #15 - 800727c: 2101 movs r1, #1 - 800727e: fa01 f303 lsl.w r3, r1, r3 - 8007282: 041b lsls r3, r3, #16 - 8007284: 43db mvns r3, r3 - 8007286: 68f9 ldr r1, [r7, #12] - 8007288: f501 6100 add.w r1, r1, #2048 @ 0x800 - 800728c: 4013 ands r3, r2 - 800728e: 63cb str r3, [r1, #60] @ 0x3c + 80078d8: 68fb ldr r3, [r7, #12] + 80078da: f503 6300 add.w r3, r3, #2048 @ 0x800 + 80078de: 6bda ldr r2, [r3, #60] @ 0x3c + 80078e0: 683b ldr r3, [r7, #0] + 80078e2: 781b ldrb r3, [r3, #0] + 80078e4: f003 030f and.w r3, r3, #15 + 80078e8: 2101 movs r1, #1 + 80078ea: fa01 f303 lsl.w r3, r1, r3 + 80078ee: 041b lsls r3, r3, #16 + 80078f0: 43db mvns r3, r3 + 80078f2: 68f9 ldr r1, [r7, #12] + 80078f4: f501 6100 add.w r1, r1, #2048 @ 0x800 + 80078f8: 4013 ands r3, r2 + 80078fa: 63cb str r3, [r1, #60] @ 0x3c USBx_DEVICE->DAINTMSK &= ~(USB_OTG_DAINTMSK_OEPM & ((uint32_t)(1UL << (ep->num & EP_ADDR_MSK)) << 16)); - 8007290: 68fb ldr r3, [r7, #12] - 8007292: f503 6300 add.w r3, r3, #2048 @ 0x800 - 8007296: 69da ldr r2, [r3, #28] - 8007298: 683b ldr r3, [r7, #0] - 800729a: 781b ldrb r3, [r3, #0] - 800729c: f003 030f and.w r3, r3, #15 - 80072a0: 2101 movs r1, #1 - 80072a2: fa01 f303 lsl.w r3, r1, r3 - 80072a6: 041b lsls r3, r3, #16 - 80072a8: 43db mvns r3, r3 - 80072aa: 68f9 ldr r1, [r7, #12] - 80072ac: f501 6100 add.w r1, r1, #2048 @ 0x800 - 80072b0: 4013 ands r3, r2 - 80072b2: 61cb str r3, [r1, #28] + 80078fc: 68fb ldr r3, [r7, #12] + 80078fe: f503 6300 add.w r3, r3, #2048 @ 0x800 + 8007902: 69da ldr r2, [r3, #28] + 8007904: 683b ldr r3, [r7, #0] + 8007906: 781b ldrb r3, [r3, #0] + 8007908: f003 030f and.w r3, r3, #15 + 800790c: 2101 movs r1, #1 + 800790e: fa01 f303 lsl.w r3, r1, r3 + 8007912: 041b lsls r3, r3, #16 + 8007914: 43db mvns r3, r3 + 8007916: 68f9 ldr r1, [r7, #12] + 8007918: f501 6100 add.w r1, r1, #2048 @ 0x800 + 800791c: 4013 ands r3, r2 + 800791e: 61cb str r3, [r1, #28] USBx_OUTEP(epnum)->DOEPCTL &= ~(USB_OTG_DOEPCTL_USBAEP | - 80072b4: 68bb ldr r3, [r7, #8] - 80072b6: 015a lsls r2, r3, #5 - 80072b8: 68fb ldr r3, [r7, #12] - 80072ba: 4413 add r3, r2 - 80072bc: f503 6330 add.w r3, r3, #2816 @ 0xb00 - 80072c0: 681a ldr r2, [r3, #0] - 80072c2: 68bb ldr r3, [r7, #8] - 80072c4: 0159 lsls r1, r3, #5 - 80072c6: 68fb ldr r3, [r7, #12] - 80072c8: 440b add r3, r1 - 80072ca: f503 6330 add.w r3, r3, #2816 @ 0xb00 - 80072ce: 4619 mov r1, r3 - 80072d0: 4b05 ldr r3, [pc, #20] @ (80072e8 ) - 80072d2: 4013 ands r3, r2 - 80072d4: 600b str r3, [r1, #0] + 8007920: 68bb ldr r3, [r7, #8] + 8007922: 015a lsls r2, r3, #5 + 8007924: 68fb ldr r3, [r7, #12] + 8007926: 4413 add r3, r2 + 8007928: f503 6330 add.w r3, r3, #2816 @ 0xb00 + 800792c: 681a ldr r2, [r3, #0] + 800792e: 68bb ldr r3, [r7, #8] + 8007930: 0159 lsls r1, r3, #5 + 8007932: 68fb ldr r3, [r7, #12] + 8007934: 440b add r3, r1 + 8007936: f503 6330 add.w r3, r3, #2816 @ 0xb00 + 800793a: 4619 mov r1, r3 + 800793c: 4b05 ldr r3, [pc, #20] @ (8007954 ) + 800793e: 4013 ands r3, r2 + 8007940: 600b str r3, [r1, #0] USB_OTG_DOEPCTL_MPSIZ | USB_OTG_DOEPCTL_SD0PID_SEVNFRM | USB_OTG_DOEPCTL_EPTYP); } return HAL_OK; - 80072d6: 2300 movs r3, #0 + 8007942: 2300 movs r3, #0 } - 80072d8: 4618 mov r0, r3 - 80072da: 3714 adds r7, #20 - 80072dc: 46bd mov sp, r7 - 80072de: f85d 7b04 ldr.w r7, [sp], #4 - 80072e2: 4770 bx lr - 80072e4: ec337800 .word 0xec337800 - 80072e8: eff37800 .word 0xeff37800 + 8007944: 4618 mov r0, r3 + 8007946: 3714 adds r7, #20 + 8007948: 46bd mov sp, r7 + 800794a: f85d 7b04 ldr.w r7, [sp], #4 + 800794e: 4770 bx lr + 8007950: ec337800 .word 0xec337800 + 8007954: eff37800 .word 0xeff37800 -080072ec : +08007958 : * 0 : DMA feature not used * 1 : DMA feature used * @retval HAL status */ HAL_StatusTypeDef USB_EPStartXfer(USB_OTG_GlobalTypeDef *USBx, USB_OTG_EPTypeDef *ep, uint8_t dma) { - 80072ec: b580 push {r7, lr} - 80072ee: b08a sub sp, #40 @ 0x28 - 80072f0: af02 add r7, sp, #8 - 80072f2: 60f8 str r0, [r7, #12] - 80072f4: 60b9 str r1, [r7, #8] - 80072f6: 4613 mov r3, r2 - 80072f8: 71fb strb r3, [r7, #7] + 8007958: b580 push {r7, lr} + 800795a: b08a sub sp, #40 @ 0x28 + 800795c: af02 add r7, sp, #8 + 800795e: 60f8 str r0, [r7, #12] + 8007960: 60b9 str r1, [r7, #8] + 8007962: 4613 mov r3, r2 + 8007964: 71fb strb r3, [r7, #7] uint32_t USBx_BASE = (uint32_t)USBx; - 80072fa: 68fb ldr r3, [r7, #12] - 80072fc: 61fb str r3, [r7, #28] + 8007966: 68fb ldr r3, [r7, #12] + 8007968: 61fb str r3, [r7, #28] uint32_t epnum = (uint32_t)ep->num; - 80072fe: 68bb ldr r3, [r7, #8] - 8007300: 781b ldrb r3, [r3, #0] - 8007302: 61bb str r3, [r7, #24] + 800796a: 68bb ldr r3, [r7, #8] + 800796c: 781b ldrb r3, [r3, #0] + 800796e: 61bb str r3, [r7, #24] uint16_t pktcnt; /* IN endpoint */ if (ep->is_in == 1U) - 8007304: 68bb ldr r3, [r7, #8] - 8007306: 785b ldrb r3, [r3, #1] - 8007308: 2b01 cmp r3, #1 - 800730a: f040 817f bne.w 800760c + 8007970: 68bb ldr r3, [r7, #8] + 8007972: 785b ldrb r3, [r3, #1] + 8007974: 2b01 cmp r3, #1 + 8007976: f040 817f bne.w 8007c78 { /* Zero Length Packet? */ if (ep->xfer_len == 0U) - 800730e: 68bb ldr r3, [r7, #8] - 8007310: 691b ldr r3, [r3, #16] - 8007312: 2b00 cmp r3, #0 - 8007314: d132 bne.n 800737c + 800797a: 68bb ldr r3, [r7, #8] + 800797c: 691b ldr r3, [r3, #16] + 800797e: 2b00 cmp r3, #0 + 8007980: d132 bne.n 80079e8 { USBx_INEP(epnum)->DIEPTSIZ &= ~(USB_OTG_DIEPTSIZ_PKTCNT); - 8007316: 69bb ldr r3, [r7, #24] - 8007318: 015a lsls r2, r3, #5 - 800731a: 69fb ldr r3, [r7, #28] - 800731c: 4413 add r3, r2 - 800731e: f503 6310 add.w r3, r3, #2304 @ 0x900 - 8007322: 691b ldr r3, [r3, #16] - 8007324: 69ba ldr r2, [r7, #24] - 8007326: 0151 lsls r1, r2, #5 - 8007328: 69fa ldr r2, [r7, #28] - 800732a: 440a add r2, r1 - 800732c: f502 6210 add.w r2, r2, #2304 @ 0x900 - 8007330: f023 53ff bic.w r3, r3, #534773760 @ 0x1fe00000 - 8007334: f423 13c0 bic.w r3, r3, #1572864 @ 0x180000 - 8007338: 6113 str r3, [r2, #16] + 8007982: 69bb ldr r3, [r7, #24] + 8007984: 015a lsls r2, r3, #5 + 8007986: 69fb ldr r3, [r7, #28] + 8007988: 4413 add r3, r2 + 800798a: f503 6310 add.w r3, r3, #2304 @ 0x900 + 800798e: 691b ldr r3, [r3, #16] + 8007990: 69ba ldr r2, [r7, #24] + 8007992: 0151 lsls r1, r2, #5 + 8007994: 69fa ldr r2, [r7, #28] + 8007996: 440a add r2, r1 + 8007998: f502 6210 add.w r2, r2, #2304 @ 0x900 + 800799c: f023 53ff bic.w r3, r3, #534773760 @ 0x1fe00000 + 80079a0: f423 13c0 bic.w r3, r3, #1572864 @ 0x180000 + 80079a4: 6113 str r3, [r2, #16] USBx_INEP(epnum)->DIEPTSIZ |= (USB_OTG_DIEPTSIZ_PKTCNT & (1U << 19)); - 800733a: 69bb ldr r3, [r7, #24] - 800733c: 015a lsls r2, r3, #5 - 800733e: 69fb ldr r3, [r7, #28] - 8007340: 4413 add r3, r2 - 8007342: f503 6310 add.w r3, r3, #2304 @ 0x900 - 8007346: 691b ldr r3, [r3, #16] - 8007348: 69ba ldr r2, [r7, #24] - 800734a: 0151 lsls r1, r2, #5 - 800734c: 69fa ldr r2, [r7, #28] - 800734e: 440a add r2, r1 - 8007350: f502 6210 add.w r2, r2, #2304 @ 0x900 - 8007354: f443 2300 orr.w r3, r3, #524288 @ 0x80000 - 8007358: 6113 str r3, [r2, #16] + 80079a6: 69bb ldr r3, [r7, #24] + 80079a8: 015a lsls r2, r3, #5 + 80079aa: 69fb ldr r3, [r7, #28] + 80079ac: 4413 add r3, r2 + 80079ae: f503 6310 add.w r3, r3, #2304 @ 0x900 + 80079b2: 691b ldr r3, [r3, #16] + 80079b4: 69ba ldr r2, [r7, #24] + 80079b6: 0151 lsls r1, r2, #5 + 80079b8: 69fa ldr r2, [r7, #28] + 80079ba: 440a add r2, r1 + 80079bc: f502 6210 add.w r2, r2, #2304 @ 0x900 + 80079c0: f443 2300 orr.w r3, r3, #524288 @ 0x80000 + 80079c4: 6113 str r3, [r2, #16] USBx_INEP(epnum)->DIEPTSIZ &= ~(USB_OTG_DIEPTSIZ_XFRSIZ); - 800735a: 69bb ldr r3, [r7, #24] - 800735c: 015a lsls r2, r3, #5 - 800735e: 69fb ldr r3, [r7, #28] - 8007360: 4413 add r3, r2 - 8007362: f503 6310 add.w r3, r3, #2304 @ 0x900 - 8007366: 691b ldr r3, [r3, #16] - 8007368: 69ba ldr r2, [r7, #24] - 800736a: 0151 lsls r1, r2, #5 - 800736c: 69fa ldr r2, [r7, #28] - 800736e: 440a add r2, r1 - 8007370: f502 6210 add.w r2, r2, #2304 @ 0x900 - 8007374: 0cdb lsrs r3, r3, #19 - 8007376: 04db lsls r3, r3, #19 - 8007378: 6113 str r3, [r2, #16] - 800737a: e097 b.n 80074ac + 80079c6: 69bb ldr r3, [r7, #24] + 80079c8: 015a lsls r2, r3, #5 + 80079ca: 69fb ldr r3, [r7, #28] + 80079cc: 4413 add r3, r2 + 80079ce: f503 6310 add.w r3, r3, #2304 @ 0x900 + 80079d2: 691b ldr r3, [r3, #16] + 80079d4: 69ba ldr r2, [r7, #24] + 80079d6: 0151 lsls r1, r2, #5 + 80079d8: 69fa ldr r2, [r7, #28] + 80079da: 440a add r2, r1 + 80079dc: f502 6210 add.w r2, r2, #2304 @ 0x900 + 80079e0: 0cdb lsrs r3, r3, #19 + 80079e2: 04db lsls r3, r3, #19 + 80079e4: 6113 str r3, [r2, #16] + 80079e6: e097 b.n 8007b18 /* Program the transfer size and packet count * as follows: xfersize = N * maxpacket + * short_packet pktcnt = N + (short_packet * exist ? 1 : 0) */ USBx_INEP(epnum)->DIEPTSIZ &= ~(USB_OTG_DIEPTSIZ_XFRSIZ); - 800737c: 69bb ldr r3, [r7, #24] - 800737e: 015a lsls r2, r3, #5 - 8007380: 69fb ldr r3, [r7, #28] - 8007382: 4413 add r3, r2 - 8007384: f503 6310 add.w r3, r3, #2304 @ 0x900 - 8007388: 691b ldr r3, [r3, #16] - 800738a: 69ba ldr r2, [r7, #24] - 800738c: 0151 lsls r1, r2, #5 - 800738e: 69fa ldr r2, [r7, #28] - 8007390: 440a add r2, r1 - 8007392: f502 6210 add.w r2, r2, #2304 @ 0x900 - 8007396: 0cdb lsrs r3, r3, #19 - 8007398: 04db lsls r3, r3, #19 - 800739a: 6113 str r3, [r2, #16] + 80079e8: 69bb ldr r3, [r7, #24] + 80079ea: 015a lsls r2, r3, #5 + 80079ec: 69fb ldr r3, [r7, #28] + 80079ee: 4413 add r3, r2 + 80079f0: f503 6310 add.w r3, r3, #2304 @ 0x900 + 80079f4: 691b ldr r3, [r3, #16] + 80079f6: 69ba ldr r2, [r7, #24] + 80079f8: 0151 lsls r1, r2, #5 + 80079fa: 69fa ldr r2, [r7, #28] + 80079fc: 440a add r2, r1 + 80079fe: f502 6210 add.w r2, r2, #2304 @ 0x900 + 8007a02: 0cdb lsrs r3, r3, #19 + 8007a04: 04db lsls r3, r3, #19 + 8007a06: 6113 str r3, [r2, #16] USBx_INEP(epnum)->DIEPTSIZ &= ~(USB_OTG_DIEPTSIZ_PKTCNT); - 800739c: 69bb ldr r3, [r7, #24] - 800739e: 015a lsls r2, r3, #5 - 80073a0: 69fb ldr r3, [r7, #28] - 80073a2: 4413 add r3, r2 - 80073a4: f503 6310 add.w r3, r3, #2304 @ 0x900 - 80073a8: 691b ldr r3, [r3, #16] - 80073aa: 69ba ldr r2, [r7, #24] - 80073ac: 0151 lsls r1, r2, #5 - 80073ae: 69fa ldr r2, [r7, #28] - 80073b0: 440a add r2, r1 - 80073b2: f502 6210 add.w r2, r2, #2304 @ 0x900 - 80073b6: f023 53ff bic.w r3, r3, #534773760 @ 0x1fe00000 - 80073ba: f423 13c0 bic.w r3, r3, #1572864 @ 0x180000 - 80073be: 6113 str r3, [r2, #16] + 8007a08: 69bb ldr r3, [r7, #24] + 8007a0a: 015a lsls r2, r3, #5 + 8007a0c: 69fb ldr r3, [r7, #28] + 8007a0e: 4413 add r3, r2 + 8007a10: f503 6310 add.w r3, r3, #2304 @ 0x900 + 8007a14: 691b ldr r3, [r3, #16] + 8007a16: 69ba ldr r2, [r7, #24] + 8007a18: 0151 lsls r1, r2, #5 + 8007a1a: 69fa ldr r2, [r7, #28] + 8007a1c: 440a add r2, r1 + 8007a1e: f502 6210 add.w r2, r2, #2304 @ 0x900 + 8007a22: f023 53ff bic.w r3, r3, #534773760 @ 0x1fe00000 + 8007a26: f423 13c0 bic.w r3, r3, #1572864 @ 0x180000 + 8007a2a: 6113 str r3, [r2, #16] if (epnum == 0U) - 80073c0: 69bb ldr r3, [r7, #24] - 80073c2: 2b00 cmp r3, #0 - 80073c4: d11a bne.n 80073fc + 8007a2c: 69bb ldr r3, [r7, #24] + 8007a2e: 2b00 cmp r3, #0 + 8007a30: d11a bne.n 8007a68 { if (ep->xfer_len > ep->maxpacket) - 80073c6: 68bb ldr r3, [r7, #8] - 80073c8: 691a ldr r2, [r3, #16] - 80073ca: 68bb ldr r3, [r7, #8] - 80073cc: 689b ldr r3, [r3, #8] - 80073ce: 429a cmp r2, r3 - 80073d0: d903 bls.n 80073da + 8007a32: 68bb ldr r3, [r7, #8] + 8007a34: 691a ldr r2, [r3, #16] + 8007a36: 68bb ldr r3, [r7, #8] + 8007a38: 689b ldr r3, [r3, #8] + 8007a3a: 429a cmp r2, r3 + 8007a3c: d903 bls.n 8007a46 { ep->xfer_len = ep->maxpacket; - 80073d2: 68bb ldr r3, [r7, #8] - 80073d4: 689a ldr r2, [r3, #8] - 80073d6: 68bb ldr r3, [r7, #8] - 80073d8: 611a str r2, [r3, #16] + 8007a3e: 68bb ldr r3, [r7, #8] + 8007a40: 689a ldr r2, [r3, #8] + 8007a42: 68bb ldr r3, [r7, #8] + 8007a44: 611a str r2, [r3, #16] } USBx_INEP(epnum)->DIEPTSIZ |= (USB_OTG_DIEPTSIZ_PKTCNT & (1U << 19)); - 80073da: 69bb ldr r3, [r7, #24] - 80073dc: 015a lsls r2, r3, #5 - 80073de: 69fb ldr r3, [r7, #28] - 80073e0: 4413 add r3, r2 - 80073e2: f503 6310 add.w r3, r3, #2304 @ 0x900 - 80073e6: 691b ldr r3, [r3, #16] - 80073e8: 69ba ldr r2, [r7, #24] - 80073ea: 0151 lsls r1, r2, #5 - 80073ec: 69fa ldr r2, [r7, #28] - 80073ee: 440a add r2, r1 - 80073f0: f502 6210 add.w r2, r2, #2304 @ 0x900 - 80073f4: f443 2300 orr.w r3, r3, #524288 @ 0x80000 - 80073f8: 6113 str r3, [r2, #16] - 80073fa: e044 b.n 8007486 + 8007a46: 69bb ldr r3, [r7, #24] + 8007a48: 015a lsls r2, r3, #5 + 8007a4a: 69fb ldr r3, [r7, #28] + 8007a4c: 4413 add r3, r2 + 8007a4e: f503 6310 add.w r3, r3, #2304 @ 0x900 + 8007a52: 691b ldr r3, [r3, #16] + 8007a54: 69ba ldr r2, [r7, #24] + 8007a56: 0151 lsls r1, r2, #5 + 8007a58: 69fa ldr r2, [r7, #28] + 8007a5a: 440a add r2, r1 + 8007a5c: f502 6210 add.w r2, r2, #2304 @ 0x900 + 8007a60: f443 2300 orr.w r3, r3, #524288 @ 0x80000 + 8007a64: 6113 str r3, [r2, #16] + 8007a66: e044 b.n 8007af2 } else { pktcnt = (uint16_t)((ep->xfer_len + ep->maxpacket - 1U) / ep->maxpacket); - 80073fc: 68bb ldr r3, [r7, #8] - 80073fe: 691a ldr r2, [r3, #16] - 8007400: 68bb ldr r3, [r7, #8] - 8007402: 689b ldr r3, [r3, #8] - 8007404: 4413 add r3, r2 - 8007406: 1e5a subs r2, r3, #1 - 8007408: 68bb ldr r3, [r7, #8] - 800740a: 689b ldr r3, [r3, #8] - 800740c: fbb2 f3f3 udiv r3, r2, r3 - 8007410: 82fb strh r3, [r7, #22] + 8007a68: 68bb ldr r3, [r7, #8] + 8007a6a: 691a ldr r2, [r3, #16] + 8007a6c: 68bb ldr r3, [r7, #8] + 8007a6e: 689b ldr r3, [r3, #8] + 8007a70: 4413 add r3, r2 + 8007a72: 1e5a subs r2, r3, #1 + 8007a74: 68bb ldr r3, [r7, #8] + 8007a76: 689b ldr r3, [r3, #8] + 8007a78: fbb2 f3f3 udiv r3, r2, r3 + 8007a7c: 82fb strh r3, [r7, #22] USBx_INEP(epnum)->DIEPTSIZ |= (USB_OTG_DIEPTSIZ_PKTCNT & ((uint32_t)pktcnt << 19)); - 8007412: 69bb ldr r3, [r7, #24] - 8007414: 015a lsls r2, r3, #5 - 8007416: 69fb ldr r3, [r7, #28] - 8007418: 4413 add r3, r2 - 800741a: f503 6310 add.w r3, r3, #2304 @ 0x900 - 800741e: 691a ldr r2, [r3, #16] - 8007420: 8afb ldrh r3, [r7, #22] - 8007422: 04d9 lsls r1, r3, #19 - 8007424: 4ba4 ldr r3, [pc, #656] @ (80076b8 ) - 8007426: 400b ands r3, r1 - 8007428: 69b9 ldr r1, [r7, #24] - 800742a: 0148 lsls r0, r1, #5 - 800742c: 69f9 ldr r1, [r7, #28] - 800742e: 4401 add r1, r0 - 8007430: f501 6110 add.w r1, r1, #2304 @ 0x900 - 8007434: 4313 orrs r3, r2 - 8007436: 610b str r3, [r1, #16] + 8007a7e: 69bb ldr r3, [r7, #24] + 8007a80: 015a lsls r2, r3, #5 + 8007a82: 69fb ldr r3, [r7, #28] + 8007a84: 4413 add r3, r2 + 8007a86: f503 6310 add.w r3, r3, #2304 @ 0x900 + 8007a8a: 691a ldr r2, [r3, #16] + 8007a8c: 8afb ldrh r3, [r7, #22] + 8007a8e: 04d9 lsls r1, r3, #19 + 8007a90: 4ba4 ldr r3, [pc, #656] @ (8007d24 ) + 8007a92: 400b ands r3, r1 + 8007a94: 69b9 ldr r1, [r7, #24] + 8007a96: 0148 lsls r0, r1, #5 + 8007a98: 69f9 ldr r1, [r7, #28] + 8007a9a: 4401 add r1, r0 + 8007a9c: f501 6110 add.w r1, r1, #2304 @ 0x900 + 8007aa0: 4313 orrs r3, r2 + 8007aa2: 610b str r3, [r1, #16] if (ep->type == EP_TYPE_ISOC) - 8007438: 68bb ldr r3, [r7, #8] - 800743a: 791b ldrb r3, [r3, #4] - 800743c: 2b01 cmp r3, #1 - 800743e: d122 bne.n 8007486 + 8007aa4: 68bb ldr r3, [r7, #8] + 8007aa6: 791b ldrb r3, [r3, #4] + 8007aa8: 2b01 cmp r3, #1 + 8007aaa: d122 bne.n 8007af2 { USBx_INEP(epnum)->DIEPTSIZ &= ~(USB_OTG_DIEPTSIZ_MULCNT); - 8007440: 69bb ldr r3, [r7, #24] - 8007442: 015a lsls r2, r3, #5 - 8007444: 69fb ldr r3, [r7, #28] - 8007446: 4413 add r3, r2 - 8007448: f503 6310 add.w r3, r3, #2304 @ 0x900 - 800744c: 691b ldr r3, [r3, #16] - 800744e: 69ba ldr r2, [r7, #24] - 8007450: 0151 lsls r1, r2, #5 - 8007452: 69fa ldr r2, [r7, #28] - 8007454: 440a add r2, r1 - 8007456: f502 6210 add.w r2, r2, #2304 @ 0x900 - 800745a: f023 43c0 bic.w r3, r3, #1610612736 @ 0x60000000 - 800745e: 6113 str r3, [r2, #16] + 8007aac: 69bb ldr r3, [r7, #24] + 8007aae: 015a lsls r2, r3, #5 + 8007ab0: 69fb ldr r3, [r7, #28] + 8007ab2: 4413 add r3, r2 + 8007ab4: f503 6310 add.w r3, r3, #2304 @ 0x900 + 8007ab8: 691b ldr r3, [r3, #16] + 8007aba: 69ba ldr r2, [r7, #24] + 8007abc: 0151 lsls r1, r2, #5 + 8007abe: 69fa ldr r2, [r7, #28] + 8007ac0: 440a add r2, r1 + 8007ac2: f502 6210 add.w r2, r2, #2304 @ 0x900 + 8007ac6: f023 43c0 bic.w r3, r3, #1610612736 @ 0x60000000 + 8007aca: 6113 str r3, [r2, #16] USBx_INEP(epnum)->DIEPTSIZ |= (USB_OTG_DIEPTSIZ_MULCNT & ((uint32_t)pktcnt << 29)); - 8007460: 69bb ldr r3, [r7, #24] - 8007462: 015a lsls r2, r3, #5 - 8007464: 69fb ldr r3, [r7, #28] - 8007466: 4413 add r3, r2 - 8007468: f503 6310 add.w r3, r3, #2304 @ 0x900 - 800746c: 691a ldr r2, [r3, #16] - 800746e: 8afb ldrh r3, [r7, #22] - 8007470: 075b lsls r3, r3, #29 - 8007472: f003 43c0 and.w r3, r3, #1610612736 @ 0x60000000 - 8007476: 69b9 ldr r1, [r7, #24] - 8007478: 0148 lsls r0, r1, #5 - 800747a: 69f9 ldr r1, [r7, #28] - 800747c: 4401 add r1, r0 - 800747e: f501 6110 add.w r1, r1, #2304 @ 0x900 - 8007482: 4313 orrs r3, r2 - 8007484: 610b str r3, [r1, #16] + 8007acc: 69bb ldr r3, [r7, #24] + 8007ace: 015a lsls r2, r3, #5 + 8007ad0: 69fb ldr r3, [r7, #28] + 8007ad2: 4413 add r3, r2 + 8007ad4: f503 6310 add.w r3, r3, #2304 @ 0x900 + 8007ad8: 691a ldr r2, [r3, #16] + 8007ada: 8afb ldrh r3, [r7, #22] + 8007adc: 075b lsls r3, r3, #29 + 8007ade: f003 43c0 and.w r3, r3, #1610612736 @ 0x60000000 + 8007ae2: 69b9 ldr r1, [r7, #24] + 8007ae4: 0148 lsls r0, r1, #5 + 8007ae6: 69f9 ldr r1, [r7, #28] + 8007ae8: 4401 add r1, r0 + 8007aea: f501 6110 add.w r1, r1, #2304 @ 0x900 + 8007aee: 4313 orrs r3, r2 + 8007af0: 610b str r3, [r1, #16] } } USBx_INEP(epnum)->DIEPTSIZ |= (USB_OTG_DIEPTSIZ_XFRSIZ & ep->xfer_len); - 8007486: 69bb ldr r3, [r7, #24] - 8007488: 015a lsls r2, r3, #5 - 800748a: 69fb ldr r3, [r7, #28] - 800748c: 4413 add r3, r2 - 800748e: f503 6310 add.w r3, r3, #2304 @ 0x900 - 8007492: 691a ldr r2, [r3, #16] - 8007494: 68bb ldr r3, [r7, #8] - 8007496: 691b ldr r3, [r3, #16] - 8007498: f3c3 0312 ubfx r3, r3, #0, #19 - 800749c: 69b9 ldr r1, [r7, #24] - 800749e: 0148 lsls r0, r1, #5 - 80074a0: 69f9 ldr r1, [r7, #28] - 80074a2: 4401 add r1, r0 - 80074a4: f501 6110 add.w r1, r1, #2304 @ 0x900 - 80074a8: 4313 orrs r3, r2 - 80074aa: 610b str r3, [r1, #16] + 8007af2: 69bb ldr r3, [r7, #24] + 8007af4: 015a lsls r2, r3, #5 + 8007af6: 69fb ldr r3, [r7, #28] + 8007af8: 4413 add r3, r2 + 8007afa: f503 6310 add.w r3, r3, #2304 @ 0x900 + 8007afe: 691a ldr r2, [r3, #16] + 8007b00: 68bb ldr r3, [r7, #8] + 8007b02: 691b ldr r3, [r3, #16] + 8007b04: f3c3 0312 ubfx r3, r3, #0, #19 + 8007b08: 69b9 ldr r1, [r7, #24] + 8007b0a: 0148 lsls r0, r1, #5 + 8007b0c: 69f9 ldr r1, [r7, #28] + 8007b0e: 4401 add r1, r0 + 8007b10: f501 6110 add.w r1, r1, #2304 @ 0x900 + 8007b14: 4313 orrs r3, r2 + 8007b16: 610b str r3, [r1, #16] } if (dma == 1U) - 80074ac: 79fb ldrb r3, [r7, #7] - 80074ae: 2b01 cmp r3, #1 - 80074b0: d14b bne.n 800754a + 8007b18: 79fb ldrb r3, [r7, #7] + 8007b1a: 2b01 cmp r3, #1 + 8007b1c: d14b bne.n 8007bb6 { if ((uint32_t)ep->dma_addr != 0U) - 80074b2: 68bb ldr r3, [r7, #8] - 80074b4: 69db ldr r3, [r3, #28] - 80074b6: 2b00 cmp r3, #0 - 80074b8: d009 beq.n 80074ce + 8007b1e: 68bb ldr r3, [r7, #8] + 8007b20: 69db ldr r3, [r3, #28] + 8007b22: 2b00 cmp r3, #0 + 8007b24: d009 beq.n 8007b3a { USBx_INEP(epnum)->DIEPDMA = (uint32_t)(ep->dma_addr); - 80074ba: 69bb ldr r3, [r7, #24] - 80074bc: 015a lsls r2, r3, #5 - 80074be: 69fb ldr r3, [r7, #28] - 80074c0: 4413 add r3, r2 - 80074c2: f503 6310 add.w r3, r3, #2304 @ 0x900 - 80074c6: 461a mov r2, r3 - 80074c8: 68bb ldr r3, [r7, #8] - 80074ca: 69db ldr r3, [r3, #28] - 80074cc: 6153 str r3, [r2, #20] + 8007b26: 69bb ldr r3, [r7, #24] + 8007b28: 015a lsls r2, r3, #5 + 8007b2a: 69fb ldr r3, [r7, #28] + 8007b2c: 4413 add r3, r2 + 8007b2e: f503 6310 add.w r3, r3, #2304 @ 0x900 + 8007b32: 461a mov r2, r3 + 8007b34: 68bb ldr r3, [r7, #8] + 8007b36: 69db ldr r3, [r3, #28] + 8007b38: 6153 str r3, [r2, #20] } if (ep->type == EP_TYPE_ISOC) - 80074ce: 68bb ldr r3, [r7, #8] - 80074d0: 791b ldrb r3, [r3, #4] - 80074d2: 2b01 cmp r3, #1 - 80074d4: d128 bne.n 8007528 + 8007b3a: 68bb ldr r3, [r7, #8] + 8007b3c: 791b ldrb r3, [r3, #4] + 8007b3e: 2b01 cmp r3, #1 + 8007b40: d128 bne.n 8007b94 { if ((USBx_DEVICE->DSTS & (1U << 8)) == 0U) - 80074d6: 69fb ldr r3, [r7, #28] - 80074d8: f503 6300 add.w r3, r3, #2048 @ 0x800 - 80074dc: 689b ldr r3, [r3, #8] - 80074de: f403 7380 and.w r3, r3, #256 @ 0x100 - 80074e2: 2b00 cmp r3, #0 - 80074e4: d110 bne.n 8007508 + 8007b42: 69fb ldr r3, [r7, #28] + 8007b44: f503 6300 add.w r3, r3, #2048 @ 0x800 + 8007b48: 689b ldr r3, [r3, #8] + 8007b4a: f403 7380 and.w r3, r3, #256 @ 0x100 + 8007b4e: 2b00 cmp r3, #0 + 8007b50: d110 bne.n 8007b74 { USBx_INEP(epnum)->DIEPCTL |= USB_OTG_DIEPCTL_SODDFRM; - 80074e6: 69bb ldr r3, [r7, #24] - 80074e8: 015a lsls r2, r3, #5 - 80074ea: 69fb ldr r3, [r7, #28] - 80074ec: 4413 add r3, r2 - 80074ee: f503 6310 add.w r3, r3, #2304 @ 0x900 - 80074f2: 681b ldr r3, [r3, #0] - 80074f4: 69ba ldr r2, [r7, #24] - 80074f6: 0151 lsls r1, r2, #5 - 80074f8: 69fa ldr r2, [r7, #28] - 80074fa: 440a add r2, r1 - 80074fc: f502 6210 add.w r2, r2, #2304 @ 0x900 - 8007500: f043 5300 orr.w r3, r3, #536870912 @ 0x20000000 - 8007504: 6013 str r3, [r2, #0] - 8007506: e00f b.n 8007528 + 8007b52: 69bb ldr r3, [r7, #24] + 8007b54: 015a lsls r2, r3, #5 + 8007b56: 69fb ldr r3, [r7, #28] + 8007b58: 4413 add r3, r2 + 8007b5a: f503 6310 add.w r3, r3, #2304 @ 0x900 + 8007b5e: 681b ldr r3, [r3, #0] + 8007b60: 69ba ldr r2, [r7, #24] + 8007b62: 0151 lsls r1, r2, #5 + 8007b64: 69fa ldr r2, [r7, #28] + 8007b66: 440a add r2, r1 + 8007b68: f502 6210 add.w r2, r2, #2304 @ 0x900 + 8007b6c: f043 5300 orr.w r3, r3, #536870912 @ 0x20000000 + 8007b70: 6013 str r3, [r2, #0] + 8007b72: e00f b.n 8007b94 } else { USBx_INEP(epnum)->DIEPCTL |= USB_OTG_DIEPCTL_SD0PID_SEVNFRM; - 8007508: 69bb ldr r3, [r7, #24] - 800750a: 015a lsls r2, r3, #5 - 800750c: 69fb ldr r3, [r7, #28] - 800750e: 4413 add r3, r2 - 8007510: f503 6310 add.w r3, r3, #2304 @ 0x900 - 8007514: 681b ldr r3, [r3, #0] - 8007516: 69ba ldr r2, [r7, #24] - 8007518: 0151 lsls r1, r2, #5 - 800751a: 69fa ldr r2, [r7, #28] - 800751c: 440a add r2, r1 - 800751e: f502 6210 add.w r2, r2, #2304 @ 0x900 - 8007522: f043 5380 orr.w r3, r3, #268435456 @ 0x10000000 - 8007526: 6013 str r3, [r2, #0] + 8007b74: 69bb ldr r3, [r7, #24] + 8007b76: 015a lsls r2, r3, #5 + 8007b78: 69fb ldr r3, [r7, #28] + 8007b7a: 4413 add r3, r2 + 8007b7c: f503 6310 add.w r3, r3, #2304 @ 0x900 + 8007b80: 681b ldr r3, [r3, #0] + 8007b82: 69ba ldr r2, [r7, #24] + 8007b84: 0151 lsls r1, r2, #5 + 8007b86: 69fa ldr r2, [r7, #28] + 8007b88: 440a add r2, r1 + 8007b8a: f502 6210 add.w r2, r2, #2304 @ 0x900 + 8007b8e: f043 5380 orr.w r3, r3, #268435456 @ 0x10000000 + 8007b92: 6013 str r3, [r2, #0] } } /* EP enable, IN data in FIFO */ USBx_INEP(epnum)->DIEPCTL |= (USB_OTG_DIEPCTL_CNAK | USB_OTG_DIEPCTL_EPENA); - 8007528: 69bb ldr r3, [r7, #24] - 800752a: 015a lsls r2, r3, #5 - 800752c: 69fb ldr r3, [r7, #28] - 800752e: 4413 add r3, r2 - 8007530: f503 6310 add.w r3, r3, #2304 @ 0x900 - 8007534: 681b ldr r3, [r3, #0] - 8007536: 69ba ldr r2, [r7, #24] - 8007538: 0151 lsls r1, r2, #5 - 800753a: 69fa ldr r2, [r7, #28] - 800753c: 440a add r2, r1 - 800753e: f502 6210 add.w r2, r2, #2304 @ 0x900 - 8007542: f043 4304 orr.w r3, r3, #2214592512 @ 0x84000000 - 8007546: 6013 str r3, [r2, #0] - 8007548: e166 b.n 8007818 + 8007b94: 69bb ldr r3, [r7, #24] + 8007b96: 015a lsls r2, r3, #5 + 8007b98: 69fb ldr r3, [r7, #28] + 8007b9a: 4413 add r3, r2 + 8007b9c: f503 6310 add.w r3, r3, #2304 @ 0x900 + 8007ba0: 681b ldr r3, [r3, #0] + 8007ba2: 69ba ldr r2, [r7, #24] + 8007ba4: 0151 lsls r1, r2, #5 + 8007ba6: 69fa ldr r2, [r7, #28] + 8007ba8: 440a add r2, r1 + 8007baa: f502 6210 add.w r2, r2, #2304 @ 0x900 + 8007bae: f043 4304 orr.w r3, r3, #2214592512 @ 0x84000000 + 8007bb2: 6013 str r3, [r2, #0] + 8007bb4: e166 b.n 8007e84 } else { /* EP enable, IN data in FIFO */ USBx_INEP(epnum)->DIEPCTL |= (USB_OTG_DIEPCTL_CNAK | USB_OTG_DIEPCTL_EPENA); - 800754a: 69bb ldr r3, [r7, #24] - 800754c: 015a lsls r2, r3, #5 - 800754e: 69fb ldr r3, [r7, #28] - 8007550: 4413 add r3, r2 - 8007552: f503 6310 add.w r3, r3, #2304 @ 0x900 - 8007556: 681b ldr r3, [r3, #0] - 8007558: 69ba ldr r2, [r7, #24] - 800755a: 0151 lsls r1, r2, #5 - 800755c: 69fa ldr r2, [r7, #28] - 800755e: 440a add r2, r1 - 8007560: f502 6210 add.w r2, r2, #2304 @ 0x900 - 8007564: f043 4304 orr.w r3, r3, #2214592512 @ 0x84000000 - 8007568: 6013 str r3, [r2, #0] + 8007bb6: 69bb ldr r3, [r7, #24] + 8007bb8: 015a lsls r2, r3, #5 + 8007bba: 69fb ldr r3, [r7, #28] + 8007bbc: 4413 add r3, r2 + 8007bbe: f503 6310 add.w r3, r3, #2304 @ 0x900 + 8007bc2: 681b ldr r3, [r3, #0] + 8007bc4: 69ba ldr r2, [r7, #24] + 8007bc6: 0151 lsls r1, r2, #5 + 8007bc8: 69fa ldr r2, [r7, #28] + 8007bca: 440a add r2, r1 + 8007bcc: f502 6210 add.w r2, r2, #2304 @ 0x900 + 8007bd0: f043 4304 orr.w r3, r3, #2214592512 @ 0x84000000 + 8007bd4: 6013 str r3, [r2, #0] if (ep->type != EP_TYPE_ISOC) - 800756a: 68bb ldr r3, [r7, #8] - 800756c: 791b ldrb r3, [r3, #4] - 800756e: 2b01 cmp r3, #1 - 8007570: d015 beq.n 800759e + 8007bd6: 68bb ldr r3, [r7, #8] + 8007bd8: 791b ldrb r3, [r3, #4] + 8007bda: 2b01 cmp r3, #1 + 8007bdc: d015 beq.n 8007c0a { /* Enable the Tx FIFO Empty Interrupt for this EP */ if (ep->xfer_len > 0U) - 8007572: 68bb ldr r3, [r7, #8] - 8007574: 691b ldr r3, [r3, #16] - 8007576: 2b00 cmp r3, #0 - 8007578: f000 814e beq.w 8007818 + 8007bde: 68bb ldr r3, [r7, #8] + 8007be0: 691b ldr r3, [r3, #16] + 8007be2: 2b00 cmp r3, #0 + 8007be4: f000 814e beq.w 8007e84 { USBx_DEVICE->DIEPEMPMSK |= 1UL << (ep->num & EP_ADDR_MSK); - 800757c: 69fb ldr r3, [r7, #28] - 800757e: f503 6300 add.w r3, r3, #2048 @ 0x800 - 8007582: 6b5a ldr r2, [r3, #52] @ 0x34 - 8007584: 68bb ldr r3, [r7, #8] - 8007586: 781b ldrb r3, [r3, #0] - 8007588: f003 030f and.w r3, r3, #15 - 800758c: 2101 movs r1, #1 - 800758e: fa01 f303 lsl.w r3, r1, r3 - 8007592: 69f9 ldr r1, [r7, #28] - 8007594: f501 6100 add.w r1, r1, #2048 @ 0x800 - 8007598: 4313 orrs r3, r2 - 800759a: 634b str r3, [r1, #52] @ 0x34 - 800759c: e13c b.n 8007818 + 8007be8: 69fb ldr r3, [r7, #28] + 8007bea: f503 6300 add.w r3, r3, #2048 @ 0x800 + 8007bee: 6b5a ldr r2, [r3, #52] @ 0x34 + 8007bf0: 68bb ldr r3, [r7, #8] + 8007bf2: 781b ldrb r3, [r3, #0] + 8007bf4: f003 030f and.w r3, r3, #15 + 8007bf8: 2101 movs r1, #1 + 8007bfa: fa01 f303 lsl.w r3, r1, r3 + 8007bfe: 69f9 ldr r1, [r7, #28] + 8007c00: f501 6100 add.w r1, r1, #2048 @ 0x800 + 8007c04: 4313 orrs r3, r2 + 8007c06: 634b str r3, [r1, #52] @ 0x34 + 8007c08: e13c b.n 8007e84 } } else { if ((USBx_DEVICE->DSTS & (1U << 8)) == 0U) - 800759e: 69fb ldr r3, [r7, #28] - 80075a0: f503 6300 add.w r3, r3, #2048 @ 0x800 - 80075a4: 689b ldr r3, [r3, #8] - 80075a6: f403 7380 and.w r3, r3, #256 @ 0x100 - 80075aa: 2b00 cmp r3, #0 - 80075ac: d110 bne.n 80075d0 + 8007c0a: 69fb ldr r3, [r7, #28] + 8007c0c: f503 6300 add.w r3, r3, #2048 @ 0x800 + 8007c10: 689b ldr r3, [r3, #8] + 8007c12: f403 7380 and.w r3, r3, #256 @ 0x100 + 8007c16: 2b00 cmp r3, #0 + 8007c18: d110 bne.n 8007c3c { USBx_INEP(epnum)->DIEPCTL |= USB_OTG_DIEPCTL_SODDFRM; - 80075ae: 69bb ldr r3, [r7, #24] - 80075b0: 015a lsls r2, r3, #5 - 80075b2: 69fb ldr r3, [r7, #28] - 80075b4: 4413 add r3, r2 - 80075b6: f503 6310 add.w r3, r3, #2304 @ 0x900 - 80075ba: 681b ldr r3, [r3, #0] - 80075bc: 69ba ldr r2, [r7, #24] - 80075be: 0151 lsls r1, r2, #5 - 80075c0: 69fa ldr r2, [r7, #28] - 80075c2: 440a add r2, r1 - 80075c4: f502 6210 add.w r2, r2, #2304 @ 0x900 - 80075c8: f043 5300 orr.w r3, r3, #536870912 @ 0x20000000 - 80075cc: 6013 str r3, [r2, #0] - 80075ce: e00f b.n 80075f0 + 8007c1a: 69bb ldr r3, [r7, #24] + 8007c1c: 015a lsls r2, r3, #5 + 8007c1e: 69fb ldr r3, [r7, #28] + 8007c20: 4413 add r3, r2 + 8007c22: f503 6310 add.w r3, r3, #2304 @ 0x900 + 8007c26: 681b ldr r3, [r3, #0] + 8007c28: 69ba ldr r2, [r7, #24] + 8007c2a: 0151 lsls r1, r2, #5 + 8007c2c: 69fa ldr r2, [r7, #28] + 8007c2e: 440a add r2, r1 + 8007c30: f502 6210 add.w r2, r2, #2304 @ 0x900 + 8007c34: f043 5300 orr.w r3, r3, #536870912 @ 0x20000000 + 8007c38: 6013 str r3, [r2, #0] + 8007c3a: e00f b.n 8007c5c } else { USBx_INEP(epnum)->DIEPCTL |= USB_OTG_DIEPCTL_SD0PID_SEVNFRM; - 80075d0: 69bb ldr r3, [r7, #24] - 80075d2: 015a lsls r2, r3, #5 - 80075d4: 69fb ldr r3, [r7, #28] - 80075d6: 4413 add r3, r2 - 80075d8: f503 6310 add.w r3, r3, #2304 @ 0x900 - 80075dc: 681b ldr r3, [r3, #0] - 80075de: 69ba ldr r2, [r7, #24] - 80075e0: 0151 lsls r1, r2, #5 - 80075e2: 69fa ldr r2, [r7, #28] - 80075e4: 440a add r2, r1 - 80075e6: f502 6210 add.w r2, r2, #2304 @ 0x900 - 80075ea: f043 5380 orr.w r3, r3, #268435456 @ 0x10000000 - 80075ee: 6013 str r3, [r2, #0] + 8007c3c: 69bb ldr r3, [r7, #24] + 8007c3e: 015a lsls r2, r3, #5 + 8007c40: 69fb ldr r3, [r7, #28] + 8007c42: 4413 add r3, r2 + 8007c44: f503 6310 add.w r3, r3, #2304 @ 0x900 + 8007c48: 681b ldr r3, [r3, #0] + 8007c4a: 69ba ldr r2, [r7, #24] + 8007c4c: 0151 lsls r1, r2, #5 + 8007c4e: 69fa ldr r2, [r7, #28] + 8007c50: 440a add r2, r1 + 8007c52: f502 6210 add.w r2, r2, #2304 @ 0x900 + 8007c56: f043 5380 orr.w r3, r3, #268435456 @ 0x10000000 + 8007c5a: 6013 str r3, [r2, #0] } (void)USB_WritePacket(USBx, ep->xfer_buff, ep->num, (uint16_t)ep->xfer_len, dma); - 80075f0: 68bb ldr r3, [r7, #8] - 80075f2: 68d9 ldr r1, [r3, #12] - 80075f4: 68bb ldr r3, [r7, #8] - 80075f6: 781a ldrb r2, [r3, #0] - 80075f8: 68bb ldr r3, [r7, #8] - 80075fa: 691b ldr r3, [r3, #16] - 80075fc: b298 uxth r0, r3 - 80075fe: 79fb ldrb r3, [r7, #7] - 8007600: 9300 str r3, [sp, #0] - 8007602: 4603 mov r3, r0 - 8007604: 68f8 ldr r0, [r7, #12] - 8007606: f000 f9b9 bl 800797c - 800760a: e105 b.n 8007818 + 8007c5c: 68bb ldr r3, [r7, #8] + 8007c5e: 68d9 ldr r1, [r3, #12] + 8007c60: 68bb ldr r3, [r7, #8] + 8007c62: 781a ldrb r2, [r3, #0] + 8007c64: 68bb ldr r3, [r7, #8] + 8007c66: 691b ldr r3, [r3, #16] + 8007c68: b298 uxth r0, r3 + 8007c6a: 79fb ldrb r3, [r7, #7] + 8007c6c: 9300 str r3, [sp, #0] + 8007c6e: 4603 mov r3, r0 + 8007c70: 68f8 ldr r0, [r7, #12] + 8007c72: f000 f9b9 bl 8007fe8 + 8007c76: e105 b.n 8007e84 { /* Program the transfer size and packet count as follows: * pktcnt = N * xfersize = N * maxpacket */ USBx_OUTEP(epnum)->DOEPTSIZ &= ~(USB_OTG_DOEPTSIZ_XFRSIZ); - 800760c: 69bb ldr r3, [r7, #24] - 800760e: 015a lsls r2, r3, #5 - 8007610: 69fb ldr r3, [r7, #28] - 8007612: 4413 add r3, r2 - 8007614: f503 6330 add.w r3, r3, #2816 @ 0xb00 - 8007618: 691b ldr r3, [r3, #16] - 800761a: 69ba ldr r2, [r7, #24] - 800761c: 0151 lsls r1, r2, #5 - 800761e: 69fa ldr r2, [r7, #28] - 8007620: 440a add r2, r1 - 8007622: f502 6230 add.w r2, r2, #2816 @ 0xb00 - 8007626: 0cdb lsrs r3, r3, #19 - 8007628: 04db lsls r3, r3, #19 - 800762a: 6113 str r3, [r2, #16] + 8007c78: 69bb ldr r3, [r7, #24] + 8007c7a: 015a lsls r2, r3, #5 + 8007c7c: 69fb ldr r3, [r7, #28] + 8007c7e: 4413 add r3, r2 + 8007c80: f503 6330 add.w r3, r3, #2816 @ 0xb00 + 8007c84: 691b ldr r3, [r3, #16] + 8007c86: 69ba ldr r2, [r7, #24] + 8007c88: 0151 lsls r1, r2, #5 + 8007c8a: 69fa ldr r2, [r7, #28] + 8007c8c: 440a add r2, r1 + 8007c8e: f502 6230 add.w r2, r2, #2816 @ 0xb00 + 8007c92: 0cdb lsrs r3, r3, #19 + 8007c94: 04db lsls r3, r3, #19 + 8007c96: 6113 str r3, [r2, #16] USBx_OUTEP(epnum)->DOEPTSIZ &= ~(USB_OTG_DOEPTSIZ_PKTCNT); - 800762c: 69bb ldr r3, [r7, #24] - 800762e: 015a lsls r2, r3, #5 - 8007630: 69fb ldr r3, [r7, #28] - 8007632: 4413 add r3, r2 - 8007634: f503 6330 add.w r3, r3, #2816 @ 0xb00 - 8007638: 691b ldr r3, [r3, #16] - 800763a: 69ba ldr r2, [r7, #24] - 800763c: 0151 lsls r1, r2, #5 - 800763e: 69fa ldr r2, [r7, #28] - 8007640: 440a add r2, r1 - 8007642: f502 6230 add.w r2, r2, #2816 @ 0xb00 - 8007646: f023 53ff bic.w r3, r3, #534773760 @ 0x1fe00000 - 800764a: f423 13c0 bic.w r3, r3, #1572864 @ 0x180000 - 800764e: 6113 str r3, [r2, #16] + 8007c98: 69bb ldr r3, [r7, #24] + 8007c9a: 015a lsls r2, r3, #5 + 8007c9c: 69fb ldr r3, [r7, #28] + 8007c9e: 4413 add r3, r2 + 8007ca0: f503 6330 add.w r3, r3, #2816 @ 0xb00 + 8007ca4: 691b ldr r3, [r3, #16] + 8007ca6: 69ba ldr r2, [r7, #24] + 8007ca8: 0151 lsls r1, r2, #5 + 8007caa: 69fa ldr r2, [r7, #28] + 8007cac: 440a add r2, r1 + 8007cae: f502 6230 add.w r2, r2, #2816 @ 0xb00 + 8007cb2: f023 53ff bic.w r3, r3, #534773760 @ 0x1fe00000 + 8007cb6: f423 13c0 bic.w r3, r3, #1572864 @ 0x180000 + 8007cba: 6113 str r3, [r2, #16] if (epnum == 0U) - 8007650: 69bb ldr r3, [r7, #24] - 8007652: 2b00 cmp r3, #0 - 8007654: d132 bne.n 80076bc + 8007cbc: 69bb ldr r3, [r7, #24] + 8007cbe: 2b00 cmp r3, #0 + 8007cc0: d132 bne.n 8007d28 { if (ep->xfer_len > 0U) - 8007656: 68bb ldr r3, [r7, #8] - 8007658: 691b ldr r3, [r3, #16] - 800765a: 2b00 cmp r3, #0 - 800765c: d003 beq.n 8007666 + 8007cc2: 68bb ldr r3, [r7, #8] + 8007cc4: 691b ldr r3, [r3, #16] + 8007cc6: 2b00 cmp r3, #0 + 8007cc8: d003 beq.n 8007cd2 { ep->xfer_len = ep->maxpacket; - 800765e: 68bb ldr r3, [r7, #8] - 8007660: 689a ldr r2, [r3, #8] - 8007662: 68bb ldr r3, [r7, #8] - 8007664: 611a str r2, [r3, #16] + 8007cca: 68bb ldr r3, [r7, #8] + 8007ccc: 689a ldr r2, [r3, #8] + 8007cce: 68bb ldr r3, [r7, #8] + 8007cd0: 611a str r2, [r3, #16] } /* Store transfer size, for EP0 this is equal to endpoint max packet size */ ep->xfer_size = ep->maxpacket; - 8007666: 68bb ldr r3, [r7, #8] - 8007668: 689a ldr r2, [r3, #8] - 800766a: 68bb ldr r3, [r7, #8] - 800766c: 621a str r2, [r3, #32] + 8007cd2: 68bb ldr r3, [r7, #8] + 8007cd4: 689a ldr r2, [r3, #8] + 8007cd6: 68bb ldr r3, [r7, #8] + 8007cd8: 621a str r2, [r3, #32] USBx_OUTEP(epnum)->DOEPTSIZ |= (USB_OTG_DOEPTSIZ_XFRSIZ & ep->xfer_size); - 800766e: 69bb ldr r3, [r7, #24] - 8007670: 015a lsls r2, r3, #5 - 8007672: 69fb ldr r3, [r7, #28] - 8007674: 4413 add r3, r2 - 8007676: f503 6330 add.w r3, r3, #2816 @ 0xb00 - 800767a: 691a ldr r2, [r3, #16] - 800767c: 68bb ldr r3, [r7, #8] - 800767e: 6a1b ldr r3, [r3, #32] - 8007680: f3c3 0312 ubfx r3, r3, #0, #19 - 8007684: 69b9 ldr r1, [r7, #24] - 8007686: 0148 lsls r0, r1, #5 - 8007688: 69f9 ldr r1, [r7, #28] - 800768a: 4401 add r1, r0 - 800768c: f501 6130 add.w r1, r1, #2816 @ 0xb00 - 8007690: 4313 orrs r3, r2 - 8007692: 610b str r3, [r1, #16] + 8007cda: 69bb ldr r3, [r7, #24] + 8007cdc: 015a lsls r2, r3, #5 + 8007cde: 69fb ldr r3, [r7, #28] + 8007ce0: 4413 add r3, r2 + 8007ce2: f503 6330 add.w r3, r3, #2816 @ 0xb00 + 8007ce6: 691a ldr r2, [r3, #16] + 8007ce8: 68bb ldr r3, [r7, #8] + 8007cea: 6a1b ldr r3, [r3, #32] + 8007cec: f3c3 0312 ubfx r3, r3, #0, #19 + 8007cf0: 69b9 ldr r1, [r7, #24] + 8007cf2: 0148 lsls r0, r1, #5 + 8007cf4: 69f9 ldr r1, [r7, #28] + 8007cf6: 4401 add r1, r0 + 8007cf8: f501 6130 add.w r1, r1, #2816 @ 0xb00 + 8007cfc: 4313 orrs r3, r2 + 8007cfe: 610b str r3, [r1, #16] USBx_OUTEP(epnum)->DOEPTSIZ |= (USB_OTG_DOEPTSIZ_PKTCNT & (1U << 19)); - 8007694: 69bb ldr r3, [r7, #24] - 8007696: 015a lsls r2, r3, #5 - 8007698: 69fb ldr r3, [r7, #28] - 800769a: 4413 add r3, r2 - 800769c: f503 6330 add.w r3, r3, #2816 @ 0xb00 - 80076a0: 691b ldr r3, [r3, #16] - 80076a2: 69ba ldr r2, [r7, #24] - 80076a4: 0151 lsls r1, r2, #5 - 80076a6: 69fa ldr r2, [r7, #28] - 80076a8: 440a add r2, r1 - 80076aa: f502 6230 add.w r2, r2, #2816 @ 0xb00 - 80076ae: f443 2300 orr.w r3, r3, #524288 @ 0x80000 - 80076b2: 6113 str r3, [r2, #16] - 80076b4: e062 b.n 800777c - 80076b6: bf00 nop - 80076b8: 1ff80000 .word 0x1ff80000 + 8007d00: 69bb ldr r3, [r7, #24] + 8007d02: 015a lsls r2, r3, #5 + 8007d04: 69fb ldr r3, [r7, #28] + 8007d06: 4413 add r3, r2 + 8007d08: f503 6330 add.w r3, r3, #2816 @ 0xb00 + 8007d0c: 691b ldr r3, [r3, #16] + 8007d0e: 69ba ldr r2, [r7, #24] + 8007d10: 0151 lsls r1, r2, #5 + 8007d12: 69fa ldr r2, [r7, #28] + 8007d14: 440a add r2, r1 + 8007d16: f502 6230 add.w r2, r2, #2816 @ 0xb00 + 8007d1a: f443 2300 orr.w r3, r3, #524288 @ 0x80000 + 8007d1e: 6113 str r3, [r2, #16] + 8007d20: e062 b.n 8007de8 + 8007d22: bf00 nop + 8007d24: 1ff80000 .word 0x1ff80000 } else { if (ep->xfer_len == 0U) - 80076bc: 68bb ldr r3, [r7, #8] - 80076be: 691b ldr r3, [r3, #16] - 80076c0: 2b00 cmp r3, #0 - 80076c2: d123 bne.n 800770c + 8007d28: 68bb ldr r3, [r7, #8] + 8007d2a: 691b ldr r3, [r3, #16] + 8007d2c: 2b00 cmp r3, #0 + 8007d2e: d123 bne.n 8007d78 { USBx_OUTEP(epnum)->DOEPTSIZ |= (USB_OTG_DOEPTSIZ_XFRSIZ & ep->maxpacket); - 80076c4: 69bb ldr r3, [r7, #24] - 80076c6: 015a lsls r2, r3, #5 - 80076c8: 69fb ldr r3, [r7, #28] - 80076ca: 4413 add r3, r2 - 80076cc: f503 6330 add.w r3, r3, #2816 @ 0xb00 - 80076d0: 691a ldr r2, [r3, #16] - 80076d2: 68bb ldr r3, [r7, #8] - 80076d4: 689b ldr r3, [r3, #8] - 80076d6: f3c3 0312 ubfx r3, r3, #0, #19 - 80076da: 69b9 ldr r1, [r7, #24] - 80076dc: 0148 lsls r0, r1, #5 - 80076de: 69f9 ldr r1, [r7, #28] - 80076e0: 4401 add r1, r0 - 80076e2: f501 6130 add.w r1, r1, #2816 @ 0xb00 - 80076e6: 4313 orrs r3, r2 - 80076e8: 610b str r3, [r1, #16] + 8007d30: 69bb ldr r3, [r7, #24] + 8007d32: 015a lsls r2, r3, #5 + 8007d34: 69fb ldr r3, [r7, #28] + 8007d36: 4413 add r3, r2 + 8007d38: f503 6330 add.w r3, r3, #2816 @ 0xb00 + 8007d3c: 691a ldr r2, [r3, #16] + 8007d3e: 68bb ldr r3, [r7, #8] + 8007d40: 689b ldr r3, [r3, #8] + 8007d42: f3c3 0312 ubfx r3, r3, #0, #19 + 8007d46: 69b9 ldr r1, [r7, #24] + 8007d48: 0148 lsls r0, r1, #5 + 8007d4a: 69f9 ldr r1, [r7, #28] + 8007d4c: 4401 add r1, r0 + 8007d4e: f501 6130 add.w r1, r1, #2816 @ 0xb00 + 8007d52: 4313 orrs r3, r2 + 8007d54: 610b str r3, [r1, #16] USBx_OUTEP(epnum)->DOEPTSIZ |= (USB_OTG_DOEPTSIZ_PKTCNT & (1U << 19)); - 80076ea: 69bb ldr r3, [r7, #24] - 80076ec: 015a lsls r2, r3, #5 - 80076ee: 69fb ldr r3, [r7, #28] - 80076f0: 4413 add r3, r2 - 80076f2: f503 6330 add.w r3, r3, #2816 @ 0xb00 - 80076f6: 691b ldr r3, [r3, #16] - 80076f8: 69ba ldr r2, [r7, #24] - 80076fa: 0151 lsls r1, r2, #5 - 80076fc: 69fa ldr r2, [r7, #28] - 80076fe: 440a add r2, r1 - 8007700: f502 6230 add.w r2, r2, #2816 @ 0xb00 - 8007704: f443 2300 orr.w r3, r3, #524288 @ 0x80000 - 8007708: 6113 str r3, [r2, #16] - 800770a: e037 b.n 800777c + 8007d56: 69bb ldr r3, [r7, #24] + 8007d58: 015a lsls r2, r3, #5 + 8007d5a: 69fb ldr r3, [r7, #28] + 8007d5c: 4413 add r3, r2 + 8007d5e: f503 6330 add.w r3, r3, #2816 @ 0xb00 + 8007d62: 691b ldr r3, [r3, #16] + 8007d64: 69ba ldr r2, [r7, #24] + 8007d66: 0151 lsls r1, r2, #5 + 8007d68: 69fa ldr r2, [r7, #28] + 8007d6a: 440a add r2, r1 + 8007d6c: f502 6230 add.w r2, r2, #2816 @ 0xb00 + 8007d70: f443 2300 orr.w r3, r3, #524288 @ 0x80000 + 8007d74: 6113 str r3, [r2, #16] + 8007d76: e037 b.n 8007de8 } else { pktcnt = (uint16_t)((ep->xfer_len + ep->maxpacket - 1U) / ep->maxpacket); - 800770c: 68bb ldr r3, [r7, #8] - 800770e: 691a ldr r2, [r3, #16] - 8007710: 68bb ldr r3, [r7, #8] - 8007712: 689b ldr r3, [r3, #8] - 8007714: 4413 add r3, r2 - 8007716: 1e5a subs r2, r3, #1 - 8007718: 68bb ldr r3, [r7, #8] - 800771a: 689b ldr r3, [r3, #8] - 800771c: fbb2 f3f3 udiv r3, r2, r3 - 8007720: 82fb strh r3, [r7, #22] + 8007d78: 68bb ldr r3, [r7, #8] + 8007d7a: 691a ldr r2, [r3, #16] + 8007d7c: 68bb ldr r3, [r7, #8] + 8007d7e: 689b ldr r3, [r3, #8] + 8007d80: 4413 add r3, r2 + 8007d82: 1e5a subs r2, r3, #1 + 8007d84: 68bb ldr r3, [r7, #8] + 8007d86: 689b ldr r3, [r3, #8] + 8007d88: fbb2 f3f3 udiv r3, r2, r3 + 8007d8c: 82fb strh r3, [r7, #22] ep->xfer_size = ep->maxpacket * pktcnt; - 8007722: 68bb ldr r3, [r7, #8] - 8007724: 689b ldr r3, [r3, #8] - 8007726: 8afa ldrh r2, [r7, #22] - 8007728: fb03 f202 mul.w r2, r3, r2 - 800772c: 68bb ldr r3, [r7, #8] - 800772e: 621a str r2, [r3, #32] + 8007d8e: 68bb ldr r3, [r7, #8] + 8007d90: 689b ldr r3, [r3, #8] + 8007d92: 8afa ldrh r2, [r7, #22] + 8007d94: fb03 f202 mul.w r2, r3, r2 + 8007d98: 68bb ldr r3, [r7, #8] + 8007d9a: 621a str r2, [r3, #32] USBx_OUTEP(epnum)->DOEPTSIZ |= USB_OTG_DOEPTSIZ_PKTCNT & ((uint32_t)pktcnt << 19); - 8007730: 69bb ldr r3, [r7, #24] - 8007732: 015a lsls r2, r3, #5 - 8007734: 69fb ldr r3, [r7, #28] - 8007736: 4413 add r3, r2 - 8007738: f503 6330 add.w r3, r3, #2816 @ 0xb00 - 800773c: 691a ldr r2, [r3, #16] - 800773e: 8afb ldrh r3, [r7, #22] - 8007740: 04d9 lsls r1, r3, #19 - 8007742: 4b38 ldr r3, [pc, #224] @ (8007824 ) - 8007744: 400b ands r3, r1 - 8007746: 69b9 ldr r1, [r7, #24] - 8007748: 0148 lsls r0, r1, #5 - 800774a: 69f9 ldr r1, [r7, #28] - 800774c: 4401 add r1, r0 - 800774e: f501 6130 add.w r1, r1, #2816 @ 0xb00 - 8007752: 4313 orrs r3, r2 - 8007754: 610b str r3, [r1, #16] + 8007d9c: 69bb ldr r3, [r7, #24] + 8007d9e: 015a lsls r2, r3, #5 + 8007da0: 69fb ldr r3, [r7, #28] + 8007da2: 4413 add r3, r2 + 8007da4: f503 6330 add.w r3, r3, #2816 @ 0xb00 + 8007da8: 691a ldr r2, [r3, #16] + 8007daa: 8afb ldrh r3, [r7, #22] + 8007dac: 04d9 lsls r1, r3, #19 + 8007dae: 4b38 ldr r3, [pc, #224] @ (8007e90 ) + 8007db0: 400b ands r3, r1 + 8007db2: 69b9 ldr r1, [r7, #24] + 8007db4: 0148 lsls r0, r1, #5 + 8007db6: 69f9 ldr r1, [r7, #28] + 8007db8: 4401 add r1, r0 + 8007dba: f501 6130 add.w r1, r1, #2816 @ 0xb00 + 8007dbe: 4313 orrs r3, r2 + 8007dc0: 610b str r3, [r1, #16] USBx_OUTEP(epnum)->DOEPTSIZ |= USB_OTG_DOEPTSIZ_XFRSIZ & ep->xfer_size; - 8007756: 69bb ldr r3, [r7, #24] - 8007758: 015a lsls r2, r3, #5 - 800775a: 69fb ldr r3, [r7, #28] - 800775c: 4413 add r3, r2 - 800775e: f503 6330 add.w r3, r3, #2816 @ 0xb00 - 8007762: 691a ldr r2, [r3, #16] - 8007764: 68bb ldr r3, [r7, #8] - 8007766: 6a1b ldr r3, [r3, #32] - 8007768: f3c3 0312 ubfx r3, r3, #0, #19 - 800776c: 69b9 ldr r1, [r7, #24] - 800776e: 0148 lsls r0, r1, #5 - 8007770: 69f9 ldr r1, [r7, #28] - 8007772: 4401 add r1, r0 - 8007774: f501 6130 add.w r1, r1, #2816 @ 0xb00 - 8007778: 4313 orrs r3, r2 - 800777a: 610b str r3, [r1, #16] + 8007dc2: 69bb ldr r3, [r7, #24] + 8007dc4: 015a lsls r2, r3, #5 + 8007dc6: 69fb ldr r3, [r7, #28] + 8007dc8: 4413 add r3, r2 + 8007dca: f503 6330 add.w r3, r3, #2816 @ 0xb00 + 8007dce: 691a ldr r2, [r3, #16] + 8007dd0: 68bb ldr r3, [r7, #8] + 8007dd2: 6a1b ldr r3, [r3, #32] + 8007dd4: f3c3 0312 ubfx r3, r3, #0, #19 + 8007dd8: 69b9 ldr r1, [r7, #24] + 8007dda: 0148 lsls r0, r1, #5 + 8007ddc: 69f9 ldr r1, [r7, #28] + 8007dde: 4401 add r1, r0 + 8007de0: f501 6130 add.w r1, r1, #2816 @ 0xb00 + 8007de4: 4313 orrs r3, r2 + 8007de6: 610b str r3, [r1, #16] } } if (dma == 1U) - 800777c: 79fb ldrb r3, [r7, #7] - 800777e: 2b01 cmp r3, #1 - 8007780: d10d bne.n 800779e + 8007de8: 79fb ldrb r3, [r7, #7] + 8007dea: 2b01 cmp r3, #1 + 8007dec: d10d bne.n 8007e0a { if ((uint32_t)ep->xfer_buff != 0U) - 8007782: 68bb ldr r3, [r7, #8] - 8007784: 68db ldr r3, [r3, #12] - 8007786: 2b00 cmp r3, #0 - 8007788: d009 beq.n 800779e + 8007dee: 68bb ldr r3, [r7, #8] + 8007df0: 68db ldr r3, [r3, #12] + 8007df2: 2b00 cmp r3, #0 + 8007df4: d009 beq.n 8007e0a { USBx_OUTEP(epnum)->DOEPDMA = (uint32_t)(ep->xfer_buff); - 800778a: 68bb ldr r3, [r7, #8] - 800778c: 68d9 ldr r1, [r3, #12] - 800778e: 69bb ldr r3, [r7, #24] - 8007790: 015a lsls r2, r3, #5 - 8007792: 69fb ldr r3, [r7, #28] - 8007794: 4413 add r3, r2 - 8007796: f503 6330 add.w r3, r3, #2816 @ 0xb00 - 800779a: 460a mov r2, r1 - 800779c: 615a str r2, [r3, #20] + 8007df6: 68bb ldr r3, [r7, #8] + 8007df8: 68d9 ldr r1, [r3, #12] + 8007dfa: 69bb ldr r3, [r7, #24] + 8007dfc: 015a lsls r2, r3, #5 + 8007dfe: 69fb ldr r3, [r7, #28] + 8007e00: 4413 add r3, r2 + 8007e02: f503 6330 add.w r3, r3, #2816 @ 0xb00 + 8007e06: 460a mov r2, r1 + 8007e08: 615a str r2, [r3, #20] } } if (ep->type == EP_TYPE_ISOC) - 800779e: 68bb ldr r3, [r7, #8] - 80077a0: 791b ldrb r3, [r3, #4] - 80077a2: 2b01 cmp r3, #1 - 80077a4: d128 bne.n 80077f8 + 8007e0a: 68bb ldr r3, [r7, #8] + 8007e0c: 791b ldrb r3, [r3, #4] + 8007e0e: 2b01 cmp r3, #1 + 8007e10: d128 bne.n 8007e64 { if ((USBx_DEVICE->DSTS & (1U << 8)) == 0U) - 80077a6: 69fb ldr r3, [r7, #28] - 80077a8: f503 6300 add.w r3, r3, #2048 @ 0x800 - 80077ac: 689b ldr r3, [r3, #8] - 80077ae: f403 7380 and.w r3, r3, #256 @ 0x100 - 80077b2: 2b00 cmp r3, #0 - 80077b4: d110 bne.n 80077d8 + 8007e12: 69fb ldr r3, [r7, #28] + 8007e14: f503 6300 add.w r3, r3, #2048 @ 0x800 + 8007e18: 689b ldr r3, [r3, #8] + 8007e1a: f403 7380 and.w r3, r3, #256 @ 0x100 + 8007e1e: 2b00 cmp r3, #0 + 8007e20: d110 bne.n 8007e44 { USBx_OUTEP(epnum)->DOEPCTL |= USB_OTG_DOEPCTL_SODDFRM; - 80077b6: 69bb ldr r3, [r7, #24] - 80077b8: 015a lsls r2, r3, #5 - 80077ba: 69fb ldr r3, [r7, #28] - 80077bc: 4413 add r3, r2 - 80077be: f503 6330 add.w r3, r3, #2816 @ 0xb00 - 80077c2: 681b ldr r3, [r3, #0] - 80077c4: 69ba ldr r2, [r7, #24] - 80077c6: 0151 lsls r1, r2, #5 - 80077c8: 69fa ldr r2, [r7, #28] - 80077ca: 440a add r2, r1 - 80077cc: f502 6230 add.w r2, r2, #2816 @ 0xb00 - 80077d0: f043 5300 orr.w r3, r3, #536870912 @ 0x20000000 - 80077d4: 6013 str r3, [r2, #0] - 80077d6: e00f b.n 80077f8 + 8007e22: 69bb ldr r3, [r7, #24] + 8007e24: 015a lsls r2, r3, #5 + 8007e26: 69fb ldr r3, [r7, #28] + 8007e28: 4413 add r3, r2 + 8007e2a: f503 6330 add.w r3, r3, #2816 @ 0xb00 + 8007e2e: 681b ldr r3, [r3, #0] + 8007e30: 69ba ldr r2, [r7, #24] + 8007e32: 0151 lsls r1, r2, #5 + 8007e34: 69fa ldr r2, [r7, #28] + 8007e36: 440a add r2, r1 + 8007e38: f502 6230 add.w r2, r2, #2816 @ 0xb00 + 8007e3c: f043 5300 orr.w r3, r3, #536870912 @ 0x20000000 + 8007e40: 6013 str r3, [r2, #0] + 8007e42: e00f b.n 8007e64 } else { USBx_OUTEP(epnum)->DOEPCTL |= USB_OTG_DOEPCTL_SD0PID_SEVNFRM; - 80077d8: 69bb ldr r3, [r7, #24] - 80077da: 015a lsls r2, r3, #5 - 80077dc: 69fb ldr r3, [r7, #28] - 80077de: 4413 add r3, r2 - 80077e0: f503 6330 add.w r3, r3, #2816 @ 0xb00 - 80077e4: 681b ldr r3, [r3, #0] - 80077e6: 69ba ldr r2, [r7, #24] - 80077e8: 0151 lsls r1, r2, #5 - 80077ea: 69fa ldr r2, [r7, #28] - 80077ec: 440a add r2, r1 - 80077ee: f502 6230 add.w r2, r2, #2816 @ 0xb00 - 80077f2: f043 5380 orr.w r3, r3, #268435456 @ 0x10000000 - 80077f6: 6013 str r3, [r2, #0] + 8007e44: 69bb ldr r3, [r7, #24] + 8007e46: 015a lsls r2, r3, #5 + 8007e48: 69fb ldr r3, [r7, #28] + 8007e4a: 4413 add r3, r2 + 8007e4c: f503 6330 add.w r3, r3, #2816 @ 0xb00 + 8007e50: 681b ldr r3, [r3, #0] + 8007e52: 69ba ldr r2, [r7, #24] + 8007e54: 0151 lsls r1, r2, #5 + 8007e56: 69fa ldr r2, [r7, #28] + 8007e58: 440a add r2, r1 + 8007e5a: f502 6230 add.w r2, r2, #2816 @ 0xb00 + 8007e5e: f043 5380 orr.w r3, r3, #268435456 @ 0x10000000 + 8007e62: 6013 str r3, [r2, #0] } } /* EP enable */ USBx_OUTEP(epnum)->DOEPCTL |= (USB_OTG_DOEPCTL_CNAK | USB_OTG_DOEPCTL_EPENA); - 80077f8: 69bb ldr r3, [r7, #24] - 80077fa: 015a lsls r2, r3, #5 - 80077fc: 69fb ldr r3, [r7, #28] - 80077fe: 4413 add r3, r2 - 8007800: f503 6330 add.w r3, r3, #2816 @ 0xb00 - 8007804: 681b ldr r3, [r3, #0] - 8007806: 69ba ldr r2, [r7, #24] - 8007808: 0151 lsls r1, r2, #5 - 800780a: 69fa ldr r2, [r7, #28] - 800780c: 440a add r2, r1 - 800780e: f502 6230 add.w r2, r2, #2816 @ 0xb00 - 8007812: f043 4304 orr.w r3, r3, #2214592512 @ 0x84000000 - 8007816: 6013 str r3, [r2, #0] + 8007e64: 69bb ldr r3, [r7, #24] + 8007e66: 015a lsls r2, r3, #5 + 8007e68: 69fb ldr r3, [r7, #28] + 8007e6a: 4413 add r3, r2 + 8007e6c: f503 6330 add.w r3, r3, #2816 @ 0xb00 + 8007e70: 681b ldr r3, [r3, #0] + 8007e72: 69ba ldr r2, [r7, #24] + 8007e74: 0151 lsls r1, r2, #5 + 8007e76: 69fa ldr r2, [r7, #28] + 8007e78: 440a add r2, r1 + 8007e7a: f502 6230 add.w r2, r2, #2816 @ 0xb00 + 8007e7e: f043 4304 orr.w r3, r3, #2214592512 @ 0x84000000 + 8007e82: 6013 str r3, [r2, #0] } return HAL_OK; - 8007818: 2300 movs r3, #0 + 8007e84: 2300 movs r3, #0 } - 800781a: 4618 mov r0, r3 - 800781c: 3720 adds r7, #32 - 800781e: 46bd mov sp, r7 - 8007820: bd80 pop {r7, pc} - 8007822: bf00 nop - 8007824: 1ff80000 .word 0x1ff80000 + 8007e86: 4618 mov r0, r3 + 8007e88: 3720 adds r7, #32 + 8007e8a: 46bd mov sp, r7 + 8007e8c: bd80 pop {r7, pc} + 8007e8e: bf00 nop + 8007e90: 1ff80000 .word 0x1ff80000 -08007828 : +08007e94 : * @param USBx usb device instance * @param ep pointer to endpoint structure * @retval HAL status */ HAL_StatusTypeDef USB_EPStopXfer(const USB_OTG_GlobalTypeDef *USBx, USB_OTG_EPTypeDef *ep) { - 8007828: b480 push {r7} - 800782a: b087 sub sp, #28 - 800782c: af00 add r7, sp, #0 - 800782e: 6078 str r0, [r7, #4] - 8007830: 6039 str r1, [r7, #0] + 8007e94: b480 push {r7} + 8007e96: b087 sub sp, #28 + 8007e98: af00 add r7, sp, #0 + 8007e9a: 6078 str r0, [r7, #4] + 8007e9c: 6039 str r1, [r7, #0] __IO uint32_t count = 0U; - 8007832: 2300 movs r3, #0 - 8007834: 60fb str r3, [r7, #12] + 8007e9e: 2300 movs r3, #0 + 8007ea0: 60fb str r3, [r7, #12] HAL_StatusTypeDef ret = HAL_OK; - 8007836: 2300 movs r3, #0 - 8007838: 75fb strb r3, [r7, #23] + 8007ea2: 2300 movs r3, #0 + 8007ea4: 75fb strb r3, [r7, #23] uint32_t USBx_BASE = (uint32_t)USBx; - 800783a: 687b ldr r3, [r7, #4] - 800783c: 613b str r3, [r7, #16] + 8007ea6: 687b ldr r3, [r7, #4] + 8007ea8: 613b str r3, [r7, #16] /* IN endpoint */ if (ep->is_in == 1U) - 800783e: 683b ldr r3, [r7, #0] - 8007840: 785b ldrb r3, [r3, #1] - 8007842: 2b01 cmp r3, #1 - 8007844: d14a bne.n 80078dc + 8007eaa: 683b ldr r3, [r7, #0] + 8007eac: 785b ldrb r3, [r3, #1] + 8007eae: 2b01 cmp r3, #1 + 8007eb0: d14a bne.n 8007f48 { /* EP enable, IN data in FIFO */ if (((USBx_INEP(ep->num)->DIEPCTL) & USB_OTG_DIEPCTL_EPENA) == USB_OTG_DIEPCTL_EPENA) - 8007846: 683b ldr r3, [r7, #0] - 8007848: 781b ldrb r3, [r3, #0] - 800784a: 015a lsls r2, r3, #5 - 800784c: 693b ldr r3, [r7, #16] - 800784e: 4413 add r3, r2 - 8007850: f503 6310 add.w r3, r3, #2304 @ 0x900 - 8007854: 681b ldr r3, [r3, #0] - 8007856: f003 4300 and.w r3, r3, #2147483648 @ 0x80000000 - 800785a: f1b3 4f00 cmp.w r3, #2147483648 @ 0x80000000 - 800785e: f040 8086 bne.w 800796e + 8007eb2: 683b ldr r3, [r7, #0] + 8007eb4: 781b ldrb r3, [r3, #0] + 8007eb6: 015a lsls r2, r3, #5 + 8007eb8: 693b ldr r3, [r7, #16] + 8007eba: 4413 add r3, r2 + 8007ebc: f503 6310 add.w r3, r3, #2304 @ 0x900 + 8007ec0: 681b ldr r3, [r3, #0] + 8007ec2: f003 4300 and.w r3, r3, #2147483648 @ 0x80000000 + 8007ec6: f1b3 4f00 cmp.w r3, #2147483648 @ 0x80000000 + 8007eca: f040 8086 bne.w 8007fda { USBx_INEP(ep->num)->DIEPCTL |= (USB_OTG_DIEPCTL_SNAK); - 8007862: 683b ldr r3, [r7, #0] - 8007864: 781b ldrb r3, [r3, #0] - 8007866: 015a lsls r2, r3, #5 - 8007868: 693b ldr r3, [r7, #16] - 800786a: 4413 add r3, r2 - 800786c: f503 6310 add.w r3, r3, #2304 @ 0x900 - 8007870: 681b ldr r3, [r3, #0] - 8007872: 683a ldr r2, [r7, #0] - 8007874: 7812 ldrb r2, [r2, #0] - 8007876: 0151 lsls r1, r2, #5 - 8007878: 693a ldr r2, [r7, #16] - 800787a: 440a add r2, r1 - 800787c: f502 6210 add.w r2, r2, #2304 @ 0x900 - 8007880: f043 6300 orr.w r3, r3, #134217728 @ 0x8000000 - 8007884: 6013 str r3, [r2, #0] + 8007ece: 683b ldr r3, [r7, #0] + 8007ed0: 781b ldrb r3, [r3, #0] + 8007ed2: 015a lsls r2, r3, #5 + 8007ed4: 693b ldr r3, [r7, #16] + 8007ed6: 4413 add r3, r2 + 8007ed8: f503 6310 add.w r3, r3, #2304 @ 0x900 + 8007edc: 681b ldr r3, [r3, #0] + 8007ede: 683a ldr r2, [r7, #0] + 8007ee0: 7812 ldrb r2, [r2, #0] + 8007ee2: 0151 lsls r1, r2, #5 + 8007ee4: 693a ldr r2, [r7, #16] + 8007ee6: 440a add r2, r1 + 8007ee8: f502 6210 add.w r2, r2, #2304 @ 0x900 + 8007eec: f043 6300 orr.w r3, r3, #134217728 @ 0x8000000 + 8007ef0: 6013 str r3, [r2, #0] USBx_INEP(ep->num)->DIEPCTL |= (USB_OTG_DIEPCTL_EPDIS); - 8007886: 683b ldr r3, [r7, #0] - 8007888: 781b ldrb r3, [r3, #0] - 800788a: 015a lsls r2, r3, #5 - 800788c: 693b ldr r3, [r7, #16] - 800788e: 4413 add r3, r2 - 8007890: f503 6310 add.w r3, r3, #2304 @ 0x900 - 8007894: 681b ldr r3, [r3, #0] - 8007896: 683a ldr r2, [r7, #0] - 8007898: 7812 ldrb r2, [r2, #0] - 800789a: 0151 lsls r1, r2, #5 - 800789c: 693a ldr r2, [r7, #16] - 800789e: 440a add r2, r1 - 80078a0: f502 6210 add.w r2, r2, #2304 @ 0x900 - 80078a4: f043 4380 orr.w r3, r3, #1073741824 @ 0x40000000 - 80078a8: 6013 str r3, [r2, #0] + 8007ef2: 683b ldr r3, [r7, #0] + 8007ef4: 781b ldrb r3, [r3, #0] + 8007ef6: 015a lsls r2, r3, #5 + 8007ef8: 693b ldr r3, [r7, #16] + 8007efa: 4413 add r3, r2 + 8007efc: f503 6310 add.w r3, r3, #2304 @ 0x900 + 8007f00: 681b ldr r3, [r3, #0] + 8007f02: 683a ldr r2, [r7, #0] + 8007f04: 7812 ldrb r2, [r2, #0] + 8007f06: 0151 lsls r1, r2, #5 + 8007f08: 693a ldr r2, [r7, #16] + 8007f0a: 440a add r2, r1 + 8007f0c: f502 6210 add.w r2, r2, #2304 @ 0x900 + 8007f10: f043 4380 orr.w r3, r3, #1073741824 @ 0x40000000 + 8007f14: 6013 str r3, [r2, #0] do { count++; - 80078aa: 68fb ldr r3, [r7, #12] - 80078ac: 3301 adds r3, #1 - 80078ae: 60fb str r3, [r7, #12] + 8007f16: 68fb ldr r3, [r7, #12] + 8007f18: 3301 adds r3, #1 + 8007f1a: 60fb str r3, [r7, #12] if (count > 10000U) - 80078b0: 68fb ldr r3, [r7, #12] - 80078b2: f242 7210 movw r2, #10000 @ 0x2710 - 80078b6: 4293 cmp r3, r2 - 80078b8: d902 bls.n 80078c0 + 8007f1c: 68fb ldr r3, [r7, #12] + 8007f1e: f242 7210 movw r2, #10000 @ 0x2710 + 8007f22: 4293 cmp r3, r2 + 8007f24: d902 bls.n 8007f2c { ret = HAL_ERROR; - 80078ba: 2301 movs r3, #1 - 80078bc: 75fb strb r3, [r7, #23] + 8007f26: 2301 movs r3, #1 + 8007f28: 75fb strb r3, [r7, #23] break; - 80078be: e056 b.n 800796e + 8007f2a: e056 b.n 8007fda } } while (((USBx_INEP(ep->num)->DIEPCTL) & USB_OTG_DIEPCTL_EPENA) == USB_OTG_DIEPCTL_EPENA); - 80078c0: 683b ldr r3, [r7, #0] - 80078c2: 781b ldrb r3, [r3, #0] - 80078c4: 015a lsls r2, r3, #5 - 80078c6: 693b ldr r3, [r7, #16] - 80078c8: 4413 add r3, r2 - 80078ca: f503 6310 add.w r3, r3, #2304 @ 0x900 - 80078ce: 681b ldr r3, [r3, #0] - 80078d0: f003 4300 and.w r3, r3, #2147483648 @ 0x80000000 - 80078d4: f1b3 4f00 cmp.w r3, #2147483648 @ 0x80000000 - 80078d8: d0e7 beq.n 80078aa - 80078da: e048 b.n 800796e + 8007f2c: 683b ldr r3, [r7, #0] + 8007f2e: 781b ldrb r3, [r3, #0] + 8007f30: 015a lsls r2, r3, #5 + 8007f32: 693b ldr r3, [r7, #16] + 8007f34: 4413 add r3, r2 + 8007f36: f503 6310 add.w r3, r3, #2304 @ 0x900 + 8007f3a: 681b ldr r3, [r3, #0] + 8007f3c: f003 4300 and.w r3, r3, #2147483648 @ 0x80000000 + 8007f40: f1b3 4f00 cmp.w r3, #2147483648 @ 0x80000000 + 8007f44: d0e7 beq.n 8007f16 + 8007f46: e048 b.n 8007fda } } else /* OUT endpoint */ { if (((USBx_OUTEP(ep->num)->DOEPCTL) & USB_OTG_DOEPCTL_EPENA) == USB_OTG_DOEPCTL_EPENA) - 80078dc: 683b ldr r3, [r7, #0] - 80078de: 781b ldrb r3, [r3, #0] - 80078e0: 015a lsls r2, r3, #5 - 80078e2: 693b ldr r3, [r7, #16] - 80078e4: 4413 add r3, r2 - 80078e6: f503 6330 add.w r3, r3, #2816 @ 0xb00 - 80078ea: 681b ldr r3, [r3, #0] - 80078ec: f003 4300 and.w r3, r3, #2147483648 @ 0x80000000 - 80078f0: f1b3 4f00 cmp.w r3, #2147483648 @ 0x80000000 - 80078f4: d13b bne.n 800796e + 8007f48: 683b ldr r3, [r7, #0] + 8007f4a: 781b ldrb r3, [r3, #0] + 8007f4c: 015a lsls r2, r3, #5 + 8007f4e: 693b ldr r3, [r7, #16] + 8007f50: 4413 add r3, r2 + 8007f52: f503 6330 add.w r3, r3, #2816 @ 0xb00 + 8007f56: 681b ldr r3, [r3, #0] + 8007f58: f003 4300 and.w r3, r3, #2147483648 @ 0x80000000 + 8007f5c: f1b3 4f00 cmp.w r3, #2147483648 @ 0x80000000 + 8007f60: d13b bne.n 8007fda { USBx_OUTEP(ep->num)->DOEPCTL |= (USB_OTG_DOEPCTL_SNAK); - 80078f6: 683b ldr r3, [r7, #0] - 80078f8: 781b ldrb r3, [r3, #0] - 80078fa: 015a lsls r2, r3, #5 - 80078fc: 693b ldr r3, [r7, #16] - 80078fe: 4413 add r3, r2 - 8007900: f503 6330 add.w r3, r3, #2816 @ 0xb00 - 8007904: 681b ldr r3, [r3, #0] - 8007906: 683a ldr r2, [r7, #0] - 8007908: 7812 ldrb r2, [r2, #0] - 800790a: 0151 lsls r1, r2, #5 - 800790c: 693a ldr r2, [r7, #16] - 800790e: 440a add r2, r1 - 8007910: f502 6230 add.w r2, r2, #2816 @ 0xb00 - 8007914: f043 6300 orr.w r3, r3, #134217728 @ 0x8000000 - 8007918: 6013 str r3, [r2, #0] + 8007f62: 683b ldr r3, [r7, #0] + 8007f64: 781b ldrb r3, [r3, #0] + 8007f66: 015a lsls r2, r3, #5 + 8007f68: 693b ldr r3, [r7, #16] + 8007f6a: 4413 add r3, r2 + 8007f6c: f503 6330 add.w r3, r3, #2816 @ 0xb00 + 8007f70: 681b ldr r3, [r3, #0] + 8007f72: 683a ldr r2, [r7, #0] + 8007f74: 7812 ldrb r2, [r2, #0] + 8007f76: 0151 lsls r1, r2, #5 + 8007f78: 693a ldr r2, [r7, #16] + 8007f7a: 440a add r2, r1 + 8007f7c: f502 6230 add.w r2, r2, #2816 @ 0xb00 + 8007f80: f043 6300 orr.w r3, r3, #134217728 @ 0x8000000 + 8007f84: 6013 str r3, [r2, #0] USBx_OUTEP(ep->num)->DOEPCTL |= (USB_OTG_DOEPCTL_EPDIS); - 800791a: 683b ldr r3, [r7, #0] - 800791c: 781b ldrb r3, [r3, #0] - 800791e: 015a lsls r2, r3, #5 - 8007920: 693b ldr r3, [r7, #16] - 8007922: 4413 add r3, r2 - 8007924: f503 6330 add.w r3, r3, #2816 @ 0xb00 - 8007928: 681b ldr r3, [r3, #0] - 800792a: 683a ldr r2, [r7, #0] - 800792c: 7812 ldrb r2, [r2, #0] - 800792e: 0151 lsls r1, r2, #5 - 8007930: 693a ldr r2, [r7, #16] - 8007932: 440a add r2, r1 - 8007934: f502 6230 add.w r2, r2, #2816 @ 0xb00 - 8007938: f043 4380 orr.w r3, r3, #1073741824 @ 0x40000000 - 800793c: 6013 str r3, [r2, #0] + 8007f86: 683b ldr r3, [r7, #0] + 8007f88: 781b ldrb r3, [r3, #0] + 8007f8a: 015a lsls r2, r3, #5 + 8007f8c: 693b ldr r3, [r7, #16] + 8007f8e: 4413 add r3, r2 + 8007f90: f503 6330 add.w r3, r3, #2816 @ 0xb00 + 8007f94: 681b ldr r3, [r3, #0] + 8007f96: 683a ldr r2, [r7, #0] + 8007f98: 7812 ldrb r2, [r2, #0] + 8007f9a: 0151 lsls r1, r2, #5 + 8007f9c: 693a ldr r2, [r7, #16] + 8007f9e: 440a add r2, r1 + 8007fa0: f502 6230 add.w r2, r2, #2816 @ 0xb00 + 8007fa4: f043 4380 orr.w r3, r3, #1073741824 @ 0x40000000 + 8007fa8: 6013 str r3, [r2, #0] do { count++; - 800793e: 68fb ldr r3, [r7, #12] - 8007940: 3301 adds r3, #1 - 8007942: 60fb str r3, [r7, #12] + 8007faa: 68fb ldr r3, [r7, #12] + 8007fac: 3301 adds r3, #1 + 8007fae: 60fb str r3, [r7, #12] if (count > 10000U) - 8007944: 68fb ldr r3, [r7, #12] - 8007946: f242 7210 movw r2, #10000 @ 0x2710 - 800794a: 4293 cmp r3, r2 - 800794c: d902 bls.n 8007954 + 8007fb0: 68fb ldr r3, [r7, #12] + 8007fb2: f242 7210 movw r2, #10000 @ 0x2710 + 8007fb6: 4293 cmp r3, r2 + 8007fb8: d902 bls.n 8007fc0 { ret = HAL_ERROR; - 800794e: 2301 movs r3, #1 - 8007950: 75fb strb r3, [r7, #23] + 8007fba: 2301 movs r3, #1 + 8007fbc: 75fb strb r3, [r7, #23] break; - 8007952: e00c b.n 800796e + 8007fbe: e00c b.n 8007fda } } while (((USBx_OUTEP(ep->num)->DOEPCTL) & USB_OTG_DOEPCTL_EPENA) == USB_OTG_DOEPCTL_EPENA); - 8007954: 683b ldr r3, [r7, #0] - 8007956: 781b ldrb r3, [r3, #0] - 8007958: 015a lsls r2, r3, #5 - 800795a: 693b ldr r3, [r7, #16] - 800795c: 4413 add r3, r2 - 800795e: f503 6330 add.w r3, r3, #2816 @ 0xb00 - 8007962: 681b ldr r3, [r3, #0] - 8007964: f003 4300 and.w r3, r3, #2147483648 @ 0x80000000 - 8007968: f1b3 4f00 cmp.w r3, #2147483648 @ 0x80000000 - 800796c: d0e7 beq.n 800793e + 8007fc0: 683b ldr r3, [r7, #0] + 8007fc2: 781b ldrb r3, [r3, #0] + 8007fc4: 015a lsls r2, r3, #5 + 8007fc6: 693b ldr r3, [r7, #16] + 8007fc8: 4413 add r3, r2 + 8007fca: f503 6330 add.w r3, r3, #2816 @ 0xb00 + 8007fce: 681b ldr r3, [r3, #0] + 8007fd0: f003 4300 and.w r3, r3, #2147483648 @ 0x80000000 + 8007fd4: f1b3 4f00 cmp.w r3, #2147483648 @ 0x80000000 + 8007fd8: d0e7 beq.n 8007faa } } return ret; - 800796e: 7dfb ldrb r3, [r7, #23] + 8007fda: 7dfb ldrb r3, [r7, #23] } - 8007970: 4618 mov r0, r3 - 8007972: 371c adds r7, #28 - 8007974: 46bd mov sp, r7 - 8007976: f85d 7b04 ldr.w r7, [sp], #4 - 800797a: 4770 bx lr + 8007fdc: 4618 mov r0, r3 + 8007fde: 371c adds r7, #28 + 8007fe0: 46bd mov sp, r7 + 8007fe2: f85d 7b04 ldr.w r7, [sp], #4 + 8007fe6: 4770 bx lr -0800797c : +08007fe8 : * 1 : DMA feature used * @retval HAL status */ HAL_StatusTypeDef USB_WritePacket(const USB_OTG_GlobalTypeDef *USBx, uint8_t *src, uint8_t ch_ep_num, uint16_t len, uint8_t dma) { - 800797c: b480 push {r7} - 800797e: b089 sub sp, #36 @ 0x24 - 8007980: af00 add r7, sp, #0 - 8007982: 60f8 str r0, [r7, #12] - 8007984: 60b9 str r1, [r7, #8] - 8007986: 4611 mov r1, r2 - 8007988: 461a mov r2, r3 - 800798a: 460b mov r3, r1 - 800798c: 71fb strb r3, [r7, #7] - 800798e: 4613 mov r3, r2 - 8007990: 80bb strh r3, [r7, #4] + 8007fe8: b480 push {r7} + 8007fea: b089 sub sp, #36 @ 0x24 + 8007fec: af00 add r7, sp, #0 + 8007fee: 60f8 str r0, [r7, #12] + 8007ff0: 60b9 str r1, [r7, #8] + 8007ff2: 4611 mov r1, r2 + 8007ff4: 461a mov r2, r3 + 8007ff6: 460b mov r3, r1 + 8007ff8: 71fb strb r3, [r7, #7] + 8007ffa: 4613 mov r3, r2 + 8007ffc: 80bb strh r3, [r7, #4] uint32_t USBx_BASE = (uint32_t)USBx; - 8007992: 68fb ldr r3, [r7, #12] - 8007994: 617b str r3, [r7, #20] + 8007ffe: 68fb ldr r3, [r7, #12] + 8008000: 617b str r3, [r7, #20] uint8_t *pSrc = src; - 8007996: 68bb ldr r3, [r7, #8] - 8007998: 61fb str r3, [r7, #28] + 8008002: 68bb ldr r3, [r7, #8] + 8008004: 61fb str r3, [r7, #28] uint32_t count32b; uint32_t i; if (dma == 0U) - 800799a: f897 3028 ldrb.w r3, [r7, #40] @ 0x28 - 800799e: 2b00 cmp r3, #0 - 80079a0: d123 bne.n 80079ea + 8008006: f897 3028 ldrb.w r3, [r7, #40] @ 0x28 + 800800a: 2b00 cmp r3, #0 + 800800c: d123 bne.n 8008056 { count32b = ((uint32_t)len + 3U) / 4U; - 80079a2: 88bb ldrh r3, [r7, #4] - 80079a4: 3303 adds r3, #3 - 80079a6: 089b lsrs r3, r3, #2 - 80079a8: 613b str r3, [r7, #16] + 800800e: 88bb ldrh r3, [r7, #4] + 8008010: 3303 adds r3, #3 + 8008012: 089b lsrs r3, r3, #2 + 8008014: 613b str r3, [r7, #16] for (i = 0U; i < count32b; i++) - 80079aa: 2300 movs r3, #0 - 80079ac: 61bb str r3, [r7, #24] - 80079ae: e018 b.n 80079e2 + 8008016: 2300 movs r3, #0 + 8008018: 61bb str r3, [r7, #24] + 800801a: e018 b.n 800804e { USBx_DFIFO((uint32_t)ch_ep_num) = __UNALIGNED_UINT32_READ(pSrc); - 80079b0: 79fb ldrb r3, [r7, #7] - 80079b2: 031a lsls r2, r3, #12 - 80079b4: 697b ldr r3, [r7, #20] - 80079b6: 4413 add r3, r2 - 80079b8: f503 5380 add.w r3, r3, #4096 @ 0x1000 - 80079bc: 461a mov r2, r3 - 80079be: 69fb ldr r3, [r7, #28] - 80079c0: 681b ldr r3, [r3, #0] - 80079c2: 6013 str r3, [r2, #0] + 800801c: 79fb ldrb r3, [r7, #7] + 800801e: 031a lsls r2, r3, #12 + 8008020: 697b ldr r3, [r7, #20] + 8008022: 4413 add r3, r2 + 8008024: f503 5380 add.w r3, r3, #4096 @ 0x1000 + 8008028: 461a mov r2, r3 + 800802a: 69fb ldr r3, [r7, #28] + 800802c: 681b ldr r3, [r3, #0] + 800802e: 6013 str r3, [r2, #0] pSrc++; - 80079c4: 69fb ldr r3, [r7, #28] - 80079c6: 3301 adds r3, #1 - 80079c8: 61fb str r3, [r7, #28] + 8008030: 69fb ldr r3, [r7, #28] + 8008032: 3301 adds r3, #1 + 8008034: 61fb str r3, [r7, #28] pSrc++; - 80079ca: 69fb ldr r3, [r7, #28] - 80079cc: 3301 adds r3, #1 - 80079ce: 61fb str r3, [r7, #28] + 8008036: 69fb ldr r3, [r7, #28] + 8008038: 3301 adds r3, #1 + 800803a: 61fb str r3, [r7, #28] pSrc++; - 80079d0: 69fb ldr r3, [r7, #28] - 80079d2: 3301 adds r3, #1 - 80079d4: 61fb str r3, [r7, #28] + 800803c: 69fb ldr r3, [r7, #28] + 800803e: 3301 adds r3, #1 + 8008040: 61fb str r3, [r7, #28] pSrc++; - 80079d6: 69fb ldr r3, [r7, #28] - 80079d8: 3301 adds r3, #1 - 80079da: 61fb str r3, [r7, #28] + 8008042: 69fb ldr r3, [r7, #28] + 8008044: 3301 adds r3, #1 + 8008046: 61fb str r3, [r7, #28] for (i = 0U; i < count32b; i++) - 80079dc: 69bb ldr r3, [r7, #24] - 80079de: 3301 adds r3, #1 - 80079e0: 61bb str r3, [r7, #24] - 80079e2: 69ba ldr r2, [r7, #24] - 80079e4: 693b ldr r3, [r7, #16] - 80079e6: 429a cmp r2, r3 - 80079e8: d3e2 bcc.n 80079b0 + 8008048: 69bb ldr r3, [r7, #24] + 800804a: 3301 adds r3, #1 + 800804c: 61bb str r3, [r7, #24] + 800804e: 69ba ldr r2, [r7, #24] + 8008050: 693b ldr r3, [r7, #16] + 8008052: 429a cmp r2, r3 + 8008054: d3e2 bcc.n 800801c } } return HAL_OK; - 80079ea: 2300 movs r3, #0 + 8008056: 2300 movs r3, #0 } - 80079ec: 4618 mov r0, r3 - 80079ee: 3724 adds r7, #36 @ 0x24 - 80079f0: 46bd mov sp, r7 - 80079f2: f85d 7b04 ldr.w r7, [sp], #4 - 80079f6: 4770 bx lr + 8008058: 4618 mov r0, r3 + 800805a: 3724 adds r7, #36 @ 0x24 + 800805c: 46bd mov sp, r7 + 800805e: f85d 7b04 ldr.w r7, [sp], #4 + 8008062: 4770 bx lr -080079f8 : +08008064 : * @param dest source pointer * @param len Number of bytes to read * @retval pointer to destination buffer */ void *USB_ReadPacket(const USB_OTG_GlobalTypeDef *USBx, uint8_t *dest, uint16_t len) { - 80079f8: b480 push {r7} - 80079fa: b08b sub sp, #44 @ 0x2c - 80079fc: af00 add r7, sp, #0 - 80079fe: 60f8 str r0, [r7, #12] - 8007a00: 60b9 str r1, [r7, #8] - 8007a02: 4613 mov r3, r2 - 8007a04: 80fb strh r3, [r7, #6] + 8008064: b480 push {r7} + 8008066: b08b sub sp, #44 @ 0x2c + 8008068: af00 add r7, sp, #0 + 800806a: 60f8 str r0, [r7, #12] + 800806c: 60b9 str r1, [r7, #8] + 800806e: 4613 mov r3, r2 + 8008070: 80fb strh r3, [r7, #6] uint32_t USBx_BASE = (uint32_t)USBx; - 8007a06: 68fb ldr r3, [r7, #12] - 8007a08: 61bb str r3, [r7, #24] + 8008072: 68fb ldr r3, [r7, #12] + 8008074: 61bb str r3, [r7, #24] uint8_t *pDest = dest; - 8007a0a: 68bb ldr r3, [r7, #8] - 8007a0c: 627b str r3, [r7, #36] @ 0x24 + 8008076: 68bb ldr r3, [r7, #8] + 8008078: 627b str r3, [r7, #36] @ 0x24 uint32_t pData; uint32_t i; uint32_t count32b = (uint32_t)len >> 2U; - 8007a0e: 88fb ldrh r3, [r7, #6] - 8007a10: 089b lsrs r3, r3, #2 - 8007a12: b29b uxth r3, r3 - 8007a14: 617b str r3, [r7, #20] + 800807a: 88fb ldrh r3, [r7, #6] + 800807c: 089b lsrs r3, r3, #2 + 800807e: b29b uxth r3, r3 + 8008080: 617b str r3, [r7, #20] uint16_t remaining_bytes = len % 4U; - 8007a16: 88fb ldrh r3, [r7, #6] - 8007a18: f003 0303 and.w r3, r3, #3 - 8007a1c: 83fb strh r3, [r7, #30] + 8008082: 88fb ldrh r3, [r7, #6] + 8008084: f003 0303 and.w r3, r3, #3 + 8008088: 83fb strh r3, [r7, #30] for (i = 0U; i < count32b; i++) - 8007a1e: 2300 movs r3, #0 - 8007a20: 623b str r3, [r7, #32] - 8007a22: e014 b.n 8007a4e + 800808a: 2300 movs r3, #0 + 800808c: 623b str r3, [r7, #32] + 800808e: e014 b.n 80080ba { __UNALIGNED_UINT32_WRITE(pDest, USBx_DFIFO(0U)); - 8007a24: 69bb ldr r3, [r7, #24] - 8007a26: f503 5380 add.w r3, r3, #4096 @ 0x1000 - 8007a2a: 681a ldr r2, [r3, #0] - 8007a2c: 6a7b ldr r3, [r7, #36] @ 0x24 - 8007a2e: 601a str r2, [r3, #0] + 8008090: 69bb ldr r3, [r7, #24] + 8008092: f503 5380 add.w r3, r3, #4096 @ 0x1000 + 8008096: 681a ldr r2, [r3, #0] + 8008098: 6a7b ldr r3, [r7, #36] @ 0x24 + 800809a: 601a str r2, [r3, #0] pDest++; - 8007a30: 6a7b ldr r3, [r7, #36] @ 0x24 - 8007a32: 3301 adds r3, #1 - 8007a34: 627b str r3, [r7, #36] @ 0x24 + 800809c: 6a7b ldr r3, [r7, #36] @ 0x24 + 800809e: 3301 adds r3, #1 + 80080a0: 627b str r3, [r7, #36] @ 0x24 pDest++; - 8007a36: 6a7b ldr r3, [r7, #36] @ 0x24 - 8007a38: 3301 adds r3, #1 - 8007a3a: 627b str r3, [r7, #36] @ 0x24 + 80080a2: 6a7b ldr r3, [r7, #36] @ 0x24 + 80080a4: 3301 adds r3, #1 + 80080a6: 627b str r3, [r7, #36] @ 0x24 pDest++; - 8007a3c: 6a7b ldr r3, [r7, #36] @ 0x24 - 8007a3e: 3301 adds r3, #1 - 8007a40: 627b str r3, [r7, #36] @ 0x24 + 80080a8: 6a7b ldr r3, [r7, #36] @ 0x24 + 80080aa: 3301 adds r3, #1 + 80080ac: 627b str r3, [r7, #36] @ 0x24 pDest++; - 8007a42: 6a7b ldr r3, [r7, #36] @ 0x24 - 8007a44: 3301 adds r3, #1 - 8007a46: 627b str r3, [r7, #36] @ 0x24 + 80080ae: 6a7b ldr r3, [r7, #36] @ 0x24 + 80080b0: 3301 adds r3, #1 + 80080b2: 627b str r3, [r7, #36] @ 0x24 for (i = 0U; i < count32b; i++) - 8007a48: 6a3b ldr r3, [r7, #32] - 8007a4a: 3301 adds r3, #1 - 8007a4c: 623b str r3, [r7, #32] - 8007a4e: 6a3a ldr r2, [r7, #32] - 8007a50: 697b ldr r3, [r7, #20] - 8007a52: 429a cmp r2, r3 - 8007a54: d3e6 bcc.n 8007a24 + 80080b4: 6a3b ldr r3, [r7, #32] + 80080b6: 3301 adds r3, #1 + 80080b8: 623b str r3, [r7, #32] + 80080ba: 6a3a ldr r2, [r7, #32] + 80080bc: 697b ldr r3, [r7, #20] + 80080be: 429a cmp r2, r3 + 80080c0: d3e6 bcc.n 8008090 } /* When Number of data is not word aligned, read the remaining byte */ if (remaining_bytes != 0U) - 8007a56: 8bfb ldrh r3, [r7, #30] - 8007a58: 2b00 cmp r3, #0 - 8007a5a: d01e beq.n 8007a9a + 80080c2: 8bfb ldrh r3, [r7, #30] + 80080c4: 2b00 cmp r3, #0 + 80080c6: d01e beq.n 8008106 { i = 0U; - 8007a5c: 2300 movs r3, #0 - 8007a5e: 623b str r3, [r7, #32] + 80080c8: 2300 movs r3, #0 + 80080ca: 623b str r3, [r7, #32] __UNALIGNED_UINT32_WRITE(&pData, USBx_DFIFO(0U)); - 8007a60: 69bb ldr r3, [r7, #24] - 8007a62: f503 5380 add.w r3, r3, #4096 @ 0x1000 - 8007a66: 461a mov r2, r3 - 8007a68: f107 0310 add.w r3, r7, #16 - 8007a6c: 6812 ldr r2, [r2, #0] - 8007a6e: 601a str r2, [r3, #0] + 80080cc: 69bb ldr r3, [r7, #24] + 80080ce: f503 5380 add.w r3, r3, #4096 @ 0x1000 + 80080d2: 461a mov r2, r3 + 80080d4: f107 0310 add.w r3, r7, #16 + 80080d8: 6812 ldr r2, [r2, #0] + 80080da: 601a str r2, [r3, #0] do { *(uint8_t *)pDest = (uint8_t)(pData >> (8U * (uint8_t)(i))); - 8007a70: 693a ldr r2, [r7, #16] - 8007a72: 6a3b ldr r3, [r7, #32] - 8007a74: b2db uxtb r3, r3 - 8007a76: 00db lsls r3, r3, #3 - 8007a78: fa22 f303 lsr.w r3, r2, r3 - 8007a7c: b2da uxtb r2, r3 - 8007a7e: 6a7b ldr r3, [r7, #36] @ 0x24 - 8007a80: 701a strb r2, [r3, #0] + 80080dc: 693a ldr r2, [r7, #16] + 80080de: 6a3b ldr r3, [r7, #32] + 80080e0: b2db uxtb r3, r3 + 80080e2: 00db lsls r3, r3, #3 + 80080e4: fa22 f303 lsr.w r3, r2, r3 + 80080e8: b2da uxtb r2, r3 + 80080ea: 6a7b ldr r3, [r7, #36] @ 0x24 + 80080ec: 701a strb r2, [r3, #0] i++; - 8007a82: 6a3b ldr r3, [r7, #32] - 8007a84: 3301 adds r3, #1 - 8007a86: 623b str r3, [r7, #32] + 80080ee: 6a3b ldr r3, [r7, #32] + 80080f0: 3301 adds r3, #1 + 80080f2: 623b str r3, [r7, #32] pDest++; - 8007a88: 6a7b ldr r3, [r7, #36] @ 0x24 - 8007a8a: 3301 adds r3, #1 - 8007a8c: 627b str r3, [r7, #36] @ 0x24 + 80080f4: 6a7b ldr r3, [r7, #36] @ 0x24 + 80080f6: 3301 adds r3, #1 + 80080f8: 627b str r3, [r7, #36] @ 0x24 remaining_bytes--; - 8007a8e: 8bfb ldrh r3, [r7, #30] - 8007a90: 3b01 subs r3, #1 - 8007a92: 83fb strh r3, [r7, #30] + 80080fa: 8bfb ldrh r3, [r7, #30] + 80080fc: 3b01 subs r3, #1 + 80080fe: 83fb strh r3, [r7, #30] } while (remaining_bytes != 0U); - 8007a94: 8bfb ldrh r3, [r7, #30] - 8007a96: 2b00 cmp r3, #0 - 8007a98: d1ea bne.n 8007a70 + 8008100: 8bfb ldrh r3, [r7, #30] + 8008102: 2b00 cmp r3, #0 + 8008104: d1ea bne.n 80080dc } return ((void *)pDest); - 8007a9a: 6a7b ldr r3, [r7, #36] @ 0x24 + 8008106: 6a7b ldr r3, [r7, #36] @ 0x24 } - 8007a9c: 4618 mov r0, r3 - 8007a9e: 372c adds r7, #44 @ 0x2c - 8007aa0: 46bd mov sp, r7 - 8007aa2: f85d 7b04 ldr.w r7, [sp], #4 - 8007aa6: 4770 bx lr + 8008108: 4618 mov r0, r3 + 800810a: 372c adds r7, #44 @ 0x2c + 800810c: 46bd mov sp, r7 + 800810e: f85d 7b04 ldr.w r7, [sp], #4 + 8008112: 4770 bx lr -08007aa8 : +08008114 : * @param USBx Selected device * @param ep pointer to endpoint structure * @retval HAL status */ HAL_StatusTypeDef USB_EPSetStall(const USB_OTG_GlobalTypeDef *USBx, const USB_OTG_EPTypeDef *ep) { - 8007aa8: b480 push {r7} - 8007aaa: b085 sub sp, #20 - 8007aac: af00 add r7, sp, #0 - 8007aae: 6078 str r0, [r7, #4] - 8007ab0: 6039 str r1, [r7, #0] + 8008114: b480 push {r7} + 8008116: b085 sub sp, #20 + 8008118: af00 add r7, sp, #0 + 800811a: 6078 str r0, [r7, #4] + 800811c: 6039 str r1, [r7, #0] uint32_t USBx_BASE = (uint32_t)USBx; - 8007ab2: 687b ldr r3, [r7, #4] - 8007ab4: 60fb str r3, [r7, #12] + 800811e: 687b ldr r3, [r7, #4] + 8008120: 60fb str r3, [r7, #12] uint32_t epnum = (uint32_t)ep->num; - 8007ab6: 683b ldr r3, [r7, #0] - 8007ab8: 781b ldrb r3, [r3, #0] - 8007aba: 60bb str r3, [r7, #8] + 8008122: 683b ldr r3, [r7, #0] + 8008124: 781b ldrb r3, [r3, #0] + 8008126: 60bb str r3, [r7, #8] if (ep->is_in == 1U) - 8007abc: 683b ldr r3, [r7, #0] - 8007abe: 785b ldrb r3, [r3, #1] - 8007ac0: 2b01 cmp r3, #1 - 8007ac2: d12c bne.n 8007b1e + 8008128: 683b ldr r3, [r7, #0] + 800812a: 785b ldrb r3, [r3, #1] + 800812c: 2b01 cmp r3, #1 + 800812e: d12c bne.n 800818a { if (((USBx_INEP(epnum)->DIEPCTL & USB_OTG_DIEPCTL_EPENA) == 0U) && (epnum != 0U)) - 8007ac4: 68bb ldr r3, [r7, #8] - 8007ac6: 015a lsls r2, r3, #5 - 8007ac8: 68fb ldr r3, [r7, #12] - 8007aca: 4413 add r3, r2 - 8007acc: f503 6310 add.w r3, r3, #2304 @ 0x900 - 8007ad0: 681b ldr r3, [r3, #0] - 8007ad2: 2b00 cmp r3, #0 - 8007ad4: db12 blt.n 8007afc - 8007ad6: 68bb ldr r3, [r7, #8] - 8007ad8: 2b00 cmp r3, #0 - 8007ada: d00f beq.n 8007afc + 8008130: 68bb ldr r3, [r7, #8] + 8008132: 015a lsls r2, r3, #5 + 8008134: 68fb ldr r3, [r7, #12] + 8008136: 4413 add r3, r2 + 8008138: f503 6310 add.w r3, r3, #2304 @ 0x900 + 800813c: 681b ldr r3, [r3, #0] + 800813e: 2b00 cmp r3, #0 + 8008140: db12 blt.n 8008168 + 8008142: 68bb ldr r3, [r7, #8] + 8008144: 2b00 cmp r3, #0 + 8008146: d00f beq.n 8008168 { USBx_INEP(epnum)->DIEPCTL &= ~(USB_OTG_DIEPCTL_EPDIS); - 8007adc: 68bb ldr r3, [r7, #8] - 8007ade: 015a lsls r2, r3, #5 - 8007ae0: 68fb ldr r3, [r7, #12] - 8007ae2: 4413 add r3, r2 - 8007ae4: f503 6310 add.w r3, r3, #2304 @ 0x900 - 8007ae8: 681b ldr r3, [r3, #0] - 8007aea: 68ba ldr r2, [r7, #8] - 8007aec: 0151 lsls r1, r2, #5 - 8007aee: 68fa ldr r2, [r7, #12] - 8007af0: 440a add r2, r1 - 8007af2: f502 6210 add.w r2, r2, #2304 @ 0x900 - 8007af6: f023 4380 bic.w r3, r3, #1073741824 @ 0x40000000 - 8007afa: 6013 str r3, [r2, #0] + 8008148: 68bb ldr r3, [r7, #8] + 800814a: 015a lsls r2, r3, #5 + 800814c: 68fb ldr r3, [r7, #12] + 800814e: 4413 add r3, r2 + 8008150: f503 6310 add.w r3, r3, #2304 @ 0x900 + 8008154: 681b ldr r3, [r3, #0] + 8008156: 68ba ldr r2, [r7, #8] + 8008158: 0151 lsls r1, r2, #5 + 800815a: 68fa ldr r2, [r7, #12] + 800815c: 440a add r2, r1 + 800815e: f502 6210 add.w r2, r2, #2304 @ 0x900 + 8008162: f023 4380 bic.w r3, r3, #1073741824 @ 0x40000000 + 8008166: 6013 str r3, [r2, #0] } USBx_INEP(epnum)->DIEPCTL |= USB_OTG_DIEPCTL_STALL; - 8007afc: 68bb ldr r3, [r7, #8] - 8007afe: 015a lsls r2, r3, #5 - 8007b00: 68fb ldr r3, [r7, #12] - 8007b02: 4413 add r3, r2 - 8007b04: f503 6310 add.w r3, r3, #2304 @ 0x900 - 8007b08: 681b ldr r3, [r3, #0] - 8007b0a: 68ba ldr r2, [r7, #8] - 8007b0c: 0151 lsls r1, r2, #5 - 8007b0e: 68fa ldr r2, [r7, #12] - 8007b10: 440a add r2, r1 - 8007b12: f502 6210 add.w r2, r2, #2304 @ 0x900 - 8007b16: f443 1300 orr.w r3, r3, #2097152 @ 0x200000 - 8007b1a: 6013 str r3, [r2, #0] - 8007b1c: e02b b.n 8007b76 + 8008168: 68bb ldr r3, [r7, #8] + 800816a: 015a lsls r2, r3, #5 + 800816c: 68fb ldr r3, [r7, #12] + 800816e: 4413 add r3, r2 + 8008170: f503 6310 add.w r3, r3, #2304 @ 0x900 + 8008174: 681b ldr r3, [r3, #0] + 8008176: 68ba ldr r2, [r7, #8] + 8008178: 0151 lsls r1, r2, #5 + 800817a: 68fa ldr r2, [r7, #12] + 800817c: 440a add r2, r1 + 800817e: f502 6210 add.w r2, r2, #2304 @ 0x900 + 8008182: f443 1300 orr.w r3, r3, #2097152 @ 0x200000 + 8008186: 6013 str r3, [r2, #0] + 8008188: e02b b.n 80081e2 } else { if (((USBx_OUTEP(epnum)->DOEPCTL & USB_OTG_DOEPCTL_EPENA) == 0U) && (epnum != 0U)) - 8007b1e: 68bb ldr r3, [r7, #8] - 8007b20: 015a lsls r2, r3, #5 - 8007b22: 68fb ldr r3, [r7, #12] - 8007b24: 4413 add r3, r2 - 8007b26: f503 6330 add.w r3, r3, #2816 @ 0xb00 - 8007b2a: 681b ldr r3, [r3, #0] - 8007b2c: 2b00 cmp r3, #0 - 8007b2e: db12 blt.n 8007b56 - 8007b30: 68bb ldr r3, [r7, #8] - 8007b32: 2b00 cmp r3, #0 - 8007b34: d00f beq.n 8007b56 + 800818a: 68bb ldr r3, [r7, #8] + 800818c: 015a lsls r2, r3, #5 + 800818e: 68fb ldr r3, [r7, #12] + 8008190: 4413 add r3, r2 + 8008192: f503 6330 add.w r3, r3, #2816 @ 0xb00 + 8008196: 681b ldr r3, [r3, #0] + 8008198: 2b00 cmp r3, #0 + 800819a: db12 blt.n 80081c2 + 800819c: 68bb ldr r3, [r7, #8] + 800819e: 2b00 cmp r3, #0 + 80081a0: d00f beq.n 80081c2 { USBx_OUTEP(epnum)->DOEPCTL &= ~(USB_OTG_DOEPCTL_EPDIS); - 8007b36: 68bb ldr r3, [r7, #8] - 8007b38: 015a lsls r2, r3, #5 - 8007b3a: 68fb ldr r3, [r7, #12] - 8007b3c: 4413 add r3, r2 - 8007b3e: f503 6330 add.w r3, r3, #2816 @ 0xb00 - 8007b42: 681b ldr r3, [r3, #0] - 8007b44: 68ba ldr r2, [r7, #8] - 8007b46: 0151 lsls r1, r2, #5 - 8007b48: 68fa ldr r2, [r7, #12] - 8007b4a: 440a add r2, r1 - 8007b4c: f502 6230 add.w r2, r2, #2816 @ 0xb00 - 8007b50: f023 4380 bic.w r3, r3, #1073741824 @ 0x40000000 - 8007b54: 6013 str r3, [r2, #0] + 80081a2: 68bb ldr r3, [r7, #8] + 80081a4: 015a lsls r2, r3, #5 + 80081a6: 68fb ldr r3, [r7, #12] + 80081a8: 4413 add r3, r2 + 80081aa: f503 6330 add.w r3, r3, #2816 @ 0xb00 + 80081ae: 681b ldr r3, [r3, #0] + 80081b0: 68ba ldr r2, [r7, #8] + 80081b2: 0151 lsls r1, r2, #5 + 80081b4: 68fa ldr r2, [r7, #12] + 80081b6: 440a add r2, r1 + 80081b8: f502 6230 add.w r2, r2, #2816 @ 0xb00 + 80081bc: f023 4380 bic.w r3, r3, #1073741824 @ 0x40000000 + 80081c0: 6013 str r3, [r2, #0] } USBx_OUTEP(epnum)->DOEPCTL |= USB_OTG_DOEPCTL_STALL; - 8007b56: 68bb ldr r3, [r7, #8] - 8007b58: 015a lsls r2, r3, #5 - 8007b5a: 68fb ldr r3, [r7, #12] - 8007b5c: 4413 add r3, r2 - 8007b5e: f503 6330 add.w r3, r3, #2816 @ 0xb00 - 8007b62: 681b ldr r3, [r3, #0] - 8007b64: 68ba ldr r2, [r7, #8] - 8007b66: 0151 lsls r1, r2, #5 - 8007b68: 68fa ldr r2, [r7, #12] - 8007b6a: 440a add r2, r1 - 8007b6c: f502 6230 add.w r2, r2, #2816 @ 0xb00 - 8007b70: f443 1300 orr.w r3, r3, #2097152 @ 0x200000 - 8007b74: 6013 str r3, [r2, #0] + 80081c2: 68bb ldr r3, [r7, #8] + 80081c4: 015a lsls r2, r3, #5 + 80081c6: 68fb ldr r3, [r7, #12] + 80081c8: 4413 add r3, r2 + 80081ca: f503 6330 add.w r3, r3, #2816 @ 0xb00 + 80081ce: 681b ldr r3, [r3, #0] + 80081d0: 68ba ldr r2, [r7, #8] + 80081d2: 0151 lsls r1, r2, #5 + 80081d4: 68fa ldr r2, [r7, #12] + 80081d6: 440a add r2, r1 + 80081d8: f502 6230 add.w r2, r2, #2816 @ 0xb00 + 80081dc: f443 1300 orr.w r3, r3, #2097152 @ 0x200000 + 80081e0: 6013 str r3, [r2, #0] } return HAL_OK; - 8007b76: 2300 movs r3, #0 + 80081e2: 2300 movs r3, #0 } - 8007b78: 4618 mov r0, r3 - 8007b7a: 3714 adds r7, #20 - 8007b7c: 46bd mov sp, r7 - 8007b7e: f85d 7b04 ldr.w r7, [sp], #4 - 8007b82: 4770 bx lr + 80081e4: 4618 mov r0, r3 + 80081e6: 3714 adds r7, #20 + 80081e8: 46bd mov sp, r7 + 80081ea: f85d 7b04 ldr.w r7, [sp], #4 + 80081ee: 4770 bx lr -08007b84 : +080081f0 : * @param USBx Selected device * @param ep pointer to endpoint structure * @retval HAL status */ HAL_StatusTypeDef USB_EPClearStall(const USB_OTG_GlobalTypeDef *USBx, const USB_OTG_EPTypeDef *ep) { - 8007b84: b480 push {r7} - 8007b86: b085 sub sp, #20 - 8007b88: af00 add r7, sp, #0 - 8007b8a: 6078 str r0, [r7, #4] - 8007b8c: 6039 str r1, [r7, #0] + 80081f0: b480 push {r7} + 80081f2: b085 sub sp, #20 + 80081f4: af00 add r7, sp, #0 + 80081f6: 6078 str r0, [r7, #4] + 80081f8: 6039 str r1, [r7, #0] uint32_t USBx_BASE = (uint32_t)USBx; - 8007b8e: 687b ldr r3, [r7, #4] - 8007b90: 60fb str r3, [r7, #12] + 80081fa: 687b ldr r3, [r7, #4] + 80081fc: 60fb str r3, [r7, #12] uint32_t epnum = (uint32_t)ep->num; - 8007b92: 683b ldr r3, [r7, #0] - 8007b94: 781b ldrb r3, [r3, #0] - 8007b96: 60bb str r3, [r7, #8] + 80081fe: 683b ldr r3, [r7, #0] + 8008200: 781b ldrb r3, [r3, #0] + 8008202: 60bb str r3, [r7, #8] if (ep->is_in == 1U) - 8007b98: 683b ldr r3, [r7, #0] - 8007b9a: 785b ldrb r3, [r3, #1] - 8007b9c: 2b01 cmp r3, #1 - 8007b9e: d128 bne.n 8007bf2 + 8008204: 683b ldr r3, [r7, #0] + 8008206: 785b ldrb r3, [r3, #1] + 8008208: 2b01 cmp r3, #1 + 800820a: d128 bne.n 800825e { USBx_INEP(epnum)->DIEPCTL &= ~USB_OTG_DIEPCTL_STALL; - 8007ba0: 68bb ldr r3, [r7, #8] - 8007ba2: 015a lsls r2, r3, #5 - 8007ba4: 68fb ldr r3, [r7, #12] - 8007ba6: 4413 add r3, r2 - 8007ba8: f503 6310 add.w r3, r3, #2304 @ 0x900 - 8007bac: 681b ldr r3, [r3, #0] - 8007bae: 68ba ldr r2, [r7, #8] - 8007bb0: 0151 lsls r1, r2, #5 - 8007bb2: 68fa ldr r2, [r7, #12] - 8007bb4: 440a add r2, r1 - 8007bb6: f502 6210 add.w r2, r2, #2304 @ 0x900 - 8007bba: f423 1300 bic.w r3, r3, #2097152 @ 0x200000 - 8007bbe: 6013 str r3, [r2, #0] + 800820c: 68bb ldr r3, [r7, #8] + 800820e: 015a lsls r2, r3, #5 + 8008210: 68fb ldr r3, [r7, #12] + 8008212: 4413 add r3, r2 + 8008214: f503 6310 add.w r3, r3, #2304 @ 0x900 + 8008218: 681b ldr r3, [r3, #0] + 800821a: 68ba ldr r2, [r7, #8] + 800821c: 0151 lsls r1, r2, #5 + 800821e: 68fa ldr r2, [r7, #12] + 8008220: 440a add r2, r1 + 8008222: f502 6210 add.w r2, r2, #2304 @ 0x900 + 8008226: f423 1300 bic.w r3, r3, #2097152 @ 0x200000 + 800822a: 6013 str r3, [r2, #0] if ((ep->type == EP_TYPE_INTR) || (ep->type == EP_TYPE_BULK)) - 8007bc0: 683b ldr r3, [r7, #0] - 8007bc2: 791b ldrb r3, [r3, #4] - 8007bc4: 2b03 cmp r3, #3 - 8007bc6: d003 beq.n 8007bd0 - 8007bc8: 683b ldr r3, [r7, #0] - 8007bca: 791b ldrb r3, [r3, #4] - 8007bcc: 2b02 cmp r3, #2 - 8007bce: d138 bne.n 8007c42 + 800822c: 683b ldr r3, [r7, #0] + 800822e: 791b ldrb r3, [r3, #4] + 8008230: 2b03 cmp r3, #3 + 8008232: d003 beq.n 800823c + 8008234: 683b ldr r3, [r7, #0] + 8008236: 791b ldrb r3, [r3, #4] + 8008238: 2b02 cmp r3, #2 + 800823a: d138 bne.n 80082ae { USBx_INEP(epnum)->DIEPCTL |= USB_OTG_DIEPCTL_SD0PID_SEVNFRM; /* DATA0 */ - 8007bd0: 68bb ldr r3, [r7, #8] - 8007bd2: 015a lsls r2, r3, #5 - 8007bd4: 68fb ldr r3, [r7, #12] - 8007bd6: 4413 add r3, r2 - 8007bd8: f503 6310 add.w r3, r3, #2304 @ 0x900 - 8007bdc: 681b ldr r3, [r3, #0] - 8007bde: 68ba ldr r2, [r7, #8] - 8007be0: 0151 lsls r1, r2, #5 - 8007be2: 68fa ldr r2, [r7, #12] - 8007be4: 440a add r2, r1 - 8007be6: f502 6210 add.w r2, r2, #2304 @ 0x900 - 8007bea: f043 5380 orr.w r3, r3, #268435456 @ 0x10000000 - 8007bee: 6013 str r3, [r2, #0] - 8007bf0: e027 b.n 8007c42 + 800823c: 68bb ldr r3, [r7, #8] + 800823e: 015a lsls r2, r3, #5 + 8008240: 68fb ldr r3, [r7, #12] + 8008242: 4413 add r3, r2 + 8008244: f503 6310 add.w r3, r3, #2304 @ 0x900 + 8008248: 681b ldr r3, [r3, #0] + 800824a: 68ba ldr r2, [r7, #8] + 800824c: 0151 lsls r1, r2, #5 + 800824e: 68fa ldr r2, [r7, #12] + 8008250: 440a add r2, r1 + 8008252: f502 6210 add.w r2, r2, #2304 @ 0x900 + 8008256: f043 5380 orr.w r3, r3, #268435456 @ 0x10000000 + 800825a: 6013 str r3, [r2, #0] + 800825c: e027 b.n 80082ae } } else { USBx_OUTEP(epnum)->DOEPCTL &= ~USB_OTG_DOEPCTL_STALL; - 8007bf2: 68bb ldr r3, [r7, #8] - 8007bf4: 015a lsls r2, r3, #5 - 8007bf6: 68fb ldr r3, [r7, #12] - 8007bf8: 4413 add r3, r2 - 8007bfa: f503 6330 add.w r3, r3, #2816 @ 0xb00 - 8007bfe: 681b ldr r3, [r3, #0] - 8007c00: 68ba ldr r2, [r7, #8] - 8007c02: 0151 lsls r1, r2, #5 - 8007c04: 68fa ldr r2, [r7, #12] - 8007c06: 440a add r2, r1 - 8007c08: f502 6230 add.w r2, r2, #2816 @ 0xb00 - 8007c0c: f423 1300 bic.w r3, r3, #2097152 @ 0x200000 - 8007c10: 6013 str r3, [r2, #0] + 800825e: 68bb ldr r3, [r7, #8] + 8008260: 015a lsls r2, r3, #5 + 8008262: 68fb ldr r3, [r7, #12] + 8008264: 4413 add r3, r2 + 8008266: f503 6330 add.w r3, r3, #2816 @ 0xb00 + 800826a: 681b ldr r3, [r3, #0] + 800826c: 68ba ldr r2, [r7, #8] + 800826e: 0151 lsls r1, r2, #5 + 8008270: 68fa ldr r2, [r7, #12] + 8008272: 440a add r2, r1 + 8008274: f502 6230 add.w r2, r2, #2816 @ 0xb00 + 8008278: f423 1300 bic.w r3, r3, #2097152 @ 0x200000 + 800827c: 6013 str r3, [r2, #0] if ((ep->type == EP_TYPE_INTR) || (ep->type == EP_TYPE_BULK)) - 8007c12: 683b ldr r3, [r7, #0] - 8007c14: 791b ldrb r3, [r3, #4] - 8007c16: 2b03 cmp r3, #3 - 8007c18: d003 beq.n 8007c22 - 8007c1a: 683b ldr r3, [r7, #0] - 8007c1c: 791b ldrb r3, [r3, #4] - 8007c1e: 2b02 cmp r3, #2 - 8007c20: d10f bne.n 8007c42 + 800827e: 683b ldr r3, [r7, #0] + 8008280: 791b ldrb r3, [r3, #4] + 8008282: 2b03 cmp r3, #3 + 8008284: d003 beq.n 800828e + 8008286: 683b ldr r3, [r7, #0] + 8008288: 791b ldrb r3, [r3, #4] + 800828a: 2b02 cmp r3, #2 + 800828c: d10f bne.n 80082ae { USBx_OUTEP(epnum)->DOEPCTL |= USB_OTG_DOEPCTL_SD0PID_SEVNFRM; /* DATA0 */ - 8007c22: 68bb ldr r3, [r7, #8] - 8007c24: 015a lsls r2, r3, #5 - 8007c26: 68fb ldr r3, [r7, #12] - 8007c28: 4413 add r3, r2 - 8007c2a: f503 6330 add.w r3, r3, #2816 @ 0xb00 - 8007c2e: 681b ldr r3, [r3, #0] - 8007c30: 68ba ldr r2, [r7, #8] - 8007c32: 0151 lsls r1, r2, #5 - 8007c34: 68fa ldr r2, [r7, #12] - 8007c36: 440a add r2, r1 - 8007c38: f502 6230 add.w r2, r2, #2816 @ 0xb00 - 8007c3c: f043 5380 orr.w r3, r3, #268435456 @ 0x10000000 - 8007c40: 6013 str r3, [r2, #0] + 800828e: 68bb ldr r3, [r7, #8] + 8008290: 015a lsls r2, r3, #5 + 8008292: 68fb ldr r3, [r7, #12] + 8008294: 4413 add r3, r2 + 8008296: f503 6330 add.w r3, r3, #2816 @ 0xb00 + 800829a: 681b ldr r3, [r3, #0] + 800829c: 68ba ldr r2, [r7, #8] + 800829e: 0151 lsls r1, r2, #5 + 80082a0: 68fa ldr r2, [r7, #12] + 80082a2: 440a add r2, r1 + 80082a4: f502 6230 add.w r2, r2, #2816 @ 0xb00 + 80082a8: f043 5380 orr.w r3, r3, #268435456 @ 0x10000000 + 80082ac: 6013 str r3, [r2, #0] } } return HAL_OK; - 8007c42: 2300 movs r3, #0 + 80082ae: 2300 movs r3, #0 } - 8007c44: 4618 mov r0, r3 - 8007c46: 3714 adds r7, #20 - 8007c48: 46bd mov sp, r7 - 8007c4a: f85d 7b04 ldr.w r7, [sp], #4 - 8007c4e: 4770 bx lr + 80082b0: 4618 mov r0, r3 + 80082b2: 3714 adds r7, #20 + 80082b4: 46bd mov sp, r7 + 80082b6: f85d 7b04 ldr.w r7, [sp], #4 + 80082ba: 4770 bx lr -08007c50 : +080082bc : * @param address new device address to be assigned * This parameter can be a value from 0 to 255 * @retval HAL status */ HAL_StatusTypeDef USB_SetDevAddress(const USB_OTG_GlobalTypeDef *USBx, uint8_t address) { - 8007c50: b480 push {r7} - 8007c52: b085 sub sp, #20 - 8007c54: af00 add r7, sp, #0 - 8007c56: 6078 str r0, [r7, #4] - 8007c58: 460b mov r3, r1 - 8007c5a: 70fb strb r3, [r7, #3] + 80082bc: b480 push {r7} + 80082be: b085 sub sp, #20 + 80082c0: af00 add r7, sp, #0 + 80082c2: 6078 str r0, [r7, #4] + 80082c4: 460b mov r3, r1 + 80082c6: 70fb strb r3, [r7, #3] uint32_t USBx_BASE = (uint32_t)USBx; - 8007c5c: 687b ldr r3, [r7, #4] - 8007c5e: 60fb str r3, [r7, #12] + 80082c8: 687b ldr r3, [r7, #4] + 80082ca: 60fb str r3, [r7, #12] USBx_DEVICE->DCFG &= ~(USB_OTG_DCFG_DAD); - 8007c60: 68fb ldr r3, [r7, #12] - 8007c62: f503 6300 add.w r3, r3, #2048 @ 0x800 - 8007c66: 681b ldr r3, [r3, #0] - 8007c68: 68fa ldr r2, [r7, #12] - 8007c6a: f502 6200 add.w r2, r2, #2048 @ 0x800 - 8007c6e: f423 63fe bic.w r3, r3, #2032 @ 0x7f0 - 8007c72: 6013 str r3, [r2, #0] + 80082cc: 68fb ldr r3, [r7, #12] + 80082ce: f503 6300 add.w r3, r3, #2048 @ 0x800 + 80082d2: 681b ldr r3, [r3, #0] + 80082d4: 68fa ldr r2, [r7, #12] + 80082d6: f502 6200 add.w r2, r2, #2048 @ 0x800 + 80082da: f423 63fe bic.w r3, r3, #2032 @ 0x7f0 + 80082de: 6013 str r3, [r2, #0] USBx_DEVICE->DCFG |= ((uint32_t)address << 4) & USB_OTG_DCFG_DAD; - 8007c74: 68fb ldr r3, [r7, #12] - 8007c76: f503 6300 add.w r3, r3, #2048 @ 0x800 - 8007c7a: 681a ldr r2, [r3, #0] - 8007c7c: 78fb ldrb r3, [r7, #3] - 8007c7e: 011b lsls r3, r3, #4 - 8007c80: f403 63fe and.w r3, r3, #2032 @ 0x7f0 - 8007c84: 68f9 ldr r1, [r7, #12] - 8007c86: f501 6100 add.w r1, r1, #2048 @ 0x800 - 8007c8a: 4313 orrs r3, r2 - 8007c8c: 600b str r3, [r1, #0] + 80082e0: 68fb ldr r3, [r7, #12] + 80082e2: f503 6300 add.w r3, r3, #2048 @ 0x800 + 80082e6: 681a ldr r2, [r3, #0] + 80082e8: 78fb ldrb r3, [r7, #3] + 80082ea: 011b lsls r3, r3, #4 + 80082ec: f403 63fe and.w r3, r3, #2032 @ 0x7f0 + 80082f0: 68f9 ldr r1, [r7, #12] + 80082f2: f501 6100 add.w r1, r1, #2048 @ 0x800 + 80082f6: 4313 orrs r3, r2 + 80082f8: 600b str r3, [r1, #0] return HAL_OK; - 8007c8e: 2300 movs r3, #0 + 80082fa: 2300 movs r3, #0 } - 8007c90: 4618 mov r0, r3 - 8007c92: 3714 adds r7, #20 - 8007c94: 46bd mov sp, r7 - 8007c96: f85d 7b04 ldr.w r7, [sp], #4 - 8007c9a: 4770 bx lr + 80082fc: 4618 mov r0, r3 + 80082fe: 3714 adds r7, #20 + 8008300: 46bd mov sp, r7 + 8008302: f85d 7b04 ldr.w r7, [sp], #4 + 8008306: 4770 bx lr -08007c9c : +08008308 : * @brief USB_DevConnect : Connect the USB device by enabling Rpu * @param USBx Selected device * @retval HAL status */ HAL_StatusTypeDef USB_DevConnect(const USB_OTG_GlobalTypeDef *USBx) { - 8007c9c: b480 push {r7} - 8007c9e: b085 sub sp, #20 - 8007ca0: af00 add r7, sp, #0 - 8007ca2: 6078 str r0, [r7, #4] + 8008308: b480 push {r7} + 800830a: b085 sub sp, #20 + 800830c: af00 add r7, sp, #0 + 800830e: 6078 str r0, [r7, #4] uint32_t USBx_BASE = (uint32_t)USBx; - 8007ca4: 687b ldr r3, [r7, #4] - 8007ca6: 60fb str r3, [r7, #12] + 8008310: 687b ldr r3, [r7, #4] + 8008312: 60fb str r3, [r7, #12] /* In case phy is stopped, ensure to ungate and restore the phy CLK */ USBx_PCGCCTL &= ~(USB_OTG_PCGCCTL_STOPCLK | USB_OTG_PCGCCTL_GATECLK); - 8007ca8: 68fb ldr r3, [r7, #12] - 8007caa: f503 6360 add.w r3, r3, #3584 @ 0xe00 - 8007cae: 681b ldr r3, [r3, #0] - 8007cb0: 68fa ldr r2, [r7, #12] - 8007cb2: f502 6260 add.w r2, r2, #3584 @ 0xe00 - 8007cb6: f023 0303 bic.w r3, r3, #3 - 8007cba: 6013 str r3, [r2, #0] + 8008314: 68fb ldr r3, [r7, #12] + 8008316: f503 6360 add.w r3, r3, #3584 @ 0xe00 + 800831a: 681b ldr r3, [r3, #0] + 800831c: 68fa ldr r2, [r7, #12] + 800831e: f502 6260 add.w r2, r2, #3584 @ 0xe00 + 8008322: f023 0303 bic.w r3, r3, #3 + 8008326: 6013 str r3, [r2, #0] USBx_DEVICE->DCTL &= ~USB_OTG_DCTL_SDIS; - 8007cbc: 68fb ldr r3, [r7, #12] - 8007cbe: f503 6300 add.w r3, r3, #2048 @ 0x800 - 8007cc2: 685b ldr r3, [r3, #4] - 8007cc4: 68fa ldr r2, [r7, #12] - 8007cc6: f502 6200 add.w r2, r2, #2048 @ 0x800 - 8007cca: f023 0302 bic.w r3, r3, #2 - 8007cce: 6053 str r3, [r2, #4] + 8008328: 68fb ldr r3, [r7, #12] + 800832a: f503 6300 add.w r3, r3, #2048 @ 0x800 + 800832e: 685b ldr r3, [r3, #4] + 8008330: 68fa ldr r2, [r7, #12] + 8008332: f502 6200 add.w r2, r2, #2048 @ 0x800 + 8008336: f023 0302 bic.w r3, r3, #2 + 800833a: 6053 str r3, [r2, #4] return HAL_OK; - 8007cd0: 2300 movs r3, #0 + 800833c: 2300 movs r3, #0 } - 8007cd2: 4618 mov r0, r3 - 8007cd4: 3714 adds r7, #20 - 8007cd6: 46bd mov sp, r7 - 8007cd8: f85d 7b04 ldr.w r7, [sp], #4 - 8007cdc: 4770 bx lr + 800833e: 4618 mov r0, r3 + 8008340: 3714 adds r7, #20 + 8008342: 46bd mov sp, r7 + 8008344: f85d 7b04 ldr.w r7, [sp], #4 + 8008348: 4770 bx lr -08007cde : +0800834a : * @brief USB_DevDisconnect : Disconnect the USB device by disabling Rpu * @param USBx Selected device * @retval HAL status */ HAL_StatusTypeDef USB_DevDisconnect(const USB_OTG_GlobalTypeDef *USBx) { - 8007cde: b480 push {r7} - 8007ce0: b085 sub sp, #20 - 8007ce2: af00 add r7, sp, #0 - 8007ce4: 6078 str r0, [r7, #4] + 800834a: b480 push {r7} + 800834c: b085 sub sp, #20 + 800834e: af00 add r7, sp, #0 + 8008350: 6078 str r0, [r7, #4] uint32_t USBx_BASE = (uint32_t)USBx; - 8007ce6: 687b ldr r3, [r7, #4] - 8007ce8: 60fb str r3, [r7, #12] + 8008352: 687b ldr r3, [r7, #4] + 8008354: 60fb str r3, [r7, #12] /* In case phy is stopped, ensure to ungate and restore the phy CLK */ USBx_PCGCCTL &= ~(USB_OTG_PCGCCTL_STOPCLK | USB_OTG_PCGCCTL_GATECLK); - 8007cea: 68fb ldr r3, [r7, #12] - 8007cec: f503 6360 add.w r3, r3, #3584 @ 0xe00 - 8007cf0: 681b ldr r3, [r3, #0] - 8007cf2: 68fa ldr r2, [r7, #12] - 8007cf4: f502 6260 add.w r2, r2, #3584 @ 0xe00 - 8007cf8: f023 0303 bic.w r3, r3, #3 - 8007cfc: 6013 str r3, [r2, #0] + 8008356: 68fb ldr r3, [r7, #12] + 8008358: f503 6360 add.w r3, r3, #3584 @ 0xe00 + 800835c: 681b ldr r3, [r3, #0] + 800835e: 68fa ldr r2, [r7, #12] + 8008360: f502 6260 add.w r2, r2, #3584 @ 0xe00 + 8008364: f023 0303 bic.w r3, r3, #3 + 8008368: 6013 str r3, [r2, #0] USBx_DEVICE->DCTL |= USB_OTG_DCTL_SDIS; - 8007cfe: 68fb ldr r3, [r7, #12] - 8007d00: f503 6300 add.w r3, r3, #2048 @ 0x800 - 8007d04: 685b ldr r3, [r3, #4] - 8007d06: 68fa ldr r2, [r7, #12] - 8007d08: f502 6200 add.w r2, r2, #2048 @ 0x800 - 8007d0c: f043 0302 orr.w r3, r3, #2 - 8007d10: 6053 str r3, [r2, #4] + 800836a: 68fb ldr r3, [r7, #12] + 800836c: f503 6300 add.w r3, r3, #2048 @ 0x800 + 8008370: 685b ldr r3, [r3, #4] + 8008372: 68fa ldr r2, [r7, #12] + 8008374: f502 6200 add.w r2, r2, #2048 @ 0x800 + 8008378: f043 0302 orr.w r3, r3, #2 + 800837c: 6053 str r3, [r2, #4] return HAL_OK; - 8007d12: 2300 movs r3, #0 + 800837e: 2300 movs r3, #0 } - 8007d14: 4618 mov r0, r3 - 8007d16: 3714 adds r7, #20 - 8007d18: 46bd mov sp, r7 - 8007d1a: f85d 7b04 ldr.w r7, [sp], #4 - 8007d1e: 4770 bx lr + 8008380: 4618 mov r0, r3 + 8008382: 3714 adds r7, #20 + 8008384: 46bd mov sp, r7 + 8008386: f85d 7b04 ldr.w r7, [sp], #4 + 800838a: 4770 bx lr -08007d20 : +0800838c : * @brief USB_ReadInterrupts: return the global USB interrupt status * @param USBx Selected device * @retval USB Global Interrupt status */ uint32_t USB_ReadInterrupts(USB_OTG_GlobalTypeDef const *USBx) { - 8007d20: b480 push {r7} - 8007d22: b085 sub sp, #20 - 8007d24: af00 add r7, sp, #0 - 8007d26: 6078 str r0, [r7, #4] + 800838c: b480 push {r7} + 800838e: b085 sub sp, #20 + 8008390: af00 add r7, sp, #0 + 8008392: 6078 str r0, [r7, #4] uint32_t tmpreg; tmpreg = USBx->GINTSTS; - 8007d28: 687b ldr r3, [r7, #4] - 8007d2a: 695b ldr r3, [r3, #20] - 8007d2c: 60fb str r3, [r7, #12] + 8008394: 687b ldr r3, [r7, #4] + 8008396: 695b ldr r3, [r3, #20] + 8008398: 60fb str r3, [r7, #12] tmpreg &= USBx->GINTMSK; - 8007d2e: 687b ldr r3, [r7, #4] - 8007d30: 699b ldr r3, [r3, #24] - 8007d32: 68fa ldr r2, [r7, #12] - 8007d34: 4013 ands r3, r2 - 8007d36: 60fb str r3, [r7, #12] + 800839a: 687b ldr r3, [r7, #4] + 800839c: 699b ldr r3, [r3, #24] + 800839e: 68fa ldr r2, [r7, #12] + 80083a0: 4013 ands r3, r2 + 80083a2: 60fb str r3, [r7, #12] return tmpreg; - 8007d38: 68fb ldr r3, [r7, #12] + 80083a4: 68fb ldr r3, [r7, #12] } - 8007d3a: 4618 mov r0, r3 - 8007d3c: 3714 adds r7, #20 - 8007d3e: 46bd mov sp, r7 - 8007d40: f85d 7b04 ldr.w r7, [sp], #4 - 8007d44: 4770 bx lr + 80083a6: 4618 mov r0, r3 + 80083a8: 3714 adds r7, #20 + 80083aa: 46bd mov sp, r7 + 80083ac: f85d 7b04 ldr.w r7, [sp], #4 + 80083b0: 4770 bx lr -08007d46 : +080083b2 : * @brief USB_ReadDevAllOutEpInterrupt: return the USB device OUT endpoints interrupt status * @param USBx Selected device * @retval USB Device OUT EP interrupt status */ uint32_t USB_ReadDevAllOutEpInterrupt(const USB_OTG_GlobalTypeDef *USBx) { - 8007d46: b480 push {r7} - 8007d48: b085 sub sp, #20 - 8007d4a: af00 add r7, sp, #0 - 8007d4c: 6078 str r0, [r7, #4] + 80083b2: b480 push {r7} + 80083b4: b085 sub sp, #20 + 80083b6: af00 add r7, sp, #0 + 80083b8: 6078 str r0, [r7, #4] uint32_t USBx_BASE = (uint32_t)USBx; - 8007d4e: 687b ldr r3, [r7, #4] - 8007d50: 60fb str r3, [r7, #12] + 80083ba: 687b ldr r3, [r7, #4] + 80083bc: 60fb str r3, [r7, #12] uint32_t tmpreg; tmpreg = USBx_DEVICE->DAINT; - 8007d52: 68fb ldr r3, [r7, #12] - 8007d54: f503 6300 add.w r3, r3, #2048 @ 0x800 - 8007d58: 699b ldr r3, [r3, #24] - 8007d5a: 60bb str r3, [r7, #8] + 80083be: 68fb ldr r3, [r7, #12] + 80083c0: f503 6300 add.w r3, r3, #2048 @ 0x800 + 80083c4: 699b ldr r3, [r3, #24] + 80083c6: 60bb str r3, [r7, #8] tmpreg &= USBx_DEVICE->DAINTMSK; - 8007d5c: 68fb ldr r3, [r7, #12] - 8007d5e: f503 6300 add.w r3, r3, #2048 @ 0x800 - 8007d62: 69db ldr r3, [r3, #28] - 8007d64: 68ba ldr r2, [r7, #8] - 8007d66: 4013 ands r3, r2 - 8007d68: 60bb str r3, [r7, #8] + 80083c8: 68fb ldr r3, [r7, #12] + 80083ca: f503 6300 add.w r3, r3, #2048 @ 0x800 + 80083ce: 69db ldr r3, [r3, #28] + 80083d0: 68ba ldr r2, [r7, #8] + 80083d2: 4013 ands r3, r2 + 80083d4: 60bb str r3, [r7, #8] return ((tmpreg & 0xffff0000U) >> 16); - 8007d6a: 68bb ldr r3, [r7, #8] - 8007d6c: 0c1b lsrs r3, r3, #16 + 80083d6: 68bb ldr r3, [r7, #8] + 80083d8: 0c1b lsrs r3, r3, #16 } - 8007d6e: 4618 mov r0, r3 - 8007d70: 3714 adds r7, #20 - 8007d72: 46bd mov sp, r7 - 8007d74: f85d 7b04 ldr.w r7, [sp], #4 - 8007d78: 4770 bx lr + 80083da: 4618 mov r0, r3 + 80083dc: 3714 adds r7, #20 + 80083de: 46bd mov sp, r7 + 80083e0: f85d 7b04 ldr.w r7, [sp], #4 + 80083e4: 4770 bx lr -08007d7a : +080083e6 : * @brief USB_ReadDevAllInEpInterrupt: return the USB device IN endpoints interrupt status * @param USBx Selected device * @retval USB Device IN EP interrupt status */ uint32_t USB_ReadDevAllInEpInterrupt(const USB_OTG_GlobalTypeDef *USBx) { - 8007d7a: b480 push {r7} - 8007d7c: b085 sub sp, #20 - 8007d7e: af00 add r7, sp, #0 - 8007d80: 6078 str r0, [r7, #4] + 80083e6: b480 push {r7} + 80083e8: b085 sub sp, #20 + 80083ea: af00 add r7, sp, #0 + 80083ec: 6078 str r0, [r7, #4] uint32_t USBx_BASE = (uint32_t)USBx; - 8007d82: 687b ldr r3, [r7, #4] - 8007d84: 60fb str r3, [r7, #12] + 80083ee: 687b ldr r3, [r7, #4] + 80083f0: 60fb str r3, [r7, #12] uint32_t tmpreg; tmpreg = USBx_DEVICE->DAINT; - 8007d86: 68fb ldr r3, [r7, #12] - 8007d88: f503 6300 add.w r3, r3, #2048 @ 0x800 - 8007d8c: 699b ldr r3, [r3, #24] - 8007d8e: 60bb str r3, [r7, #8] + 80083f2: 68fb ldr r3, [r7, #12] + 80083f4: f503 6300 add.w r3, r3, #2048 @ 0x800 + 80083f8: 699b ldr r3, [r3, #24] + 80083fa: 60bb str r3, [r7, #8] tmpreg &= USBx_DEVICE->DAINTMSK; - 8007d90: 68fb ldr r3, [r7, #12] - 8007d92: f503 6300 add.w r3, r3, #2048 @ 0x800 - 8007d96: 69db ldr r3, [r3, #28] - 8007d98: 68ba ldr r2, [r7, #8] - 8007d9a: 4013 ands r3, r2 - 8007d9c: 60bb str r3, [r7, #8] + 80083fc: 68fb ldr r3, [r7, #12] + 80083fe: f503 6300 add.w r3, r3, #2048 @ 0x800 + 8008402: 69db ldr r3, [r3, #28] + 8008404: 68ba ldr r2, [r7, #8] + 8008406: 4013 ands r3, r2 + 8008408: 60bb str r3, [r7, #8] return ((tmpreg & 0xFFFFU)); - 8007d9e: 68bb ldr r3, [r7, #8] - 8007da0: b29b uxth r3, r3 + 800840a: 68bb ldr r3, [r7, #8] + 800840c: b29b uxth r3, r3 } - 8007da2: 4618 mov r0, r3 - 8007da4: 3714 adds r7, #20 - 8007da6: 46bd mov sp, r7 - 8007da8: f85d 7b04 ldr.w r7, [sp], #4 - 8007dac: 4770 bx lr + 800840e: 4618 mov r0, r3 + 8008410: 3714 adds r7, #20 + 8008412: 46bd mov sp, r7 + 8008414: f85d 7b04 ldr.w r7, [sp], #4 + 8008418: 4770 bx lr -08007dae : +0800841a : * @param epnum endpoint number * This parameter can be a value from 0 to 15 * @retval Device OUT EP Interrupt register */ uint32_t USB_ReadDevOutEPInterrupt(const USB_OTG_GlobalTypeDef *USBx, uint8_t epnum) { - 8007dae: b480 push {r7} - 8007db0: b085 sub sp, #20 - 8007db2: af00 add r7, sp, #0 - 8007db4: 6078 str r0, [r7, #4] - 8007db6: 460b mov r3, r1 - 8007db8: 70fb strb r3, [r7, #3] + 800841a: b480 push {r7} + 800841c: b085 sub sp, #20 + 800841e: af00 add r7, sp, #0 + 8008420: 6078 str r0, [r7, #4] + 8008422: 460b mov r3, r1 + 8008424: 70fb strb r3, [r7, #3] uint32_t USBx_BASE = (uint32_t)USBx; - 8007dba: 687b ldr r3, [r7, #4] - 8007dbc: 60fb str r3, [r7, #12] + 8008426: 687b ldr r3, [r7, #4] + 8008428: 60fb str r3, [r7, #12] uint32_t tmpreg; tmpreg = USBx_OUTEP((uint32_t)epnum)->DOEPINT; - 8007dbe: 78fb ldrb r3, [r7, #3] - 8007dc0: 015a lsls r2, r3, #5 - 8007dc2: 68fb ldr r3, [r7, #12] - 8007dc4: 4413 add r3, r2 - 8007dc6: f503 6330 add.w r3, r3, #2816 @ 0xb00 - 8007dca: 689b ldr r3, [r3, #8] - 8007dcc: 60bb str r3, [r7, #8] + 800842a: 78fb ldrb r3, [r7, #3] + 800842c: 015a lsls r2, r3, #5 + 800842e: 68fb ldr r3, [r7, #12] + 8008430: 4413 add r3, r2 + 8008432: f503 6330 add.w r3, r3, #2816 @ 0xb00 + 8008436: 689b ldr r3, [r3, #8] + 8008438: 60bb str r3, [r7, #8] tmpreg &= USBx_DEVICE->DOEPMSK; - 8007dce: 68fb ldr r3, [r7, #12] - 8007dd0: f503 6300 add.w r3, r3, #2048 @ 0x800 - 8007dd4: 695b ldr r3, [r3, #20] - 8007dd6: 68ba ldr r2, [r7, #8] - 8007dd8: 4013 ands r3, r2 - 8007dda: 60bb str r3, [r7, #8] + 800843a: 68fb ldr r3, [r7, #12] + 800843c: f503 6300 add.w r3, r3, #2048 @ 0x800 + 8008440: 695b ldr r3, [r3, #20] + 8008442: 68ba ldr r2, [r7, #8] + 8008444: 4013 ands r3, r2 + 8008446: 60bb str r3, [r7, #8] return tmpreg; - 8007ddc: 68bb ldr r3, [r7, #8] + 8008448: 68bb ldr r3, [r7, #8] } - 8007dde: 4618 mov r0, r3 - 8007de0: 3714 adds r7, #20 - 8007de2: 46bd mov sp, r7 - 8007de4: f85d 7b04 ldr.w r7, [sp], #4 - 8007de8: 4770 bx lr + 800844a: 4618 mov r0, r3 + 800844c: 3714 adds r7, #20 + 800844e: 46bd mov sp, r7 + 8008450: f85d 7b04 ldr.w r7, [sp], #4 + 8008454: 4770 bx lr -08007dea : +08008456 : * @param epnum endpoint number * This parameter can be a value from 0 to 15 * @retval Device IN EP Interrupt register */ uint32_t USB_ReadDevInEPInterrupt(const USB_OTG_GlobalTypeDef *USBx, uint8_t epnum) { - 8007dea: b480 push {r7} - 8007dec: b087 sub sp, #28 - 8007dee: af00 add r7, sp, #0 - 8007df0: 6078 str r0, [r7, #4] - 8007df2: 460b mov r3, r1 - 8007df4: 70fb strb r3, [r7, #3] + 8008456: b480 push {r7} + 8008458: b087 sub sp, #28 + 800845a: af00 add r7, sp, #0 + 800845c: 6078 str r0, [r7, #4] + 800845e: 460b mov r3, r1 + 8008460: 70fb strb r3, [r7, #3] uint32_t USBx_BASE = (uint32_t)USBx; - 8007df6: 687b ldr r3, [r7, #4] - 8007df8: 617b str r3, [r7, #20] + 8008462: 687b ldr r3, [r7, #4] + 8008464: 617b str r3, [r7, #20] uint32_t tmpreg; uint32_t msk; uint32_t emp; msk = USBx_DEVICE->DIEPMSK; - 8007dfa: 697b ldr r3, [r7, #20] - 8007dfc: f503 6300 add.w r3, r3, #2048 @ 0x800 - 8007e00: 691b ldr r3, [r3, #16] - 8007e02: 613b str r3, [r7, #16] + 8008466: 697b ldr r3, [r7, #20] + 8008468: f503 6300 add.w r3, r3, #2048 @ 0x800 + 800846c: 691b ldr r3, [r3, #16] + 800846e: 613b str r3, [r7, #16] emp = USBx_DEVICE->DIEPEMPMSK; - 8007e04: 697b ldr r3, [r7, #20] - 8007e06: f503 6300 add.w r3, r3, #2048 @ 0x800 - 8007e0a: 6b5b ldr r3, [r3, #52] @ 0x34 - 8007e0c: 60fb str r3, [r7, #12] + 8008470: 697b ldr r3, [r7, #20] + 8008472: f503 6300 add.w r3, r3, #2048 @ 0x800 + 8008476: 6b5b ldr r3, [r3, #52] @ 0x34 + 8008478: 60fb str r3, [r7, #12] msk |= ((emp >> (epnum & EP_ADDR_MSK)) & 0x1U) << 7; - 8007e0e: 78fb ldrb r3, [r7, #3] - 8007e10: f003 030f and.w r3, r3, #15 - 8007e14: 68fa ldr r2, [r7, #12] - 8007e16: fa22 f303 lsr.w r3, r2, r3 - 8007e1a: 01db lsls r3, r3, #7 - 8007e1c: b2db uxtb r3, r3 - 8007e1e: 693a ldr r2, [r7, #16] - 8007e20: 4313 orrs r3, r2 - 8007e22: 613b str r3, [r7, #16] + 800847a: 78fb ldrb r3, [r7, #3] + 800847c: f003 030f and.w r3, r3, #15 + 8008480: 68fa ldr r2, [r7, #12] + 8008482: fa22 f303 lsr.w r3, r2, r3 + 8008486: 01db lsls r3, r3, #7 + 8008488: b2db uxtb r3, r3 + 800848a: 693a ldr r2, [r7, #16] + 800848c: 4313 orrs r3, r2 + 800848e: 613b str r3, [r7, #16] tmpreg = USBx_INEP((uint32_t)epnum)->DIEPINT & msk; - 8007e24: 78fb ldrb r3, [r7, #3] - 8007e26: 015a lsls r2, r3, #5 - 8007e28: 697b ldr r3, [r7, #20] - 8007e2a: 4413 add r3, r2 - 8007e2c: f503 6310 add.w r3, r3, #2304 @ 0x900 - 8007e30: 689b ldr r3, [r3, #8] - 8007e32: 693a ldr r2, [r7, #16] - 8007e34: 4013 ands r3, r2 - 8007e36: 60bb str r3, [r7, #8] + 8008490: 78fb ldrb r3, [r7, #3] + 8008492: 015a lsls r2, r3, #5 + 8008494: 697b ldr r3, [r7, #20] + 8008496: 4413 add r3, r2 + 8008498: f503 6310 add.w r3, r3, #2304 @ 0x900 + 800849c: 689b ldr r3, [r3, #8] + 800849e: 693a ldr r2, [r7, #16] + 80084a0: 4013 ands r3, r2 + 80084a2: 60bb str r3, [r7, #8] return tmpreg; - 8007e38: 68bb ldr r3, [r7, #8] + 80084a4: 68bb ldr r3, [r7, #8] } - 8007e3a: 4618 mov r0, r3 - 8007e3c: 371c adds r7, #28 - 8007e3e: 46bd mov sp, r7 - 8007e40: f85d 7b04 ldr.w r7, [sp], #4 - 8007e44: 4770 bx lr + 80084a6: 4618 mov r0, r3 + 80084a8: 371c adds r7, #28 + 80084aa: 46bd mov sp, r7 + 80084ac: f85d 7b04 ldr.w r7, [sp], #4 + 80084b0: 4770 bx lr -08007e46 : +080084b2 : * This parameter can be one of these values: * 1 : Host * 0 : Device */ uint32_t USB_GetMode(const USB_OTG_GlobalTypeDef *USBx) { - 8007e46: b480 push {r7} - 8007e48: b083 sub sp, #12 - 8007e4a: af00 add r7, sp, #0 - 8007e4c: 6078 str r0, [r7, #4] + 80084b2: b480 push {r7} + 80084b4: b083 sub sp, #12 + 80084b6: af00 add r7, sp, #0 + 80084b8: 6078 str r0, [r7, #4] return ((USBx->GINTSTS) & 0x1U); - 8007e4e: 687b ldr r3, [r7, #4] - 8007e50: 695b ldr r3, [r3, #20] - 8007e52: f003 0301 and.w r3, r3, #1 + 80084ba: 687b ldr r3, [r7, #4] + 80084bc: 695b ldr r3, [r3, #20] + 80084be: f003 0301 and.w r3, r3, #1 } - 8007e56: 4618 mov r0, r3 - 8007e58: 370c adds r7, #12 - 8007e5a: 46bd mov sp, r7 - 8007e5c: f85d 7b04 ldr.w r7, [sp], #4 - 8007e60: 4770 bx lr + 80084c2: 4618 mov r0, r3 + 80084c4: 370c adds r7, #12 + 80084c6: 46bd mov sp, r7 + 80084c8: f85d 7b04 ldr.w r7, [sp], #4 + 80084cc: 4770 bx lr -08007e62 : +080084ce : * @brief Activate EP0 for Setup transactions * @param USBx Selected device * @retval HAL status */ HAL_StatusTypeDef USB_ActivateSetup(const USB_OTG_GlobalTypeDef *USBx) { - 8007e62: b480 push {r7} - 8007e64: b085 sub sp, #20 - 8007e66: af00 add r7, sp, #0 - 8007e68: 6078 str r0, [r7, #4] + 80084ce: b480 push {r7} + 80084d0: b085 sub sp, #20 + 80084d2: af00 add r7, sp, #0 + 80084d4: 6078 str r0, [r7, #4] uint32_t USBx_BASE = (uint32_t)USBx; - 8007e6a: 687b ldr r3, [r7, #4] - 8007e6c: 60fb str r3, [r7, #12] + 80084d6: 687b ldr r3, [r7, #4] + 80084d8: 60fb str r3, [r7, #12] /* Set the MPS of the IN EP0 to 64 bytes */ USBx_INEP(0U)->DIEPCTL &= ~USB_OTG_DIEPCTL_MPSIZ; - 8007e6e: 68fb ldr r3, [r7, #12] - 8007e70: f503 6310 add.w r3, r3, #2304 @ 0x900 - 8007e74: 681b ldr r3, [r3, #0] - 8007e76: 68fa ldr r2, [r7, #12] - 8007e78: f502 6210 add.w r2, r2, #2304 @ 0x900 - 8007e7c: f423 63ff bic.w r3, r3, #2040 @ 0x7f8 - 8007e80: f023 0307 bic.w r3, r3, #7 - 8007e84: 6013 str r3, [r2, #0] + 80084da: 68fb ldr r3, [r7, #12] + 80084dc: f503 6310 add.w r3, r3, #2304 @ 0x900 + 80084e0: 681b ldr r3, [r3, #0] + 80084e2: 68fa ldr r2, [r7, #12] + 80084e4: f502 6210 add.w r2, r2, #2304 @ 0x900 + 80084e8: f423 63ff bic.w r3, r3, #2040 @ 0x7f8 + 80084ec: f023 0307 bic.w r3, r3, #7 + 80084f0: 6013 str r3, [r2, #0] USBx_DEVICE->DCTL |= USB_OTG_DCTL_CGINAK; - 8007e86: 68fb ldr r3, [r7, #12] - 8007e88: f503 6300 add.w r3, r3, #2048 @ 0x800 - 8007e8c: 685b ldr r3, [r3, #4] - 8007e8e: 68fa ldr r2, [r7, #12] - 8007e90: f502 6200 add.w r2, r2, #2048 @ 0x800 - 8007e94: f443 7380 orr.w r3, r3, #256 @ 0x100 - 8007e98: 6053 str r3, [r2, #4] + 80084f2: 68fb ldr r3, [r7, #12] + 80084f4: f503 6300 add.w r3, r3, #2048 @ 0x800 + 80084f8: 685b ldr r3, [r3, #4] + 80084fa: 68fa ldr r2, [r7, #12] + 80084fc: f502 6200 add.w r2, r2, #2048 @ 0x800 + 8008500: f443 7380 orr.w r3, r3, #256 @ 0x100 + 8008504: 6053 str r3, [r2, #4] return HAL_OK; - 8007e9a: 2300 movs r3, #0 + 8008506: 2300 movs r3, #0 } - 8007e9c: 4618 mov r0, r3 - 8007e9e: 3714 adds r7, #20 - 8007ea0: 46bd mov sp, r7 - 8007ea2: f85d 7b04 ldr.w r7, [sp], #4 - 8007ea6: 4770 bx lr + 8008508: 4618 mov r0, r3 + 800850a: 3714 adds r7, #20 + 800850c: 46bd mov sp, r7 + 800850e: f85d 7b04 ldr.w r7, [sp], #4 + 8008512: 4770 bx lr -08007ea8 : +08008514 : * 1 : DMA feature used * @param psetup pointer to setup packet * @retval HAL status */ HAL_StatusTypeDef USB_EP0_OutStart(const USB_OTG_GlobalTypeDef *USBx, uint8_t dma, const uint8_t *psetup) { - 8007ea8: b480 push {r7} - 8007eaa: b087 sub sp, #28 - 8007eac: af00 add r7, sp, #0 - 8007eae: 60f8 str r0, [r7, #12] - 8007eb0: 460b mov r3, r1 - 8007eb2: 607a str r2, [r7, #4] - 8007eb4: 72fb strb r3, [r7, #11] + 8008514: b480 push {r7} + 8008516: b087 sub sp, #28 + 8008518: af00 add r7, sp, #0 + 800851a: 60f8 str r0, [r7, #12] + 800851c: 460b mov r3, r1 + 800851e: 607a str r2, [r7, #4] + 8008520: 72fb strb r3, [r7, #11] uint32_t USBx_BASE = (uint32_t)USBx; - 8007eb6: 68fb ldr r3, [r7, #12] - 8007eb8: 617b str r3, [r7, #20] + 8008522: 68fb ldr r3, [r7, #12] + 8008524: 617b str r3, [r7, #20] uint32_t gSNPSiD = *(__IO const uint32_t *)(&USBx->CID + 0x1U); - 8007eba: 68fb ldr r3, [r7, #12] - 8007ebc: 333c adds r3, #60 @ 0x3c - 8007ebe: 3304 adds r3, #4 - 8007ec0: 681b ldr r3, [r3, #0] - 8007ec2: 613b str r3, [r7, #16] + 8008526: 68fb ldr r3, [r7, #12] + 8008528: 333c adds r3, #60 @ 0x3c + 800852a: 3304 adds r3, #4 + 800852c: 681b ldr r3, [r3, #0] + 800852e: 613b str r3, [r7, #16] if (gSNPSiD > USB_OTG_CORE_ID_300A) - 8007ec4: 693b ldr r3, [r7, #16] - 8007ec6: 4a26 ldr r2, [pc, #152] @ (8007f60 ) - 8007ec8: 4293 cmp r3, r2 - 8007eca: d90a bls.n 8007ee2 + 8008530: 693b ldr r3, [r7, #16] + 8008532: 4a26 ldr r2, [pc, #152] @ (80085cc ) + 8008534: 4293 cmp r3, r2 + 8008536: d90a bls.n 800854e { if ((USBx_OUTEP(0U)->DOEPCTL & USB_OTG_DOEPCTL_EPENA) == USB_OTG_DOEPCTL_EPENA) - 8007ecc: 697b ldr r3, [r7, #20] - 8007ece: f503 6330 add.w r3, r3, #2816 @ 0xb00 - 8007ed2: 681b ldr r3, [r3, #0] - 8007ed4: f003 4300 and.w r3, r3, #2147483648 @ 0x80000000 - 8007ed8: f1b3 4f00 cmp.w r3, #2147483648 @ 0x80000000 - 8007edc: d101 bne.n 8007ee2 + 8008538: 697b ldr r3, [r7, #20] + 800853a: f503 6330 add.w r3, r3, #2816 @ 0xb00 + 800853e: 681b ldr r3, [r3, #0] + 8008540: f003 4300 and.w r3, r3, #2147483648 @ 0x80000000 + 8008544: f1b3 4f00 cmp.w r3, #2147483648 @ 0x80000000 + 8008548: d101 bne.n 800854e { return HAL_OK; - 8007ede: 2300 movs r3, #0 - 8007ee0: e037 b.n 8007f52 + 800854a: 2300 movs r3, #0 + 800854c: e037 b.n 80085be } } USBx_OUTEP(0U)->DOEPTSIZ = 0U; - 8007ee2: 697b ldr r3, [r7, #20] - 8007ee4: f503 6330 add.w r3, r3, #2816 @ 0xb00 - 8007ee8: 461a mov r2, r3 - 8007eea: 2300 movs r3, #0 - 8007eec: 6113 str r3, [r2, #16] + 800854e: 697b ldr r3, [r7, #20] + 8008550: f503 6330 add.w r3, r3, #2816 @ 0xb00 + 8008554: 461a mov r2, r3 + 8008556: 2300 movs r3, #0 + 8008558: 6113 str r3, [r2, #16] USBx_OUTEP(0U)->DOEPTSIZ |= (USB_OTG_DOEPTSIZ_PKTCNT & (1U << 19)); - 8007eee: 697b ldr r3, [r7, #20] - 8007ef0: f503 6330 add.w r3, r3, #2816 @ 0xb00 - 8007ef4: 691b ldr r3, [r3, #16] - 8007ef6: 697a ldr r2, [r7, #20] - 8007ef8: f502 6230 add.w r2, r2, #2816 @ 0xb00 - 8007efc: f443 2300 orr.w r3, r3, #524288 @ 0x80000 - 8007f00: 6113 str r3, [r2, #16] + 800855a: 697b ldr r3, [r7, #20] + 800855c: f503 6330 add.w r3, r3, #2816 @ 0xb00 + 8008560: 691b ldr r3, [r3, #16] + 8008562: 697a ldr r2, [r7, #20] + 8008564: f502 6230 add.w r2, r2, #2816 @ 0xb00 + 8008568: f443 2300 orr.w r3, r3, #524288 @ 0x80000 + 800856c: 6113 str r3, [r2, #16] USBx_OUTEP(0U)->DOEPTSIZ |= (3U * 8U); - 8007f02: 697b ldr r3, [r7, #20] - 8007f04: f503 6330 add.w r3, r3, #2816 @ 0xb00 - 8007f08: 691b ldr r3, [r3, #16] - 8007f0a: 697a ldr r2, [r7, #20] - 8007f0c: f502 6230 add.w r2, r2, #2816 @ 0xb00 - 8007f10: f043 0318 orr.w r3, r3, #24 - 8007f14: 6113 str r3, [r2, #16] + 800856e: 697b ldr r3, [r7, #20] + 8008570: f503 6330 add.w r3, r3, #2816 @ 0xb00 + 8008574: 691b ldr r3, [r3, #16] + 8008576: 697a ldr r2, [r7, #20] + 8008578: f502 6230 add.w r2, r2, #2816 @ 0xb00 + 800857c: f043 0318 orr.w r3, r3, #24 + 8008580: 6113 str r3, [r2, #16] USBx_OUTEP(0U)->DOEPTSIZ |= USB_OTG_DOEPTSIZ_STUPCNT; - 8007f16: 697b ldr r3, [r7, #20] - 8007f18: f503 6330 add.w r3, r3, #2816 @ 0xb00 - 8007f1c: 691b ldr r3, [r3, #16] - 8007f1e: 697a ldr r2, [r7, #20] - 8007f20: f502 6230 add.w r2, r2, #2816 @ 0xb00 - 8007f24: f043 43c0 orr.w r3, r3, #1610612736 @ 0x60000000 - 8007f28: 6113 str r3, [r2, #16] + 8008582: 697b ldr r3, [r7, #20] + 8008584: f503 6330 add.w r3, r3, #2816 @ 0xb00 + 8008588: 691b ldr r3, [r3, #16] + 800858a: 697a ldr r2, [r7, #20] + 800858c: f502 6230 add.w r2, r2, #2816 @ 0xb00 + 8008590: f043 43c0 orr.w r3, r3, #1610612736 @ 0x60000000 + 8008594: 6113 str r3, [r2, #16] if (dma == 1U) - 8007f2a: 7afb ldrb r3, [r7, #11] - 8007f2c: 2b01 cmp r3, #1 - 8007f2e: d10f bne.n 8007f50 + 8008596: 7afb ldrb r3, [r7, #11] + 8008598: 2b01 cmp r3, #1 + 800859a: d10f bne.n 80085bc { USBx_OUTEP(0U)->DOEPDMA = (uint32_t)psetup; - 8007f30: 697b ldr r3, [r7, #20] - 8007f32: f503 6330 add.w r3, r3, #2816 @ 0xb00 - 8007f36: 461a mov r2, r3 - 8007f38: 687b ldr r3, [r7, #4] - 8007f3a: 6153 str r3, [r2, #20] + 800859c: 697b ldr r3, [r7, #20] + 800859e: f503 6330 add.w r3, r3, #2816 @ 0xb00 + 80085a2: 461a mov r2, r3 + 80085a4: 687b ldr r3, [r7, #4] + 80085a6: 6153 str r3, [r2, #20] /* EP enable */ USBx_OUTEP(0U)->DOEPCTL |= USB_OTG_DOEPCTL_EPENA | USB_OTG_DOEPCTL_USBAEP; - 8007f3c: 697b ldr r3, [r7, #20] - 8007f3e: f503 6330 add.w r3, r3, #2816 @ 0xb00 - 8007f42: 681b ldr r3, [r3, #0] - 8007f44: 697a ldr r2, [r7, #20] - 8007f46: f502 6230 add.w r2, r2, #2816 @ 0xb00 - 8007f4a: f043 2380 orr.w r3, r3, #2147516416 @ 0x80008000 - 8007f4e: 6013 str r3, [r2, #0] + 80085a8: 697b ldr r3, [r7, #20] + 80085aa: f503 6330 add.w r3, r3, #2816 @ 0xb00 + 80085ae: 681b ldr r3, [r3, #0] + 80085b0: 697a ldr r2, [r7, #20] + 80085b2: f502 6230 add.w r2, r2, #2816 @ 0xb00 + 80085b6: f043 2380 orr.w r3, r3, #2147516416 @ 0x80008000 + 80085ba: 6013 str r3, [r2, #0] } return HAL_OK; - 8007f50: 2300 movs r3, #0 + 80085bc: 2300 movs r3, #0 } - 8007f52: 4618 mov r0, r3 - 8007f54: 371c adds r7, #28 - 8007f56: 46bd mov sp, r7 - 8007f58: f85d 7b04 ldr.w r7, [sp], #4 - 8007f5c: 4770 bx lr - 8007f5e: bf00 nop - 8007f60: 4f54300a .word 0x4f54300a + 80085be: 4618 mov r0, r3 + 80085c0: 371c adds r7, #28 + 80085c2: 46bd mov sp, r7 + 80085c4: f85d 7b04 ldr.w r7, [sp], #4 + 80085c8: 4770 bx lr + 80085ca: bf00 nop + 80085cc: 4f54300a .word 0x4f54300a -08007f64 : +080085d0 : * @brief Reset the USB Core (needed after USB clock settings change) * @param USBx Selected device * @retval HAL status */ static HAL_StatusTypeDef USB_CoreReset(USB_OTG_GlobalTypeDef *USBx) { - 8007f64: b480 push {r7} - 8007f66: b085 sub sp, #20 - 8007f68: af00 add r7, sp, #0 - 8007f6a: 6078 str r0, [r7, #4] + 80085d0: b480 push {r7} + 80085d2: b085 sub sp, #20 + 80085d4: af00 add r7, sp, #0 + 80085d6: 6078 str r0, [r7, #4] __IO uint32_t count = 0U; - 8007f6c: 2300 movs r3, #0 - 8007f6e: 60fb str r3, [r7, #12] + 80085d8: 2300 movs r3, #0 + 80085da: 60fb str r3, [r7, #12] /* Wait for AHB master IDLE state. */ do { count++; - 8007f70: 68fb ldr r3, [r7, #12] - 8007f72: 3301 adds r3, #1 - 8007f74: 60fb str r3, [r7, #12] + 80085dc: 68fb ldr r3, [r7, #12] + 80085de: 3301 adds r3, #1 + 80085e0: 60fb str r3, [r7, #12] if (count > HAL_USB_TIMEOUT) - 8007f76: 68fb ldr r3, [r7, #12] - 8007f78: f1b3 6f70 cmp.w r3, #251658240 @ 0xf000000 - 8007f7c: d901 bls.n 8007f82 + 80085e2: 68fb ldr r3, [r7, #12] + 80085e4: f1b3 6f70 cmp.w r3, #251658240 @ 0xf000000 + 80085e8: d901 bls.n 80085ee { return HAL_TIMEOUT; - 8007f7e: 2303 movs r3, #3 - 8007f80: e022 b.n 8007fc8 + 80085ea: 2303 movs r3, #3 + 80085ec: e022 b.n 8008634 } } while ((USBx->GRSTCTL & USB_OTG_GRSTCTL_AHBIDL) == 0U); - 8007f82: 687b ldr r3, [r7, #4] - 8007f84: 691b ldr r3, [r3, #16] - 8007f86: 2b00 cmp r3, #0 - 8007f88: daf2 bge.n 8007f70 + 80085ee: 687b ldr r3, [r7, #4] + 80085f0: 691b ldr r3, [r3, #16] + 80085f2: 2b00 cmp r3, #0 + 80085f4: daf2 bge.n 80085dc count = 10U; - 8007f8a: 230a movs r3, #10 - 8007f8c: 60fb str r3, [r7, #12] + 80085f6: 230a movs r3, #10 + 80085f8: 60fb str r3, [r7, #12] /* few cycles before setting core reset */ while (count > 0U) - 8007f8e: e002 b.n 8007f96 + 80085fa: e002 b.n 8008602 { count--; - 8007f90: 68fb ldr r3, [r7, #12] - 8007f92: 3b01 subs r3, #1 - 8007f94: 60fb str r3, [r7, #12] + 80085fc: 68fb ldr r3, [r7, #12] + 80085fe: 3b01 subs r3, #1 + 8008600: 60fb str r3, [r7, #12] while (count > 0U) - 8007f96: 68fb ldr r3, [r7, #12] - 8007f98: 2b00 cmp r3, #0 - 8007f9a: d1f9 bne.n 8007f90 + 8008602: 68fb ldr r3, [r7, #12] + 8008604: 2b00 cmp r3, #0 + 8008606: d1f9 bne.n 80085fc } /* Core Soft Reset */ USBx->GRSTCTL |= USB_OTG_GRSTCTL_CSRST; - 8007f9c: 687b ldr r3, [r7, #4] - 8007f9e: 691b ldr r3, [r3, #16] - 8007fa0: f043 0201 orr.w r2, r3, #1 - 8007fa4: 687b ldr r3, [r7, #4] - 8007fa6: 611a str r2, [r3, #16] + 8008608: 687b ldr r3, [r7, #4] + 800860a: 691b ldr r3, [r3, #16] + 800860c: f043 0201 orr.w r2, r3, #1 + 8008610: 687b ldr r3, [r7, #4] + 8008612: 611a str r2, [r3, #16] do { count++; - 8007fa8: 68fb ldr r3, [r7, #12] - 8007faa: 3301 adds r3, #1 - 8007fac: 60fb str r3, [r7, #12] + 8008614: 68fb ldr r3, [r7, #12] + 8008616: 3301 adds r3, #1 + 8008618: 60fb str r3, [r7, #12] if (count > HAL_USB_TIMEOUT) - 8007fae: 68fb ldr r3, [r7, #12] - 8007fb0: f1b3 6f70 cmp.w r3, #251658240 @ 0xf000000 - 8007fb4: d901 bls.n 8007fba + 800861a: 68fb ldr r3, [r7, #12] + 800861c: f1b3 6f70 cmp.w r3, #251658240 @ 0xf000000 + 8008620: d901 bls.n 8008626 { return HAL_TIMEOUT; - 8007fb6: 2303 movs r3, #3 - 8007fb8: e006 b.n 8007fc8 + 8008622: 2303 movs r3, #3 + 8008624: e006 b.n 8008634 } } while ((USBx->GRSTCTL & USB_OTG_GRSTCTL_CSRST) == USB_OTG_GRSTCTL_CSRST); - 8007fba: 687b ldr r3, [r7, #4] - 8007fbc: 691b ldr r3, [r3, #16] - 8007fbe: f003 0301 and.w r3, r3, #1 - 8007fc2: 2b01 cmp r3, #1 - 8007fc4: d0f0 beq.n 8007fa8 + 8008626: 687b ldr r3, [r7, #4] + 8008628: 691b ldr r3, [r3, #16] + 800862a: f003 0301 and.w r3, r3, #1 + 800862e: 2b01 cmp r3, #1 + 8008630: d0f0 beq.n 8008614 return HAL_OK; - 8007fc6: 2300 movs r3, #0 + 8008632: 2300 movs r3, #0 } - 8007fc8: 4618 mov r0, r3 - 8007fca: 3714 adds r7, #20 - 8007fcc: 46bd mov sp, r7 - 8007fce: f85d 7b04 ldr.w r7, [sp], #4 - 8007fd2: 4770 bx lr + 8008634: 4618 mov r0, r3 + 8008636: 3714 adds r7, #20 + 8008638: 46bd mov sp, r7 + 800863a: f85d 7b04 ldr.w r7, [sp], #4 + 800863e: 4770 bx lr -08007fd4 : +08008640 : * @param pdev: device instance * @param cfgidx: Configuration index * @retval status */ static uint8_t USBD_HID_Init(USBD_HandleTypeDef *pdev, uint8_t cfgidx) { - 8007fd4: b580 push {r7, lr} - 8007fd6: b084 sub sp, #16 - 8007fd8: af00 add r7, sp, #0 - 8007fda: 6078 str r0, [r7, #4] - 8007fdc: 460b mov r3, r1 - 8007fde: 70fb strb r3, [r7, #3] + 8008640: b580 push {r7, lr} + 8008642: b084 sub sp, #16 + 8008644: af00 add r7, sp, #0 + 8008646: 6078 str r0, [r7, #4] + 8008648: 460b mov r3, r1 + 800864a: 70fb strb r3, [r7, #3] UNUSED(cfgidx); USBD_HID_HandleTypeDef *hhid; hhid = (USBD_HID_HandleTypeDef *)USBD_malloc(sizeof(USBD_HID_HandleTypeDef)); - 8007fe0: 2010 movs r0, #16 - 8007fe2: f002 f9e3 bl 800a3ac - 8007fe6: 60f8 str r0, [r7, #12] + 800864c: 2010 movs r0, #16 + 800864e: f002 f9e3 bl 800aa18 + 8008652: 60f8 str r0, [r7, #12] if (hhid == NULL) - 8007fe8: 68fb ldr r3, [r7, #12] - 8007fea: 2b00 cmp r3, #0 - 8007fec: d109 bne.n 8008002 + 8008654: 68fb ldr r3, [r7, #12] + 8008656: 2b00 cmp r3, #0 + 8008658: d109 bne.n 800866e { pdev->pClassDataCmsit[pdev->classId] = NULL; - 8007fee: 687b ldr r3, [r7, #4] - 8007ff0: f8d3 22d4 ldr.w r2, [r3, #724] @ 0x2d4 - 8007ff4: 687b ldr r3, [r7, #4] - 8007ff6: 32b0 adds r2, #176 @ 0xb0 - 8007ff8: 2100 movs r1, #0 - 8007ffa: f843 1022 str.w r1, [r3, r2, lsl #2] + 800865a: 687b ldr r3, [r7, #4] + 800865c: f8d3 22d4 ldr.w r2, [r3, #724] @ 0x2d4 + 8008660: 687b ldr r3, [r7, #4] + 8008662: 32b0 adds r2, #176 @ 0xb0 + 8008664: 2100 movs r1, #0 + 8008666: f843 1022 str.w r1, [r3, r2, lsl #2] return (uint8_t)USBD_EMEM; - 8007ffe: 2302 movs r3, #2 - 8008000: e048 b.n 8008094 + 800866a: 2302 movs r3, #2 + 800866c: e048 b.n 8008700 } pdev->pClassDataCmsit[pdev->classId] = (void *)hhid; - 8008002: 687b ldr r3, [r7, #4] - 8008004: f8d3 22d4 ldr.w r2, [r3, #724] @ 0x2d4 - 8008008: 687b ldr r3, [r7, #4] - 800800a: 32b0 adds r2, #176 @ 0xb0 - 800800c: 68f9 ldr r1, [r7, #12] - 800800e: f843 1022 str.w r1, [r3, r2, lsl #2] + 800866e: 687b ldr r3, [r7, #4] + 8008670: f8d3 22d4 ldr.w r2, [r3, #724] @ 0x2d4 + 8008674: 687b ldr r3, [r7, #4] + 8008676: 32b0 adds r2, #176 @ 0xb0 + 8008678: 68f9 ldr r1, [r7, #12] + 800867a: f843 1022 str.w r1, [r3, r2, lsl #2] pdev->pClassData = pdev->pClassDataCmsit[pdev->classId]; - 8008012: 687b ldr r3, [r7, #4] - 8008014: f8d3 22d4 ldr.w r2, [r3, #724] @ 0x2d4 - 8008018: 687b ldr r3, [r7, #4] - 800801a: 32b0 adds r2, #176 @ 0xb0 - 800801c: f853 2022 ldr.w r2, [r3, r2, lsl #2] - 8008020: 687b ldr r3, [r7, #4] - 8008022: f8c3 22bc str.w r2, [r3, #700] @ 0x2bc + 800867e: 687b ldr r3, [r7, #4] + 8008680: f8d3 22d4 ldr.w r2, [r3, #724] @ 0x2d4 + 8008684: 687b ldr r3, [r7, #4] + 8008686: 32b0 adds r2, #176 @ 0xb0 + 8008688: f853 2022 ldr.w r2, [r3, r2, lsl #2] + 800868c: 687b ldr r3, [r7, #4] + 800868e: f8c3 22bc str.w r2, [r3, #700] @ 0x2bc #ifdef USE_USBD_COMPOSITE /* Get the Endpoints addresses allocated for this class instance */ HIDInEpAdd = USBD_CoreGetEPAdd(pdev, USBD_EP_IN, USBD_EP_TYPE_INTR, (uint8_t)pdev->classId); #endif /* USE_USBD_COMPOSITE */ if (pdev->dev_speed == USBD_SPEED_HIGH) - 8008026: 687b ldr r3, [r7, #4] - 8008028: 7c1b ldrb r3, [r3, #16] - 800802a: 2b00 cmp r3, #0 - 800802c: d10d bne.n 800804a + 8008692: 687b ldr r3, [r7, #4] + 8008694: 7c1b ldrb r3, [r3, #16] + 8008696: 2b00 cmp r3, #0 + 8008698: d10d bne.n 80086b6 { pdev->ep_in[HIDInEpAdd & 0xFU].bInterval = HID_HS_BINTERVAL; - 800802e: 4b1b ldr r3, [pc, #108] @ (800809c ) - 8008030: 781b ldrb r3, [r3, #0] - 8008032: f003 020f and.w r2, r3, #15 - 8008036: 6879 ldr r1, [r7, #4] - 8008038: 4613 mov r3, r2 - 800803a: 009b lsls r3, r3, #2 - 800803c: 4413 add r3, r2 - 800803e: 009b lsls r3, r3, #2 - 8008040: 440b add r3, r1 - 8008042: 331c adds r3, #28 - 8008044: 2207 movs r2, #7 - 8008046: 601a str r2, [r3, #0] - 8008048: e00c b.n 8008064 + 800869a: 4b1b ldr r3, [pc, #108] @ (8008708 ) + 800869c: 781b ldrb r3, [r3, #0] + 800869e: f003 020f and.w r2, r3, #15 + 80086a2: 6879 ldr r1, [r7, #4] + 80086a4: 4613 mov r3, r2 + 80086a6: 009b lsls r3, r3, #2 + 80086a8: 4413 add r3, r2 + 80086aa: 009b lsls r3, r3, #2 + 80086ac: 440b add r3, r1 + 80086ae: 331c adds r3, #28 + 80086b0: 2207 movs r2, #7 + 80086b2: 601a str r2, [r3, #0] + 80086b4: e00c b.n 80086d0 } else /* LOW and FULL-speed endpoints */ { pdev->ep_in[HIDInEpAdd & 0xFU].bInterval = HID_FS_BINTERVAL; - 800804a: 4b14 ldr r3, [pc, #80] @ (800809c ) - 800804c: 781b ldrb r3, [r3, #0] - 800804e: f003 020f and.w r2, r3, #15 - 8008052: 6879 ldr r1, [r7, #4] - 8008054: 4613 mov r3, r2 - 8008056: 009b lsls r3, r3, #2 - 8008058: 4413 add r3, r2 - 800805a: 009b lsls r3, r3, #2 - 800805c: 440b add r3, r1 - 800805e: 331c adds r3, #28 - 8008060: 220a movs r2, #10 - 8008062: 601a str r2, [r3, #0] + 80086b6: 4b14 ldr r3, [pc, #80] @ (8008708 ) + 80086b8: 781b ldrb r3, [r3, #0] + 80086ba: f003 020f and.w r2, r3, #15 + 80086be: 6879 ldr r1, [r7, #4] + 80086c0: 4613 mov r3, r2 + 80086c2: 009b lsls r3, r3, #2 + 80086c4: 4413 add r3, r2 + 80086c6: 009b lsls r3, r3, #2 + 80086c8: 440b add r3, r1 + 80086ca: 331c adds r3, #28 + 80086cc: 220a movs r2, #10 + 80086ce: 601a str r2, [r3, #0] } /* Open EP IN */ (void)USBD_LL_OpenEP(pdev, HIDInEpAdd, USBD_EP_TYPE_INTR, HID_EPIN_SIZE); - 8008064: 4b0d ldr r3, [pc, #52] @ (800809c ) - 8008066: 7819 ldrb r1, [r3, #0] - 8008068: 2304 movs r3, #4 - 800806a: 2203 movs r2, #3 - 800806c: 6878 ldr r0, [r7, #4] - 800806e: f002 f83e bl 800a0ee + 80086d0: 4b0d ldr r3, [pc, #52] @ (8008708 ) + 80086d2: 7819 ldrb r1, [r3, #0] + 80086d4: 230e movs r3, #14 + 80086d6: 2203 movs r2, #3 + 80086d8: 6878 ldr r0, [r7, #4] + 80086da: f002 f83e bl 800a75a pdev->ep_in[HIDInEpAdd & 0xFU].is_used = 1U; - 8008072: 4b0a ldr r3, [pc, #40] @ (800809c ) - 8008074: 781b ldrb r3, [r3, #0] - 8008076: f003 020f and.w r2, r3, #15 - 800807a: 6879 ldr r1, [r7, #4] - 800807c: 4613 mov r3, r2 - 800807e: 009b lsls r3, r3, #2 - 8008080: 4413 add r3, r2 - 8008082: 009b lsls r3, r3, #2 - 8008084: 440b add r3, r1 - 8008086: 3323 adds r3, #35 @ 0x23 - 8008088: 2201 movs r2, #1 - 800808a: 701a strb r2, [r3, #0] + 80086de: 4b0a ldr r3, [pc, #40] @ (8008708 ) + 80086e0: 781b ldrb r3, [r3, #0] + 80086e2: f003 020f and.w r2, r3, #15 + 80086e6: 6879 ldr r1, [r7, #4] + 80086e8: 4613 mov r3, r2 + 80086ea: 009b lsls r3, r3, #2 + 80086ec: 4413 add r3, r2 + 80086ee: 009b lsls r3, r3, #2 + 80086f0: 440b add r3, r1 + 80086f2: 3323 adds r3, #35 @ 0x23 + 80086f4: 2201 movs r2, #1 + 80086f6: 701a strb r2, [r3, #0] hhid->state = USBD_HID_IDLE; - 800808c: 68fb ldr r3, [r7, #12] - 800808e: 2200 movs r2, #0 - 8008090: 731a strb r2, [r3, #12] + 80086f8: 68fb ldr r3, [r7, #12] + 80086fa: 2200 movs r2, #0 + 80086fc: 731a strb r2, [r3, #12] return (uint8_t)USBD_OK; - 8008092: 2300 movs r3, #0 + 80086fe: 2300 movs r3, #0 } - 8008094: 4618 mov r0, r3 - 8008096: 3710 adds r7, #16 - 8008098: 46bd mov sp, r7 - 800809a: bd80 pop {r7, pc} - 800809c: 2000015a .word 0x2000015a + 8008700: 4618 mov r0, r3 + 8008702: 3710 adds r7, #16 + 8008704: 46bd mov sp, r7 + 8008706: bd80 pop {r7, pc} + 8008708: 2000013d .word 0x2000013d -080080a0 : +0800870c : * @param pdev: device instance * @param cfgidx: Configuration index * @retval status */ static uint8_t USBD_HID_DeInit(USBD_HandleTypeDef *pdev, uint8_t cfgidx) { - 80080a0: b580 push {r7, lr} - 80080a2: b082 sub sp, #8 - 80080a4: af00 add r7, sp, #0 - 80080a6: 6078 str r0, [r7, #4] - 80080a8: 460b mov r3, r1 - 80080aa: 70fb strb r3, [r7, #3] + 800870c: b580 push {r7, lr} + 800870e: b082 sub sp, #8 + 8008710: af00 add r7, sp, #0 + 8008712: 6078 str r0, [r7, #4] + 8008714: 460b mov r3, r1 + 8008716: 70fb strb r3, [r7, #3] /* Get the Endpoints addresses allocated for this class instance */ HIDInEpAdd = USBD_CoreGetEPAdd(pdev, USBD_EP_IN, USBD_EP_TYPE_INTR, (uint8_t)pdev->classId); #endif /* USE_USBD_COMPOSITE */ /* Close HID EPs */ (void)USBD_LL_CloseEP(pdev, HIDInEpAdd); - 80080ac: 4b1f ldr r3, [pc, #124] @ (800812c ) - 80080ae: 781b ldrb r3, [r3, #0] - 80080b0: 4619 mov r1, r3 - 80080b2: 6878 ldr r0, [r7, #4] - 80080b4: f002 f841 bl 800a13a + 8008718: 4b1f ldr r3, [pc, #124] @ (8008798 ) + 800871a: 781b ldrb r3, [r3, #0] + 800871c: 4619 mov r1, r3 + 800871e: 6878 ldr r0, [r7, #4] + 8008720: f002 f841 bl 800a7a6 pdev->ep_in[HIDInEpAdd & 0xFU].is_used = 0U; - 80080b8: 4b1c ldr r3, [pc, #112] @ (800812c ) - 80080ba: 781b ldrb r3, [r3, #0] - 80080bc: f003 020f and.w r2, r3, #15 - 80080c0: 6879 ldr r1, [r7, #4] - 80080c2: 4613 mov r3, r2 - 80080c4: 009b lsls r3, r3, #2 - 80080c6: 4413 add r3, r2 - 80080c8: 009b lsls r3, r3, #2 - 80080ca: 440b add r3, r1 - 80080cc: 3323 adds r3, #35 @ 0x23 - 80080ce: 2200 movs r2, #0 - 80080d0: 701a strb r2, [r3, #0] + 8008724: 4b1c ldr r3, [pc, #112] @ (8008798 ) + 8008726: 781b ldrb r3, [r3, #0] + 8008728: f003 020f and.w r2, r3, #15 + 800872c: 6879 ldr r1, [r7, #4] + 800872e: 4613 mov r3, r2 + 8008730: 009b lsls r3, r3, #2 + 8008732: 4413 add r3, r2 + 8008734: 009b lsls r3, r3, #2 + 8008736: 440b add r3, r1 + 8008738: 3323 adds r3, #35 @ 0x23 + 800873a: 2200 movs r2, #0 + 800873c: 701a strb r2, [r3, #0] pdev->ep_in[HIDInEpAdd & 0xFU].bInterval = 0U; - 80080d2: 4b16 ldr r3, [pc, #88] @ (800812c ) - 80080d4: 781b ldrb r3, [r3, #0] - 80080d6: f003 020f and.w r2, r3, #15 - 80080da: 6879 ldr r1, [r7, #4] - 80080dc: 4613 mov r3, r2 - 80080de: 009b lsls r3, r3, #2 - 80080e0: 4413 add r3, r2 - 80080e2: 009b lsls r3, r3, #2 - 80080e4: 440b add r3, r1 - 80080e6: 331c adds r3, #28 - 80080e8: 2200 movs r2, #0 - 80080ea: 601a str r2, [r3, #0] + 800873e: 4b16 ldr r3, [pc, #88] @ (8008798 ) + 8008740: 781b ldrb r3, [r3, #0] + 8008742: f003 020f and.w r2, r3, #15 + 8008746: 6879 ldr r1, [r7, #4] + 8008748: 4613 mov r3, r2 + 800874a: 009b lsls r3, r3, #2 + 800874c: 4413 add r3, r2 + 800874e: 009b lsls r3, r3, #2 + 8008750: 440b add r3, r1 + 8008752: 331c adds r3, #28 + 8008754: 2200 movs r2, #0 + 8008756: 601a str r2, [r3, #0] /* Free allocated memory */ if (pdev->pClassDataCmsit[pdev->classId] != NULL) - 80080ec: 687b ldr r3, [r7, #4] - 80080ee: f8d3 22d4 ldr.w r2, [r3, #724] @ 0x2d4 - 80080f2: 687b ldr r3, [r7, #4] - 80080f4: 32b0 adds r2, #176 @ 0xb0 - 80080f6: f853 3022 ldr.w r3, [r3, r2, lsl #2] - 80080fa: 2b00 cmp r3, #0 - 80080fc: d011 beq.n 8008122 + 8008758: 687b ldr r3, [r7, #4] + 800875a: f8d3 22d4 ldr.w r2, [r3, #724] @ 0x2d4 + 800875e: 687b ldr r3, [r7, #4] + 8008760: 32b0 adds r2, #176 @ 0xb0 + 8008762: f853 3022 ldr.w r3, [r3, r2, lsl #2] + 8008766: 2b00 cmp r3, #0 + 8008768: d011 beq.n 800878e { (void)USBD_free(pdev->pClassDataCmsit[pdev->classId]); - 80080fe: 687b ldr r3, [r7, #4] - 8008100: f8d3 22d4 ldr.w r2, [r3, #724] @ 0x2d4 - 8008104: 687b ldr r3, [r7, #4] - 8008106: 32b0 adds r2, #176 @ 0xb0 - 8008108: f853 3022 ldr.w r3, [r3, r2, lsl #2] - 800810c: 4618 mov r0, r3 - 800810e: f002 f95b bl 800a3c8 + 800876a: 687b ldr r3, [r7, #4] + 800876c: f8d3 22d4 ldr.w r2, [r3, #724] @ 0x2d4 + 8008770: 687b ldr r3, [r7, #4] + 8008772: 32b0 adds r2, #176 @ 0xb0 + 8008774: f853 3022 ldr.w r3, [r3, r2, lsl #2] + 8008778: 4618 mov r0, r3 + 800877a: f002 f95b bl 800aa34 pdev->pClassDataCmsit[pdev->classId] = NULL; - 8008112: 687b ldr r3, [r7, #4] - 8008114: f8d3 22d4 ldr.w r2, [r3, #724] @ 0x2d4 - 8008118: 687b ldr r3, [r7, #4] - 800811a: 32b0 adds r2, #176 @ 0xb0 - 800811c: 2100 movs r1, #0 - 800811e: f843 1022 str.w r1, [r3, r2, lsl #2] + 800877e: 687b ldr r3, [r7, #4] + 8008780: f8d3 22d4 ldr.w r2, [r3, #724] @ 0x2d4 + 8008784: 687b ldr r3, [r7, #4] + 8008786: 32b0 adds r2, #176 @ 0xb0 + 8008788: 2100 movs r1, #0 + 800878a: f843 1022 str.w r1, [r3, r2, lsl #2] } return (uint8_t)USBD_OK; - 8008122: 2300 movs r3, #0 + 800878e: 2300 movs r3, #0 } - 8008124: 4618 mov r0, r3 - 8008126: 3708 adds r7, #8 - 8008128: 46bd mov sp, r7 - 800812a: bd80 pop {r7, pc} - 800812c: 2000015a .word 0x2000015a + 8008790: 4618 mov r0, r3 + 8008792: 3708 adds r7, #8 + 8008794: 46bd mov sp, r7 + 8008796: bd80 pop {r7, pc} + 8008798: 2000013d .word 0x2000013d -08008130 : +0800879c : * @param pdev: instance * @param req: usb requests * @retval status */ static uint8_t USBD_HID_Setup(USBD_HandleTypeDef *pdev, USBD_SetupReqTypedef *req) { - 8008130: b580 push {r7, lr} - 8008132: b086 sub sp, #24 - 8008134: af00 add r7, sp, #0 - 8008136: 6078 str r0, [r7, #4] - 8008138: 6039 str r1, [r7, #0] + 800879c: b580 push {r7, lr} + 800879e: b086 sub sp, #24 + 80087a0: af00 add r7, sp, #0 + 80087a2: 6078 str r0, [r7, #4] + 80087a4: 6039 str r1, [r7, #0] USBD_HID_HandleTypeDef *hhid = (USBD_HID_HandleTypeDef *)pdev->pClassDataCmsit[pdev->classId]; - 800813a: 687b ldr r3, [r7, #4] - 800813c: f8d3 22d4 ldr.w r2, [r3, #724] @ 0x2d4 - 8008140: 687b ldr r3, [r7, #4] - 8008142: 32b0 adds r2, #176 @ 0xb0 - 8008144: f853 3022 ldr.w r3, [r3, r2, lsl #2] - 8008148: 60fb str r3, [r7, #12] + 80087a6: 687b ldr r3, [r7, #4] + 80087a8: f8d3 22d4 ldr.w r2, [r3, #724] @ 0x2d4 + 80087ac: 687b ldr r3, [r7, #4] + 80087ae: 32b0 adds r2, #176 @ 0xb0 + 80087b0: f853 3022 ldr.w r3, [r3, r2, lsl #2] + 80087b4: 60fb str r3, [r7, #12] USBD_StatusTypeDef ret = USBD_OK; - 800814a: 2300 movs r3, #0 - 800814c: 75fb strb r3, [r7, #23] + 80087b6: 2300 movs r3, #0 + 80087b8: 75fb strb r3, [r7, #23] uint16_t len; uint8_t *pbuf; uint16_t status_info = 0U; - 800814e: 2300 movs r3, #0 - 8008150: 817b strh r3, [r7, #10] + 80087ba: 2300 movs r3, #0 + 80087bc: 817b strh r3, [r7, #10] if (hhid == NULL) - 8008152: 68fb ldr r3, [r7, #12] - 8008154: 2b00 cmp r3, #0 - 8008156: d101 bne.n 800815c + 80087be: 68fb ldr r3, [r7, #12] + 80087c0: 2b00 cmp r3, #0 + 80087c2: d101 bne.n 80087c8 { return (uint8_t)USBD_FAIL; - 8008158: 2303 movs r3, #3 - 800815a: e0e8 b.n 800832e + 80087c4: 2303 movs r3, #3 + 80087c6: e0e8 b.n 800899a } switch (req->bmRequest & USB_REQ_TYPE_MASK) - 800815c: 683b ldr r3, [r7, #0] - 800815e: 781b ldrb r3, [r3, #0] - 8008160: f003 0360 and.w r3, r3, #96 @ 0x60 - 8008164: 2b00 cmp r3, #0 - 8008166: d046 beq.n 80081f6 - 8008168: 2b20 cmp r3, #32 - 800816a: f040 80d8 bne.w 800831e + 80087c8: 683b ldr r3, [r7, #0] + 80087ca: 781b ldrb r3, [r3, #0] + 80087cc: f003 0360 and.w r3, r3, #96 @ 0x60 + 80087d0: 2b00 cmp r3, #0 + 80087d2: d046 beq.n 8008862 + 80087d4: 2b20 cmp r3, #32 + 80087d6: f040 80d8 bne.w 800898a { case USB_REQ_TYPE_CLASS : switch (req->bRequest) - 800816e: 683b ldr r3, [r7, #0] - 8008170: 785b ldrb r3, [r3, #1] - 8008172: 3b02 subs r3, #2 - 8008174: 2b09 cmp r3, #9 - 8008176: d836 bhi.n 80081e6 - 8008178: a201 add r2, pc, #4 @ (adr r2, 8008180 ) - 800817a: f852 f023 ldr.w pc, [r2, r3, lsl #2] - 800817e: bf00 nop - 8008180: 080081d7 .word 0x080081d7 - 8008184: 080081b7 .word 0x080081b7 - 8008188: 080081e7 .word 0x080081e7 - 800818c: 080081e7 .word 0x080081e7 - 8008190: 080081e7 .word 0x080081e7 - 8008194: 080081e7 .word 0x080081e7 - 8008198: 080081e7 .word 0x080081e7 - 800819c: 080081e7 .word 0x080081e7 - 80081a0: 080081c5 .word 0x080081c5 - 80081a4: 080081a9 .word 0x080081a9 + 80087da: 683b ldr r3, [r7, #0] + 80087dc: 785b ldrb r3, [r3, #1] + 80087de: 3b02 subs r3, #2 + 80087e0: 2b09 cmp r3, #9 + 80087e2: d836 bhi.n 8008852 + 80087e4: a201 add r2, pc, #4 @ (adr r2, 80087ec ) + 80087e6: f852 f023 ldr.w pc, [r2, r3, lsl #2] + 80087ea: bf00 nop + 80087ec: 08008843 .word 0x08008843 + 80087f0: 08008823 .word 0x08008823 + 80087f4: 08008853 .word 0x08008853 + 80087f8: 08008853 .word 0x08008853 + 80087fc: 08008853 .word 0x08008853 + 8008800: 08008853 .word 0x08008853 + 8008804: 08008853 .word 0x08008853 + 8008808: 08008853 .word 0x08008853 + 800880c: 08008831 .word 0x08008831 + 8008810: 08008815 .word 0x08008815 { case USBD_HID_REQ_SET_PROTOCOL: hhid->Protocol = (uint8_t)(req->wValue); - 80081a8: 683b ldr r3, [r7, #0] - 80081aa: 885b ldrh r3, [r3, #2] - 80081ac: b2db uxtb r3, r3 - 80081ae: 461a mov r2, r3 - 80081b0: 68fb ldr r3, [r7, #12] - 80081b2: 601a str r2, [r3, #0] + 8008814: 683b ldr r3, [r7, #0] + 8008816: 885b ldrh r3, [r3, #2] + 8008818: b2db uxtb r3, r3 + 800881a: 461a mov r2, r3 + 800881c: 68fb ldr r3, [r7, #12] + 800881e: 601a str r2, [r3, #0] break; - 80081b4: e01e b.n 80081f4 + 8008820: e01e b.n 8008860 case USBD_HID_REQ_GET_PROTOCOL: (void)USBD_CtlSendData(pdev, (uint8_t *)&hhid->Protocol, 1U); - 80081b6: 68fb ldr r3, [r7, #12] - 80081b8: 2201 movs r2, #1 - 80081ba: 4619 mov r1, r3 - 80081bc: 6878 ldr r0, [r7, #4] - 80081be: f001 fc25 bl 8009a0c + 8008822: 68fb ldr r3, [r7, #12] + 8008824: 2201 movs r2, #1 + 8008826: 4619 mov r1, r3 + 8008828: 6878 ldr r0, [r7, #4] + 800882a: f001 fc25 bl 800a078 break; - 80081c2: e017 b.n 80081f4 + 800882e: e017 b.n 8008860 case USBD_HID_REQ_SET_IDLE: hhid->IdleState = (uint8_t)(req->wValue >> 8); - 80081c4: 683b ldr r3, [r7, #0] - 80081c6: 885b ldrh r3, [r3, #2] - 80081c8: 0a1b lsrs r3, r3, #8 - 80081ca: b29b uxth r3, r3 - 80081cc: b2db uxtb r3, r3 - 80081ce: 461a mov r2, r3 - 80081d0: 68fb ldr r3, [r7, #12] - 80081d2: 605a str r2, [r3, #4] + 8008830: 683b ldr r3, [r7, #0] + 8008832: 885b ldrh r3, [r3, #2] + 8008834: 0a1b lsrs r3, r3, #8 + 8008836: b29b uxth r3, r3 + 8008838: b2db uxtb r3, r3 + 800883a: 461a mov r2, r3 + 800883c: 68fb ldr r3, [r7, #12] + 800883e: 605a str r2, [r3, #4] break; - 80081d4: e00e b.n 80081f4 + 8008840: e00e b.n 8008860 case USBD_HID_REQ_GET_IDLE: (void)USBD_CtlSendData(pdev, (uint8_t *)&hhid->IdleState, 1U); - 80081d6: 68fb ldr r3, [r7, #12] - 80081d8: 3304 adds r3, #4 - 80081da: 2201 movs r2, #1 - 80081dc: 4619 mov r1, r3 - 80081de: 6878 ldr r0, [r7, #4] - 80081e0: f001 fc14 bl 8009a0c + 8008842: 68fb ldr r3, [r7, #12] + 8008844: 3304 adds r3, #4 + 8008846: 2201 movs r2, #1 + 8008848: 4619 mov r1, r3 + 800884a: 6878 ldr r0, [r7, #4] + 800884c: f001 fc14 bl 800a078 break; - 80081e4: e006 b.n 80081f4 + 8008850: e006 b.n 8008860 default: USBD_CtlError(pdev, req); - 80081e6: 6839 ldr r1, [r7, #0] - 80081e8: 6878 ldr r0, [r7, #4] - 80081ea: f001 fb92 bl 8009912 + 8008852: 6839 ldr r1, [r7, #0] + 8008854: 6878 ldr r0, [r7, #4] + 8008856: f001 fb92 bl 8009f7e ret = USBD_FAIL; - 80081ee: 2303 movs r3, #3 - 80081f0: 75fb strb r3, [r7, #23] + 800885a: 2303 movs r3, #3 + 800885c: 75fb strb r3, [r7, #23] break; - 80081f2: bf00 nop + 800885e: bf00 nop } break; - 80081f4: e09a b.n 800832c + 8008860: e09a b.n 8008998 case USB_REQ_TYPE_STANDARD: switch (req->bRequest) - 80081f6: 683b ldr r3, [r7, #0] - 80081f8: 785b ldrb r3, [r3, #1] - 80081fa: 2b0b cmp r3, #11 - 80081fc: f200 8086 bhi.w 800830c - 8008200: a201 add r2, pc, #4 @ (adr r2, 8008208 ) - 8008202: f852 f023 ldr.w pc, [r2, r3, lsl #2] - 8008206: bf00 nop - 8008208: 08008239 .word 0x08008239 - 800820c: 0800831b .word 0x0800831b - 8008210: 0800830d .word 0x0800830d - 8008214: 0800830d .word 0x0800830d - 8008218: 0800830d .word 0x0800830d - 800821c: 0800830d .word 0x0800830d - 8008220: 08008263 .word 0x08008263 - 8008224: 0800830d .word 0x0800830d - 8008228: 0800830d .word 0x0800830d - 800822c: 0800830d .word 0x0800830d - 8008230: 080082bb .word 0x080082bb - 8008234: 080082e5 .word 0x080082e5 + 8008862: 683b ldr r3, [r7, #0] + 8008864: 785b ldrb r3, [r3, #1] + 8008866: 2b0b cmp r3, #11 + 8008868: f200 8086 bhi.w 8008978 + 800886c: a201 add r2, pc, #4 @ (adr r2, 8008874 ) + 800886e: f852 f023 ldr.w pc, [r2, r3, lsl #2] + 8008872: bf00 nop + 8008874: 080088a5 .word 0x080088a5 + 8008878: 08008987 .word 0x08008987 + 800887c: 08008979 .word 0x08008979 + 8008880: 08008979 .word 0x08008979 + 8008884: 08008979 .word 0x08008979 + 8008888: 08008979 .word 0x08008979 + 800888c: 080088cf .word 0x080088cf + 8008890: 08008979 .word 0x08008979 + 8008894: 08008979 .word 0x08008979 + 8008898: 08008979 .word 0x08008979 + 800889c: 08008927 .word 0x08008927 + 80088a0: 08008951 .word 0x08008951 { case USB_REQ_GET_STATUS: if (pdev->dev_state == USBD_STATE_CONFIGURED) - 8008238: 687b ldr r3, [r7, #4] - 800823a: f893 329c ldrb.w r3, [r3, #668] @ 0x29c - 800823e: b2db uxtb r3, r3 - 8008240: 2b03 cmp r3, #3 - 8008242: d107 bne.n 8008254 + 80088a4: 687b ldr r3, [r7, #4] + 80088a6: f893 329c ldrb.w r3, [r3, #668] @ 0x29c + 80088aa: b2db uxtb r3, r3 + 80088ac: 2b03 cmp r3, #3 + 80088ae: d107 bne.n 80088c0 { (void)USBD_CtlSendData(pdev, (uint8_t *)&status_info, 2U); - 8008244: f107 030a add.w r3, r7, #10 - 8008248: 2202 movs r2, #2 - 800824a: 4619 mov r1, r3 - 800824c: 6878 ldr r0, [r7, #4] - 800824e: f001 fbdd bl 8009a0c + 80088b0: f107 030a add.w r3, r7, #10 + 80088b4: 2202 movs r2, #2 + 80088b6: 4619 mov r1, r3 + 80088b8: 6878 ldr r0, [r7, #4] + 80088ba: f001 fbdd bl 800a078 else { USBD_CtlError(pdev, req); ret = USBD_FAIL; } break; - 8008252: e063 b.n 800831c + 80088be: e063 b.n 8008988 USBD_CtlError(pdev, req); - 8008254: 6839 ldr r1, [r7, #0] - 8008256: 6878 ldr r0, [r7, #4] - 8008258: f001 fb5b bl 8009912 + 80088c0: 6839 ldr r1, [r7, #0] + 80088c2: 6878 ldr r0, [r7, #4] + 80088c4: f001 fb5b bl 8009f7e ret = USBD_FAIL; - 800825c: 2303 movs r3, #3 - 800825e: 75fb strb r3, [r7, #23] + 80088c8: 2303 movs r3, #3 + 80088ca: 75fb strb r3, [r7, #23] break; - 8008260: e05c b.n 800831c + 80088cc: e05c b.n 8008988 case USB_REQ_GET_DESCRIPTOR: if ((req->wValue >> 8) == HID_REPORT_DESC) - 8008262: 683b ldr r3, [r7, #0] - 8008264: 885b ldrh r3, [r3, #2] - 8008266: 0a1b lsrs r3, r3, #8 - 8008268: b29b uxth r3, r3 - 800826a: 2b22 cmp r3, #34 @ 0x22 - 800826c: d108 bne.n 8008280 + 80088ce: 683b ldr r3, [r7, #0] + 80088d0: 885b ldrh r3, [r3, #2] + 80088d2: 0a1b lsrs r3, r3, #8 + 80088d4: b29b uxth r3, r3 + 80088d6: 2b22 cmp r3, #34 @ 0x22 + 80088d8: d108 bne.n 80088ec { len = MIN(HID_MOUSE_REPORT_DESC_SIZE, req->wLength); - 800826e: 683b ldr r3, [r7, #0] - 8008270: 88db ldrh r3, [r3, #6] - 8008272: 2b4a cmp r3, #74 @ 0x4a - 8008274: bf28 it cs - 8008276: 234a movcs r3, #74 @ 0x4a - 8008278: 82bb strh r3, [r7, #20] + 80088da: 683b ldr r3, [r7, #0] + 80088dc: 88db ldrh r3, [r3, #6] + 80088de: 2b2d cmp r3, #45 @ 0x2d + 80088e0: bf28 it cs + 80088e2: 232d movcs r3, #45 @ 0x2d + 80088e4: 82bb strh r3, [r7, #20] pbuf = HID_MOUSE_ReportDesc; - 800827a: 4b2f ldr r3, [pc, #188] @ (8008338 ) - 800827c: 613b str r3, [r7, #16] - 800827e: e015 b.n 80082ac + 80088e6: 4b2f ldr r3, [pc, #188] @ (80089a4 ) + 80088e8: 613b str r3, [r7, #16] + 80088ea: e015 b.n 8008918 } else if ((req->wValue >> 8) == HID_DESCRIPTOR_TYPE) - 8008280: 683b ldr r3, [r7, #0] - 8008282: 885b ldrh r3, [r3, #2] - 8008284: 0a1b lsrs r3, r3, #8 - 8008286: b29b uxth r3, r3 - 8008288: 2b21 cmp r3, #33 @ 0x21 - 800828a: d108 bne.n 800829e + 80088ec: 683b ldr r3, [r7, #0] + 80088ee: 885b ldrh r3, [r3, #2] + 80088f0: 0a1b lsrs r3, r3, #8 + 80088f2: b29b uxth r3, r3 + 80088f4: 2b21 cmp r3, #33 @ 0x21 + 80088f6: d108 bne.n 800890a { pbuf = USBD_HID_Desc; - 800828c: 4b2b ldr r3, [pc, #172] @ (800833c ) - 800828e: 613b str r3, [r7, #16] + 80088f8: 4b2b ldr r3, [pc, #172] @ (80089a8 ) + 80088fa: 613b str r3, [r7, #16] len = MIN(USB_HID_DESC_SIZ, req->wLength); - 8008290: 683b ldr r3, [r7, #0] - 8008292: 88db ldrh r3, [r3, #6] - 8008294: 2b09 cmp r3, #9 - 8008296: bf28 it cs - 8008298: 2309 movcs r3, #9 - 800829a: 82bb strh r3, [r7, #20] - 800829c: e006 b.n 80082ac + 80088fc: 683b ldr r3, [r7, #0] + 80088fe: 88db ldrh r3, [r3, #6] + 8008900: 2b09 cmp r3, #9 + 8008902: bf28 it cs + 8008904: 2309 movcs r3, #9 + 8008906: 82bb strh r3, [r7, #20] + 8008908: e006 b.n 8008918 } else { USBD_CtlError(pdev, req); - 800829e: 6839 ldr r1, [r7, #0] - 80082a0: 6878 ldr r0, [r7, #4] - 80082a2: f001 fb36 bl 8009912 + 800890a: 6839 ldr r1, [r7, #0] + 800890c: 6878 ldr r0, [r7, #4] + 800890e: f001 fb36 bl 8009f7e ret = USBD_FAIL; - 80082a6: 2303 movs r3, #3 - 80082a8: 75fb strb r3, [r7, #23] + 8008912: 2303 movs r3, #3 + 8008914: 75fb strb r3, [r7, #23] break; - 80082aa: e037 b.n 800831c + 8008916: e037 b.n 8008988 } (void)USBD_CtlSendData(pdev, pbuf, len); - 80082ac: 8abb ldrh r3, [r7, #20] - 80082ae: 461a mov r2, r3 - 80082b0: 6939 ldr r1, [r7, #16] - 80082b2: 6878 ldr r0, [r7, #4] - 80082b4: f001 fbaa bl 8009a0c + 8008918: 8abb ldrh r3, [r7, #20] + 800891a: 461a mov r2, r3 + 800891c: 6939 ldr r1, [r7, #16] + 800891e: 6878 ldr r0, [r7, #4] + 8008920: f001 fbaa bl 800a078 break; - 80082b8: e030 b.n 800831c + 8008924: e030 b.n 8008988 case USB_REQ_GET_INTERFACE : if (pdev->dev_state == USBD_STATE_CONFIGURED) - 80082ba: 687b ldr r3, [r7, #4] - 80082bc: f893 329c ldrb.w r3, [r3, #668] @ 0x29c - 80082c0: b2db uxtb r3, r3 - 80082c2: 2b03 cmp r3, #3 - 80082c4: d107 bne.n 80082d6 + 8008926: 687b ldr r3, [r7, #4] + 8008928: f893 329c ldrb.w r3, [r3, #668] @ 0x29c + 800892c: b2db uxtb r3, r3 + 800892e: 2b03 cmp r3, #3 + 8008930: d107 bne.n 8008942 { (void)USBD_CtlSendData(pdev, (uint8_t *)&hhid->AltSetting, 1U); - 80082c6: 68fb ldr r3, [r7, #12] - 80082c8: 3308 adds r3, #8 - 80082ca: 2201 movs r2, #1 - 80082cc: 4619 mov r1, r3 - 80082ce: 6878 ldr r0, [r7, #4] - 80082d0: f001 fb9c bl 8009a0c + 8008932: 68fb ldr r3, [r7, #12] + 8008934: 3308 adds r3, #8 + 8008936: 2201 movs r2, #1 + 8008938: 4619 mov r1, r3 + 800893a: 6878 ldr r0, [r7, #4] + 800893c: f001 fb9c bl 800a078 else { USBD_CtlError(pdev, req); ret = USBD_FAIL; } break; - 80082d4: e022 b.n 800831c + 8008940: e022 b.n 8008988 USBD_CtlError(pdev, req); - 80082d6: 6839 ldr r1, [r7, #0] - 80082d8: 6878 ldr r0, [r7, #4] - 80082da: f001 fb1a bl 8009912 + 8008942: 6839 ldr r1, [r7, #0] + 8008944: 6878 ldr r0, [r7, #4] + 8008946: f001 fb1a bl 8009f7e ret = USBD_FAIL; - 80082de: 2303 movs r3, #3 - 80082e0: 75fb strb r3, [r7, #23] + 800894a: 2303 movs r3, #3 + 800894c: 75fb strb r3, [r7, #23] break; - 80082e2: e01b b.n 800831c + 800894e: e01b b.n 8008988 case USB_REQ_SET_INTERFACE: if (pdev->dev_state == USBD_STATE_CONFIGURED) - 80082e4: 687b ldr r3, [r7, #4] - 80082e6: f893 329c ldrb.w r3, [r3, #668] @ 0x29c - 80082ea: b2db uxtb r3, r3 - 80082ec: 2b03 cmp r3, #3 - 80082ee: d106 bne.n 80082fe + 8008950: 687b ldr r3, [r7, #4] + 8008952: f893 329c ldrb.w r3, [r3, #668] @ 0x29c + 8008956: b2db uxtb r3, r3 + 8008958: 2b03 cmp r3, #3 + 800895a: d106 bne.n 800896a { hhid->AltSetting = (uint8_t)(req->wValue); - 80082f0: 683b ldr r3, [r7, #0] - 80082f2: 885b ldrh r3, [r3, #2] - 80082f4: b2db uxtb r3, r3 - 80082f6: 461a mov r2, r3 - 80082f8: 68fb ldr r3, [r7, #12] - 80082fa: 609a str r2, [r3, #8] + 800895c: 683b ldr r3, [r7, #0] + 800895e: 885b ldrh r3, [r3, #2] + 8008960: b2db uxtb r3, r3 + 8008962: 461a mov r2, r3 + 8008964: 68fb ldr r3, [r7, #12] + 8008966: 609a str r2, [r3, #8] else { USBD_CtlError(pdev, req); ret = USBD_FAIL; } break; - 80082fc: e00e b.n 800831c + 8008968: e00e b.n 8008988 USBD_CtlError(pdev, req); - 80082fe: 6839 ldr r1, [r7, #0] - 8008300: 6878 ldr r0, [r7, #4] - 8008302: f001 fb06 bl 8009912 + 800896a: 6839 ldr r1, [r7, #0] + 800896c: 6878 ldr r0, [r7, #4] + 800896e: f001 fb06 bl 8009f7e ret = USBD_FAIL; - 8008306: 2303 movs r3, #3 - 8008308: 75fb strb r3, [r7, #23] + 8008972: 2303 movs r3, #3 + 8008974: 75fb strb r3, [r7, #23] break; - 800830a: e007 b.n 800831c + 8008976: e007 b.n 8008988 case USB_REQ_CLEAR_FEATURE: break; default: USBD_CtlError(pdev, req); - 800830c: 6839 ldr r1, [r7, #0] - 800830e: 6878 ldr r0, [r7, #4] - 8008310: f001 faff bl 8009912 + 8008978: 6839 ldr r1, [r7, #0] + 800897a: 6878 ldr r0, [r7, #4] + 800897c: f001 faff bl 8009f7e ret = USBD_FAIL; - 8008314: 2303 movs r3, #3 - 8008316: 75fb strb r3, [r7, #23] + 8008980: 2303 movs r3, #3 + 8008982: 75fb strb r3, [r7, #23] break; - 8008318: e000 b.n 800831c + 8008984: e000 b.n 8008988 break; - 800831a: bf00 nop + 8008986: bf00 nop } break; - 800831c: e006 b.n 800832c + 8008988: e006 b.n 8008998 default: USBD_CtlError(pdev, req); - 800831e: 6839 ldr r1, [r7, #0] - 8008320: 6878 ldr r0, [r7, #4] - 8008322: f001 faf6 bl 8009912 + 800898a: 6839 ldr r1, [r7, #0] + 800898c: 6878 ldr r0, [r7, #4] + 800898e: f001 faf6 bl 8009f7e ret = USBD_FAIL; - 8008326: 2303 movs r3, #3 - 8008328: 75fb strb r3, [r7, #23] + 8008992: 2303 movs r3, #3 + 8008994: 75fb strb r3, [r7, #23] break; - 800832a: bf00 nop + 8008996: bf00 nop } return (uint8_t)ret; - 800832c: 7dfb ldrb r3, [r7, #23] + 8008998: 7dfb ldrb r3, [r7, #23] } - 800832e: 4618 mov r0, r3 - 8008330: 3718 adds r7, #24 - 8008332: 46bd mov sp, r7 - 8008334: bd80 pop {r7, pc} - 8008336: bf00 nop - 8008338: 20000110 .word 0x20000110 - 800833c: 200000f8 .word 0x200000f8 + 800899a: 4618 mov r0, r3 + 800899c: 3718 adds r7, #24 + 800899e: 46bd mov sp, r7 + 80089a0: bd80 pop {r7, pc} + 80089a2: bf00 nop + 80089a4: 20000110 .word 0x20000110 + 80089a8: 200000f8 .word 0x200000f8 -08008340 : +080089ac : uint8_t USBD_HID_SendReport(USBD_HandleTypeDef *pdev, uint8_t *report, uint16_t len, uint8_t ClassId) { USBD_HID_HandleTypeDef *hhid = (USBD_HID_HandleTypeDef *)pdev->pClassDataCmsit[ClassId]; #else uint8_t USBD_HID_SendReport(USBD_HandleTypeDef *pdev, uint8_t *report, uint16_t len) { - 8008340: b580 push {r7, lr} - 8008342: b086 sub sp, #24 - 8008344: af00 add r7, sp, #0 - 8008346: 60f8 str r0, [r7, #12] - 8008348: 60b9 str r1, [r7, #8] - 800834a: 4613 mov r3, r2 - 800834c: 80fb strh r3, [r7, #6] + 80089ac: b580 push {r7, lr} + 80089ae: b086 sub sp, #24 + 80089b0: af00 add r7, sp, #0 + 80089b2: 60f8 str r0, [r7, #12] + 80089b4: 60b9 str r1, [r7, #8] + 80089b6: 4613 mov r3, r2 + 80089b8: 80fb strh r3, [r7, #6] USBD_HID_HandleTypeDef *hhid = (USBD_HID_HandleTypeDef *)pdev->pClassDataCmsit[pdev->classId]; - 800834e: 68fb ldr r3, [r7, #12] - 8008350: f8d3 22d4 ldr.w r2, [r3, #724] @ 0x2d4 - 8008354: 68fb ldr r3, [r7, #12] - 8008356: 32b0 adds r2, #176 @ 0xb0 - 8008358: f853 3022 ldr.w r3, [r3, r2, lsl #2] - 800835c: 617b str r3, [r7, #20] + 80089ba: 68fb ldr r3, [r7, #12] + 80089bc: f8d3 22d4 ldr.w r2, [r3, #724] @ 0x2d4 + 80089c0: 68fb ldr r3, [r7, #12] + 80089c2: 32b0 adds r2, #176 @ 0xb0 + 80089c4: f853 3022 ldr.w r3, [r3, r2, lsl #2] + 80089c8: 617b str r3, [r7, #20] #endif /* USE_USBD_COMPOSITE */ if (hhid == NULL) - 800835e: 697b ldr r3, [r7, #20] - 8008360: 2b00 cmp r3, #0 - 8008362: d101 bne.n 8008368 + 80089ca: 697b ldr r3, [r7, #20] + 80089cc: 2b00 cmp r3, #0 + 80089ce: d101 bne.n 80089d4 { return (uint8_t)USBD_FAIL; - 8008364: 2303 movs r3, #3 - 8008366: e014 b.n 8008392 + 80089d0: 2303 movs r3, #3 + 80089d2: e014 b.n 80089fe #ifdef USE_USBD_COMPOSITE /* Get the Endpoints addresses allocated for this class instance */ HIDInEpAdd = USBD_CoreGetEPAdd(pdev, USBD_EP_IN, USBD_EP_TYPE_INTR, ClassId); #endif /* USE_USBD_COMPOSITE */ if (pdev->dev_state == USBD_STATE_CONFIGURED) - 8008368: 68fb ldr r3, [r7, #12] - 800836a: f893 329c ldrb.w r3, [r3, #668] @ 0x29c - 800836e: b2db uxtb r3, r3 - 8008370: 2b03 cmp r3, #3 - 8008372: d10d bne.n 8008390 + 80089d4: 68fb ldr r3, [r7, #12] + 80089d6: f893 329c ldrb.w r3, [r3, #668] @ 0x29c + 80089da: b2db uxtb r3, r3 + 80089dc: 2b03 cmp r3, #3 + 80089de: d10d bne.n 80089fc { if (hhid->state == USBD_HID_IDLE) - 8008374: 697b ldr r3, [r7, #20] - 8008376: 7b1b ldrb r3, [r3, #12] - 8008378: 2b00 cmp r3, #0 - 800837a: d109 bne.n 8008390 + 80089e0: 697b ldr r3, [r7, #20] + 80089e2: 7b1b ldrb r3, [r3, #12] + 80089e4: 2b00 cmp r3, #0 + 80089e6: d109 bne.n 80089fc { hhid->state = USBD_HID_BUSY; - 800837c: 697b ldr r3, [r7, #20] - 800837e: 2201 movs r2, #1 - 8008380: 731a strb r2, [r3, #12] + 80089e8: 697b ldr r3, [r7, #20] + 80089ea: 2201 movs r2, #1 + 80089ec: 731a strb r2, [r3, #12] (void)USBD_LL_Transmit(pdev, HIDInEpAdd, report, len); - 8008382: 4b06 ldr r3, [pc, #24] @ (800839c ) - 8008384: 7819 ldrb r1, [r3, #0] - 8008386: 88fb ldrh r3, [r7, #6] - 8008388: 68ba ldr r2, [r7, #8] - 800838a: 68f8 ldr r0, [r7, #12] - 800838c: f001 ff7d bl 800a28a + 80089ee: 4b06 ldr r3, [pc, #24] @ (8008a08 ) + 80089f0: 7819 ldrb r1, [r3, #0] + 80089f2: 88fb ldrh r3, [r7, #6] + 80089f4: 68ba ldr r2, [r7, #8] + 80089f6: 68f8 ldr r0, [r7, #12] + 80089f8: f001 ff7d bl 800a8f6 } } return (uint8_t)USBD_OK; - 8008390: 2300 movs r3, #0 + 80089fc: 2300 movs r3, #0 } - 8008392: 4618 mov r0, r3 - 8008394: 3718 adds r7, #24 - 8008396: 46bd mov sp, r7 - 8008398: bd80 pop {r7, pc} - 800839a: bf00 nop - 800839c: 2000015a .word 0x2000015a + 80089fe: 4618 mov r0, r3 + 8008a00: 3718 adds r7, #24 + 8008a02: 46bd mov sp, r7 + 8008a04: bd80 pop {r7, pc} + 8008a06: bf00 nop + 8008a08: 2000013d .word 0x2000013d -080083a0 : +08008a0c : * @param speed : current device speed * @param length : pointer data length * @retval pointer to descriptor buffer */ static uint8_t *USBD_HID_GetFSCfgDesc(uint16_t *length) { - 80083a0: b580 push {r7, lr} - 80083a2: b084 sub sp, #16 - 80083a4: af00 add r7, sp, #0 - 80083a6: 6078 str r0, [r7, #4] + 8008a0c: b580 push {r7, lr} + 8008a0e: b084 sub sp, #16 + 8008a10: af00 add r7, sp, #0 + 8008a12: 6078 str r0, [r7, #4] USBD_EpDescTypeDef *pEpDesc = USBD_GetEpDesc(USBD_HID_CfgDesc, HID_EPIN_ADDR); - 80083a8: 2181 movs r1, #129 @ 0x81 - 80083aa: 4809 ldr r0, [pc, #36] @ (80083d0 ) - 80083ac: f000 fc4e bl 8008c4c - 80083b0: 60f8 str r0, [r7, #12] + 8008a14: 2181 movs r1, #129 @ 0x81 + 8008a16: 4809 ldr r0, [pc, #36] @ (8008a3c ) + 8008a18: f000 fc4e bl 80092b8 + 8008a1c: 60f8 str r0, [r7, #12] if (pEpDesc != NULL) - 80083b2: 68fb ldr r3, [r7, #12] - 80083b4: 2b00 cmp r3, #0 - 80083b6: d002 beq.n 80083be + 8008a1e: 68fb ldr r3, [r7, #12] + 8008a20: 2b00 cmp r3, #0 + 8008a22: d002 beq.n 8008a2a { pEpDesc->bInterval = HID_FS_BINTERVAL; - 80083b8: 68fb ldr r3, [r7, #12] - 80083ba: 220a movs r2, #10 - 80083bc: 719a strb r2, [r3, #6] + 8008a24: 68fb ldr r3, [r7, #12] + 8008a26: 220a movs r2, #10 + 8008a28: 719a strb r2, [r3, #6] } *length = (uint16_t)sizeof(USBD_HID_CfgDesc); - 80083be: 687b ldr r3, [r7, #4] - 80083c0: 2222 movs r2, #34 @ 0x22 - 80083c2: 801a strh r2, [r3, #0] + 8008a2a: 687b ldr r3, [r7, #4] + 8008a2c: 2222 movs r2, #34 @ 0x22 + 8008a2e: 801a strh r2, [r3, #0] return USBD_HID_CfgDesc; - 80083c4: 4b02 ldr r3, [pc, #8] @ (80083d0 ) + 8008a30: 4b02 ldr r3, [pc, #8] @ (8008a3c ) } - 80083c6: 4618 mov r0, r3 - 80083c8: 3710 adds r7, #16 - 80083ca: 46bd mov sp, r7 - 80083cc: bd80 pop {r7, pc} - 80083ce: bf00 nop - 80083d0: 200000d4 .word 0x200000d4 + 8008a32: 4618 mov r0, r3 + 8008a34: 3710 adds r7, #16 + 8008a36: 46bd mov sp, r7 + 8008a38: bd80 pop {r7, pc} + 8008a3a: bf00 nop + 8008a3c: 200000d4 .word 0x200000d4 -080083d4 : +08008a40 : * @param speed : current device speed * @param length : pointer data length * @retval pointer to descriptor buffer */ static uint8_t *USBD_HID_GetHSCfgDesc(uint16_t *length) { - 80083d4: b580 push {r7, lr} - 80083d6: b084 sub sp, #16 - 80083d8: af00 add r7, sp, #0 - 80083da: 6078 str r0, [r7, #4] + 8008a40: b580 push {r7, lr} + 8008a42: b084 sub sp, #16 + 8008a44: af00 add r7, sp, #0 + 8008a46: 6078 str r0, [r7, #4] USBD_EpDescTypeDef *pEpDesc = USBD_GetEpDesc(USBD_HID_CfgDesc, HID_EPIN_ADDR); - 80083dc: 2181 movs r1, #129 @ 0x81 - 80083de: 4809 ldr r0, [pc, #36] @ (8008404 ) - 80083e0: f000 fc34 bl 8008c4c - 80083e4: 60f8 str r0, [r7, #12] + 8008a48: 2181 movs r1, #129 @ 0x81 + 8008a4a: 4809 ldr r0, [pc, #36] @ (8008a70 ) + 8008a4c: f000 fc34 bl 80092b8 + 8008a50: 60f8 str r0, [r7, #12] if (pEpDesc != NULL) - 80083e6: 68fb ldr r3, [r7, #12] - 80083e8: 2b00 cmp r3, #0 - 80083ea: d002 beq.n 80083f2 + 8008a52: 68fb ldr r3, [r7, #12] + 8008a54: 2b00 cmp r3, #0 + 8008a56: d002 beq.n 8008a5e { pEpDesc->bInterval = HID_HS_BINTERVAL; - 80083ec: 68fb ldr r3, [r7, #12] - 80083ee: 2207 movs r2, #7 - 80083f0: 719a strb r2, [r3, #6] + 8008a58: 68fb ldr r3, [r7, #12] + 8008a5a: 2207 movs r2, #7 + 8008a5c: 719a strb r2, [r3, #6] } *length = (uint16_t)sizeof(USBD_HID_CfgDesc); - 80083f2: 687b ldr r3, [r7, #4] - 80083f4: 2222 movs r2, #34 @ 0x22 - 80083f6: 801a strh r2, [r3, #0] + 8008a5e: 687b ldr r3, [r7, #4] + 8008a60: 2222 movs r2, #34 @ 0x22 + 8008a62: 801a strh r2, [r3, #0] return USBD_HID_CfgDesc; - 80083f8: 4b02 ldr r3, [pc, #8] @ (8008404 ) + 8008a64: 4b02 ldr r3, [pc, #8] @ (8008a70 ) } - 80083fa: 4618 mov r0, r3 - 80083fc: 3710 adds r7, #16 - 80083fe: 46bd mov sp, r7 - 8008400: bd80 pop {r7, pc} - 8008402: bf00 nop - 8008404: 200000d4 .word 0x200000d4 + 8008a66: 4618 mov r0, r3 + 8008a68: 3710 adds r7, #16 + 8008a6a: 46bd mov sp, r7 + 8008a6c: bd80 pop {r7, pc} + 8008a6e: bf00 nop + 8008a70: 200000d4 .word 0x200000d4 -08008408 : +08008a74 : * @param speed : current device speed * @param length : pointer data length * @retval pointer to descriptor buffer */ static uint8_t *USBD_HID_GetOtherSpeedCfgDesc(uint16_t *length) { - 8008408: b580 push {r7, lr} - 800840a: b084 sub sp, #16 - 800840c: af00 add r7, sp, #0 - 800840e: 6078 str r0, [r7, #4] + 8008a74: b580 push {r7, lr} + 8008a76: b084 sub sp, #16 + 8008a78: af00 add r7, sp, #0 + 8008a7a: 6078 str r0, [r7, #4] USBD_EpDescTypeDef *pEpDesc = USBD_GetEpDesc(USBD_HID_CfgDesc, HID_EPIN_ADDR); - 8008410: 2181 movs r1, #129 @ 0x81 - 8008412: 4809 ldr r0, [pc, #36] @ (8008438 ) - 8008414: f000 fc1a bl 8008c4c - 8008418: 60f8 str r0, [r7, #12] + 8008a7c: 2181 movs r1, #129 @ 0x81 + 8008a7e: 4809 ldr r0, [pc, #36] @ (8008aa4 ) + 8008a80: f000 fc1a bl 80092b8 + 8008a84: 60f8 str r0, [r7, #12] if (pEpDesc != NULL) - 800841a: 68fb ldr r3, [r7, #12] - 800841c: 2b00 cmp r3, #0 - 800841e: d002 beq.n 8008426 + 8008a86: 68fb ldr r3, [r7, #12] + 8008a88: 2b00 cmp r3, #0 + 8008a8a: d002 beq.n 8008a92 { pEpDesc->bInterval = HID_FS_BINTERVAL; - 8008420: 68fb ldr r3, [r7, #12] - 8008422: 220a movs r2, #10 - 8008424: 719a strb r2, [r3, #6] + 8008a8c: 68fb ldr r3, [r7, #12] + 8008a8e: 220a movs r2, #10 + 8008a90: 719a strb r2, [r3, #6] } *length = (uint16_t)sizeof(USBD_HID_CfgDesc); - 8008426: 687b ldr r3, [r7, #4] - 8008428: 2222 movs r2, #34 @ 0x22 - 800842a: 801a strh r2, [r3, #0] + 8008a92: 687b ldr r3, [r7, #4] + 8008a94: 2222 movs r2, #34 @ 0x22 + 8008a96: 801a strh r2, [r3, #0] return USBD_HID_CfgDesc; - 800842c: 4b02 ldr r3, [pc, #8] @ (8008438 ) + 8008a98: 4b02 ldr r3, [pc, #8] @ (8008aa4 ) } - 800842e: 4618 mov r0, r3 - 8008430: 3710 adds r7, #16 - 8008432: 46bd mov sp, r7 - 8008434: bd80 pop {r7, pc} - 8008436: bf00 nop - 8008438: 200000d4 .word 0x200000d4 + 8008a9a: 4618 mov r0, r3 + 8008a9c: 3710 adds r7, #16 + 8008a9e: 46bd mov sp, r7 + 8008aa0: bd80 pop {r7, pc} + 8008aa2: bf00 nop + 8008aa4: 200000d4 .word 0x200000d4 -0800843c : +08008aa8 : * @param pdev: device instance * @param epnum: endpoint index * @retval status */ static uint8_t USBD_HID_DataIn(USBD_HandleTypeDef *pdev, uint8_t epnum) { - 800843c: b480 push {r7} - 800843e: b083 sub sp, #12 - 8008440: af00 add r7, sp, #0 - 8008442: 6078 str r0, [r7, #4] - 8008444: 460b mov r3, r1 - 8008446: 70fb strb r3, [r7, #3] + 8008aa8: b480 push {r7} + 8008aaa: b083 sub sp, #12 + 8008aac: af00 add r7, sp, #0 + 8008aae: 6078 str r0, [r7, #4] + 8008ab0: 460b mov r3, r1 + 8008ab2: 70fb strb r3, [r7, #3] UNUSED(epnum); /* Ensure that the FIFO is empty before a new transfer, this condition could be caused by a new transfer before the end of the previous transfer */ ((USBD_HID_HandleTypeDef *)pdev->pClassDataCmsit[pdev->classId])->state = USBD_HID_IDLE; - 8008448: 687b ldr r3, [r7, #4] - 800844a: f8d3 22d4 ldr.w r2, [r3, #724] @ 0x2d4 - 800844e: 687b ldr r3, [r7, #4] - 8008450: 32b0 adds r2, #176 @ 0xb0 - 8008452: f853 3022 ldr.w r3, [r3, r2, lsl #2] - 8008456: 2200 movs r2, #0 - 8008458: 731a strb r2, [r3, #12] + 8008ab4: 687b ldr r3, [r7, #4] + 8008ab6: f8d3 22d4 ldr.w r2, [r3, #724] @ 0x2d4 + 8008aba: 687b ldr r3, [r7, #4] + 8008abc: 32b0 adds r2, #176 @ 0xb0 + 8008abe: f853 3022 ldr.w r3, [r3, r2, lsl #2] + 8008ac2: 2200 movs r2, #0 + 8008ac4: 731a strb r2, [r3, #12] return (uint8_t)USBD_OK; - 800845a: 2300 movs r3, #0 + 8008ac6: 2300 movs r3, #0 } - 800845c: 4618 mov r0, r3 - 800845e: 370c adds r7, #12 - 8008460: 46bd mov sp, r7 - 8008462: f85d 7b04 ldr.w r7, [sp], #4 - 8008466: 4770 bx lr + 8008ac8: 4618 mov r0, r3 + 8008aca: 370c adds r7, #12 + 8008acc: 46bd mov sp, r7 + 8008ace: f85d 7b04 ldr.w r7, [sp], #4 + 8008ad2: 4770 bx lr -08008468 : +08008ad4 : * return Device Qualifier descriptor * @param length : pointer data length * @retval pointer to descriptor buffer */ static uint8_t *USBD_HID_GetDeviceQualifierDesc(uint16_t *length) { - 8008468: b480 push {r7} - 800846a: b083 sub sp, #12 - 800846c: af00 add r7, sp, #0 - 800846e: 6078 str r0, [r7, #4] + 8008ad4: b480 push {r7} + 8008ad6: b083 sub sp, #12 + 8008ad8: af00 add r7, sp, #0 + 8008ada: 6078 str r0, [r7, #4] *length = (uint16_t)sizeof(USBD_HID_DeviceQualifierDesc); - 8008470: 687b ldr r3, [r7, #4] - 8008472: 220a movs r2, #10 - 8008474: 801a strh r2, [r3, #0] + 8008adc: 687b ldr r3, [r7, #4] + 8008ade: 220a movs r2, #10 + 8008ae0: 801a strh r2, [r3, #0] return USBD_HID_DeviceQualifierDesc; - 8008476: 4b03 ldr r3, [pc, #12] @ (8008484 ) + 8008ae2: 4b03 ldr r3, [pc, #12] @ (8008af0 ) } - 8008478: 4618 mov r0, r3 - 800847a: 370c adds r7, #12 - 800847c: 46bd mov sp, r7 - 800847e: f85d 7b04 ldr.w r7, [sp], #4 - 8008482: 4770 bx lr - 8008484: 20000104 .word 0x20000104 + 8008ae4: 4618 mov r0, r3 + 8008ae6: 370c adds r7, #12 + 8008ae8: 46bd mov sp, r7 + 8008aea: f85d 7b04 ldr.w r7, [sp], #4 + 8008aee: 4770 bx lr + 8008af0: 20000104 .word 0x20000104 -08008488 : +08008af4 : * @param id: Low level core index * @retval status: USBD Status */ USBD_StatusTypeDef USBD_Init(USBD_HandleTypeDef *pdev, USBD_DescriptorsTypeDef *pdesc, uint8_t id) { - 8008488: b580 push {r7, lr} - 800848a: b086 sub sp, #24 - 800848c: af00 add r7, sp, #0 - 800848e: 60f8 str r0, [r7, #12] - 8008490: 60b9 str r1, [r7, #8] - 8008492: 4613 mov r3, r2 - 8008494: 71fb strb r3, [r7, #7] + 8008af4: b580 push {r7, lr} + 8008af6: b086 sub sp, #24 + 8008af8: af00 add r7, sp, #0 + 8008afa: 60f8 str r0, [r7, #12] + 8008afc: 60b9 str r1, [r7, #8] + 8008afe: 4613 mov r3, r2 + 8008b00: 71fb strb r3, [r7, #7] USBD_StatusTypeDef ret; /* Check whether the USB Host handle is valid */ if (pdev == NULL) - 8008496: 68fb ldr r3, [r7, #12] - 8008498: 2b00 cmp r3, #0 - 800849a: d101 bne.n 80084a0 + 8008b02: 68fb ldr r3, [r7, #12] + 8008b04: 2b00 cmp r3, #0 + 8008b06: d101 bne.n 8008b0c { #if (USBD_DEBUG_LEVEL > 1U) USBD_ErrLog("Invalid Device handle"); #endif /* (USBD_DEBUG_LEVEL > 1U) */ return USBD_FAIL; - 800849c: 2303 movs r3, #3 - 800849e: e01f b.n 80084e0 + 8008b08: 2303 movs r3, #3 + 8008b0a: e01f b.n 8008b4c pdev->NumClasses = 0; pdev->classId = 0; } #else /* Unlink previous class*/ pdev->pClass[0] = NULL; - 80084a0: 68fb ldr r3, [r7, #12] - 80084a2: 2200 movs r2, #0 - 80084a4: f8c3 22b8 str.w r2, [r3, #696] @ 0x2b8 + 8008b0c: 68fb ldr r3, [r7, #12] + 8008b0e: 2200 movs r2, #0 + 8008b10: f8c3 22b8 str.w r2, [r3, #696] @ 0x2b8 pdev->pUserData[0] = NULL; - 80084a8: 68fb ldr r3, [r7, #12] - 80084aa: 2200 movs r2, #0 - 80084ac: f8c3 22c4 str.w r2, [r3, #708] @ 0x2c4 + 8008b14: 68fb ldr r3, [r7, #12] + 8008b16: 2200 movs r2, #0 + 8008b18: f8c3 22c4 str.w r2, [r3, #708] @ 0x2c4 #endif /* USE_USBD_COMPOSITE */ pdev->pConfDesc = NULL; - 80084b0: 68fb ldr r3, [r7, #12] - 80084b2: 2200 movs r2, #0 - 80084b4: f8c3 22d0 str.w r2, [r3, #720] @ 0x2d0 + 8008b1c: 68fb ldr r3, [r7, #12] + 8008b1e: 2200 movs r2, #0 + 8008b20: f8c3 22d0 str.w r2, [r3, #720] @ 0x2d0 /* Assign USBD Descriptors */ if (pdesc != NULL) - 80084b8: 68bb ldr r3, [r7, #8] - 80084ba: 2b00 cmp r3, #0 - 80084bc: d003 beq.n 80084c6 + 8008b24: 68bb ldr r3, [r7, #8] + 8008b26: 2b00 cmp r3, #0 + 8008b28: d003 beq.n 8008b32 { pdev->pDesc = pdesc; - 80084be: 68fb ldr r3, [r7, #12] - 80084c0: 68ba ldr r2, [r7, #8] - 80084c2: f8c3 22b4 str.w r2, [r3, #692] @ 0x2b4 + 8008b2a: 68fb ldr r3, [r7, #12] + 8008b2c: 68ba ldr r2, [r7, #8] + 8008b2e: f8c3 22b4 str.w r2, [r3, #692] @ 0x2b4 } /* Set Device initial State */ pdev->dev_state = USBD_STATE_DEFAULT; - 80084c6: 68fb ldr r3, [r7, #12] - 80084c8: 2201 movs r2, #1 - 80084ca: f883 229c strb.w r2, [r3, #668] @ 0x29c + 8008b32: 68fb ldr r3, [r7, #12] + 8008b34: 2201 movs r2, #1 + 8008b36: f883 229c strb.w r2, [r3, #668] @ 0x29c pdev->id = id; - 80084ce: 68fb ldr r3, [r7, #12] - 80084d0: 79fa ldrb r2, [r7, #7] - 80084d2: 701a strb r2, [r3, #0] + 8008b3a: 68fb ldr r3, [r7, #12] + 8008b3c: 79fa ldrb r2, [r7, #7] + 8008b3e: 701a strb r2, [r3, #0] /* Initialize low level driver */ ret = USBD_LL_Init(pdev); - 80084d4: 68f8 ldr r0, [r7, #12] - 80084d6: f001 fda3 bl 800a020 - 80084da: 4603 mov r3, r0 - 80084dc: 75fb strb r3, [r7, #23] + 8008b40: 68f8 ldr r0, [r7, #12] + 8008b42: f001 fda3 bl 800a68c + 8008b46: 4603 mov r3, r0 + 8008b48: 75fb strb r3, [r7, #23] return ret; - 80084de: 7dfb ldrb r3, [r7, #23] + 8008b4a: 7dfb ldrb r3, [r7, #23] } - 80084e0: 4618 mov r0, r3 - 80084e2: 3718 adds r7, #24 - 80084e4: 46bd mov sp, r7 - 80084e6: bd80 pop {r7, pc} + 8008b4c: 4618 mov r0, r3 + 8008b4e: 3718 adds r7, #24 + 8008b50: 46bd mov sp, r7 + 8008b52: bd80 pop {r7, pc} -080084e8 : +08008b54 : * @param pdev: Device Handle * @param pclass: Class handle * @retval USBD Status */ USBD_StatusTypeDef USBD_RegisterClass(USBD_HandleTypeDef *pdev, USBD_ClassTypeDef *pclass) { - 80084e8: b580 push {r7, lr} - 80084ea: b084 sub sp, #16 - 80084ec: af00 add r7, sp, #0 - 80084ee: 6078 str r0, [r7, #4] - 80084f0: 6039 str r1, [r7, #0] + 8008b54: b580 push {r7, lr} + 8008b56: b084 sub sp, #16 + 8008b58: af00 add r7, sp, #0 + 8008b5a: 6078 str r0, [r7, #4] + 8008b5c: 6039 str r1, [r7, #0] uint16_t len = 0U; - 80084f2: 2300 movs r3, #0 - 80084f4: 81fb strh r3, [r7, #14] + 8008b5e: 2300 movs r3, #0 + 8008b60: 81fb strh r3, [r7, #14] if (pclass == NULL) - 80084f6: 683b ldr r3, [r7, #0] - 80084f8: 2b00 cmp r3, #0 - 80084fa: d101 bne.n 8008500 + 8008b62: 683b ldr r3, [r7, #0] + 8008b64: 2b00 cmp r3, #0 + 8008b66: d101 bne.n 8008b6c { #if (USBD_DEBUG_LEVEL > 1U) USBD_ErrLog("Invalid Class handle"); #endif /* (USBD_DEBUG_LEVEL > 1U) */ return USBD_FAIL; - 80084fc: 2303 movs r3, #3 - 80084fe: e025 b.n 800854c + 8008b68: 2303 movs r3, #3 + 8008b6a: e025 b.n 8008bb8 } /* link the class to the USB Device handle */ pdev->pClass[0] = pclass; - 8008500: 687b ldr r3, [r7, #4] - 8008502: 683a ldr r2, [r7, #0] - 8008504: f8c3 22b8 str.w r2, [r3, #696] @ 0x2b8 + 8008b6c: 687b ldr r3, [r7, #4] + 8008b6e: 683a ldr r2, [r7, #0] + 8008b70: f8c3 22b8 str.w r2, [r3, #696] @ 0x2b8 if (pdev->pClass[pdev->classId]->GetHSConfigDescriptor != NULL) { pdev->pConfDesc = (void *)pdev->pClass[pdev->classId]->GetHSConfigDescriptor(&len); } #else /* Default USE_USB_FS */ if (pdev->pClass[pdev->classId]->GetFSConfigDescriptor != NULL) - 8008508: 687b ldr r3, [r7, #4] - 800850a: f8d3 22d4 ldr.w r2, [r3, #724] @ 0x2d4 - 800850e: 687b ldr r3, [r7, #4] - 8008510: 32ae adds r2, #174 @ 0xae - 8008512: f853 3022 ldr.w r3, [r3, r2, lsl #2] - 8008516: 6adb ldr r3, [r3, #44] @ 0x2c - 8008518: 2b00 cmp r3, #0 - 800851a: d00f beq.n 800853c + 8008b74: 687b ldr r3, [r7, #4] + 8008b76: f8d3 22d4 ldr.w r2, [r3, #724] @ 0x2d4 + 8008b7a: 687b ldr r3, [r7, #4] + 8008b7c: 32ae adds r2, #174 @ 0xae + 8008b7e: f853 3022 ldr.w r3, [r3, r2, lsl #2] + 8008b82: 6adb ldr r3, [r3, #44] @ 0x2c + 8008b84: 2b00 cmp r3, #0 + 8008b86: d00f beq.n 8008ba8 { pdev->pConfDesc = (void *)pdev->pClass[pdev->classId]->GetFSConfigDescriptor(&len); - 800851c: 687b ldr r3, [r7, #4] - 800851e: f8d3 22d4 ldr.w r2, [r3, #724] @ 0x2d4 - 8008522: 687b ldr r3, [r7, #4] - 8008524: 32ae adds r2, #174 @ 0xae - 8008526: f853 3022 ldr.w r3, [r3, r2, lsl #2] - 800852a: 6adb ldr r3, [r3, #44] @ 0x2c - 800852c: f107 020e add.w r2, r7, #14 - 8008530: 4610 mov r0, r2 - 8008532: 4798 blx r3 - 8008534: 4602 mov r2, r0 - 8008536: 687b ldr r3, [r7, #4] - 8008538: f8c3 22d0 str.w r2, [r3, #720] @ 0x2d0 + 8008b88: 687b ldr r3, [r7, #4] + 8008b8a: f8d3 22d4 ldr.w r2, [r3, #724] @ 0x2d4 + 8008b8e: 687b ldr r3, [r7, #4] + 8008b90: 32ae adds r2, #174 @ 0xae + 8008b92: f853 3022 ldr.w r3, [r3, r2, lsl #2] + 8008b96: 6adb ldr r3, [r3, #44] @ 0x2c + 8008b98: f107 020e add.w r2, r7, #14 + 8008b9c: 4610 mov r0, r2 + 8008b9e: 4798 blx r3 + 8008ba0: 4602 mov r2, r0 + 8008ba2: 687b ldr r3, [r7, #4] + 8008ba4: f8c3 22d0 str.w r2, [r3, #720] @ 0x2d0 } #endif /* USE_USB_FS */ /* Increment the NumClasses */ pdev->NumClasses++; - 800853c: 687b ldr r3, [r7, #4] - 800853e: f8d3 32d8 ldr.w r3, [r3, #728] @ 0x2d8 - 8008542: 1c5a adds r2, r3, #1 - 8008544: 687b ldr r3, [r7, #4] - 8008546: f8c3 22d8 str.w r2, [r3, #728] @ 0x2d8 + 8008ba8: 687b ldr r3, [r7, #4] + 8008baa: f8d3 32d8 ldr.w r3, [r3, #728] @ 0x2d8 + 8008bae: 1c5a adds r2, r3, #1 + 8008bb0: 687b ldr r3, [r7, #4] + 8008bb2: f8c3 22d8 str.w r2, [r3, #728] @ 0x2d8 return USBD_OK; - 800854a: 2300 movs r3, #0 + 8008bb6: 2300 movs r3, #0 } - 800854c: 4618 mov r0, r3 - 800854e: 3710 adds r7, #16 - 8008550: 46bd mov sp, r7 - 8008552: bd80 pop {r7, pc} + 8008bb8: 4618 mov r0, r3 + 8008bba: 3710 adds r7, #16 + 8008bbc: 46bd mov sp, r7 + 8008bbe: bd80 pop {r7, pc} -08008554 : +08008bc0 : * Start the USB Device Core. * @param pdev: Device Handle * @retval USBD Status */ USBD_StatusTypeDef USBD_Start(USBD_HandleTypeDef *pdev) { - 8008554: b580 push {r7, lr} - 8008556: b082 sub sp, #8 - 8008558: af00 add r7, sp, #0 - 800855a: 6078 str r0, [r7, #4] + 8008bc0: b580 push {r7, lr} + 8008bc2: b082 sub sp, #8 + 8008bc4: af00 add r7, sp, #0 + 8008bc6: 6078 str r0, [r7, #4] #ifdef USE_USBD_COMPOSITE pdev->classId = 0U; #endif /* USE_USBD_COMPOSITE */ /* Start the low level driver */ return USBD_LL_Start(pdev); - 800855c: 6878 ldr r0, [r7, #4] - 800855e: f001 fdab bl 800a0b8 - 8008562: 4603 mov r3, r0 + 8008bc8: 6878 ldr r0, [r7, #4] + 8008bca: f001 fdab bl 800a724 + 8008bce: 4603 mov r3, r0 } - 8008564: 4618 mov r0, r3 - 8008566: 3708 adds r7, #8 - 8008568: 46bd mov sp, r7 - 800856a: bd80 pop {r7, pc} + 8008bd0: 4618 mov r0, r3 + 8008bd2: 3708 adds r7, #8 + 8008bd4: 46bd mov sp, r7 + 8008bd6: bd80 pop {r7, pc} -0800856c : +08008bd8 : * Launch test mode process * @param pdev: device instance * @retval status */ USBD_StatusTypeDef USBD_RunTestMode(USBD_HandleTypeDef *pdev) { - 800856c: b480 push {r7} - 800856e: b083 sub sp, #12 - 8008570: af00 add r7, sp, #0 - 8008572: 6078 str r0, [r7, #4] + 8008bd8: b480 push {r7} + 8008bda: b083 sub sp, #12 + 8008bdc: af00 add r7, sp, #0 + 8008bde: 6078 str r0, [r7, #4] return ret; #else /* Prevent unused argument compilation warning */ UNUSED(pdev); return USBD_OK; - 8008574: 2300 movs r3, #0 + 8008be0: 2300 movs r3, #0 #endif /* USBD_HS_TESTMODE_ENABLE */ } - 8008576: 4618 mov r0, r3 - 8008578: 370c adds r7, #12 - 800857a: 46bd mov sp, r7 - 800857c: f85d 7b04 ldr.w r7, [sp], #4 - 8008580: 4770 bx lr + 8008be2: 4618 mov r0, r3 + 8008be4: 370c adds r7, #12 + 8008be6: 46bd mov sp, r7 + 8008be8: f85d 7b04 ldr.w r7, [sp], #4 + 8008bec: 4770 bx lr -08008582 : +08008bee : * @param cfgidx: configuration index * @retval status */ USBD_StatusTypeDef USBD_SetClassConfig(USBD_HandleTypeDef *pdev, uint8_t cfgidx) { - 8008582: b580 push {r7, lr} - 8008584: b084 sub sp, #16 - 8008586: af00 add r7, sp, #0 - 8008588: 6078 str r0, [r7, #4] - 800858a: 460b mov r3, r1 - 800858c: 70fb strb r3, [r7, #3] + 8008bee: b580 push {r7, lr} + 8008bf0: b084 sub sp, #16 + 8008bf2: af00 add r7, sp, #0 + 8008bf4: 6078 str r0, [r7, #4] + 8008bf6: 460b mov r3, r1 + 8008bf8: 70fb strb r3, [r7, #3] USBD_StatusTypeDef ret = USBD_OK; - 800858e: 2300 movs r3, #0 - 8008590: 73fb strb r3, [r7, #15] + 8008bfa: 2300 movs r3, #0 + 8008bfc: 73fb strb r3, [r7, #15] } } } } #else if (pdev->pClass[0] != NULL) - 8008592: 687b ldr r3, [r7, #4] - 8008594: f8d3 32b8 ldr.w r3, [r3, #696] @ 0x2b8 - 8008598: 2b00 cmp r3, #0 - 800859a: d009 beq.n 80085b0 + 8008bfe: 687b ldr r3, [r7, #4] + 8008c00: f8d3 32b8 ldr.w r3, [r3, #696] @ 0x2b8 + 8008c04: 2b00 cmp r3, #0 + 8008c06: d009 beq.n 8008c1c { /* Set configuration and Start the Class */ ret = (USBD_StatusTypeDef)pdev->pClass[0]->Init(pdev, cfgidx); - 800859c: 687b ldr r3, [r7, #4] - 800859e: f8d3 32b8 ldr.w r3, [r3, #696] @ 0x2b8 - 80085a2: 681b ldr r3, [r3, #0] - 80085a4: 78fa ldrb r2, [r7, #3] - 80085a6: 4611 mov r1, r2 - 80085a8: 6878 ldr r0, [r7, #4] - 80085aa: 4798 blx r3 - 80085ac: 4603 mov r3, r0 - 80085ae: 73fb strb r3, [r7, #15] + 8008c08: 687b ldr r3, [r7, #4] + 8008c0a: f8d3 32b8 ldr.w r3, [r3, #696] @ 0x2b8 + 8008c0e: 681b ldr r3, [r3, #0] + 8008c10: 78fa ldrb r2, [r7, #3] + 8008c12: 4611 mov r1, r2 + 8008c14: 6878 ldr r0, [r7, #4] + 8008c16: 4798 blx r3 + 8008c18: 4603 mov r3, r0 + 8008c1a: 73fb strb r3, [r7, #15] } #endif /* USE_USBD_COMPOSITE */ return ret; - 80085b0: 7bfb ldrb r3, [r7, #15] + 8008c1c: 7bfb ldrb r3, [r7, #15] } - 80085b2: 4618 mov r0, r3 - 80085b4: 3710 adds r7, #16 - 80085b6: 46bd mov sp, r7 - 80085b8: bd80 pop {r7, pc} + 8008c1e: 4618 mov r0, r3 + 8008c20: 3710 adds r7, #16 + 8008c22: 46bd mov sp, r7 + 8008c24: bd80 pop {r7, pc} -080085ba : +08008c26 : * @param pdev: device instance * @param cfgidx: configuration index * @retval status */ USBD_StatusTypeDef USBD_ClrClassConfig(USBD_HandleTypeDef *pdev, uint8_t cfgidx) { - 80085ba: b580 push {r7, lr} - 80085bc: b084 sub sp, #16 - 80085be: af00 add r7, sp, #0 - 80085c0: 6078 str r0, [r7, #4] - 80085c2: 460b mov r3, r1 - 80085c4: 70fb strb r3, [r7, #3] + 8008c26: b580 push {r7, lr} + 8008c28: b084 sub sp, #16 + 8008c2a: af00 add r7, sp, #0 + 8008c2c: 6078 str r0, [r7, #4] + 8008c2e: 460b mov r3, r1 + 8008c30: 70fb strb r3, [r7, #3] USBD_StatusTypeDef ret = USBD_OK; - 80085c6: 2300 movs r3, #0 - 80085c8: 73fb strb r3, [r7, #15] + 8008c32: 2300 movs r3, #0 + 8008c34: 73fb strb r3, [r7, #15] } } } #else /* Clear configuration and De-initialize the Class process */ if (pdev->pClass[0]->DeInit(pdev, cfgidx) != 0U) - 80085ca: 687b ldr r3, [r7, #4] - 80085cc: f8d3 32b8 ldr.w r3, [r3, #696] @ 0x2b8 - 80085d0: 685b ldr r3, [r3, #4] - 80085d2: 78fa ldrb r2, [r7, #3] - 80085d4: 4611 mov r1, r2 - 80085d6: 6878 ldr r0, [r7, #4] - 80085d8: 4798 blx r3 - 80085da: 4603 mov r3, r0 - 80085dc: 2b00 cmp r3, #0 - 80085de: d001 beq.n 80085e4 + 8008c36: 687b ldr r3, [r7, #4] + 8008c38: f8d3 32b8 ldr.w r3, [r3, #696] @ 0x2b8 + 8008c3c: 685b ldr r3, [r3, #4] + 8008c3e: 78fa ldrb r2, [r7, #3] + 8008c40: 4611 mov r1, r2 + 8008c42: 6878 ldr r0, [r7, #4] + 8008c44: 4798 blx r3 + 8008c46: 4603 mov r3, r0 + 8008c48: 2b00 cmp r3, #0 + 8008c4a: d001 beq.n 8008c50 { ret = USBD_FAIL; - 80085e0: 2303 movs r3, #3 - 80085e2: 73fb strb r3, [r7, #15] + 8008c4c: 2303 movs r3, #3 + 8008c4e: 73fb strb r3, [r7, #15] } #endif /* USE_USBD_COMPOSITE */ return ret; - 80085e4: 7bfb ldrb r3, [r7, #15] + 8008c50: 7bfb ldrb r3, [r7, #15] } - 80085e6: 4618 mov r0, r3 - 80085e8: 3710 adds r7, #16 - 80085ea: 46bd mov sp, r7 - 80085ec: bd80 pop {r7, pc} + 8008c52: 4618 mov r0, r3 + 8008c54: 3710 adds r7, #16 + 8008c56: 46bd mov sp, r7 + 8008c58: bd80 pop {r7, pc} -080085ee : +08008c5a : * @param pdev: device instance * @param psetup: setup packet buffer pointer * @retval status */ USBD_StatusTypeDef USBD_LL_SetupStage(USBD_HandleTypeDef *pdev, uint8_t *psetup) { - 80085ee: b580 push {r7, lr} - 80085f0: b084 sub sp, #16 - 80085f2: af00 add r7, sp, #0 - 80085f4: 6078 str r0, [r7, #4] - 80085f6: 6039 str r1, [r7, #0] + 8008c5a: b580 push {r7, lr} + 8008c5c: b084 sub sp, #16 + 8008c5e: af00 add r7, sp, #0 + 8008c60: 6078 str r0, [r7, #4] + 8008c62: 6039 str r1, [r7, #0] USBD_StatusTypeDef ret; USBD_ParseSetupRequest(&pdev->request, psetup); - 80085f8: 687b ldr r3, [r7, #4] - 80085fa: f203 23aa addw r3, r3, #682 @ 0x2aa - 80085fe: 6839 ldr r1, [r7, #0] - 8008600: 4618 mov r0, r3 - 8008602: f001 f94c bl 800989e + 8008c64: 687b ldr r3, [r7, #4] + 8008c66: f203 23aa addw r3, r3, #682 @ 0x2aa + 8008c6a: 6839 ldr r1, [r7, #0] + 8008c6c: 4618 mov r0, r3 + 8008c6e: f001 f94c bl 8009f0a pdev->ep0_state = USBD_EP0_SETUP; - 8008606: 687b ldr r3, [r7, #4] - 8008608: 2201 movs r2, #1 - 800860a: f8c3 2294 str.w r2, [r3, #660] @ 0x294 + 8008c72: 687b ldr r3, [r7, #4] + 8008c74: 2201 movs r2, #1 + 8008c76: f8c3 2294 str.w r2, [r3, #660] @ 0x294 pdev->ep0_data_len = pdev->request.wLength; - 800860e: 687b ldr r3, [r7, #4] - 8008610: f8b3 32b0 ldrh.w r3, [r3, #688] @ 0x2b0 - 8008614: 461a mov r2, r3 - 8008616: 687b ldr r3, [r7, #4] - 8008618: f8c3 2298 str.w r2, [r3, #664] @ 0x298 + 8008c7a: 687b ldr r3, [r7, #4] + 8008c7c: f8b3 32b0 ldrh.w r3, [r3, #688] @ 0x2b0 + 8008c80: 461a mov r2, r3 + 8008c82: 687b ldr r3, [r7, #4] + 8008c84: f8c3 2298 str.w r2, [r3, #664] @ 0x298 switch (pdev->request.bmRequest & 0x1FU) - 800861c: 687b ldr r3, [r7, #4] - 800861e: f893 32aa ldrb.w r3, [r3, #682] @ 0x2aa - 8008622: f003 031f and.w r3, r3, #31 - 8008626: 2b02 cmp r3, #2 - 8008628: d01a beq.n 8008660 - 800862a: 2b02 cmp r3, #2 - 800862c: d822 bhi.n 8008674 - 800862e: 2b00 cmp r3, #0 - 8008630: d002 beq.n 8008638 - 8008632: 2b01 cmp r3, #1 - 8008634: d00a beq.n 800864c - 8008636: e01d b.n 8008674 + 8008c88: 687b ldr r3, [r7, #4] + 8008c8a: f893 32aa ldrb.w r3, [r3, #682] @ 0x2aa + 8008c8e: f003 031f and.w r3, r3, #31 + 8008c92: 2b02 cmp r3, #2 + 8008c94: d01a beq.n 8008ccc + 8008c96: 2b02 cmp r3, #2 + 8008c98: d822 bhi.n 8008ce0 + 8008c9a: 2b00 cmp r3, #0 + 8008c9c: d002 beq.n 8008ca4 + 8008c9e: 2b01 cmp r3, #1 + 8008ca0: d00a beq.n 8008cb8 + 8008ca2: e01d b.n 8008ce0 { case USB_REQ_RECIPIENT_DEVICE: ret = USBD_StdDevReq(pdev, &pdev->request); - 8008638: 687b ldr r3, [r7, #4] - 800863a: f203 23aa addw r3, r3, #682 @ 0x2aa - 800863e: 4619 mov r1, r3 - 8008640: 6878 ldr r0, [r7, #4] - 8008642: f000 fb77 bl 8008d34 - 8008646: 4603 mov r3, r0 - 8008648: 73fb strb r3, [r7, #15] + 8008ca4: 687b ldr r3, [r7, #4] + 8008ca6: f203 23aa addw r3, r3, #682 @ 0x2aa + 8008caa: 4619 mov r1, r3 + 8008cac: 6878 ldr r0, [r7, #4] + 8008cae: f000 fb77 bl 80093a0 + 8008cb2: 4603 mov r3, r0 + 8008cb4: 73fb strb r3, [r7, #15] break; - 800864a: e020 b.n 800868e + 8008cb6: e020 b.n 8008cfa case USB_REQ_RECIPIENT_INTERFACE: ret = USBD_StdItfReq(pdev, &pdev->request); - 800864c: 687b ldr r3, [r7, #4] - 800864e: f203 23aa addw r3, r3, #682 @ 0x2aa - 8008652: 4619 mov r1, r3 - 8008654: 6878 ldr r0, [r7, #4] - 8008656: f000 fbdf bl 8008e18 - 800865a: 4603 mov r3, r0 - 800865c: 73fb strb r3, [r7, #15] + 8008cb8: 687b ldr r3, [r7, #4] + 8008cba: f203 23aa addw r3, r3, #682 @ 0x2aa + 8008cbe: 4619 mov r1, r3 + 8008cc0: 6878 ldr r0, [r7, #4] + 8008cc2: f000 fbdf bl 8009484 + 8008cc6: 4603 mov r3, r0 + 8008cc8: 73fb strb r3, [r7, #15] break; - 800865e: e016 b.n 800868e + 8008cca: e016 b.n 8008cfa case USB_REQ_RECIPIENT_ENDPOINT: ret = USBD_StdEPReq(pdev, &pdev->request); - 8008660: 687b ldr r3, [r7, #4] - 8008662: f203 23aa addw r3, r3, #682 @ 0x2aa - 8008666: 4619 mov r1, r3 - 8008668: 6878 ldr r0, [r7, #4] - 800866a: f000 fc41 bl 8008ef0 - 800866e: 4603 mov r3, r0 - 8008670: 73fb strb r3, [r7, #15] + 8008ccc: 687b ldr r3, [r7, #4] + 8008cce: f203 23aa addw r3, r3, #682 @ 0x2aa + 8008cd2: 4619 mov r1, r3 + 8008cd4: 6878 ldr r0, [r7, #4] + 8008cd6: f000 fc41 bl 800955c + 8008cda: 4603 mov r3, r0 + 8008cdc: 73fb strb r3, [r7, #15] break; - 8008672: e00c b.n 800868e + 8008cde: e00c b.n 8008cfa default: ret = USBD_LL_StallEP(pdev, (pdev->request.bmRequest & 0x80U)); - 8008674: 687b ldr r3, [r7, #4] - 8008676: f893 32aa ldrb.w r3, [r3, #682] @ 0x2aa - 800867a: f023 037f bic.w r3, r3, #127 @ 0x7f - 800867e: b2db uxtb r3, r3 - 8008680: 4619 mov r1, r3 - 8008682: 6878 ldr r0, [r7, #4] - 8008684: f001 fd78 bl 800a178 - 8008688: 4603 mov r3, r0 - 800868a: 73fb strb r3, [r7, #15] + 8008ce0: 687b ldr r3, [r7, #4] + 8008ce2: f893 32aa ldrb.w r3, [r3, #682] @ 0x2aa + 8008ce6: f023 037f bic.w r3, r3, #127 @ 0x7f + 8008cea: b2db uxtb r3, r3 + 8008cec: 4619 mov r1, r3 + 8008cee: 6878 ldr r0, [r7, #4] + 8008cf0: f001 fd78 bl 800a7e4 + 8008cf4: 4603 mov r3, r0 + 8008cf6: 73fb strb r3, [r7, #15] break; - 800868c: bf00 nop + 8008cf8: bf00 nop } return ret; - 800868e: 7bfb ldrb r3, [r7, #15] + 8008cfa: 7bfb ldrb r3, [r7, #15] } - 8008690: 4618 mov r0, r3 - 8008692: 3710 adds r7, #16 - 8008694: 46bd mov sp, r7 - 8008696: bd80 pop {r7, pc} + 8008cfc: 4618 mov r0, r3 + 8008cfe: 3710 adds r7, #16 + 8008d00: 46bd mov sp, r7 + 8008d02: bd80 pop {r7, pc} -08008698 : +08008d04 : * @param pdata: data pointer * @retval status */ USBD_StatusTypeDef USBD_LL_DataOutStage(USBD_HandleTypeDef *pdev, uint8_t epnum, uint8_t *pdata) { - 8008698: b580 push {r7, lr} - 800869a: b086 sub sp, #24 - 800869c: af00 add r7, sp, #0 - 800869e: 60f8 str r0, [r7, #12] - 80086a0: 460b mov r3, r1 - 80086a2: 607a str r2, [r7, #4] - 80086a4: 72fb strb r3, [r7, #11] + 8008d04: b580 push {r7, lr} + 8008d06: b086 sub sp, #24 + 8008d08: af00 add r7, sp, #0 + 8008d0a: 60f8 str r0, [r7, #12] + 8008d0c: 460b mov r3, r1 + 8008d0e: 607a str r2, [r7, #4] + 8008d10: 72fb strb r3, [r7, #11] USBD_EndpointTypeDef *pep; USBD_StatusTypeDef ret = USBD_OK; - 80086a6: 2300 movs r3, #0 - 80086a8: 75fb strb r3, [r7, #23] + 8008d12: 2300 movs r3, #0 + 8008d14: 75fb strb r3, [r7, #23] uint8_t idx; UNUSED(pdata); if (epnum == 0U) - 80086aa: 7afb ldrb r3, [r7, #11] - 80086ac: 2b00 cmp r3, #0 - 80086ae: d177 bne.n 80087a0 + 8008d16: 7afb ldrb r3, [r7, #11] + 8008d18: 2b00 cmp r3, #0 + 8008d1a: d177 bne.n 8008e0c { pep = &pdev->ep_out[0]; - 80086b0: 68fb ldr r3, [r7, #12] - 80086b2: f503 73aa add.w r3, r3, #340 @ 0x154 - 80086b6: 613b str r3, [r7, #16] + 8008d1c: 68fb ldr r3, [r7, #12] + 8008d1e: f503 73aa add.w r3, r3, #340 @ 0x154 + 8008d22: 613b str r3, [r7, #16] if (pdev->ep0_state == USBD_EP0_DATA_OUT) - 80086b8: 68fb ldr r3, [r7, #12] - 80086ba: f8d3 3294 ldr.w r3, [r3, #660] @ 0x294 - 80086be: 2b03 cmp r3, #3 - 80086c0: f040 80a1 bne.w 8008806 + 8008d24: 68fb ldr r3, [r7, #12] + 8008d26: f8d3 3294 ldr.w r3, [r3, #660] @ 0x294 + 8008d2a: 2b03 cmp r3, #3 + 8008d2c: f040 80a1 bne.w 8008e72 { if (pep->rem_length > pep->maxpacket) - 80086c4: 693b ldr r3, [r7, #16] - 80086c6: 685b ldr r3, [r3, #4] - 80086c8: 693a ldr r2, [r7, #16] - 80086ca: 8992 ldrh r2, [r2, #12] - 80086cc: 4293 cmp r3, r2 - 80086ce: d91c bls.n 800870a + 8008d30: 693b ldr r3, [r7, #16] + 8008d32: 685b ldr r3, [r3, #4] + 8008d34: 693a ldr r2, [r7, #16] + 8008d36: 8992 ldrh r2, [r2, #12] + 8008d38: 4293 cmp r3, r2 + 8008d3a: d91c bls.n 8008d76 { pep->rem_length -= pep->maxpacket; - 80086d0: 693b ldr r3, [r7, #16] - 80086d2: 685b ldr r3, [r3, #4] - 80086d4: 693a ldr r2, [r7, #16] - 80086d6: 8992 ldrh r2, [r2, #12] - 80086d8: 1a9a subs r2, r3, r2 - 80086da: 693b ldr r3, [r7, #16] - 80086dc: 605a str r2, [r3, #4] + 8008d3c: 693b ldr r3, [r7, #16] + 8008d3e: 685b ldr r3, [r3, #4] + 8008d40: 693a ldr r2, [r7, #16] + 8008d42: 8992 ldrh r2, [r2, #12] + 8008d44: 1a9a subs r2, r3, r2 + 8008d46: 693b ldr r3, [r7, #16] + 8008d48: 605a str r2, [r3, #4] pep->pbuffer += pep->maxpacket; - 80086de: 693b ldr r3, [r7, #16] - 80086e0: 691b ldr r3, [r3, #16] - 80086e2: 693a ldr r2, [r7, #16] - 80086e4: 8992 ldrh r2, [r2, #12] - 80086e6: 441a add r2, r3 - 80086e8: 693b ldr r3, [r7, #16] - 80086ea: 611a str r2, [r3, #16] + 8008d4a: 693b ldr r3, [r7, #16] + 8008d4c: 691b ldr r3, [r3, #16] + 8008d4e: 693a ldr r2, [r7, #16] + 8008d50: 8992 ldrh r2, [r2, #12] + 8008d52: 441a add r2, r3 + 8008d54: 693b ldr r3, [r7, #16] + 8008d56: 611a str r2, [r3, #16] (void)USBD_CtlContinueRx(pdev, pep->pbuffer, MAX(pep->rem_length, pep->maxpacket)); - 80086ec: 693b ldr r3, [r7, #16] - 80086ee: 6919 ldr r1, [r3, #16] - 80086f0: 693b ldr r3, [r7, #16] - 80086f2: 899b ldrh r3, [r3, #12] - 80086f4: 461a mov r2, r3 - 80086f6: 693b ldr r3, [r7, #16] - 80086f8: 685b ldr r3, [r3, #4] - 80086fa: 4293 cmp r3, r2 - 80086fc: bf38 it cc - 80086fe: 4613 movcc r3, r2 - 8008700: 461a mov r2, r3 - 8008702: 68f8 ldr r0, [r7, #12] - 8008704: f001 f9b1 bl 8009a6a - 8008708: e07d b.n 8008806 + 8008d58: 693b ldr r3, [r7, #16] + 8008d5a: 6919 ldr r1, [r3, #16] + 8008d5c: 693b ldr r3, [r7, #16] + 8008d5e: 899b ldrh r3, [r3, #12] + 8008d60: 461a mov r2, r3 + 8008d62: 693b ldr r3, [r7, #16] + 8008d64: 685b ldr r3, [r3, #4] + 8008d66: 4293 cmp r3, r2 + 8008d68: bf38 it cc + 8008d6a: 4613 movcc r3, r2 + 8008d6c: 461a mov r2, r3 + 8008d6e: 68f8 ldr r0, [r7, #12] + 8008d70: f001 f9b1 bl 800a0d6 + 8008d74: e07d b.n 8008e72 } else { /* Find the class ID relative to the current request */ switch (pdev->request.bmRequest & 0x1FU) - 800870a: 68fb ldr r3, [r7, #12] - 800870c: f893 32aa ldrb.w r3, [r3, #682] @ 0x2aa - 8008710: f003 031f and.w r3, r3, #31 - 8008714: 2b02 cmp r3, #2 - 8008716: d014 beq.n 8008742 - 8008718: 2b02 cmp r3, #2 - 800871a: d81d bhi.n 8008758 - 800871c: 2b00 cmp r3, #0 - 800871e: d002 beq.n 8008726 - 8008720: 2b01 cmp r3, #1 - 8008722: d003 beq.n 800872c - 8008724: e018 b.n 8008758 + 8008d76: 68fb ldr r3, [r7, #12] + 8008d78: f893 32aa ldrb.w r3, [r3, #682] @ 0x2aa + 8008d7c: f003 031f and.w r3, r3, #31 + 8008d80: 2b02 cmp r3, #2 + 8008d82: d014 beq.n 8008dae + 8008d84: 2b02 cmp r3, #2 + 8008d86: d81d bhi.n 8008dc4 + 8008d88: 2b00 cmp r3, #0 + 8008d8a: d002 beq.n 8008d92 + 8008d8c: 2b01 cmp r3, #1 + 8008d8e: d003 beq.n 8008d98 + 8008d90: e018 b.n 8008dc4 { case USB_REQ_RECIPIENT_DEVICE: /* Device requests must be managed by the first instantiated class (or duplicated by all classes for simplicity) */ idx = 0U; - 8008726: 2300 movs r3, #0 - 8008728: 75bb strb r3, [r7, #22] + 8008d92: 2300 movs r3, #0 + 8008d94: 75bb strb r3, [r7, #22] break; - 800872a: e018 b.n 800875e + 8008d96: e018 b.n 8008dca case USB_REQ_RECIPIENT_INTERFACE: idx = USBD_CoreFindIF(pdev, LOBYTE(pdev->request.wIndex)); - 800872c: 68fb ldr r3, [r7, #12] - 800872e: f8b3 32ae ldrh.w r3, [r3, #686] @ 0x2ae - 8008732: b2db uxtb r3, r3 - 8008734: 4619 mov r1, r3 - 8008736: 68f8 ldr r0, [r7, #12] - 8008738: f000 fa6e bl 8008c18 - 800873c: 4603 mov r3, r0 - 800873e: 75bb strb r3, [r7, #22] + 8008d98: 68fb ldr r3, [r7, #12] + 8008d9a: f8b3 32ae ldrh.w r3, [r3, #686] @ 0x2ae + 8008d9e: b2db uxtb r3, r3 + 8008da0: 4619 mov r1, r3 + 8008da2: 68f8 ldr r0, [r7, #12] + 8008da4: f000 fa6e bl 8009284 + 8008da8: 4603 mov r3, r0 + 8008daa: 75bb strb r3, [r7, #22] break; - 8008740: e00d b.n 800875e + 8008dac: e00d b.n 8008dca case USB_REQ_RECIPIENT_ENDPOINT: idx = USBD_CoreFindEP(pdev, LOBYTE(pdev->request.wIndex)); - 8008742: 68fb ldr r3, [r7, #12] - 8008744: f8b3 32ae ldrh.w r3, [r3, #686] @ 0x2ae - 8008748: b2db uxtb r3, r3 - 800874a: 4619 mov r1, r3 - 800874c: 68f8 ldr r0, [r7, #12] - 800874e: f000 fa70 bl 8008c32 - 8008752: 4603 mov r3, r0 - 8008754: 75bb strb r3, [r7, #22] + 8008dae: 68fb ldr r3, [r7, #12] + 8008db0: f8b3 32ae ldrh.w r3, [r3, #686] @ 0x2ae + 8008db4: b2db uxtb r3, r3 + 8008db6: 4619 mov r1, r3 + 8008db8: 68f8 ldr r0, [r7, #12] + 8008dba: f000 fa70 bl 800929e + 8008dbe: 4603 mov r3, r0 + 8008dc0: 75bb strb r3, [r7, #22] break; - 8008756: e002 b.n 800875e + 8008dc2: e002 b.n 8008dca default: /* Back to the first class in case of doubt */ idx = 0U; - 8008758: 2300 movs r3, #0 - 800875a: 75bb strb r3, [r7, #22] + 8008dc4: 2300 movs r3, #0 + 8008dc6: 75bb strb r3, [r7, #22] break; - 800875c: bf00 nop + 8008dc8: bf00 nop } if (idx < USBD_MAX_SUPPORTED_CLASS) - 800875e: 7dbb ldrb r3, [r7, #22] - 8008760: 2b00 cmp r3, #0 - 8008762: d119 bne.n 8008798 + 8008dca: 7dbb ldrb r3, [r7, #22] + 8008dcc: 2b00 cmp r3, #0 + 8008dce: d119 bne.n 8008e04 { /* Setup the class ID and route the request to the relative class function */ if (pdev->dev_state == USBD_STATE_CONFIGURED) - 8008764: 68fb ldr r3, [r7, #12] - 8008766: f893 329c ldrb.w r3, [r3, #668] @ 0x29c - 800876a: b2db uxtb r3, r3 - 800876c: 2b03 cmp r3, #3 - 800876e: d113 bne.n 8008798 + 8008dd0: 68fb ldr r3, [r7, #12] + 8008dd2: f893 329c ldrb.w r3, [r3, #668] @ 0x29c + 8008dd6: b2db uxtb r3, r3 + 8008dd8: 2b03 cmp r3, #3 + 8008dda: d113 bne.n 8008e04 { if (pdev->pClass[idx]->EP0_RxReady != NULL) - 8008770: 7dba ldrb r2, [r7, #22] - 8008772: 68fb ldr r3, [r7, #12] - 8008774: 32ae adds r2, #174 @ 0xae - 8008776: f853 3022 ldr.w r3, [r3, r2, lsl #2] - 800877a: 691b ldr r3, [r3, #16] - 800877c: 2b00 cmp r3, #0 - 800877e: d00b beq.n 8008798 + 8008ddc: 7dba ldrb r2, [r7, #22] + 8008dde: 68fb ldr r3, [r7, #12] + 8008de0: 32ae adds r2, #174 @ 0xae + 8008de2: f853 3022 ldr.w r3, [r3, r2, lsl #2] + 8008de6: 691b ldr r3, [r3, #16] + 8008de8: 2b00 cmp r3, #0 + 8008dea: d00b beq.n 8008e04 { pdev->classId = idx; - 8008780: 7dba ldrb r2, [r7, #22] - 8008782: 68fb ldr r3, [r7, #12] - 8008784: f8c3 22d4 str.w r2, [r3, #724] @ 0x2d4 + 8008dec: 7dba ldrb r2, [r7, #22] + 8008dee: 68fb ldr r3, [r7, #12] + 8008df0: f8c3 22d4 str.w r2, [r3, #724] @ 0x2d4 pdev->pClass[idx]->EP0_RxReady(pdev); - 8008788: 7dba ldrb r2, [r7, #22] - 800878a: 68fb ldr r3, [r7, #12] - 800878c: 32ae adds r2, #174 @ 0xae - 800878e: f853 3022 ldr.w r3, [r3, r2, lsl #2] - 8008792: 691b ldr r3, [r3, #16] - 8008794: 68f8 ldr r0, [r7, #12] - 8008796: 4798 blx r3 + 8008df4: 7dba ldrb r2, [r7, #22] + 8008df6: 68fb ldr r3, [r7, #12] + 8008df8: 32ae adds r2, #174 @ 0xae + 8008dfa: f853 3022 ldr.w r3, [r3, r2, lsl #2] + 8008dfe: 691b ldr r3, [r3, #16] + 8008e00: 68f8 ldr r0, [r7, #12] + 8008e02: 4798 blx r3 } } } (void)USBD_CtlSendStatus(pdev); - 8008798: 68f8 ldr r0, [r7, #12] - 800879a: f001 f977 bl 8009a8c - 800879e: e032 b.n 8008806 + 8008e04: 68f8 ldr r0, [r7, #12] + 8008e06: f001 f977 bl 800a0f8 + 8008e0a: e032 b.n 8008e72 } } else { /* Get the class index relative to this interface */ idx = USBD_CoreFindEP(pdev, (epnum & 0x7FU)); - 80087a0: 7afb ldrb r3, [r7, #11] - 80087a2: f003 037f and.w r3, r3, #127 @ 0x7f - 80087a6: b2db uxtb r3, r3 - 80087a8: 4619 mov r1, r3 - 80087aa: 68f8 ldr r0, [r7, #12] - 80087ac: f000 fa41 bl 8008c32 - 80087b0: 4603 mov r3, r0 - 80087b2: 75bb strb r3, [r7, #22] + 8008e0c: 7afb ldrb r3, [r7, #11] + 8008e0e: f003 037f and.w r3, r3, #127 @ 0x7f + 8008e12: b2db uxtb r3, r3 + 8008e14: 4619 mov r1, r3 + 8008e16: 68f8 ldr r0, [r7, #12] + 8008e18: f000 fa41 bl 800929e + 8008e1c: 4603 mov r3, r0 + 8008e1e: 75bb strb r3, [r7, #22] if (((uint16_t)idx != 0xFFU) && (idx < USBD_MAX_SUPPORTED_CLASS)) - 80087b4: 7dbb ldrb r3, [r7, #22] - 80087b6: 2bff cmp r3, #255 @ 0xff - 80087b8: d025 beq.n 8008806 - 80087ba: 7dbb ldrb r3, [r7, #22] - 80087bc: 2b00 cmp r3, #0 - 80087be: d122 bne.n 8008806 + 8008e20: 7dbb ldrb r3, [r7, #22] + 8008e22: 2bff cmp r3, #255 @ 0xff + 8008e24: d025 beq.n 8008e72 + 8008e26: 7dbb ldrb r3, [r7, #22] + 8008e28: 2b00 cmp r3, #0 + 8008e2a: d122 bne.n 8008e72 { /* Call the class data out function to manage the request */ if (pdev->dev_state == USBD_STATE_CONFIGURED) - 80087c0: 68fb ldr r3, [r7, #12] - 80087c2: f893 329c ldrb.w r3, [r3, #668] @ 0x29c - 80087c6: b2db uxtb r3, r3 - 80087c8: 2b03 cmp r3, #3 - 80087ca: d117 bne.n 80087fc + 8008e2c: 68fb ldr r3, [r7, #12] + 8008e2e: f893 329c ldrb.w r3, [r3, #668] @ 0x29c + 8008e32: b2db uxtb r3, r3 + 8008e34: 2b03 cmp r3, #3 + 8008e36: d117 bne.n 8008e68 { if (pdev->pClass[idx]->DataOut != NULL) - 80087cc: 7dba ldrb r2, [r7, #22] - 80087ce: 68fb ldr r3, [r7, #12] - 80087d0: 32ae adds r2, #174 @ 0xae - 80087d2: f853 3022 ldr.w r3, [r3, r2, lsl #2] - 80087d6: 699b ldr r3, [r3, #24] - 80087d8: 2b00 cmp r3, #0 - 80087da: d00f beq.n 80087fc + 8008e38: 7dba ldrb r2, [r7, #22] + 8008e3a: 68fb ldr r3, [r7, #12] + 8008e3c: 32ae adds r2, #174 @ 0xae + 8008e3e: f853 3022 ldr.w r3, [r3, r2, lsl #2] + 8008e42: 699b ldr r3, [r3, #24] + 8008e44: 2b00 cmp r3, #0 + 8008e46: d00f beq.n 8008e68 { pdev->classId = idx; - 80087dc: 7dba ldrb r2, [r7, #22] - 80087de: 68fb ldr r3, [r7, #12] - 80087e0: f8c3 22d4 str.w r2, [r3, #724] @ 0x2d4 + 8008e48: 7dba ldrb r2, [r7, #22] + 8008e4a: 68fb ldr r3, [r7, #12] + 8008e4c: f8c3 22d4 str.w r2, [r3, #724] @ 0x2d4 ret = (USBD_StatusTypeDef)pdev->pClass[idx]->DataOut(pdev, epnum); - 80087e4: 7dba ldrb r2, [r7, #22] - 80087e6: 68fb ldr r3, [r7, #12] - 80087e8: 32ae adds r2, #174 @ 0xae - 80087ea: f853 3022 ldr.w r3, [r3, r2, lsl #2] - 80087ee: 699b ldr r3, [r3, #24] - 80087f0: 7afa ldrb r2, [r7, #11] - 80087f2: 4611 mov r1, r2 - 80087f4: 68f8 ldr r0, [r7, #12] - 80087f6: 4798 blx r3 - 80087f8: 4603 mov r3, r0 - 80087fa: 75fb strb r3, [r7, #23] + 8008e50: 7dba ldrb r2, [r7, #22] + 8008e52: 68fb ldr r3, [r7, #12] + 8008e54: 32ae adds r2, #174 @ 0xae + 8008e56: f853 3022 ldr.w r3, [r3, r2, lsl #2] + 8008e5a: 699b ldr r3, [r3, #24] + 8008e5c: 7afa ldrb r2, [r7, #11] + 8008e5e: 4611 mov r1, r2 + 8008e60: 68f8 ldr r0, [r7, #12] + 8008e62: 4798 blx r3 + 8008e64: 4603 mov r3, r0 + 8008e66: 75fb strb r3, [r7, #23] } } if (ret != USBD_OK) - 80087fc: 7dfb ldrb r3, [r7, #23] - 80087fe: 2b00 cmp r3, #0 - 8008800: d001 beq.n 8008806 + 8008e68: 7dfb ldrb r3, [r7, #23] + 8008e6a: 2b00 cmp r3, #0 + 8008e6c: d001 beq.n 8008e72 { return ret; - 8008802: 7dfb ldrb r3, [r7, #23] - 8008804: e000 b.n 8008808 + 8008e6e: 7dfb ldrb r3, [r7, #23] + 8008e70: e000 b.n 8008e74 } } } return USBD_OK; - 8008806: 2300 movs r3, #0 + 8008e72: 2300 movs r3, #0 } - 8008808: 4618 mov r0, r3 - 800880a: 3718 adds r7, #24 - 800880c: 46bd mov sp, r7 - 800880e: bd80 pop {r7, pc} + 8008e74: 4618 mov r0, r3 + 8008e76: 3718 adds r7, #24 + 8008e78: 46bd mov sp, r7 + 8008e7a: bd80 pop {r7, pc} -08008810 : +08008e7c : * @param pdata: data pointer * @retval status */ USBD_StatusTypeDef USBD_LL_DataInStage(USBD_HandleTypeDef *pdev, uint8_t epnum, uint8_t *pdata) { - 8008810: b580 push {r7, lr} - 8008812: b086 sub sp, #24 - 8008814: af00 add r7, sp, #0 - 8008816: 60f8 str r0, [r7, #12] - 8008818: 460b mov r3, r1 - 800881a: 607a str r2, [r7, #4] - 800881c: 72fb strb r3, [r7, #11] + 8008e7c: b580 push {r7, lr} + 8008e7e: b086 sub sp, #24 + 8008e80: af00 add r7, sp, #0 + 8008e82: 60f8 str r0, [r7, #12] + 8008e84: 460b mov r3, r1 + 8008e86: 607a str r2, [r7, #4] + 8008e88: 72fb strb r3, [r7, #11] USBD_StatusTypeDef ret; uint8_t idx; UNUSED(pdata); if (epnum == 0U) - 800881e: 7afb ldrb r3, [r7, #11] - 8008820: 2b00 cmp r3, #0 - 8008822: d178 bne.n 8008916 + 8008e8a: 7afb ldrb r3, [r7, #11] + 8008e8c: 2b00 cmp r3, #0 + 8008e8e: d178 bne.n 8008f82 { pep = &pdev->ep_in[0]; - 8008824: 68fb ldr r3, [r7, #12] - 8008826: 3314 adds r3, #20 - 8008828: 613b str r3, [r7, #16] + 8008e90: 68fb ldr r3, [r7, #12] + 8008e92: 3314 adds r3, #20 + 8008e94: 613b str r3, [r7, #16] if (pdev->ep0_state == USBD_EP0_DATA_IN) - 800882a: 68fb ldr r3, [r7, #12] - 800882c: f8d3 3294 ldr.w r3, [r3, #660] @ 0x294 - 8008830: 2b02 cmp r3, #2 - 8008832: d163 bne.n 80088fc + 8008e96: 68fb ldr r3, [r7, #12] + 8008e98: f8d3 3294 ldr.w r3, [r3, #660] @ 0x294 + 8008e9c: 2b02 cmp r3, #2 + 8008e9e: d163 bne.n 8008f68 { if (pep->rem_length > pep->maxpacket) - 8008834: 693b ldr r3, [r7, #16] - 8008836: 685b ldr r3, [r3, #4] - 8008838: 693a ldr r2, [r7, #16] - 800883a: 8992 ldrh r2, [r2, #12] - 800883c: 4293 cmp r3, r2 - 800883e: d91c bls.n 800887a + 8008ea0: 693b ldr r3, [r7, #16] + 8008ea2: 685b ldr r3, [r3, #4] + 8008ea4: 693a ldr r2, [r7, #16] + 8008ea6: 8992 ldrh r2, [r2, #12] + 8008ea8: 4293 cmp r3, r2 + 8008eaa: d91c bls.n 8008ee6 { pep->rem_length -= pep->maxpacket; - 8008840: 693b ldr r3, [r7, #16] - 8008842: 685b ldr r3, [r3, #4] - 8008844: 693a ldr r2, [r7, #16] - 8008846: 8992 ldrh r2, [r2, #12] - 8008848: 1a9a subs r2, r3, r2 - 800884a: 693b ldr r3, [r7, #16] - 800884c: 605a str r2, [r3, #4] + 8008eac: 693b ldr r3, [r7, #16] + 8008eae: 685b ldr r3, [r3, #4] + 8008eb0: 693a ldr r2, [r7, #16] + 8008eb2: 8992 ldrh r2, [r2, #12] + 8008eb4: 1a9a subs r2, r3, r2 + 8008eb6: 693b ldr r3, [r7, #16] + 8008eb8: 605a str r2, [r3, #4] pep->pbuffer += pep->maxpacket; - 800884e: 693b ldr r3, [r7, #16] - 8008850: 691b ldr r3, [r3, #16] - 8008852: 693a ldr r2, [r7, #16] - 8008854: 8992 ldrh r2, [r2, #12] - 8008856: 441a add r2, r3 - 8008858: 693b ldr r3, [r7, #16] - 800885a: 611a str r2, [r3, #16] + 8008eba: 693b ldr r3, [r7, #16] + 8008ebc: 691b ldr r3, [r3, #16] + 8008ebe: 693a ldr r2, [r7, #16] + 8008ec0: 8992 ldrh r2, [r2, #12] + 8008ec2: 441a add r2, r3 + 8008ec4: 693b ldr r3, [r7, #16] + 8008ec6: 611a str r2, [r3, #16] (void)USBD_CtlContinueSendData(pdev, pep->pbuffer, pep->rem_length); - 800885c: 693b ldr r3, [r7, #16] - 800885e: 6919 ldr r1, [r3, #16] - 8008860: 693b ldr r3, [r7, #16] - 8008862: 685b ldr r3, [r3, #4] - 8008864: 461a mov r2, r3 - 8008866: 68f8 ldr r0, [r7, #12] - 8008868: f001 f8ee bl 8009a48 + 8008ec8: 693b ldr r3, [r7, #16] + 8008eca: 6919 ldr r1, [r3, #16] + 8008ecc: 693b ldr r3, [r7, #16] + 8008ece: 685b ldr r3, [r3, #4] + 8008ed0: 461a mov r2, r3 + 8008ed2: 68f8 ldr r0, [r7, #12] + 8008ed4: f001 f8ee bl 800a0b4 /* Prepare endpoint for premature end of transfer */ (void)USBD_LL_PrepareReceive(pdev, 0U, NULL, 0U); - 800886c: 2300 movs r3, #0 - 800886e: 2200 movs r2, #0 - 8008870: 2100 movs r1, #0 - 8008872: 68f8 ldr r0, [r7, #12] - 8008874: f001 fd2a bl 800a2cc - 8008878: e040 b.n 80088fc + 8008ed8: 2300 movs r3, #0 + 8008eda: 2200 movs r2, #0 + 8008edc: 2100 movs r1, #0 + 8008ede: 68f8 ldr r0, [r7, #12] + 8008ee0: f001 fd2a bl 800a938 + 8008ee4: e040 b.n 8008f68 } else { /* last packet is MPS multiple, so send ZLP packet */ if ((pep->maxpacket == pep->rem_length) && - 800887a: 693b ldr r3, [r7, #16] - 800887c: 899b ldrh r3, [r3, #12] - 800887e: 461a mov r2, r3 - 8008880: 693b ldr r3, [r7, #16] - 8008882: 685b ldr r3, [r3, #4] - 8008884: 429a cmp r2, r3 - 8008886: d11c bne.n 80088c2 + 8008ee6: 693b ldr r3, [r7, #16] + 8008ee8: 899b ldrh r3, [r3, #12] + 8008eea: 461a mov r2, r3 + 8008eec: 693b ldr r3, [r7, #16] + 8008eee: 685b ldr r3, [r3, #4] + 8008ef0: 429a cmp r2, r3 + 8008ef2: d11c bne.n 8008f2e (pep->total_length >= pep->maxpacket) && - 8008888: 693b ldr r3, [r7, #16] - 800888a: 681b ldr r3, [r3, #0] - 800888c: 693a ldr r2, [r7, #16] - 800888e: 8992 ldrh r2, [r2, #12] + 8008ef4: 693b ldr r3, [r7, #16] + 8008ef6: 681b ldr r3, [r3, #0] + 8008ef8: 693a ldr r2, [r7, #16] + 8008efa: 8992 ldrh r2, [r2, #12] if ((pep->maxpacket == pep->rem_length) && - 8008890: 4293 cmp r3, r2 - 8008892: d316 bcc.n 80088c2 + 8008efc: 4293 cmp r3, r2 + 8008efe: d316 bcc.n 8008f2e (pep->total_length < pdev->ep0_data_len)) - 8008894: 693b ldr r3, [r7, #16] - 8008896: 681a ldr r2, [r3, #0] - 8008898: 68fb ldr r3, [r7, #12] - 800889a: f8d3 3298 ldr.w r3, [r3, #664] @ 0x298 + 8008f00: 693b ldr r3, [r7, #16] + 8008f02: 681a ldr r2, [r3, #0] + 8008f04: 68fb ldr r3, [r7, #12] + 8008f06: f8d3 3298 ldr.w r3, [r3, #664] @ 0x298 (pep->total_length >= pep->maxpacket) && - 800889e: 429a cmp r2, r3 - 80088a0: d20f bcs.n 80088c2 + 8008f0a: 429a cmp r2, r3 + 8008f0c: d20f bcs.n 8008f2e { (void)USBD_CtlContinueSendData(pdev, NULL, 0U); - 80088a2: 2200 movs r2, #0 - 80088a4: 2100 movs r1, #0 - 80088a6: 68f8 ldr r0, [r7, #12] - 80088a8: f001 f8ce bl 8009a48 + 8008f0e: 2200 movs r2, #0 + 8008f10: 2100 movs r1, #0 + 8008f12: 68f8 ldr r0, [r7, #12] + 8008f14: f001 f8ce bl 800a0b4 pdev->ep0_data_len = 0U; - 80088ac: 68fb ldr r3, [r7, #12] - 80088ae: 2200 movs r2, #0 - 80088b0: f8c3 2298 str.w r2, [r3, #664] @ 0x298 + 8008f18: 68fb ldr r3, [r7, #12] + 8008f1a: 2200 movs r2, #0 + 8008f1c: f8c3 2298 str.w r2, [r3, #664] @ 0x298 /* Prepare endpoint for premature end of transfer */ (void)USBD_LL_PrepareReceive(pdev, 0U, NULL, 0U); - 80088b4: 2300 movs r3, #0 - 80088b6: 2200 movs r2, #0 - 80088b8: 2100 movs r1, #0 - 80088ba: 68f8 ldr r0, [r7, #12] - 80088bc: f001 fd06 bl 800a2cc - 80088c0: e01c b.n 80088fc + 8008f20: 2300 movs r3, #0 + 8008f22: 2200 movs r2, #0 + 8008f24: 2100 movs r1, #0 + 8008f26: 68f8 ldr r0, [r7, #12] + 8008f28: f001 fd06 bl 800a938 + 8008f2c: e01c b.n 8008f68 } else { if (pdev->dev_state == USBD_STATE_CONFIGURED) - 80088c2: 68fb ldr r3, [r7, #12] - 80088c4: f893 329c ldrb.w r3, [r3, #668] @ 0x29c - 80088c8: b2db uxtb r3, r3 - 80088ca: 2b03 cmp r3, #3 - 80088cc: d10f bne.n 80088ee + 8008f2e: 68fb ldr r3, [r7, #12] + 8008f30: f893 329c ldrb.w r3, [r3, #668] @ 0x29c + 8008f34: b2db uxtb r3, r3 + 8008f36: 2b03 cmp r3, #3 + 8008f38: d10f bne.n 8008f5a { if (pdev->pClass[0]->EP0_TxSent != NULL) - 80088ce: 68fb ldr r3, [r7, #12] - 80088d0: f8d3 32b8 ldr.w r3, [r3, #696] @ 0x2b8 - 80088d4: 68db ldr r3, [r3, #12] - 80088d6: 2b00 cmp r3, #0 - 80088d8: d009 beq.n 80088ee + 8008f3a: 68fb ldr r3, [r7, #12] + 8008f3c: f8d3 32b8 ldr.w r3, [r3, #696] @ 0x2b8 + 8008f40: 68db ldr r3, [r3, #12] + 8008f42: 2b00 cmp r3, #0 + 8008f44: d009 beq.n 8008f5a { pdev->classId = 0U; - 80088da: 68fb ldr r3, [r7, #12] - 80088dc: 2200 movs r2, #0 - 80088de: f8c3 22d4 str.w r2, [r3, #724] @ 0x2d4 + 8008f46: 68fb ldr r3, [r7, #12] + 8008f48: 2200 movs r2, #0 + 8008f4a: f8c3 22d4 str.w r2, [r3, #724] @ 0x2d4 pdev->pClass[0]->EP0_TxSent(pdev); - 80088e2: 68fb ldr r3, [r7, #12] - 80088e4: f8d3 32b8 ldr.w r3, [r3, #696] @ 0x2b8 - 80088e8: 68db ldr r3, [r3, #12] - 80088ea: 68f8 ldr r0, [r7, #12] - 80088ec: 4798 blx r3 + 8008f4e: 68fb ldr r3, [r7, #12] + 8008f50: f8d3 32b8 ldr.w r3, [r3, #696] @ 0x2b8 + 8008f54: 68db ldr r3, [r3, #12] + 8008f56: 68f8 ldr r0, [r7, #12] + 8008f58: 4798 blx r3 } } (void)USBD_LL_StallEP(pdev, 0x80U); - 80088ee: 2180 movs r1, #128 @ 0x80 - 80088f0: 68f8 ldr r0, [r7, #12] - 80088f2: f001 fc41 bl 800a178 + 8008f5a: 2180 movs r1, #128 @ 0x80 + 8008f5c: 68f8 ldr r0, [r7, #12] + 8008f5e: f001 fc41 bl 800a7e4 (void)USBD_CtlReceiveStatus(pdev); - 80088f6: 68f8 ldr r0, [r7, #12] - 80088f8: f001 f8db bl 8009ab2 + 8008f62: 68f8 ldr r0, [r7, #12] + 8008f64: f001 f8db bl 800a11e } } } if (pdev->dev_test_mode != 0U) - 80088fc: 68fb ldr r3, [r7, #12] - 80088fe: f893 32a0 ldrb.w r3, [r3, #672] @ 0x2a0 - 8008902: 2b00 cmp r3, #0 - 8008904: d03a beq.n 800897c + 8008f68: 68fb ldr r3, [r7, #12] + 8008f6a: f893 32a0 ldrb.w r3, [r3, #672] @ 0x2a0 + 8008f6e: 2b00 cmp r3, #0 + 8008f70: d03a beq.n 8008fe8 { (void)USBD_RunTestMode(pdev); - 8008906: 68f8 ldr r0, [r7, #12] - 8008908: f7ff fe30 bl 800856c + 8008f72: 68f8 ldr r0, [r7, #12] + 8008f74: f7ff fe30 bl 8008bd8 pdev->dev_test_mode = 0U; - 800890c: 68fb ldr r3, [r7, #12] - 800890e: 2200 movs r2, #0 - 8008910: f883 22a0 strb.w r2, [r3, #672] @ 0x2a0 - 8008914: e032 b.n 800897c + 8008f78: 68fb ldr r3, [r7, #12] + 8008f7a: 2200 movs r2, #0 + 8008f7c: f883 22a0 strb.w r2, [r3, #672] @ 0x2a0 + 8008f80: e032 b.n 8008fe8 } } else { /* Get the class index relative to this interface */ idx = USBD_CoreFindEP(pdev, ((uint8_t)epnum | 0x80U)); - 8008916: 7afb ldrb r3, [r7, #11] - 8008918: f063 037f orn r3, r3, #127 @ 0x7f - 800891c: b2db uxtb r3, r3 - 800891e: 4619 mov r1, r3 - 8008920: 68f8 ldr r0, [r7, #12] - 8008922: f000 f986 bl 8008c32 - 8008926: 4603 mov r3, r0 - 8008928: 75fb strb r3, [r7, #23] + 8008f82: 7afb ldrb r3, [r7, #11] + 8008f84: f063 037f orn r3, r3, #127 @ 0x7f + 8008f88: b2db uxtb r3, r3 + 8008f8a: 4619 mov r1, r3 + 8008f8c: 68f8 ldr r0, [r7, #12] + 8008f8e: f000 f986 bl 800929e + 8008f92: 4603 mov r3, r0 + 8008f94: 75fb strb r3, [r7, #23] if (((uint16_t)idx != 0xFFU) && (idx < USBD_MAX_SUPPORTED_CLASS)) - 800892a: 7dfb ldrb r3, [r7, #23] - 800892c: 2bff cmp r3, #255 @ 0xff - 800892e: d025 beq.n 800897c - 8008930: 7dfb ldrb r3, [r7, #23] - 8008932: 2b00 cmp r3, #0 - 8008934: d122 bne.n 800897c + 8008f96: 7dfb ldrb r3, [r7, #23] + 8008f98: 2bff cmp r3, #255 @ 0xff + 8008f9a: d025 beq.n 8008fe8 + 8008f9c: 7dfb ldrb r3, [r7, #23] + 8008f9e: 2b00 cmp r3, #0 + 8008fa0: d122 bne.n 8008fe8 { /* Call the class data out function to manage the request */ if (pdev->dev_state == USBD_STATE_CONFIGURED) - 8008936: 68fb ldr r3, [r7, #12] - 8008938: f893 329c ldrb.w r3, [r3, #668] @ 0x29c - 800893c: b2db uxtb r3, r3 - 800893e: 2b03 cmp r3, #3 - 8008940: d11c bne.n 800897c + 8008fa2: 68fb ldr r3, [r7, #12] + 8008fa4: f893 329c ldrb.w r3, [r3, #668] @ 0x29c + 8008fa8: b2db uxtb r3, r3 + 8008faa: 2b03 cmp r3, #3 + 8008fac: d11c bne.n 8008fe8 { if (pdev->pClass[idx]->DataIn != NULL) - 8008942: 7dfa ldrb r2, [r7, #23] - 8008944: 68fb ldr r3, [r7, #12] - 8008946: 32ae adds r2, #174 @ 0xae - 8008948: f853 3022 ldr.w r3, [r3, r2, lsl #2] - 800894c: 695b ldr r3, [r3, #20] - 800894e: 2b00 cmp r3, #0 - 8008950: d014 beq.n 800897c + 8008fae: 7dfa ldrb r2, [r7, #23] + 8008fb0: 68fb ldr r3, [r7, #12] + 8008fb2: 32ae adds r2, #174 @ 0xae + 8008fb4: f853 3022 ldr.w r3, [r3, r2, lsl #2] + 8008fb8: 695b ldr r3, [r3, #20] + 8008fba: 2b00 cmp r3, #0 + 8008fbc: d014 beq.n 8008fe8 { pdev->classId = idx; - 8008952: 7dfa ldrb r2, [r7, #23] - 8008954: 68fb ldr r3, [r7, #12] - 8008956: f8c3 22d4 str.w r2, [r3, #724] @ 0x2d4 + 8008fbe: 7dfa ldrb r2, [r7, #23] + 8008fc0: 68fb ldr r3, [r7, #12] + 8008fc2: f8c3 22d4 str.w r2, [r3, #724] @ 0x2d4 ret = (USBD_StatusTypeDef)pdev->pClass[idx]->DataIn(pdev, epnum); - 800895a: 7dfa ldrb r2, [r7, #23] - 800895c: 68fb ldr r3, [r7, #12] - 800895e: 32ae adds r2, #174 @ 0xae - 8008960: f853 3022 ldr.w r3, [r3, r2, lsl #2] - 8008964: 695b ldr r3, [r3, #20] - 8008966: 7afa ldrb r2, [r7, #11] - 8008968: 4611 mov r1, r2 - 800896a: 68f8 ldr r0, [r7, #12] - 800896c: 4798 blx r3 - 800896e: 4603 mov r3, r0 - 8008970: 75bb strb r3, [r7, #22] + 8008fc6: 7dfa ldrb r2, [r7, #23] + 8008fc8: 68fb ldr r3, [r7, #12] + 8008fca: 32ae adds r2, #174 @ 0xae + 8008fcc: f853 3022 ldr.w r3, [r3, r2, lsl #2] + 8008fd0: 695b ldr r3, [r3, #20] + 8008fd2: 7afa ldrb r2, [r7, #11] + 8008fd4: 4611 mov r1, r2 + 8008fd6: 68f8 ldr r0, [r7, #12] + 8008fd8: 4798 blx r3 + 8008fda: 4603 mov r3, r0 + 8008fdc: 75bb strb r3, [r7, #22] if (ret != USBD_OK) - 8008972: 7dbb ldrb r3, [r7, #22] - 8008974: 2b00 cmp r3, #0 - 8008976: d001 beq.n 800897c + 8008fde: 7dbb ldrb r3, [r7, #22] + 8008fe0: 2b00 cmp r3, #0 + 8008fe2: d001 beq.n 8008fe8 { return ret; - 8008978: 7dbb ldrb r3, [r7, #22] - 800897a: e000 b.n 800897e + 8008fe4: 7dbb ldrb r3, [r7, #22] + 8008fe6: e000 b.n 8008fea } } } } return USBD_OK; - 800897c: 2300 movs r3, #0 + 8008fe8: 2300 movs r3, #0 } - 800897e: 4618 mov r0, r3 - 8008980: 3718 adds r7, #24 - 8008982: 46bd mov sp, r7 - 8008984: bd80 pop {r7, pc} + 8008fea: 4618 mov r0, r3 + 8008fec: 3718 adds r7, #24 + 8008fee: 46bd mov sp, r7 + 8008ff0: bd80 pop {r7, pc} -08008986 : +08008ff2 : * Handle Reset event * @param pdev: device instance * @retval status */ USBD_StatusTypeDef USBD_LL_Reset(USBD_HandleTypeDef *pdev) { - 8008986: b580 push {r7, lr} - 8008988: b084 sub sp, #16 - 800898a: af00 add r7, sp, #0 - 800898c: 6078 str r0, [r7, #4] + 8008ff2: b580 push {r7, lr} + 8008ff4: b084 sub sp, #16 + 8008ff6: af00 add r7, sp, #0 + 8008ff8: 6078 str r0, [r7, #4] USBD_StatusTypeDef ret = USBD_OK; - 800898e: 2300 movs r3, #0 - 8008990: 73fb strb r3, [r7, #15] + 8008ffa: 2300 movs r3, #0 + 8008ffc: 73fb strb r3, [r7, #15] /* Upon Reset call user call back */ pdev->dev_state = USBD_STATE_DEFAULT; - 8008992: 687b ldr r3, [r7, #4] - 8008994: 2201 movs r2, #1 - 8008996: f883 229c strb.w r2, [r3, #668] @ 0x29c + 8008ffe: 687b ldr r3, [r7, #4] + 8009000: 2201 movs r2, #1 + 8009002: f883 229c strb.w r2, [r3, #668] @ 0x29c pdev->ep0_state = USBD_EP0_IDLE; - 800899a: 687b ldr r3, [r7, #4] - 800899c: 2200 movs r2, #0 - 800899e: f8c3 2294 str.w r2, [r3, #660] @ 0x294 + 8009006: 687b ldr r3, [r7, #4] + 8009008: 2200 movs r2, #0 + 800900a: f8c3 2294 str.w r2, [r3, #660] @ 0x294 pdev->dev_config = 0U; - 80089a2: 687b ldr r3, [r7, #4] - 80089a4: 2200 movs r2, #0 - 80089a6: 605a str r2, [r3, #4] + 800900e: 687b ldr r3, [r7, #4] + 8009010: 2200 movs r2, #0 + 8009012: 605a str r2, [r3, #4] pdev->dev_remote_wakeup = 0U; - 80089a8: 687b ldr r3, [r7, #4] - 80089aa: 2200 movs r2, #0 - 80089ac: f8c3 22a4 str.w r2, [r3, #676] @ 0x2a4 + 8009014: 687b ldr r3, [r7, #4] + 8009016: 2200 movs r2, #0 + 8009018: f8c3 22a4 str.w r2, [r3, #676] @ 0x2a4 pdev->dev_test_mode = 0U; - 80089b0: 687b ldr r3, [r7, #4] - 80089b2: 2200 movs r2, #0 - 80089b4: f883 22a0 strb.w r2, [r3, #672] @ 0x2a0 + 800901c: 687b ldr r3, [r7, #4] + 800901e: 2200 movs r2, #0 + 8009020: f883 22a0 strb.w r2, [r3, #672] @ 0x2a0 } } } #else if (pdev->pClass[0] != NULL) - 80089b8: 687b ldr r3, [r7, #4] - 80089ba: f8d3 32b8 ldr.w r3, [r3, #696] @ 0x2b8 - 80089be: 2b00 cmp r3, #0 - 80089c0: d014 beq.n 80089ec + 8009024: 687b ldr r3, [r7, #4] + 8009026: f8d3 32b8 ldr.w r3, [r3, #696] @ 0x2b8 + 800902a: 2b00 cmp r3, #0 + 800902c: d014 beq.n 8009058 { if (pdev->pClass[0]->DeInit != NULL) - 80089c2: 687b ldr r3, [r7, #4] - 80089c4: f8d3 32b8 ldr.w r3, [r3, #696] @ 0x2b8 - 80089c8: 685b ldr r3, [r3, #4] - 80089ca: 2b00 cmp r3, #0 - 80089cc: d00e beq.n 80089ec + 800902e: 687b ldr r3, [r7, #4] + 8009030: f8d3 32b8 ldr.w r3, [r3, #696] @ 0x2b8 + 8009034: 685b ldr r3, [r3, #4] + 8009036: 2b00 cmp r3, #0 + 8009038: d00e beq.n 8009058 { if (pdev->pClass[0]->DeInit(pdev, (uint8_t)pdev->dev_config) != USBD_OK) - 80089ce: 687b ldr r3, [r7, #4] - 80089d0: f8d3 32b8 ldr.w r3, [r3, #696] @ 0x2b8 - 80089d4: 685b ldr r3, [r3, #4] - 80089d6: 687a ldr r2, [r7, #4] - 80089d8: 6852 ldr r2, [r2, #4] - 80089da: b2d2 uxtb r2, r2 - 80089dc: 4611 mov r1, r2 - 80089de: 6878 ldr r0, [r7, #4] - 80089e0: 4798 blx r3 - 80089e2: 4603 mov r3, r0 - 80089e4: 2b00 cmp r3, #0 - 80089e6: d001 beq.n 80089ec + 800903a: 687b ldr r3, [r7, #4] + 800903c: f8d3 32b8 ldr.w r3, [r3, #696] @ 0x2b8 + 8009040: 685b ldr r3, [r3, #4] + 8009042: 687a ldr r2, [r7, #4] + 8009044: 6852 ldr r2, [r2, #4] + 8009046: b2d2 uxtb r2, r2 + 8009048: 4611 mov r1, r2 + 800904a: 6878 ldr r0, [r7, #4] + 800904c: 4798 blx r3 + 800904e: 4603 mov r3, r0 + 8009050: 2b00 cmp r3, #0 + 8009052: d001 beq.n 8009058 { ret = USBD_FAIL; - 80089e8: 2303 movs r3, #3 - 80089ea: 73fb strb r3, [r7, #15] + 8009054: 2303 movs r3, #3 + 8009056: 73fb strb r3, [r7, #15] } } #endif /* USE_USBD_COMPOSITE */ /* Open EP0 OUT */ (void)USBD_LL_OpenEP(pdev, 0x00U, USBD_EP_TYPE_CTRL, USB_MAX_EP0_SIZE); - 80089ec: 2340 movs r3, #64 @ 0x40 - 80089ee: 2200 movs r2, #0 - 80089f0: 2100 movs r1, #0 - 80089f2: 6878 ldr r0, [r7, #4] - 80089f4: f001 fb7b bl 800a0ee + 8009058: 2340 movs r3, #64 @ 0x40 + 800905a: 2200 movs r2, #0 + 800905c: 2100 movs r1, #0 + 800905e: 6878 ldr r0, [r7, #4] + 8009060: f001 fb7b bl 800a75a pdev->ep_out[0x00U & 0xFU].is_used = 1U; - 80089f8: 687b ldr r3, [r7, #4] - 80089fa: 2201 movs r2, #1 - 80089fc: f883 2163 strb.w r2, [r3, #355] @ 0x163 + 8009064: 687b ldr r3, [r7, #4] + 8009066: 2201 movs r2, #1 + 8009068: f883 2163 strb.w r2, [r3, #355] @ 0x163 pdev->ep_out[0].maxpacket = USB_MAX_EP0_SIZE; - 8008a00: 687b ldr r3, [r7, #4] - 8008a02: 2240 movs r2, #64 @ 0x40 - 8008a04: f8a3 2160 strh.w r2, [r3, #352] @ 0x160 + 800906c: 687b ldr r3, [r7, #4] + 800906e: 2240 movs r2, #64 @ 0x40 + 8009070: f8a3 2160 strh.w r2, [r3, #352] @ 0x160 /* Open EP0 IN */ (void)USBD_LL_OpenEP(pdev, 0x80U, USBD_EP_TYPE_CTRL, USB_MAX_EP0_SIZE); - 8008a08: 2340 movs r3, #64 @ 0x40 - 8008a0a: 2200 movs r2, #0 - 8008a0c: 2180 movs r1, #128 @ 0x80 - 8008a0e: 6878 ldr r0, [r7, #4] - 8008a10: f001 fb6d bl 800a0ee + 8009074: 2340 movs r3, #64 @ 0x40 + 8009076: 2200 movs r2, #0 + 8009078: 2180 movs r1, #128 @ 0x80 + 800907a: 6878 ldr r0, [r7, #4] + 800907c: f001 fb6d bl 800a75a pdev->ep_in[0x80U & 0xFU].is_used = 1U; - 8008a14: 687b ldr r3, [r7, #4] - 8008a16: 2201 movs r2, #1 - 8008a18: f883 2023 strb.w r2, [r3, #35] @ 0x23 + 8009080: 687b ldr r3, [r7, #4] + 8009082: 2201 movs r2, #1 + 8009084: f883 2023 strb.w r2, [r3, #35] @ 0x23 pdev->ep_in[0].maxpacket = USB_MAX_EP0_SIZE; - 8008a1c: 687b ldr r3, [r7, #4] - 8008a1e: 2240 movs r2, #64 @ 0x40 - 8008a20: 841a strh r2, [r3, #32] + 8009088: 687b ldr r3, [r7, #4] + 800908a: 2240 movs r2, #64 @ 0x40 + 800908c: 841a strh r2, [r3, #32] return ret; - 8008a22: 7bfb ldrb r3, [r7, #15] + 800908e: 7bfb ldrb r3, [r7, #15] } - 8008a24: 4618 mov r0, r3 - 8008a26: 3710 adds r7, #16 - 8008a28: 46bd mov sp, r7 - 8008a2a: bd80 pop {r7, pc} + 8009090: 4618 mov r0, r3 + 8009092: 3710 adds r7, #16 + 8009094: 46bd mov sp, r7 + 8009096: bd80 pop {r7, pc} -08008a2c : +08009098 : * @param pdev: device instance * @retval status */ USBD_StatusTypeDef USBD_LL_SetSpeed(USBD_HandleTypeDef *pdev, USBD_SpeedTypeDef speed) { - 8008a2c: b480 push {r7} - 8008a2e: b083 sub sp, #12 - 8008a30: af00 add r7, sp, #0 - 8008a32: 6078 str r0, [r7, #4] - 8008a34: 460b mov r3, r1 - 8008a36: 70fb strb r3, [r7, #3] + 8009098: b480 push {r7} + 800909a: b083 sub sp, #12 + 800909c: af00 add r7, sp, #0 + 800909e: 6078 str r0, [r7, #4] + 80090a0: 460b mov r3, r1 + 80090a2: 70fb strb r3, [r7, #3] pdev->dev_speed = speed; - 8008a38: 687b ldr r3, [r7, #4] - 8008a3a: 78fa ldrb r2, [r7, #3] - 8008a3c: 741a strb r2, [r3, #16] + 80090a4: 687b ldr r3, [r7, #4] + 80090a6: 78fa ldrb r2, [r7, #3] + 80090a8: 741a strb r2, [r3, #16] return USBD_OK; - 8008a3e: 2300 movs r3, #0 + 80090aa: 2300 movs r3, #0 } - 8008a40: 4618 mov r0, r3 - 8008a42: 370c adds r7, #12 - 8008a44: 46bd mov sp, r7 - 8008a46: f85d 7b04 ldr.w r7, [sp], #4 - 8008a4a: 4770 bx lr + 80090ac: 4618 mov r0, r3 + 80090ae: 370c adds r7, #12 + 80090b0: 46bd mov sp, r7 + 80090b2: f85d 7b04 ldr.w r7, [sp], #4 + 80090b6: 4770 bx lr -08008a4c : +080090b8 : * Handle Suspend event * @param pdev: device instance * @retval status */ USBD_StatusTypeDef USBD_LL_Suspend(USBD_HandleTypeDef *pdev) { - 8008a4c: b480 push {r7} - 8008a4e: b083 sub sp, #12 - 8008a50: af00 add r7, sp, #0 - 8008a52: 6078 str r0, [r7, #4] + 80090b8: b480 push {r7} + 80090ba: b083 sub sp, #12 + 80090bc: af00 add r7, sp, #0 + 80090be: 6078 str r0, [r7, #4] if (pdev->dev_state != USBD_STATE_SUSPENDED) - 8008a54: 687b ldr r3, [r7, #4] - 8008a56: f893 329c ldrb.w r3, [r3, #668] @ 0x29c - 8008a5a: b2db uxtb r3, r3 - 8008a5c: 2b04 cmp r3, #4 - 8008a5e: d006 beq.n 8008a6e + 80090c0: 687b ldr r3, [r7, #4] + 80090c2: f893 329c ldrb.w r3, [r3, #668] @ 0x29c + 80090c6: b2db uxtb r3, r3 + 80090c8: 2b04 cmp r3, #4 + 80090ca: d006 beq.n 80090da { pdev->dev_old_state = pdev->dev_state; - 8008a60: 687b ldr r3, [r7, #4] - 8008a62: f893 329c ldrb.w r3, [r3, #668] @ 0x29c - 8008a66: b2da uxtb r2, r3 - 8008a68: 687b ldr r3, [r7, #4] - 8008a6a: f883 229d strb.w r2, [r3, #669] @ 0x29d + 80090cc: 687b ldr r3, [r7, #4] + 80090ce: f893 329c ldrb.w r3, [r3, #668] @ 0x29c + 80090d2: b2da uxtb r2, r3 + 80090d4: 687b ldr r3, [r7, #4] + 80090d6: f883 229d strb.w r2, [r3, #669] @ 0x29d } pdev->dev_state = USBD_STATE_SUSPENDED; - 8008a6e: 687b ldr r3, [r7, #4] - 8008a70: 2204 movs r2, #4 - 8008a72: f883 229c strb.w r2, [r3, #668] @ 0x29c + 80090da: 687b ldr r3, [r7, #4] + 80090dc: 2204 movs r2, #4 + 80090de: f883 229c strb.w r2, [r3, #668] @ 0x29c return USBD_OK; - 8008a76: 2300 movs r3, #0 + 80090e2: 2300 movs r3, #0 } - 8008a78: 4618 mov r0, r3 - 8008a7a: 370c adds r7, #12 - 8008a7c: 46bd mov sp, r7 - 8008a7e: f85d 7b04 ldr.w r7, [sp], #4 - 8008a82: 4770 bx lr + 80090e4: 4618 mov r0, r3 + 80090e6: 370c adds r7, #12 + 80090e8: 46bd mov sp, r7 + 80090ea: f85d 7b04 ldr.w r7, [sp], #4 + 80090ee: 4770 bx lr -08008a84 : +080090f0 : * Handle Resume event * @param pdev: device instance * @retval status */ USBD_StatusTypeDef USBD_LL_Resume(USBD_HandleTypeDef *pdev) { - 8008a84: b480 push {r7} - 8008a86: b083 sub sp, #12 - 8008a88: af00 add r7, sp, #0 - 8008a8a: 6078 str r0, [r7, #4] + 80090f0: b480 push {r7} + 80090f2: b083 sub sp, #12 + 80090f4: af00 add r7, sp, #0 + 80090f6: 6078 str r0, [r7, #4] if (pdev->dev_state == USBD_STATE_SUSPENDED) - 8008a8c: 687b ldr r3, [r7, #4] - 8008a8e: f893 329c ldrb.w r3, [r3, #668] @ 0x29c - 8008a92: b2db uxtb r3, r3 - 8008a94: 2b04 cmp r3, #4 - 8008a96: d106 bne.n 8008aa6 + 80090f8: 687b ldr r3, [r7, #4] + 80090fa: f893 329c ldrb.w r3, [r3, #668] @ 0x29c + 80090fe: b2db uxtb r3, r3 + 8009100: 2b04 cmp r3, #4 + 8009102: d106 bne.n 8009112 { pdev->dev_state = pdev->dev_old_state; - 8008a98: 687b ldr r3, [r7, #4] - 8008a9a: f893 329d ldrb.w r3, [r3, #669] @ 0x29d - 8008a9e: b2da uxtb r2, r3 - 8008aa0: 687b ldr r3, [r7, #4] - 8008aa2: f883 229c strb.w r2, [r3, #668] @ 0x29c + 8009104: 687b ldr r3, [r7, #4] + 8009106: f893 329d ldrb.w r3, [r3, #669] @ 0x29d + 800910a: b2da uxtb r2, r3 + 800910c: 687b ldr r3, [r7, #4] + 800910e: f883 229c strb.w r2, [r3, #668] @ 0x29c } return USBD_OK; - 8008aa6: 2300 movs r3, #0 + 8009112: 2300 movs r3, #0 } - 8008aa8: 4618 mov r0, r3 - 8008aaa: 370c adds r7, #12 - 8008aac: 46bd mov sp, r7 - 8008aae: f85d 7b04 ldr.w r7, [sp], #4 - 8008ab2: 4770 bx lr + 8009114: 4618 mov r0, r3 + 8009116: 370c adds r7, #12 + 8009118: 46bd mov sp, r7 + 800911a: f85d 7b04 ldr.w r7, [sp], #4 + 800911e: 4770 bx lr -08008ab4 : +08009120 : * Handle SOF event * @param pdev: device instance * @retval status */ USBD_StatusTypeDef USBD_LL_SOF(USBD_HandleTypeDef *pdev) { - 8008ab4: b580 push {r7, lr} - 8008ab6: b082 sub sp, #8 - 8008ab8: af00 add r7, sp, #0 - 8008aba: 6078 str r0, [r7, #4] + 8009120: b580 push {r7, lr} + 8009122: b082 sub sp, #8 + 8009124: af00 add r7, sp, #0 + 8009126: 6078 str r0, [r7, #4] /* The SOF event can be distributed for all classes that support it */ if (pdev->dev_state == USBD_STATE_CONFIGURED) - 8008abc: 687b ldr r3, [r7, #4] - 8008abe: f893 329c ldrb.w r3, [r3, #668] @ 0x29c - 8008ac2: b2db uxtb r3, r3 - 8008ac4: 2b03 cmp r3, #3 - 8008ac6: d110 bne.n 8008aea + 8009128: 687b ldr r3, [r7, #4] + 800912a: f893 329c ldrb.w r3, [r3, #668] @ 0x29c + 800912e: b2db uxtb r3, r3 + 8009130: 2b03 cmp r3, #3 + 8009132: d110 bne.n 8009156 } } } } #else if (pdev->pClass[0] != NULL) - 8008ac8: 687b ldr r3, [r7, #4] - 8008aca: f8d3 32b8 ldr.w r3, [r3, #696] @ 0x2b8 - 8008ace: 2b00 cmp r3, #0 - 8008ad0: d00b beq.n 8008aea + 8009134: 687b ldr r3, [r7, #4] + 8009136: f8d3 32b8 ldr.w r3, [r3, #696] @ 0x2b8 + 800913a: 2b00 cmp r3, #0 + 800913c: d00b beq.n 8009156 { if (pdev->pClass[0]->SOF != NULL) - 8008ad2: 687b ldr r3, [r7, #4] - 8008ad4: f8d3 32b8 ldr.w r3, [r3, #696] @ 0x2b8 - 8008ad8: 69db ldr r3, [r3, #28] - 8008ada: 2b00 cmp r3, #0 - 8008adc: d005 beq.n 8008aea + 800913e: 687b ldr r3, [r7, #4] + 8009140: f8d3 32b8 ldr.w r3, [r3, #696] @ 0x2b8 + 8009144: 69db ldr r3, [r3, #28] + 8009146: 2b00 cmp r3, #0 + 8009148: d005 beq.n 8009156 { (void)pdev->pClass[0]->SOF(pdev); - 8008ade: 687b ldr r3, [r7, #4] - 8008ae0: f8d3 32b8 ldr.w r3, [r3, #696] @ 0x2b8 - 8008ae4: 69db ldr r3, [r3, #28] - 8008ae6: 6878 ldr r0, [r7, #4] - 8008ae8: 4798 blx r3 + 800914a: 687b ldr r3, [r7, #4] + 800914c: f8d3 32b8 ldr.w r3, [r3, #696] @ 0x2b8 + 8009150: 69db ldr r3, [r3, #28] + 8009152: 6878 ldr r0, [r7, #4] + 8009154: 4798 blx r3 } } #endif /* USE_USBD_COMPOSITE */ } return USBD_OK; - 8008aea: 2300 movs r3, #0 + 8009156: 2300 movs r3, #0 } - 8008aec: 4618 mov r0, r3 - 8008aee: 3708 adds r7, #8 - 8008af0: 46bd mov sp, r7 - 8008af2: bd80 pop {r7, pc} + 8009158: 4618 mov r0, r3 + 800915a: 3708 adds r7, #8 + 800915c: 46bd mov sp, r7 + 800915e: bd80 pop {r7, pc} -08008af4 : +08009160 : * @param epnum: Endpoint number * @retval status */ USBD_StatusTypeDef USBD_LL_IsoINIncomplete(USBD_HandleTypeDef *pdev, uint8_t epnum) { - 8008af4: b580 push {r7, lr} - 8008af6: b082 sub sp, #8 - 8008af8: af00 add r7, sp, #0 - 8008afa: 6078 str r0, [r7, #4] - 8008afc: 460b mov r3, r1 - 8008afe: 70fb strb r3, [r7, #3] + 8009160: b580 push {r7, lr} + 8009162: b082 sub sp, #8 + 8009164: af00 add r7, sp, #0 + 8009166: 6078 str r0, [r7, #4] + 8009168: 460b mov r3, r1 + 800916a: 70fb strb r3, [r7, #3] if (pdev->pClass[pdev->classId] == NULL) - 8008b00: 687b ldr r3, [r7, #4] - 8008b02: f8d3 22d4 ldr.w r2, [r3, #724] @ 0x2d4 - 8008b06: 687b ldr r3, [r7, #4] - 8008b08: 32ae adds r2, #174 @ 0xae - 8008b0a: f853 3022 ldr.w r3, [r3, r2, lsl #2] - 8008b0e: 2b00 cmp r3, #0 - 8008b10: d101 bne.n 8008b16 + 800916c: 687b ldr r3, [r7, #4] + 800916e: f8d3 22d4 ldr.w r2, [r3, #724] @ 0x2d4 + 8009172: 687b ldr r3, [r7, #4] + 8009174: 32ae adds r2, #174 @ 0xae + 8009176: f853 3022 ldr.w r3, [r3, r2, lsl #2] + 800917a: 2b00 cmp r3, #0 + 800917c: d101 bne.n 8009182 { return USBD_FAIL; - 8008b12: 2303 movs r3, #3 - 8008b14: e01c b.n 8008b50 + 800917e: 2303 movs r3, #3 + 8009180: e01c b.n 80091bc } if (pdev->dev_state == USBD_STATE_CONFIGURED) - 8008b16: 687b ldr r3, [r7, #4] - 8008b18: f893 329c ldrb.w r3, [r3, #668] @ 0x29c - 8008b1c: b2db uxtb r3, r3 - 8008b1e: 2b03 cmp r3, #3 - 8008b20: d115 bne.n 8008b4e + 8009182: 687b ldr r3, [r7, #4] + 8009184: f893 329c ldrb.w r3, [r3, #668] @ 0x29c + 8009188: b2db uxtb r3, r3 + 800918a: 2b03 cmp r3, #3 + 800918c: d115 bne.n 80091ba { if (pdev->pClass[pdev->classId]->IsoINIncomplete != NULL) - 8008b22: 687b ldr r3, [r7, #4] - 8008b24: f8d3 22d4 ldr.w r2, [r3, #724] @ 0x2d4 - 8008b28: 687b ldr r3, [r7, #4] - 8008b2a: 32ae adds r2, #174 @ 0xae - 8008b2c: f853 3022 ldr.w r3, [r3, r2, lsl #2] - 8008b30: 6a1b ldr r3, [r3, #32] - 8008b32: 2b00 cmp r3, #0 - 8008b34: d00b beq.n 8008b4e + 800918e: 687b ldr r3, [r7, #4] + 8009190: f8d3 22d4 ldr.w r2, [r3, #724] @ 0x2d4 + 8009194: 687b ldr r3, [r7, #4] + 8009196: 32ae adds r2, #174 @ 0xae + 8009198: f853 3022 ldr.w r3, [r3, r2, lsl #2] + 800919c: 6a1b ldr r3, [r3, #32] + 800919e: 2b00 cmp r3, #0 + 80091a0: d00b beq.n 80091ba { (void)pdev->pClass[pdev->classId]->IsoINIncomplete(pdev, epnum); - 8008b36: 687b ldr r3, [r7, #4] - 8008b38: f8d3 22d4 ldr.w r2, [r3, #724] @ 0x2d4 - 8008b3c: 687b ldr r3, [r7, #4] - 8008b3e: 32ae adds r2, #174 @ 0xae - 8008b40: f853 3022 ldr.w r3, [r3, r2, lsl #2] - 8008b44: 6a1b ldr r3, [r3, #32] - 8008b46: 78fa ldrb r2, [r7, #3] - 8008b48: 4611 mov r1, r2 - 8008b4a: 6878 ldr r0, [r7, #4] - 8008b4c: 4798 blx r3 + 80091a2: 687b ldr r3, [r7, #4] + 80091a4: f8d3 22d4 ldr.w r2, [r3, #724] @ 0x2d4 + 80091a8: 687b ldr r3, [r7, #4] + 80091aa: 32ae adds r2, #174 @ 0xae + 80091ac: f853 3022 ldr.w r3, [r3, r2, lsl #2] + 80091b0: 6a1b ldr r3, [r3, #32] + 80091b2: 78fa ldrb r2, [r7, #3] + 80091b4: 4611 mov r1, r2 + 80091b6: 6878 ldr r0, [r7, #4] + 80091b8: 4798 blx r3 } } return USBD_OK; - 8008b4e: 2300 movs r3, #0 + 80091ba: 2300 movs r3, #0 } - 8008b50: 4618 mov r0, r3 - 8008b52: 3708 adds r7, #8 - 8008b54: 46bd mov sp, r7 - 8008b56: bd80 pop {r7, pc} + 80091bc: 4618 mov r0, r3 + 80091be: 3708 adds r7, #8 + 80091c0: 46bd mov sp, r7 + 80091c2: bd80 pop {r7, pc} -08008b58 : +080091c4 : * @param epnum: Endpoint number * @retval status */ USBD_StatusTypeDef USBD_LL_IsoOUTIncomplete(USBD_HandleTypeDef *pdev, uint8_t epnum) { - 8008b58: b580 push {r7, lr} - 8008b5a: b082 sub sp, #8 - 8008b5c: af00 add r7, sp, #0 - 8008b5e: 6078 str r0, [r7, #4] - 8008b60: 460b mov r3, r1 - 8008b62: 70fb strb r3, [r7, #3] + 80091c4: b580 push {r7, lr} + 80091c6: b082 sub sp, #8 + 80091c8: af00 add r7, sp, #0 + 80091ca: 6078 str r0, [r7, #4] + 80091cc: 460b mov r3, r1 + 80091ce: 70fb strb r3, [r7, #3] if (pdev->pClass[pdev->classId] == NULL) - 8008b64: 687b ldr r3, [r7, #4] - 8008b66: f8d3 22d4 ldr.w r2, [r3, #724] @ 0x2d4 - 8008b6a: 687b ldr r3, [r7, #4] - 8008b6c: 32ae adds r2, #174 @ 0xae - 8008b6e: f853 3022 ldr.w r3, [r3, r2, lsl #2] - 8008b72: 2b00 cmp r3, #0 - 8008b74: d101 bne.n 8008b7a + 80091d0: 687b ldr r3, [r7, #4] + 80091d2: f8d3 22d4 ldr.w r2, [r3, #724] @ 0x2d4 + 80091d6: 687b ldr r3, [r7, #4] + 80091d8: 32ae adds r2, #174 @ 0xae + 80091da: f853 3022 ldr.w r3, [r3, r2, lsl #2] + 80091de: 2b00 cmp r3, #0 + 80091e0: d101 bne.n 80091e6 { return USBD_FAIL; - 8008b76: 2303 movs r3, #3 - 8008b78: e01c b.n 8008bb4 + 80091e2: 2303 movs r3, #3 + 80091e4: e01c b.n 8009220 } if (pdev->dev_state == USBD_STATE_CONFIGURED) - 8008b7a: 687b ldr r3, [r7, #4] - 8008b7c: f893 329c ldrb.w r3, [r3, #668] @ 0x29c - 8008b80: b2db uxtb r3, r3 - 8008b82: 2b03 cmp r3, #3 - 8008b84: d115 bne.n 8008bb2 + 80091e6: 687b ldr r3, [r7, #4] + 80091e8: f893 329c ldrb.w r3, [r3, #668] @ 0x29c + 80091ec: b2db uxtb r3, r3 + 80091ee: 2b03 cmp r3, #3 + 80091f0: d115 bne.n 800921e { if (pdev->pClass[pdev->classId]->IsoOUTIncomplete != NULL) - 8008b86: 687b ldr r3, [r7, #4] - 8008b88: f8d3 22d4 ldr.w r2, [r3, #724] @ 0x2d4 - 8008b8c: 687b ldr r3, [r7, #4] - 8008b8e: 32ae adds r2, #174 @ 0xae - 8008b90: f853 3022 ldr.w r3, [r3, r2, lsl #2] - 8008b94: 6a5b ldr r3, [r3, #36] @ 0x24 - 8008b96: 2b00 cmp r3, #0 - 8008b98: d00b beq.n 8008bb2 + 80091f2: 687b ldr r3, [r7, #4] + 80091f4: f8d3 22d4 ldr.w r2, [r3, #724] @ 0x2d4 + 80091f8: 687b ldr r3, [r7, #4] + 80091fa: 32ae adds r2, #174 @ 0xae + 80091fc: f853 3022 ldr.w r3, [r3, r2, lsl #2] + 8009200: 6a5b ldr r3, [r3, #36] @ 0x24 + 8009202: 2b00 cmp r3, #0 + 8009204: d00b beq.n 800921e { (void)pdev->pClass[pdev->classId]->IsoOUTIncomplete(pdev, epnum); - 8008b9a: 687b ldr r3, [r7, #4] - 8008b9c: f8d3 22d4 ldr.w r2, [r3, #724] @ 0x2d4 - 8008ba0: 687b ldr r3, [r7, #4] - 8008ba2: 32ae adds r2, #174 @ 0xae - 8008ba4: f853 3022 ldr.w r3, [r3, r2, lsl #2] - 8008ba8: 6a5b ldr r3, [r3, #36] @ 0x24 - 8008baa: 78fa ldrb r2, [r7, #3] - 8008bac: 4611 mov r1, r2 - 8008bae: 6878 ldr r0, [r7, #4] - 8008bb0: 4798 blx r3 + 8009206: 687b ldr r3, [r7, #4] + 8009208: f8d3 22d4 ldr.w r2, [r3, #724] @ 0x2d4 + 800920c: 687b ldr r3, [r7, #4] + 800920e: 32ae adds r2, #174 @ 0xae + 8009210: f853 3022 ldr.w r3, [r3, r2, lsl #2] + 8009214: 6a5b ldr r3, [r3, #36] @ 0x24 + 8009216: 78fa ldrb r2, [r7, #3] + 8009218: 4611 mov r1, r2 + 800921a: 6878 ldr r0, [r7, #4] + 800921c: 4798 blx r3 } } return USBD_OK; - 8008bb2: 2300 movs r3, #0 + 800921e: 2300 movs r3, #0 } - 8008bb4: 4618 mov r0, r3 - 8008bb6: 3708 adds r7, #8 - 8008bb8: 46bd mov sp, r7 - 8008bba: bd80 pop {r7, pc} + 8009220: 4618 mov r0, r3 + 8009222: 3708 adds r7, #8 + 8009224: 46bd mov sp, r7 + 8009226: bd80 pop {r7, pc} -08008bbc : +08009228 : * Handle device connection event * @param pdev: device instance * @retval status */ USBD_StatusTypeDef USBD_LL_DevConnected(USBD_HandleTypeDef *pdev) { - 8008bbc: b480 push {r7} - 8008bbe: b083 sub sp, #12 - 8008bc0: af00 add r7, sp, #0 - 8008bc2: 6078 str r0, [r7, #4] + 8009228: b480 push {r7} + 800922a: b083 sub sp, #12 + 800922c: af00 add r7, sp, #0 + 800922e: 6078 str r0, [r7, #4] /* Prevent unused argument compilation warning */ UNUSED(pdev); return USBD_OK; - 8008bc4: 2300 movs r3, #0 + 8009230: 2300 movs r3, #0 } - 8008bc6: 4618 mov r0, r3 - 8008bc8: 370c adds r7, #12 - 8008bca: 46bd mov sp, r7 - 8008bcc: f85d 7b04 ldr.w r7, [sp], #4 - 8008bd0: 4770 bx lr + 8009232: 4618 mov r0, r3 + 8009234: 370c adds r7, #12 + 8009236: 46bd mov sp, r7 + 8009238: f85d 7b04 ldr.w r7, [sp], #4 + 800923c: 4770 bx lr -08008bd2 : +0800923e : * Handle device disconnection event * @param pdev: device instance * @retval status */ USBD_StatusTypeDef USBD_LL_DevDisconnected(USBD_HandleTypeDef *pdev) { - 8008bd2: b580 push {r7, lr} - 8008bd4: b084 sub sp, #16 - 8008bd6: af00 add r7, sp, #0 - 8008bd8: 6078 str r0, [r7, #4] + 800923e: b580 push {r7, lr} + 8009240: b084 sub sp, #16 + 8009242: af00 add r7, sp, #0 + 8009244: 6078 str r0, [r7, #4] USBD_StatusTypeDef ret = USBD_OK; - 8008bda: 2300 movs r3, #0 - 8008bdc: 73fb strb r3, [r7, #15] + 8009246: 2300 movs r3, #0 + 8009248: 73fb strb r3, [r7, #15] /* Free Class Resources */ pdev->dev_state = USBD_STATE_DEFAULT; - 8008bde: 687b ldr r3, [r7, #4] - 8008be0: 2201 movs r2, #1 - 8008be2: f883 229c strb.w r2, [r3, #668] @ 0x29c + 800924a: 687b ldr r3, [r7, #4] + 800924c: 2201 movs r2, #1 + 800924e: f883 229c strb.w r2, [r3, #668] @ 0x29c } } } } #else if (pdev->pClass[0] != NULL) - 8008be6: 687b ldr r3, [r7, #4] - 8008be8: f8d3 32b8 ldr.w r3, [r3, #696] @ 0x2b8 - 8008bec: 2b00 cmp r3, #0 - 8008bee: d00e beq.n 8008c0e + 8009252: 687b ldr r3, [r7, #4] + 8009254: f8d3 32b8 ldr.w r3, [r3, #696] @ 0x2b8 + 8009258: 2b00 cmp r3, #0 + 800925a: d00e beq.n 800927a { if (pdev->pClass[0]->DeInit(pdev, (uint8_t)pdev->dev_config) != 0U) - 8008bf0: 687b ldr r3, [r7, #4] - 8008bf2: f8d3 32b8 ldr.w r3, [r3, #696] @ 0x2b8 - 8008bf6: 685b ldr r3, [r3, #4] - 8008bf8: 687a ldr r2, [r7, #4] - 8008bfa: 6852 ldr r2, [r2, #4] - 8008bfc: b2d2 uxtb r2, r2 - 8008bfe: 4611 mov r1, r2 - 8008c00: 6878 ldr r0, [r7, #4] - 8008c02: 4798 blx r3 - 8008c04: 4603 mov r3, r0 - 8008c06: 2b00 cmp r3, #0 - 8008c08: d001 beq.n 8008c0e + 800925c: 687b ldr r3, [r7, #4] + 800925e: f8d3 32b8 ldr.w r3, [r3, #696] @ 0x2b8 + 8009262: 685b ldr r3, [r3, #4] + 8009264: 687a ldr r2, [r7, #4] + 8009266: 6852 ldr r2, [r2, #4] + 8009268: b2d2 uxtb r2, r2 + 800926a: 4611 mov r1, r2 + 800926c: 6878 ldr r0, [r7, #4] + 800926e: 4798 blx r3 + 8009270: 4603 mov r3, r0 + 8009272: 2b00 cmp r3, #0 + 8009274: d001 beq.n 800927a { ret = USBD_FAIL; - 8008c0a: 2303 movs r3, #3 - 8008c0c: 73fb strb r3, [r7, #15] + 8009276: 2303 movs r3, #3 + 8009278: 73fb strb r3, [r7, #15] } } #endif /* USE_USBD_COMPOSITE */ return ret; - 8008c0e: 7bfb ldrb r3, [r7, #15] + 800927a: 7bfb ldrb r3, [r7, #15] } - 8008c10: 4618 mov r0, r3 - 8008c12: 3710 adds r7, #16 - 8008c14: 46bd mov sp, r7 - 8008c16: bd80 pop {r7, pc} + 800927c: 4618 mov r0, r3 + 800927e: 3710 adds r7, #16 + 8009280: 46bd mov sp, r7 + 8009282: bd80 pop {r7, pc} -08008c18 : +08009284 : * @param pdev: device instance * @param index : selected interface number * @retval index of the class using the selected interface number. OxFF if no class found. */ uint8_t USBD_CoreFindIF(USBD_HandleTypeDef *pdev, uint8_t index) { - 8008c18: b480 push {r7} - 8008c1a: b083 sub sp, #12 - 8008c1c: af00 add r7, sp, #0 - 8008c1e: 6078 str r0, [r7, #4] - 8008c20: 460b mov r3, r1 - 8008c22: 70fb strb r3, [r7, #3] + 8009284: b480 push {r7} + 8009286: b083 sub sp, #12 + 8009288: af00 add r7, sp, #0 + 800928a: 6078 str r0, [r7, #4] + 800928c: 460b mov r3, r1 + 800928e: 70fb strb r3, [r7, #3] return 0xFFU; #else UNUSED(pdev); UNUSED(index); return 0x00U; - 8008c24: 2300 movs r3, #0 + 8009290: 2300 movs r3, #0 #endif /* USE_USBD_COMPOSITE */ } - 8008c26: 4618 mov r0, r3 - 8008c28: 370c adds r7, #12 - 8008c2a: 46bd mov sp, r7 - 8008c2c: f85d 7b04 ldr.w r7, [sp], #4 - 8008c30: 4770 bx lr + 8009292: 4618 mov r0, r3 + 8009294: 370c adds r7, #12 + 8009296: 46bd mov sp, r7 + 8009298: f85d 7b04 ldr.w r7, [sp], #4 + 800929c: 4770 bx lr -08008c32 : +0800929e : * @param pdev: device instance * @param index : selected endpoint number * @retval index of the class using the selected endpoint number. 0xFF if no class found. */ uint8_t USBD_CoreFindEP(USBD_HandleTypeDef *pdev, uint8_t index) { - 8008c32: b480 push {r7} - 8008c34: b083 sub sp, #12 - 8008c36: af00 add r7, sp, #0 - 8008c38: 6078 str r0, [r7, #4] - 8008c3a: 460b mov r3, r1 - 8008c3c: 70fb strb r3, [r7, #3] + 800929e: b480 push {r7} + 80092a0: b083 sub sp, #12 + 80092a2: af00 add r7, sp, #0 + 80092a4: 6078 str r0, [r7, #4] + 80092a6: 460b mov r3, r1 + 80092a8: 70fb strb r3, [r7, #3] return 0xFFU; #else UNUSED(pdev); UNUSED(index); return 0x00U; - 8008c3e: 2300 movs r3, #0 + 80092aa: 2300 movs r3, #0 #endif /* USE_USBD_COMPOSITE */ } - 8008c40: 4618 mov r0, r3 - 8008c42: 370c adds r7, #12 - 8008c44: 46bd mov sp, r7 - 8008c46: f85d 7b04 ldr.w r7, [sp], #4 - 8008c4a: 4770 bx lr + 80092ac: 4618 mov r0, r3 + 80092ae: 370c adds r7, #12 + 80092b0: 46bd mov sp, r7 + 80092b2: f85d 7b04 ldr.w r7, [sp], #4 + 80092b6: 4770 bx lr -08008c4c : +080092b8 : * @param pConfDesc: pointer to Bos descriptor * @param EpAddr: endpoint address * @retval pointer to video endpoint descriptor */ void *USBD_GetEpDesc(uint8_t *pConfDesc, uint8_t EpAddr) { - 8008c4c: b580 push {r7, lr} - 8008c4e: b086 sub sp, #24 - 8008c50: af00 add r7, sp, #0 - 8008c52: 6078 str r0, [r7, #4] - 8008c54: 460b mov r3, r1 - 8008c56: 70fb strb r3, [r7, #3] + 80092b8: b580 push {r7, lr} + 80092ba: b086 sub sp, #24 + 80092bc: af00 add r7, sp, #0 + 80092be: 6078 str r0, [r7, #4] + 80092c0: 460b mov r3, r1 + 80092c2: 70fb strb r3, [r7, #3] USBD_DescHeaderTypeDef *pdesc = (USBD_DescHeaderTypeDef *)(void *)pConfDesc; - 8008c58: 687b ldr r3, [r7, #4] - 8008c5a: 617b str r3, [r7, #20] + 80092c4: 687b ldr r3, [r7, #4] + 80092c6: 617b str r3, [r7, #20] USBD_ConfigDescTypeDef *desc = (USBD_ConfigDescTypeDef *)(void *)pConfDesc; - 8008c5c: 687b ldr r3, [r7, #4] - 8008c5e: 60fb str r3, [r7, #12] + 80092c8: 687b ldr r3, [r7, #4] + 80092ca: 60fb str r3, [r7, #12] USBD_EpDescTypeDef *pEpDesc = NULL; - 8008c60: 2300 movs r3, #0 - 8008c62: 613b str r3, [r7, #16] + 80092cc: 2300 movs r3, #0 + 80092ce: 613b str r3, [r7, #16] uint16_t ptr; if (desc->wTotalLength > desc->bLength) - 8008c64: 68fb ldr r3, [r7, #12] - 8008c66: 885b ldrh r3, [r3, #2] - 8008c68: b29b uxth r3, r3 - 8008c6a: 68fa ldr r2, [r7, #12] - 8008c6c: 7812 ldrb r2, [r2, #0] - 8008c6e: 4293 cmp r3, r2 - 8008c70: d91f bls.n 8008cb2 + 80092d0: 68fb ldr r3, [r7, #12] + 80092d2: 885b ldrh r3, [r3, #2] + 80092d4: b29b uxth r3, r3 + 80092d6: 68fa ldr r2, [r7, #12] + 80092d8: 7812 ldrb r2, [r2, #0] + 80092da: 4293 cmp r3, r2 + 80092dc: d91f bls.n 800931e { ptr = desc->bLength; - 8008c72: 68fb ldr r3, [r7, #12] - 8008c74: 781b ldrb r3, [r3, #0] - 8008c76: 817b strh r3, [r7, #10] + 80092de: 68fb ldr r3, [r7, #12] + 80092e0: 781b ldrb r3, [r3, #0] + 80092e2: 817b strh r3, [r7, #10] while (ptr < desc->wTotalLength) - 8008c78: e013 b.n 8008ca2 + 80092e4: e013 b.n 800930e { pdesc = USBD_GetNextDesc((uint8_t *)pdesc, &ptr); - 8008c7a: f107 030a add.w r3, r7, #10 - 8008c7e: 4619 mov r1, r3 - 8008c80: 6978 ldr r0, [r7, #20] - 8008c82: f000 f81b bl 8008cbc - 8008c86: 6178 str r0, [r7, #20] + 80092e6: f107 030a add.w r3, r7, #10 + 80092ea: 4619 mov r1, r3 + 80092ec: 6978 ldr r0, [r7, #20] + 80092ee: f000 f81b bl 8009328 + 80092f2: 6178 str r0, [r7, #20] if (pdesc->bDescriptorType == USB_DESC_TYPE_ENDPOINT) - 8008c88: 697b ldr r3, [r7, #20] - 8008c8a: 785b ldrb r3, [r3, #1] - 8008c8c: 2b05 cmp r3, #5 - 8008c8e: d108 bne.n 8008ca2 + 80092f4: 697b ldr r3, [r7, #20] + 80092f6: 785b ldrb r3, [r3, #1] + 80092f8: 2b05 cmp r3, #5 + 80092fa: d108 bne.n 800930e { pEpDesc = (USBD_EpDescTypeDef *)(void *)pdesc; - 8008c90: 697b ldr r3, [r7, #20] - 8008c92: 613b str r3, [r7, #16] + 80092fc: 697b ldr r3, [r7, #20] + 80092fe: 613b str r3, [r7, #16] if (pEpDesc->bEndpointAddress == EpAddr) - 8008c94: 693b ldr r3, [r7, #16] - 8008c96: 789b ldrb r3, [r3, #2] - 8008c98: 78fa ldrb r2, [r7, #3] - 8008c9a: 429a cmp r2, r3 - 8008c9c: d008 beq.n 8008cb0 + 8009300: 693b ldr r3, [r7, #16] + 8009302: 789b ldrb r3, [r3, #2] + 8009304: 78fa ldrb r2, [r7, #3] + 8009306: 429a cmp r2, r3 + 8009308: d008 beq.n 800931c { break; } else { pEpDesc = NULL; - 8008c9e: 2300 movs r3, #0 - 8008ca0: 613b str r3, [r7, #16] + 800930a: 2300 movs r3, #0 + 800930c: 613b str r3, [r7, #16] while (ptr < desc->wTotalLength) - 8008ca2: 68fb ldr r3, [r7, #12] - 8008ca4: 885b ldrh r3, [r3, #2] - 8008ca6: b29a uxth r2, r3 - 8008ca8: 897b ldrh r3, [r7, #10] - 8008caa: 429a cmp r2, r3 - 8008cac: d8e5 bhi.n 8008c7a - 8008cae: e000 b.n 8008cb2 + 800930e: 68fb ldr r3, [r7, #12] + 8009310: 885b ldrh r3, [r3, #2] + 8009312: b29a uxth r2, r3 + 8009314: 897b ldrh r3, [r7, #10] + 8009316: 429a cmp r2, r3 + 8009318: d8e5 bhi.n 80092e6 + 800931a: e000 b.n 800931e break; - 8008cb0: bf00 nop + 800931c: bf00 nop } } } } return (void *)pEpDesc; - 8008cb2: 693b ldr r3, [r7, #16] + 800931e: 693b ldr r3, [r7, #16] } - 8008cb4: 4618 mov r0, r3 - 8008cb6: 3718 adds r7, #24 - 8008cb8: 46bd mov sp, r7 - 8008cba: bd80 pop {r7, pc} + 8009320: 4618 mov r0, r3 + 8009322: 3718 adds r7, #24 + 8009324: 46bd mov sp, r7 + 8009326: bd80 pop {r7, pc} -08008cbc : +08009328 : * @param buf: Buffer where the descriptor is available * @param ptr: data pointer inside the descriptor * @retval next header */ USBD_DescHeaderTypeDef *USBD_GetNextDesc(uint8_t *pbuf, uint16_t *ptr) { - 8008cbc: b480 push {r7} - 8008cbe: b085 sub sp, #20 - 8008cc0: af00 add r7, sp, #0 - 8008cc2: 6078 str r0, [r7, #4] - 8008cc4: 6039 str r1, [r7, #0] + 8009328: b480 push {r7} + 800932a: b085 sub sp, #20 + 800932c: af00 add r7, sp, #0 + 800932e: 6078 str r0, [r7, #4] + 8009330: 6039 str r1, [r7, #0] USBD_DescHeaderTypeDef *pnext = (USBD_DescHeaderTypeDef *)(void *)pbuf; - 8008cc6: 687b ldr r3, [r7, #4] - 8008cc8: 60fb str r3, [r7, #12] + 8009332: 687b ldr r3, [r7, #4] + 8009334: 60fb str r3, [r7, #12] *ptr += pnext->bLength; - 8008cca: 683b ldr r3, [r7, #0] - 8008ccc: 881b ldrh r3, [r3, #0] - 8008cce: 68fa ldr r2, [r7, #12] - 8008cd0: 7812 ldrb r2, [r2, #0] - 8008cd2: 4413 add r3, r2 - 8008cd4: b29a uxth r2, r3 - 8008cd6: 683b ldr r3, [r7, #0] - 8008cd8: 801a strh r2, [r3, #0] + 8009336: 683b ldr r3, [r7, #0] + 8009338: 881b ldrh r3, [r3, #0] + 800933a: 68fa ldr r2, [r7, #12] + 800933c: 7812 ldrb r2, [r2, #0] + 800933e: 4413 add r3, r2 + 8009340: b29a uxth r2, r3 + 8009342: 683b ldr r3, [r7, #0] + 8009344: 801a strh r2, [r3, #0] pnext = (USBD_DescHeaderTypeDef *)(void *)(pbuf + pnext->bLength); - 8008cda: 68fb ldr r3, [r7, #12] - 8008cdc: 781b ldrb r3, [r3, #0] - 8008cde: 461a mov r2, r3 - 8008ce0: 687b ldr r3, [r7, #4] - 8008ce2: 4413 add r3, r2 - 8008ce4: 60fb str r3, [r7, #12] + 8009346: 68fb ldr r3, [r7, #12] + 8009348: 781b ldrb r3, [r3, #0] + 800934a: 461a mov r2, r3 + 800934c: 687b ldr r3, [r7, #4] + 800934e: 4413 add r3, r2 + 8009350: 60fb str r3, [r7, #12] return (pnext); - 8008ce6: 68fb ldr r3, [r7, #12] + 8009352: 68fb ldr r3, [r7, #12] } - 8008ce8: 4618 mov r0, r3 - 8008cea: 3714 adds r7, #20 - 8008cec: 46bd mov sp, r7 - 8008cee: f85d 7b04 ldr.w r7, [sp], #4 - 8008cf2: 4770 bx lr + 8009354: 4618 mov r0, r3 + 8009356: 3714 adds r7, #20 + 8009358: 46bd mov sp, r7 + 800935a: f85d 7b04 ldr.w r7, [sp], #4 + 800935e: 4770 bx lr -08008cf4 : +08009360 : /** @defgroup USBD_DEF_Exported_Macros * @{ */ __STATIC_INLINE uint16_t SWAPBYTE(uint8_t *addr) { - 8008cf4: b480 push {r7} - 8008cf6: b087 sub sp, #28 - 8008cf8: af00 add r7, sp, #0 - 8008cfa: 6078 str r0, [r7, #4] + 8009360: b480 push {r7} + 8009362: b087 sub sp, #28 + 8009364: af00 add r7, sp, #0 + 8009366: 6078 str r0, [r7, #4] uint16_t _SwapVal; uint16_t _Byte1; uint16_t _Byte2; uint8_t *_pbuff = addr; - 8008cfc: 687b ldr r3, [r7, #4] - 8008cfe: 617b str r3, [r7, #20] + 8009368: 687b ldr r3, [r7, #4] + 800936a: 617b str r3, [r7, #20] _Byte1 = *(uint8_t *)_pbuff; - 8008d00: 697b ldr r3, [r7, #20] - 8008d02: 781b ldrb r3, [r3, #0] - 8008d04: 827b strh r3, [r7, #18] + 800936c: 697b ldr r3, [r7, #20] + 800936e: 781b ldrb r3, [r3, #0] + 8009370: 827b strh r3, [r7, #18] _pbuff++; - 8008d06: 697b ldr r3, [r7, #20] - 8008d08: 3301 adds r3, #1 - 8008d0a: 617b str r3, [r7, #20] + 8009372: 697b ldr r3, [r7, #20] + 8009374: 3301 adds r3, #1 + 8009376: 617b str r3, [r7, #20] _Byte2 = *(uint8_t *)_pbuff; - 8008d0c: 697b ldr r3, [r7, #20] - 8008d0e: 781b ldrb r3, [r3, #0] - 8008d10: 823b strh r3, [r7, #16] + 8009378: 697b ldr r3, [r7, #20] + 800937a: 781b ldrb r3, [r3, #0] + 800937c: 823b strh r3, [r7, #16] _SwapVal = (_Byte2 << 8) | _Byte1; - 8008d12: f9b7 3010 ldrsh.w r3, [r7, #16] - 8008d16: 021b lsls r3, r3, #8 - 8008d18: b21a sxth r2, r3 - 8008d1a: f9b7 3012 ldrsh.w r3, [r7, #18] - 8008d1e: 4313 orrs r3, r2 - 8008d20: b21b sxth r3, r3 - 8008d22: 81fb strh r3, [r7, #14] + 800937e: f9b7 3010 ldrsh.w r3, [r7, #16] + 8009382: 021b lsls r3, r3, #8 + 8009384: b21a sxth r2, r3 + 8009386: f9b7 3012 ldrsh.w r3, [r7, #18] + 800938a: 4313 orrs r3, r2 + 800938c: b21b sxth r3, r3 + 800938e: 81fb strh r3, [r7, #14] return _SwapVal; - 8008d24: 89fb ldrh r3, [r7, #14] + 8009390: 89fb ldrh r3, [r7, #14] } - 8008d26: 4618 mov r0, r3 - 8008d28: 371c adds r7, #28 - 8008d2a: 46bd mov sp, r7 - 8008d2c: f85d 7b04 ldr.w r7, [sp], #4 - 8008d30: 4770 bx lr + 8009392: 4618 mov r0, r3 + 8009394: 371c adds r7, #28 + 8009396: 46bd mov sp, r7 + 8009398: f85d 7b04 ldr.w r7, [sp], #4 + 800939c: 4770 bx lr ... -08008d34 : +080093a0 : * @param pdev: device instance * @param req: usb request * @retval status */ USBD_StatusTypeDef USBD_StdDevReq(USBD_HandleTypeDef *pdev, USBD_SetupReqTypedef *req) { - 8008d34: b580 push {r7, lr} - 8008d36: b084 sub sp, #16 - 8008d38: af00 add r7, sp, #0 - 8008d3a: 6078 str r0, [r7, #4] - 8008d3c: 6039 str r1, [r7, #0] + 80093a0: b580 push {r7, lr} + 80093a2: b084 sub sp, #16 + 80093a4: af00 add r7, sp, #0 + 80093a6: 6078 str r0, [r7, #4] + 80093a8: 6039 str r1, [r7, #0] USBD_StatusTypeDef ret = USBD_OK; - 8008d3e: 2300 movs r3, #0 - 8008d40: 73fb strb r3, [r7, #15] + 80093aa: 2300 movs r3, #0 + 80093ac: 73fb strb r3, [r7, #15] switch (req->bmRequest & USB_REQ_TYPE_MASK) - 8008d42: 683b ldr r3, [r7, #0] - 8008d44: 781b ldrb r3, [r3, #0] - 8008d46: f003 0360 and.w r3, r3, #96 @ 0x60 - 8008d4a: 2b40 cmp r3, #64 @ 0x40 - 8008d4c: d005 beq.n 8008d5a - 8008d4e: 2b40 cmp r3, #64 @ 0x40 - 8008d50: d857 bhi.n 8008e02 - 8008d52: 2b00 cmp r3, #0 - 8008d54: d00f beq.n 8008d76 - 8008d56: 2b20 cmp r3, #32 - 8008d58: d153 bne.n 8008e02 + 80093ae: 683b ldr r3, [r7, #0] + 80093b0: 781b ldrb r3, [r3, #0] + 80093b2: f003 0360 and.w r3, r3, #96 @ 0x60 + 80093b6: 2b40 cmp r3, #64 @ 0x40 + 80093b8: d005 beq.n 80093c6 + 80093ba: 2b40 cmp r3, #64 @ 0x40 + 80093bc: d857 bhi.n 800946e + 80093be: 2b00 cmp r3, #0 + 80093c0: d00f beq.n 80093e2 + 80093c2: 2b20 cmp r3, #32 + 80093c4: d153 bne.n 800946e { case USB_REQ_TYPE_CLASS: case USB_REQ_TYPE_VENDOR: ret = (USBD_StatusTypeDef)pdev->pClass[pdev->classId]->Setup(pdev, req); - 8008d5a: 687b ldr r3, [r7, #4] - 8008d5c: f8d3 22d4 ldr.w r2, [r3, #724] @ 0x2d4 - 8008d60: 687b ldr r3, [r7, #4] - 8008d62: 32ae adds r2, #174 @ 0xae - 8008d64: f853 3022 ldr.w r3, [r3, r2, lsl #2] - 8008d68: 689b ldr r3, [r3, #8] - 8008d6a: 6839 ldr r1, [r7, #0] - 8008d6c: 6878 ldr r0, [r7, #4] - 8008d6e: 4798 blx r3 - 8008d70: 4603 mov r3, r0 - 8008d72: 73fb strb r3, [r7, #15] + 80093c6: 687b ldr r3, [r7, #4] + 80093c8: f8d3 22d4 ldr.w r2, [r3, #724] @ 0x2d4 + 80093cc: 687b ldr r3, [r7, #4] + 80093ce: 32ae adds r2, #174 @ 0xae + 80093d0: f853 3022 ldr.w r3, [r3, r2, lsl #2] + 80093d4: 689b ldr r3, [r3, #8] + 80093d6: 6839 ldr r1, [r7, #0] + 80093d8: 6878 ldr r0, [r7, #4] + 80093da: 4798 blx r3 + 80093dc: 4603 mov r3, r0 + 80093de: 73fb strb r3, [r7, #15] break; - 8008d74: e04a b.n 8008e0c + 80093e0: e04a b.n 8009478 case USB_REQ_TYPE_STANDARD: switch (req->bRequest) - 8008d76: 683b ldr r3, [r7, #0] - 8008d78: 785b ldrb r3, [r3, #1] - 8008d7a: 2b09 cmp r3, #9 - 8008d7c: d83b bhi.n 8008df6 - 8008d7e: a201 add r2, pc, #4 @ (adr r2, 8008d84 ) - 8008d80: f852 f023 ldr.w pc, [r2, r3, lsl #2] - 8008d84: 08008dd9 .word 0x08008dd9 - 8008d88: 08008ded .word 0x08008ded - 8008d8c: 08008df7 .word 0x08008df7 - 8008d90: 08008de3 .word 0x08008de3 - 8008d94: 08008df7 .word 0x08008df7 - 8008d98: 08008db7 .word 0x08008db7 - 8008d9c: 08008dad .word 0x08008dad - 8008da0: 08008df7 .word 0x08008df7 - 8008da4: 08008dcf .word 0x08008dcf - 8008da8: 08008dc1 .word 0x08008dc1 + 80093e2: 683b ldr r3, [r7, #0] + 80093e4: 785b ldrb r3, [r3, #1] + 80093e6: 2b09 cmp r3, #9 + 80093e8: d83b bhi.n 8009462 + 80093ea: a201 add r2, pc, #4 @ (adr r2, 80093f0 ) + 80093ec: f852 f023 ldr.w pc, [r2, r3, lsl #2] + 80093f0: 08009445 .word 0x08009445 + 80093f4: 08009459 .word 0x08009459 + 80093f8: 08009463 .word 0x08009463 + 80093fc: 0800944f .word 0x0800944f + 8009400: 08009463 .word 0x08009463 + 8009404: 08009423 .word 0x08009423 + 8009408: 08009419 .word 0x08009419 + 800940c: 08009463 .word 0x08009463 + 8009410: 0800943b .word 0x0800943b + 8009414: 0800942d .word 0x0800942d { case USB_REQ_GET_DESCRIPTOR: USBD_GetDescriptor(pdev, req); - 8008dac: 6839 ldr r1, [r7, #0] - 8008dae: 6878 ldr r0, [r7, #4] - 8008db0: f000 fa3e bl 8009230 + 8009418: 6839 ldr r1, [r7, #0] + 800941a: 6878 ldr r0, [r7, #4] + 800941c: f000 fa3e bl 800989c break; - 8008db4: e024 b.n 8008e00 + 8009420: e024 b.n 800946c case USB_REQ_SET_ADDRESS: USBD_SetAddress(pdev, req); - 8008db6: 6839 ldr r1, [r7, #0] - 8008db8: 6878 ldr r0, [r7, #4] - 8008dba: f000 fbcd bl 8009558 + 8009422: 6839 ldr r1, [r7, #0] + 8009424: 6878 ldr r0, [r7, #4] + 8009426: f000 fbcd bl 8009bc4 break; - 8008dbe: e01f b.n 8008e00 + 800942a: e01f b.n 800946c case USB_REQ_SET_CONFIGURATION: ret = USBD_SetConfig(pdev, req); - 8008dc0: 6839 ldr r1, [r7, #0] - 8008dc2: 6878 ldr r0, [r7, #4] - 8008dc4: f000 fc0c bl 80095e0 - 8008dc8: 4603 mov r3, r0 - 8008dca: 73fb strb r3, [r7, #15] + 800942c: 6839 ldr r1, [r7, #0] + 800942e: 6878 ldr r0, [r7, #4] + 8009430: f000 fc0c bl 8009c4c + 8009434: 4603 mov r3, r0 + 8009436: 73fb strb r3, [r7, #15] break; - 8008dcc: e018 b.n 8008e00 + 8009438: e018 b.n 800946c case USB_REQ_GET_CONFIGURATION: USBD_GetConfig(pdev, req); - 8008dce: 6839 ldr r1, [r7, #0] - 8008dd0: 6878 ldr r0, [r7, #4] - 8008dd2: f000 fcaf bl 8009734 + 800943a: 6839 ldr r1, [r7, #0] + 800943c: 6878 ldr r0, [r7, #4] + 800943e: f000 fcaf bl 8009da0 break; - 8008dd6: e013 b.n 8008e00 + 8009442: e013 b.n 800946c case USB_REQ_GET_STATUS: USBD_GetStatus(pdev, req); - 8008dd8: 6839 ldr r1, [r7, #0] - 8008dda: 6878 ldr r0, [r7, #4] - 8008ddc: f000 fce0 bl 80097a0 + 8009444: 6839 ldr r1, [r7, #0] + 8009446: 6878 ldr r0, [r7, #4] + 8009448: f000 fce0 bl 8009e0c break; - 8008de0: e00e b.n 8008e00 + 800944c: e00e b.n 800946c case USB_REQ_SET_FEATURE: USBD_SetFeature(pdev, req); - 8008de2: 6839 ldr r1, [r7, #0] - 8008de4: 6878 ldr r0, [r7, #4] - 8008de6: f000 fd0f bl 8009808 + 800944e: 6839 ldr r1, [r7, #0] + 8009450: 6878 ldr r0, [r7, #4] + 8009452: f000 fd0f bl 8009e74 break; - 8008dea: e009 b.n 8008e00 + 8009456: e009 b.n 800946c case USB_REQ_CLEAR_FEATURE: USBD_ClrFeature(pdev, req); - 8008dec: 6839 ldr r1, [r7, #0] - 8008dee: 6878 ldr r0, [r7, #4] - 8008df0: f000 fd33 bl 800985a + 8009458: 6839 ldr r1, [r7, #0] + 800945a: 6878 ldr r0, [r7, #4] + 800945c: f000 fd33 bl 8009ec6 break; - 8008df4: e004 b.n 8008e00 + 8009460: e004 b.n 800946c default: USBD_CtlError(pdev, req); - 8008df6: 6839 ldr r1, [r7, #0] - 8008df8: 6878 ldr r0, [r7, #4] - 8008dfa: f000 fd8a bl 8009912 + 8009462: 6839 ldr r1, [r7, #0] + 8009464: 6878 ldr r0, [r7, #4] + 8009466: f000 fd8a bl 8009f7e break; - 8008dfe: bf00 nop + 800946a: bf00 nop } break; - 8008e00: e004 b.n 8008e0c + 800946c: e004 b.n 8009478 default: USBD_CtlError(pdev, req); - 8008e02: 6839 ldr r1, [r7, #0] - 8008e04: 6878 ldr r0, [r7, #4] - 8008e06: f000 fd84 bl 8009912 + 800946e: 6839 ldr r1, [r7, #0] + 8009470: 6878 ldr r0, [r7, #4] + 8009472: f000 fd84 bl 8009f7e break; - 8008e0a: bf00 nop + 8009476: bf00 nop } return ret; - 8008e0c: 7bfb ldrb r3, [r7, #15] + 8009478: 7bfb ldrb r3, [r7, #15] } - 8008e0e: 4618 mov r0, r3 - 8008e10: 3710 adds r7, #16 - 8008e12: 46bd mov sp, r7 - 8008e14: bd80 pop {r7, pc} - 8008e16: bf00 nop + 800947a: 4618 mov r0, r3 + 800947c: 3710 adds r7, #16 + 800947e: 46bd mov sp, r7 + 8009480: bd80 pop {r7, pc} + 8009482: bf00 nop -08008e18 : +08009484 : * @param pdev: device instance * @param req: usb request * @retval status */ USBD_StatusTypeDef USBD_StdItfReq(USBD_HandleTypeDef *pdev, USBD_SetupReqTypedef *req) { - 8008e18: b580 push {r7, lr} - 8008e1a: b084 sub sp, #16 - 8008e1c: af00 add r7, sp, #0 - 8008e1e: 6078 str r0, [r7, #4] - 8008e20: 6039 str r1, [r7, #0] + 8009484: b580 push {r7, lr} + 8009486: b084 sub sp, #16 + 8009488: af00 add r7, sp, #0 + 800948a: 6078 str r0, [r7, #4] + 800948c: 6039 str r1, [r7, #0] USBD_StatusTypeDef ret = USBD_OK; - 8008e22: 2300 movs r3, #0 - 8008e24: 73fb strb r3, [r7, #15] + 800948e: 2300 movs r3, #0 + 8009490: 73fb strb r3, [r7, #15] uint8_t idx; switch (req->bmRequest & USB_REQ_TYPE_MASK) - 8008e26: 683b ldr r3, [r7, #0] - 8008e28: 781b ldrb r3, [r3, #0] - 8008e2a: f003 0360 and.w r3, r3, #96 @ 0x60 - 8008e2e: 2b40 cmp r3, #64 @ 0x40 - 8008e30: d005 beq.n 8008e3e - 8008e32: 2b40 cmp r3, #64 @ 0x40 - 8008e34: d852 bhi.n 8008edc - 8008e36: 2b00 cmp r3, #0 - 8008e38: d001 beq.n 8008e3e - 8008e3a: 2b20 cmp r3, #32 - 8008e3c: d14e bne.n 8008edc + 8009492: 683b ldr r3, [r7, #0] + 8009494: 781b ldrb r3, [r3, #0] + 8009496: f003 0360 and.w r3, r3, #96 @ 0x60 + 800949a: 2b40 cmp r3, #64 @ 0x40 + 800949c: d005 beq.n 80094aa + 800949e: 2b40 cmp r3, #64 @ 0x40 + 80094a0: d852 bhi.n 8009548 + 80094a2: 2b00 cmp r3, #0 + 80094a4: d001 beq.n 80094aa + 80094a6: 2b20 cmp r3, #32 + 80094a8: d14e bne.n 8009548 { case USB_REQ_TYPE_CLASS: case USB_REQ_TYPE_VENDOR: case USB_REQ_TYPE_STANDARD: switch (pdev->dev_state) - 8008e3e: 687b ldr r3, [r7, #4] - 8008e40: f893 329c ldrb.w r3, [r3, #668] @ 0x29c - 8008e44: b2db uxtb r3, r3 - 8008e46: 3b01 subs r3, #1 - 8008e48: 2b02 cmp r3, #2 - 8008e4a: d840 bhi.n 8008ece + 80094aa: 687b ldr r3, [r7, #4] + 80094ac: f893 329c ldrb.w r3, [r3, #668] @ 0x29c + 80094b0: b2db uxtb r3, r3 + 80094b2: 3b01 subs r3, #1 + 80094b4: 2b02 cmp r3, #2 + 80094b6: d840 bhi.n 800953a { case USBD_STATE_DEFAULT: case USBD_STATE_ADDRESSED: case USBD_STATE_CONFIGURED: if (LOBYTE(req->wIndex) <= USBD_MAX_NUM_INTERFACES) - 8008e4c: 683b ldr r3, [r7, #0] - 8008e4e: 889b ldrh r3, [r3, #4] - 8008e50: b2db uxtb r3, r3 - 8008e52: 2b01 cmp r3, #1 - 8008e54: d836 bhi.n 8008ec4 + 80094b8: 683b ldr r3, [r7, #0] + 80094ba: 889b ldrh r3, [r3, #4] + 80094bc: b2db uxtb r3, r3 + 80094be: 2b01 cmp r3, #1 + 80094c0: d836 bhi.n 8009530 { /* Get the class index relative to this interface */ idx = USBD_CoreFindIF(pdev, LOBYTE(req->wIndex)); - 8008e56: 683b ldr r3, [r7, #0] - 8008e58: 889b ldrh r3, [r3, #4] - 8008e5a: b2db uxtb r3, r3 - 8008e5c: 4619 mov r1, r3 - 8008e5e: 6878 ldr r0, [r7, #4] - 8008e60: f7ff feda bl 8008c18 - 8008e64: 4603 mov r3, r0 - 8008e66: 73bb strb r3, [r7, #14] + 80094c2: 683b ldr r3, [r7, #0] + 80094c4: 889b ldrh r3, [r3, #4] + 80094c6: b2db uxtb r3, r3 + 80094c8: 4619 mov r1, r3 + 80094ca: 6878 ldr r0, [r7, #4] + 80094cc: f7ff feda bl 8009284 + 80094d0: 4603 mov r3, r0 + 80094d2: 73bb strb r3, [r7, #14] if (((uint8_t)idx != 0xFFU) && (idx < USBD_MAX_SUPPORTED_CLASS)) - 8008e68: 7bbb ldrb r3, [r7, #14] - 8008e6a: 2bff cmp r3, #255 @ 0xff - 8008e6c: d01d beq.n 8008eaa - 8008e6e: 7bbb ldrb r3, [r7, #14] - 8008e70: 2b00 cmp r3, #0 - 8008e72: d11a bne.n 8008eaa + 80094d4: 7bbb ldrb r3, [r7, #14] + 80094d6: 2bff cmp r3, #255 @ 0xff + 80094d8: d01d beq.n 8009516 + 80094da: 7bbb ldrb r3, [r7, #14] + 80094dc: 2b00 cmp r3, #0 + 80094de: d11a bne.n 8009516 { /* Call the class data out function to manage the request */ if (pdev->pClass[idx]->Setup != NULL) - 8008e74: 7bba ldrb r2, [r7, #14] - 8008e76: 687b ldr r3, [r7, #4] - 8008e78: 32ae adds r2, #174 @ 0xae - 8008e7a: f853 3022 ldr.w r3, [r3, r2, lsl #2] - 8008e7e: 689b ldr r3, [r3, #8] - 8008e80: 2b00 cmp r3, #0 - 8008e82: d00f beq.n 8008ea4 + 80094e0: 7bba ldrb r2, [r7, #14] + 80094e2: 687b ldr r3, [r7, #4] + 80094e4: 32ae adds r2, #174 @ 0xae + 80094e6: f853 3022 ldr.w r3, [r3, r2, lsl #2] + 80094ea: 689b ldr r3, [r3, #8] + 80094ec: 2b00 cmp r3, #0 + 80094ee: d00f beq.n 8009510 { pdev->classId = idx; - 8008e84: 7bba ldrb r2, [r7, #14] - 8008e86: 687b ldr r3, [r7, #4] - 8008e88: f8c3 22d4 str.w r2, [r3, #724] @ 0x2d4 + 80094f0: 7bba ldrb r2, [r7, #14] + 80094f2: 687b ldr r3, [r7, #4] + 80094f4: f8c3 22d4 str.w r2, [r3, #724] @ 0x2d4 ret = (USBD_StatusTypeDef)(pdev->pClass[idx]->Setup(pdev, req)); - 8008e8c: 7bba ldrb r2, [r7, #14] - 8008e8e: 687b ldr r3, [r7, #4] - 8008e90: 32ae adds r2, #174 @ 0xae - 8008e92: f853 3022 ldr.w r3, [r3, r2, lsl #2] - 8008e96: 689b ldr r3, [r3, #8] - 8008e98: 6839 ldr r1, [r7, #0] - 8008e9a: 6878 ldr r0, [r7, #4] - 8008e9c: 4798 blx r3 - 8008e9e: 4603 mov r3, r0 - 8008ea0: 73fb strb r3, [r7, #15] + 80094f8: 7bba ldrb r2, [r7, #14] + 80094fa: 687b ldr r3, [r7, #4] + 80094fc: 32ae adds r2, #174 @ 0xae + 80094fe: f853 3022 ldr.w r3, [r3, r2, lsl #2] + 8009502: 689b ldr r3, [r3, #8] + 8009504: 6839 ldr r1, [r7, #0] + 8009506: 6878 ldr r0, [r7, #4] + 8009508: 4798 blx r3 + 800950a: 4603 mov r3, r0 + 800950c: 73fb strb r3, [r7, #15] if (pdev->pClass[idx]->Setup != NULL) - 8008ea2: e004 b.n 8008eae + 800950e: e004 b.n 800951a } else { /* should never reach this condition */ ret = USBD_FAIL; - 8008ea4: 2303 movs r3, #3 - 8008ea6: 73fb strb r3, [r7, #15] + 8009510: 2303 movs r3, #3 + 8009512: 73fb strb r3, [r7, #15] if (pdev->pClass[idx]->Setup != NULL) - 8008ea8: e001 b.n 8008eae + 8009514: e001 b.n 800951a } } else { /* No relative interface found */ ret = USBD_FAIL; - 8008eaa: 2303 movs r3, #3 - 8008eac: 73fb strb r3, [r7, #15] + 8009516: 2303 movs r3, #3 + 8009518: 73fb strb r3, [r7, #15] } if ((req->wLength == 0U) && (ret == USBD_OK)) - 8008eae: 683b ldr r3, [r7, #0] - 8008eb0: 88db ldrh r3, [r3, #6] - 8008eb2: 2b00 cmp r3, #0 - 8008eb4: d110 bne.n 8008ed8 - 8008eb6: 7bfb ldrb r3, [r7, #15] - 8008eb8: 2b00 cmp r3, #0 - 8008eba: d10d bne.n 8008ed8 + 800951a: 683b ldr r3, [r7, #0] + 800951c: 88db ldrh r3, [r3, #6] + 800951e: 2b00 cmp r3, #0 + 8009520: d110 bne.n 8009544 + 8009522: 7bfb ldrb r3, [r7, #15] + 8009524: 2b00 cmp r3, #0 + 8009526: d10d bne.n 8009544 { (void)USBD_CtlSendStatus(pdev); - 8008ebc: 6878 ldr r0, [r7, #4] - 8008ebe: f000 fde5 bl 8009a8c + 8009528: 6878 ldr r0, [r7, #4] + 800952a: f000 fde5 bl 800a0f8 } else { USBD_CtlError(pdev, req); } break; - 8008ec2: e009 b.n 8008ed8 + 800952e: e009 b.n 8009544 USBD_CtlError(pdev, req); - 8008ec4: 6839 ldr r1, [r7, #0] - 8008ec6: 6878 ldr r0, [r7, #4] - 8008ec8: f000 fd23 bl 8009912 + 8009530: 6839 ldr r1, [r7, #0] + 8009532: 6878 ldr r0, [r7, #4] + 8009534: f000 fd23 bl 8009f7e break; - 8008ecc: e004 b.n 8008ed8 + 8009538: e004 b.n 8009544 default: USBD_CtlError(pdev, req); - 8008ece: 6839 ldr r1, [r7, #0] - 8008ed0: 6878 ldr r0, [r7, #4] - 8008ed2: f000 fd1e bl 8009912 + 800953a: 6839 ldr r1, [r7, #0] + 800953c: 6878 ldr r0, [r7, #4] + 800953e: f000 fd1e bl 8009f7e break; - 8008ed6: e000 b.n 8008eda + 8009542: e000 b.n 8009546 break; - 8008ed8: bf00 nop + 8009544: bf00 nop } break; - 8008eda: e004 b.n 8008ee6 + 8009546: e004 b.n 8009552 default: USBD_CtlError(pdev, req); - 8008edc: 6839 ldr r1, [r7, #0] - 8008ede: 6878 ldr r0, [r7, #4] - 8008ee0: f000 fd17 bl 8009912 + 8009548: 6839 ldr r1, [r7, #0] + 800954a: 6878 ldr r0, [r7, #4] + 800954c: f000 fd17 bl 8009f7e break; - 8008ee4: bf00 nop + 8009550: bf00 nop } return ret; - 8008ee6: 7bfb ldrb r3, [r7, #15] + 8009552: 7bfb ldrb r3, [r7, #15] } - 8008ee8: 4618 mov r0, r3 - 8008eea: 3710 adds r7, #16 - 8008eec: 46bd mov sp, r7 - 8008eee: bd80 pop {r7, pc} + 8009554: 4618 mov r0, r3 + 8009556: 3710 adds r7, #16 + 8009558: 46bd mov sp, r7 + 800955a: bd80 pop {r7, pc} -08008ef0 : +0800955c : * @param pdev: device instance * @param req: usb request * @retval status */ USBD_StatusTypeDef USBD_StdEPReq(USBD_HandleTypeDef *pdev, USBD_SetupReqTypedef *req) { - 8008ef0: b580 push {r7, lr} - 8008ef2: b084 sub sp, #16 - 8008ef4: af00 add r7, sp, #0 - 8008ef6: 6078 str r0, [r7, #4] - 8008ef8: 6039 str r1, [r7, #0] + 800955c: b580 push {r7, lr} + 800955e: b084 sub sp, #16 + 8009560: af00 add r7, sp, #0 + 8009562: 6078 str r0, [r7, #4] + 8009564: 6039 str r1, [r7, #0] USBD_EndpointTypeDef *pep; uint8_t ep_addr; uint8_t idx; USBD_StatusTypeDef ret = USBD_OK; - 8008efa: 2300 movs r3, #0 - 8008efc: 73fb strb r3, [r7, #15] + 8009566: 2300 movs r3, #0 + 8009568: 73fb strb r3, [r7, #15] ep_addr = LOBYTE(req->wIndex); - 8008efe: 683b ldr r3, [r7, #0] - 8008f00: 889b ldrh r3, [r3, #4] - 8008f02: 73bb strb r3, [r7, #14] + 800956a: 683b ldr r3, [r7, #0] + 800956c: 889b ldrh r3, [r3, #4] + 800956e: 73bb strb r3, [r7, #14] switch (req->bmRequest & USB_REQ_TYPE_MASK) - 8008f04: 683b ldr r3, [r7, #0] - 8008f06: 781b ldrb r3, [r3, #0] - 8008f08: f003 0360 and.w r3, r3, #96 @ 0x60 - 8008f0c: 2b40 cmp r3, #64 @ 0x40 - 8008f0e: d007 beq.n 8008f20 - 8008f10: 2b40 cmp r3, #64 @ 0x40 - 8008f12: f200 8181 bhi.w 8009218 - 8008f16: 2b00 cmp r3, #0 - 8008f18: d02a beq.n 8008f70 - 8008f1a: 2b20 cmp r3, #32 - 8008f1c: f040 817c bne.w 8009218 + 8009570: 683b ldr r3, [r7, #0] + 8009572: 781b ldrb r3, [r3, #0] + 8009574: f003 0360 and.w r3, r3, #96 @ 0x60 + 8009578: 2b40 cmp r3, #64 @ 0x40 + 800957a: d007 beq.n 800958c + 800957c: 2b40 cmp r3, #64 @ 0x40 + 800957e: f200 8181 bhi.w 8009884 + 8009582: 2b00 cmp r3, #0 + 8009584: d02a beq.n 80095dc + 8009586: 2b20 cmp r3, #32 + 8009588: f040 817c bne.w 8009884 { case USB_REQ_TYPE_CLASS: case USB_REQ_TYPE_VENDOR: /* Get the class index relative to this endpoint */ idx = USBD_CoreFindEP(pdev, ep_addr); - 8008f20: 7bbb ldrb r3, [r7, #14] - 8008f22: 4619 mov r1, r3 - 8008f24: 6878 ldr r0, [r7, #4] - 8008f26: f7ff fe84 bl 8008c32 - 8008f2a: 4603 mov r3, r0 - 8008f2c: 737b strb r3, [r7, #13] + 800958c: 7bbb ldrb r3, [r7, #14] + 800958e: 4619 mov r1, r3 + 8009590: 6878 ldr r0, [r7, #4] + 8009592: f7ff fe84 bl 800929e + 8009596: 4603 mov r3, r0 + 8009598: 737b strb r3, [r7, #13] if (((uint8_t)idx != 0xFFU) && (idx < USBD_MAX_SUPPORTED_CLASS)) - 8008f2e: 7b7b ldrb r3, [r7, #13] - 8008f30: 2bff cmp r3, #255 @ 0xff - 8008f32: f000 8176 beq.w 8009222 - 8008f36: 7b7b ldrb r3, [r7, #13] - 8008f38: 2b00 cmp r3, #0 - 8008f3a: f040 8172 bne.w 8009222 + 800959a: 7b7b ldrb r3, [r7, #13] + 800959c: 2bff cmp r3, #255 @ 0xff + 800959e: f000 8176 beq.w 800988e + 80095a2: 7b7b ldrb r3, [r7, #13] + 80095a4: 2b00 cmp r3, #0 + 80095a6: f040 8172 bne.w 800988e { pdev->classId = idx; - 8008f3e: 7b7a ldrb r2, [r7, #13] - 8008f40: 687b ldr r3, [r7, #4] - 8008f42: f8c3 22d4 str.w r2, [r3, #724] @ 0x2d4 + 80095aa: 7b7a ldrb r2, [r7, #13] + 80095ac: 687b ldr r3, [r7, #4] + 80095ae: f8c3 22d4 str.w r2, [r3, #724] @ 0x2d4 /* Call the class data out function to manage the request */ if (pdev->pClass[idx]->Setup != NULL) - 8008f46: 7b7a ldrb r2, [r7, #13] - 8008f48: 687b ldr r3, [r7, #4] - 8008f4a: 32ae adds r2, #174 @ 0xae - 8008f4c: f853 3022 ldr.w r3, [r3, r2, lsl #2] - 8008f50: 689b ldr r3, [r3, #8] - 8008f52: 2b00 cmp r3, #0 - 8008f54: f000 8165 beq.w 8009222 + 80095b2: 7b7a ldrb r2, [r7, #13] + 80095b4: 687b ldr r3, [r7, #4] + 80095b6: 32ae adds r2, #174 @ 0xae + 80095b8: f853 3022 ldr.w r3, [r3, r2, lsl #2] + 80095bc: 689b ldr r3, [r3, #8] + 80095be: 2b00 cmp r3, #0 + 80095c0: f000 8165 beq.w 800988e { ret = (USBD_StatusTypeDef)pdev->pClass[idx]->Setup(pdev, req); - 8008f58: 7b7a ldrb r2, [r7, #13] - 8008f5a: 687b ldr r3, [r7, #4] - 8008f5c: 32ae adds r2, #174 @ 0xae - 8008f5e: f853 3022 ldr.w r3, [r3, r2, lsl #2] - 8008f62: 689b ldr r3, [r3, #8] - 8008f64: 6839 ldr r1, [r7, #0] - 8008f66: 6878 ldr r0, [r7, #4] - 8008f68: 4798 blx r3 - 8008f6a: 4603 mov r3, r0 - 8008f6c: 73fb strb r3, [r7, #15] + 80095c4: 7b7a ldrb r2, [r7, #13] + 80095c6: 687b ldr r3, [r7, #4] + 80095c8: 32ae adds r2, #174 @ 0xae + 80095ca: f853 3022 ldr.w r3, [r3, r2, lsl #2] + 80095ce: 689b ldr r3, [r3, #8] + 80095d0: 6839 ldr r1, [r7, #0] + 80095d2: 6878 ldr r0, [r7, #4] + 80095d4: 4798 blx r3 + 80095d6: 4603 mov r3, r0 + 80095d8: 73fb strb r3, [r7, #15] } } break; - 8008f6e: e158 b.n 8009222 + 80095da: e158 b.n 800988e case USB_REQ_TYPE_STANDARD: switch (req->bRequest) - 8008f70: 683b ldr r3, [r7, #0] - 8008f72: 785b ldrb r3, [r3, #1] - 8008f74: 2b03 cmp r3, #3 - 8008f76: d008 beq.n 8008f8a - 8008f78: 2b03 cmp r3, #3 - 8008f7a: f300 8147 bgt.w 800920c - 8008f7e: 2b00 cmp r3, #0 - 8008f80: f000 809b beq.w 80090ba - 8008f84: 2b01 cmp r3, #1 - 8008f86: d03c beq.n 8009002 - 8008f88: e140 b.n 800920c + 80095dc: 683b ldr r3, [r7, #0] + 80095de: 785b ldrb r3, [r3, #1] + 80095e0: 2b03 cmp r3, #3 + 80095e2: d008 beq.n 80095f6 + 80095e4: 2b03 cmp r3, #3 + 80095e6: f300 8147 bgt.w 8009878 + 80095ea: 2b00 cmp r3, #0 + 80095ec: f000 809b beq.w 8009726 + 80095f0: 2b01 cmp r3, #1 + 80095f2: d03c beq.n 800966e + 80095f4: e140 b.n 8009878 { case USB_REQ_SET_FEATURE: switch (pdev->dev_state) - 8008f8a: 687b ldr r3, [r7, #4] - 8008f8c: f893 329c ldrb.w r3, [r3, #668] @ 0x29c - 8008f90: b2db uxtb r3, r3 - 8008f92: 2b02 cmp r3, #2 - 8008f94: d002 beq.n 8008f9c - 8008f96: 2b03 cmp r3, #3 - 8008f98: d016 beq.n 8008fc8 - 8008f9a: e02c b.n 8008ff6 + 80095f6: 687b ldr r3, [r7, #4] + 80095f8: f893 329c ldrb.w r3, [r3, #668] @ 0x29c + 80095fc: b2db uxtb r3, r3 + 80095fe: 2b02 cmp r3, #2 + 8009600: d002 beq.n 8009608 + 8009602: 2b03 cmp r3, #3 + 8009604: d016 beq.n 8009634 + 8009606: e02c b.n 8009662 { case USBD_STATE_ADDRESSED: if ((ep_addr != 0x00U) && (ep_addr != 0x80U)) - 8008f9c: 7bbb ldrb r3, [r7, #14] - 8008f9e: 2b00 cmp r3, #0 - 8008fa0: d00d beq.n 8008fbe - 8008fa2: 7bbb ldrb r3, [r7, #14] - 8008fa4: 2b80 cmp r3, #128 @ 0x80 - 8008fa6: d00a beq.n 8008fbe + 8009608: 7bbb ldrb r3, [r7, #14] + 800960a: 2b00 cmp r3, #0 + 800960c: d00d beq.n 800962a + 800960e: 7bbb ldrb r3, [r7, #14] + 8009610: 2b80 cmp r3, #128 @ 0x80 + 8009612: d00a beq.n 800962a { (void)USBD_LL_StallEP(pdev, ep_addr); - 8008fa8: 7bbb ldrb r3, [r7, #14] - 8008faa: 4619 mov r1, r3 - 8008fac: 6878 ldr r0, [r7, #4] - 8008fae: f001 f8e3 bl 800a178 + 8009614: 7bbb ldrb r3, [r7, #14] + 8009616: 4619 mov r1, r3 + 8009618: 6878 ldr r0, [r7, #4] + 800961a: f001 f8e3 bl 800a7e4 (void)USBD_LL_StallEP(pdev, 0x80U); - 8008fb2: 2180 movs r1, #128 @ 0x80 - 8008fb4: 6878 ldr r0, [r7, #4] - 8008fb6: f001 f8df bl 800a178 - 8008fba: bf00 nop + 800961e: 2180 movs r1, #128 @ 0x80 + 8009620: 6878 ldr r0, [r7, #4] + 8009622: f001 f8df bl 800a7e4 + 8009626: bf00 nop } else { USBD_CtlError(pdev, req); } break; - 8008fbc: e020 b.n 8009000 + 8009628: e020 b.n 800966c USBD_CtlError(pdev, req); - 8008fbe: 6839 ldr r1, [r7, #0] - 8008fc0: 6878 ldr r0, [r7, #4] - 8008fc2: f000 fca6 bl 8009912 + 800962a: 6839 ldr r1, [r7, #0] + 800962c: 6878 ldr r0, [r7, #4] + 800962e: f000 fca6 bl 8009f7e break; - 8008fc6: e01b b.n 8009000 + 8009632: e01b b.n 800966c case USBD_STATE_CONFIGURED: if (req->wValue == USB_FEATURE_EP_HALT) - 8008fc8: 683b ldr r3, [r7, #0] - 8008fca: 885b ldrh r3, [r3, #2] - 8008fcc: 2b00 cmp r3, #0 - 8008fce: d10e bne.n 8008fee + 8009634: 683b ldr r3, [r7, #0] + 8009636: 885b ldrh r3, [r3, #2] + 8009638: 2b00 cmp r3, #0 + 800963a: d10e bne.n 800965a { if ((ep_addr != 0x00U) && (ep_addr != 0x80U) && (req->wLength == 0x00U)) - 8008fd0: 7bbb ldrb r3, [r7, #14] - 8008fd2: 2b00 cmp r3, #0 - 8008fd4: d00b beq.n 8008fee - 8008fd6: 7bbb ldrb r3, [r7, #14] - 8008fd8: 2b80 cmp r3, #128 @ 0x80 - 8008fda: d008 beq.n 8008fee - 8008fdc: 683b ldr r3, [r7, #0] - 8008fde: 88db ldrh r3, [r3, #6] - 8008fe0: 2b00 cmp r3, #0 - 8008fe2: d104 bne.n 8008fee + 800963c: 7bbb ldrb r3, [r7, #14] + 800963e: 2b00 cmp r3, #0 + 8009640: d00b beq.n 800965a + 8009642: 7bbb ldrb r3, [r7, #14] + 8009644: 2b80 cmp r3, #128 @ 0x80 + 8009646: d008 beq.n 800965a + 8009648: 683b ldr r3, [r7, #0] + 800964a: 88db ldrh r3, [r3, #6] + 800964c: 2b00 cmp r3, #0 + 800964e: d104 bne.n 800965a { (void)USBD_LL_StallEP(pdev, ep_addr); - 8008fe4: 7bbb ldrb r3, [r7, #14] - 8008fe6: 4619 mov r1, r3 - 8008fe8: 6878 ldr r0, [r7, #4] - 8008fea: f001 f8c5 bl 800a178 + 8009650: 7bbb ldrb r3, [r7, #14] + 8009652: 4619 mov r1, r3 + 8009654: 6878 ldr r0, [r7, #4] + 8009656: f001 f8c5 bl 800a7e4 } } (void)USBD_CtlSendStatus(pdev); - 8008fee: 6878 ldr r0, [r7, #4] - 8008ff0: f000 fd4c bl 8009a8c + 800965a: 6878 ldr r0, [r7, #4] + 800965c: f000 fd4c bl 800a0f8 break; - 8008ff4: e004 b.n 8009000 + 8009660: e004 b.n 800966c default: USBD_CtlError(pdev, req); - 8008ff6: 6839 ldr r1, [r7, #0] - 8008ff8: 6878 ldr r0, [r7, #4] - 8008ffa: f000 fc8a bl 8009912 + 8009662: 6839 ldr r1, [r7, #0] + 8009664: 6878 ldr r0, [r7, #4] + 8009666: f000 fc8a bl 8009f7e break; - 8008ffe: bf00 nop + 800966a: bf00 nop } break; - 8009000: e109 b.n 8009216 + 800966c: e109 b.n 8009882 case USB_REQ_CLEAR_FEATURE: switch (pdev->dev_state) - 8009002: 687b ldr r3, [r7, #4] - 8009004: f893 329c ldrb.w r3, [r3, #668] @ 0x29c - 8009008: b2db uxtb r3, r3 - 800900a: 2b02 cmp r3, #2 - 800900c: d002 beq.n 8009014 - 800900e: 2b03 cmp r3, #3 - 8009010: d016 beq.n 8009040 - 8009012: e04b b.n 80090ac + 800966e: 687b ldr r3, [r7, #4] + 8009670: f893 329c ldrb.w r3, [r3, #668] @ 0x29c + 8009674: b2db uxtb r3, r3 + 8009676: 2b02 cmp r3, #2 + 8009678: d002 beq.n 8009680 + 800967a: 2b03 cmp r3, #3 + 800967c: d016 beq.n 80096ac + 800967e: e04b b.n 8009718 { case USBD_STATE_ADDRESSED: if ((ep_addr != 0x00U) && (ep_addr != 0x80U)) - 8009014: 7bbb ldrb r3, [r7, #14] - 8009016: 2b00 cmp r3, #0 - 8009018: d00d beq.n 8009036 - 800901a: 7bbb ldrb r3, [r7, #14] - 800901c: 2b80 cmp r3, #128 @ 0x80 - 800901e: d00a beq.n 8009036 + 8009680: 7bbb ldrb r3, [r7, #14] + 8009682: 2b00 cmp r3, #0 + 8009684: d00d beq.n 80096a2 + 8009686: 7bbb ldrb r3, [r7, #14] + 8009688: 2b80 cmp r3, #128 @ 0x80 + 800968a: d00a beq.n 80096a2 { (void)USBD_LL_StallEP(pdev, ep_addr); - 8009020: 7bbb ldrb r3, [r7, #14] - 8009022: 4619 mov r1, r3 - 8009024: 6878 ldr r0, [r7, #4] - 8009026: f001 f8a7 bl 800a178 + 800968c: 7bbb ldrb r3, [r7, #14] + 800968e: 4619 mov r1, r3 + 8009690: 6878 ldr r0, [r7, #4] + 8009692: f001 f8a7 bl 800a7e4 (void)USBD_LL_StallEP(pdev, 0x80U); - 800902a: 2180 movs r1, #128 @ 0x80 - 800902c: 6878 ldr r0, [r7, #4] - 800902e: f001 f8a3 bl 800a178 - 8009032: bf00 nop + 8009696: 2180 movs r1, #128 @ 0x80 + 8009698: 6878 ldr r0, [r7, #4] + 800969a: f001 f8a3 bl 800a7e4 + 800969e: bf00 nop } else { USBD_CtlError(pdev, req); } break; - 8009034: e040 b.n 80090b8 + 80096a0: e040 b.n 8009724 USBD_CtlError(pdev, req); - 8009036: 6839 ldr r1, [r7, #0] - 8009038: 6878 ldr r0, [r7, #4] - 800903a: f000 fc6a bl 8009912 + 80096a2: 6839 ldr r1, [r7, #0] + 80096a4: 6878 ldr r0, [r7, #4] + 80096a6: f000 fc6a bl 8009f7e break; - 800903e: e03b b.n 80090b8 + 80096aa: e03b b.n 8009724 case USBD_STATE_CONFIGURED: if (req->wValue == USB_FEATURE_EP_HALT) - 8009040: 683b ldr r3, [r7, #0] - 8009042: 885b ldrh r3, [r3, #2] - 8009044: 2b00 cmp r3, #0 - 8009046: d136 bne.n 80090b6 + 80096ac: 683b ldr r3, [r7, #0] + 80096ae: 885b ldrh r3, [r3, #2] + 80096b0: 2b00 cmp r3, #0 + 80096b2: d136 bne.n 8009722 { if ((ep_addr & 0x7FU) != 0x00U) - 8009048: 7bbb ldrb r3, [r7, #14] - 800904a: f003 037f and.w r3, r3, #127 @ 0x7f - 800904e: 2b00 cmp r3, #0 - 8009050: d004 beq.n 800905c + 80096b4: 7bbb ldrb r3, [r7, #14] + 80096b6: f003 037f and.w r3, r3, #127 @ 0x7f + 80096ba: 2b00 cmp r3, #0 + 80096bc: d004 beq.n 80096c8 { (void)USBD_LL_ClearStallEP(pdev, ep_addr); - 8009052: 7bbb ldrb r3, [r7, #14] - 8009054: 4619 mov r1, r3 - 8009056: 6878 ldr r0, [r7, #4] - 8009058: f001 f8ad bl 800a1b6 + 80096be: 7bbb ldrb r3, [r7, #14] + 80096c0: 4619 mov r1, r3 + 80096c2: 6878 ldr r0, [r7, #4] + 80096c4: f001 f8ad bl 800a822 } (void)USBD_CtlSendStatus(pdev); - 800905c: 6878 ldr r0, [r7, #4] - 800905e: f000 fd15 bl 8009a8c + 80096c8: 6878 ldr r0, [r7, #4] + 80096ca: f000 fd15 bl 800a0f8 /* Get the class index relative to this interface */ idx = USBD_CoreFindEP(pdev, ep_addr); - 8009062: 7bbb ldrb r3, [r7, #14] - 8009064: 4619 mov r1, r3 - 8009066: 6878 ldr r0, [r7, #4] - 8009068: f7ff fde3 bl 8008c32 - 800906c: 4603 mov r3, r0 - 800906e: 737b strb r3, [r7, #13] + 80096ce: 7bbb ldrb r3, [r7, #14] + 80096d0: 4619 mov r1, r3 + 80096d2: 6878 ldr r0, [r7, #4] + 80096d4: f7ff fde3 bl 800929e + 80096d8: 4603 mov r3, r0 + 80096da: 737b strb r3, [r7, #13] if (((uint8_t)idx != 0xFFU) && (idx < USBD_MAX_SUPPORTED_CLASS)) - 8009070: 7b7b ldrb r3, [r7, #13] - 8009072: 2bff cmp r3, #255 @ 0xff - 8009074: d01f beq.n 80090b6 - 8009076: 7b7b ldrb r3, [r7, #13] - 8009078: 2b00 cmp r3, #0 - 800907a: d11c bne.n 80090b6 + 80096dc: 7b7b ldrb r3, [r7, #13] + 80096de: 2bff cmp r3, #255 @ 0xff + 80096e0: d01f beq.n 8009722 + 80096e2: 7b7b ldrb r3, [r7, #13] + 80096e4: 2b00 cmp r3, #0 + 80096e6: d11c bne.n 8009722 { pdev->classId = idx; - 800907c: 7b7a ldrb r2, [r7, #13] - 800907e: 687b ldr r3, [r7, #4] - 8009080: f8c3 22d4 str.w r2, [r3, #724] @ 0x2d4 + 80096e8: 7b7a ldrb r2, [r7, #13] + 80096ea: 687b ldr r3, [r7, #4] + 80096ec: f8c3 22d4 str.w r2, [r3, #724] @ 0x2d4 /* Call the class data out function to manage the request */ if (pdev->pClass[idx]->Setup != NULL) - 8009084: 7b7a ldrb r2, [r7, #13] - 8009086: 687b ldr r3, [r7, #4] - 8009088: 32ae adds r2, #174 @ 0xae - 800908a: f853 3022 ldr.w r3, [r3, r2, lsl #2] - 800908e: 689b ldr r3, [r3, #8] - 8009090: 2b00 cmp r3, #0 - 8009092: d010 beq.n 80090b6 + 80096f0: 7b7a ldrb r2, [r7, #13] + 80096f2: 687b ldr r3, [r7, #4] + 80096f4: 32ae adds r2, #174 @ 0xae + 80096f6: f853 3022 ldr.w r3, [r3, r2, lsl #2] + 80096fa: 689b ldr r3, [r3, #8] + 80096fc: 2b00 cmp r3, #0 + 80096fe: d010 beq.n 8009722 { ret = (USBD_StatusTypeDef)(pdev->pClass[idx]->Setup(pdev, req)); - 8009094: 7b7a ldrb r2, [r7, #13] - 8009096: 687b ldr r3, [r7, #4] - 8009098: 32ae adds r2, #174 @ 0xae - 800909a: f853 3022 ldr.w r3, [r3, r2, lsl #2] - 800909e: 689b ldr r3, [r3, #8] - 80090a0: 6839 ldr r1, [r7, #0] - 80090a2: 6878 ldr r0, [r7, #4] - 80090a4: 4798 blx r3 - 80090a6: 4603 mov r3, r0 - 80090a8: 73fb strb r3, [r7, #15] + 8009700: 7b7a ldrb r2, [r7, #13] + 8009702: 687b ldr r3, [r7, #4] + 8009704: 32ae adds r2, #174 @ 0xae + 8009706: f853 3022 ldr.w r3, [r3, r2, lsl #2] + 800970a: 689b ldr r3, [r3, #8] + 800970c: 6839 ldr r1, [r7, #0] + 800970e: 6878 ldr r0, [r7, #4] + 8009710: 4798 blx r3 + 8009712: 4603 mov r3, r0 + 8009714: 73fb strb r3, [r7, #15] } } } break; - 80090aa: e004 b.n 80090b6 + 8009716: e004 b.n 8009722 default: USBD_CtlError(pdev, req); - 80090ac: 6839 ldr r1, [r7, #0] - 80090ae: 6878 ldr r0, [r7, #4] - 80090b0: f000 fc2f bl 8009912 + 8009718: 6839 ldr r1, [r7, #0] + 800971a: 6878 ldr r0, [r7, #4] + 800971c: f000 fc2f bl 8009f7e break; - 80090b4: e000 b.n 80090b8 + 8009720: e000 b.n 8009724 break; - 80090b6: bf00 nop + 8009722: bf00 nop } break; - 80090b8: e0ad b.n 8009216 + 8009724: e0ad b.n 8009882 case USB_REQ_GET_STATUS: switch (pdev->dev_state) - 80090ba: 687b ldr r3, [r7, #4] - 80090bc: f893 329c ldrb.w r3, [r3, #668] @ 0x29c - 80090c0: b2db uxtb r3, r3 - 80090c2: 2b02 cmp r3, #2 - 80090c4: d002 beq.n 80090cc - 80090c6: 2b03 cmp r3, #3 - 80090c8: d033 beq.n 8009132 - 80090ca: e099 b.n 8009200 + 8009726: 687b ldr r3, [r7, #4] + 8009728: f893 329c ldrb.w r3, [r3, #668] @ 0x29c + 800972c: b2db uxtb r3, r3 + 800972e: 2b02 cmp r3, #2 + 8009730: d002 beq.n 8009738 + 8009732: 2b03 cmp r3, #3 + 8009734: d033 beq.n 800979e + 8009736: e099 b.n 800986c { case USBD_STATE_ADDRESSED: if ((ep_addr != 0x00U) && (ep_addr != 0x80U)) - 80090cc: 7bbb ldrb r3, [r7, #14] - 80090ce: 2b00 cmp r3, #0 - 80090d0: d007 beq.n 80090e2 - 80090d2: 7bbb ldrb r3, [r7, #14] - 80090d4: 2b80 cmp r3, #128 @ 0x80 - 80090d6: d004 beq.n 80090e2 + 8009738: 7bbb ldrb r3, [r7, #14] + 800973a: 2b00 cmp r3, #0 + 800973c: d007 beq.n 800974e + 800973e: 7bbb ldrb r3, [r7, #14] + 8009740: 2b80 cmp r3, #128 @ 0x80 + 8009742: d004 beq.n 800974e { USBD_CtlError(pdev, req); - 80090d8: 6839 ldr r1, [r7, #0] - 80090da: 6878 ldr r0, [r7, #4] - 80090dc: f000 fc19 bl 8009912 + 8009744: 6839 ldr r1, [r7, #0] + 8009746: 6878 ldr r0, [r7, #4] + 8009748: f000 fc19 bl 8009f7e break; - 80090e0: e093 b.n 800920a + 800974c: e093 b.n 8009876 } pep = ((ep_addr & 0x80U) == 0x80U) ? &pdev->ep_in[ep_addr & 0x7FU] : \ - 80090e2: f997 300e ldrsb.w r3, [r7, #14] - 80090e6: 2b00 cmp r3, #0 - 80090e8: da0b bge.n 8009102 - 80090ea: 7bbb ldrb r3, [r7, #14] - 80090ec: f003 027f and.w r2, r3, #127 @ 0x7f - 80090f0: 4613 mov r3, r2 - 80090f2: 009b lsls r3, r3, #2 - 80090f4: 4413 add r3, r2 - 80090f6: 009b lsls r3, r3, #2 - 80090f8: 3310 adds r3, #16 - 80090fa: 687a ldr r2, [r7, #4] - 80090fc: 4413 add r3, r2 - 80090fe: 3304 adds r3, #4 - 8009100: e00b b.n 800911a + 800974e: f997 300e ldrsb.w r3, [r7, #14] + 8009752: 2b00 cmp r3, #0 + 8009754: da0b bge.n 800976e + 8009756: 7bbb ldrb r3, [r7, #14] + 8009758: f003 027f and.w r2, r3, #127 @ 0x7f + 800975c: 4613 mov r3, r2 + 800975e: 009b lsls r3, r3, #2 + 8009760: 4413 add r3, r2 + 8009762: 009b lsls r3, r3, #2 + 8009764: 3310 adds r3, #16 + 8009766: 687a ldr r2, [r7, #4] + 8009768: 4413 add r3, r2 + 800976a: 3304 adds r3, #4 + 800976c: e00b b.n 8009786 &pdev->ep_out[ep_addr & 0x7FU]; - 8009102: 7bbb ldrb r3, [r7, #14] - 8009104: f003 027f and.w r2, r3, #127 @ 0x7f + 800976e: 7bbb ldrb r3, [r7, #14] + 8009770: f003 027f and.w r2, r3, #127 @ 0x7f pep = ((ep_addr & 0x80U) == 0x80U) ? &pdev->ep_in[ep_addr & 0x7FU] : \ - 8009108: 4613 mov r3, r2 - 800910a: 009b lsls r3, r3, #2 - 800910c: 4413 add r3, r2 - 800910e: 009b lsls r3, r3, #2 - 8009110: f503 73a8 add.w r3, r3, #336 @ 0x150 - 8009114: 687a ldr r2, [r7, #4] - 8009116: 4413 add r3, r2 - 8009118: 3304 adds r3, #4 - 800911a: 60bb str r3, [r7, #8] + 8009774: 4613 mov r3, r2 + 8009776: 009b lsls r3, r3, #2 + 8009778: 4413 add r3, r2 + 800977a: 009b lsls r3, r3, #2 + 800977c: f503 73a8 add.w r3, r3, #336 @ 0x150 + 8009780: 687a ldr r2, [r7, #4] + 8009782: 4413 add r3, r2 + 8009784: 3304 adds r3, #4 + 8009786: 60bb str r3, [r7, #8] pep->status = 0x0000U; - 800911c: 68bb ldr r3, [r7, #8] - 800911e: 2200 movs r2, #0 - 8009120: 739a strb r2, [r3, #14] + 8009788: 68bb ldr r3, [r7, #8] + 800978a: 2200 movs r2, #0 + 800978c: 739a strb r2, [r3, #14] (void)USBD_CtlSendData(pdev, (uint8_t *)&pep->status, 2U); - 8009122: 68bb ldr r3, [r7, #8] - 8009124: 330e adds r3, #14 - 8009126: 2202 movs r2, #2 - 8009128: 4619 mov r1, r3 - 800912a: 6878 ldr r0, [r7, #4] - 800912c: f000 fc6e bl 8009a0c + 800978e: 68bb ldr r3, [r7, #8] + 8009790: 330e adds r3, #14 + 8009792: 2202 movs r2, #2 + 8009794: 4619 mov r1, r3 + 8009796: 6878 ldr r0, [r7, #4] + 8009798: f000 fc6e bl 800a078 break; - 8009130: e06b b.n 800920a + 800979c: e06b b.n 8009876 case USBD_STATE_CONFIGURED: if ((ep_addr & 0x80U) == 0x80U) - 8009132: f997 300e ldrsb.w r3, [r7, #14] - 8009136: 2b00 cmp r3, #0 - 8009138: da11 bge.n 800915e + 800979e: f997 300e ldrsb.w r3, [r7, #14] + 80097a2: 2b00 cmp r3, #0 + 80097a4: da11 bge.n 80097ca { if (pdev->ep_in[ep_addr & 0xFU].is_used == 0U) - 800913a: 7bbb ldrb r3, [r7, #14] - 800913c: f003 020f and.w r2, r3, #15 - 8009140: 6879 ldr r1, [r7, #4] - 8009142: 4613 mov r3, r2 - 8009144: 009b lsls r3, r3, #2 - 8009146: 4413 add r3, r2 - 8009148: 009b lsls r3, r3, #2 - 800914a: 440b add r3, r1 - 800914c: 3323 adds r3, #35 @ 0x23 - 800914e: 781b ldrb r3, [r3, #0] - 8009150: 2b00 cmp r3, #0 - 8009152: d117 bne.n 8009184 + 80097a6: 7bbb ldrb r3, [r7, #14] + 80097a8: f003 020f and.w r2, r3, #15 + 80097ac: 6879 ldr r1, [r7, #4] + 80097ae: 4613 mov r3, r2 + 80097b0: 009b lsls r3, r3, #2 + 80097b2: 4413 add r3, r2 + 80097b4: 009b lsls r3, r3, #2 + 80097b6: 440b add r3, r1 + 80097b8: 3323 adds r3, #35 @ 0x23 + 80097ba: 781b ldrb r3, [r3, #0] + 80097bc: 2b00 cmp r3, #0 + 80097be: d117 bne.n 80097f0 { USBD_CtlError(pdev, req); - 8009154: 6839 ldr r1, [r7, #0] - 8009156: 6878 ldr r0, [r7, #4] - 8009158: f000 fbdb bl 8009912 + 80097c0: 6839 ldr r1, [r7, #0] + 80097c2: 6878 ldr r0, [r7, #4] + 80097c4: f000 fbdb bl 8009f7e break; - 800915c: e055 b.n 800920a + 80097c8: e055 b.n 8009876 } } else { if (pdev->ep_out[ep_addr & 0xFU].is_used == 0U) - 800915e: 7bbb ldrb r3, [r7, #14] - 8009160: f003 020f and.w r2, r3, #15 - 8009164: 6879 ldr r1, [r7, #4] - 8009166: 4613 mov r3, r2 - 8009168: 009b lsls r3, r3, #2 - 800916a: 4413 add r3, r2 - 800916c: 009b lsls r3, r3, #2 - 800916e: 440b add r3, r1 - 8009170: f203 1363 addw r3, r3, #355 @ 0x163 - 8009174: 781b ldrb r3, [r3, #0] - 8009176: 2b00 cmp r3, #0 - 8009178: d104 bne.n 8009184 + 80097ca: 7bbb ldrb r3, [r7, #14] + 80097cc: f003 020f and.w r2, r3, #15 + 80097d0: 6879 ldr r1, [r7, #4] + 80097d2: 4613 mov r3, r2 + 80097d4: 009b lsls r3, r3, #2 + 80097d6: 4413 add r3, r2 + 80097d8: 009b lsls r3, r3, #2 + 80097da: 440b add r3, r1 + 80097dc: f203 1363 addw r3, r3, #355 @ 0x163 + 80097e0: 781b ldrb r3, [r3, #0] + 80097e2: 2b00 cmp r3, #0 + 80097e4: d104 bne.n 80097f0 { USBD_CtlError(pdev, req); - 800917a: 6839 ldr r1, [r7, #0] - 800917c: 6878 ldr r0, [r7, #4] - 800917e: f000 fbc8 bl 8009912 + 80097e6: 6839 ldr r1, [r7, #0] + 80097e8: 6878 ldr r0, [r7, #4] + 80097ea: f000 fbc8 bl 8009f7e break; - 8009182: e042 b.n 800920a + 80097ee: e042 b.n 8009876 } } pep = ((ep_addr & 0x80U) == 0x80U) ? &pdev->ep_in[ep_addr & 0x7FU] : \ - 8009184: f997 300e ldrsb.w r3, [r7, #14] - 8009188: 2b00 cmp r3, #0 - 800918a: da0b bge.n 80091a4 - 800918c: 7bbb ldrb r3, [r7, #14] - 800918e: f003 027f and.w r2, r3, #127 @ 0x7f - 8009192: 4613 mov r3, r2 - 8009194: 009b lsls r3, r3, #2 - 8009196: 4413 add r3, r2 - 8009198: 009b lsls r3, r3, #2 - 800919a: 3310 adds r3, #16 - 800919c: 687a ldr r2, [r7, #4] - 800919e: 4413 add r3, r2 - 80091a0: 3304 adds r3, #4 - 80091a2: e00b b.n 80091bc + 80097f0: f997 300e ldrsb.w r3, [r7, #14] + 80097f4: 2b00 cmp r3, #0 + 80097f6: da0b bge.n 8009810 + 80097f8: 7bbb ldrb r3, [r7, #14] + 80097fa: f003 027f and.w r2, r3, #127 @ 0x7f + 80097fe: 4613 mov r3, r2 + 8009800: 009b lsls r3, r3, #2 + 8009802: 4413 add r3, r2 + 8009804: 009b lsls r3, r3, #2 + 8009806: 3310 adds r3, #16 + 8009808: 687a ldr r2, [r7, #4] + 800980a: 4413 add r3, r2 + 800980c: 3304 adds r3, #4 + 800980e: e00b b.n 8009828 &pdev->ep_out[ep_addr & 0x7FU]; - 80091a4: 7bbb ldrb r3, [r7, #14] - 80091a6: f003 027f and.w r2, r3, #127 @ 0x7f + 8009810: 7bbb ldrb r3, [r7, #14] + 8009812: f003 027f and.w r2, r3, #127 @ 0x7f pep = ((ep_addr & 0x80U) == 0x80U) ? &pdev->ep_in[ep_addr & 0x7FU] : \ - 80091aa: 4613 mov r3, r2 - 80091ac: 009b lsls r3, r3, #2 - 80091ae: 4413 add r3, r2 - 80091b0: 009b lsls r3, r3, #2 - 80091b2: f503 73a8 add.w r3, r3, #336 @ 0x150 - 80091b6: 687a ldr r2, [r7, #4] - 80091b8: 4413 add r3, r2 - 80091ba: 3304 adds r3, #4 - 80091bc: 60bb str r3, [r7, #8] + 8009816: 4613 mov r3, r2 + 8009818: 009b lsls r3, r3, #2 + 800981a: 4413 add r3, r2 + 800981c: 009b lsls r3, r3, #2 + 800981e: f503 73a8 add.w r3, r3, #336 @ 0x150 + 8009822: 687a ldr r2, [r7, #4] + 8009824: 4413 add r3, r2 + 8009826: 3304 adds r3, #4 + 8009828: 60bb str r3, [r7, #8] if ((ep_addr == 0x00U) || (ep_addr == 0x80U)) - 80091be: 7bbb ldrb r3, [r7, #14] - 80091c0: 2b00 cmp r3, #0 - 80091c2: d002 beq.n 80091ca - 80091c4: 7bbb ldrb r3, [r7, #14] - 80091c6: 2b80 cmp r3, #128 @ 0x80 - 80091c8: d103 bne.n 80091d2 + 800982a: 7bbb ldrb r3, [r7, #14] + 800982c: 2b00 cmp r3, #0 + 800982e: d002 beq.n 8009836 + 8009830: 7bbb ldrb r3, [r7, #14] + 8009832: 2b80 cmp r3, #128 @ 0x80 + 8009834: d103 bne.n 800983e { pep->status = 0x0000U; - 80091ca: 68bb ldr r3, [r7, #8] - 80091cc: 2200 movs r2, #0 - 80091ce: 739a strb r2, [r3, #14] - 80091d0: e00e b.n 80091f0 + 8009836: 68bb ldr r3, [r7, #8] + 8009838: 2200 movs r2, #0 + 800983a: 739a strb r2, [r3, #14] + 800983c: e00e b.n 800985c } else if (USBD_LL_IsStallEP(pdev, ep_addr) != 0U) - 80091d2: 7bbb ldrb r3, [r7, #14] - 80091d4: 4619 mov r1, r3 - 80091d6: 6878 ldr r0, [r7, #4] - 80091d8: f001 f80c bl 800a1f4 - 80091dc: 4603 mov r3, r0 - 80091de: 2b00 cmp r3, #0 - 80091e0: d003 beq.n 80091ea + 800983e: 7bbb ldrb r3, [r7, #14] + 8009840: 4619 mov r1, r3 + 8009842: 6878 ldr r0, [r7, #4] + 8009844: f001 f80c bl 800a860 + 8009848: 4603 mov r3, r0 + 800984a: 2b00 cmp r3, #0 + 800984c: d003 beq.n 8009856 { pep->status = 0x0001U; - 80091e2: 68bb ldr r3, [r7, #8] - 80091e4: 2201 movs r2, #1 - 80091e6: 739a strb r2, [r3, #14] - 80091e8: e002 b.n 80091f0 + 800984e: 68bb ldr r3, [r7, #8] + 8009850: 2201 movs r2, #1 + 8009852: 739a strb r2, [r3, #14] + 8009854: e002 b.n 800985c } else { pep->status = 0x0000U; - 80091ea: 68bb ldr r3, [r7, #8] - 80091ec: 2200 movs r2, #0 - 80091ee: 739a strb r2, [r3, #14] + 8009856: 68bb ldr r3, [r7, #8] + 8009858: 2200 movs r2, #0 + 800985a: 739a strb r2, [r3, #14] } (void)USBD_CtlSendData(pdev, (uint8_t *)&pep->status, 2U); - 80091f0: 68bb ldr r3, [r7, #8] - 80091f2: 330e adds r3, #14 - 80091f4: 2202 movs r2, #2 - 80091f6: 4619 mov r1, r3 - 80091f8: 6878 ldr r0, [r7, #4] - 80091fa: f000 fc07 bl 8009a0c + 800985c: 68bb ldr r3, [r7, #8] + 800985e: 330e adds r3, #14 + 8009860: 2202 movs r2, #2 + 8009862: 4619 mov r1, r3 + 8009864: 6878 ldr r0, [r7, #4] + 8009866: f000 fc07 bl 800a078 break; - 80091fe: e004 b.n 800920a + 800986a: e004 b.n 8009876 default: USBD_CtlError(pdev, req); - 8009200: 6839 ldr r1, [r7, #0] - 8009202: 6878 ldr r0, [r7, #4] - 8009204: f000 fb85 bl 8009912 + 800986c: 6839 ldr r1, [r7, #0] + 800986e: 6878 ldr r0, [r7, #4] + 8009870: f000 fb85 bl 8009f7e break; - 8009208: bf00 nop + 8009874: bf00 nop } break; - 800920a: e004 b.n 8009216 + 8009876: e004 b.n 8009882 default: USBD_CtlError(pdev, req); - 800920c: 6839 ldr r1, [r7, #0] - 800920e: 6878 ldr r0, [r7, #4] - 8009210: f000 fb7f bl 8009912 + 8009878: 6839 ldr r1, [r7, #0] + 800987a: 6878 ldr r0, [r7, #4] + 800987c: f000 fb7f bl 8009f7e break; - 8009214: bf00 nop + 8009880: bf00 nop } break; - 8009216: e005 b.n 8009224 + 8009882: e005 b.n 8009890 default: USBD_CtlError(pdev, req); - 8009218: 6839 ldr r1, [r7, #0] - 800921a: 6878 ldr r0, [r7, #4] - 800921c: f000 fb79 bl 8009912 + 8009884: 6839 ldr r1, [r7, #0] + 8009886: 6878 ldr r0, [r7, #4] + 8009888: f000 fb79 bl 8009f7e break; - 8009220: e000 b.n 8009224 + 800988c: e000 b.n 8009890 break; - 8009222: bf00 nop + 800988e: bf00 nop } return ret; - 8009224: 7bfb ldrb r3, [r7, #15] + 8009890: 7bfb ldrb r3, [r7, #15] } - 8009226: 4618 mov r0, r3 - 8009228: 3710 adds r7, #16 - 800922a: 46bd mov sp, r7 - 800922c: bd80 pop {r7, pc} + 8009892: 4618 mov r0, r3 + 8009894: 3710 adds r7, #16 + 8009896: 46bd mov sp, r7 + 8009898: bd80 pop {r7, pc} ... -08009230 : +0800989c : * @param pdev: device instance * @param req: usb request * @retval None */ static void USBD_GetDescriptor(USBD_HandleTypeDef *pdev, USBD_SetupReqTypedef *req) { - 8009230: b580 push {r7, lr} - 8009232: b084 sub sp, #16 - 8009234: af00 add r7, sp, #0 - 8009236: 6078 str r0, [r7, #4] - 8009238: 6039 str r1, [r7, #0] + 800989c: b580 push {r7, lr} + 800989e: b084 sub sp, #16 + 80098a0: af00 add r7, sp, #0 + 80098a2: 6078 str r0, [r7, #4] + 80098a4: 6039 str r1, [r7, #0] uint16_t len = 0U; - 800923a: 2300 movs r3, #0 - 800923c: 813b strh r3, [r7, #8] + 80098a6: 2300 movs r3, #0 + 80098a8: 813b strh r3, [r7, #8] uint8_t *pbuf = NULL; - 800923e: 2300 movs r3, #0 - 8009240: 60fb str r3, [r7, #12] + 80098aa: 2300 movs r3, #0 + 80098ac: 60fb str r3, [r7, #12] uint8_t err = 0U; - 8009242: 2300 movs r3, #0 - 8009244: 72fb strb r3, [r7, #11] + 80098ae: 2300 movs r3, #0 + 80098b0: 72fb strb r3, [r7, #11] switch (req->wValue >> 8) - 8009246: 683b ldr r3, [r7, #0] - 8009248: 885b ldrh r3, [r3, #2] - 800924a: 0a1b lsrs r3, r3, #8 - 800924c: b29b uxth r3, r3 - 800924e: 3b01 subs r3, #1 - 8009250: 2b0e cmp r3, #14 - 8009252: f200 8152 bhi.w 80094fa - 8009256: a201 add r2, pc, #4 @ (adr r2, 800925c ) - 8009258: f852 f023 ldr.w pc, [r2, r3, lsl #2] - 800925c: 080092cd .word 0x080092cd - 8009260: 080092e5 .word 0x080092e5 - 8009264: 08009325 .word 0x08009325 - 8009268: 080094fb .word 0x080094fb - 800926c: 080094fb .word 0x080094fb - 8009270: 0800949b .word 0x0800949b - 8009274: 080094c7 .word 0x080094c7 - 8009278: 080094fb .word 0x080094fb - 800927c: 080094fb .word 0x080094fb - 8009280: 080094fb .word 0x080094fb - 8009284: 080094fb .word 0x080094fb - 8009288: 080094fb .word 0x080094fb - 800928c: 080094fb .word 0x080094fb - 8009290: 080094fb .word 0x080094fb - 8009294: 08009299 .word 0x08009299 + 80098b2: 683b ldr r3, [r7, #0] + 80098b4: 885b ldrh r3, [r3, #2] + 80098b6: 0a1b lsrs r3, r3, #8 + 80098b8: b29b uxth r3, r3 + 80098ba: 3b01 subs r3, #1 + 80098bc: 2b0e cmp r3, #14 + 80098be: f200 8152 bhi.w 8009b66 + 80098c2: a201 add r2, pc, #4 @ (adr r2, 80098c8 ) + 80098c4: f852 f023 ldr.w pc, [r2, r3, lsl #2] + 80098c8: 08009939 .word 0x08009939 + 80098cc: 08009951 .word 0x08009951 + 80098d0: 08009991 .word 0x08009991 + 80098d4: 08009b67 .word 0x08009b67 + 80098d8: 08009b67 .word 0x08009b67 + 80098dc: 08009b07 .word 0x08009b07 + 80098e0: 08009b33 .word 0x08009b33 + 80098e4: 08009b67 .word 0x08009b67 + 80098e8: 08009b67 .word 0x08009b67 + 80098ec: 08009b67 .word 0x08009b67 + 80098f0: 08009b67 .word 0x08009b67 + 80098f4: 08009b67 .word 0x08009b67 + 80098f8: 08009b67 .word 0x08009b67 + 80098fc: 08009b67 .word 0x08009b67 + 8009900: 08009905 .word 0x08009905 { #if ((USBD_LPM_ENABLED == 1U) || (USBD_CLASS_BOS_ENABLED == 1U)) case USB_DESC_TYPE_BOS: if (pdev->pDesc->GetBOSDescriptor != NULL) - 8009298: 687b ldr r3, [r7, #4] - 800929a: f8d3 32b4 ldr.w r3, [r3, #692] @ 0x2b4 - 800929e: 69db ldr r3, [r3, #28] - 80092a0: 2b00 cmp r3, #0 - 80092a2: d00b beq.n 80092bc + 8009904: 687b ldr r3, [r7, #4] + 8009906: f8d3 32b4 ldr.w r3, [r3, #692] @ 0x2b4 + 800990a: 69db ldr r3, [r3, #28] + 800990c: 2b00 cmp r3, #0 + 800990e: d00b beq.n 8009928 { pbuf = pdev->pDesc->GetBOSDescriptor(pdev->dev_speed, &len); - 80092a4: 687b ldr r3, [r7, #4] - 80092a6: f8d3 32b4 ldr.w r3, [r3, #692] @ 0x2b4 - 80092aa: 69db ldr r3, [r3, #28] - 80092ac: 687a ldr r2, [r7, #4] - 80092ae: 7c12 ldrb r2, [r2, #16] - 80092b0: f107 0108 add.w r1, r7, #8 - 80092b4: 4610 mov r0, r2 - 80092b6: 4798 blx r3 - 80092b8: 60f8 str r0, [r7, #12] + 8009910: 687b ldr r3, [r7, #4] + 8009912: f8d3 32b4 ldr.w r3, [r3, #692] @ 0x2b4 + 8009916: 69db ldr r3, [r3, #28] + 8009918: 687a ldr r2, [r7, #4] + 800991a: 7c12 ldrb r2, [r2, #16] + 800991c: f107 0108 add.w r1, r7, #8 + 8009920: 4610 mov r0, r2 + 8009922: 4798 blx r3 + 8009924: 60f8 str r0, [r7, #12] else { USBD_CtlError(pdev, req); err++; } break; - 80092ba: e126 b.n 800950a + 8009926: e126 b.n 8009b76 USBD_CtlError(pdev, req); - 80092bc: 6839 ldr r1, [r7, #0] - 80092be: 6878 ldr r0, [r7, #4] - 80092c0: f000 fb27 bl 8009912 + 8009928: 6839 ldr r1, [r7, #0] + 800992a: 6878 ldr r0, [r7, #4] + 800992c: f000 fb27 bl 8009f7e err++; - 80092c4: 7afb ldrb r3, [r7, #11] - 80092c6: 3301 adds r3, #1 - 80092c8: 72fb strb r3, [r7, #11] + 8009930: 7afb ldrb r3, [r7, #11] + 8009932: 3301 adds r3, #1 + 8009934: 72fb strb r3, [r7, #11] break; - 80092ca: e11e b.n 800950a + 8009936: e11e b.n 8009b76 #endif /* (USBD_LPM_ENABLED == 1U) || (USBD_CLASS_BOS_ENABLED == 1U) */ case USB_DESC_TYPE_DEVICE: pbuf = pdev->pDesc->GetDeviceDescriptor(pdev->dev_speed, &len); - 80092cc: 687b ldr r3, [r7, #4] - 80092ce: f8d3 32b4 ldr.w r3, [r3, #692] @ 0x2b4 - 80092d2: 681b ldr r3, [r3, #0] - 80092d4: 687a ldr r2, [r7, #4] - 80092d6: 7c12 ldrb r2, [r2, #16] - 80092d8: f107 0108 add.w r1, r7, #8 - 80092dc: 4610 mov r0, r2 - 80092de: 4798 blx r3 - 80092e0: 60f8 str r0, [r7, #12] + 8009938: 687b ldr r3, [r7, #4] + 800993a: f8d3 32b4 ldr.w r3, [r3, #692] @ 0x2b4 + 800993e: 681b ldr r3, [r3, #0] + 8009940: 687a ldr r2, [r7, #4] + 8009942: 7c12 ldrb r2, [r2, #16] + 8009944: f107 0108 add.w r1, r7, #8 + 8009948: 4610 mov r0, r2 + 800994a: 4798 blx r3 + 800994c: 60f8 str r0, [r7, #12] break; - 80092e2: e112 b.n 800950a + 800994e: e112 b.n 8009b76 case USB_DESC_TYPE_CONFIGURATION: if (pdev->dev_speed == USBD_SPEED_HIGH) - 80092e4: 687b ldr r3, [r7, #4] - 80092e6: 7c1b ldrb r3, [r3, #16] - 80092e8: 2b00 cmp r3, #0 - 80092ea: d10d bne.n 8009308 + 8009950: 687b ldr r3, [r7, #4] + 8009952: 7c1b ldrb r3, [r3, #16] + 8009954: 2b00 cmp r3, #0 + 8009956: d10d bne.n 8009974 pbuf = (uint8_t *)USBD_CMPSIT.GetHSConfigDescriptor(&len); } else #endif /* USE_USBD_COMPOSITE */ { pbuf = (uint8_t *)pdev->pClass[0]->GetHSConfigDescriptor(&len); - 80092ec: 687b ldr r3, [r7, #4] - 80092ee: f8d3 32b8 ldr.w r3, [r3, #696] @ 0x2b8 - 80092f2: 6a9b ldr r3, [r3, #40] @ 0x28 - 80092f4: f107 0208 add.w r2, r7, #8 - 80092f8: 4610 mov r0, r2 - 80092fa: 4798 blx r3 - 80092fc: 60f8 str r0, [r7, #12] + 8009958: 687b ldr r3, [r7, #4] + 800995a: f8d3 32b8 ldr.w r3, [r3, #696] @ 0x2b8 + 800995e: 6a9b ldr r3, [r3, #40] @ 0x28 + 8009960: f107 0208 add.w r2, r7, #8 + 8009964: 4610 mov r0, r2 + 8009966: 4798 blx r3 + 8009968: 60f8 str r0, [r7, #12] } pbuf[1] = USB_DESC_TYPE_CONFIGURATION; - 80092fe: 68fb ldr r3, [r7, #12] - 8009300: 3301 adds r3, #1 - 8009302: 2202 movs r2, #2 - 8009304: 701a strb r2, [r3, #0] + 800996a: 68fb ldr r3, [r7, #12] + 800996c: 3301 adds r3, #1 + 800996e: 2202 movs r2, #2 + 8009970: 701a strb r2, [r3, #0] { pbuf = (uint8_t *)pdev->pClass[0]->GetFSConfigDescriptor(&len); } pbuf[1] = USB_DESC_TYPE_CONFIGURATION; } break; - 8009306: e100 b.n 800950a + 8009972: e100 b.n 8009b76 pbuf = (uint8_t *)pdev->pClass[0]->GetFSConfigDescriptor(&len); - 8009308: 687b ldr r3, [r7, #4] - 800930a: f8d3 32b8 ldr.w r3, [r3, #696] @ 0x2b8 - 800930e: 6adb ldr r3, [r3, #44] @ 0x2c - 8009310: f107 0208 add.w r2, r7, #8 - 8009314: 4610 mov r0, r2 - 8009316: 4798 blx r3 - 8009318: 60f8 str r0, [r7, #12] + 8009974: 687b ldr r3, [r7, #4] + 8009976: f8d3 32b8 ldr.w r3, [r3, #696] @ 0x2b8 + 800997a: 6adb ldr r3, [r3, #44] @ 0x2c + 800997c: f107 0208 add.w r2, r7, #8 + 8009980: 4610 mov r0, r2 + 8009982: 4798 blx r3 + 8009984: 60f8 str r0, [r7, #12] pbuf[1] = USB_DESC_TYPE_CONFIGURATION; - 800931a: 68fb ldr r3, [r7, #12] - 800931c: 3301 adds r3, #1 - 800931e: 2202 movs r2, #2 - 8009320: 701a strb r2, [r3, #0] + 8009986: 68fb ldr r3, [r7, #12] + 8009988: 3301 adds r3, #1 + 800998a: 2202 movs r2, #2 + 800998c: 701a strb r2, [r3, #0] break; - 8009322: e0f2 b.n 800950a + 800998e: e0f2 b.n 8009b76 case USB_DESC_TYPE_STRING: switch ((uint8_t)(req->wValue)) - 8009324: 683b ldr r3, [r7, #0] - 8009326: 885b ldrh r3, [r3, #2] - 8009328: b2db uxtb r3, r3 - 800932a: 2b05 cmp r3, #5 - 800932c: f200 80ac bhi.w 8009488 - 8009330: a201 add r2, pc, #4 @ (adr r2, 8009338 ) - 8009332: f852 f023 ldr.w pc, [r2, r3, lsl #2] - 8009336: bf00 nop - 8009338: 08009351 .word 0x08009351 - 800933c: 08009385 .word 0x08009385 - 8009340: 080093b9 .word 0x080093b9 - 8009344: 080093ed .word 0x080093ed - 8009348: 08009421 .word 0x08009421 - 800934c: 08009455 .word 0x08009455 + 8009990: 683b ldr r3, [r7, #0] + 8009992: 885b ldrh r3, [r3, #2] + 8009994: b2db uxtb r3, r3 + 8009996: 2b05 cmp r3, #5 + 8009998: f200 80ac bhi.w 8009af4 + 800999c: a201 add r2, pc, #4 @ (adr r2, 80099a4 ) + 800999e: f852 f023 ldr.w pc, [r2, r3, lsl #2] + 80099a2: bf00 nop + 80099a4: 080099bd .word 0x080099bd + 80099a8: 080099f1 .word 0x080099f1 + 80099ac: 08009a25 .word 0x08009a25 + 80099b0: 08009a59 .word 0x08009a59 + 80099b4: 08009a8d .word 0x08009a8d + 80099b8: 08009ac1 .word 0x08009ac1 { case USBD_IDX_LANGID_STR: if (pdev->pDesc->GetLangIDStrDescriptor != NULL) - 8009350: 687b ldr r3, [r7, #4] - 8009352: f8d3 32b4 ldr.w r3, [r3, #692] @ 0x2b4 - 8009356: 685b ldr r3, [r3, #4] - 8009358: 2b00 cmp r3, #0 - 800935a: d00b beq.n 8009374 + 80099bc: 687b ldr r3, [r7, #4] + 80099be: f8d3 32b4 ldr.w r3, [r3, #692] @ 0x2b4 + 80099c2: 685b ldr r3, [r3, #4] + 80099c4: 2b00 cmp r3, #0 + 80099c6: d00b beq.n 80099e0 { pbuf = pdev->pDesc->GetLangIDStrDescriptor(pdev->dev_speed, &len); - 800935c: 687b ldr r3, [r7, #4] - 800935e: f8d3 32b4 ldr.w r3, [r3, #692] @ 0x2b4 - 8009362: 685b ldr r3, [r3, #4] - 8009364: 687a ldr r2, [r7, #4] - 8009366: 7c12 ldrb r2, [r2, #16] - 8009368: f107 0108 add.w r1, r7, #8 - 800936c: 4610 mov r0, r2 - 800936e: 4798 blx r3 - 8009370: 60f8 str r0, [r7, #12] + 80099c8: 687b ldr r3, [r7, #4] + 80099ca: f8d3 32b4 ldr.w r3, [r3, #692] @ 0x2b4 + 80099ce: 685b ldr r3, [r3, #4] + 80099d0: 687a ldr r2, [r7, #4] + 80099d2: 7c12 ldrb r2, [r2, #16] + 80099d4: f107 0108 add.w r1, r7, #8 + 80099d8: 4610 mov r0, r2 + 80099da: 4798 blx r3 + 80099dc: 60f8 str r0, [r7, #12] else { USBD_CtlError(pdev, req); err++; } break; - 8009372: e091 b.n 8009498 + 80099de: e091 b.n 8009b04 USBD_CtlError(pdev, req); - 8009374: 6839 ldr r1, [r7, #0] - 8009376: 6878 ldr r0, [r7, #4] - 8009378: f000 facb bl 8009912 + 80099e0: 6839 ldr r1, [r7, #0] + 80099e2: 6878 ldr r0, [r7, #4] + 80099e4: f000 facb bl 8009f7e err++; - 800937c: 7afb ldrb r3, [r7, #11] - 800937e: 3301 adds r3, #1 - 8009380: 72fb strb r3, [r7, #11] + 80099e8: 7afb ldrb r3, [r7, #11] + 80099ea: 3301 adds r3, #1 + 80099ec: 72fb strb r3, [r7, #11] break; - 8009382: e089 b.n 8009498 + 80099ee: e089 b.n 8009b04 case USBD_IDX_MFC_STR: if (pdev->pDesc->GetManufacturerStrDescriptor != NULL) - 8009384: 687b ldr r3, [r7, #4] - 8009386: f8d3 32b4 ldr.w r3, [r3, #692] @ 0x2b4 - 800938a: 689b ldr r3, [r3, #8] - 800938c: 2b00 cmp r3, #0 - 800938e: d00b beq.n 80093a8 + 80099f0: 687b ldr r3, [r7, #4] + 80099f2: f8d3 32b4 ldr.w r3, [r3, #692] @ 0x2b4 + 80099f6: 689b ldr r3, [r3, #8] + 80099f8: 2b00 cmp r3, #0 + 80099fa: d00b beq.n 8009a14 { pbuf = pdev->pDesc->GetManufacturerStrDescriptor(pdev->dev_speed, &len); - 8009390: 687b ldr r3, [r7, #4] - 8009392: f8d3 32b4 ldr.w r3, [r3, #692] @ 0x2b4 - 8009396: 689b ldr r3, [r3, #8] - 8009398: 687a ldr r2, [r7, #4] - 800939a: 7c12 ldrb r2, [r2, #16] - 800939c: f107 0108 add.w r1, r7, #8 - 80093a0: 4610 mov r0, r2 - 80093a2: 4798 blx r3 - 80093a4: 60f8 str r0, [r7, #12] + 80099fc: 687b ldr r3, [r7, #4] + 80099fe: f8d3 32b4 ldr.w r3, [r3, #692] @ 0x2b4 + 8009a02: 689b ldr r3, [r3, #8] + 8009a04: 687a ldr r2, [r7, #4] + 8009a06: 7c12 ldrb r2, [r2, #16] + 8009a08: f107 0108 add.w r1, r7, #8 + 8009a0c: 4610 mov r0, r2 + 8009a0e: 4798 blx r3 + 8009a10: 60f8 str r0, [r7, #12] else { USBD_CtlError(pdev, req); err++; } break; - 80093a6: e077 b.n 8009498 + 8009a12: e077 b.n 8009b04 USBD_CtlError(pdev, req); - 80093a8: 6839 ldr r1, [r7, #0] - 80093aa: 6878 ldr r0, [r7, #4] - 80093ac: f000 fab1 bl 8009912 + 8009a14: 6839 ldr r1, [r7, #0] + 8009a16: 6878 ldr r0, [r7, #4] + 8009a18: f000 fab1 bl 8009f7e err++; - 80093b0: 7afb ldrb r3, [r7, #11] - 80093b2: 3301 adds r3, #1 - 80093b4: 72fb strb r3, [r7, #11] + 8009a1c: 7afb ldrb r3, [r7, #11] + 8009a1e: 3301 adds r3, #1 + 8009a20: 72fb strb r3, [r7, #11] break; - 80093b6: e06f b.n 8009498 + 8009a22: e06f b.n 8009b04 case USBD_IDX_PRODUCT_STR: if (pdev->pDesc->GetProductStrDescriptor != NULL) - 80093b8: 687b ldr r3, [r7, #4] - 80093ba: f8d3 32b4 ldr.w r3, [r3, #692] @ 0x2b4 - 80093be: 68db ldr r3, [r3, #12] - 80093c0: 2b00 cmp r3, #0 - 80093c2: d00b beq.n 80093dc + 8009a24: 687b ldr r3, [r7, #4] + 8009a26: f8d3 32b4 ldr.w r3, [r3, #692] @ 0x2b4 + 8009a2a: 68db ldr r3, [r3, #12] + 8009a2c: 2b00 cmp r3, #0 + 8009a2e: d00b beq.n 8009a48 { pbuf = pdev->pDesc->GetProductStrDescriptor(pdev->dev_speed, &len); - 80093c4: 687b ldr r3, [r7, #4] - 80093c6: f8d3 32b4 ldr.w r3, [r3, #692] @ 0x2b4 - 80093ca: 68db ldr r3, [r3, #12] - 80093cc: 687a ldr r2, [r7, #4] - 80093ce: 7c12 ldrb r2, [r2, #16] - 80093d0: f107 0108 add.w r1, r7, #8 - 80093d4: 4610 mov r0, r2 - 80093d6: 4798 blx r3 - 80093d8: 60f8 str r0, [r7, #12] + 8009a30: 687b ldr r3, [r7, #4] + 8009a32: f8d3 32b4 ldr.w r3, [r3, #692] @ 0x2b4 + 8009a36: 68db ldr r3, [r3, #12] + 8009a38: 687a ldr r2, [r7, #4] + 8009a3a: 7c12 ldrb r2, [r2, #16] + 8009a3c: f107 0108 add.w r1, r7, #8 + 8009a40: 4610 mov r0, r2 + 8009a42: 4798 blx r3 + 8009a44: 60f8 str r0, [r7, #12] else { USBD_CtlError(pdev, req); err++; } break; - 80093da: e05d b.n 8009498 + 8009a46: e05d b.n 8009b04 USBD_CtlError(pdev, req); - 80093dc: 6839 ldr r1, [r7, #0] - 80093de: 6878 ldr r0, [r7, #4] - 80093e0: f000 fa97 bl 8009912 + 8009a48: 6839 ldr r1, [r7, #0] + 8009a4a: 6878 ldr r0, [r7, #4] + 8009a4c: f000 fa97 bl 8009f7e err++; - 80093e4: 7afb ldrb r3, [r7, #11] - 80093e6: 3301 adds r3, #1 - 80093e8: 72fb strb r3, [r7, #11] + 8009a50: 7afb ldrb r3, [r7, #11] + 8009a52: 3301 adds r3, #1 + 8009a54: 72fb strb r3, [r7, #11] break; - 80093ea: e055 b.n 8009498 + 8009a56: e055 b.n 8009b04 case USBD_IDX_SERIAL_STR: if (pdev->pDesc->GetSerialStrDescriptor != NULL) - 80093ec: 687b ldr r3, [r7, #4] - 80093ee: f8d3 32b4 ldr.w r3, [r3, #692] @ 0x2b4 - 80093f2: 691b ldr r3, [r3, #16] - 80093f4: 2b00 cmp r3, #0 - 80093f6: d00b beq.n 8009410 + 8009a58: 687b ldr r3, [r7, #4] + 8009a5a: f8d3 32b4 ldr.w r3, [r3, #692] @ 0x2b4 + 8009a5e: 691b ldr r3, [r3, #16] + 8009a60: 2b00 cmp r3, #0 + 8009a62: d00b beq.n 8009a7c { pbuf = pdev->pDesc->GetSerialStrDescriptor(pdev->dev_speed, &len); - 80093f8: 687b ldr r3, [r7, #4] - 80093fa: f8d3 32b4 ldr.w r3, [r3, #692] @ 0x2b4 - 80093fe: 691b ldr r3, [r3, #16] - 8009400: 687a ldr r2, [r7, #4] - 8009402: 7c12 ldrb r2, [r2, #16] - 8009404: f107 0108 add.w r1, r7, #8 - 8009408: 4610 mov r0, r2 - 800940a: 4798 blx r3 - 800940c: 60f8 str r0, [r7, #12] + 8009a64: 687b ldr r3, [r7, #4] + 8009a66: f8d3 32b4 ldr.w r3, [r3, #692] @ 0x2b4 + 8009a6a: 691b ldr r3, [r3, #16] + 8009a6c: 687a ldr r2, [r7, #4] + 8009a6e: 7c12 ldrb r2, [r2, #16] + 8009a70: f107 0108 add.w r1, r7, #8 + 8009a74: 4610 mov r0, r2 + 8009a76: 4798 blx r3 + 8009a78: 60f8 str r0, [r7, #12] else { USBD_CtlError(pdev, req); err++; } break; - 800940e: e043 b.n 8009498 + 8009a7a: e043 b.n 8009b04 USBD_CtlError(pdev, req); - 8009410: 6839 ldr r1, [r7, #0] - 8009412: 6878 ldr r0, [r7, #4] - 8009414: f000 fa7d bl 8009912 + 8009a7c: 6839 ldr r1, [r7, #0] + 8009a7e: 6878 ldr r0, [r7, #4] + 8009a80: f000 fa7d bl 8009f7e err++; - 8009418: 7afb ldrb r3, [r7, #11] - 800941a: 3301 adds r3, #1 - 800941c: 72fb strb r3, [r7, #11] + 8009a84: 7afb ldrb r3, [r7, #11] + 8009a86: 3301 adds r3, #1 + 8009a88: 72fb strb r3, [r7, #11] break; - 800941e: e03b b.n 8009498 + 8009a8a: e03b b.n 8009b04 case USBD_IDX_CONFIG_STR: if (pdev->pDesc->GetConfigurationStrDescriptor != NULL) - 8009420: 687b ldr r3, [r7, #4] - 8009422: f8d3 32b4 ldr.w r3, [r3, #692] @ 0x2b4 - 8009426: 695b ldr r3, [r3, #20] - 8009428: 2b00 cmp r3, #0 - 800942a: d00b beq.n 8009444 + 8009a8c: 687b ldr r3, [r7, #4] + 8009a8e: f8d3 32b4 ldr.w r3, [r3, #692] @ 0x2b4 + 8009a92: 695b ldr r3, [r3, #20] + 8009a94: 2b00 cmp r3, #0 + 8009a96: d00b beq.n 8009ab0 { pbuf = pdev->pDesc->GetConfigurationStrDescriptor(pdev->dev_speed, &len); - 800942c: 687b ldr r3, [r7, #4] - 800942e: f8d3 32b4 ldr.w r3, [r3, #692] @ 0x2b4 - 8009432: 695b ldr r3, [r3, #20] - 8009434: 687a ldr r2, [r7, #4] - 8009436: 7c12 ldrb r2, [r2, #16] - 8009438: f107 0108 add.w r1, r7, #8 - 800943c: 4610 mov r0, r2 - 800943e: 4798 blx r3 - 8009440: 60f8 str r0, [r7, #12] + 8009a98: 687b ldr r3, [r7, #4] + 8009a9a: f8d3 32b4 ldr.w r3, [r3, #692] @ 0x2b4 + 8009a9e: 695b ldr r3, [r3, #20] + 8009aa0: 687a ldr r2, [r7, #4] + 8009aa2: 7c12 ldrb r2, [r2, #16] + 8009aa4: f107 0108 add.w r1, r7, #8 + 8009aa8: 4610 mov r0, r2 + 8009aaa: 4798 blx r3 + 8009aac: 60f8 str r0, [r7, #12] else { USBD_CtlError(pdev, req); err++; } break; - 8009442: e029 b.n 8009498 + 8009aae: e029 b.n 8009b04 USBD_CtlError(pdev, req); - 8009444: 6839 ldr r1, [r7, #0] - 8009446: 6878 ldr r0, [r7, #4] - 8009448: f000 fa63 bl 8009912 + 8009ab0: 6839 ldr r1, [r7, #0] + 8009ab2: 6878 ldr r0, [r7, #4] + 8009ab4: f000 fa63 bl 8009f7e err++; - 800944c: 7afb ldrb r3, [r7, #11] - 800944e: 3301 adds r3, #1 - 8009450: 72fb strb r3, [r7, #11] + 8009ab8: 7afb ldrb r3, [r7, #11] + 8009aba: 3301 adds r3, #1 + 8009abc: 72fb strb r3, [r7, #11] break; - 8009452: e021 b.n 8009498 + 8009abe: e021 b.n 8009b04 case USBD_IDX_INTERFACE_STR: if (pdev->pDesc->GetInterfaceStrDescriptor != NULL) - 8009454: 687b ldr r3, [r7, #4] - 8009456: f8d3 32b4 ldr.w r3, [r3, #692] @ 0x2b4 - 800945a: 699b ldr r3, [r3, #24] - 800945c: 2b00 cmp r3, #0 - 800945e: d00b beq.n 8009478 + 8009ac0: 687b ldr r3, [r7, #4] + 8009ac2: f8d3 32b4 ldr.w r3, [r3, #692] @ 0x2b4 + 8009ac6: 699b ldr r3, [r3, #24] + 8009ac8: 2b00 cmp r3, #0 + 8009aca: d00b beq.n 8009ae4 { pbuf = pdev->pDesc->GetInterfaceStrDescriptor(pdev->dev_speed, &len); - 8009460: 687b ldr r3, [r7, #4] - 8009462: f8d3 32b4 ldr.w r3, [r3, #692] @ 0x2b4 - 8009466: 699b ldr r3, [r3, #24] - 8009468: 687a ldr r2, [r7, #4] - 800946a: 7c12 ldrb r2, [r2, #16] - 800946c: f107 0108 add.w r1, r7, #8 - 8009470: 4610 mov r0, r2 - 8009472: 4798 blx r3 - 8009474: 60f8 str r0, [r7, #12] + 8009acc: 687b ldr r3, [r7, #4] + 8009ace: f8d3 32b4 ldr.w r3, [r3, #692] @ 0x2b4 + 8009ad2: 699b ldr r3, [r3, #24] + 8009ad4: 687a ldr r2, [r7, #4] + 8009ad6: 7c12 ldrb r2, [r2, #16] + 8009ad8: f107 0108 add.w r1, r7, #8 + 8009adc: 4610 mov r0, r2 + 8009ade: 4798 blx r3 + 8009ae0: 60f8 str r0, [r7, #12] else { USBD_CtlError(pdev, req); err++; } break; - 8009476: e00f b.n 8009498 + 8009ae2: e00f b.n 8009b04 USBD_CtlError(pdev, req); - 8009478: 6839 ldr r1, [r7, #0] - 800947a: 6878 ldr r0, [r7, #4] - 800947c: f000 fa49 bl 8009912 + 8009ae4: 6839 ldr r1, [r7, #0] + 8009ae6: 6878 ldr r0, [r7, #4] + 8009ae8: f000 fa49 bl 8009f7e err++; - 8009480: 7afb ldrb r3, [r7, #11] - 8009482: 3301 adds r3, #1 - 8009484: 72fb strb r3, [r7, #11] + 8009aec: 7afb ldrb r3, [r7, #11] + 8009aee: 3301 adds r3, #1 + 8009af0: 72fb strb r3, [r7, #11] break; - 8009486: e007 b.n 8009498 + 8009af2: e007 b.n 8009b04 err++; } #endif /* USBD_SUPPORT_USER_STRING_DESC */ #if ((USBD_CLASS_USER_STRING_DESC == 0U) && (USBD_SUPPORT_USER_STRING_DESC == 0U)) USBD_CtlError(pdev, req); - 8009488: 6839 ldr r1, [r7, #0] - 800948a: 6878 ldr r0, [r7, #4] - 800948c: f000 fa41 bl 8009912 + 8009af4: 6839 ldr r1, [r7, #0] + 8009af6: 6878 ldr r0, [r7, #4] + 8009af8: f000 fa41 bl 8009f7e err++; - 8009490: 7afb ldrb r3, [r7, #11] - 8009492: 3301 adds r3, #1 - 8009494: 72fb strb r3, [r7, #11] + 8009afc: 7afb ldrb r3, [r7, #11] + 8009afe: 3301 adds r3, #1 + 8009b00: 72fb strb r3, [r7, #11] #endif /* (USBD_CLASS_USER_STRING_DESC == 0U) && (USBD_SUPPORT_USER_STRING_DESC == 0U) */ break; - 8009496: bf00 nop + 8009b02: bf00 nop } break; - 8009498: e037 b.n 800950a + 8009b04: e037 b.n 8009b76 case USB_DESC_TYPE_DEVICE_QUALIFIER: if (pdev->dev_speed == USBD_SPEED_HIGH) - 800949a: 687b ldr r3, [r7, #4] - 800949c: 7c1b ldrb r3, [r3, #16] - 800949e: 2b00 cmp r3, #0 - 80094a0: d109 bne.n 80094b6 + 8009b06: 687b ldr r3, [r7, #4] + 8009b08: 7c1b ldrb r3, [r3, #16] + 8009b0a: 2b00 cmp r3, #0 + 8009b0c: d109 bne.n 8009b22 pbuf = (uint8_t *)USBD_CMPSIT.GetDeviceQualifierDescriptor(&len); } else #endif /* USE_USBD_COMPOSITE */ { pbuf = (uint8_t *)pdev->pClass[0]->GetDeviceQualifierDescriptor(&len); - 80094a2: 687b ldr r3, [r7, #4] - 80094a4: f8d3 32b8 ldr.w r3, [r3, #696] @ 0x2b8 - 80094a8: 6b5b ldr r3, [r3, #52] @ 0x34 - 80094aa: f107 0208 add.w r2, r7, #8 - 80094ae: 4610 mov r0, r2 - 80094b0: 4798 blx r3 - 80094b2: 60f8 str r0, [r7, #12] + 8009b0e: 687b ldr r3, [r7, #4] + 8009b10: f8d3 32b8 ldr.w r3, [r3, #696] @ 0x2b8 + 8009b14: 6b5b ldr r3, [r3, #52] @ 0x34 + 8009b16: f107 0208 add.w r2, r7, #8 + 8009b1a: 4610 mov r0, r2 + 8009b1c: 4798 blx r3 + 8009b1e: 60f8 str r0, [r7, #12] else { USBD_CtlError(pdev, req); err++; } break; - 80094b4: e029 b.n 800950a + 8009b20: e029 b.n 8009b76 USBD_CtlError(pdev, req); - 80094b6: 6839 ldr r1, [r7, #0] - 80094b8: 6878 ldr r0, [r7, #4] - 80094ba: f000 fa2a bl 8009912 + 8009b22: 6839 ldr r1, [r7, #0] + 8009b24: 6878 ldr r0, [r7, #4] + 8009b26: f000 fa2a bl 8009f7e err++; - 80094be: 7afb ldrb r3, [r7, #11] - 80094c0: 3301 adds r3, #1 - 80094c2: 72fb strb r3, [r7, #11] + 8009b2a: 7afb ldrb r3, [r7, #11] + 8009b2c: 3301 adds r3, #1 + 8009b2e: 72fb strb r3, [r7, #11] break; - 80094c4: e021 b.n 800950a + 8009b30: e021 b.n 8009b76 case USB_DESC_TYPE_OTHER_SPEED_CONFIGURATION: if (pdev->dev_speed == USBD_SPEED_HIGH) - 80094c6: 687b ldr r3, [r7, #4] - 80094c8: 7c1b ldrb r3, [r3, #16] - 80094ca: 2b00 cmp r3, #0 - 80094cc: d10d bne.n 80094ea + 8009b32: 687b ldr r3, [r7, #4] + 8009b34: 7c1b ldrb r3, [r3, #16] + 8009b36: 2b00 cmp r3, #0 + 8009b38: d10d bne.n 8009b56 pbuf = (uint8_t *)USBD_CMPSIT.GetOtherSpeedConfigDescriptor(&len); } else #endif /* USE_USBD_COMPOSITE */ { pbuf = (uint8_t *)pdev->pClass[0]->GetOtherSpeedConfigDescriptor(&len); - 80094ce: 687b ldr r3, [r7, #4] - 80094d0: f8d3 32b8 ldr.w r3, [r3, #696] @ 0x2b8 - 80094d4: 6b1b ldr r3, [r3, #48] @ 0x30 - 80094d6: f107 0208 add.w r2, r7, #8 - 80094da: 4610 mov r0, r2 - 80094dc: 4798 blx r3 - 80094de: 60f8 str r0, [r7, #12] + 8009b3a: 687b ldr r3, [r7, #4] + 8009b3c: f8d3 32b8 ldr.w r3, [r3, #696] @ 0x2b8 + 8009b40: 6b1b ldr r3, [r3, #48] @ 0x30 + 8009b42: f107 0208 add.w r2, r7, #8 + 8009b46: 4610 mov r0, r2 + 8009b48: 4798 blx r3 + 8009b4a: 60f8 str r0, [r7, #12] } pbuf[1] = USB_DESC_TYPE_OTHER_SPEED_CONFIGURATION; - 80094e0: 68fb ldr r3, [r7, #12] - 80094e2: 3301 adds r3, #1 - 80094e4: 2207 movs r2, #7 - 80094e6: 701a strb r2, [r3, #0] + 8009b4c: 68fb ldr r3, [r7, #12] + 8009b4e: 3301 adds r3, #1 + 8009b50: 2207 movs r2, #7 + 8009b52: 701a strb r2, [r3, #0] else { USBD_CtlError(pdev, req); err++; } break; - 80094e8: e00f b.n 800950a + 8009b54: e00f b.n 8009b76 USBD_CtlError(pdev, req); - 80094ea: 6839 ldr r1, [r7, #0] - 80094ec: 6878 ldr r0, [r7, #4] - 80094ee: f000 fa10 bl 8009912 + 8009b56: 6839 ldr r1, [r7, #0] + 8009b58: 6878 ldr r0, [r7, #4] + 8009b5a: f000 fa10 bl 8009f7e err++; - 80094f2: 7afb ldrb r3, [r7, #11] - 80094f4: 3301 adds r3, #1 - 80094f6: 72fb strb r3, [r7, #11] + 8009b5e: 7afb ldrb r3, [r7, #11] + 8009b60: 3301 adds r3, #1 + 8009b62: 72fb strb r3, [r7, #11] break; - 80094f8: e007 b.n 800950a + 8009b64: e007 b.n 8009b76 default: USBD_CtlError(pdev, req); - 80094fa: 6839 ldr r1, [r7, #0] - 80094fc: 6878 ldr r0, [r7, #4] - 80094fe: f000 fa08 bl 8009912 + 8009b66: 6839 ldr r1, [r7, #0] + 8009b68: 6878 ldr r0, [r7, #4] + 8009b6a: f000 fa08 bl 8009f7e err++; - 8009502: 7afb ldrb r3, [r7, #11] - 8009504: 3301 adds r3, #1 - 8009506: 72fb strb r3, [r7, #11] + 8009b6e: 7afb ldrb r3, [r7, #11] + 8009b70: 3301 adds r3, #1 + 8009b72: 72fb strb r3, [r7, #11] break; - 8009508: bf00 nop + 8009b74: bf00 nop } if (err != 0U) - 800950a: 7afb ldrb r3, [r7, #11] - 800950c: 2b00 cmp r3, #0 - 800950e: d11e bne.n 800954e + 8009b76: 7afb ldrb r3, [r7, #11] + 8009b78: 2b00 cmp r3, #0 + 8009b7a: d11e bne.n 8009bba { return; } if (req->wLength != 0U) - 8009510: 683b ldr r3, [r7, #0] - 8009512: 88db ldrh r3, [r3, #6] - 8009514: 2b00 cmp r3, #0 - 8009516: d016 beq.n 8009546 + 8009b7c: 683b ldr r3, [r7, #0] + 8009b7e: 88db ldrh r3, [r3, #6] + 8009b80: 2b00 cmp r3, #0 + 8009b82: d016 beq.n 8009bb2 { if (len != 0U) - 8009518: 893b ldrh r3, [r7, #8] - 800951a: 2b00 cmp r3, #0 - 800951c: d00e beq.n 800953c + 8009b84: 893b ldrh r3, [r7, #8] + 8009b86: 2b00 cmp r3, #0 + 8009b88: d00e beq.n 8009ba8 { len = MIN(len, req->wLength); - 800951e: 683b ldr r3, [r7, #0] - 8009520: 88da ldrh r2, [r3, #6] - 8009522: 893b ldrh r3, [r7, #8] - 8009524: 4293 cmp r3, r2 - 8009526: bf28 it cs - 8009528: 4613 movcs r3, r2 - 800952a: b29b uxth r3, r3 - 800952c: 813b strh r3, [r7, #8] + 8009b8a: 683b ldr r3, [r7, #0] + 8009b8c: 88da ldrh r2, [r3, #6] + 8009b8e: 893b ldrh r3, [r7, #8] + 8009b90: 4293 cmp r3, r2 + 8009b92: bf28 it cs + 8009b94: 4613 movcs r3, r2 + 8009b96: b29b uxth r3, r3 + 8009b98: 813b strh r3, [r7, #8] (void)USBD_CtlSendData(pdev, pbuf, len); - 800952e: 893b ldrh r3, [r7, #8] - 8009530: 461a mov r2, r3 - 8009532: 68f9 ldr r1, [r7, #12] - 8009534: 6878 ldr r0, [r7, #4] - 8009536: f000 fa69 bl 8009a0c - 800953a: e009 b.n 8009550 + 8009b9a: 893b ldrh r3, [r7, #8] + 8009b9c: 461a mov r2, r3 + 8009b9e: 68f9 ldr r1, [r7, #12] + 8009ba0: 6878 ldr r0, [r7, #4] + 8009ba2: f000 fa69 bl 800a078 + 8009ba6: e009 b.n 8009bbc } else { USBD_CtlError(pdev, req); - 800953c: 6839 ldr r1, [r7, #0] - 800953e: 6878 ldr r0, [r7, #4] - 8009540: f000 f9e7 bl 8009912 - 8009544: e004 b.n 8009550 + 8009ba8: 6839 ldr r1, [r7, #0] + 8009baa: 6878 ldr r0, [r7, #4] + 8009bac: f000 f9e7 bl 8009f7e + 8009bb0: e004 b.n 8009bbc } } else { (void)USBD_CtlSendStatus(pdev); - 8009546: 6878 ldr r0, [r7, #4] - 8009548: f000 faa0 bl 8009a8c - 800954c: e000 b.n 8009550 + 8009bb2: 6878 ldr r0, [r7, #4] + 8009bb4: f000 faa0 bl 800a0f8 + 8009bb8: e000 b.n 8009bbc return; - 800954e: bf00 nop + 8009bba: bf00 nop } } - 8009550: 3710 adds r7, #16 - 8009552: 46bd mov sp, r7 - 8009554: bd80 pop {r7, pc} - 8009556: bf00 nop + 8009bbc: 3710 adds r7, #16 + 8009bbe: 46bd mov sp, r7 + 8009bc0: bd80 pop {r7, pc} + 8009bc2: bf00 nop -08009558 : +08009bc4 : * @param pdev: device instance * @param req: usb request * @retval None */ static void USBD_SetAddress(USBD_HandleTypeDef *pdev, USBD_SetupReqTypedef *req) { - 8009558: b580 push {r7, lr} - 800955a: b084 sub sp, #16 - 800955c: af00 add r7, sp, #0 - 800955e: 6078 str r0, [r7, #4] - 8009560: 6039 str r1, [r7, #0] + 8009bc4: b580 push {r7, lr} + 8009bc6: b084 sub sp, #16 + 8009bc8: af00 add r7, sp, #0 + 8009bca: 6078 str r0, [r7, #4] + 8009bcc: 6039 str r1, [r7, #0] uint8_t dev_addr; if ((req->wIndex == 0U) && (req->wLength == 0U) && (req->wValue < 128U)) - 8009562: 683b ldr r3, [r7, #0] - 8009564: 889b ldrh r3, [r3, #4] - 8009566: 2b00 cmp r3, #0 - 8009568: d131 bne.n 80095ce - 800956a: 683b ldr r3, [r7, #0] - 800956c: 88db ldrh r3, [r3, #6] - 800956e: 2b00 cmp r3, #0 - 8009570: d12d bne.n 80095ce - 8009572: 683b ldr r3, [r7, #0] - 8009574: 885b ldrh r3, [r3, #2] - 8009576: 2b7f cmp r3, #127 @ 0x7f - 8009578: d829 bhi.n 80095ce + 8009bce: 683b ldr r3, [r7, #0] + 8009bd0: 889b ldrh r3, [r3, #4] + 8009bd2: 2b00 cmp r3, #0 + 8009bd4: d131 bne.n 8009c3a + 8009bd6: 683b ldr r3, [r7, #0] + 8009bd8: 88db ldrh r3, [r3, #6] + 8009bda: 2b00 cmp r3, #0 + 8009bdc: d12d bne.n 8009c3a + 8009bde: 683b ldr r3, [r7, #0] + 8009be0: 885b ldrh r3, [r3, #2] + 8009be2: 2b7f cmp r3, #127 @ 0x7f + 8009be4: d829 bhi.n 8009c3a { dev_addr = (uint8_t)(req->wValue) & 0x7FU; - 800957a: 683b ldr r3, [r7, #0] - 800957c: 885b ldrh r3, [r3, #2] - 800957e: b2db uxtb r3, r3 - 8009580: f003 037f and.w r3, r3, #127 @ 0x7f - 8009584: 73fb strb r3, [r7, #15] + 8009be6: 683b ldr r3, [r7, #0] + 8009be8: 885b ldrh r3, [r3, #2] + 8009bea: b2db uxtb r3, r3 + 8009bec: f003 037f and.w r3, r3, #127 @ 0x7f + 8009bf0: 73fb strb r3, [r7, #15] if (pdev->dev_state == USBD_STATE_CONFIGURED) - 8009586: 687b ldr r3, [r7, #4] - 8009588: f893 329c ldrb.w r3, [r3, #668] @ 0x29c - 800958c: b2db uxtb r3, r3 - 800958e: 2b03 cmp r3, #3 - 8009590: d104 bne.n 800959c + 8009bf2: 687b ldr r3, [r7, #4] + 8009bf4: f893 329c ldrb.w r3, [r3, #668] @ 0x29c + 8009bf8: b2db uxtb r3, r3 + 8009bfa: 2b03 cmp r3, #3 + 8009bfc: d104 bne.n 8009c08 { USBD_CtlError(pdev, req); - 8009592: 6839 ldr r1, [r7, #0] - 8009594: 6878 ldr r0, [r7, #4] - 8009596: f000 f9bc bl 8009912 + 8009bfe: 6839 ldr r1, [r7, #0] + 8009c00: 6878 ldr r0, [r7, #4] + 8009c02: f000 f9bc bl 8009f7e if (pdev->dev_state == USBD_STATE_CONFIGURED) - 800959a: e01d b.n 80095d8 + 8009c06: e01d b.n 8009c44 } else { pdev->dev_address = dev_addr; - 800959c: 687b ldr r3, [r7, #4] - 800959e: 7bfa ldrb r2, [r7, #15] - 80095a0: f883 229e strb.w r2, [r3, #670] @ 0x29e + 8009c08: 687b ldr r3, [r7, #4] + 8009c0a: 7bfa ldrb r2, [r7, #15] + 8009c0c: f883 229e strb.w r2, [r3, #670] @ 0x29e (void)USBD_LL_SetUSBAddress(pdev, dev_addr); - 80095a4: 7bfb ldrb r3, [r7, #15] - 80095a6: 4619 mov r1, r3 - 80095a8: 6878 ldr r0, [r7, #4] - 80095aa: f000 fe4f bl 800a24c + 8009c10: 7bfb ldrb r3, [r7, #15] + 8009c12: 4619 mov r1, r3 + 8009c14: 6878 ldr r0, [r7, #4] + 8009c16: f000 fe4f bl 800a8b8 (void)USBD_CtlSendStatus(pdev); - 80095ae: 6878 ldr r0, [r7, #4] - 80095b0: f000 fa6c bl 8009a8c + 8009c1a: 6878 ldr r0, [r7, #4] + 8009c1c: f000 fa6c bl 800a0f8 if (dev_addr != 0U) - 80095b4: 7bfb ldrb r3, [r7, #15] - 80095b6: 2b00 cmp r3, #0 - 80095b8: d004 beq.n 80095c4 + 8009c20: 7bfb ldrb r3, [r7, #15] + 8009c22: 2b00 cmp r3, #0 + 8009c24: d004 beq.n 8009c30 { pdev->dev_state = USBD_STATE_ADDRESSED; - 80095ba: 687b ldr r3, [r7, #4] - 80095bc: 2202 movs r2, #2 - 80095be: f883 229c strb.w r2, [r3, #668] @ 0x29c + 8009c26: 687b ldr r3, [r7, #4] + 8009c28: 2202 movs r2, #2 + 8009c2a: f883 229c strb.w r2, [r3, #668] @ 0x29c if (pdev->dev_state == USBD_STATE_CONFIGURED) - 80095c2: e009 b.n 80095d8 + 8009c2e: e009 b.n 8009c44 } else { pdev->dev_state = USBD_STATE_DEFAULT; - 80095c4: 687b ldr r3, [r7, #4] - 80095c6: 2201 movs r2, #1 - 80095c8: f883 229c strb.w r2, [r3, #668] @ 0x29c + 8009c30: 687b ldr r3, [r7, #4] + 8009c32: 2201 movs r2, #1 + 8009c34: f883 229c strb.w r2, [r3, #668] @ 0x29c if (pdev->dev_state == USBD_STATE_CONFIGURED) - 80095cc: e004 b.n 80095d8 + 8009c38: e004 b.n 8009c44 } } } else { USBD_CtlError(pdev, req); - 80095ce: 6839 ldr r1, [r7, #0] - 80095d0: 6878 ldr r0, [r7, #4] - 80095d2: f000 f99e bl 8009912 + 8009c3a: 6839 ldr r1, [r7, #0] + 8009c3c: 6878 ldr r0, [r7, #4] + 8009c3e: f000 f99e bl 8009f7e } } - 80095d6: bf00 nop - 80095d8: bf00 nop - 80095da: 3710 adds r7, #16 - 80095dc: 46bd mov sp, r7 - 80095de: bd80 pop {r7, pc} + 8009c42: bf00 nop + 8009c44: bf00 nop + 8009c46: 3710 adds r7, #16 + 8009c48: 46bd mov sp, r7 + 8009c4a: bd80 pop {r7, pc} -080095e0 : +08009c4c : * @param pdev: device instance * @param req: usb request * @retval status */ static USBD_StatusTypeDef USBD_SetConfig(USBD_HandleTypeDef *pdev, USBD_SetupReqTypedef *req) { - 80095e0: b580 push {r7, lr} - 80095e2: b084 sub sp, #16 - 80095e4: af00 add r7, sp, #0 - 80095e6: 6078 str r0, [r7, #4] - 80095e8: 6039 str r1, [r7, #0] + 8009c4c: b580 push {r7, lr} + 8009c4e: b084 sub sp, #16 + 8009c50: af00 add r7, sp, #0 + 8009c52: 6078 str r0, [r7, #4] + 8009c54: 6039 str r1, [r7, #0] USBD_StatusTypeDef ret = USBD_OK; - 80095ea: 2300 movs r3, #0 - 80095ec: 73fb strb r3, [r7, #15] + 8009c56: 2300 movs r3, #0 + 8009c58: 73fb strb r3, [r7, #15] static uint8_t cfgidx; cfgidx = (uint8_t)(req->wValue); - 80095ee: 683b ldr r3, [r7, #0] - 80095f0: 885b ldrh r3, [r3, #2] - 80095f2: b2da uxtb r2, r3 - 80095f4: 4b4e ldr r3, [pc, #312] @ (8009730 ) - 80095f6: 701a strb r2, [r3, #0] + 8009c5a: 683b ldr r3, [r7, #0] + 8009c5c: 885b ldrh r3, [r3, #2] + 8009c5e: b2da uxtb r2, r3 + 8009c60: 4b4e ldr r3, [pc, #312] @ (8009d9c ) + 8009c62: 701a strb r2, [r3, #0] if (cfgidx > USBD_MAX_NUM_CONFIGURATION) - 80095f8: 4b4d ldr r3, [pc, #308] @ (8009730 ) - 80095fa: 781b ldrb r3, [r3, #0] - 80095fc: 2b01 cmp r3, #1 - 80095fe: d905 bls.n 800960c + 8009c64: 4b4d ldr r3, [pc, #308] @ (8009d9c ) + 8009c66: 781b ldrb r3, [r3, #0] + 8009c68: 2b01 cmp r3, #1 + 8009c6a: d905 bls.n 8009c78 { USBD_CtlError(pdev, req); - 8009600: 6839 ldr r1, [r7, #0] - 8009602: 6878 ldr r0, [r7, #4] - 8009604: f000 f985 bl 8009912 + 8009c6c: 6839 ldr r1, [r7, #0] + 8009c6e: 6878 ldr r0, [r7, #4] + 8009c70: f000 f985 bl 8009f7e return USBD_FAIL; - 8009608: 2303 movs r3, #3 - 800960a: e08c b.n 8009726 + 8009c74: 2303 movs r3, #3 + 8009c76: e08c b.n 8009d92 } switch (pdev->dev_state) - 800960c: 687b ldr r3, [r7, #4] - 800960e: f893 329c ldrb.w r3, [r3, #668] @ 0x29c - 8009612: b2db uxtb r3, r3 - 8009614: 2b02 cmp r3, #2 - 8009616: d002 beq.n 800961e - 8009618: 2b03 cmp r3, #3 - 800961a: d029 beq.n 8009670 - 800961c: e075 b.n 800970a + 8009c78: 687b ldr r3, [r7, #4] + 8009c7a: f893 329c ldrb.w r3, [r3, #668] @ 0x29c + 8009c7e: b2db uxtb r3, r3 + 8009c80: 2b02 cmp r3, #2 + 8009c82: d002 beq.n 8009c8a + 8009c84: 2b03 cmp r3, #3 + 8009c86: d029 beq.n 8009cdc + 8009c88: e075 b.n 8009d76 { case USBD_STATE_ADDRESSED: if (cfgidx != 0U) - 800961e: 4b44 ldr r3, [pc, #272] @ (8009730 ) - 8009620: 781b ldrb r3, [r3, #0] - 8009622: 2b00 cmp r3, #0 - 8009624: d020 beq.n 8009668 + 8009c8a: 4b44 ldr r3, [pc, #272] @ (8009d9c ) + 8009c8c: 781b ldrb r3, [r3, #0] + 8009c8e: 2b00 cmp r3, #0 + 8009c90: d020 beq.n 8009cd4 { pdev->dev_config = cfgidx; - 8009626: 4b42 ldr r3, [pc, #264] @ (8009730 ) - 8009628: 781b ldrb r3, [r3, #0] - 800962a: 461a mov r2, r3 - 800962c: 687b ldr r3, [r7, #4] - 800962e: 605a str r2, [r3, #4] + 8009c92: 4b42 ldr r3, [pc, #264] @ (8009d9c ) + 8009c94: 781b ldrb r3, [r3, #0] + 8009c96: 461a mov r2, r3 + 8009c98: 687b ldr r3, [r7, #4] + 8009c9a: 605a str r2, [r3, #4] ret = USBD_SetClassConfig(pdev, cfgidx); - 8009630: 4b3f ldr r3, [pc, #252] @ (8009730 ) - 8009632: 781b ldrb r3, [r3, #0] - 8009634: 4619 mov r1, r3 - 8009636: 6878 ldr r0, [r7, #4] - 8009638: f7fe ffa3 bl 8008582 - 800963c: 4603 mov r3, r0 - 800963e: 73fb strb r3, [r7, #15] + 8009c9c: 4b3f ldr r3, [pc, #252] @ (8009d9c ) + 8009c9e: 781b ldrb r3, [r3, #0] + 8009ca0: 4619 mov r1, r3 + 8009ca2: 6878 ldr r0, [r7, #4] + 8009ca4: f7fe ffa3 bl 8008bee + 8009ca8: 4603 mov r3, r0 + 8009caa: 73fb strb r3, [r7, #15] if (ret != USBD_OK) - 8009640: 7bfb ldrb r3, [r7, #15] - 8009642: 2b00 cmp r3, #0 - 8009644: d008 beq.n 8009658 + 8009cac: 7bfb ldrb r3, [r7, #15] + 8009cae: 2b00 cmp r3, #0 + 8009cb0: d008 beq.n 8009cc4 { USBD_CtlError(pdev, req); - 8009646: 6839 ldr r1, [r7, #0] - 8009648: 6878 ldr r0, [r7, #4] - 800964a: f000 f962 bl 8009912 + 8009cb2: 6839 ldr r1, [r7, #0] + 8009cb4: 6878 ldr r0, [r7, #4] + 8009cb6: f000 f962 bl 8009f7e pdev->dev_state = USBD_STATE_ADDRESSED; - 800964e: 687b ldr r3, [r7, #4] - 8009650: 2202 movs r2, #2 - 8009652: f883 229c strb.w r2, [r3, #668] @ 0x29c + 8009cba: 687b ldr r3, [r7, #4] + 8009cbc: 2202 movs r2, #2 + 8009cbe: f883 229c strb.w r2, [r3, #668] @ 0x29c } else { (void)USBD_CtlSendStatus(pdev); } break; - 8009656: e065 b.n 8009724 + 8009cc2: e065 b.n 8009d90 (void)USBD_CtlSendStatus(pdev); - 8009658: 6878 ldr r0, [r7, #4] - 800965a: f000 fa17 bl 8009a8c + 8009cc4: 6878 ldr r0, [r7, #4] + 8009cc6: f000 fa17 bl 800a0f8 pdev->dev_state = USBD_STATE_CONFIGURED; - 800965e: 687b ldr r3, [r7, #4] - 8009660: 2203 movs r2, #3 - 8009662: f883 229c strb.w r2, [r3, #668] @ 0x29c + 8009cca: 687b ldr r3, [r7, #4] + 8009ccc: 2203 movs r2, #3 + 8009cce: f883 229c strb.w r2, [r3, #668] @ 0x29c break; - 8009666: e05d b.n 8009724 + 8009cd2: e05d b.n 8009d90 (void)USBD_CtlSendStatus(pdev); - 8009668: 6878 ldr r0, [r7, #4] - 800966a: f000 fa0f bl 8009a8c + 8009cd4: 6878 ldr r0, [r7, #4] + 8009cd6: f000 fa0f bl 800a0f8 break; - 800966e: e059 b.n 8009724 + 8009cda: e059 b.n 8009d90 case USBD_STATE_CONFIGURED: if (cfgidx == 0U) - 8009670: 4b2f ldr r3, [pc, #188] @ (8009730 ) - 8009672: 781b ldrb r3, [r3, #0] - 8009674: 2b00 cmp r3, #0 - 8009676: d112 bne.n 800969e + 8009cdc: 4b2f ldr r3, [pc, #188] @ (8009d9c ) + 8009cde: 781b ldrb r3, [r3, #0] + 8009ce0: 2b00 cmp r3, #0 + 8009ce2: d112 bne.n 8009d0a { pdev->dev_state = USBD_STATE_ADDRESSED; - 8009678: 687b ldr r3, [r7, #4] - 800967a: 2202 movs r2, #2 - 800967c: f883 229c strb.w r2, [r3, #668] @ 0x29c + 8009ce4: 687b ldr r3, [r7, #4] + 8009ce6: 2202 movs r2, #2 + 8009ce8: f883 229c strb.w r2, [r3, #668] @ 0x29c pdev->dev_config = cfgidx; - 8009680: 4b2b ldr r3, [pc, #172] @ (8009730 ) - 8009682: 781b ldrb r3, [r3, #0] - 8009684: 461a mov r2, r3 - 8009686: 687b ldr r3, [r7, #4] - 8009688: 605a str r2, [r3, #4] + 8009cec: 4b2b ldr r3, [pc, #172] @ (8009d9c ) + 8009cee: 781b ldrb r3, [r3, #0] + 8009cf0: 461a mov r2, r3 + 8009cf2: 687b ldr r3, [r7, #4] + 8009cf4: 605a str r2, [r3, #4] (void)USBD_ClrClassConfig(pdev, cfgidx); - 800968a: 4b29 ldr r3, [pc, #164] @ (8009730 ) - 800968c: 781b ldrb r3, [r3, #0] - 800968e: 4619 mov r1, r3 - 8009690: 6878 ldr r0, [r7, #4] - 8009692: f7fe ff92 bl 80085ba + 8009cf6: 4b29 ldr r3, [pc, #164] @ (8009d9c ) + 8009cf8: 781b ldrb r3, [r3, #0] + 8009cfa: 4619 mov r1, r3 + 8009cfc: 6878 ldr r0, [r7, #4] + 8009cfe: f7fe ff92 bl 8008c26 (void)USBD_CtlSendStatus(pdev); - 8009696: 6878 ldr r0, [r7, #4] - 8009698: f000 f9f8 bl 8009a8c + 8009d02: 6878 ldr r0, [r7, #4] + 8009d04: f000 f9f8 bl 800a0f8 } else { (void)USBD_CtlSendStatus(pdev); } break; - 800969c: e042 b.n 8009724 + 8009d08: e042 b.n 8009d90 else if (cfgidx != pdev->dev_config) - 800969e: 4b24 ldr r3, [pc, #144] @ (8009730 ) - 80096a0: 781b ldrb r3, [r3, #0] - 80096a2: 461a mov r2, r3 - 80096a4: 687b ldr r3, [r7, #4] - 80096a6: 685b ldr r3, [r3, #4] - 80096a8: 429a cmp r2, r3 - 80096aa: d02a beq.n 8009702 + 8009d0a: 4b24 ldr r3, [pc, #144] @ (8009d9c ) + 8009d0c: 781b ldrb r3, [r3, #0] + 8009d0e: 461a mov r2, r3 + 8009d10: 687b ldr r3, [r7, #4] + 8009d12: 685b ldr r3, [r3, #4] + 8009d14: 429a cmp r2, r3 + 8009d16: d02a beq.n 8009d6e (void)USBD_ClrClassConfig(pdev, (uint8_t)pdev->dev_config); - 80096ac: 687b ldr r3, [r7, #4] - 80096ae: 685b ldr r3, [r3, #4] - 80096b0: b2db uxtb r3, r3 - 80096b2: 4619 mov r1, r3 - 80096b4: 6878 ldr r0, [r7, #4] - 80096b6: f7fe ff80 bl 80085ba + 8009d18: 687b ldr r3, [r7, #4] + 8009d1a: 685b ldr r3, [r3, #4] + 8009d1c: b2db uxtb r3, r3 + 8009d1e: 4619 mov r1, r3 + 8009d20: 6878 ldr r0, [r7, #4] + 8009d22: f7fe ff80 bl 8008c26 pdev->dev_config = cfgidx; - 80096ba: 4b1d ldr r3, [pc, #116] @ (8009730 ) - 80096bc: 781b ldrb r3, [r3, #0] - 80096be: 461a mov r2, r3 - 80096c0: 687b ldr r3, [r7, #4] - 80096c2: 605a str r2, [r3, #4] + 8009d26: 4b1d ldr r3, [pc, #116] @ (8009d9c ) + 8009d28: 781b ldrb r3, [r3, #0] + 8009d2a: 461a mov r2, r3 + 8009d2c: 687b ldr r3, [r7, #4] + 8009d2e: 605a str r2, [r3, #4] ret = USBD_SetClassConfig(pdev, cfgidx); - 80096c4: 4b1a ldr r3, [pc, #104] @ (8009730 ) - 80096c6: 781b ldrb r3, [r3, #0] - 80096c8: 4619 mov r1, r3 - 80096ca: 6878 ldr r0, [r7, #4] - 80096cc: f7fe ff59 bl 8008582 - 80096d0: 4603 mov r3, r0 - 80096d2: 73fb strb r3, [r7, #15] + 8009d30: 4b1a ldr r3, [pc, #104] @ (8009d9c ) + 8009d32: 781b ldrb r3, [r3, #0] + 8009d34: 4619 mov r1, r3 + 8009d36: 6878 ldr r0, [r7, #4] + 8009d38: f7fe ff59 bl 8008bee + 8009d3c: 4603 mov r3, r0 + 8009d3e: 73fb strb r3, [r7, #15] if (ret != USBD_OK) - 80096d4: 7bfb ldrb r3, [r7, #15] - 80096d6: 2b00 cmp r3, #0 - 80096d8: d00f beq.n 80096fa + 8009d40: 7bfb ldrb r3, [r7, #15] + 8009d42: 2b00 cmp r3, #0 + 8009d44: d00f beq.n 8009d66 USBD_CtlError(pdev, req); - 80096da: 6839 ldr r1, [r7, #0] - 80096dc: 6878 ldr r0, [r7, #4] - 80096de: f000 f918 bl 8009912 + 8009d46: 6839 ldr r1, [r7, #0] + 8009d48: 6878 ldr r0, [r7, #4] + 8009d4a: f000 f918 bl 8009f7e (void)USBD_ClrClassConfig(pdev, (uint8_t)pdev->dev_config); - 80096e2: 687b ldr r3, [r7, #4] - 80096e4: 685b ldr r3, [r3, #4] - 80096e6: b2db uxtb r3, r3 - 80096e8: 4619 mov r1, r3 - 80096ea: 6878 ldr r0, [r7, #4] - 80096ec: f7fe ff65 bl 80085ba + 8009d4e: 687b ldr r3, [r7, #4] + 8009d50: 685b ldr r3, [r3, #4] + 8009d52: b2db uxtb r3, r3 + 8009d54: 4619 mov r1, r3 + 8009d56: 6878 ldr r0, [r7, #4] + 8009d58: f7fe ff65 bl 8008c26 pdev->dev_state = USBD_STATE_ADDRESSED; - 80096f0: 687b ldr r3, [r7, #4] - 80096f2: 2202 movs r2, #2 - 80096f4: f883 229c strb.w r2, [r3, #668] @ 0x29c + 8009d5c: 687b ldr r3, [r7, #4] + 8009d5e: 2202 movs r2, #2 + 8009d60: f883 229c strb.w r2, [r3, #668] @ 0x29c break; - 80096f8: e014 b.n 8009724 + 8009d64: e014 b.n 8009d90 (void)USBD_CtlSendStatus(pdev); - 80096fa: 6878 ldr r0, [r7, #4] - 80096fc: f000 f9c6 bl 8009a8c + 8009d66: 6878 ldr r0, [r7, #4] + 8009d68: f000 f9c6 bl 800a0f8 break; - 8009700: e010 b.n 8009724 + 8009d6c: e010 b.n 8009d90 (void)USBD_CtlSendStatus(pdev); - 8009702: 6878 ldr r0, [r7, #4] - 8009704: f000 f9c2 bl 8009a8c + 8009d6e: 6878 ldr r0, [r7, #4] + 8009d70: f000 f9c2 bl 800a0f8 break; - 8009708: e00c b.n 8009724 + 8009d74: e00c b.n 8009d90 default: USBD_CtlError(pdev, req); - 800970a: 6839 ldr r1, [r7, #0] - 800970c: 6878 ldr r0, [r7, #4] - 800970e: f000 f900 bl 8009912 + 8009d76: 6839 ldr r1, [r7, #0] + 8009d78: 6878 ldr r0, [r7, #4] + 8009d7a: f000 f900 bl 8009f7e (void)USBD_ClrClassConfig(pdev, cfgidx); - 8009712: 4b07 ldr r3, [pc, #28] @ (8009730 ) - 8009714: 781b ldrb r3, [r3, #0] - 8009716: 4619 mov r1, r3 - 8009718: 6878 ldr r0, [r7, #4] - 800971a: f7fe ff4e bl 80085ba + 8009d7e: 4b07 ldr r3, [pc, #28] @ (8009d9c ) + 8009d80: 781b ldrb r3, [r3, #0] + 8009d82: 4619 mov r1, r3 + 8009d84: 6878 ldr r0, [r7, #4] + 8009d86: f7fe ff4e bl 8008c26 ret = USBD_FAIL; - 800971e: 2303 movs r3, #3 - 8009720: 73fb strb r3, [r7, #15] + 8009d8a: 2303 movs r3, #3 + 8009d8c: 73fb strb r3, [r7, #15] break; - 8009722: bf00 nop + 8009d8e: bf00 nop } return ret; - 8009724: 7bfb ldrb r3, [r7, #15] + 8009d90: 7bfb ldrb r3, [r7, #15] } - 8009726: 4618 mov r0, r3 - 8009728: 3710 adds r7, #16 - 800972a: 46bd mov sp, r7 - 800972c: bd80 pop {r7, pc} - 800972e: bf00 nop - 8009730: 200006f8 .word 0x200006f8 + 8009d92: 4618 mov r0, r3 + 8009d94: 3710 adds r7, #16 + 8009d96: 46bd mov sp, r7 + 8009d98: bd80 pop {r7, pc} + 8009d9a: bf00 nop + 8009d9c: 20000720 .word 0x20000720 -08009734 : +08009da0 : * @param pdev: device instance * @param req: usb request * @retval None */ static void USBD_GetConfig(USBD_HandleTypeDef *pdev, USBD_SetupReqTypedef *req) { - 8009734: b580 push {r7, lr} - 8009736: b082 sub sp, #8 - 8009738: af00 add r7, sp, #0 - 800973a: 6078 str r0, [r7, #4] - 800973c: 6039 str r1, [r7, #0] + 8009da0: b580 push {r7, lr} + 8009da2: b082 sub sp, #8 + 8009da4: af00 add r7, sp, #0 + 8009da6: 6078 str r0, [r7, #4] + 8009da8: 6039 str r1, [r7, #0] if (req->wLength != 1U) - 800973e: 683b ldr r3, [r7, #0] - 8009740: 88db ldrh r3, [r3, #6] - 8009742: 2b01 cmp r3, #1 - 8009744: d004 beq.n 8009750 + 8009daa: 683b ldr r3, [r7, #0] + 8009dac: 88db ldrh r3, [r3, #6] + 8009dae: 2b01 cmp r3, #1 + 8009db0: d004 beq.n 8009dbc { USBD_CtlError(pdev, req); - 8009746: 6839 ldr r1, [r7, #0] - 8009748: 6878 ldr r0, [r7, #4] - 800974a: f000 f8e2 bl 8009912 + 8009db2: 6839 ldr r1, [r7, #0] + 8009db4: 6878 ldr r0, [r7, #4] + 8009db6: f000 f8e2 bl 8009f7e default: USBD_CtlError(pdev, req); break; } } } - 800974e: e023 b.n 8009798 + 8009dba: e023 b.n 8009e04 switch (pdev->dev_state) - 8009750: 687b ldr r3, [r7, #4] - 8009752: f893 329c ldrb.w r3, [r3, #668] @ 0x29c - 8009756: b2db uxtb r3, r3 - 8009758: 2b02 cmp r3, #2 - 800975a: dc02 bgt.n 8009762 - 800975c: 2b00 cmp r3, #0 - 800975e: dc03 bgt.n 8009768 - 8009760: e015 b.n 800978e - 8009762: 2b03 cmp r3, #3 - 8009764: d00b beq.n 800977e - 8009766: e012 b.n 800978e + 8009dbc: 687b ldr r3, [r7, #4] + 8009dbe: f893 329c ldrb.w r3, [r3, #668] @ 0x29c + 8009dc2: b2db uxtb r3, r3 + 8009dc4: 2b02 cmp r3, #2 + 8009dc6: dc02 bgt.n 8009dce + 8009dc8: 2b00 cmp r3, #0 + 8009dca: dc03 bgt.n 8009dd4 + 8009dcc: e015 b.n 8009dfa + 8009dce: 2b03 cmp r3, #3 + 8009dd0: d00b beq.n 8009dea + 8009dd2: e012 b.n 8009dfa pdev->dev_default_config = 0U; - 8009768: 687b ldr r3, [r7, #4] - 800976a: 2200 movs r2, #0 - 800976c: 609a str r2, [r3, #8] + 8009dd4: 687b ldr r3, [r7, #4] + 8009dd6: 2200 movs r2, #0 + 8009dd8: 609a str r2, [r3, #8] (void)USBD_CtlSendData(pdev, (uint8_t *)&pdev->dev_default_config, 1U); - 800976e: 687b ldr r3, [r7, #4] - 8009770: 3308 adds r3, #8 - 8009772: 2201 movs r2, #1 - 8009774: 4619 mov r1, r3 - 8009776: 6878 ldr r0, [r7, #4] - 8009778: f000 f948 bl 8009a0c + 8009dda: 687b ldr r3, [r7, #4] + 8009ddc: 3308 adds r3, #8 + 8009dde: 2201 movs r2, #1 + 8009de0: 4619 mov r1, r3 + 8009de2: 6878 ldr r0, [r7, #4] + 8009de4: f000 f948 bl 800a078 break; - 800977c: e00c b.n 8009798 + 8009de8: e00c b.n 8009e04 (void)USBD_CtlSendData(pdev, (uint8_t *)&pdev->dev_config, 1U); - 800977e: 687b ldr r3, [r7, #4] - 8009780: 3304 adds r3, #4 - 8009782: 2201 movs r2, #1 - 8009784: 4619 mov r1, r3 - 8009786: 6878 ldr r0, [r7, #4] - 8009788: f000 f940 bl 8009a0c + 8009dea: 687b ldr r3, [r7, #4] + 8009dec: 3304 adds r3, #4 + 8009dee: 2201 movs r2, #1 + 8009df0: 4619 mov r1, r3 + 8009df2: 6878 ldr r0, [r7, #4] + 8009df4: f000 f940 bl 800a078 break; - 800978c: e004 b.n 8009798 + 8009df8: e004 b.n 8009e04 USBD_CtlError(pdev, req); - 800978e: 6839 ldr r1, [r7, #0] - 8009790: 6878 ldr r0, [r7, #4] - 8009792: f000 f8be bl 8009912 + 8009dfa: 6839 ldr r1, [r7, #0] + 8009dfc: 6878 ldr r0, [r7, #4] + 8009dfe: f000 f8be bl 8009f7e break; - 8009796: bf00 nop + 8009e02: bf00 nop } - 8009798: bf00 nop - 800979a: 3708 adds r7, #8 - 800979c: 46bd mov sp, r7 - 800979e: bd80 pop {r7, pc} + 8009e04: bf00 nop + 8009e06: 3708 adds r7, #8 + 8009e08: 46bd mov sp, r7 + 8009e0a: bd80 pop {r7, pc} -080097a0 : +08009e0c : * @param pdev: device instance * @param req: usb request * @retval None */ static void USBD_GetStatus(USBD_HandleTypeDef *pdev, USBD_SetupReqTypedef *req) { - 80097a0: b580 push {r7, lr} - 80097a2: b082 sub sp, #8 - 80097a4: af00 add r7, sp, #0 - 80097a6: 6078 str r0, [r7, #4] - 80097a8: 6039 str r1, [r7, #0] + 8009e0c: b580 push {r7, lr} + 8009e0e: b082 sub sp, #8 + 8009e10: af00 add r7, sp, #0 + 8009e12: 6078 str r0, [r7, #4] + 8009e14: 6039 str r1, [r7, #0] switch (pdev->dev_state) - 80097aa: 687b ldr r3, [r7, #4] - 80097ac: f893 329c ldrb.w r3, [r3, #668] @ 0x29c - 80097b0: b2db uxtb r3, r3 - 80097b2: 3b01 subs r3, #1 - 80097b4: 2b02 cmp r3, #2 - 80097b6: d81e bhi.n 80097f6 + 8009e16: 687b ldr r3, [r7, #4] + 8009e18: f893 329c ldrb.w r3, [r3, #668] @ 0x29c + 8009e1c: b2db uxtb r3, r3 + 8009e1e: 3b01 subs r3, #1 + 8009e20: 2b02 cmp r3, #2 + 8009e22: d81e bhi.n 8009e62 { case USBD_STATE_DEFAULT: case USBD_STATE_ADDRESSED: case USBD_STATE_CONFIGURED: if (req->wLength != 0x2U) - 80097b8: 683b ldr r3, [r7, #0] - 80097ba: 88db ldrh r3, [r3, #6] - 80097bc: 2b02 cmp r3, #2 - 80097be: d004 beq.n 80097ca + 8009e24: 683b ldr r3, [r7, #0] + 8009e26: 88db ldrh r3, [r3, #6] + 8009e28: 2b02 cmp r3, #2 + 8009e2a: d004 beq.n 8009e36 { USBD_CtlError(pdev, req); - 80097c0: 6839 ldr r1, [r7, #0] - 80097c2: 6878 ldr r0, [r7, #4] - 80097c4: f000 f8a5 bl 8009912 + 8009e2c: 6839 ldr r1, [r7, #0] + 8009e2e: 6878 ldr r0, [r7, #4] + 8009e30: f000 f8a5 bl 8009f7e break; - 80097c8: e01a b.n 8009800 + 8009e34: e01a b.n 8009e6c } #if (USBD_SELF_POWERED == 1U) pdev->dev_config_status = USB_CONFIG_SELF_POWERED; - 80097ca: 687b ldr r3, [r7, #4] - 80097cc: 2201 movs r2, #1 - 80097ce: 60da str r2, [r3, #12] + 8009e36: 687b ldr r3, [r7, #4] + 8009e38: 2201 movs r2, #1 + 8009e3a: 60da str r2, [r3, #12] #else pdev->dev_config_status = 0U; #endif /* USBD_SELF_POWERED */ if (pdev->dev_remote_wakeup != 0U) - 80097d0: 687b ldr r3, [r7, #4] - 80097d2: f8d3 32a4 ldr.w r3, [r3, #676] @ 0x2a4 - 80097d6: 2b00 cmp r3, #0 - 80097d8: d005 beq.n 80097e6 + 8009e3c: 687b ldr r3, [r7, #4] + 8009e3e: f8d3 32a4 ldr.w r3, [r3, #676] @ 0x2a4 + 8009e42: 2b00 cmp r3, #0 + 8009e44: d005 beq.n 8009e52 { pdev->dev_config_status |= USB_CONFIG_REMOTE_WAKEUP; - 80097da: 687b ldr r3, [r7, #4] - 80097dc: 68db ldr r3, [r3, #12] - 80097de: f043 0202 orr.w r2, r3, #2 - 80097e2: 687b ldr r3, [r7, #4] - 80097e4: 60da str r2, [r3, #12] + 8009e46: 687b ldr r3, [r7, #4] + 8009e48: 68db ldr r3, [r3, #12] + 8009e4a: f043 0202 orr.w r2, r3, #2 + 8009e4e: 687b ldr r3, [r7, #4] + 8009e50: 60da str r2, [r3, #12] } (void)USBD_CtlSendData(pdev, (uint8_t *)&pdev->dev_config_status, 2U); - 80097e6: 687b ldr r3, [r7, #4] - 80097e8: 330c adds r3, #12 - 80097ea: 2202 movs r2, #2 - 80097ec: 4619 mov r1, r3 - 80097ee: 6878 ldr r0, [r7, #4] - 80097f0: f000 f90c bl 8009a0c + 8009e52: 687b ldr r3, [r7, #4] + 8009e54: 330c adds r3, #12 + 8009e56: 2202 movs r2, #2 + 8009e58: 4619 mov r1, r3 + 8009e5a: 6878 ldr r0, [r7, #4] + 8009e5c: f000 f90c bl 800a078 break; - 80097f4: e004 b.n 8009800 + 8009e60: e004 b.n 8009e6c default: USBD_CtlError(pdev, req); - 80097f6: 6839 ldr r1, [r7, #0] - 80097f8: 6878 ldr r0, [r7, #4] - 80097fa: f000 f88a bl 8009912 + 8009e62: 6839 ldr r1, [r7, #0] + 8009e64: 6878 ldr r0, [r7, #4] + 8009e66: f000 f88a bl 8009f7e break; - 80097fe: bf00 nop + 8009e6a: bf00 nop } } - 8009800: bf00 nop - 8009802: 3708 adds r7, #8 - 8009804: 46bd mov sp, r7 - 8009806: bd80 pop {r7, pc} + 8009e6c: bf00 nop + 8009e6e: 3708 adds r7, #8 + 8009e70: 46bd mov sp, r7 + 8009e72: bd80 pop {r7, pc} -08009808 : +08009e74 : * @param pdev: device instance * @param req: usb request * @retval None */ static void USBD_SetFeature(USBD_HandleTypeDef *pdev, USBD_SetupReqTypedef *req) { - 8009808: b580 push {r7, lr} - 800980a: b082 sub sp, #8 - 800980c: af00 add r7, sp, #0 - 800980e: 6078 str r0, [r7, #4] - 8009810: 6039 str r1, [r7, #0] + 8009e74: b580 push {r7, lr} + 8009e76: b082 sub sp, #8 + 8009e78: af00 add r7, sp, #0 + 8009e7a: 6078 str r0, [r7, #4] + 8009e7c: 6039 str r1, [r7, #0] if (req->wValue == USB_FEATURE_REMOTE_WAKEUP) - 8009812: 683b ldr r3, [r7, #0] - 8009814: 885b ldrh r3, [r3, #2] - 8009816: 2b01 cmp r3, #1 - 8009818: d107 bne.n 800982a + 8009e7e: 683b ldr r3, [r7, #0] + 8009e80: 885b ldrh r3, [r3, #2] + 8009e82: 2b01 cmp r3, #1 + 8009e84: d107 bne.n 8009e96 { pdev->dev_remote_wakeup = 1U; - 800981a: 687b ldr r3, [r7, #4] - 800981c: 2201 movs r2, #1 - 800981e: f8c3 22a4 str.w r2, [r3, #676] @ 0x2a4 + 8009e86: 687b ldr r3, [r7, #4] + 8009e88: 2201 movs r2, #1 + 8009e8a: f8c3 22a4 str.w r2, [r3, #676] @ 0x2a4 (void)USBD_CtlSendStatus(pdev); - 8009822: 6878 ldr r0, [r7, #4] - 8009824: f000 f932 bl 8009a8c + 8009e8e: 6878 ldr r0, [r7, #4] + 8009e90: f000 f932 bl 800a0f8 } else { USBD_CtlError(pdev, req); } } - 8009828: e013 b.n 8009852 + 8009e94: e013 b.n 8009ebe else if (req->wValue == USB_FEATURE_TEST_MODE) - 800982a: 683b ldr r3, [r7, #0] - 800982c: 885b ldrh r3, [r3, #2] - 800982e: 2b02 cmp r3, #2 - 8009830: d10b bne.n 800984a + 8009e96: 683b ldr r3, [r7, #0] + 8009e98: 885b ldrh r3, [r3, #2] + 8009e9a: 2b02 cmp r3, #2 + 8009e9c: d10b bne.n 8009eb6 pdev->dev_test_mode = (uint8_t)(req->wIndex >> 8); - 8009832: 683b ldr r3, [r7, #0] - 8009834: 889b ldrh r3, [r3, #4] - 8009836: 0a1b lsrs r3, r3, #8 - 8009838: b29b uxth r3, r3 - 800983a: b2da uxtb r2, r3 - 800983c: 687b ldr r3, [r7, #4] - 800983e: f883 22a0 strb.w r2, [r3, #672] @ 0x2a0 + 8009e9e: 683b ldr r3, [r7, #0] + 8009ea0: 889b ldrh r3, [r3, #4] + 8009ea2: 0a1b lsrs r3, r3, #8 + 8009ea4: b29b uxth r3, r3 + 8009ea6: b2da uxtb r2, r3 + 8009ea8: 687b ldr r3, [r7, #4] + 8009eaa: f883 22a0 strb.w r2, [r3, #672] @ 0x2a0 (void)USBD_CtlSendStatus(pdev); - 8009842: 6878 ldr r0, [r7, #4] - 8009844: f000 f922 bl 8009a8c + 8009eae: 6878 ldr r0, [r7, #4] + 8009eb0: f000 f922 bl 800a0f8 } - 8009848: e003 b.n 8009852 + 8009eb4: e003 b.n 8009ebe USBD_CtlError(pdev, req); - 800984a: 6839 ldr r1, [r7, #0] - 800984c: 6878 ldr r0, [r7, #4] - 800984e: f000 f860 bl 8009912 + 8009eb6: 6839 ldr r1, [r7, #0] + 8009eb8: 6878 ldr r0, [r7, #4] + 8009eba: f000 f860 bl 8009f7e } - 8009852: bf00 nop - 8009854: 3708 adds r7, #8 - 8009856: 46bd mov sp, r7 - 8009858: bd80 pop {r7, pc} + 8009ebe: bf00 nop + 8009ec0: 3708 adds r7, #8 + 8009ec2: 46bd mov sp, r7 + 8009ec4: bd80 pop {r7, pc} -0800985a : +08009ec6 : * @param pdev: device instance * @param req: usb request * @retval None */ static void USBD_ClrFeature(USBD_HandleTypeDef *pdev, USBD_SetupReqTypedef *req) { - 800985a: b580 push {r7, lr} - 800985c: b082 sub sp, #8 - 800985e: af00 add r7, sp, #0 - 8009860: 6078 str r0, [r7, #4] - 8009862: 6039 str r1, [r7, #0] + 8009ec6: b580 push {r7, lr} + 8009ec8: b082 sub sp, #8 + 8009eca: af00 add r7, sp, #0 + 8009ecc: 6078 str r0, [r7, #4] + 8009ece: 6039 str r1, [r7, #0] switch (pdev->dev_state) - 8009864: 687b ldr r3, [r7, #4] - 8009866: f893 329c ldrb.w r3, [r3, #668] @ 0x29c - 800986a: b2db uxtb r3, r3 - 800986c: 3b01 subs r3, #1 - 800986e: 2b02 cmp r3, #2 - 8009870: d80b bhi.n 800988a + 8009ed0: 687b ldr r3, [r7, #4] + 8009ed2: f893 329c ldrb.w r3, [r3, #668] @ 0x29c + 8009ed6: b2db uxtb r3, r3 + 8009ed8: 3b01 subs r3, #1 + 8009eda: 2b02 cmp r3, #2 + 8009edc: d80b bhi.n 8009ef6 { case USBD_STATE_DEFAULT: case USBD_STATE_ADDRESSED: case USBD_STATE_CONFIGURED: if (req->wValue == USB_FEATURE_REMOTE_WAKEUP) - 8009872: 683b ldr r3, [r7, #0] - 8009874: 885b ldrh r3, [r3, #2] - 8009876: 2b01 cmp r3, #1 - 8009878: d10c bne.n 8009894 + 8009ede: 683b ldr r3, [r7, #0] + 8009ee0: 885b ldrh r3, [r3, #2] + 8009ee2: 2b01 cmp r3, #1 + 8009ee4: d10c bne.n 8009f00 { pdev->dev_remote_wakeup = 0U; - 800987a: 687b ldr r3, [r7, #4] - 800987c: 2200 movs r2, #0 - 800987e: f8c3 22a4 str.w r2, [r3, #676] @ 0x2a4 + 8009ee6: 687b ldr r3, [r7, #4] + 8009ee8: 2200 movs r2, #0 + 8009eea: f8c3 22a4 str.w r2, [r3, #676] @ 0x2a4 (void)USBD_CtlSendStatus(pdev); - 8009882: 6878 ldr r0, [r7, #4] - 8009884: f000 f902 bl 8009a8c + 8009eee: 6878 ldr r0, [r7, #4] + 8009ef0: f000 f902 bl 800a0f8 } break; - 8009888: e004 b.n 8009894 + 8009ef4: e004 b.n 8009f00 default: USBD_CtlError(pdev, req); - 800988a: 6839 ldr r1, [r7, #0] - 800988c: 6878 ldr r0, [r7, #4] - 800988e: f000 f840 bl 8009912 + 8009ef6: 6839 ldr r1, [r7, #0] + 8009ef8: 6878 ldr r0, [r7, #4] + 8009efa: f000 f840 bl 8009f7e break; - 8009892: e000 b.n 8009896 + 8009efe: e000 b.n 8009f02 break; - 8009894: bf00 nop + 8009f00: bf00 nop } } - 8009896: bf00 nop - 8009898: 3708 adds r7, #8 - 800989a: 46bd mov sp, r7 - 800989c: bd80 pop {r7, pc} + 8009f02: bf00 nop + 8009f04: 3708 adds r7, #8 + 8009f06: 46bd mov sp, r7 + 8009f08: bd80 pop {r7, pc} -0800989e : +08009f0a : * @param req: usb request * @param pdata: setup data pointer * @retval None */ void USBD_ParseSetupRequest(USBD_SetupReqTypedef *req, uint8_t *pdata) { - 800989e: b580 push {r7, lr} - 80098a0: b084 sub sp, #16 - 80098a2: af00 add r7, sp, #0 - 80098a4: 6078 str r0, [r7, #4] - 80098a6: 6039 str r1, [r7, #0] + 8009f0a: b580 push {r7, lr} + 8009f0c: b084 sub sp, #16 + 8009f0e: af00 add r7, sp, #0 + 8009f10: 6078 str r0, [r7, #4] + 8009f12: 6039 str r1, [r7, #0] uint8_t *pbuff = pdata; - 80098a8: 683b ldr r3, [r7, #0] - 80098aa: 60fb str r3, [r7, #12] + 8009f14: 683b ldr r3, [r7, #0] + 8009f16: 60fb str r3, [r7, #12] req->bmRequest = *(uint8_t *)(pbuff); - 80098ac: 68fb ldr r3, [r7, #12] - 80098ae: 781a ldrb r2, [r3, #0] - 80098b0: 687b ldr r3, [r7, #4] - 80098b2: 701a strb r2, [r3, #0] + 8009f18: 68fb ldr r3, [r7, #12] + 8009f1a: 781a ldrb r2, [r3, #0] + 8009f1c: 687b ldr r3, [r7, #4] + 8009f1e: 701a strb r2, [r3, #0] pbuff++; - 80098b4: 68fb ldr r3, [r7, #12] - 80098b6: 3301 adds r3, #1 - 80098b8: 60fb str r3, [r7, #12] + 8009f20: 68fb ldr r3, [r7, #12] + 8009f22: 3301 adds r3, #1 + 8009f24: 60fb str r3, [r7, #12] req->bRequest = *(uint8_t *)(pbuff); - 80098ba: 68fb ldr r3, [r7, #12] - 80098bc: 781a ldrb r2, [r3, #0] - 80098be: 687b ldr r3, [r7, #4] - 80098c0: 705a strb r2, [r3, #1] + 8009f26: 68fb ldr r3, [r7, #12] + 8009f28: 781a ldrb r2, [r3, #0] + 8009f2a: 687b ldr r3, [r7, #4] + 8009f2c: 705a strb r2, [r3, #1] pbuff++; - 80098c2: 68fb ldr r3, [r7, #12] - 80098c4: 3301 adds r3, #1 - 80098c6: 60fb str r3, [r7, #12] + 8009f2e: 68fb ldr r3, [r7, #12] + 8009f30: 3301 adds r3, #1 + 8009f32: 60fb str r3, [r7, #12] req->wValue = SWAPBYTE(pbuff); - 80098c8: 68f8 ldr r0, [r7, #12] - 80098ca: f7ff fa13 bl 8008cf4 - 80098ce: 4603 mov r3, r0 - 80098d0: 461a mov r2, r3 - 80098d2: 687b ldr r3, [r7, #4] - 80098d4: 805a strh r2, [r3, #2] + 8009f34: 68f8 ldr r0, [r7, #12] + 8009f36: f7ff fa13 bl 8009360 + 8009f3a: 4603 mov r3, r0 + 8009f3c: 461a mov r2, r3 + 8009f3e: 687b ldr r3, [r7, #4] + 8009f40: 805a strh r2, [r3, #2] pbuff++; - 80098d6: 68fb ldr r3, [r7, #12] - 80098d8: 3301 adds r3, #1 - 80098da: 60fb str r3, [r7, #12] + 8009f42: 68fb ldr r3, [r7, #12] + 8009f44: 3301 adds r3, #1 + 8009f46: 60fb str r3, [r7, #12] pbuff++; - 80098dc: 68fb ldr r3, [r7, #12] - 80098de: 3301 adds r3, #1 - 80098e0: 60fb str r3, [r7, #12] + 8009f48: 68fb ldr r3, [r7, #12] + 8009f4a: 3301 adds r3, #1 + 8009f4c: 60fb str r3, [r7, #12] req->wIndex = SWAPBYTE(pbuff); - 80098e2: 68f8 ldr r0, [r7, #12] - 80098e4: f7ff fa06 bl 8008cf4 - 80098e8: 4603 mov r3, r0 - 80098ea: 461a mov r2, r3 - 80098ec: 687b ldr r3, [r7, #4] - 80098ee: 809a strh r2, [r3, #4] + 8009f4e: 68f8 ldr r0, [r7, #12] + 8009f50: f7ff fa06 bl 8009360 + 8009f54: 4603 mov r3, r0 + 8009f56: 461a mov r2, r3 + 8009f58: 687b ldr r3, [r7, #4] + 8009f5a: 809a strh r2, [r3, #4] pbuff++; - 80098f0: 68fb ldr r3, [r7, #12] - 80098f2: 3301 adds r3, #1 - 80098f4: 60fb str r3, [r7, #12] + 8009f5c: 68fb ldr r3, [r7, #12] + 8009f5e: 3301 adds r3, #1 + 8009f60: 60fb str r3, [r7, #12] pbuff++; - 80098f6: 68fb ldr r3, [r7, #12] - 80098f8: 3301 adds r3, #1 - 80098fa: 60fb str r3, [r7, #12] + 8009f62: 68fb ldr r3, [r7, #12] + 8009f64: 3301 adds r3, #1 + 8009f66: 60fb str r3, [r7, #12] req->wLength = SWAPBYTE(pbuff); - 80098fc: 68f8 ldr r0, [r7, #12] - 80098fe: f7ff f9f9 bl 8008cf4 - 8009902: 4603 mov r3, r0 - 8009904: 461a mov r2, r3 - 8009906: 687b ldr r3, [r7, #4] - 8009908: 80da strh r2, [r3, #6] + 8009f68: 68f8 ldr r0, [r7, #12] + 8009f6a: f7ff f9f9 bl 8009360 + 8009f6e: 4603 mov r3, r0 + 8009f70: 461a mov r2, r3 + 8009f72: 687b ldr r3, [r7, #4] + 8009f74: 80da strh r2, [r3, #6] } - 800990a: bf00 nop - 800990c: 3710 adds r7, #16 - 800990e: 46bd mov sp, r7 - 8009910: bd80 pop {r7, pc} + 8009f76: bf00 nop + 8009f78: 3710 adds r7, #16 + 8009f7a: 46bd mov sp, r7 + 8009f7c: bd80 pop {r7, pc} -08009912 : +08009f7e : * @param pdev: device instance * @param req: usb request * @retval None */ void USBD_CtlError(USBD_HandleTypeDef *pdev, USBD_SetupReqTypedef *req) { - 8009912: b580 push {r7, lr} - 8009914: b082 sub sp, #8 - 8009916: af00 add r7, sp, #0 - 8009918: 6078 str r0, [r7, #4] - 800991a: 6039 str r1, [r7, #0] + 8009f7e: b580 push {r7, lr} + 8009f80: b082 sub sp, #8 + 8009f82: af00 add r7, sp, #0 + 8009f84: 6078 str r0, [r7, #4] + 8009f86: 6039 str r1, [r7, #0] UNUSED(req); (void)USBD_LL_StallEP(pdev, 0x80U); - 800991c: 2180 movs r1, #128 @ 0x80 - 800991e: 6878 ldr r0, [r7, #4] - 8009920: f000 fc2a bl 800a178 + 8009f88: 2180 movs r1, #128 @ 0x80 + 8009f8a: 6878 ldr r0, [r7, #4] + 8009f8c: f000 fc2a bl 800a7e4 (void)USBD_LL_StallEP(pdev, 0U); - 8009924: 2100 movs r1, #0 - 8009926: 6878 ldr r0, [r7, #4] - 8009928: f000 fc26 bl 800a178 -} - 800992c: bf00 nop - 800992e: 3708 adds r7, #8 - 8009930: 46bd mov sp, r7 - 8009932: bd80 pop {r7, pc} - -08009934 : - * @param unicode : Formatted string buffer (unicode) - * @param len : descriptor length - * @retval None - */ -void USBD_GetString(uint8_t *desc, uint8_t *unicode, uint16_t *len) -{ - 8009934: b580 push {r7, lr} - 8009936: b086 sub sp, #24 - 8009938: af00 add r7, sp, #0 - 800993a: 60f8 str r0, [r7, #12] - 800993c: 60b9 str r1, [r7, #8] - 800993e: 607a str r2, [r7, #4] - uint8_t idx = 0U; - 8009940: 2300 movs r3, #0 - 8009942: 75fb strb r3, [r7, #23] - uint8_t *pdesc; - - if (desc == NULL) - 8009944: 68fb ldr r3, [r7, #12] - 8009946: 2b00 cmp r3, #0 - 8009948: d042 beq.n 80099d0 - { - return; - } - - pdesc = desc; - 800994a: 68fb ldr r3, [r7, #12] - 800994c: 613b str r3, [r7, #16] - *len = MIN(USBD_MAX_STR_DESC_SIZ, ((uint16_t)USBD_GetLen(pdesc) * 2U) + 2U); - 800994e: 6938 ldr r0, [r7, #16] - 8009950: f000 f842 bl 80099d8 - 8009954: 4603 mov r3, r0 - 8009956: 3301 adds r3, #1 - 8009958: 005b lsls r3, r3, #1 - 800995a: f5b3 7f00 cmp.w r3, #512 @ 0x200 - 800995e: d808 bhi.n 8009972 - 8009960: 6938 ldr r0, [r7, #16] - 8009962: f000 f839 bl 80099d8 - 8009966: 4603 mov r3, r0 - 8009968: 3301 adds r3, #1 - 800996a: b29b uxth r3, r3 - 800996c: 005b lsls r3, r3, #1 - 800996e: b29a uxth r2, r3 - 8009970: e001 b.n 8009976 - 8009972: f44f 7200 mov.w r2, #512 @ 0x200 - 8009976: 687b ldr r3, [r7, #4] - 8009978: 801a strh r2, [r3, #0] - - unicode[idx] = *(uint8_t *)len; - 800997a: 7dfb ldrb r3, [r7, #23] - 800997c: 68ba ldr r2, [r7, #8] - 800997e: 4413 add r3, r2 - 8009980: 687a ldr r2, [r7, #4] - 8009982: 7812 ldrb r2, [r2, #0] - 8009984: 701a strb r2, [r3, #0] - idx++; - 8009986: 7dfb ldrb r3, [r7, #23] - 8009988: 3301 adds r3, #1 - 800998a: 75fb strb r3, [r7, #23] - unicode[idx] = USB_DESC_TYPE_STRING; - 800998c: 7dfb ldrb r3, [r7, #23] - 800998e: 68ba ldr r2, [r7, #8] - 8009990: 4413 add r3, r2 - 8009992: 2203 movs r2, #3 - 8009994: 701a strb r2, [r3, #0] - idx++; - 8009996: 7dfb ldrb r3, [r7, #23] - 8009998: 3301 adds r3, #1 - 800999a: 75fb strb r3, [r7, #23] - - while (*pdesc != (uint8_t)'\0') - 800999c: e013 b.n 80099c6 - { - unicode[idx] = *pdesc; - 800999e: 7dfb ldrb r3, [r7, #23] - 80099a0: 68ba ldr r2, [r7, #8] - 80099a2: 4413 add r3, r2 - 80099a4: 693a ldr r2, [r7, #16] - 80099a6: 7812 ldrb r2, [r2, #0] - 80099a8: 701a strb r2, [r3, #0] - pdesc++; - 80099aa: 693b ldr r3, [r7, #16] - 80099ac: 3301 adds r3, #1 - 80099ae: 613b str r3, [r7, #16] - idx++; - 80099b0: 7dfb ldrb r3, [r7, #23] - 80099b2: 3301 adds r3, #1 - 80099b4: 75fb strb r3, [r7, #23] - - unicode[idx] = 0U; - 80099b6: 7dfb ldrb r3, [r7, #23] - 80099b8: 68ba ldr r2, [r7, #8] - 80099ba: 4413 add r3, r2 - 80099bc: 2200 movs r2, #0 - 80099be: 701a strb r2, [r3, #0] - idx++; - 80099c0: 7dfb ldrb r3, [r7, #23] - 80099c2: 3301 adds r3, #1 - 80099c4: 75fb strb r3, [r7, #23] - while (*pdesc != (uint8_t)'\0') - 80099c6: 693b ldr r3, [r7, #16] - 80099c8: 781b ldrb r3, [r3, #0] - 80099ca: 2b00 cmp r3, #0 - 80099cc: d1e7 bne.n 800999e - 80099ce: e000 b.n 80099d2 - return; - 80099d0: bf00 nop - } -} - 80099d2: 3718 adds r7, #24 - 80099d4: 46bd mov sp, r7 - 80099d6: bd80 pop {r7, pc} - -080099d8 : - * return the string length - * @param buf : pointer to the ascii string buffer - * @retval string length - */ -static uint8_t USBD_GetLen(uint8_t *buf) -{ - 80099d8: b480 push {r7} - 80099da: b085 sub sp, #20 - 80099dc: af00 add r7, sp, #0 - 80099de: 6078 str r0, [r7, #4] - uint8_t len = 0U; - 80099e0: 2300 movs r3, #0 - 80099e2: 73fb strb r3, [r7, #15] - uint8_t *pbuff = buf; - 80099e4: 687b ldr r3, [r7, #4] - 80099e6: 60bb str r3, [r7, #8] - - while (*pbuff != (uint8_t)'\0') - 80099e8: e005 b.n 80099f6 - { - len++; - 80099ea: 7bfb ldrb r3, [r7, #15] - 80099ec: 3301 adds r3, #1 - 80099ee: 73fb strb r3, [r7, #15] - pbuff++; - 80099f0: 68bb ldr r3, [r7, #8] - 80099f2: 3301 adds r3, #1 - 80099f4: 60bb str r3, [r7, #8] - while (*pbuff != (uint8_t)'\0') - 80099f6: 68bb ldr r3, [r7, #8] - 80099f8: 781b ldrb r3, [r3, #0] - 80099fa: 2b00 cmp r3, #0 - 80099fc: d1f5 bne.n 80099ea - } - - return len; - 80099fe: 7bfb ldrb r3, [r7, #15] -} - 8009a00: 4618 mov r0, r3 - 8009a02: 3714 adds r7, #20 - 8009a04: 46bd mov sp, r7 - 8009a06: f85d 7b04 ldr.w r7, [sp], #4 - 8009a0a: 4770 bx lr - -08009a0c : - * @param len: length of data to be sent - * @retval status - */ -USBD_StatusTypeDef USBD_CtlSendData(USBD_HandleTypeDef *pdev, - uint8_t *pbuf, uint32_t len) -{ - 8009a0c: b580 push {r7, lr} - 8009a0e: b084 sub sp, #16 - 8009a10: af00 add r7, sp, #0 - 8009a12: 60f8 str r0, [r7, #12] - 8009a14: 60b9 str r1, [r7, #8] - 8009a16: 607a str r2, [r7, #4] - /* Set EP0 State */ - pdev->ep0_state = USBD_EP0_DATA_IN; - 8009a18: 68fb ldr r3, [r7, #12] - 8009a1a: 2202 movs r2, #2 - 8009a1c: f8c3 2294 str.w r2, [r3, #660] @ 0x294 - pdev->ep_in[0].total_length = len; - 8009a20: 68fb ldr r3, [r7, #12] - 8009a22: 687a ldr r2, [r7, #4] - 8009a24: 615a str r2, [r3, #20] - pdev->ep_in[0].pbuffer = pbuf; - 8009a26: 68fb ldr r3, [r7, #12] - 8009a28: 68ba ldr r2, [r7, #8] - 8009a2a: 625a str r2, [r3, #36] @ 0x24 - -#ifdef USBD_AVOID_PACKET_SPLIT_MPS - pdev->ep_in[0].rem_length = 0U; -#else - pdev->ep_in[0].rem_length = len; - 8009a2c: 68fb ldr r3, [r7, #12] - 8009a2e: 687a ldr r2, [r7, #4] - 8009a30: 619a str r2, [r3, #24] -#endif /* USBD_AVOID_PACKET_SPLIT_MPS */ - - /* Start the transfer */ - (void)USBD_LL_Transmit(pdev, 0x00U, pbuf, len); - 8009a32: 687b ldr r3, [r7, #4] - 8009a34: 68ba ldr r2, [r7, #8] - 8009a36: 2100 movs r1, #0 - 8009a38: 68f8 ldr r0, [r7, #12] - 8009a3a: f000 fc26 bl 800a28a - - return USBD_OK; - 8009a3e: 2300 movs r3, #0 -} - 8009a40: 4618 mov r0, r3 - 8009a42: 3710 adds r7, #16 - 8009a44: 46bd mov sp, r7 - 8009a46: bd80 pop {r7, pc} - -08009a48 : - * @param len: length of data to be sent - * @retval status - */ -USBD_StatusTypeDef USBD_CtlContinueSendData(USBD_HandleTypeDef *pdev, - uint8_t *pbuf, uint32_t len) -{ - 8009a48: b580 push {r7, lr} - 8009a4a: b084 sub sp, #16 - 8009a4c: af00 add r7, sp, #0 - 8009a4e: 60f8 str r0, [r7, #12] - 8009a50: 60b9 str r1, [r7, #8] - 8009a52: 607a str r2, [r7, #4] - /* Start the next transfer */ - (void)USBD_LL_Transmit(pdev, 0x00U, pbuf, len); - 8009a54: 687b ldr r3, [r7, #4] - 8009a56: 68ba ldr r2, [r7, #8] - 8009a58: 2100 movs r1, #0 - 8009a5a: 68f8 ldr r0, [r7, #12] - 8009a5c: f000 fc15 bl 800a28a - - return USBD_OK; - 8009a60: 2300 movs r3, #0 -} - 8009a62: 4618 mov r0, r3 - 8009a64: 3710 adds r7, #16 - 8009a66: 46bd mov sp, r7 - 8009a68: bd80 pop {r7, pc} - -08009a6a : - * @param len: length of data to be received - * @retval status - */ -USBD_StatusTypeDef USBD_CtlContinueRx(USBD_HandleTypeDef *pdev, - uint8_t *pbuf, uint32_t len) -{ - 8009a6a: b580 push {r7, lr} - 8009a6c: b084 sub sp, #16 - 8009a6e: af00 add r7, sp, #0 - 8009a70: 60f8 str r0, [r7, #12] - 8009a72: 60b9 str r1, [r7, #8] - 8009a74: 607a str r2, [r7, #4] - (void)USBD_LL_PrepareReceive(pdev, 0U, pbuf, len); - 8009a76: 687b ldr r3, [r7, #4] - 8009a78: 68ba ldr r2, [r7, #8] - 8009a7a: 2100 movs r1, #0 - 8009a7c: 68f8 ldr r0, [r7, #12] - 8009a7e: f000 fc25 bl 800a2cc - - return USBD_OK; - 8009a82: 2300 movs r3, #0 -} - 8009a84: 4618 mov r0, r3 - 8009a86: 3710 adds r7, #16 - 8009a88: 46bd mov sp, r7 - 8009a8a: bd80 pop {r7, pc} - -08009a8c : - * send zero lzngth packet on the ctl pipe - * @param pdev: device instance - * @retval status - */ -USBD_StatusTypeDef USBD_CtlSendStatus(USBD_HandleTypeDef *pdev) -{ - 8009a8c: b580 push {r7, lr} - 8009a8e: b082 sub sp, #8 - 8009a90: af00 add r7, sp, #0 - 8009a92: 6078 str r0, [r7, #4] - /* Set EP0 State */ - pdev->ep0_state = USBD_EP0_STATUS_IN; - 8009a94: 687b ldr r3, [r7, #4] - 8009a96: 2204 movs r2, #4 - 8009a98: f8c3 2294 str.w r2, [r3, #660] @ 0x294 - - /* Start the transfer */ - (void)USBD_LL_Transmit(pdev, 0x00U, NULL, 0U); - 8009a9c: 2300 movs r3, #0 - 8009a9e: 2200 movs r2, #0 - 8009aa0: 2100 movs r1, #0 - 8009aa2: 6878 ldr r0, [r7, #4] - 8009aa4: f000 fbf1 bl 800a28a - - return USBD_OK; - 8009aa8: 2300 movs r3, #0 -} - 8009aaa: 4618 mov r0, r3 - 8009aac: 3708 adds r7, #8 - 8009aae: 46bd mov sp, r7 - 8009ab0: bd80 pop {r7, pc} - -08009ab2 : - * receive zero lzngth packet on the ctl pipe - * @param pdev: device instance - * @retval status - */ -USBD_StatusTypeDef USBD_CtlReceiveStatus(USBD_HandleTypeDef *pdev) -{ - 8009ab2: b580 push {r7, lr} - 8009ab4: b082 sub sp, #8 - 8009ab6: af00 add r7, sp, #0 - 8009ab8: 6078 str r0, [r7, #4] - /* Set EP0 State */ - pdev->ep0_state = USBD_EP0_STATUS_OUT; - 8009aba: 687b ldr r3, [r7, #4] - 8009abc: 2205 movs r2, #5 - 8009abe: f8c3 2294 str.w r2, [r3, #660] @ 0x294 - - /* Start the transfer */ - (void)USBD_LL_PrepareReceive(pdev, 0U, NULL, 0U); - 8009ac2: 2300 movs r3, #0 - 8009ac4: 2200 movs r2, #0 - 8009ac6: 2100 movs r1, #0 - 8009ac8: 6878 ldr r0, [r7, #4] - 8009aca: f000 fbff bl 800a2cc - - return USBD_OK; - 8009ace: 2300 movs r3, #0 -} - 8009ad0: 4618 mov r0, r3 - 8009ad2: 3708 adds r7, #8 - 8009ad4: 46bd mov sp, r7 - 8009ad6: bd80 pop {r7, pc} - -08009ad8 : -/** - * Init USB device Library, add supported class and start the library - * @retval None - */ -void MX_USB_DEVICE_Init(void) -{ - 8009ad8: b580 push {r7, lr} - 8009ada: af00 add r7, sp, #0 - /* USER CODE BEGIN USB_DEVICE_Init_PreTreatment */ - - /* USER CODE END USB_DEVICE_Init_PreTreatment */ - - /* Init Device Library, add supported class and start the library. */ - if (USBD_Init(&hUsbDeviceFS, &FS_Desc, DEVICE_FS) != USBD_OK) - 8009adc: 2200 movs r2, #0 - 8009ade: 490e ldr r1, [pc, #56] @ (8009b18 ) - 8009ae0: 480e ldr r0, [pc, #56] @ (8009b1c ) - 8009ae2: f7fe fcd1 bl 8008488 - 8009ae6: 4603 mov r3, r0 - 8009ae8: 2b00 cmp r3, #0 - 8009aea: d001 beq.n 8009af0 - { - Error_Handler(); - 8009aec: f7f7 f86c bl 8000bc8 - } - if (USBD_RegisterClass(&hUsbDeviceFS, &USBD_HID) != USBD_OK) - 8009af0: 490b ldr r1, [pc, #44] @ (8009b20 ) - 8009af2: 480a ldr r0, [pc, #40] @ (8009b1c ) - 8009af4: f7fe fcf8 bl 80084e8 - 8009af8: 4603 mov r3, r0 - 8009afa: 2b00 cmp r3, #0 - 8009afc: d001 beq.n 8009b02 - { - Error_Handler(); - 8009afe: f7f7 f863 bl 8000bc8 - } - if (USBD_Start(&hUsbDeviceFS) != USBD_OK) - 8009b02: 4806 ldr r0, [pc, #24] @ (8009b1c ) - 8009b04: f7fe fd26 bl 8008554 - 8009b08: 4603 mov r3, r0 - 8009b0a: 2b00 cmp r3, #0 - 8009b0c: d001 beq.n 8009b12 - { - Error_Handler(); - 8009b0e: f7f7 f85b bl 8000bc8 - } - - /* USER CODE BEGIN USB_DEVICE_Init_PostTreatment */ - - /* USER CODE END USB_DEVICE_Init_PostTreatment */ -} - 8009b12: bf00 nop - 8009b14: bd80 pop {r7, pc} - 8009b16: bf00 nop - 8009b18: 2000015c .word 0x2000015c - 8009b1c: 200006fc .word 0x200006fc - 8009b20: 2000009c .word 0x2000009c - -08009b24 : - * @param speed : Current device speed - * @param length : Pointer to data length variable - * @retval Pointer to descriptor buffer - */ -uint8_t * USBD_FS_DeviceDescriptor(USBD_SpeedTypeDef speed, uint16_t *length) -{ - 8009b24: b480 push {r7} - 8009b26: b083 sub sp, #12 - 8009b28: af00 add r7, sp, #0 - 8009b2a: 4603 mov r3, r0 - 8009b2c: 6039 str r1, [r7, #0] - 8009b2e: 71fb strb r3, [r7, #7] - UNUSED(speed); - *length = sizeof(USBD_FS_DeviceDesc); - 8009b30: 683b ldr r3, [r7, #0] - 8009b32: 2212 movs r2, #18 - 8009b34: 801a strh r2, [r3, #0] - return USBD_FS_DeviceDesc; - 8009b36: 4b03 ldr r3, [pc, #12] @ (8009b44 ) -} - 8009b38: 4618 mov r0, r3 - 8009b3a: 370c adds r7, #12 - 8009b3c: 46bd mov sp, r7 - 8009b3e: f85d 7b04 ldr.w r7, [sp], #4 - 8009b42: 4770 bx lr - 8009b44: 2000017c .word 0x2000017c - -08009b48 : - * @param speed : Current device speed - * @param length : Pointer to data length variable - * @retval Pointer to descriptor buffer - */ -uint8_t * USBD_FS_LangIDStrDescriptor(USBD_SpeedTypeDef speed, uint16_t *length) -{ - 8009b48: b480 push {r7} - 8009b4a: b083 sub sp, #12 - 8009b4c: af00 add r7, sp, #0 - 8009b4e: 4603 mov r3, r0 - 8009b50: 6039 str r1, [r7, #0] - 8009b52: 71fb strb r3, [r7, #7] - UNUSED(speed); - *length = sizeof(USBD_LangIDDesc); - 8009b54: 683b ldr r3, [r7, #0] - 8009b56: 2204 movs r2, #4 - 8009b58: 801a strh r2, [r3, #0] - return USBD_LangIDDesc; - 8009b5a: 4b03 ldr r3, [pc, #12] @ (8009b68 ) -} - 8009b5c: 4618 mov r0, r3 - 8009b5e: 370c adds r7, #12 - 8009b60: 46bd mov sp, r7 - 8009b62: f85d 7b04 ldr.w r7, [sp], #4 - 8009b66: 4770 bx lr - 8009b68: 2000019c .word 0x2000019c - -08009b6c : - * @param speed : Current device speed - * @param length : Pointer to data length variable - * @retval Pointer to descriptor buffer - */ -uint8_t * USBD_FS_ProductStrDescriptor(USBD_SpeedTypeDef speed, uint16_t *length) -{ - 8009b6c: b580 push {r7, lr} - 8009b6e: b082 sub sp, #8 - 8009b70: af00 add r7, sp, #0 - 8009b72: 4603 mov r3, r0 - 8009b74: 6039 str r1, [r7, #0] - 8009b76: 71fb strb r3, [r7, #7] - if(speed == 0) - 8009b78: 79fb ldrb r3, [r7, #7] - 8009b7a: 2b00 cmp r3, #0 - 8009b7c: d105 bne.n 8009b8a - { - USBD_GetString((uint8_t *)USBD_PRODUCT_STRING_FS, USBD_StrDesc, length); - 8009b7e: 683a ldr r2, [r7, #0] - 8009b80: 4907 ldr r1, [pc, #28] @ (8009ba0 ) - 8009b82: 4808 ldr r0, [pc, #32] @ (8009ba4 ) - 8009b84: f7ff fed6 bl 8009934 - 8009b88: e004 b.n 8009b94 - } - else - { - USBD_GetString((uint8_t *)USBD_PRODUCT_STRING_FS, USBD_StrDesc, length); - 8009b8a: 683a ldr r2, [r7, #0] - 8009b8c: 4904 ldr r1, [pc, #16] @ (8009ba0 ) - 8009b8e: 4805 ldr r0, [pc, #20] @ (8009ba4 ) - 8009b90: f7ff fed0 bl 8009934 - } - return USBD_StrDesc; - 8009b94: 4b02 ldr r3, [pc, #8] @ (8009ba0 ) -} - 8009b96: 4618 mov r0, r3 - 8009b98: 3708 adds r7, #8 - 8009b9a: 46bd mov sp, r7 - 8009b9c: bd80 pop {r7, pc} - 8009b9e: bf00 nop - 8009ba0: 200009d8 .word 0x200009d8 - 8009ba4: 0800a4a4 .word 0x0800a4a4 - -08009ba8 : - * @param speed : Current device speed - * @param length : Pointer to data length variable - * @retval Pointer to descriptor buffer - */ -uint8_t * USBD_FS_ManufacturerStrDescriptor(USBD_SpeedTypeDef speed, uint16_t *length) -{ - 8009ba8: b580 push {r7, lr} - 8009baa: b082 sub sp, #8 - 8009bac: af00 add r7, sp, #0 - 8009bae: 4603 mov r3, r0 - 8009bb0: 6039 str r1, [r7, #0] - 8009bb2: 71fb strb r3, [r7, #7] - UNUSED(speed); - USBD_GetString((uint8_t *)USBD_MANUFACTURER_STRING, USBD_StrDesc, length); - 8009bb4: 683a ldr r2, [r7, #0] - 8009bb6: 4904 ldr r1, [pc, #16] @ (8009bc8 ) - 8009bb8: 4804 ldr r0, [pc, #16] @ (8009bcc ) - 8009bba: f7ff febb bl 8009934 - return USBD_StrDesc; - 8009bbe: 4b02 ldr r3, [pc, #8] @ (8009bc8 ) -} - 8009bc0: 4618 mov r0, r3 - 8009bc2: 3708 adds r7, #8 - 8009bc4: 46bd mov sp, r7 - 8009bc6: bd80 pop {r7, pc} - 8009bc8: 200009d8 .word 0x200009d8 - 8009bcc: 0800a4b8 .word 0x0800a4b8 - -08009bd0 : - * @param speed : Current device speed - * @param length : Pointer to data length variable - * @retval Pointer to descriptor buffer - */ -uint8_t * USBD_FS_SerialStrDescriptor(USBD_SpeedTypeDef speed, uint16_t *length) -{ - 8009bd0: b580 push {r7, lr} - 8009bd2: b082 sub sp, #8 - 8009bd4: af00 add r7, sp, #0 - 8009bd6: 4603 mov r3, r0 - 8009bd8: 6039 str r1, [r7, #0] - 8009bda: 71fb strb r3, [r7, #7] - UNUSED(speed); - *length = USB_SIZ_STRING_SERIAL; - 8009bdc: 683b ldr r3, [r7, #0] - 8009bde: 221a movs r2, #26 - 8009be0: 801a strh r2, [r3, #0] - - /* Update the serial number string descriptor with the data from the unique - * ID */ - Get_SerialNum(); - 8009be2: f000 f855 bl 8009c90 - /* USER CODE BEGIN USBD_FS_SerialStrDescriptor */ - - /* USER CODE END USBD_FS_SerialStrDescriptor */ - return (uint8_t *) USBD_StringSerial; - 8009be6: 4b02 ldr r3, [pc, #8] @ (8009bf0 ) -} - 8009be8: 4618 mov r0, r3 - 8009bea: 3708 adds r7, #8 - 8009bec: 46bd mov sp, r7 - 8009bee: bd80 pop {r7, pc} - 8009bf0: 200001a0 .word 0x200001a0 - -08009bf4 : - * @param speed : Current device speed - * @param length : Pointer to data length variable - * @retval Pointer to descriptor buffer - */ -uint8_t * USBD_FS_ConfigStrDescriptor(USBD_SpeedTypeDef speed, uint16_t *length) -{ - 8009bf4: b580 push {r7, lr} - 8009bf6: b082 sub sp, #8 - 8009bf8: af00 add r7, sp, #0 - 8009bfa: 4603 mov r3, r0 - 8009bfc: 6039 str r1, [r7, #0] - 8009bfe: 71fb strb r3, [r7, #7] - if(speed == USBD_SPEED_HIGH) - 8009c00: 79fb ldrb r3, [r7, #7] - 8009c02: 2b00 cmp r3, #0 - 8009c04: d105 bne.n 8009c12 - { - USBD_GetString((uint8_t *)USBD_CONFIGURATION_STRING_FS, USBD_StrDesc, length); - 8009c06: 683a ldr r2, [r7, #0] - 8009c08: 4907 ldr r1, [pc, #28] @ (8009c28 ) - 8009c0a: 4808 ldr r0, [pc, #32] @ (8009c2c ) - 8009c0c: f7ff fe92 bl 8009934 - 8009c10: e004 b.n 8009c1c - } - else - { - USBD_GetString((uint8_t *)USBD_CONFIGURATION_STRING_FS, USBD_StrDesc, length); - 8009c12: 683a ldr r2, [r7, #0] - 8009c14: 4904 ldr r1, [pc, #16] @ (8009c28 ) - 8009c16: 4805 ldr r0, [pc, #20] @ (8009c2c ) - 8009c18: f7ff fe8c bl 8009934 - } - return USBD_StrDesc; - 8009c1c: 4b02 ldr r3, [pc, #8] @ (8009c28 ) -} - 8009c1e: 4618 mov r0, r3 - 8009c20: 3708 adds r7, #8 - 8009c22: 46bd mov sp, r7 - 8009c24: bd80 pop {r7, pc} - 8009c26: bf00 nop - 8009c28: 200009d8 .word 0x200009d8 - 8009c2c: 0800a4c4 .word 0x0800a4c4 - -08009c30 : - * @param speed : Current device speed - * @param length : Pointer to data length variable - * @retval Pointer to descriptor buffer - */ -uint8_t * USBD_FS_InterfaceStrDescriptor(USBD_SpeedTypeDef speed, uint16_t *length) -{ - 8009c30: b580 push {r7, lr} - 8009c32: b082 sub sp, #8 - 8009c34: af00 add r7, sp, #0 - 8009c36: 4603 mov r3, r0 - 8009c38: 6039 str r1, [r7, #0] - 8009c3a: 71fb strb r3, [r7, #7] - if(speed == 0) - 8009c3c: 79fb ldrb r3, [r7, #7] - 8009c3e: 2b00 cmp r3, #0 - 8009c40: d105 bne.n 8009c4e - { - USBD_GetString((uint8_t *)USBD_INTERFACE_STRING_FS, USBD_StrDesc, length); - 8009c42: 683a ldr r2, [r7, #0] - 8009c44: 4907 ldr r1, [pc, #28] @ (8009c64 ) - 8009c46: 4808 ldr r0, [pc, #32] @ (8009c68 ) - 8009c48: f7ff fe74 bl 8009934 - 8009c4c: e004 b.n 8009c58 - } - else - { - USBD_GetString((uint8_t *)USBD_INTERFACE_STRING_FS, USBD_StrDesc, length); - 8009c4e: 683a ldr r2, [r7, #0] - 8009c50: 4904 ldr r1, [pc, #16] @ (8009c64 ) - 8009c52: 4805 ldr r0, [pc, #20] @ (8009c68 ) - 8009c54: f7ff fe6e bl 8009934 - } - return USBD_StrDesc; - 8009c58: 4b02 ldr r3, [pc, #8] @ (8009c64 ) -} - 8009c5a: 4618 mov r0, r3 - 8009c5c: 3708 adds r7, #8 - 8009c5e: 46bd mov sp, r7 - 8009c60: bd80 pop {r7, pc} - 8009c62: bf00 nop - 8009c64: 200009d8 .word 0x200009d8 - 8009c68: 0800a4d0 .word 0x0800a4d0 - -08009c6c : - * @param speed : Current device speed - * @param length : Pointer to data length variable - * @retval Pointer to descriptor buffer - */ -uint8_t * USBD_FS_USR_BOSDescriptor(USBD_SpeedTypeDef speed, uint16_t *length) -{ - 8009c6c: b480 push {r7} - 8009c6e: b083 sub sp, #12 - 8009c70: af00 add r7, sp, #0 - 8009c72: 4603 mov r3, r0 - 8009c74: 6039 str r1, [r7, #0] - 8009c76: 71fb strb r3, [r7, #7] - UNUSED(speed); - *length = sizeof(USBD_FS_BOSDesc); - 8009c78: 683b ldr r3, [r7, #0] - 8009c7a: 220c movs r2, #12 - 8009c7c: 801a strh r2, [r3, #0] - return (uint8_t*)USBD_FS_BOSDesc; - 8009c7e: 4b03 ldr r3, [pc, #12] @ (8009c8c ) -} - 8009c80: 4618 mov r0, r3 - 8009c82: 370c adds r7, #12 - 8009c84: 46bd mov sp, r7 - 8009c86: f85d 7b04 ldr.w r7, [sp], #4 - 8009c8a: 4770 bx lr - 8009c8c: 20000190 .word 0x20000190 - -08009c90 : - * @brief Create the serial number string descriptor - * @param None - * @retval None - */ -static void Get_SerialNum(void) -{ - 8009c90: b580 push {r7, lr} - 8009c92: b084 sub sp, #16 - 8009c94: af00 add r7, sp, #0 - uint32_t deviceserial0; - uint32_t deviceserial1; - uint32_t deviceserial2; - - deviceserial0 = *(uint32_t *) DEVICE_ID1; - 8009c96: 4b0f ldr r3, [pc, #60] @ (8009cd4 ) - 8009c98: 681b ldr r3, [r3, #0] - 8009c9a: 60fb str r3, [r7, #12] - deviceserial1 = *(uint32_t *) DEVICE_ID2; - 8009c9c: 4b0e ldr r3, [pc, #56] @ (8009cd8 ) - 8009c9e: 681b ldr r3, [r3, #0] - 8009ca0: 60bb str r3, [r7, #8] - deviceserial2 = *(uint32_t *) DEVICE_ID3; - 8009ca2: 4b0e ldr r3, [pc, #56] @ (8009cdc ) - 8009ca4: 681b ldr r3, [r3, #0] - 8009ca6: 607b str r3, [r7, #4] - - deviceserial0 += deviceserial2; - 8009ca8: 68fa ldr r2, [r7, #12] - 8009caa: 687b ldr r3, [r7, #4] - 8009cac: 4413 add r3, r2 - 8009cae: 60fb str r3, [r7, #12] - - if (deviceserial0 != 0) - 8009cb0: 68fb ldr r3, [r7, #12] - 8009cb2: 2b00 cmp r3, #0 - 8009cb4: d009 beq.n 8009cca - { - IntToUnicode(deviceserial0, &USBD_StringSerial[2], 8); - 8009cb6: 2208 movs r2, #8 - 8009cb8: 4909 ldr r1, [pc, #36] @ (8009ce0 ) - 8009cba: 68f8 ldr r0, [r7, #12] - 8009cbc: f000 f814 bl 8009ce8 - IntToUnicode(deviceserial1, &USBD_StringSerial[18], 4); - 8009cc0: 2204 movs r2, #4 - 8009cc2: 4908 ldr r1, [pc, #32] @ (8009ce4 ) - 8009cc4: 68b8 ldr r0, [r7, #8] - 8009cc6: f000 f80f bl 8009ce8 - } -} - 8009cca: bf00 nop - 8009ccc: 3710 adds r7, #16 - 8009cce: 46bd mov sp, r7 - 8009cd0: bd80 pop {r7, pc} - 8009cd2: bf00 nop - 8009cd4: 1fff7a10 .word 0x1fff7a10 - 8009cd8: 1fff7a14 .word 0x1fff7a14 - 8009cdc: 1fff7a18 .word 0x1fff7a18 - 8009ce0: 200001a2 .word 0x200001a2 - 8009ce4: 200001b2 .word 0x200001b2 - -08009ce8 : - * @param pbuf: pointer to the buffer - * @param len: buffer length - * @retval None - */ -static void IntToUnicode(uint32_t value, uint8_t * pbuf, uint8_t len) -{ - 8009ce8: b480 push {r7} - 8009cea: b087 sub sp, #28 - 8009cec: af00 add r7, sp, #0 - 8009cee: 60f8 str r0, [r7, #12] - 8009cf0: 60b9 str r1, [r7, #8] - 8009cf2: 4613 mov r3, r2 - 8009cf4: 71fb strb r3, [r7, #7] - uint8_t idx = 0; - 8009cf6: 2300 movs r3, #0 - 8009cf8: 75fb strb r3, [r7, #23] - - for (idx = 0; idx < len; idx++) - 8009cfa: 2300 movs r3, #0 - 8009cfc: 75fb strb r3, [r7, #23] - 8009cfe: e027 b.n 8009d50 - { - if (((value >> 28)) < 0xA) - 8009d00: 68fb ldr r3, [r7, #12] - 8009d02: 0f1b lsrs r3, r3, #28 - 8009d04: 2b09 cmp r3, #9 - 8009d06: d80b bhi.n 8009d20 - { - pbuf[2 * idx] = (value >> 28) + '0'; - 8009d08: 68fb ldr r3, [r7, #12] - 8009d0a: 0f1b lsrs r3, r3, #28 - 8009d0c: b2da uxtb r2, r3 - 8009d0e: 7dfb ldrb r3, [r7, #23] - 8009d10: 005b lsls r3, r3, #1 - 8009d12: 4619 mov r1, r3 - 8009d14: 68bb ldr r3, [r7, #8] - 8009d16: 440b add r3, r1 - 8009d18: 3230 adds r2, #48 @ 0x30 - 8009d1a: b2d2 uxtb r2, r2 - 8009d1c: 701a strb r2, [r3, #0] - 8009d1e: e00a b.n 8009d36 - } - else - { - pbuf[2 * idx] = (value >> 28) + 'A' - 10; - 8009d20: 68fb ldr r3, [r7, #12] - 8009d22: 0f1b lsrs r3, r3, #28 - 8009d24: b2da uxtb r2, r3 - 8009d26: 7dfb ldrb r3, [r7, #23] - 8009d28: 005b lsls r3, r3, #1 - 8009d2a: 4619 mov r1, r3 - 8009d2c: 68bb ldr r3, [r7, #8] - 8009d2e: 440b add r3, r1 - 8009d30: 3237 adds r2, #55 @ 0x37 - 8009d32: b2d2 uxtb r2, r2 - 8009d34: 701a strb r2, [r3, #0] - } - - value = value << 4; - 8009d36: 68fb ldr r3, [r7, #12] - 8009d38: 011b lsls r3, r3, #4 - 8009d3a: 60fb str r3, [r7, #12] - - pbuf[2 * idx + 1] = 0; - 8009d3c: 7dfb ldrb r3, [r7, #23] - 8009d3e: 005b lsls r3, r3, #1 - 8009d40: 3301 adds r3, #1 - 8009d42: 68ba ldr r2, [r7, #8] - 8009d44: 4413 add r3, r2 - 8009d46: 2200 movs r2, #0 - 8009d48: 701a strb r2, [r3, #0] - for (idx = 0; idx < len; idx++) - 8009d4a: 7dfb ldrb r3, [r7, #23] - 8009d4c: 3301 adds r3, #1 - 8009d4e: 75fb strb r3, [r7, #23] - 8009d50: 7dfa ldrb r2, [r7, #23] - 8009d52: 79fb ldrb r3, [r7, #7] - 8009d54: 429a cmp r2, r3 - 8009d56: d3d3 bcc.n 8009d00 - } -} - 8009d58: bf00 nop - 8009d5a: bf00 nop - 8009d5c: 371c adds r7, #28 - 8009d5e: 46bd mov sp, r7 - 8009d60: f85d 7b04 ldr.w r7, [sp], #4 - 8009d64: 4770 bx lr - ... - -08009d68 : - LL Driver Callbacks (PCD -> USB Device Library) -*******************************************************************************/ -/* MSP Init */ - -void HAL_PCD_MspInit(PCD_HandleTypeDef* pcdHandle) -{ - 8009d68: b580 push {r7, lr} - 8009d6a: b0a0 sub sp, #128 @ 0x80 - 8009d6c: af00 add r7, sp, #0 - 8009d6e: 6078 str r0, [r7, #4] - GPIO_InitTypeDef GPIO_InitStruct = {0}; - 8009d70: f107 036c add.w r3, r7, #108 @ 0x6c - 8009d74: 2200 movs r2, #0 - 8009d76: 601a str r2, [r3, #0] - 8009d78: 605a str r2, [r3, #4] - 8009d7a: 609a str r2, [r3, #8] - 8009d7c: 60da str r2, [r3, #12] - 8009d7e: 611a str r2, [r3, #16] - RCC_PeriphCLKInitTypeDef PeriphClkInitStruct = {0}; - 8009d80: f107 0310 add.w r3, r7, #16 - 8009d84: 225c movs r2, #92 @ 0x5c - 8009d86: 2100 movs r1, #0 - 8009d88: 4618 mov r0, r3 - 8009d8a: f000 fb53 bl 800a434 - if(pcdHandle->Instance==USB_OTG_FS) - 8009d8e: 687b ldr r3, [r7, #4] - 8009d90: 681b ldr r3, [r3, #0] - 8009d92: f1b3 4fa0 cmp.w r3, #1342177280 @ 0x50000000 - 8009d96: d149 bne.n 8009e2c - - /* USER CODE END USB_OTG_FS_MspInit 0 */ - - /** Initializes the peripherals clock - */ - PeriphClkInitStruct.PeriphClockSelection = RCC_PERIPHCLK_CLK48; - 8009d98: f44f 7380 mov.w r3, #256 @ 0x100 - 8009d9c: 613b str r3, [r7, #16] - PeriphClkInitStruct.Clk48ClockSelection = RCC_CLK48CLKSOURCE_PLLQ; - 8009d9e: 2300 movs r3, #0 - 8009da0: 667b str r3, [r7, #100] @ 0x64 - if (HAL_RCCEx_PeriphCLKConfig(&PeriphClkInitStruct) != HAL_OK) - 8009da2: f107 0310 add.w r3, r7, #16 - 8009da6: 4618 mov r0, r3 - 8009da8: f7fa f934 bl 8004014 - 8009dac: 4603 mov r3, r0 - 8009dae: 2b00 cmp r3, #0 - 8009db0: d001 beq.n 8009db6 - { - Error_Handler(); - 8009db2: f7f6 ff09 bl 8000bc8 - } - - __HAL_RCC_GPIOA_CLK_ENABLE(); - 8009db6: 2300 movs r3, #0 - 8009db8: 60fb str r3, [r7, #12] - 8009dba: 4b1e ldr r3, [pc, #120] @ (8009e34 ) - 8009dbc: 6b1b ldr r3, [r3, #48] @ 0x30 - 8009dbe: 4a1d ldr r2, [pc, #116] @ (8009e34 ) - 8009dc0: f043 0301 orr.w r3, r3, #1 - 8009dc4: 6313 str r3, [r2, #48] @ 0x30 - 8009dc6: 4b1b ldr r3, [pc, #108] @ (8009e34 ) - 8009dc8: 6b1b ldr r3, [r3, #48] @ 0x30 - 8009dca: f003 0301 and.w r3, r3, #1 - 8009dce: 60fb str r3, [r7, #12] - 8009dd0: 68fb ldr r3, [r7, #12] - /**USB_OTG_FS GPIO Configuration - PA11 ------> USB_OTG_FS_DM - PA12 ------> USB_OTG_FS_DP - */ - GPIO_InitStruct.Pin = GPIO_PIN_11|GPIO_PIN_12; - 8009dd2: f44f 53c0 mov.w r3, #6144 @ 0x1800 - 8009dd6: 66fb str r3, [r7, #108] @ 0x6c - GPIO_InitStruct.Mode = GPIO_MODE_AF_PP; - 8009dd8: 2302 movs r3, #2 - 8009dda: 673b str r3, [r7, #112] @ 0x70 - GPIO_InitStruct.Pull = GPIO_NOPULL; - 8009ddc: 2300 movs r3, #0 - 8009dde: 677b str r3, [r7, #116] @ 0x74 - GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_VERY_HIGH; - 8009de0: 2303 movs r3, #3 - 8009de2: 67bb str r3, [r7, #120] @ 0x78 - GPIO_InitStruct.Alternate = GPIO_AF10_OTG_FS; - 8009de4: 230a movs r3, #10 - 8009de6: 67fb str r3, [r7, #124] @ 0x7c - HAL_GPIO_Init(GPIOA, &GPIO_InitStruct); - 8009de8: f107 036c add.w r3, r7, #108 @ 0x6c - 8009dec: 4619 mov r1, r3 - 8009dee: 4812 ldr r0, [pc, #72] @ (8009e38 ) - 8009df0: f7f8 fa66 bl 80022c0 - - /* Peripheral clock enable */ - __HAL_RCC_USB_OTG_FS_CLK_ENABLE(); - 8009df4: 4b0f ldr r3, [pc, #60] @ (8009e34 ) - 8009df6: 6b5b ldr r3, [r3, #52] @ 0x34 - 8009df8: 4a0e ldr r2, [pc, #56] @ (8009e34 ) - 8009dfa: f043 0380 orr.w r3, r3, #128 @ 0x80 - 8009dfe: 6353 str r3, [r2, #52] @ 0x34 - 8009e00: 2300 movs r3, #0 - 8009e02: 60bb str r3, [r7, #8] - 8009e04: 4b0b ldr r3, [pc, #44] @ (8009e34 ) - 8009e06: 6c5b ldr r3, [r3, #68] @ 0x44 - 8009e08: 4a0a ldr r2, [pc, #40] @ (8009e34 ) - 8009e0a: f443 4380 orr.w r3, r3, #16384 @ 0x4000 - 8009e0e: 6453 str r3, [r2, #68] @ 0x44 - 8009e10: 4b08 ldr r3, [pc, #32] @ (8009e34 ) - 8009e12: 6c5b ldr r3, [r3, #68] @ 0x44 - 8009e14: f403 4380 and.w r3, r3, #16384 @ 0x4000 - 8009e18: 60bb str r3, [r7, #8] - 8009e1a: 68bb ldr r3, [r7, #8] - - /* Peripheral interrupt init */ - HAL_NVIC_SetPriority(OTG_FS_IRQn, 0, 0); - 8009e1c: 2200 movs r2, #0 - 8009e1e: 2100 movs r1, #0 - 8009e20: 2043 movs r0, #67 @ 0x43 - 8009e22: f7f7 fe14 bl 8001a4e - HAL_NVIC_EnableIRQ(OTG_FS_IRQn); - 8009e26: 2043 movs r0, #67 @ 0x43 - 8009e28: f7f7 fe2d bl 8001a86 - /* USER CODE BEGIN USB_OTG_FS_MspInit 1 */ - - /* USER CODE END USB_OTG_FS_MspInit 1 */ - } -} - 8009e2c: bf00 nop - 8009e2e: 3780 adds r7, #128 @ 0x80 - 8009e30: 46bd mov sp, r7 - 8009e32: bd80 pop {r7, pc} - 8009e34: 40023800 .word 0x40023800 - 8009e38: 40020000 .word 0x40020000 - -08009e3c : -#if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U) -static void PCD_SetupStageCallback(PCD_HandleTypeDef *hpcd) -#else -void HAL_PCD_SetupStageCallback(PCD_HandleTypeDef *hpcd) -#endif /* USE_HAL_PCD_REGISTER_CALLBACKS */ -{ - 8009e3c: b580 push {r7, lr} - 8009e3e: b082 sub sp, #8 - 8009e40: af00 add r7, sp, #0 - 8009e42: 6078 str r0, [r7, #4] - USBD_LL_SetupStage((USBD_HandleTypeDef*)hpcd->pData, (uint8_t *)hpcd->Setup); - 8009e44: 687b ldr r3, [r7, #4] - 8009e46: f8d3 24e0 ldr.w r2, [r3, #1248] @ 0x4e0 - 8009e4a: 687b ldr r3, [r7, #4] - 8009e4c: f203 439c addw r3, r3, #1180 @ 0x49c - 8009e50: 4619 mov r1, r3 - 8009e52: 4610 mov r0, r2 - 8009e54: f7fe fbcb bl 80085ee -} - 8009e58: bf00 nop - 8009e5a: 3708 adds r7, #8 - 8009e5c: 46bd mov sp, r7 - 8009e5e: bd80 pop {r7, pc} - -08009e60 : -#if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U) -static void PCD_DataOutStageCallback(PCD_HandleTypeDef *hpcd, uint8_t epnum) -#else -void HAL_PCD_DataOutStageCallback(PCD_HandleTypeDef *hpcd, uint8_t epnum) -#endif /* USE_HAL_PCD_REGISTER_CALLBACKS */ -{ - 8009e60: b580 push {r7, lr} - 8009e62: b082 sub sp, #8 - 8009e64: af00 add r7, sp, #0 - 8009e66: 6078 str r0, [r7, #4] - 8009e68: 460b mov r3, r1 - 8009e6a: 70fb strb r3, [r7, #3] - USBD_LL_DataOutStage((USBD_HandleTypeDef*)hpcd->pData, epnum, hpcd->OUT_ep[epnum].xfer_buff); - 8009e6c: 687b ldr r3, [r7, #4] - 8009e6e: f8d3 04e0 ldr.w r0, [r3, #1248] @ 0x4e0 - 8009e72: 78fa ldrb r2, [r7, #3] - 8009e74: 6879 ldr r1, [r7, #4] - 8009e76: 4613 mov r3, r2 - 8009e78: 00db lsls r3, r3, #3 - 8009e7a: 4413 add r3, r2 - 8009e7c: 009b lsls r3, r3, #2 - 8009e7e: 440b add r3, r1 - 8009e80: f503 7318 add.w r3, r3, #608 @ 0x260 - 8009e84: 681a ldr r2, [r3, #0] - 8009e86: 78fb ldrb r3, [r7, #3] - 8009e88: 4619 mov r1, r3 - 8009e8a: f7fe fc05 bl 8008698 -} - 8009e8e: bf00 nop - 8009e90: 3708 adds r7, #8 - 8009e92: 46bd mov sp, r7 - 8009e94: bd80 pop {r7, pc} - -08009e96 : -#if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U) -static void PCD_DataInStageCallback(PCD_HandleTypeDef *hpcd, uint8_t epnum) -#else -void HAL_PCD_DataInStageCallback(PCD_HandleTypeDef *hpcd, uint8_t epnum) -#endif /* USE_HAL_PCD_REGISTER_CALLBACKS */ -{ - 8009e96: b580 push {r7, lr} - 8009e98: b082 sub sp, #8 - 8009e9a: af00 add r7, sp, #0 - 8009e9c: 6078 str r0, [r7, #4] - 8009e9e: 460b mov r3, r1 - 8009ea0: 70fb strb r3, [r7, #3] - USBD_LL_DataInStage((USBD_HandleTypeDef*)hpcd->pData, epnum, hpcd->IN_ep[epnum].xfer_buff); - 8009ea2: 687b ldr r3, [r7, #4] - 8009ea4: f8d3 04e0 ldr.w r0, [r3, #1248] @ 0x4e0 - 8009ea8: 78fa ldrb r2, [r7, #3] - 8009eaa: 6879 ldr r1, [r7, #4] - 8009eac: 4613 mov r3, r2 - 8009eae: 00db lsls r3, r3, #3 - 8009eb0: 4413 add r3, r2 - 8009eb2: 009b lsls r3, r3, #2 - 8009eb4: 440b add r3, r1 - 8009eb6: 3320 adds r3, #32 - 8009eb8: 681a ldr r2, [r3, #0] - 8009eba: 78fb ldrb r3, [r7, #3] - 8009ebc: 4619 mov r1, r3 - 8009ebe: f7fe fca7 bl 8008810 -} - 8009ec2: bf00 nop - 8009ec4: 3708 adds r7, #8 - 8009ec6: 46bd mov sp, r7 - 8009ec8: bd80 pop {r7, pc} - -08009eca : -#if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U) -static void PCD_SOFCallback(PCD_HandleTypeDef *hpcd) -#else -void HAL_PCD_SOFCallback(PCD_HandleTypeDef *hpcd) -#endif /* USE_HAL_PCD_REGISTER_CALLBACKS */ -{ - 8009eca: b580 push {r7, lr} - 8009ecc: b082 sub sp, #8 - 8009ece: af00 add r7, sp, #0 - 8009ed0: 6078 str r0, [r7, #4] - USBD_LL_SOF((USBD_HandleTypeDef*)hpcd->pData); - 8009ed2: 687b ldr r3, [r7, #4] - 8009ed4: f8d3 34e0 ldr.w r3, [r3, #1248] @ 0x4e0 - 8009ed8: 4618 mov r0, r3 - 8009eda: f7fe fdeb bl 8008ab4 -} - 8009ede: bf00 nop - 8009ee0: 3708 adds r7, #8 - 8009ee2: 46bd mov sp, r7 - 8009ee4: bd80 pop {r7, pc} - -08009ee6 : -#if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U) -static void PCD_ResetCallback(PCD_HandleTypeDef *hpcd) -#else -void HAL_PCD_ResetCallback(PCD_HandleTypeDef *hpcd) -#endif /* USE_HAL_PCD_REGISTER_CALLBACKS */ -{ - 8009ee6: b580 push {r7, lr} - 8009ee8: b084 sub sp, #16 - 8009eea: af00 add r7, sp, #0 - 8009eec: 6078 str r0, [r7, #4] - USBD_SpeedTypeDef speed = USBD_SPEED_FULL; - 8009eee: 2301 movs r3, #1 - 8009ef0: 73fb strb r3, [r7, #15] - - if ( hpcd->Init.speed == PCD_SPEED_HIGH) - 8009ef2: 687b ldr r3, [r7, #4] - 8009ef4: 79db ldrb r3, [r3, #7] - 8009ef6: 2b00 cmp r3, #0 - 8009ef8: d102 bne.n 8009f00 - { - speed = USBD_SPEED_HIGH; - 8009efa: 2300 movs r3, #0 - 8009efc: 73fb strb r3, [r7, #15] - 8009efe: e008 b.n 8009f12 - } - else if ( hpcd->Init.speed == PCD_SPEED_FULL) - 8009f00: 687b ldr r3, [r7, #4] - 8009f02: 79db ldrb r3, [r3, #7] - 8009f04: 2b02 cmp r3, #2 - 8009f06: d102 bne.n 8009f0e - { - speed = USBD_SPEED_FULL; - 8009f08: 2301 movs r3, #1 - 8009f0a: 73fb strb r3, [r7, #15] - 8009f0c: e001 b.n 8009f12 - } - else - { - Error_Handler(); - 8009f0e: f7f6 fe5b bl 8000bc8 - } - /* Set Speed. */ - USBD_LL_SetSpeed((USBD_HandleTypeDef*)hpcd->pData, speed); - 8009f12: 687b ldr r3, [r7, #4] - 8009f14: f8d3 34e0 ldr.w r3, [r3, #1248] @ 0x4e0 - 8009f18: 7bfa ldrb r2, [r7, #15] - 8009f1a: 4611 mov r1, r2 - 8009f1c: 4618 mov r0, r3 - 8009f1e: f7fe fd85 bl 8008a2c - - /* Reset Device. */ - USBD_LL_Reset((USBD_HandleTypeDef*)hpcd->pData); - 8009f22: 687b ldr r3, [r7, #4] - 8009f24: f8d3 34e0 ldr.w r3, [r3, #1248] @ 0x4e0 - 8009f28: 4618 mov r0, r3 - 8009f2a: f7fe fd2c bl 8008986 -} - 8009f2e: bf00 nop - 8009f30: 3710 adds r7, #16 - 8009f32: 46bd mov sp, r7 - 8009f34: bd80 pop {r7, pc} - ... - -08009f38 : -#if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U) -static void PCD_SuspendCallback(PCD_HandleTypeDef *hpcd) -#else -void HAL_PCD_SuspendCallback(PCD_HandleTypeDef *hpcd) -#endif /* USE_HAL_PCD_REGISTER_CALLBACKS */ -{ - 8009f38: b580 push {r7, lr} - 8009f3a: b082 sub sp, #8 - 8009f3c: af00 add r7, sp, #0 - 8009f3e: 6078 str r0, [r7, #4] - /* Inform USB library that core enters in suspend Mode. */ - USBD_LL_Suspend((USBD_HandleTypeDef*)hpcd->pData); - 8009f40: 687b ldr r3, [r7, #4] - 8009f42: f8d3 34e0 ldr.w r3, [r3, #1248] @ 0x4e0 - 8009f46: 4618 mov r0, r3 - 8009f48: f7fe fd80 bl 8008a4c - __HAL_PCD_GATE_PHYCLOCK(hpcd); - 8009f4c: 687b ldr r3, [r7, #4] - 8009f4e: 681b ldr r3, [r3, #0] - 8009f50: f503 6360 add.w r3, r3, #3584 @ 0xe00 - 8009f54: 681b ldr r3, [r3, #0] - 8009f56: 687a ldr r2, [r7, #4] - 8009f58: 6812 ldr r2, [r2, #0] - 8009f5a: f502 6260 add.w r2, r2, #3584 @ 0xe00 - 8009f5e: f043 0301 orr.w r3, r3, #1 - 8009f62: 6013 str r3, [r2, #0] - /* Enter in STOP mode. */ - /* USER CODE BEGIN 2 */ - if (hpcd->Init.low_power_enable) - 8009f64: 687b ldr r3, [r7, #4] - 8009f66: 7adb ldrb r3, [r3, #11] - 8009f68: 2b00 cmp r3, #0 - 8009f6a: d005 beq.n 8009f78 - { - /* Set SLEEPDEEP bit and SleepOnExit of Cortex System Control Register. */ - SCB->SCR |= (uint32_t)((uint32_t)(SCB_SCR_SLEEPDEEP_Msk | SCB_SCR_SLEEPONEXIT_Msk)); - 8009f6c: 4b04 ldr r3, [pc, #16] @ (8009f80 ) - 8009f6e: 691b ldr r3, [r3, #16] - 8009f70: 4a03 ldr r2, [pc, #12] @ (8009f80 ) - 8009f72: f043 0306 orr.w r3, r3, #6 - 8009f76: 6113 str r3, [r2, #16] - } - /* USER CODE END 2 */ -} - 8009f78: bf00 nop - 8009f7a: 3708 adds r7, #8 - 8009f7c: 46bd mov sp, r7 - 8009f7e: bd80 pop {r7, pc} - 8009f80: e000ed00 .word 0xe000ed00 - -08009f84 : -#if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U) -static void PCD_ResumeCallback(PCD_HandleTypeDef *hpcd) -#else -void HAL_PCD_ResumeCallback(PCD_HandleTypeDef *hpcd) -#endif /* USE_HAL_PCD_REGISTER_CALLBACKS */ -{ - 8009f84: b580 push {r7, lr} - 8009f86: b082 sub sp, #8 - 8009f88: af00 add r7, sp, #0 - 8009f8a: 6078 str r0, [r7, #4] - /* USER CODE BEGIN 3 */ - - /* USER CODE END 3 */ - USBD_LL_Resume((USBD_HandleTypeDef*)hpcd->pData); - 8009f8c: 687b ldr r3, [r7, #4] - 8009f8e: f8d3 34e0 ldr.w r3, [r3, #1248] @ 0x4e0 - 8009f92: 4618 mov r0, r3 - 8009f94: f7fe fd76 bl 8008a84 + 8009f90: 2100 movs r1, #0 + 8009f92: 6878 ldr r0, [r7, #4] + 8009f94: f000 fc26 bl 800a7e4 } 8009f98: bf00 nop 8009f9a: 3708 adds r7, #8 8009f9c: 46bd mov sp, r7 8009f9e: bd80 pop {r7, pc} -08009fa0 : +08009fa0 : + * @param unicode : Formatted string buffer (unicode) + * @param len : descriptor length + * @retval None + */ +void USBD_GetString(uint8_t *desc, uint8_t *unicode, uint16_t *len) +{ + 8009fa0: b580 push {r7, lr} + 8009fa2: b086 sub sp, #24 + 8009fa4: af00 add r7, sp, #0 + 8009fa6: 60f8 str r0, [r7, #12] + 8009fa8: 60b9 str r1, [r7, #8] + 8009faa: 607a str r2, [r7, #4] + uint8_t idx = 0U; + 8009fac: 2300 movs r3, #0 + 8009fae: 75fb strb r3, [r7, #23] + uint8_t *pdesc; + + if (desc == NULL) + 8009fb0: 68fb ldr r3, [r7, #12] + 8009fb2: 2b00 cmp r3, #0 + 8009fb4: d042 beq.n 800a03c + { + return; + } + + pdesc = desc; + 8009fb6: 68fb ldr r3, [r7, #12] + 8009fb8: 613b str r3, [r7, #16] + *len = MIN(USBD_MAX_STR_DESC_SIZ, ((uint16_t)USBD_GetLen(pdesc) * 2U) + 2U); + 8009fba: 6938 ldr r0, [r7, #16] + 8009fbc: f000 f842 bl 800a044 + 8009fc0: 4603 mov r3, r0 + 8009fc2: 3301 adds r3, #1 + 8009fc4: 005b lsls r3, r3, #1 + 8009fc6: f5b3 7f00 cmp.w r3, #512 @ 0x200 + 8009fca: d808 bhi.n 8009fde + 8009fcc: 6938 ldr r0, [r7, #16] + 8009fce: f000 f839 bl 800a044 + 8009fd2: 4603 mov r3, r0 + 8009fd4: 3301 adds r3, #1 + 8009fd6: b29b uxth r3, r3 + 8009fd8: 005b lsls r3, r3, #1 + 8009fda: b29a uxth r2, r3 + 8009fdc: e001 b.n 8009fe2 + 8009fde: f44f 7200 mov.w r2, #512 @ 0x200 + 8009fe2: 687b ldr r3, [r7, #4] + 8009fe4: 801a strh r2, [r3, #0] + + unicode[idx] = *(uint8_t *)len; + 8009fe6: 7dfb ldrb r3, [r7, #23] + 8009fe8: 68ba ldr r2, [r7, #8] + 8009fea: 4413 add r3, r2 + 8009fec: 687a ldr r2, [r7, #4] + 8009fee: 7812 ldrb r2, [r2, #0] + 8009ff0: 701a strb r2, [r3, #0] + idx++; + 8009ff2: 7dfb ldrb r3, [r7, #23] + 8009ff4: 3301 adds r3, #1 + 8009ff6: 75fb strb r3, [r7, #23] + unicode[idx] = USB_DESC_TYPE_STRING; + 8009ff8: 7dfb ldrb r3, [r7, #23] + 8009ffa: 68ba ldr r2, [r7, #8] + 8009ffc: 4413 add r3, r2 + 8009ffe: 2203 movs r2, #3 + 800a000: 701a strb r2, [r3, #0] + idx++; + 800a002: 7dfb ldrb r3, [r7, #23] + 800a004: 3301 adds r3, #1 + 800a006: 75fb strb r3, [r7, #23] + + while (*pdesc != (uint8_t)'\0') + 800a008: e013 b.n 800a032 + { + unicode[idx] = *pdesc; + 800a00a: 7dfb ldrb r3, [r7, #23] + 800a00c: 68ba ldr r2, [r7, #8] + 800a00e: 4413 add r3, r2 + 800a010: 693a ldr r2, [r7, #16] + 800a012: 7812 ldrb r2, [r2, #0] + 800a014: 701a strb r2, [r3, #0] + pdesc++; + 800a016: 693b ldr r3, [r7, #16] + 800a018: 3301 adds r3, #1 + 800a01a: 613b str r3, [r7, #16] + idx++; + 800a01c: 7dfb ldrb r3, [r7, #23] + 800a01e: 3301 adds r3, #1 + 800a020: 75fb strb r3, [r7, #23] + + unicode[idx] = 0U; + 800a022: 7dfb ldrb r3, [r7, #23] + 800a024: 68ba ldr r2, [r7, #8] + 800a026: 4413 add r3, r2 + 800a028: 2200 movs r2, #0 + 800a02a: 701a strb r2, [r3, #0] + idx++; + 800a02c: 7dfb ldrb r3, [r7, #23] + 800a02e: 3301 adds r3, #1 + 800a030: 75fb strb r3, [r7, #23] + while (*pdesc != (uint8_t)'\0') + 800a032: 693b ldr r3, [r7, #16] + 800a034: 781b ldrb r3, [r3, #0] + 800a036: 2b00 cmp r3, #0 + 800a038: d1e7 bne.n 800a00a + 800a03a: e000 b.n 800a03e + return; + 800a03c: bf00 nop + } +} + 800a03e: 3718 adds r7, #24 + 800a040: 46bd mov sp, r7 + 800a042: bd80 pop {r7, pc} + +0800a044 : + * return the string length + * @param buf : pointer to the ascii string buffer + * @retval string length + */ +static uint8_t USBD_GetLen(uint8_t *buf) +{ + 800a044: b480 push {r7} + 800a046: b085 sub sp, #20 + 800a048: af00 add r7, sp, #0 + 800a04a: 6078 str r0, [r7, #4] + uint8_t len = 0U; + 800a04c: 2300 movs r3, #0 + 800a04e: 73fb strb r3, [r7, #15] + uint8_t *pbuff = buf; + 800a050: 687b ldr r3, [r7, #4] + 800a052: 60bb str r3, [r7, #8] + + while (*pbuff != (uint8_t)'\0') + 800a054: e005 b.n 800a062 + { + len++; + 800a056: 7bfb ldrb r3, [r7, #15] + 800a058: 3301 adds r3, #1 + 800a05a: 73fb strb r3, [r7, #15] + pbuff++; + 800a05c: 68bb ldr r3, [r7, #8] + 800a05e: 3301 adds r3, #1 + 800a060: 60bb str r3, [r7, #8] + while (*pbuff != (uint8_t)'\0') + 800a062: 68bb ldr r3, [r7, #8] + 800a064: 781b ldrb r3, [r3, #0] + 800a066: 2b00 cmp r3, #0 + 800a068: d1f5 bne.n 800a056 + } + + return len; + 800a06a: 7bfb ldrb r3, [r7, #15] +} + 800a06c: 4618 mov r0, r3 + 800a06e: 3714 adds r7, #20 + 800a070: 46bd mov sp, r7 + 800a072: f85d 7b04 ldr.w r7, [sp], #4 + 800a076: 4770 bx lr + +0800a078 : + * @param len: length of data to be sent + * @retval status + */ +USBD_StatusTypeDef USBD_CtlSendData(USBD_HandleTypeDef *pdev, + uint8_t *pbuf, uint32_t len) +{ + 800a078: b580 push {r7, lr} + 800a07a: b084 sub sp, #16 + 800a07c: af00 add r7, sp, #0 + 800a07e: 60f8 str r0, [r7, #12] + 800a080: 60b9 str r1, [r7, #8] + 800a082: 607a str r2, [r7, #4] + /* Set EP0 State */ + pdev->ep0_state = USBD_EP0_DATA_IN; + 800a084: 68fb ldr r3, [r7, #12] + 800a086: 2202 movs r2, #2 + 800a088: f8c3 2294 str.w r2, [r3, #660] @ 0x294 + pdev->ep_in[0].total_length = len; + 800a08c: 68fb ldr r3, [r7, #12] + 800a08e: 687a ldr r2, [r7, #4] + 800a090: 615a str r2, [r3, #20] + pdev->ep_in[0].pbuffer = pbuf; + 800a092: 68fb ldr r3, [r7, #12] + 800a094: 68ba ldr r2, [r7, #8] + 800a096: 625a str r2, [r3, #36] @ 0x24 + +#ifdef USBD_AVOID_PACKET_SPLIT_MPS + pdev->ep_in[0].rem_length = 0U; +#else + pdev->ep_in[0].rem_length = len; + 800a098: 68fb ldr r3, [r7, #12] + 800a09a: 687a ldr r2, [r7, #4] + 800a09c: 619a str r2, [r3, #24] +#endif /* USBD_AVOID_PACKET_SPLIT_MPS */ + + /* Start the transfer */ + (void)USBD_LL_Transmit(pdev, 0x00U, pbuf, len); + 800a09e: 687b ldr r3, [r7, #4] + 800a0a0: 68ba ldr r2, [r7, #8] + 800a0a2: 2100 movs r1, #0 + 800a0a4: 68f8 ldr r0, [r7, #12] + 800a0a6: f000 fc26 bl 800a8f6 + + return USBD_OK; + 800a0aa: 2300 movs r3, #0 +} + 800a0ac: 4618 mov r0, r3 + 800a0ae: 3710 adds r7, #16 + 800a0b0: 46bd mov sp, r7 + 800a0b2: bd80 pop {r7, pc} + +0800a0b4 : + * @param len: length of data to be sent + * @retval status + */ +USBD_StatusTypeDef USBD_CtlContinueSendData(USBD_HandleTypeDef *pdev, + uint8_t *pbuf, uint32_t len) +{ + 800a0b4: b580 push {r7, lr} + 800a0b6: b084 sub sp, #16 + 800a0b8: af00 add r7, sp, #0 + 800a0ba: 60f8 str r0, [r7, #12] + 800a0bc: 60b9 str r1, [r7, #8] + 800a0be: 607a str r2, [r7, #4] + /* Start the next transfer */ + (void)USBD_LL_Transmit(pdev, 0x00U, pbuf, len); + 800a0c0: 687b ldr r3, [r7, #4] + 800a0c2: 68ba ldr r2, [r7, #8] + 800a0c4: 2100 movs r1, #0 + 800a0c6: 68f8 ldr r0, [r7, #12] + 800a0c8: f000 fc15 bl 800a8f6 + + return USBD_OK; + 800a0cc: 2300 movs r3, #0 +} + 800a0ce: 4618 mov r0, r3 + 800a0d0: 3710 adds r7, #16 + 800a0d2: 46bd mov sp, r7 + 800a0d4: bd80 pop {r7, pc} + +0800a0d6 : + * @param len: length of data to be received + * @retval status + */ +USBD_StatusTypeDef USBD_CtlContinueRx(USBD_HandleTypeDef *pdev, + uint8_t *pbuf, uint32_t len) +{ + 800a0d6: b580 push {r7, lr} + 800a0d8: b084 sub sp, #16 + 800a0da: af00 add r7, sp, #0 + 800a0dc: 60f8 str r0, [r7, #12] + 800a0de: 60b9 str r1, [r7, #8] + 800a0e0: 607a str r2, [r7, #4] + (void)USBD_LL_PrepareReceive(pdev, 0U, pbuf, len); + 800a0e2: 687b ldr r3, [r7, #4] + 800a0e4: 68ba ldr r2, [r7, #8] + 800a0e6: 2100 movs r1, #0 + 800a0e8: 68f8 ldr r0, [r7, #12] + 800a0ea: f000 fc25 bl 800a938 + + return USBD_OK; + 800a0ee: 2300 movs r3, #0 +} + 800a0f0: 4618 mov r0, r3 + 800a0f2: 3710 adds r7, #16 + 800a0f4: 46bd mov sp, r7 + 800a0f6: bd80 pop {r7, pc} + +0800a0f8 : + * send zero lzngth packet on the ctl pipe + * @param pdev: device instance + * @retval status + */ +USBD_StatusTypeDef USBD_CtlSendStatus(USBD_HandleTypeDef *pdev) +{ + 800a0f8: b580 push {r7, lr} + 800a0fa: b082 sub sp, #8 + 800a0fc: af00 add r7, sp, #0 + 800a0fe: 6078 str r0, [r7, #4] + /* Set EP0 State */ + pdev->ep0_state = USBD_EP0_STATUS_IN; + 800a100: 687b ldr r3, [r7, #4] + 800a102: 2204 movs r2, #4 + 800a104: f8c3 2294 str.w r2, [r3, #660] @ 0x294 + + /* Start the transfer */ + (void)USBD_LL_Transmit(pdev, 0x00U, NULL, 0U); + 800a108: 2300 movs r3, #0 + 800a10a: 2200 movs r2, #0 + 800a10c: 2100 movs r1, #0 + 800a10e: 6878 ldr r0, [r7, #4] + 800a110: f000 fbf1 bl 800a8f6 + + return USBD_OK; + 800a114: 2300 movs r3, #0 +} + 800a116: 4618 mov r0, r3 + 800a118: 3708 adds r7, #8 + 800a11a: 46bd mov sp, r7 + 800a11c: bd80 pop {r7, pc} + +0800a11e : + * receive zero lzngth packet on the ctl pipe + * @param pdev: device instance + * @retval status + */ +USBD_StatusTypeDef USBD_CtlReceiveStatus(USBD_HandleTypeDef *pdev) +{ + 800a11e: b580 push {r7, lr} + 800a120: b082 sub sp, #8 + 800a122: af00 add r7, sp, #0 + 800a124: 6078 str r0, [r7, #4] + /* Set EP0 State */ + pdev->ep0_state = USBD_EP0_STATUS_OUT; + 800a126: 687b ldr r3, [r7, #4] + 800a128: 2205 movs r2, #5 + 800a12a: f8c3 2294 str.w r2, [r3, #660] @ 0x294 + + /* Start the transfer */ + (void)USBD_LL_PrepareReceive(pdev, 0U, NULL, 0U); + 800a12e: 2300 movs r3, #0 + 800a130: 2200 movs r2, #0 + 800a132: 2100 movs r1, #0 + 800a134: 6878 ldr r0, [r7, #4] + 800a136: f000 fbff bl 800a938 + + return USBD_OK; + 800a13a: 2300 movs r3, #0 +} + 800a13c: 4618 mov r0, r3 + 800a13e: 3708 adds r7, #8 + 800a140: 46bd mov sp, r7 + 800a142: bd80 pop {r7, pc} + +0800a144 : +/** + * Init USB device Library, add supported class and start the library + * @retval None + */ +void MX_USB_DEVICE_Init(void) +{ + 800a144: b580 push {r7, lr} + 800a146: af00 add r7, sp, #0 + /* USER CODE BEGIN USB_DEVICE_Init_PreTreatment */ + + /* USER CODE END USB_DEVICE_Init_PreTreatment */ + + /* Init Device Library, add supported class and start the library. */ + if (USBD_Init(&hUsbDeviceFS, &FS_Desc, DEVICE_FS) != USBD_OK) + 800a148: 2200 movs r2, #0 + 800a14a: 490e ldr r1, [pc, #56] @ (800a184 ) + 800a14c: 480e ldr r0, [pc, #56] @ (800a188 ) + 800a14e: f7fe fcd1 bl 8008af4 + 800a152: 4603 mov r3, r0 + 800a154: 2b00 cmp r3, #0 + 800a156: d001 beq.n 800a15c + { + Error_Handler(); + 800a158: f7f6 fdfe bl 8000d58 + } + if (USBD_RegisterClass(&hUsbDeviceFS, &USBD_HID) != USBD_OK) + 800a15c: 490b ldr r1, [pc, #44] @ (800a18c ) + 800a15e: 480a ldr r0, [pc, #40] @ (800a188 ) + 800a160: f7fe fcf8 bl 8008b54 + 800a164: 4603 mov r3, r0 + 800a166: 2b00 cmp r3, #0 + 800a168: d001 beq.n 800a16e + { + Error_Handler(); + 800a16a: f7f6 fdf5 bl 8000d58 + } + if (USBD_Start(&hUsbDeviceFS) != USBD_OK) + 800a16e: 4806 ldr r0, [pc, #24] @ (800a188 ) + 800a170: f7fe fd26 bl 8008bc0 + 800a174: 4603 mov r3, r0 + 800a176: 2b00 cmp r3, #0 + 800a178: d001 beq.n 800a17e + { + Error_Handler(); + 800a17a: f7f6 fded bl 8000d58 + } + + /* USER CODE BEGIN USB_DEVICE_Init_PostTreatment */ + + /* USER CODE END USB_DEVICE_Init_PostTreatment */ +} + 800a17e: bf00 nop + 800a180: bd80 pop {r7, pc} + 800a182: bf00 nop + 800a184: 20000140 .word 0x20000140 + 800a188: 20000724 .word 0x20000724 + 800a18c: 2000009c .word 0x2000009c + +0800a190 : + * @param speed : Current device speed + * @param length : Pointer to data length variable + * @retval Pointer to descriptor buffer + */ +uint8_t * USBD_FS_DeviceDescriptor(USBD_SpeedTypeDef speed, uint16_t *length) +{ + 800a190: b480 push {r7} + 800a192: b083 sub sp, #12 + 800a194: af00 add r7, sp, #0 + 800a196: 4603 mov r3, r0 + 800a198: 6039 str r1, [r7, #0] + 800a19a: 71fb strb r3, [r7, #7] + UNUSED(speed); + *length = sizeof(USBD_FS_DeviceDesc); + 800a19c: 683b ldr r3, [r7, #0] + 800a19e: 2212 movs r2, #18 + 800a1a0: 801a strh r2, [r3, #0] + return USBD_FS_DeviceDesc; + 800a1a2: 4b03 ldr r3, [pc, #12] @ (800a1b0 ) +} + 800a1a4: 4618 mov r0, r3 + 800a1a6: 370c adds r7, #12 + 800a1a8: 46bd mov sp, r7 + 800a1aa: f85d 7b04 ldr.w r7, [sp], #4 + 800a1ae: 4770 bx lr + 800a1b0: 20000160 .word 0x20000160 + +0800a1b4 : + * @param speed : Current device speed + * @param length : Pointer to data length variable + * @retval Pointer to descriptor buffer + */ +uint8_t * USBD_FS_LangIDStrDescriptor(USBD_SpeedTypeDef speed, uint16_t *length) +{ + 800a1b4: b480 push {r7} + 800a1b6: b083 sub sp, #12 + 800a1b8: af00 add r7, sp, #0 + 800a1ba: 4603 mov r3, r0 + 800a1bc: 6039 str r1, [r7, #0] + 800a1be: 71fb strb r3, [r7, #7] + UNUSED(speed); + *length = sizeof(USBD_LangIDDesc); + 800a1c0: 683b ldr r3, [r7, #0] + 800a1c2: 2204 movs r2, #4 + 800a1c4: 801a strh r2, [r3, #0] + return USBD_LangIDDesc; + 800a1c6: 4b03 ldr r3, [pc, #12] @ (800a1d4 ) +} + 800a1c8: 4618 mov r0, r3 + 800a1ca: 370c adds r7, #12 + 800a1cc: 46bd mov sp, r7 + 800a1ce: f85d 7b04 ldr.w r7, [sp], #4 + 800a1d2: 4770 bx lr + 800a1d4: 20000180 .word 0x20000180 + +0800a1d8 : + * @param speed : Current device speed + * @param length : Pointer to data length variable + * @retval Pointer to descriptor buffer + */ +uint8_t * USBD_FS_ProductStrDescriptor(USBD_SpeedTypeDef speed, uint16_t *length) +{ + 800a1d8: b580 push {r7, lr} + 800a1da: b082 sub sp, #8 + 800a1dc: af00 add r7, sp, #0 + 800a1de: 4603 mov r3, r0 + 800a1e0: 6039 str r1, [r7, #0] + 800a1e2: 71fb strb r3, [r7, #7] + if(speed == 0) + 800a1e4: 79fb ldrb r3, [r7, #7] + 800a1e6: 2b00 cmp r3, #0 + 800a1e8: d105 bne.n 800a1f6 + { + USBD_GetString((uint8_t *)USBD_PRODUCT_STRING_FS, USBD_StrDesc, length); + 800a1ea: 683a ldr r2, [r7, #0] + 800a1ec: 4907 ldr r1, [pc, #28] @ (800a20c ) + 800a1ee: 4808 ldr r0, [pc, #32] @ (800a210 ) + 800a1f0: f7ff fed6 bl 8009fa0 + 800a1f4: e004 b.n 800a200 + } + else + { + USBD_GetString((uint8_t *)USBD_PRODUCT_STRING_FS, USBD_StrDesc, length); + 800a1f6: 683a ldr r2, [r7, #0] + 800a1f8: 4904 ldr r1, [pc, #16] @ (800a20c ) + 800a1fa: 4805 ldr r0, [pc, #20] @ (800a210 ) + 800a1fc: f7ff fed0 bl 8009fa0 + } + return USBD_StrDesc; + 800a200: 4b02 ldr r3, [pc, #8] @ (800a20c ) +} + 800a202: 4618 mov r0, r3 + 800a204: 3708 adds r7, #8 + 800a206: 46bd mov sp, r7 + 800a208: bd80 pop {r7, pc} + 800a20a: bf00 nop + 800a20c: 20000a00 .word 0x20000a00 + 800a210: 0800ab2c .word 0x0800ab2c + +0800a214 : + * @param speed : Current device speed + * @param length : Pointer to data length variable + * @retval Pointer to descriptor buffer + */ +uint8_t * USBD_FS_ManufacturerStrDescriptor(USBD_SpeedTypeDef speed, uint16_t *length) +{ + 800a214: b580 push {r7, lr} + 800a216: b082 sub sp, #8 + 800a218: af00 add r7, sp, #0 + 800a21a: 4603 mov r3, r0 + 800a21c: 6039 str r1, [r7, #0] + 800a21e: 71fb strb r3, [r7, #7] + UNUSED(speed); + USBD_GetString((uint8_t *)USBD_MANUFACTURER_STRING, USBD_StrDesc, length); + 800a220: 683a ldr r2, [r7, #0] + 800a222: 4904 ldr r1, [pc, #16] @ (800a234 ) + 800a224: 4804 ldr r0, [pc, #16] @ (800a238 ) + 800a226: f7ff febb bl 8009fa0 + return USBD_StrDesc; + 800a22a: 4b02 ldr r3, [pc, #8] @ (800a234 ) +} + 800a22c: 4618 mov r0, r3 + 800a22e: 3708 adds r7, #8 + 800a230: 46bd mov sp, r7 + 800a232: bd80 pop {r7, pc} + 800a234: 20000a00 .word 0x20000a00 + 800a238: 0800ab40 .word 0x0800ab40 + +0800a23c : + * @param speed : Current device speed + * @param length : Pointer to data length variable + * @retval Pointer to descriptor buffer + */ +uint8_t * USBD_FS_SerialStrDescriptor(USBD_SpeedTypeDef speed, uint16_t *length) +{ + 800a23c: b580 push {r7, lr} + 800a23e: b082 sub sp, #8 + 800a240: af00 add r7, sp, #0 + 800a242: 4603 mov r3, r0 + 800a244: 6039 str r1, [r7, #0] + 800a246: 71fb strb r3, [r7, #7] + UNUSED(speed); + *length = USB_SIZ_STRING_SERIAL; + 800a248: 683b ldr r3, [r7, #0] + 800a24a: 221a movs r2, #26 + 800a24c: 801a strh r2, [r3, #0] + + /* Update the serial number string descriptor with the data from the unique + * ID */ + Get_SerialNum(); + 800a24e: f000 f855 bl 800a2fc + /* USER CODE BEGIN USBD_FS_SerialStrDescriptor */ + + /* USER CODE END USBD_FS_SerialStrDescriptor */ + return (uint8_t *) USBD_StringSerial; + 800a252: 4b02 ldr r3, [pc, #8] @ (800a25c ) +} + 800a254: 4618 mov r0, r3 + 800a256: 3708 adds r7, #8 + 800a258: 46bd mov sp, r7 + 800a25a: bd80 pop {r7, pc} + 800a25c: 20000184 .word 0x20000184 + +0800a260 : + * @param speed : Current device speed + * @param length : Pointer to data length variable + * @retval Pointer to descriptor buffer + */ +uint8_t * USBD_FS_ConfigStrDescriptor(USBD_SpeedTypeDef speed, uint16_t *length) +{ + 800a260: b580 push {r7, lr} + 800a262: b082 sub sp, #8 + 800a264: af00 add r7, sp, #0 + 800a266: 4603 mov r3, r0 + 800a268: 6039 str r1, [r7, #0] + 800a26a: 71fb strb r3, [r7, #7] + if(speed == USBD_SPEED_HIGH) + 800a26c: 79fb ldrb r3, [r7, #7] + 800a26e: 2b00 cmp r3, #0 + 800a270: d105 bne.n 800a27e + { + USBD_GetString((uint8_t *)USBD_CONFIGURATION_STRING_FS, USBD_StrDesc, length); + 800a272: 683a ldr r2, [r7, #0] + 800a274: 4907 ldr r1, [pc, #28] @ (800a294 ) + 800a276: 4808 ldr r0, [pc, #32] @ (800a298 ) + 800a278: f7ff fe92 bl 8009fa0 + 800a27c: e004 b.n 800a288 + } + else + { + USBD_GetString((uint8_t *)USBD_CONFIGURATION_STRING_FS, USBD_StrDesc, length); + 800a27e: 683a ldr r2, [r7, #0] + 800a280: 4904 ldr r1, [pc, #16] @ (800a294 ) + 800a282: 4805 ldr r0, [pc, #20] @ (800a298 ) + 800a284: f7ff fe8c bl 8009fa0 + } + return USBD_StrDesc; + 800a288: 4b02 ldr r3, [pc, #8] @ (800a294 ) +} + 800a28a: 4618 mov r0, r3 + 800a28c: 3708 adds r7, #8 + 800a28e: 46bd mov sp, r7 + 800a290: bd80 pop {r7, pc} + 800a292: bf00 nop + 800a294: 20000a00 .word 0x20000a00 + 800a298: 0800ab4c .word 0x0800ab4c + +0800a29c : + * @param speed : Current device speed + * @param length : Pointer to data length variable + * @retval Pointer to descriptor buffer + */ +uint8_t * USBD_FS_InterfaceStrDescriptor(USBD_SpeedTypeDef speed, uint16_t *length) +{ + 800a29c: b580 push {r7, lr} + 800a29e: b082 sub sp, #8 + 800a2a0: af00 add r7, sp, #0 + 800a2a2: 4603 mov r3, r0 + 800a2a4: 6039 str r1, [r7, #0] + 800a2a6: 71fb strb r3, [r7, #7] + if(speed == 0) + 800a2a8: 79fb ldrb r3, [r7, #7] + 800a2aa: 2b00 cmp r3, #0 + 800a2ac: d105 bne.n 800a2ba + { + USBD_GetString((uint8_t *)USBD_INTERFACE_STRING_FS, USBD_StrDesc, length); + 800a2ae: 683a ldr r2, [r7, #0] + 800a2b0: 4907 ldr r1, [pc, #28] @ (800a2d0 ) + 800a2b2: 4808 ldr r0, [pc, #32] @ (800a2d4 ) + 800a2b4: f7ff fe74 bl 8009fa0 + 800a2b8: e004 b.n 800a2c4 + } + else + { + USBD_GetString((uint8_t *)USBD_INTERFACE_STRING_FS, USBD_StrDesc, length); + 800a2ba: 683a ldr r2, [r7, #0] + 800a2bc: 4904 ldr r1, [pc, #16] @ (800a2d0 ) + 800a2be: 4805 ldr r0, [pc, #20] @ (800a2d4 ) + 800a2c0: f7ff fe6e bl 8009fa0 + } + return USBD_StrDesc; + 800a2c4: 4b02 ldr r3, [pc, #8] @ (800a2d0 ) +} + 800a2c6: 4618 mov r0, r3 + 800a2c8: 3708 adds r7, #8 + 800a2ca: 46bd mov sp, r7 + 800a2cc: bd80 pop {r7, pc} + 800a2ce: bf00 nop + 800a2d0: 20000a00 .word 0x20000a00 + 800a2d4: 0800ab58 .word 0x0800ab58 + +0800a2d8 : + * @param speed : Current device speed + * @param length : Pointer to data length variable + * @retval Pointer to descriptor buffer + */ +uint8_t * USBD_FS_USR_BOSDescriptor(USBD_SpeedTypeDef speed, uint16_t *length) +{ + 800a2d8: b480 push {r7} + 800a2da: b083 sub sp, #12 + 800a2dc: af00 add r7, sp, #0 + 800a2de: 4603 mov r3, r0 + 800a2e0: 6039 str r1, [r7, #0] + 800a2e2: 71fb strb r3, [r7, #7] + UNUSED(speed); + *length = sizeof(USBD_FS_BOSDesc); + 800a2e4: 683b ldr r3, [r7, #0] + 800a2e6: 220c movs r2, #12 + 800a2e8: 801a strh r2, [r3, #0] + return (uint8_t*)USBD_FS_BOSDesc; + 800a2ea: 4b03 ldr r3, [pc, #12] @ (800a2f8 ) +} + 800a2ec: 4618 mov r0, r3 + 800a2ee: 370c adds r7, #12 + 800a2f0: 46bd mov sp, r7 + 800a2f2: f85d 7b04 ldr.w r7, [sp], #4 + 800a2f6: 4770 bx lr + 800a2f8: 20000174 .word 0x20000174 + +0800a2fc : + * @brief Create the serial number string descriptor + * @param None + * @retval None + */ +static void Get_SerialNum(void) +{ + 800a2fc: b580 push {r7, lr} + 800a2fe: b084 sub sp, #16 + 800a300: af00 add r7, sp, #0 + uint32_t deviceserial0; + uint32_t deviceserial1; + uint32_t deviceserial2; + + deviceserial0 = *(uint32_t *) DEVICE_ID1; + 800a302: 4b0f ldr r3, [pc, #60] @ (800a340 ) + 800a304: 681b ldr r3, [r3, #0] + 800a306: 60fb str r3, [r7, #12] + deviceserial1 = *(uint32_t *) DEVICE_ID2; + 800a308: 4b0e ldr r3, [pc, #56] @ (800a344 ) + 800a30a: 681b ldr r3, [r3, #0] + 800a30c: 60bb str r3, [r7, #8] + deviceserial2 = *(uint32_t *) DEVICE_ID3; + 800a30e: 4b0e ldr r3, [pc, #56] @ (800a348 ) + 800a310: 681b ldr r3, [r3, #0] + 800a312: 607b str r3, [r7, #4] + + deviceserial0 += deviceserial2; + 800a314: 68fa ldr r2, [r7, #12] + 800a316: 687b ldr r3, [r7, #4] + 800a318: 4413 add r3, r2 + 800a31a: 60fb str r3, [r7, #12] + + if (deviceserial0 != 0) + 800a31c: 68fb ldr r3, [r7, #12] + 800a31e: 2b00 cmp r3, #0 + 800a320: d009 beq.n 800a336 + { + IntToUnicode(deviceserial0, &USBD_StringSerial[2], 8); + 800a322: 2208 movs r2, #8 + 800a324: 4909 ldr r1, [pc, #36] @ (800a34c ) + 800a326: 68f8 ldr r0, [r7, #12] + 800a328: f000 f814 bl 800a354 + IntToUnicode(deviceserial1, &USBD_StringSerial[18], 4); + 800a32c: 2204 movs r2, #4 + 800a32e: 4908 ldr r1, [pc, #32] @ (800a350 ) + 800a330: 68b8 ldr r0, [r7, #8] + 800a332: f000 f80f bl 800a354 + } +} + 800a336: bf00 nop + 800a338: 3710 adds r7, #16 + 800a33a: 46bd mov sp, r7 + 800a33c: bd80 pop {r7, pc} + 800a33e: bf00 nop + 800a340: 1fff7a10 .word 0x1fff7a10 + 800a344: 1fff7a14 .word 0x1fff7a14 + 800a348: 1fff7a18 .word 0x1fff7a18 + 800a34c: 20000186 .word 0x20000186 + 800a350: 20000196 .word 0x20000196 + +0800a354 : + * @param pbuf: pointer to the buffer + * @param len: buffer length + * @retval None + */ +static void IntToUnicode(uint32_t value, uint8_t * pbuf, uint8_t len) +{ + 800a354: b480 push {r7} + 800a356: b087 sub sp, #28 + 800a358: af00 add r7, sp, #0 + 800a35a: 60f8 str r0, [r7, #12] + 800a35c: 60b9 str r1, [r7, #8] + 800a35e: 4613 mov r3, r2 + 800a360: 71fb strb r3, [r7, #7] + uint8_t idx = 0; + 800a362: 2300 movs r3, #0 + 800a364: 75fb strb r3, [r7, #23] + + for (idx = 0; idx < len; idx++) + 800a366: 2300 movs r3, #0 + 800a368: 75fb strb r3, [r7, #23] + 800a36a: e027 b.n 800a3bc + { + if (((value >> 28)) < 0xA) + 800a36c: 68fb ldr r3, [r7, #12] + 800a36e: 0f1b lsrs r3, r3, #28 + 800a370: 2b09 cmp r3, #9 + 800a372: d80b bhi.n 800a38c + { + pbuf[2 * idx] = (value >> 28) + '0'; + 800a374: 68fb ldr r3, [r7, #12] + 800a376: 0f1b lsrs r3, r3, #28 + 800a378: b2da uxtb r2, r3 + 800a37a: 7dfb ldrb r3, [r7, #23] + 800a37c: 005b lsls r3, r3, #1 + 800a37e: 4619 mov r1, r3 + 800a380: 68bb ldr r3, [r7, #8] + 800a382: 440b add r3, r1 + 800a384: 3230 adds r2, #48 @ 0x30 + 800a386: b2d2 uxtb r2, r2 + 800a388: 701a strb r2, [r3, #0] + 800a38a: e00a b.n 800a3a2 + } + else + { + pbuf[2 * idx] = (value >> 28) + 'A' - 10; + 800a38c: 68fb ldr r3, [r7, #12] + 800a38e: 0f1b lsrs r3, r3, #28 + 800a390: b2da uxtb r2, r3 + 800a392: 7dfb ldrb r3, [r7, #23] + 800a394: 005b lsls r3, r3, #1 + 800a396: 4619 mov r1, r3 + 800a398: 68bb ldr r3, [r7, #8] + 800a39a: 440b add r3, r1 + 800a39c: 3237 adds r2, #55 @ 0x37 + 800a39e: b2d2 uxtb r2, r2 + 800a3a0: 701a strb r2, [r3, #0] + } + + value = value << 4; + 800a3a2: 68fb ldr r3, [r7, #12] + 800a3a4: 011b lsls r3, r3, #4 + 800a3a6: 60fb str r3, [r7, #12] + + pbuf[2 * idx + 1] = 0; + 800a3a8: 7dfb ldrb r3, [r7, #23] + 800a3aa: 005b lsls r3, r3, #1 + 800a3ac: 3301 adds r3, #1 + 800a3ae: 68ba ldr r2, [r7, #8] + 800a3b0: 4413 add r3, r2 + 800a3b2: 2200 movs r2, #0 + 800a3b4: 701a strb r2, [r3, #0] + for (idx = 0; idx < len; idx++) + 800a3b6: 7dfb ldrb r3, [r7, #23] + 800a3b8: 3301 adds r3, #1 + 800a3ba: 75fb strb r3, [r7, #23] + 800a3bc: 7dfa ldrb r2, [r7, #23] + 800a3be: 79fb ldrb r3, [r7, #7] + 800a3c0: 429a cmp r2, r3 + 800a3c2: d3d3 bcc.n 800a36c + } +} + 800a3c4: bf00 nop + 800a3c6: bf00 nop + 800a3c8: 371c adds r7, #28 + 800a3ca: 46bd mov sp, r7 + 800a3cc: f85d 7b04 ldr.w r7, [sp], #4 + 800a3d0: 4770 bx lr + ... + +0800a3d4 : + LL Driver Callbacks (PCD -> USB Device Library) +*******************************************************************************/ +/* MSP Init */ + +void HAL_PCD_MspInit(PCD_HandleTypeDef* pcdHandle) +{ + 800a3d4: b580 push {r7, lr} + 800a3d6: b0a0 sub sp, #128 @ 0x80 + 800a3d8: af00 add r7, sp, #0 + 800a3da: 6078 str r0, [r7, #4] + GPIO_InitTypeDef GPIO_InitStruct = {0}; + 800a3dc: f107 036c add.w r3, r7, #108 @ 0x6c + 800a3e0: 2200 movs r2, #0 + 800a3e2: 601a str r2, [r3, #0] + 800a3e4: 605a str r2, [r3, #4] + 800a3e6: 609a str r2, [r3, #8] + 800a3e8: 60da str r2, [r3, #12] + 800a3ea: 611a str r2, [r3, #16] + RCC_PeriphCLKInitTypeDef PeriphClkInitStruct = {0}; + 800a3ec: f107 0310 add.w r3, r7, #16 + 800a3f0: 225c movs r2, #92 @ 0x5c + 800a3f2: 2100 movs r1, #0 + 800a3f4: 4618 mov r0, r3 + 800a3f6: f000 fb53 bl 800aaa0 + if(pcdHandle->Instance==USB_OTG_FS) + 800a3fa: 687b ldr r3, [r7, #4] + 800a3fc: 681b ldr r3, [r3, #0] + 800a3fe: f1b3 4fa0 cmp.w r3, #1342177280 @ 0x50000000 + 800a402: d149 bne.n 800a498 + + /* USER CODE END USB_OTG_FS_MspInit 0 */ + + /** Initializes the peripherals clock + */ + PeriphClkInitStruct.PeriphClockSelection = RCC_PERIPHCLK_CLK48; + 800a404: f44f 7380 mov.w r3, #256 @ 0x100 + 800a408: 613b str r3, [r7, #16] + PeriphClkInitStruct.Clk48ClockSelection = RCC_CLK48CLKSOURCE_PLLQ; + 800a40a: 2300 movs r3, #0 + 800a40c: 667b str r3, [r7, #100] @ 0x64 + if (HAL_RCCEx_PeriphCLKConfig(&PeriphClkInitStruct) != HAL_OK) + 800a40e: f107 0310 add.w r3, r7, #16 + 800a412: 4618 mov r0, r3 + 800a414: f7f9 fec6 bl 80041a4 + 800a418: 4603 mov r3, r0 + 800a41a: 2b00 cmp r3, #0 + 800a41c: d001 beq.n 800a422 + { + Error_Handler(); + 800a41e: f7f6 fc9b bl 8000d58 + } + + __HAL_RCC_GPIOA_CLK_ENABLE(); + 800a422: 2300 movs r3, #0 + 800a424: 60fb str r3, [r7, #12] + 800a426: 4b1e ldr r3, [pc, #120] @ (800a4a0 ) + 800a428: 6b1b ldr r3, [r3, #48] @ 0x30 + 800a42a: 4a1d ldr r2, [pc, #116] @ (800a4a0 ) + 800a42c: f043 0301 orr.w r3, r3, #1 + 800a430: 6313 str r3, [r2, #48] @ 0x30 + 800a432: 4b1b ldr r3, [pc, #108] @ (800a4a0 ) + 800a434: 6b1b ldr r3, [r3, #48] @ 0x30 + 800a436: f003 0301 and.w r3, r3, #1 + 800a43a: 60fb str r3, [r7, #12] + 800a43c: 68fb ldr r3, [r7, #12] + /**USB_OTG_FS GPIO Configuration + PA11 ------> USB_OTG_FS_DM + PA12 ------> USB_OTG_FS_DP + */ + GPIO_InitStruct.Pin = GPIO_PIN_11|GPIO_PIN_12; + 800a43e: f44f 53c0 mov.w r3, #6144 @ 0x1800 + 800a442: 66fb str r3, [r7, #108] @ 0x6c + GPIO_InitStruct.Mode = GPIO_MODE_AF_PP; + 800a444: 2302 movs r3, #2 + 800a446: 673b str r3, [r7, #112] @ 0x70 + GPIO_InitStruct.Pull = GPIO_NOPULL; + 800a448: 2300 movs r3, #0 + 800a44a: 677b str r3, [r7, #116] @ 0x74 + GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_VERY_HIGH; + 800a44c: 2303 movs r3, #3 + 800a44e: 67bb str r3, [r7, #120] @ 0x78 + GPIO_InitStruct.Alternate = GPIO_AF10_OTG_FS; + 800a450: 230a movs r3, #10 + 800a452: 67fb str r3, [r7, #124] @ 0x7c + HAL_GPIO_Init(GPIOA, &GPIO_InitStruct); + 800a454: f107 036c add.w r3, r7, #108 @ 0x6c + 800a458: 4619 mov r1, r3 + 800a45a: 4812 ldr r0, [pc, #72] @ (800a4a4 ) + 800a45c: f7f7 fff8 bl 8002450 + + /* Peripheral clock enable */ + __HAL_RCC_USB_OTG_FS_CLK_ENABLE(); + 800a460: 4b0f ldr r3, [pc, #60] @ (800a4a0 ) + 800a462: 6b5b ldr r3, [r3, #52] @ 0x34 + 800a464: 4a0e ldr r2, [pc, #56] @ (800a4a0 ) + 800a466: f043 0380 orr.w r3, r3, #128 @ 0x80 + 800a46a: 6353 str r3, [r2, #52] @ 0x34 + 800a46c: 2300 movs r3, #0 + 800a46e: 60bb str r3, [r7, #8] + 800a470: 4b0b ldr r3, [pc, #44] @ (800a4a0 ) + 800a472: 6c5b ldr r3, [r3, #68] @ 0x44 + 800a474: 4a0a ldr r2, [pc, #40] @ (800a4a0 ) + 800a476: f443 4380 orr.w r3, r3, #16384 @ 0x4000 + 800a47a: 6453 str r3, [r2, #68] @ 0x44 + 800a47c: 4b08 ldr r3, [pc, #32] @ (800a4a0 ) + 800a47e: 6c5b ldr r3, [r3, #68] @ 0x44 + 800a480: f403 4380 and.w r3, r3, #16384 @ 0x4000 + 800a484: 60bb str r3, [r7, #8] + 800a486: 68bb ldr r3, [r7, #8] + + /* Peripheral interrupt init */ + HAL_NVIC_SetPriority(OTG_FS_IRQn, 0, 0); + 800a488: 2200 movs r2, #0 + 800a48a: 2100 movs r1, #0 + 800a48c: 2043 movs r0, #67 @ 0x43 + 800a48e: f7f7 fba6 bl 8001bde + HAL_NVIC_EnableIRQ(OTG_FS_IRQn); + 800a492: 2043 movs r0, #67 @ 0x43 + 800a494: f7f7 fbbf bl 8001c16 + /* USER CODE BEGIN USB_OTG_FS_MspInit 1 */ + + /* USER CODE END USB_OTG_FS_MspInit 1 */ + } +} + 800a498: bf00 nop + 800a49a: 3780 adds r7, #128 @ 0x80 + 800a49c: 46bd mov sp, r7 + 800a49e: bd80 pop {r7, pc} + 800a4a0: 40023800 .word 0x40023800 + 800a4a4: 40020000 .word 0x40020000 + +0800a4a8 : +#if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U) +static void PCD_SetupStageCallback(PCD_HandleTypeDef *hpcd) +#else +void HAL_PCD_SetupStageCallback(PCD_HandleTypeDef *hpcd) +#endif /* USE_HAL_PCD_REGISTER_CALLBACKS */ +{ + 800a4a8: b580 push {r7, lr} + 800a4aa: b082 sub sp, #8 + 800a4ac: af00 add r7, sp, #0 + 800a4ae: 6078 str r0, [r7, #4] + USBD_LL_SetupStage((USBD_HandleTypeDef*)hpcd->pData, (uint8_t *)hpcd->Setup); + 800a4b0: 687b ldr r3, [r7, #4] + 800a4b2: f8d3 24e0 ldr.w r2, [r3, #1248] @ 0x4e0 + 800a4b6: 687b ldr r3, [r7, #4] + 800a4b8: f203 439c addw r3, r3, #1180 @ 0x49c + 800a4bc: 4619 mov r1, r3 + 800a4be: 4610 mov r0, r2 + 800a4c0: f7fe fbcb bl 8008c5a +} + 800a4c4: bf00 nop + 800a4c6: 3708 adds r7, #8 + 800a4c8: 46bd mov sp, r7 + 800a4ca: bd80 pop {r7, pc} + +0800a4cc : +#if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U) +static void PCD_DataOutStageCallback(PCD_HandleTypeDef *hpcd, uint8_t epnum) +#else +void HAL_PCD_DataOutStageCallback(PCD_HandleTypeDef *hpcd, uint8_t epnum) +#endif /* USE_HAL_PCD_REGISTER_CALLBACKS */ +{ + 800a4cc: b580 push {r7, lr} + 800a4ce: b082 sub sp, #8 + 800a4d0: af00 add r7, sp, #0 + 800a4d2: 6078 str r0, [r7, #4] + 800a4d4: 460b mov r3, r1 + 800a4d6: 70fb strb r3, [r7, #3] + USBD_LL_DataOutStage((USBD_HandleTypeDef*)hpcd->pData, epnum, hpcd->OUT_ep[epnum].xfer_buff); + 800a4d8: 687b ldr r3, [r7, #4] + 800a4da: f8d3 04e0 ldr.w r0, [r3, #1248] @ 0x4e0 + 800a4de: 78fa ldrb r2, [r7, #3] + 800a4e0: 6879 ldr r1, [r7, #4] + 800a4e2: 4613 mov r3, r2 + 800a4e4: 00db lsls r3, r3, #3 + 800a4e6: 4413 add r3, r2 + 800a4e8: 009b lsls r3, r3, #2 + 800a4ea: 440b add r3, r1 + 800a4ec: f503 7318 add.w r3, r3, #608 @ 0x260 + 800a4f0: 681a ldr r2, [r3, #0] + 800a4f2: 78fb ldrb r3, [r7, #3] + 800a4f4: 4619 mov r1, r3 + 800a4f6: f7fe fc05 bl 8008d04 +} + 800a4fa: bf00 nop + 800a4fc: 3708 adds r7, #8 + 800a4fe: 46bd mov sp, r7 + 800a500: bd80 pop {r7, pc} + +0800a502 : +#if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U) +static void PCD_DataInStageCallback(PCD_HandleTypeDef *hpcd, uint8_t epnum) +#else +void HAL_PCD_DataInStageCallback(PCD_HandleTypeDef *hpcd, uint8_t epnum) +#endif /* USE_HAL_PCD_REGISTER_CALLBACKS */ +{ + 800a502: b580 push {r7, lr} + 800a504: b082 sub sp, #8 + 800a506: af00 add r7, sp, #0 + 800a508: 6078 str r0, [r7, #4] + 800a50a: 460b mov r3, r1 + 800a50c: 70fb strb r3, [r7, #3] + USBD_LL_DataInStage((USBD_HandleTypeDef*)hpcd->pData, epnum, hpcd->IN_ep[epnum].xfer_buff); + 800a50e: 687b ldr r3, [r7, #4] + 800a510: f8d3 04e0 ldr.w r0, [r3, #1248] @ 0x4e0 + 800a514: 78fa ldrb r2, [r7, #3] + 800a516: 6879 ldr r1, [r7, #4] + 800a518: 4613 mov r3, r2 + 800a51a: 00db lsls r3, r3, #3 + 800a51c: 4413 add r3, r2 + 800a51e: 009b lsls r3, r3, #2 + 800a520: 440b add r3, r1 + 800a522: 3320 adds r3, #32 + 800a524: 681a ldr r2, [r3, #0] + 800a526: 78fb ldrb r3, [r7, #3] + 800a528: 4619 mov r1, r3 + 800a52a: f7fe fca7 bl 8008e7c +} + 800a52e: bf00 nop + 800a530: 3708 adds r7, #8 + 800a532: 46bd mov sp, r7 + 800a534: bd80 pop {r7, pc} + +0800a536 : +#if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U) +static void PCD_SOFCallback(PCD_HandleTypeDef *hpcd) +#else +void HAL_PCD_SOFCallback(PCD_HandleTypeDef *hpcd) +#endif /* USE_HAL_PCD_REGISTER_CALLBACKS */ +{ + 800a536: b580 push {r7, lr} + 800a538: b082 sub sp, #8 + 800a53a: af00 add r7, sp, #0 + 800a53c: 6078 str r0, [r7, #4] + USBD_LL_SOF((USBD_HandleTypeDef*)hpcd->pData); + 800a53e: 687b ldr r3, [r7, #4] + 800a540: f8d3 34e0 ldr.w r3, [r3, #1248] @ 0x4e0 + 800a544: 4618 mov r0, r3 + 800a546: f7fe fdeb bl 8009120 +} + 800a54a: bf00 nop + 800a54c: 3708 adds r7, #8 + 800a54e: 46bd mov sp, r7 + 800a550: bd80 pop {r7, pc} + +0800a552 : +#if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U) +static void PCD_ResetCallback(PCD_HandleTypeDef *hpcd) +#else +void HAL_PCD_ResetCallback(PCD_HandleTypeDef *hpcd) +#endif /* USE_HAL_PCD_REGISTER_CALLBACKS */ +{ + 800a552: b580 push {r7, lr} + 800a554: b084 sub sp, #16 + 800a556: af00 add r7, sp, #0 + 800a558: 6078 str r0, [r7, #4] + USBD_SpeedTypeDef speed = USBD_SPEED_FULL; + 800a55a: 2301 movs r3, #1 + 800a55c: 73fb strb r3, [r7, #15] + + if ( hpcd->Init.speed == PCD_SPEED_HIGH) + 800a55e: 687b ldr r3, [r7, #4] + 800a560: 79db ldrb r3, [r3, #7] + 800a562: 2b00 cmp r3, #0 + 800a564: d102 bne.n 800a56c + { + speed = USBD_SPEED_HIGH; + 800a566: 2300 movs r3, #0 + 800a568: 73fb strb r3, [r7, #15] + 800a56a: e008 b.n 800a57e + } + else if ( hpcd->Init.speed == PCD_SPEED_FULL) + 800a56c: 687b ldr r3, [r7, #4] + 800a56e: 79db ldrb r3, [r3, #7] + 800a570: 2b02 cmp r3, #2 + 800a572: d102 bne.n 800a57a + { + speed = USBD_SPEED_FULL; + 800a574: 2301 movs r3, #1 + 800a576: 73fb strb r3, [r7, #15] + 800a578: e001 b.n 800a57e + } + else + { + Error_Handler(); + 800a57a: f7f6 fbed bl 8000d58 + } + /* Set Speed. */ + USBD_LL_SetSpeed((USBD_HandleTypeDef*)hpcd->pData, speed); + 800a57e: 687b ldr r3, [r7, #4] + 800a580: f8d3 34e0 ldr.w r3, [r3, #1248] @ 0x4e0 + 800a584: 7bfa ldrb r2, [r7, #15] + 800a586: 4611 mov r1, r2 + 800a588: 4618 mov r0, r3 + 800a58a: f7fe fd85 bl 8009098 + + /* Reset Device. */ + USBD_LL_Reset((USBD_HandleTypeDef*)hpcd->pData); + 800a58e: 687b ldr r3, [r7, #4] + 800a590: f8d3 34e0 ldr.w r3, [r3, #1248] @ 0x4e0 + 800a594: 4618 mov r0, r3 + 800a596: f7fe fd2c bl 8008ff2 +} + 800a59a: bf00 nop + 800a59c: 3710 adds r7, #16 + 800a59e: 46bd mov sp, r7 + 800a5a0: bd80 pop {r7, pc} + ... + +0800a5a4 : +#if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U) +static void PCD_SuspendCallback(PCD_HandleTypeDef *hpcd) +#else +void HAL_PCD_SuspendCallback(PCD_HandleTypeDef *hpcd) +#endif /* USE_HAL_PCD_REGISTER_CALLBACKS */ +{ + 800a5a4: b580 push {r7, lr} + 800a5a6: b082 sub sp, #8 + 800a5a8: af00 add r7, sp, #0 + 800a5aa: 6078 str r0, [r7, #4] + /* Inform USB library that core enters in suspend Mode. */ + USBD_LL_Suspend((USBD_HandleTypeDef*)hpcd->pData); + 800a5ac: 687b ldr r3, [r7, #4] + 800a5ae: f8d3 34e0 ldr.w r3, [r3, #1248] @ 0x4e0 + 800a5b2: 4618 mov r0, r3 + 800a5b4: f7fe fd80 bl 80090b8 + __HAL_PCD_GATE_PHYCLOCK(hpcd); + 800a5b8: 687b ldr r3, [r7, #4] + 800a5ba: 681b ldr r3, [r3, #0] + 800a5bc: f503 6360 add.w r3, r3, #3584 @ 0xe00 + 800a5c0: 681b ldr r3, [r3, #0] + 800a5c2: 687a ldr r2, [r7, #4] + 800a5c4: 6812 ldr r2, [r2, #0] + 800a5c6: f502 6260 add.w r2, r2, #3584 @ 0xe00 + 800a5ca: f043 0301 orr.w r3, r3, #1 + 800a5ce: 6013 str r3, [r2, #0] + /* Enter in STOP mode. */ + /* USER CODE BEGIN 2 */ + if (hpcd->Init.low_power_enable) + 800a5d0: 687b ldr r3, [r7, #4] + 800a5d2: 7adb ldrb r3, [r3, #11] + 800a5d4: 2b00 cmp r3, #0 + 800a5d6: d005 beq.n 800a5e4 + { + /* Set SLEEPDEEP bit and SleepOnExit of Cortex System Control Register. */ + SCB->SCR |= (uint32_t)((uint32_t)(SCB_SCR_SLEEPDEEP_Msk | SCB_SCR_SLEEPONEXIT_Msk)); + 800a5d8: 4b04 ldr r3, [pc, #16] @ (800a5ec ) + 800a5da: 691b ldr r3, [r3, #16] + 800a5dc: 4a03 ldr r2, [pc, #12] @ (800a5ec ) + 800a5de: f043 0306 orr.w r3, r3, #6 + 800a5e2: 6113 str r3, [r2, #16] + } + /* USER CODE END 2 */ +} + 800a5e4: bf00 nop + 800a5e6: 3708 adds r7, #8 + 800a5e8: 46bd mov sp, r7 + 800a5ea: bd80 pop {r7, pc} + 800a5ec: e000ed00 .word 0xe000ed00 + +0800a5f0 : +#if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U) +static void PCD_ResumeCallback(PCD_HandleTypeDef *hpcd) +#else +void HAL_PCD_ResumeCallback(PCD_HandleTypeDef *hpcd) +#endif /* USE_HAL_PCD_REGISTER_CALLBACKS */ +{ + 800a5f0: b580 push {r7, lr} + 800a5f2: b082 sub sp, #8 + 800a5f4: af00 add r7, sp, #0 + 800a5f6: 6078 str r0, [r7, #4] + /* USER CODE BEGIN 3 */ + + /* USER CODE END 3 */ + USBD_LL_Resume((USBD_HandleTypeDef*)hpcd->pData); + 800a5f8: 687b ldr r3, [r7, #4] + 800a5fa: f8d3 34e0 ldr.w r3, [r3, #1248] @ 0x4e0 + 800a5fe: 4618 mov r0, r3 + 800a600: f7fe fd76 bl 80090f0 +} + 800a604: bf00 nop + 800a606: 3708 adds r7, #8 + 800a608: 46bd mov sp, r7 + 800a60a: bd80 pop {r7, pc} + +0800a60c : #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U) static void PCD_ISOOUTIncompleteCallback(PCD_HandleTypeDef *hpcd, uint8_t epnum) #else void HAL_PCD_ISOOUTIncompleteCallback(PCD_HandleTypeDef *hpcd, uint8_t epnum) #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */ { - 8009fa0: b580 push {r7, lr} - 8009fa2: b082 sub sp, #8 - 8009fa4: af00 add r7, sp, #0 - 8009fa6: 6078 str r0, [r7, #4] - 8009fa8: 460b mov r3, r1 - 8009faa: 70fb strb r3, [r7, #3] + 800a60c: b580 push {r7, lr} + 800a60e: b082 sub sp, #8 + 800a610: af00 add r7, sp, #0 + 800a612: 6078 str r0, [r7, #4] + 800a614: 460b mov r3, r1 + 800a616: 70fb strb r3, [r7, #3] USBD_LL_IsoOUTIncomplete((USBD_HandleTypeDef*)hpcd->pData, epnum); - 8009fac: 687b ldr r3, [r7, #4] - 8009fae: f8d3 34e0 ldr.w r3, [r3, #1248] @ 0x4e0 - 8009fb2: 78fa ldrb r2, [r7, #3] - 8009fb4: 4611 mov r1, r2 - 8009fb6: 4618 mov r0, r3 - 8009fb8: f7fe fdce bl 8008b58 + 800a618: 687b ldr r3, [r7, #4] + 800a61a: f8d3 34e0 ldr.w r3, [r3, #1248] @ 0x4e0 + 800a61e: 78fa ldrb r2, [r7, #3] + 800a620: 4611 mov r1, r2 + 800a622: 4618 mov r0, r3 + 800a624: f7fe fdce bl 80091c4 } - 8009fbc: bf00 nop - 8009fbe: 3708 adds r7, #8 - 8009fc0: 46bd mov sp, r7 - 8009fc2: bd80 pop {r7, pc} + 800a628: bf00 nop + 800a62a: 3708 adds r7, #8 + 800a62c: 46bd mov sp, r7 + 800a62e: bd80 pop {r7, pc} -08009fc4 : +0800a630 : #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U) static void PCD_ISOINIncompleteCallback(PCD_HandleTypeDef *hpcd, uint8_t epnum) #else void HAL_PCD_ISOINIncompleteCallback(PCD_HandleTypeDef *hpcd, uint8_t epnum) #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */ { - 8009fc4: b580 push {r7, lr} - 8009fc6: b082 sub sp, #8 - 8009fc8: af00 add r7, sp, #0 - 8009fca: 6078 str r0, [r7, #4] - 8009fcc: 460b mov r3, r1 - 8009fce: 70fb strb r3, [r7, #3] + 800a630: b580 push {r7, lr} + 800a632: b082 sub sp, #8 + 800a634: af00 add r7, sp, #0 + 800a636: 6078 str r0, [r7, #4] + 800a638: 460b mov r3, r1 + 800a63a: 70fb strb r3, [r7, #3] USBD_LL_IsoINIncomplete((USBD_HandleTypeDef*)hpcd->pData, epnum); - 8009fd0: 687b ldr r3, [r7, #4] - 8009fd2: f8d3 34e0 ldr.w r3, [r3, #1248] @ 0x4e0 - 8009fd6: 78fa ldrb r2, [r7, #3] - 8009fd8: 4611 mov r1, r2 - 8009fda: 4618 mov r0, r3 - 8009fdc: f7fe fd8a bl 8008af4 + 800a63c: 687b ldr r3, [r7, #4] + 800a63e: f8d3 34e0 ldr.w r3, [r3, #1248] @ 0x4e0 + 800a642: 78fa ldrb r2, [r7, #3] + 800a644: 4611 mov r1, r2 + 800a646: 4618 mov r0, r3 + 800a648: f7fe fd8a bl 8009160 } - 8009fe0: bf00 nop - 8009fe2: 3708 adds r7, #8 - 8009fe4: 46bd mov sp, r7 - 8009fe6: bd80 pop {r7, pc} + 800a64c: bf00 nop + 800a64e: 3708 adds r7, #8 + 800a650: 46bd mov sp, r7 + 800a652: bd80 pop {r7, pc} -08009fe8 : +0800a654 : #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U) static void PCD_ConnectCallback(PCD_HandleTypeDef *hpcd) #else void HAL_PCD_ConnectCallback(PCD_HandleTypeDef *hpcd) #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */ { - 8009fe8: b580 push {r7, lr} - 8009fea: b082 sub sp, #8 - 8009fec: af00 add r7, sp, #0 - 8009fee: 6078 str r0, [r7, #4] + 800a654: b580 push {r7, lr} + 800a656: b082 sub sp, #8 + 800a658: af00 add r7, sp, #0 + 800a65a: 6078 str r0, [r7, #4] USBD_LL_DevConnected((USBD_HandleTypeDef*)hpcd->pData); - 8009ff0: 687b ldr r3, [r7, #4] - 8009ff2: f8d3 34e0 ldr.w r3, [r3, #1248] @ 0x4e0 - 8009ff6: 4618 mov r0, r3 - 8009ff8: f7fe fde0 bl 8008bbc + 800a65c: 687b ldr r3, [r7, #4] + 800a65e: f8d3 34e0 ldr.w r3, [r3, #1248] @ 0x4e0 + 800a662: 4618 mov r0, r3 + 800a664: f7fe fde0 bl 8009228 } - 8009ffc: bf00 nop - 8009ffe: 3708 adds r7, #8 - 800a000: 46bd mov sp, r7 - 800a002: bd80 pop {r7, pc} + 800a668: bf00 nop + 800a66a: 3708 adds r7, #8 + 800a66c: 46bd mov sp, r7 + 800a66e: bd80 pop {r7, pc} -0800a004 : +0800a670 : #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U) static void PCD_DisconnectCallback(PCD_HandleTypeDef *hpcd) #else void HAL_PCD_DisconnectCallback(PCD_HandleTypeDef *hpcd) #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */ { - 800a004: b580 push {r7, lr} - 800a006: b082 sub sp, #8 - 800a008: af00 add r7, sp, #0 - 800a00a: 6078 str r0, [r7, #4] + 800a670: b580 push {r7, lr} + 800a672: b082 sub sp, #8 + 800a674: af00 add r7, sp, #0 + 800a676: 6078 str r0, [r7, #4] USBD_LL_DevDisconnected((USBD_HandleTypeDef*)hpcd->pData); - 800a00c: 687b ldr r3, [r7, #4] - 800a00e: f8d3 34e0 ldr.w r3, [r3, #1248] @ 0x4e0 - 800a012: 4618 mov r0, r3 - 800a014: f7fe fddd bl 8008bd2 + 800a678: 687b ldr r3, [r7, #4] + 800a67a: f8d3 34e0 ldr.w r3, [r3, #1248] @ 0x4e0 + 800a67e: 4618 mov r0, r3 + 800a680: f7fe fddd bl 800923e } - 800a018: bf00 nop - 800a01a: 3708 adds r7, #8 - 800a01c: 46bd mov sp, r7 - 800a01e: bd80 pop {r7, pc} + 800a684: bf00 nop + 800a686: 3708 adds r7, #8 + 800a688: 46bd mov sp, r7 + 800a68a: bd80 pop {r7, pc} -0800a020 : +0800a68c : * @brief Initializes the low level portion of the device driver. * @param pdev: Device handle * @retval USBD status */ USBD_StatusTypeDef USBD_LL_Init(USBD_HandleTypeDef *pdev) { - 800a020: b580 push {r7, lr} - 800a022: b082 sub sp, #8 - 800a024: af00 add r7, sp, #0 - 800a026: 6078 str r0, [r7, #4] + 800a68c: b580 push {r7, lr} + 800a68e: b082 sub sp, #8 + 800a690: af00 add r7, sp, #0 + 800a692: 6078 str r0, [r7, #4] /* Init USB Ip. */ if (pdev->id == DEVICE_FS) { - 800a028: 687b ldr r3, [r7, #4] - 800a02a: 781b ldrb r3, [r3, #0] - 800a02c: 2b00 cmp r3, #0 - 800a02e: d13c bne.n 800a0aa + 800a694: 687b ldr r3, [r7, #4] + 800a696: 781b ldrb r3, [r3, #0] + 800a698: 2b00 cmp r3, #0 + 800a69a: d13c bne.n 800a716 /* Link the driver to the stack. */ hpcd_USB_OTG_FS.pData = pdev; - 800a030: 4a20 ldr r2, [pc, #128] @ (800a0b4 ) - 800a032: 687b ldr r3, [r7, #4] - 800a034: f8c2 34e0 str.w r3, [r2, #1248] @ 0x4e0 + 800a69c: 4a20 ldr r2, [pc, #128] @ (800a720 ) + 800a69e: 687b ldr r3, [r7, #4] + 800a6a0: f8c2 34e0 str.w r3, [r2, #1248] @ 0x4e0 pdev->pData = &hpcd_USB_OTG_FS; - 800a038: 687b ldr r3, [r7, #4] - 800a03a: 4a1e ldr r2, [pc, #120] @ (800a0b4 ) - 800a03c: f8c3 22c8 str.w r2, [r3, #712] @ 0x2c8 + 800a6a4: 687b ldr r3, [r7, #4] + 800a6a6: 4a1e ldr r2, [pc, #120] @ (800a720 ) + 800a6a8: f8c3 22c8 str.w r2, [r3, #712] @ 0x2c8 hpcd_USB_OTG_FS.Instance = USB_OTG_FS; - 800a040: 4b1c ldr r3, [pc, #112] @ (800a0b4 ) - 800a042: f04f 42a0 mov.w r2, #1342177280 @ 0x50000000 - 800a046: 601a str r2, [r3, #0] + 800a6ac: 4b1c ldr r3, [pc, #112] @ (800a720 ) + 800a6ae: f04f 42a0 mov.w r2, #1342177280 @ 0x50000000 + 800a6b2: 601a str r2, [r3, #0] hpcd_USB_OTG_FS.Init.dev_endpoints = 6; - 800a048: 4b1a ldr r3, [pc, #104] @ (800a0b4 ) - 800a04a: 2206 movs r2, #6 - 800a04c: 711a strb r2, [r3, #4] + 800a6b4: 4b1a ldr r3, [pc, #104] @ (800a720 ) + 800a6b6: 2206 movs r2, #6 + 800a6b8: 711a strb r2, [r3, #4] hpcd_USB_OTG_FS.Init.speed = PCD_SPEED_FULL; - 800a04e: 4b19 ldr r3, [pc, #100] @ (800a0b4 ) - 800a050: 2202 movs r2, #2 - 800a052: 71da strb r2, [r3, #7] + 800a6ba: 4b19 ldr r3, [pc, #100] @ (800a720 ) + 800a6bc: 2202 movs r2, #2 + 800a6be: 71da strb r2, [r3, #7] hpcd_USB_OTG_FS.Init.dma_enable = DISABLE; - 800a054: 4b17 ldr r3, [pc, #92] @ (800a0b4 ) - 800a056: 2200 movs r2, #0 - 800a058: 719a strb r2, [r3, #6] + 800a6c0: 4b17 ldr r3, [pc, #92] @ (800a720 ) + 800a6c2: 2200 movs r2, #0 + 800a6c4: 719a strb r2, [r3, #6] hpcd_USB_OTG_FS.Init.phy_itface = PCD_PHY_EMBEDDED; - 800a05a: 4b16 ldr r3, [pc, #88] @ (800a0b4 ) - 800a05c: 2202 movs r2, #2 - 800a05e: 725a strb r2, [r3, #9] + 800a6c6: 4b16 ldr r3, [pc, #88] @ (800a720 ) + 800a6c8: 2202 movs r2, #2 + 800a6ca: 725a strb r2, [r3, #9] hpcd_USB_OTG_FS.Init.Sof_enable = DISABLE; - 800a060: 4b14 ldr r3, [pc, #80] @ (800a0b4 ) - 800a062: 2200 movs r2, #0 - 800a064: 729a strb r2, [r3, #10] + 800a6cc: 4b14 ldr r3, [pc, #80] @ (800a720 ) + 800a6ce: 2200 movs r2, #0 + 800a6d0: 729a strb r2, [r3, #10] hpcd_USB_OTG_FS.Init.low_power_enable = DISABLE; - 800a066: 4b13 ldr r3, [pc, #76] @ (800a0b4 ) - 800a068: 2200 movs r2, #0 - 800a06a: 72da strb r2, [r3, #11] + 800a6d2: 4b13 ldr r3, [pc, #76] @ (800a720 ) + 800a6d4: 2200 movs r2, #0 + 800a6d6: 72da strb r2, [r3, #11] hpcd_USB_OTG_FS.Init.lpm_enable = DISABLE; - 800a06c: 4b11 ldr r3, [pc, #68] @ (800a0b4 ) - 800a06e: 2200 movs r2, #0 - 800a070: 731a strb r2, [r3, #12] + 800a6d8: 4b11 ldr r3, [pc, #68] @ (800a720 ) + 800a6da: 2200 movs r2, #0 + 800a6dc: 731a strb r2, [r3, #12] hpcd_USB_OTG_FS.Init.vbus_sensing_enable = DISABLE; - 800a072: 4b10 ldr r3, [pc, #64] @ (800a0b4 ) - 800a074: 2200 movs r2, #0 - 800a076: 739a strb r2, [r3, #14] + 800a6de: 4b10 ldr r3, [pc, #64] @ (800a720 ) + 800a6e0: 2200 movs r2, #0 + 800a6e2: 739a strb r2, [r3, #14] hpcd_USB_OTG_FS.Init.use_dedicated_ep1 = DISABLE; - 800a078: 4b0e ldr r3, [pc, #56] @ (800a0b4 ) - 800a07a: 2200 movs r2, #0 - 800a07c: 73da strb r2, [r3, #15] + 800a6e4: 4b0e ldr r3, [pc, #56] @ (800a720 ) + 800a6e6: 2200 movs r2, #0 + 800a6e8: 73da strb r2, [r3, #15] if (HAL_PCD_Init(&hpcd_USB_OTG_FS) != HAL_OK) - 800a07e: 480d ldr r0, [pc, #52] @ (800a0b4 ) - 800a080: f7f8 fc28 bl 80028d4 - 800a084: 4603 mov r3, r0 - 800a086: 2b00 cmp r3, #0 - 800a088: d001 beq.n 800a08e + 800a6ea: 480d ldr r0, [pc, #52] @ (800a720 ) + 800a6ec: f7f8 f9ba bl 8002a64 + 800a6f0: 4603 mov r3, r0 + 800a6f2: 2b00 cmp r3, #0 + 800a6f4: d001 beq.n 800a6fa { Error_Handler( ); - 800a08a: f7f6 fd9d bl 8000bc8 + 800a6f6: f7f6 fb2f bl 8000d58 HAL_PCD_RegisterDataOutStageCallback(&hpcd_USB_OTG_FS, PCD_DataOutStageCallback); HAL_PCD_RegisterDataInStageCallback(&hpcd_USB_OTG_FS, PCD_DataInStageCallback); HAL_PCD_RegisterIsoOutIncpltCallback(&hpcd_USB_OTG_FS, PCD_ISOOUTIncompleteCallback); HAL_PCD_RegisterIsoInIncpltCallback(&hpcd_USB_OTG_FS, PCD_ISOINIncompleteCallback); #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */ HAL_PCDEx_SetRxFiFo(&hpcd_USB_OTG_FS, 0x80); - 800a08e: 2180 movs r1, #128 @ 0x80 - 800a090: 4808 ldr r0, [pc, #32] @ (800a0b4 ) - 800a092: f7f9 fe70 bl 8003d76 + 800a6fa: 2180 movs r1, #128 @ 0x80 + 800a6fc: 4808 ldr r0, [pc, #32] @ (800a720 ) + 800a6fe: f7f9 fc02 bl 8003f06 HAL_PCDEx_SetTxFiFo(&hpcd_USB_OTG_FS, 0, 0x40); - 800a096: 2240 movs r2, #64 @ 0x40 - 800a098: 2100 movs r1, #0 - 800a09a: 4806 ldr r0, [pc, #24] @ (800a0b4 ) - 800a09c: f7f9 fe24 bl 8003ce8 + 800a702: 2240 movs r2, #64 @ 0x40 + 800a704: 2100 movs r1, #0 + 800a706: 4806 ldr r0, [pc, #24] @ (800a720 ) + 800a708: f7f9 fbb6 bl 8003e78 HAL_PCDEx_SetTxFiFo(&hpcd_USB_OTG_FS, 1, 0x80); - 800a0a0: 2280 movs r2, #128 @ 0x80 - 800a0a2: 2101 movs r1, #1 - 800a0a4: 4803 ldr r0, [pc, #12] @ (800a0b4 ) - 800a0a6: f7f9 fe1f bl 8003ce8 + 800a70c: 2280 movs r2, #128 @ 0x80 + 800a70e: 2101 movs r1, #1 + 800a710: 4803 ldr r0, [pc, #12] @ (800a720 ) + 800a712: f7f9 fbb1 bl 8003e78 } return USBD_OK; - 800a0aa: 2300 movs r3, #0 + 800a716: 2300 movs r3, #0 } - 800a0ac: 4618 mov r0, r3 - 800a0ae: 3708 adds r7, #8 - 800a0b0: 46bd mov sp, r7 - 800a0b2: bd80 pop {r7, pc} - 800a0b4: 20000bd8 .word 0x20000bd8 + 800a718: 4618 mov r0, r3 + 800a71a: 3708 adds r7, #8 + 800a71c: 46bd mov sp, r7 + 800a71e: bd80 pop {r7, pc} + 800a720: 20000c00 .word 0x20000c00 -0800a0b8 : +0800a724 : * @brief Starts the low level portion of the device driver. * @param pdev: Device handle * @retval USBD status */ USBD_StatusTypeDef USBD_LL_Start(USBD_HandleTypeDef *pdev) { - 800a0b8: b580 push {r7, lr} - 800a0ba: b084 sub sp, #16 - 800a0bc: af00 add r7, sp, #0 - 800a0be: 6078 str r0, [r7, #4] + 800a724: b580 push {r7, lr} + 800a726: b084 sub sp, #16 + 800a728: af00 add r7, sp, #0 + 800a72a: 6078 str r0, [r7, #4] HAL_StatusTypeDef hal_status = HAL_OK; - 800a0c0: 2300 movs r3, #0 - 800a0c2: 73fb strb r3, [r7, #15] + 800a72c: 2300 movs r3, #0 + 800a72e: 73fb strb r3, [r7, #15] USBD_StatusTypeDef usb_status = USBD_OK; - 800a0c4: 2300 movs r3, #0 - 800a0c6: 73bb strb r3, [r7, #14] + 800a730: 2300 movs r3, #0 + 800a732: 73bb strb r3, [r7, #14] hal_status = HAL_PCD_Start(pdev->pData); - 800a0c8: 687b ldr r3, [r7, #4] - 800a0ca: f8d3 32c8 ldr.w r3, [r3, #712] @ 0x2c8 - 800a0ce: 4618 mov r0, r3 - 800a0d0: f7f8 fd16 bl 8002b00 - 800a0d4: 4603 mov r3, r0 - 800a0d6: 73fb strb r3, [r7, #15] + 800a734: 687b ldr r3, [r7, #4] + 800a736: f8d3 32c8 ldr.w r3, [r3, #712] @ 0x2c8 + 800a73a: 4618 mov r0, r3 + 800a73c: f7f8 faa8 bl 8002c90 + 800a740: 4603 mov r3, r0 + 800a742: 73fb strb r3, [r7, #15] usb_status = USBD_Get_USB_Status(hal_status); - 800a0d8: 7bfb ldrb r3, [r7, #15] - 800a0da: 4618 mov r0, r3 - 800a0dc: f000 f97e bl 800a3dc - 800a0e0: 4603 mov r3, r0 - 800a0e2: 73bb strb r3, [r7, #14] + 800a744: 7bfb ldrb r3, [r7, #15] + 800a746: 4618 mov r0, r3 + 800a748: f000 f97e bl 800aa48 + 800a74c: 4603 mov r3, r0 + 800a74e: 73bb strb r3, [r7, #14] return usb_status; - 800a0e4: 7bbb ldrb r3, [r7, #14] + 800a750: 7bbb ldrb r3, [r7, #14] } - 800a0e6: 4618 mov r0, r3 - 800a0e8: 3710 adds r7, #16 - 800a0ea: 46bd mov sp, r7 - 800a0ec: bd80 pop {r7, pc} + 800a752: 4618 mov r0, r3 + 800a754: 3710 adds r7, #16 + 800a756: 46bd mov sp, r7 + 800a758: bd80 pop {r7, pc} -0800a0ee : +0800a75a : * @param ep_type: Endpoint type * @param ep_mps: Endpoint max packet size * @retval USBD status */ USBD_StatusTypeDef USBD_LL_OpenEP(USBD_HandleTypeDef *pdev, uint8_t ep_addr, uint8_t ep_type, uint16_t ep_mps) { - 800a0ee: b580 push {r7, lr} - 800a0f0: b084 sub sp, #16 - 800a0f2: af00 add r7, sp, #0 - 800a0f4: 6078 str r0, [r7, #4] - 800a0f6: 4608 mov r0, r1 - 800a0f8: 4611 mov r1, r2 - 800a0fa: 461a mov r2, r3 - 800a0fc: 4603 mov r3, r0 - 800a0fe: 70fb strb r3, [r7, #3] - 800a100: 460b mov r3, r1 - 800a102: 70bb strb r3, [r7, #2] - 800a104: 4613 mov r3, r2 - 800a106: 803b strh r3, [r7, #0] + 800a75a: b580 push {r7, lr} + 800a75c: b084 sub sp, #16 + 800a75e: af00 add r7, sp, #0 + 800a760: 6078 str r0, [r7, #4] + 800a762: 4608 mov r0, r1 + 800a764: 4611 mov r1, r2 + 800a766: 461a mov r2, r3 + 800a768: 4603 mov r3, r0 + 800a76a: 70fb strb r3, [r7, #3] + 800a76c: 460b mov r3, r1 + 800a76e: 70bb strb r3, [r7, #2] + 800a770: 4613 mov r3, r2 + 800a772: 803b strh r3, [r7, #0] HAL_StatusTypeDef hal_status = HAL_OK; - 800a108: 2300 movs r3, #0 - 800a10a: 73fb strb r3, [r7, #15] + 800a774: 2300 movs r3, #0 + 800a776: 73fb strb r3, [r7, #15] USBD_StatusTypeDef usb_status = USBD_OK; - 800a10c: 2300 movs r3, #0 - 800a10e: 73bb strb r3, [r7, #14] + 800a778: 2300 movs r3, #0 + 800a77a: 73bb strb r3, [r7, #14] hal_status = HAL_PCD_EP_Open(pdev->pData, ep_addr, ep_mps, ep_type); - 800a110: 687b ldr r3, [r7, #4] - 800a112: f8d3 02c8 ldr.w r0, [r3, #712] @ 0x2c8 - 800a116: 78bb ldrb r3, [r7, #2] - 800a118: 883a ldrh r2, [r7, #0] - 800a11a: 78f9 ldrb r1, [r7, #3] - 800a11c: f7f9 fa17 bl 800354e - 800a120: 4603 mov r3, r0 - 800a122: 73fb strb r3, [r7, #15] + 800a77c: 687b ldr r3, [r7, #4] + 800a77e: f8d3 02c8 ldr.w r0, [r3, #712] @ 0x2c8 + 800a782: 78bb ldrb r3, [r7, #2] + 800a784: 883a ldrh r2, [r7, #0] + 800a786: 78f9 ldrb r1, [r7, #3] + 800a788: f7f8 ffa9 bl 80036de + 800a78c: 4603 mov r3, r0 + 800a78e: 73fb strb r3, [r7, #15] usb_status = USBD_Get_USB_Status(hal_status); - 800a124: 7bfb ldrb r3, [r7, #15] - 800a126: 4618 mov r0, r3 - 800a128: f000 f958 bl 800a3dc - 800a12c: 4603 mov r3, r0 - 800a12e: 73bb strb r3, [r7, #14] + 800a790: 7bfb ldrb r3, [r7, #15] + 800a792: 4618 mov r0, r3 + 800a794: f000 f958 bl 800aa48 + 800a798: 4603 mov r3, r0 + 800a79a: 73bb strb r3, [r7, #14] return usb_status; - 800a130: 7bbb ldrb r3, [r7, #14] + 800a79c: 7bbb ldrb r3, [r7, #14] } - 800a132: 4618 mov r0, r3 - 800a134: 3710 adds r7, #16 - 800a136: 46bd mov sp, r7 - 800a138: bd80 pop {r7, pc} + 800a79e: 4618 mov r0, r3 + 800a7a0: 3710 adds r7, #16 + 800a7a2: 46bd mov sp, r7 + 800a7a4: bd80 pop {r7, pc} -0800a13a : +0800a7a6 : * @param pdev: Device handle * @param ep_addr: Endpoint number * @retval USBD status */ USBD_StatusTypeDef USBD_LL_CloseEP(USBD_HandleTypeDef *pdev, uint8_t ep_addr) { - 800a13a: b580 push {r7, lr} - 800a13c: b084 sub sp, #16 - 800a13e: af00 add r7, sp, #0 - 800a140: 6078 str r0, [r7, #4] - 800a142: 460b mov r3, r1 - 800a144: 70fb strb r3, [r7, #3] + 800a7a6: b580 push {r7, lr} + 800a7a8: b084 sub sp, #16 + 800a7aa: af00 add r7, sp, #0 + 800a7ac: 6078 str r0, [r7, #4] + 800a7ae: 460b mov r3, r1 + 800a7b0: 70fb strb r3, [r7, #3] HAL_StatusTypeDef hal_status = HAL_OK; - 800a146: 2300 movs r3, #0 - 800a148: 73fb strb r3, [r7, #15] + 800a7b2: 2300 movs r3, #0 + 800a7b4: 73fb strb r3, [r7, #15] USBD_StatusTypeDef usb_status = USBD_OK; - 800a14a: 2300 movs r3, #0 - 800a14c: 73bb strb r3, [r7, #14] + 800a7b6: 2300 movs r3, #0 + 800a7b8: 73bb strb r3, [r7, #14] hal_status = HAL_PCD_EP_Close(pdev->pData, ep_addr); - 800a14e: 687b ldr r3, [r7, #4] - 800a150: f8d3 32c8 ldr.w r3, [r3, #712] @ 0x2c8 - 800a154: 78fa ldrb r2, [r7, #3] - 800a156: 4611 mov r1, r2 - 800a158: 4618 mov r0, r3 - 800a15a: f7f9 fa62 bl 8003622 - 800a15e: 4603 mov r3, r0 - 800a160: 73fb strb r3, [r7, #15] + 800a7ba: 687b ldr r3, [r7, #4] + 800a7bc: f8d3 32c8 ldr.w r3, [r3, #712] @ 0x2c8 + 800a7c0: 78fa ldrb r2, [r7, #3] + 800a7c2: 4611 mov r1, r2 + 800a7c4: 4618 mov r0, r3 + 800a7c6: f7f8 fff4 bl 80037b2 + 800a7ca: 4603 mov r3, r0 + 800a7cc: 73fb strb r3, [r7, #15] usb_status = USBD_Get_USB_Status(hal_status); - 800a162: 7bfb ldrb r3, [r7, #15] - 800a164: 4618 mov r0, r3 - 800a166: f000 f939 bl 800a3dc - 800a16a: 4603 mov r3, r0 - 800a16c: 73bb strb r3, [r7, #14] + 800a7ce: 7bfb ldrb r3, [r7, #15] + 800a7d0: 4618 mov r0, r3 + 800a7d2: f000 f939 bl 800aa48 + 800a7d6: 4603 mov r3, r0 + 800a7d8: 73bb strb r3, [r7, #14] return usb_status; - 800a16e: 7bbb ldrb r3, [r7, #14] + 800a7da: 7bbb ldrb r3, [r7, #14] } - 800a170: 4618 mov r0, r3 - 800a172: 3710 adds r7, #16 - 800a174: 46bd mov sp, r7 - 800a176: bd80 pop {r7, pc} + 800a7dc: 4618 mov r0, r3 + 800a7de: 3710 adds r7, #16 + 800a7e0: 46bd mov sp, r7 + 800a7e2: bd80 pop {r7, pc} -0800a178 : +0800a7e4 : * @param pdev: Device handle * @param ep_addr: Endpoint number * @retval USBD status */ USBD_StatusTypeDef USBD_LL_StallEP(USBD_HandleTypeDef *pdev, uint8_t ep_addr) { - 800a178: b580 push {r7, lr} - 800a17a: b084 sub sp, #16 - 800a17c: af00 add r7, sp, #0 - 800a17e: 6078 str r0, [r7, #4] - 800a180: 460b mov r3, r1 - 800a182: 70fb strb r3, [r7, #3] + 800a7e4: b580 push {r7, lr} + 800a7e6: b084 sub sp, #16 + 800a7e8: af00 add r7, sp, #0 + 800a7ea: 6078 str r0, [r7, #4] + 800a7ec: 460b mov r3, r1 + 800a7ee: 70fb strb r3, [r7, #3] HAL_StatusTypeDef hal_status = HAL_OK; - 800a184: 2300 movs r3, #0 - 800a186: 73fb strb r3, [r7, #15] + 800a7f0: 2300 movs r3, #0 + 800a7f2: 73fb strb r3, [r7, #15] USBD_StatusTypeDef usb_status = USBD_OK; - 800a188: 2300 movs r3, #0 - 800a18a: 73bb strb r3, [r7, #14] + 800a7f4: 2300 movs r3, #0 + 800a7f6: 73bb strb r3, [r7, #14] hal_status = HAL_PCD_EP_SetStall(pdev->pData, ep_addr); - 800a18c: 687b ldr r3, [r7, #4] - 800a18e: f8d3 32c8 ldr.w r3, [r3, #712] @ 0x2c8 - 800a192: 78fa ldrb r2, [r7, #3] - 800a194: 4611 mov r1, r2 - 800a196: 4618 mov r0, r3 - 800a198: f7f9 fb02 bl 80037a0 - 800a19c: 4603 mov r3, r0 - 800a19e: 73fb strb r3, [r7, #15] + 800a7f8: 687b ldr r3, [r7, #4] + 800a7fa: f8d3 32c8 ldr.w r3, [r3, #712] @ 0x2c8 + 800a7fe: 78fa ldrb r2, [r7, #3] + 800a800: 4611 mov r1, r2 + 800a802: 4618 mov r0, r3 + 800a804: f7f9 f894 bl 8003930 + 800a808: 4603 mov r3, r0 + 800a80a: 73fb strb r3, [r7, #15] usb_status = USBD_Get_USB_Status(hal_status); - 800a1a0: 7bfb ldrb r3, [r7, #15] - 800a1a2: 4618 mov r0, r3 - 800a1a4: f000 f91a bl 800a3dc - 800a1a8: 4603 mov r3, r0 - 800a1aa: 73bb strb r3, [r7, #14] + 800a80c: 7bfb ldrb r3, [r7, #15] + 800a80e: 4618 mov r0, r3 + 800a810: f000 f91a bl 800aa48 + 800a814: 4603 mov r3, r0 + 800a816: 73bb strb r3, [r7, #14] return usb_status; - 800a1ac: 7bbb ldrb r3, [r7, #14] + 800a818: 7bbb ldrb r3, [r7, #14] } - 800a1ae: 4618 mov r0, r3 - 800a1b0: 3710 adds r7, #16 - 800a1b2: 46bd mov sp, r7 - 800a1b4: bd80 pop {r7, pc} + 800a81a: 4618 mov r0, r3 + 800a81c: 3710 adds r7, #16 + 800a81e: 46bd mov sp, r7 + 800a820: bd80 pop {r7, pc} -0800a1b6 : +0800a822 : * @param pdev: Device handle * @param ep_addr: Endpoint number * @retval USBD status */ USBD_StatusTypeDef USBD_LL_ClearStallEP(USBD_HandleTypeDef *pdev, uint8_t ep_addr) { - 800a1b6: b580 push {r7, lr} - 800a1b8: b084 sub sp, #16 - 800a1ba: af00 add r7, sp, #0 - 800a1bc: 6078 str r0, [r7, #4] - 800a1be: 460b mov r3, r1 - 800a1c0: 70fb strb r3, [r7, #3] + 800a822: b580 push {r7, lr} + 800a824: b084 sub sp, #16 + 800a826: af00 add r7, sp, #0 + 800a828: 6078 str r0, [r7, #4] + 800a82a: 460b mov r3, r1 + 800a82c: 70fb strb r3, [r7, #3] HAL_StatusTypeDef hal_status = HAL_OK; - 800a1c2: 2300 movs r3, #0 - 800a1c4: 73fb strb r3, [r7, #15] + 800a82e: 2300 movs r3, #0 + 800a830: 73fb strb r3, [r7, #15] USBD_StatusTypeDef usb_status = USBD_OK; - 800a1c6: 2300 movs r3, #0 - 800a1c8: 73bb strb r3, [r7, #14] + 800a832: 2300 movs r3, #0 + 800a834: 73bb strb r3, [r7, #14] hal_status = HAL_PCD_EP_ClrStall(pdev->pData, ep_addr); - 800a1ca: 687b ldr r3, [r7, #4] - 800a1cc: f8d3 32c8 ldr.w r3, [r3, #712] @ 0x2c8 - 800a1d0: 78fa ldrb r2, [r7, #3] - 800a1d2: 4611 mov r1, r2 - 800a1d4: 4618 mov r0, r3 - 800a1d6: f7f9 fb46 bl 8003866 - 800a1da: 4603 mov r3, r0 - 800a1dc: 73fb strb r3, [r7, #15] + 800a836: 687b ldr r3, [r7, #4] + 800a838: f8d3 32c8 ldr.w r3, [r3, #712] @ 0x2c8 + 800a83c: 78fa ldrb r2, [r7, #3] + 800a83e: 4611 mov r1, r2 + 800a840: 4618 mov r0, r3 + 800a842: f7f9 f8d8 bl 80039f6 + 800a846: 4603 mov r3, r0 + 800a848: 73fb strb r3, [r7, #15] usb_status = USBD_Get_USB_Status(hal_status); - 800a1de: 7bfb ldrb r3, [r7, #15] - 800a1e0: 4618 mov r0, r3 - 800a1e2: f000 f8fb bl 800a3dc - 800a1e6: 4603 mov r3, r0 - 800a1e8: 73bb strb r3, [r7, #14] + 800a84a: 7bfb ldrb r3, [r7, #15] + 800a84c: 4618 mov r0, r3 + 800a84e: f000 f8fb bl 800aa48 + 800a852: 4603 mov r3, r0 + 800a854: 73bb strb r3, [r7, #14] return usb_status; - 800a1ea: 7bbb ldrb r3, [r7, #14] + 800a856: 7bbb ldrb r3, [r7, #14] } - 800a1ec: 4618 mov r0, r3 - 800a1ee: 3710 adds r7, #16 - 800a1f0: 46bd mov sp, r7 - 800a1f2: bd80 pop {r7, pc} + 800a858: 4618 mov r0, r3 + 800a85a: 3710 adds r7, #16 + 800a85c: 46bd mov sp, r7 + 800a85e: bd80 pop {r7, pc} -0800a1f4 : +0800a860 : * @param pdev: Device handle * @param ep_addr: Endpoint number * @retval Stall (1: Yes, 0: No) */ uint8_t USBD_LL_IsStallEP(USBD_HandleTypeDef *pdev, uint8_t ep_addr) { - 800a1f4: b480 push {r7} - 800a1f6: b085 sub sp, #20 - 800a1f8: af00 add r7, sp, #0 - 800a1fa: 6078 str r0, [r7, #4] - 800a1fc: 460b mov r3, r1 - 800a1fe: 70fb strb r3, [r7, #3] + 800a860: b480 push {r7} + 800a862: b085 sub sp, #20 + 800a864: af00 add r7, sp, #0 + 800a866: 6078 str r0, [r7, #4] + 800a868: 460b mov r3, r1 + 800a86a: 70fb strb r3, [r7, #3] PCD_HandleTypeDef *hpcd = (PCD_HandleTypeDef*) pdev->pData; - 800a200: 687b ldr r3, [r7, #4] - 800a202: f8d3 32c8 ldr.w r3, [r3, #712] @ 0x2c8 - 800a206: 60fb str r3, [r7, #12] + 800a86c: 687b ldr r3, [r7, #4] + 800a86e: f8d3 32c8 ldr.w r3, [r3, #712] @ 0x2c8 + 800a872: 60fb str r3, [r7, #12] if((ep_addr & 0x80) == 0x80) - 800a208: f997 3003 ldrsb.w r3, [r7, #3] - 800a20c: 2b00 cmp r3, #0 - 800a20e: da0b bge.n 800a228 + 800a874: f997 3003 ldrsb.w r3, [r7, #3] + 800a878: 2b00 cmp r3, #0 + 800a87a: da0b bge.n 800a894 { return hpcd->IN_ep[ep_addr & 0x7F].is_stall; - 800a210: 78fb ldrb r3, [r7, #3] - 800a212: f003 027f and.w r2, r3, #127 @ 0x7f - 800a216: 68f9 ldr r1, [r7, #12] - 800a218: 4613 mov r3, r2 - 800a21a: 00db lsls r3, r3, #3 - 800a21c: 4413 add r3, r2 - 800a21e: 009b lsls r3, r3, #2 - 800a220: 440b add r3, r1 - 800a222: 3316 adds r3, #22 - 800a224: 781b ldrb r3, [r3, #0] - 800a226: e00b b.n 800a240 + 800a87c: 78fb ldrb r3, [r7, #3] + 800a87e: f003 027f and.w r2, r3, #127 @ 0x7f + 800a882: 68f9 ldr r1, [r7, #12] + 800a884: 4613 mov r3, r2 + 800a886: 00db lsls r3, r3, #3 + 800a888: 4413 add r3, r2 + 800a88a: 009b lsls r3, r3, #2 + 800a88c: 440b add r3, r1 + 800a88e: 3316 adds r3, #22 + 800a890: 781b ldrb r3, [r3, #0] + 800a892: e00b b.n 800a8ac } else { return hpcd->OUT_ep[ep_addr & 0x7F].is_stall; - 800a228: 78fb ldrb r3, [r7, #3] - 800a22a: f003 027f and.w r2, r3, #127 @ 0x7f - 800a22e: 68f9 ldr r1, [r7, #12] - 800a230: 4613 mov r3, r2 - 800a232: 00db lsls r3, r3, #3 - 800a234: 4413 add r3, r2 - 800a236: 009b lsls r3, r3, #2 - 800a238: 440b add r3, r1 - 800a23a: f203 2356 addw r3, r3, #598 @ 0x256 - 800a23e: 781b ldrb r3, [r3, #0] + 800a894: 78fb ldrb r3, [r7, #3] + 800a896: f003 027f and.w r2, r3, #127 @ 0x7f + 800a89a: 68f9 ldr r1, [r7, #12] + 800a89c: 4613 mov r3, r2 + 800a89e: 00db lsls r3, r3, #3 + 800a8a0: 4413 add r3, r2 + 800a8a2: 009b lsls r3, r3, #2 + 800a8a4: 440b add r3, r1 + 800a8a6: f203 2356 addw r3, r3, #598 @ 0x256 + 800a8aa: 781b ldrb r3, [r3, #0] } } - 800a240: 4618 mov r0, r3 - 800a242: 3714 adds r7, #20 - 800a244: 46bd mov sp, r7 - 800a246: f85d 7b04 ldr.w r7, [sp], #4 - 800a24a: 4770 bx lr + 800a8ac: 4618 mov r0, r3 + 800a8ae: 3714 adds r7, #20 + 800a8b0: 46bd mov sp, r7 + 800a8b2: f85d 7b04 ldr.w r7, [sp], #4 + 800a8b6: 4770 bx lr -0800a24c : +0800a8b8 : * @param pdev: Device handle * @param dev_addr: Device address * @retval USBD status */ USBD_StatusTypeDef USBD_LL_SetUSBAddress(USBD_HandleTypeDef *pdev, uint8_t dev_addr) { - 800a24c: b580 push {r7, lr} - 800a24e: b084 sub sp, #16 - 800a250: af00 add r7, sp, #0 - 800a252: 6078 str r0, [r7, #4] - 800a254: 460b mov r3, r1 - 800a256: 70fb strb r3, [r7, #3] + 800a8b8: b580 push {r7, lr} + 800a8ba: b084 sub sp, #16 + 800a8bc: af00 add r7, sp, #0 + 800a8be: 6078 str r0, [r7, #4] + 800a8c0: 460b mov r3, r1 + 800a8c2: 70fb strb r3, [r7, #3] HAL_StatusTypeDef hal_status = HAL_OK; - 800a258: 2300 movs r3, #0 - 800a25a: 73fb strb r3, [r7, #15] + 800a8c4: 2300 movs r3, #0 + 800a8c6: 73fb strb r3, [r7, #15] USBD_StatusTypeDef usb_status = USBD_OK; - 800a25c: 2300 movs r3, #0 - 800a25e: 73bb strb r3, [r7, #14] + 800a8c8: 2300 movs r3, #0 + 800a8ca: 73bb strb r3, [r7, #14] hal_status = HAL_PCD_SetAddress(pdev->pData, dev_addr); - 800a260: 687b ldr r3, [r7, #4] - 800a262: f8d3 32c8 ldr.w r3, [r3, #712] @ 0x2c8 - 800a266: 78fa ldrb r2, [r7, #3] - 800a268: 4611 mov r1, r2 - 800a26a: 4618 mov r0, r3 - 800a26c: f7f9 f94b bl 8003506 - 800a270: 4603 mov r3, r0 - 800a272: 73fb strb r3, [r7, #15] + 800a8cc: 687b ldr r3, [r7, #4] + 800a8ce: f8d3 32c8 ldr.w r3, [r3, #712] @ 0x2c8 + 800a8d2: 78fa ldrb r2, [r7, #3] + 800a8d4: 4611 mov r1, r2 + 800a8d6: 4618 mov r0, r3 + 800a8d8: f7f8 fedd bl 8003696 + 800a8dc: 4603 mov r3, r0 + 800a8de: 73fb strb r3, [r7, #15] usb_status = USBD_Get_USB_Status(hal_status); - 800a274: 7bfb ldrb r3, [r7, #15] - 800a276: 4618 mov r0, r3 - 800a278: f000 f8b0 bl 800a3dc - 800a27c: 4603 mov r3, r0 - 800a27e: 73bb strb r3, [r7, #14] + 800a8e0: 7bfb ldrb r3, [r7, #15] + 800a8e2: 4618 mov r0, r3 + 800a8e4: f000 f8b0 bl 800aa48 + 800a8e8: 4603 mov r3, r0 + 800a8ea: 73bb strb r3, [r7, #14] return usb_status; - 800a280: 7bbb ldrb r3, [r7, #14] + 800a8ec: 7bbb ldrb r3, [r7, #14] } - 800a282: 4618 mov r0, r3 - 800a284: 3710 adds r7, #16 - 800a286: 46bd mov sp, r7 - 800a288: bd80 pop {r7, pc} + 800a8ee: 4618 mov r0, r3 + 800a8f0: 3710 adds r7, #16 + 800a8f2: 46bd mov sp, r7 + 800a8f4: bd80 pop {r7, pc} -0800a28a : +0800a8f6 : * @param pbuf: Pointer to data to be sent * @param size: Data size * @retval USBD status */ USBD_StatusTypeDef USBD_LL_Transmit(USBD_HandleTypeDef *pdev, uint8_t ep_addr, uint8_t *pbuf, uint32_t size) { - 800a28a: b580 push {r7, lr} - 800a28c: b086 sub sp, #24 - 800a28e: af00 add r7, sp, #0 - 800a290: 60f8 str r0, [r7, #12] - 800a292: 607a str r2, [r7, #4] - 800a294: 603b str r3, [r7, #0] - 800a296: 460b mov r3, r1 - 800a298: 72fb strb r3, [r7, #11] + 800a8f6: b580 push {r7, lr} + 800a8f8: b086 sub sp, #24 + 800a8fa: af00 add r7, sp, #0 + 800a8fc: 60f8 str r0, [r7, #12] + 800a8fe: 607a str r2, [r7, #4] + 800a900: 603b str r3, [r7, #0] + 800a902: 460b mov r3, r1 + 800a904: 72fb strb r3, [r7, #11] HAL_StatusTypeDef hal_status = HAL_OK; - 800a29a: 2300 movs r3, #0 - 800a29c: 75fb strb r3, [r7, #23] + 800a906: 2300 movs r3, #0 + 800a908: 75fb strb r3, [r7, #23] USBD_StatusTypeDef usb_status = USBD_OK; - 800a29e: 2300 movs r3, #0 - 800a2a0: 75bb strb r3, [r7, #22] + 800a90a: 2300 movs r3, #0 + 800a90c: 75bb strb r3, [r7, #22] hal_status = HAL_PCD_EP_Transmit(pdev->pData, ep_addr, pbuf, size); - 800a2a2: 68fb ldr r3, [r7, #12] - 800a2a4: f8d3 02c8 ldr.w r0, [r3, #712] @ 0x2c8 - 800a2a8: 7af9 ldrb r1, [r7, #11] - 800a2aa: 683b ldr r3, [r7, #0] - 800a2ac: 687a ldr r2, [r7, #4] - 800a2ae: f7f9 fa3d bl 800372c - 800a2b2: 4603 mov r3, r0 - 800a2b4: 75fb strb r3, [r7, #23] + 800a90e: 68fb ldr r3, [r7, #12] + 800a910: f8d3 02c8 ldr.w r0, [r3, #712] @ 0x2c8 + 800a914: 7af9 ldrb r1, [r7, #11] + 800a916: 683b ldr r3, [r7, #0] + 800a918: 687a ldr r2, [r7, #4] + 800a91a: f7f8 ffcf bl 80038bc + 800a91e: 4603 mov r3, r0 + 800a920: 75fb strb r3, [r7, #23] usb_status = USBD_Get_USB_Status(hal_status); - 800a2b6: 7dfb ldrb r3, [r7, #23] - 800a2b8: 4618 mov r0, r3 - 800a2ba: f000 f88f bl 800a3dc - 800a2be: 4603 mov r3, r0 - 800a2c0: 75bb strb r3, [r7, #22] + 800a922: 7dfb ldrb r3, [r7, #23] + 800a924: 4618 mov r0, r3 + 800a926: f000 f88f bl 800aa48 + 800a92a: 4603 mov r3, r0 + 800a92c: 75bb strb r3, [r7, #22] return usb_status; - 800a2c2: 7dbb ldrb r3, [r7, #22] + 800a92e: 7dbb ldrb r3, [r7, #22] } - 800a2c4: 4618 mov r0, r3 - 800a2c6: 3718 adds r7, #24 - 800a2c8: 46bd mov sp, r7 - 800a2ca: bd80 pop {r7, pc} + 800a930: 4618 mov r0, r3 + 800a932: 3718 adds r7, #24 + 800a934: 46bd mov sp, r7 + 800a936: bd80 pop {r7, pc} -0800a2cc : +0800a938 : * @param pbuf: Pointer to data to be received * @param size: Data size * @retval USBD status */ USBD_StatusTypeDef USBD_LL_PrepareReceive(USBD_HandleTypeDef *pdev, uint8_t ep_addr, uint8_t *pbuf, uint32_t size) { - 800a2cc: b580 push {r7, lr} - 800a2ce: b086 sub sp, #24 - 800a2d0: af00 add r7, sp, #0 - 800a2d2: 60f8 str r0, [r7, #12] - 800a2d4: 607a str r2, [r7, #4] - 800a2d6: 603b str r3, [r7, #0] - 800a2d8: 460b mov r3, r1 - 800a2da: 72fb strb r3, [r7, #11] + 800a938: b580 push {r7, lr} + 800a93a: b086 sub sp, #24 + 800a93c: af00 add r7, sp, #0 + 800a93e: 60f8 str r0, [r7, #12] + 800a940: 607a str r2, [r7, #4] + 800a942: 603b str r3, [r7, #0] + 800a944: 460b mov r3, r1 + 800a946: 72fb strb r3, [r7, #11] HAL_StatusTypeDef hal_status = HAL_OK; - 800a2dc: 2300 movs r3, #0 - 800a2de: 75fb strb r3, [r7, #23] + 800a948: 2300 movs r3, #0 + 800a94a: 75fb strb r3, [r7, #23] USBD_StatusTypeDef usb_status = USBD_OK; - 800a2e0: 2300 movs r3, #0 - 800a2e2: 75bb strb r3, [r7, #22] + 800a94c: 2300 movs r3, #0 + 800a94e: 75bb strb r3, [r7, #22] hal_status = HAL_PCD_EP_Receive(pdev->pData, ep_addr, pbuf, size); - 800a2e4: 68fb ldr r3, [r7, #12] - 800a2e6: f8d3 02c8 ldr.w r0, [r3, #712] @ 0x2c8 - 800a2ea: 7af9 ldrb r1, [r7, #11] - 800a2ec: 683b ldr r3, [r7, #0] - 800a2ee: 687a ldr r2, [r7, #4] - 800a2f0: f7f9 f9e1 bl 80036b6 - 800a2f4: 4603 mov r3, r0 - 800a2f6: 75fb strb r3, [r7, #23] + 800a950: 68fb ldr r3, [r7, #12] + 800a952: f8d3 02c8 ldr.w r0, [r3, #712] @ 0x2c8 + 800a956: 7af9 ldrb r1, [r7, #11] + 800a958: 683b ldr r3, [r7, #0] + 800a95a: 687a ldr r2, [r7, #4] + 800a95c: f7f8 ff73 bl 8003846 + 800a960: 4603 mov r3, r0 + 800a962: 75fb strb r3, [r7, #23] usb_status = USBD_Get_USB_Status(hal_status); - 800a2f8: 7dfb ldrb r3, [r7, #23] - 800a2fa: 4618 mov r0, r3 - 800a2fc: f000 f86e bl 800a3dc - 800a300: 4603 mov r3, r0 - 800a302: 75bb strb r3, [r7, #22] + 800a964: 7dfb ldrb r3, [r7, #23] + 800a966: 4618 mov r0, r3 + 800a968: f000 f86e bl 800aa48 + 800a96c: 4603 mov r3, r0 + 800a96e: 75bb strb r3, [r7, #22] return usb_status; - 800a304: 7dbb ldrb r3, [r7, #22] + 800a970: 7dbb ldrb r3, [r7, #22] } - 800a306: 4618 mov r0, r3 - 800a308: 3718 adds r7, #24 - 800a30a: 46bd mov sp, r7 - 800a30c: bd80 pop {r7, pc} + 800a972: 4618 mov r0, r3 + 800a974: 3718 adds r7, #24 + 800a976: 46bd mov sp, r7 + 800a978: bd80 pop {r7, pc} ... -0800a310 : +0800a97c : * @param hpcd: PCD handle * @param msg: LPM message * @retval None */ void HAL_PCDEx_LPM_Callback(PCD_HandleTypeDef *hpcd, PCD_LPM_MsgTypeDef msg) { - 800a310: b580 push {r7, lr} - 800a312: b082 sub sp, #8 - 800a314: af00 add r7, sp, #0 - 800a316: 6078 str r0, [r7, #4] - 800a318: 460b mov r3, r1 - 800a31a: 70fb strb r3, [r7, #3] + 800a97c: b580 push {r7, lr} + 800a97e: b082 sub sp, #8 + 800a980: af00 add r7, sp, #0 + 800a982: 6078 str r0, [r7, #4] + 800a984: 460b mov r3, r1 + 800a986: 70fb strb r3, [r7, #3] switch (msg) - 800a31c: 78fb ldrb r3, [r7, #3] - 800a31e: 2b00 cmp r3, #0 - 800a320: d002 beq.n 800a328 - 800a322: 2b01 cmp r3, #1 - 800a324: d01f beq.n 800a366 + 800a988: 78fb ldrb r3, [r7, #3] + 800a98a: 2b00 cmp r3, #0 + 800a98c: d002 beq.n 800a994 + 800a98e: 2b01 cmp r3, #1 + 800a990: d01f beq.n 800a9d2 /* Set SLEEPDEEP bit and SleepOnExit of Cortex System Control Register. */ SCB->SCR |= (uint32_t)((uint32_t)(SCB_SCR_SLEEPDEEP_Msk | SCB_SCR_SLEEPONEXIT_Msk)); } break; } } - 800a326: e03b b.n 800a3a0 + 800a992: e03b b.n 800aa0c if (hpcd->Init.low_power_enable) - 800a328: 687b ldr r3, [r7, #4] - 800a32a: 7adb ldrb r3, [r3, #11] - 800a32c: 2b00 cmp r3, #0 - 800a32e: d007 beq.n 800a340 + 800a994: 687b ldr r3, [r7, #4] + 800a996: 7adb ldrb r3, [r3, #11] + 800a998: 2b00 cmp r3, #0 + 800a99a: d007 beq.n 800a9ac SystemClock_Config(); - 800a330: f7f6 fafc bl 800092c + 800a99c: f7f5 ffe2 bl 8000964 SCB->SCR &= (uint32_t)~((uint32_t)(SCB_SCR_SLEEPDEEP_Msk | SCB_SCR_SLEEPONEXIT_Msk)); - 800a334: 4b1c ldr r3, [pc, #112] @ (800a3a8 ) - 800a336: 691b ldr r3, [r3, #16] - 800a338: 4a1b ldr r2, [pc, #108] @ (800a3a8 ) - 800a33a: f023 0306 bic.w r3, r3, #6 - 800a33e: 6113 str r3, [r2, #16] + 800a9a0: 4b1c ldr r3, [pc, #112] @ (800aa14 ) + 800a9a2: 691b ldr r3, [r3, #16] + 800a9a4: 4a1b ldr r2, [pc, #108] @ (800aa14 ) + 800a9a6: f023 0306 bic.w r3, r3, #6 + 800a9aa: 6113 str r3, [r2, #16] __HAL_PCD_UNGATE_PHYCLOCK(hpcd); - 800a340: 687b ldr r3, [r7, #4] - 800a342: 681b ldr r3, [r3, #0] - 800a344: f503 6360 add.w r3, r3, #3584 @ 0xe00 - 800a348: 681b ldr r3, [r3, #0] - 800a34a: 687a ldr r2, [r7, #4] - 800a34c: 6812 ldr r2, [r2, #0] - 800a34e: f502 6260 add.w r2, r2, #3584 @ 0xe00 - 800a352: f023 0301 bic.w r3, r3, #1 - 800a356: 6013 str r3, [r2, #0] + 800a9ac: 687b ldr r3, [r7, #4] + 800a9ae: 681b ldr r3, [r3, #0] + 800a9b0: f503 6360 add.w r3, r3, #3584 @ 0xe00 + 800a9b4: 681b ldr r3, [r3, #0] + 800a9b6: 687a ldr r2, [r7, #4] + 800a9b8: 6812 ldr r2, [r2, #0] + 800a9ba: f502 6260 add.w r2, r2, #3584 @ 0xe00 + 800a9be: f023 0301 bic.w r3, r3, #1 + 800a9c2: 6013 str r3, [r2, #0] USBD_LL_Resume(hpcd->pData); - 800a358: 687b ldr r3, [r7, #4] - 800a35a: f8d3 34e0 ldr.w r3, [r3, #1248] @ 0x4e0 - 800a35e: 4618 mov r0, r3 - 800a360: f7fe fb90 bl 8008a84 + 800a9c4: 687b ldr r3, [r7, #4] + 800a9c6: f8d3 34e0 ldr.w r3, [r3, #1248] @ 0x4e0 + 800a9ca: 4618 mov r0, r3 + 800a9cc: f7fe fb90 bl 80090f0 break; - 800a364: e01c b.n 800a3a0 + 800a9d0: e01c b.n 800aa0c __HAL_PCD_GATE_PHYCLOCK(hpcd); - 800a366: 687b ldr r3, [r7, #4] - 800a368: 681b ldr r3, [r3, #0] - 800a36a: f503 6360 add.w r3, r3, #3584 @ 0xe00 - 800a36e: 681b ldr r3, [r3, #0] - 800a370: 687a ldr r2, [r7, #4] - 800a372: 6812 ldr r2, [r2, #0] - 800a374: f502 6260 add.w r2, r2, #3584 @ 0xe00 - 800a378: f043 0301 orr.w r3, r3, #1 - 800a37c: 6013 str r3, [r2, #0] + 800a9d2: 687b ldr r3, [r7, #4] + 800a9d4: 681b ldr r3, [r3, #0] + 800a9d6: f503 6360 add.w r3, r3, #3584 @ 0xe00 + 800a9da: 681b ldr r3, [r3, #0] + 800a9dc: 687a ldr r2, [r7, #4] + 800a9de: 6812 ldr r2, [r2, #0] + 800a9e0: f502 6260 add.w r2, r2, #3584 @ 0xe00 + 800a9e4: f043 0301 orr.w r3, r3, #1 + 800a9e8: 6013 str r3, [r2, #0] USBD_LL_Suspend(hpcd->pData); - 800a37e: 687b ldr r3, [r7, #4] - 800a380: f8d3 34e0 ldr.w r3, [r3, #1248] @ 0x4e0 - 800a384: 4618 mov r0, r3 - 800a386: f7fe fb61 bl 8008a4c + 800a9ea: 687b ldr r3, [r7, #4] + 800a9ec: f8d3 34e0 ldr.w r3, [r3, #1248] @ 0x4e0 + 800a9f0: 4618 mov r0, r3 + 800a9f2: f7fe fb61 bl 80090b8 if (hpcd->Init.low_power_enable) - 800a38a: 687b ldr r3, [r7, #4] - 800a38c: 7adb ldrb r3, [r3, #11] - 800a38e: 2b00 cmp r3, #0 - 800a390: d005 beq.n 800a39e + 800a9f6: 687b ldr r3, [r7, #4] + 800a9f8: 7adb ldrb r3, [r3, #11] + 800a9fa: 2b00 cmp r3, #0 + 800a9fc: d005 beq.n 800aa0a SCB->SCR |= (uint32_t)((uint32_t)(SCB_SCR_SLEEPDEEP_Msk | SCB_SCR_SLEEPONEXIT_Msk)); - 800a392: 4b05 ldr r3, [pc, #20] @ (800a3a8 ) - 800a394: 691b ldr r3, [r3, #16] - 800a396: 4a04 ldr r2, [pc, #16] @ (800a3a8 ) - 800a398: f043 0306 orr.w r3, r3, #6 - 800a39c: 6113 str r3, [r2, #16] + 800a9fe: 4b05 ldr r3, [pc, #20] @ (800aa14 ) + 800aa00: 691b ldr r3, [r3, #16] + 800aa02: 4a04 ldr r2, [pc, #16] @ (800aa14 ) + 800aa04: f043 0306 orr.w r3, r3, #6 + 800aa08: 6113 str r3, [r2, #16] break; - 800a39e: bf00 nop + 800aa0a: bf00 nop } - 800a3a0: bf00 nop - 800a3a2: 3708 adds r7, #8 - 800a3a4: 46bd mov sp, r7 - 800a3a6: bd80 pop {r7, pc} - 800a3a8: e000ed00 .word 0xe000ed00 + 800aa0c: bf00 nop + 800aa0e: 3708 adds r7, #8 + 800aa10: 46bd mov sp, r7 + 800aa12: bd80 pop {r7, pc} + 800aa14: e000ed00 .word 0xe000ed00 -0800a3ac : +0800aa18 : * @brief Static single allocation. * @param size: Size of allocated memory * @retval None */ void *USBD_static_malloc(uint32_t size) { - 800a3ac: b480 push {r7} - 800a3ae: b083 sub sp, #12 - 800a3b0: af00 add r7, sp, #0 - 800a3b2: 6078 str r0, [r7, #4] + 800aa18: b480 push {r7} + 800aa1a: b083 sub sp, #12 + 800aa1c: af00 add r7, sp, #0 + 800aa1e: 6078 str r0, [r7, #4] static uint32_t mem[(sizeof(USBD_HID_HandleTypeDef)/4)+1];/* On 32-bit boundary */ return mem; - 800a3b4: 4b03 ldr r3, [pc, #12] @ (800a3c4 ) + 800aa20: 4b03 ldr r3, [pc, #12] @ (800aa30 ) } - 800a3b6: 4618 mov r0, r3 - 800a3b8: 370c adds r7, #12 - 800a3ba: 46bd mov sp, r7 - 800a3bc: f85d 7b04 ldr.w r7, [sp], #4 - 800a3c0: 4770 bx lr - 800a3c2: bf00 nop - 800a3c4: 200010bc .word 0x200010bc + 800aa22: 4618 mov r0, r3 + 800aa24: 370c adds r7, #12 + 800aa26: 46bd mov sp, r7 + 800aa28: f85d 7b04 ldr.w r7, [sp], #4 + 800aa2c: 4770 bx lr + 800aa2e: bf00 nop + 800aa30: 200010e4 .word 0x200010e4 -0800a3c8 : +0800aa34 : * @brief Dummy memory free * @param p: Pointer to allocated memory address * @retval None */ void USBD_static_free(void *p) { - 800a3c8: b480 push {r7} - 800a3ca: b083 sub sp, #12 - 800a3cc: af00 add r7, sp, #0 - 800a3ce: 6078 str r0, [r7, #4] + 800aa34: b480 push {r7} + 800aa36: b083 sub sp, #12 + 800aa38: af00 add r7, sp, #0 + 800aa3a: 6078 str r0, [r7, #4] } - 800a3d0: bf00 nop - 800a3d2: 370c adds r7, #12 - 800a3d4: 46bd mov sp, r7 - 800a3d6: f85d 7b04 ldr.w r7, [sp], #4 - 800a3da: 4770 bx lr + 800aa3c: bf00 nop + 800aa3e: 370c adds r7, #12 + 800aa40: 46bd mov sp, r7 + 800aa42: f85d 7b04 ldr.w r7, [sp], #4 + 800aa46: 4770 bx lr -0800a3dc : +0800aa48 : * @brief Returns the USB status depending on the HAL status: * @param hal_status: HAL status * @retval USB status */ USBD_StatusTypeDef USBD_Get_USB_Status(HAL_StatusTypeDef hal_status) { - 800a3dc: b480 push {r7} - 800a3de: b085 sub sp, #20 - 800a3e0: af00 add r7, sp, #0 - 800a3e2: 4603 mov r3, r0 - 800a3e4: 71fb strb r3, [r7, #7] + 800aa48: b480 push {r7} + 800aa4a: b085 sub sp, #20 + 800aa4c: af00 add r7, sp, #0 + 800aa4e: 4603 mov r3, r0 + 800aa50: 71fb strb r3, [r7, #7] USBD_StatusTypeDef usb_status = USBD_OK; - 800a3e6: 2300 movs r3, #0 - 800a3e8: 73fb strb r3, [r7, #15] + 800aa52: 2300 movs r3, #0 + 800aa54: 73fb strb r3, [r7, #15] switch (hal_status) - 800a3ea: 79fb ldrb r3, [r7, #7] - 800a3ec: 2b03 cmp r3, #3 - 800a3ee: d817 bhi.n 800a420 - 800a3f0: a201 add r2, pc, #4 @ (adr r2, 800a3f8 ) - 800a3f2: f852 f023 ldr.w pc, [r2, r3, lsl #2] - 800a3f6: bf00 nop - 800a3f8: 0800a409 .word 0x0800a409 - 800a3fc: 0800a40f .word 0x0800a40f - 800a400: 0800a415 .word 0x0800a415 - 800a404: 0800a41b .word 0x0800a41b + 800aa56: 79fb ldrb r3, [r7, #7] + 800aa58: 2b03 cmp r3, #3 + 800aa5a: d817 bhi.n 800aa8c + 800aa5c: a201 add r2, pc, #4 @ (adr r2, 800aa64 ) + 800aa5e: f852 f023 ldr.w pc, [r2, r3, lsl #2] + 800aa62: bf00 nop + 800aa64: 0800aa75 .word 0x0800aa75 + 800aa68: 0800aa7b .word 0x0800aa7b + 800aa6c: 0800aa81 .word 0x0800aa81 + 800aa70: 0800aa87 .word 0x0800aa87 { case HAL_OK : usb_status = USBD_OK; - 800a408: 2300 movs r3, #0 - 800a40a: 73fb strb r3, [r7, #15] + 800aa74: 2300 movs r3, #0 + 800aa76: 73fb strb r3, [r7, #15] break; - 800a40c: e00b b.n 800a426 + 800aa78: e00b b.n 800aa92 case HAL_ERROR : usb_status = USBD_FAIL; - 800a40e: 2303 movs r3, #3 - 800a410: 73fb strb r3, [r7, #15] + 800aa7a: 2303 movs r3, #3 + 800aa7c: 73fb strb r3, [r7, #15] break; - 800a412: e008 b.n 800a426 + 800aa7e: e008 b.n 800aa92 case HAL_BUSY : usb_status = USBD_BUSY; - 800a414: 2301 movs r3, #1 - 800a416: 73fb strb r3, [r7, #15] + 800aa80: 2301 movs r3, #1 + 800aa82: 73fb strb r3, [r7, #15] break; - 800a418: e005 b.n 800a426 + 800aa84: e005 b.n 800aa92 case HAL_TIMEOUT : usb_status = USBD_FAIL; - 800a41a: 2303 movs r3, #3 - 800a41c: 73fb strb r3, [r7, #15] + 800aa86: 2303 movs r3, #3 + 800aa88: 73fb strb r3, [r7, #15] break; - 800a41e: e002 b.n 800a426 + 800aa8a: e002 b.n 800aa92 default : usb_status = USBD_FAIL; - 800a420: 2303 movs r3, #3 - 800a422: 73fb strb r3, [r7, #15] + 800aa8c: 2303 movs r3, #3 + 800aa8e: 73fb strb r3, [r7, #15] break; - 800a424: bf00 nop + 800aa90: bf00 nop } return usb_status; - 800a426: 7bfb ldrb r3, [r7, #15] + 800aa92: 7bfb ldrb r3, [r7, #15] } - 800a428: 4618 mov r0, r3 - 800a42a: 3714 adds r7, #20 - 800a42c: 46bd mov sp, r7 - 800a42e: f85d 7b04 ldr.w r7, [sp], #4 - 800a432: 4770 bx lr + 800aa94: 4618 mov r0, r3 + 800aa96: 3714 adds r7, #20 + 800aa98: 46bd mov sp, r7 + 800aa9a: f85d 7b04 ldr.w r7, [sp], #4 + 800aa9e: 4770 bx lr -0800a434 : - 800a434: 4402 add r2, r0 - 800a436: 4603 mov r3, r0 - 800a438: 4293 cmp r3, r2 - 800a43a: d100 bne.n 800a43e - 800a43c: 4770 bx lr - 800a43e: f803 1b01 strb.w r1, [r3], #1 - 800a442: e7f9 b.n 800a438 +0800aaa0 : + 800aaa0: 4402 add r2, r0 + 800aaa2: 4603 mov r3, r0 + 800aaa4: 4293 cmp r3, r2 + 800aaa6: d100 bne.n 800aaaa + 800aaa8: 4770 bx lr + 800aaaa: f803 1b01 strb.w r1, [r3], #1 + 800aaae: e7f9 b.n 800aaa4 -0800a444 <__libc_init_array>: - 800a444: b570 push {r4, r5, r6, lr} - 800a446: 4d0d ldr r5, [pc, #52] @ (800a47c <__libc_init_array+0x38>) - 800a448: 4c0d ldr r4, [pc, #52] @ (800a480 <__libc_init_array+0x3c>) - 800a44a: 1b64 subs r4, r4, r5 - 800a44c: 10a4 asrs r4, r4, #2 - 800a44e: 2600 movs r6, #0 - 800a450: 42a6 cmp r6, r4 - 800a452: d109 bne.n 800a468 <__libc_init_array+0x24> - 800a454: 4d0b ldr r5, [pc, #44] @ (800a484 <__libc_init_array+0x40>) - 800a456: 4c0c ldr r4, [pc, #48] @ (800a488 <__libc_init_array+0x44>) - 800a458: f000 f818 bl 800a48c <_init> - 800a45c: 1b64 subs r4, r4, r5 - 800a45e: 10a4 asrs r4, r4, #2 - 800a460: 2600 movs r6, #0 - 800a462: 42a6 cmp r6, r4 - 800a464: d105 bne.n 800a472 <__libc_init_array+0x2e> - 800a466: bd70 pop {r4, r5, r6, pc} - 800a468: f855 3b04 ldr.w r3, [r5], #4 - 800a46c: 4798 blx r3 - 800a46e: 3601 adds r6, #1 - 800a470: e7ee b.n 800a450 <__libc_init_array+0xc> - 800a472: f855 3b04 ldr.w r3, [r5], #4 - 800a476: 4798 blx r3 - 800a478: 3601 adds r6, #1 - 800a47a: e7f2 b.n 800a462 <__libc_init_array+0x1e> - 800a47c: 0800a508 .word 0x0800a508 - 800a480: 0800a508 .word 0x0800a508 - 800a484: 0800a508 .word 0x0800a508 - 800a488: 0800a50c .word 0x0800a50c +0800aab0 <__libc_init_array>: + 800aab0: b570 push {r4, r5, r6, lr} + 800aab2: 4d0d ldr r5, [pc, #52] @ (800aae8 <__libc_init_array+0x38>) + 800aab4: 4c0d ldr r4, [pc, #52] @ (800aaec <__libc_init_array+0x3c>) + 800aab6: 1b64 subs r4, r4, r5 + 800aab8: 10a4 asrs r4, r4, #2 + 800aaba: 2600 movs r6, #0 + 800aabc: 42a6 cmp r6, r4 + 800aabe: d109 bne.n 800aad4 <__libc_init_array+0x24> + 800aac0: 4d0b ldr r5, [pc, #44] @ (800aaf0 <__libc_init_array+0x40>) + 800aac2: 4c0c ldr r4, [pc, #48] @ (800aaf4 <__libc_init_array+0x44>) + 800aac4: f000 f826 bl 800ab14 <_init> + 800aac8: 1b64 subs r4, r4, r5 + 800aaca: 10a4 asrs r4, r4, #2 + 800aacc: 2600 movs r6, #0 + 800aace: 42a6 cmp r6, r4 + 800aad0: d105 bne.n 800aade <__libc_init_array+0x2e> + 800aad2: bd70 pop {r4, r5, r6, pc} + 800aad4: f855 3b04 ldr.w r3, [r5], #4 + 800aad8: 4798 blx r3 + 800aada: 3601 adds r6, #1 + 800aadc: e7ee b.n 800aabc <__libc_init_array+0xc> + 800aade: f855 3b04 ldr.w r3, [r5], #4 + 800aae2: 4798 blx r3 + 800aae4: 3601 adds r6, #1 + 800aae6: e7f2 b.n 800aace <__libc_init_array+0x1e> + 800aae8: 0800ab90 .word 0x0800ab90 + 800aaec: 0800ab90 .word 0x0800ab90 + 800aaf0: 0800ab90 .word 0x0800ab90 + 800aaf4: 0800ab94 .word 0x0800ab94 -0800a48c <_init>: - 800a48c: b5f8 push {r3, r4, r5, r6, r7, lr} - 800a48e: bf00 nop - 800a490: bcf8 pop {r3, r4, r5, r6, r7} - 800a492: bc08 pop {r3} - 800a494: 469e mov lr, r3 - 800a496: 4770 bx lr +0800aaf8 : + 800aaf8: 440a add r2, r1 + 800aafa: 4291 cmp r1, r2 + 800aafc: f100 33ff add.w r3, r0, #4294967295 @ 0xffffffff + 800ab00: d100 bne.n 800ab04 + 800ab02: 4770 bx lr + 800ab04: b510 push {r4, lr} + 800ab06: f811 4b01 ldrb.w r4, [r1], #1 + 800ab0a: f803 4f01 strb.w r4, [r3, #1]! + 800ab0e: 4291 cmp r1, r2 + 800ab10: d1f9 bne.n 800ab06 + 800ab12: bd10 pop {r4, pc} -0800a498 <_fini>: - 800a498: b5f8 push {r3, r4, r5, r6, r7, lr} - 800a49a: bf00 nop - 800a49c: bcf8 pop {r3, r4, r5, r6, r7} - 800a49e: bc08 pop {r3} - 800a4a0: 469e mov lr, r3 - 800a4a2: 4770 bx lr +0800ab14 <_init>: + 800ab14: b5f8 push {r3, r4, r5, r6, r7, lr} + 800ab16: bf00 nop + 800ab18: bcf8 pop {r3, r4, r5, r6, r7} + 800ab1a: bc08 pop {r3} + 800ab1c: 469e mov lr, r3 + 800ab1e: 4770 bx lr + +0800ab20 <_fini>: + 800ab20: b5f8 push {r3, r4, r5, r6, r7, lr} + 800ab22: bf00 nop + 800ab24: bcf8 pop {r3, r4, r5, r6, r7} + 800ab26: bc08 pop {r3} + 800ab28: 469e mov lr, r3 + 800ab2a: 4770 bx lr diff --git a/firmware/modularkbd/Debug/modularkbd.map b/firmware/modularkbd/Debug/modularkbd.map index b9983aae..906d38dd 100644 --- a/firmware/modularkbd/Debug/modularkbd.map +++ b/firmware/modularkbd/Debug/modularkbd.map @@ -28,6 +28,8 @@ Archive member included to satisfy reference by file (symbol) /home/ukim/st/stm32cubeide_1.19.0/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.linux64_1.0.0.202410170706/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m+fp/hard/crt0.o (__libc_init_array) /home/ukim/st/stm32cubeide_1.19.0/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.linux64_1.0.0.202410170706/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m+fp/hard/libc_nano.a(libc_a-lock.o) /home/ukim/st/stm32cubeide_1.19.0/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.linux64_1.0.0.202410170706/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m+fp/hard/libc_nano.a(libc_a-findfp.o) (__retarget_lock_init_recursive) +/home/ukim/st/stm32cubeide_1.19.0/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.linux64_1.0.0.202410170706/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m+fp/hard/libc_nano.a(libc_a-memcpy-stub.o) + ./Core/Src/main.o (memcpy) /home/ukim/st/stm32cubeide_1.19.0/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.linux64_1.0.0.202410170706/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m+fp/hard/libc_nano.a(libc_a-freer.o) /home/ukim/st/stm32cubeide_1.19.0/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.linux64_1.0.0.202410170706/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m+fp/hard/libc_nano.a(libc_a-reent.o) (_free_r) /home/ukim/st/stm32cubeide_1.19.0/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.linux64_1.0.0.202410170706/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m+fp/hard/libc_nano.a(libc_a-mallocr.o) @@ -370,8 +372,6 @@ Discarded input sections .text 0x00000000 0x0 ./Core/Src/main.o .data 0x00000000 0x0 ./Core/Src/main.o .bss 0x00000000 0x0 ./Core/Src/main.o - .text.handleUARTMessages - 0x00000000 0x16 ./Core/Src/main.o .debug_macro 0x00000000 0xad8 ./Core/Src/main.o .debug_macro 0x00000000 0x2a7 ./Core/Src/main.o .debug_macro 0x00000000 0x2e ./Core/Src/main.o @@ -3821,16 +3821,12 @@ Discarded input sections 0x00000000 0x14 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.o .text.HAL_UART_MspDeInit 0x00000000 0x14 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.o - .text.HAL_UART_Transmit - 0x00000000 0x116 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.o .text.HAL_UART_Receive 0x00000000 0x12e ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.o .text.HAL_UART_Transmit_IT 0x00000000 0x6c ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.o .text.HAL_UART_Receive_IT 0x00000000 0x4a ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.o - .text.HAL_UART_Receive_DMA - 0x00000000 0x4a ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.o .text.HAL_UART_DMAPause 0x00000000 0x13a ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.o .text.HAL_UART_DMAResume @@ -3859,8 +3855,6 @@ Discarded input sections 0x00000000 0x164 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.o .text.HAL_UART_RxCpltCallback 0x00000000 0x14 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.o - .text.HAL_UART_RxHalfCpltCallback - 0x00000000 0x14 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.o .text.HAL_UART_AbortCpltCallback 0x00000000 0x14 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.o .text.HAL_UART_AbortTransmitCpltCallback @@ -3881,16 +3875,8 @@ Discarded input sections 0x00000000 0x3c ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.o .text.HAL_UART_GetError 0x00000000 0x18 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.o - .text.UART_DMAReceiveCplt - 0x00000000 0x12c ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.o - .text.UART_DMARxHalfCplt - 0x00000000 0x3c ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.o - .text.UART_WaitOnFlagUntilTimeout - 0x00000000 0xb2 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.o .text.UART_Start_Receive_IT 0x00000000 0x74 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.o - .text.UART_Start_Receive_DMA - 0x00000000 0x14c ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.o .text.UART_DMATxAbortCallback 0x00000000 0x60 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.o .text.UART_DMARxAbortCallback @@ -5286,6 +5272,9 @@ Discarded input sections .debug_frame 0x00000000 0xb0 /home/ukim/st/stm32cubeide_1.19.0/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.linux64_1.0.0.202410170706/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m+fp/hard/libc_nano.a(libc_a-lock.o) .ARM.attributes 0x00000000 0x34 /home/ukim/st/stm32cubeide_1.19.0/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.linux64_1.0.0.202410170706/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m+fp/hard/libc_nano.a(libc_a-lock.o) + .text 0x00000000 0x0 /home/ukim/st/stm32cubeide_1.19.0/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.linux64_1.0.0.202410170706/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m+fp/hard/libc_nano.a(libc_a-memcpy-stub.o) + .data 0x00000000 0x0 /home/ukim/st/stm32cubeide_1.19.0/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.linux64_1.0.0.202410170706/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m+fp/hard/libc_nano.a(libc_a-memcpy-stub.o) + .bss 0x00000000 0x0 /home/ukim/st/stm32cubeide_1.19.0/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.linux64_1.0.0.202410170706/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m+fp/hard/libc_nano.a(libc_a-memcpy-stub.o) .text 0x00000000 0x0 /home/ukim/st/stm32cubeide_1.19.0/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.linux64_1.0.0.202410170706/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m+fp/hard/libc_nano.a(libc_a-freer.o) .data 0x00000000 0x0 /home/ukim/st/stm32cubeide_1.19.0/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.linux64_1.0.0.202410170706/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m+fp/hard/libc_nano.a(libc_a-freer.o) .bss 0x00000000 0x0 /home/ukim/st/stm32cubeide_1.19.0/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.linux64_1.0.0.202410170706/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m+fp/hard/libc_nano.a(libc_a-freer.o) @@ -5436,7 +5425,7 @@ LOAD /home/ukim/st/stm32cubeide_1.19.0/plugins/com.st.stm32cube.ide.mcu.external 0x08000000 g_pfnVectors 0x080001c4 . = ALIGN (0x4) -.text 0x080001c4 0xa2e0 +.text 0x080001c4 0xa968 0x080001c4 . = ALIGN (0x4) *(.text) .text 0x080001c4 0x40 /home/ukim/st/stm32cubeide_1.19.0/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.linux64_1.0.0.202410170706/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/thumb/v7e-m+fp/hard/crtbegin.o @@ -5460,853 +5449,877 @@ LOAD /home/ukim/st/stm32cubeide_1.19.0/plugins/com.st.stm32cube.ide.mcu.external .text.HAL_I2C_MspInit 0x08000798 0x90 ./Core/Src/i2c.o 0x08000798 HAL_I2C_MspInit - .text.main 0x08000828 0x104 ./Core/Src/main.o + .text.main 0x08000828 0x13c ./Core/Src/main.o 0x08000828 main .text.SystemClock_Config - 0x0800092c 0xd8 ./Core/Src/main.o - 0x0800092c SystemClock_Config + 0x08000964 0xd8 ./Core/Src/main.o + 0x08000964 SystemClock_Config .text.HAL_UART_RxCpltCallback - 0x08000a04 0x14 ./Core/Src/main.o - 0x08000a04 HAL_UART_RxCpltCallback + 0x08000a3c 0xb8 ./Core/Src/main.o + 0x08000a3c HAL_UART_RxCpltCallback .text.findBestParent - 0x08000a18 0x74 ./Core/Src/main.o - 0x08000a18 findBestParent + 0x08000af4 0x74 ./Core/Src/main.o + 0x08000af4 findBestParent + .text.handleUARTMessages + 0x08000b68 0xb4 ./Core/Src/main.o + 0x08000b68 handleUARTMessages .text.addUSBReport - 0x08000a8c 0x68 ./Core/Src/main.o - 0x08000a8c addUSBReport + 0x08000c1c 0x68 ./Core/Src/main.o + 0x08000c1c addUSBReport .text.matrixScan - 0x08000af4 0xb4 ./Core/Src/main.o - 0x08000af4 matrixScan + 0x08000c84 0xb4 ./Core/Src/main.o + 0x08000c84 matrixScan .text.resetReport - 0x08000ba8 0x20 ./Core/Src/main.o - 0x08000ba8 resetReport + 0x08000d38 0x20 ./Core/Src/main.o + 0x08000d38 resetReport .text.Error_Handler - 0x08000bc8 0xc ./Core/Src/main.o - 0x08000bc8 Error_Handler + 0x08000d58 0xc ./Core/Src/main.o + 0x08000d58 Error_Handler .text.HAL_MspInit - 0x08000bd4 0x50 ./Core/Src/stm32f4xx_hal_msp.o - 0x08000bd4 HAL_MspInit + 0x08000d64 0x50 ./Core/Src/stm32f4xx_hal_msp.o + 0x08000d64 HAL_MspInit .text.NMI_Handler - 0x08000c24 0x8 ./Core/Src/stm32f4xx_it.o - 0x08000c24 NMI_Handler + 0x08000db4 0x8 ./Core/Src/stm32f4xx_it.o + 0x08000db4 NMI_Handler .text.HardFault_Handler - 0x08000c2c 0x8 ./Core/Src/stm32f4xx_it.o - 0x08000c2c HardFault_Handler + 0x08000dbc 0x8 ./Core/Src/stm32f4xx_it.o + 0x08000dbc HardFault_Handler .text.MemManage_Handler - 0x08000c34 0x8 ./Core/Src/stm32f4xx_it.o - 0x08000c34 MemManage_Handler + 0x08000dc4 0x8 ./Core/Src/stm32f4xx_it.o + 0x08000dc4 MemManage_Handler .text.BusFault_Handler - 0x08000c3c 0x8 ./Core/Src/stm32f4xx_it.o - 0x08000c3c BusFault_Handler + 0x08000dcc 0x8 ./Core/Src/stm32f4xx_it.o + 0x08000dcc BusFault_Handler .text.UsageFault_Handler - 0x08000c44 0x8 ./Core/Src/stm32f4xx_it.o - 0x08000c44 UsageFault_Handler + 0x08000dd4 0x8 ./Core/Src/stm32f4xx_it.o + 0x08000dd4 UsageFault_Handler .text.SVC_Handler - 0x08000c4c 0xe ./Core/Src/stm32f4xx_it.o - 0x08000c4c SVC_Handler + 0x08000ddc 0xe ./Core/Src/stm32f4xx_it.o + 0x08000ddc SVC_Handler .text.DebugMon_Handler - 0x08000c5a 0xe ./Core/Src/stm32f4xx_it.o - 0x08000c5a DebugMon_Handler + 0x08000dea 0xe ./Core/Src/stm32f4xx_it.o + 0x08000dea DebugMon_Handler .text.PendSV_Handler - 0x08000c68 0xe ./Core/Src/stm32f4xx_it.o - 0x08000c68 PendSV_Handler + 0x08000df8 0xe ./Core/Src/stm32f4xx_it.o + 0x08000df8 PendSV_Handler .text.SysTick_Handler - 0x08000c76 0xc ./Core/Src/stm32f4xx_it.o - 0x08000c76 SysTick_Handler - *fill* 0x08000c82 0x2 + 0x08000e06 0xc ./Core/Src/stm32f4xx_it.o + 0x08000e06 SysTick_Handler + *fill* 0x08000e12 0x2 .text.DMA1_Stream0_IRQHandler - 0x08000c84 0x14 ./Core/Src/stm32f4xx_it.o - 0x08000c84 DMA1_Stream0_IRQHandler + 0x08000e14 0x14 ./Core/Src/stm32f4xx_it.o + 0x08000e14 DMA1_Stream0_IRQHandler .text.DMA1_Stream2_IRQHandler - 0x08000c98 0x14 ./Core/Src/stm32f4xx_it.o - 0x08000c98 DMA1_Stream2_IRQHandler + 0x08000e28 0x14 ./Core/Src/stm32f4xx_it.o + 0x08000e28 DMA1_Stream2_IRQHandler .text.DMA1_Stream4_IRQHandler - 0x08000cac 0x14 ./Core/Src/stm32f4xx_it.o - 0x08000cac DMA1_Stream4_IRQHandler + 0x08000e3c 0x14 ./Core/Src/stm32f4xx_it.o + 0x08000e3c DMA1_Stream4_IRQHandler .text.DMA1_Stream5_IRQHandler - 0x08000cc0 0x14 ./Core/Src/stm32f4xx_it.o - 0x08000cc0 DMA1_Stream5_IRQHandler + 0x08000e50 0x14 ./Core/Src/stm32f4xx_it.o + 0x08000e50 DMA1_Stream5_IRQHandler .text.DMA1_Stream6_IRQHandler - 0x08000cd4 0x14 ./Core/Src/stm32f4xx_it.o - 0x08000cd4 DMA1_Stream6_IRQHandler + 0x08000e64 0x14 ./Core/Src/stm32f4xx_it.o + 0x08000e64 DMA1_Stream6_IRQHandler .text.USART1_IRQHandler - 0x08000ce8 0x14 ./Core/Src/stm32f4xx_it.o - 0x08000ce8 USART1_IRQHandler + 0x08000e78 0x14 ./Core/Src/stm32f4xx_it.o + 0x08000e78 USART1_IRQHandler .text.USART2_IRQHandler - 0x08000cfc 0x14 ./Core/Src/stm32f4xx_it.o - 0x08000cfc USART2_IRQHandler + 0x08000e8c 0x14 ./Core/Src/stm32f4xx_it.o + 0x08000e8c USART2_IRQHandler .text.DMA1_Stream7_IRQHandler - 0x08000d10 0x14 ./Core/Src/stm32f4xx_it.o - 0x08000d10 DMA1_Stream7_IRQHandler + 0x08000ea0 0x14 ./Core/Src/stm32f4xx_it.o + 0x08000ea0 DMA1_Stream7_IRQHandler .text.UART4_IRQHandler - 0x08000d24 0x14 ./Core/Src/stm32f4xx_it.o - 0x08000d24 UART4_IRQHandler + 0x08000eb4 0x14 ./Core/Src/stm32f4xx_it.o + 0x08000eb4 UART4_IRQHandler .text.UART5_IRQHandler - 0x08000d38 0x14 ./Core/Src/stm32f4xx_it.o - 0x08000d38 UART5_IRQHandler + 0x08000ec8 0x14 ./Core/Src/stm32f4xx_it.o + 0x08000ec8 UART5_IRQHandler .text.DMA2_Stream2_IRQHandler - 0x08000d4c 0x14 ./Core/Src/stm32f4xx_it.o - 0x08000d4c DMA2_Stream2_IRQHandler + 0x08000edc 0x14 ./Core/Src/stm32f4xx_it.o + 0x08000edc DMA2_Stream2_IRQHandler .text.OTG_FS_IRQHandler - 0x08000d60 0x14 ./Core/Src/stm32f4xx_it.o - 0x08000d60 OTG_FS_IRQHandler + 0x08000ef0 0x14 ./Core/Src/stm32f4xx_it.o + 0x08000ef0 OTG_FS_IRQHandler .text.DMA2_Stream7_IRQHandler - 0x08000d74 0x14 ./Core/Src/stm32f4xx_it.o - 0x08000d74 DMA2_Stream7_IRQHandler + 0x08000f04 0x14 ./Core/Src/stm32f4xx_it.o + 0x08000f04 DMA2_Stream7_IRQHandler .text.SystemInit - 0x08000d88 0x24 ./Core/Src/system_stm32f4xx.o - 0x08000d88 SystemInit + 0x08000f18 0x24 ./Core/Src/system_stm32f4xx.o + 0x08000f18 SystemInit .text.MX_TIM2_Init - 0x08000dac 0xb0 ./Core/Src/tim.o - 0x08000dac MX_TIM2_Init + 0x08000f3c 0xb0 ./Core/Src/tim.o + 0x08000f3c MX_TIM2_Init .text.MX_TIM3_Init - 0x08000e5c 0xa8 ./Core/Src/tim.o - 0x08000e5c MX_TIM3_Init + 0x08000fec 0xa8 ./Core/Src/tim.o + 0x08000fec MX_TIM3_Init .text.HAL_TIM_OC_MspInit - 0x08000f04 0x40 ./Core/Src/tim.o - 0x08000f04 HAL_TIM_OC_MspInit + 0x08001094 0x40 ./Core/Src/tim.o + 0x08001094 HAL_TIM_OC_MspInit .text.HAL_TIM_Encoder_MspInit - 0x08000f44 0x90 ./Core/Src/tim.o - 0x08000f44 HAL_TIM_Encoder_MspInit + 0x080010d4 0x90 ./Core/Src/tim.o + 0x080010d4 HAL_TIM_Encoder_MspInit .text.HAL_TIM_MspPostInit - 0x08000fd4 0x70 ./Core/Src/tim.o - 0x08000fd4 HAL_TIM_MspPostInit + 0x08001164 0x70 ./Core/Src/tim.o + 0x08001164 HAL_TIM_MspPostInit .text.MX_UART4_Init - 0x08001044 0x54 ./Core/Src/usart.o - 0x08001044 MX_UART4_Init + 0x080011d4 0x54 ./Core/Src/usart.o + 0x080011d4 MX_UART4_Init .text.MX_UART5_Init - 0x08001098 0x54 ./Core/Src/usart.o - 0x08001098 MX_UART5_Init + 0x08001228 0x54 ./Core/Src/usart.o + 0x08001228 MX_UART5_Init .text.MX_USART1_UART_Init - 0x080010ec 0x54 ./Core/Src/usart.o - 0x080010ec MX_USART1_UART_Init + 0x0800127c 0x54 ./Core/Src/usart.o + 0x0800127c MX_USART1_UART_Init .text.MX_USART2_UART_Init - 0x08001140 0x54 ./Core/Src/usart.o - 0x08001140 MX_USART2_UART_Init + 0x080012d0 0x54 ./Core/Src/usart.o + 0x080012d0 MX_USART2_UART_Init .text.HAL_UART_MspInit - 0x08001194 0x584 ./Core/Src/usart.o - 0x08001194 HAL_UART_MspInit + 0x08001324 0x584 ./Core/Src/usart.o + 0x08001324 HAL_UART_MspInit .text.Reset_Handler - 0x08001718 0x50 ./Core/Startup/startup_stm32f446retx.o - 0x08001718 Reset_Handler + 0x080018a8 0x50 ./Core/Startup/startup_stm32f446retx.o + 0x080018a8 Reset_Handler .text.Default_Handler - 0x08001768 0x2 ./Core/Startup/startup_stm32f446retx.o - 0x08001768 RTC_Alarm_IRQHandler - 0x08001768 EXTI2_IRQHandler - 0x08001768 TIM8_CC_IRQHandler - 0x08001768 FMPI2C1_EV_IRQHandler - 0x08001768 SPI4_IRQHandler - 0x08001768 TIM1_CC_IRQHandler - 0x08001768 DMA2_Stream5_IRQHandler - 0x08001768 PVD_IRQHandler - 0x08001768 SDIO_IRQHandler - 0x08001768 TAMP_STAMP_IRQHandler - 0x08001768 CAN2_RX1_IRQHandler - 0x08001768 EXTI3_IRQHandler - 0x08001768 TIM8_TRG_COM_TIM14_IRQHandler - 0x08001768 TIM1_UP_TIM10_IRQHandler - 0x08001768 TIM8_UP_TIM13_IRQHandler - 0x08001768 I2C3_ER_IRQHandler - 0x08001768 EXTI0_IRQHandler - 0x08001768 I2C2_EV_IRQHandler - 0x08001768 CAN1_RX0_IRQHandler - 0x08001768 FPU_IRQHandler - 0x08001768 OTG_HS_WKUP_IRQHandler - 0x08001768 CAN2_SCE_IRQHandler - 0x08001768 SPI1_IRQHandler - 0x08001768 TIM6_DAC_IRQHandler - 0x08001768 TIM1_BRK_TIM9_IRQHandler - 0x08001768 DCMI_IRQHandler - 0x08001768 CAN2_RX0_IRQHandler - 0x08001768 DMA2_Stream3_IRQHandler - 0x08001768 SAI2_IRQHandler - 0x08001768 USART6_IRQHandler - 0x08001768 USART3_IRQHandler - 0x08001768 CAN1_RX1_IRQHandler - 0x08001768 DMA2_Stream0_IRQHandler - 0x08001768 TIM4_IRQHandler - 0x08001768 QUADSPI_IRQHandler - 0x08001768 I2C1_EV_IRQHandler - 0x08001768 DMA1_Stream1_IRQHandler - 0x08001768 TIM3_IRQHandler - 0x08001768 RCC_IRQHandler - 0x08001768 TIM8_BRK_TIM12_IRQHandler - 0x08001768 Default_Handler - 0x08001768 CEC_IRQHandler - 0x08001768 EXTI15_10_IRQHandler - 0x08001768 ADC_IRQHandler - 0x08001768 TIM7_IRQHandler - 0x08001768 CAN2_TX_IRQHandler - 0x08001768 TIM5_IRQHandler - 0x08001768 I2C3_EV_IRQHandler - 0x08001768 EXTI9_5_IRQHandler - 0x08001768 RTC_WKUP_IRQHandler - 0x08001768 SPDIF_RX_IRQHandler - 0x08001768 SPI2_IRQHandler - 0x08001768 OTG_HS_EP1_IN_IRQHandler - 0x08001768 CAN1_TX_IRQHandler - 0x08001768 FMPI2C1_ER_IRQHandler - 0x08001768 EXTI4_IRQHandler - 0x08001768 OTG_HS_EP1_OUT_IRQHandler - 0x08001768 WWDG_IRQHandler - 0x08001768 TIM2_IRQHandler - 0x08001768 OTG_FS_WKUP_IRQHandler - 0x08001768 TIM1_TRG_COM_TIM11_IRQHandler - 0x08001768 OTG_HS_IRQHandler - 0x08001768 EXTI1_IRQHandler - 0x08001768 I2C2_ER_IRQHandler - 0x08001768 DMA2_Stream1_IRQHandler - 0x08001768 CAN1_SCE_IRQHandler - 0x08001768 FLASH_IRQHandler - 0x08001768 DMA2_Stream4_IRQHandler - 0x08001768 SPI3_IRQHandler - 0x08001768 I2C1_ER_IRQHandler - 0x08001768 FMC_IRQHandler - 0x08001768 DMA2_Stream6_IRQHandler - 0x08001768 SAI1_IRQHandler - 0x08001768 DMA1_Stream3_IRQHandler - *fill* 0x0800176a 0x2 + 0x080018f8 0x2 ./Core/Startup/startup_stm32f446retx.o + 0x080018f8 RTC_Alarm_IRQHandler + 0x080018f8 EXTI2_IRQHandler + 0x080018f8 TIM8_CC_IRQHandler + 0x080018f8 FMPI2C1_EV_IRQHandler + 0x080018f8 SPI4_IRQHandler + 0x080018f8 TIM1_CC_IRQHandler + 0x080018f8 DMA2_Stream5_IRQHandler + 0x080018f8 PVD_IRQHandler + 0x080018f8 SDIO_IRQHandler + 0x080018f8 TAMP_STAMP_IRQHandler + 0x080018f8 CAN2_RX1_IRQHandler + 0x080018f8 EXTI3_IRQHandler + 0x080018f8 TIM8_TRG_COM_TIM14_IRQHandler + 0x080018f8 TIM1_UP_TIM10_IRQHandler + 0x080018f8 TIM8_UP_TIM13_IRQHandler + 0x080018f8 I2C3_ER_IRQHandler + 0x080018f8 EXTI0_IRQHandler + 0x080018f8 I2C2_EV_IRQHandler + 0x080018f8 CAN1_RX0_IRQHandler + 0x080018f8 FPU_IRQHandler + 0x080018f8 OTG_HS_WKUP_IRQHandler + 0x080018f8 CAN2_SCE_IRQHandler + 0x080018f8 SPI1_IRQHandler + 0x080018f8 TIM6_DAC_IRQHandler + 0x080018f8 TIM1_BRK_TIM9_IRQHandler + 0x080018f8 DCMI_IRQHandler + 0x080018f8 CAN2_RX0_IRQHandler + 0x080018f8 DMA2_Stream3_IRQHandler + 0x080018f8 SAI2_IRQHandler + 0x080018f8 USART6_IRQHandler + 0x080018f8 USART3_IRQHandler + 0x080018f8 CAN1_RX1_IRQHandler + 0x080018f8 DMA2_Stream0_IRQHandler + 0x080018f8 TIM4_IRQHandler + 0x080018f8 QUADSPI_IRQHandler + 0x080018f8 I2C1_EV_IRQHandler + 0x080018f8 DMA1_Stream1_IRQHandler + 0x080018f8 TIM3_IRQHandler + 0x080018f8 RCC_IRQHandler + 0x080018f8 TIM8_BRK_TIM12_IRQHandler + 0x080018f8 Default_Handler + 0x080018f8 CEC_IRQHandler + 0x080018f8 EXTI15_10_IRQHandler + 0x080018f8 ADC_IRQHandler + 0x080018f8 TIM7_IRQHandler + 0x080018f8 CAN2_TX_IRQHandler + 0x080018f8 TIM5_IRQHandler + 0x080018f8 I2C3_EV_IRQHandler + 0x080018f8 EXTI9_5_IRQHandler + 0x080018f8 RTC_WKUP_IRQHandler + 0x080018f8 SPDIF_RX_IRQHandler + 0x080018f8 SPI2_IRQHandler + 0x080018f8 OTG_HS_EP1_IN_IRQHandler + 0x080018f8 CAN1_TX_IRQHandler + 0x080018f8 FMPI2C1_ER_IRQHandler + 0x080018f8 EXTI4_IRQHandler + 0x080018f8 OTG_HS_EP1_OUT_IRQHandler + 0x080018f8 WWDG_IRQHandler + 0x080018f8 TIM2_IRQHandler + 0x080018f8 OTG_FS_WKUP_IRQHandler + 0x080018f8 TIM1_TRG_COM_TIM11_IRQHandler + 0x080018f8 OTG_HS_IRQHandler + 0x080018f8 EXTI1_IRQHandler + 0x080018f8 I2C2_ER_IRQHandler + 0x080018f8 DMA2_Stream1_IRQHandler + 0x080018f8 CAN1_SCE_IRQHandler + 0x080018f8 FLASH_IRQHandler + 0x080018f8 DMA2_Stream4_IRQHandler + 0x080018f8 SPI3_IRQHandler + 0x080018f8 I2C1_ER_IRQHandler + 0x080018f8 FMC_IRQHandler + 0x080018f8 DMA2_Stream6_IRQHandler + 0x080018f8 SAI1_IRQHandler + 0x080018f8 DMA1_Stream3_IRQHandler + *fill* 0x080018fa 0x2 .text.HAL_Init - 0x0800176c 0x44 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.o - 0x0800176c HAL_Init + 0x080018fc 0x44 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.o + 0x080018fc HAL_Init .text.HAL_InitTick - 0x080017b0 0x60 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.o - 0x080017b0 HAL_InitTick + 0x08001940 0x60 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.o + 0x08001940 HAL_InitTick .text.HAL_IncTick - 0x08001810 0x28 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.o - 0x08001810 HAL_IncTick + 0x080019a0 0x28 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.o + 0x080019a0 HAL_IncTick .text.HAL_GetTick - 0x08001838 0x18 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.o - 0x08001838 HAL_GetTick + 0x080019c8 0x18 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.o + 0x080019c8 HAL_GetTick .text.HAL_Delay - 0x08001850 0x48 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.o - 0x08001850 HAL_Delay + 0x080019e0 0x48 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.o + 0x080019e0 HAL_Delay .text.__NVIC_SetPriorityGrouping - 0x08001898 0x48 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.o + 0x08001a28 0x48 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.o .text.__NVIC_GetPriorityGrouping - 0x080018e0 0x1c ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.o + 0x08001a70 0x1c ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.o .text.__NVIC_EnableIRQ - 0x080018fc 0x3c ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.o + 0x08001a8c 0x3c ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.o .text.__NVIC_SetPriority - 0x08001938 0x54 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.o + 0x08001ac8 0x54 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.o .text.NVIC_EncodePriority - 0x0800198c 0x66 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.o - *fill* 0x080019f2 0x2 + 0x08001b1c 0x66 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.o + *fill* 0x08001b82 0x2 .text.SysTick_Config - 0x080019f4 0x44 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.o + 0x08001b84 0x44 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.o .text.HAL_NVIC_SetPriorityGrouping - 0x08001a38 0x16 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.o - 0x08001a38 HAL_NVIC_SetPriorityGrouping + 0x08001bc8 0x16 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.o + 0x08001bc8 HAL_NVIC_SetPriorityGrouping .text.HAL_NVIC_SetPriority - 0x08001a4e 0x38 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.o - 0x08001a4e HAL_NVIC_SetPriority + 0x08001bde 0x38 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.o + 0x08001bde HAL_NVIC_SetPriority .text.HAL_NVIC_EnableIRQ - 0x08001a86 0x1c ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.o - 0x08001a86 HAL_NVIC_EnableIRQ + 0x08001c16 0x1c ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.o + 0x08001c16 HAL_NVIC_EnableIRQ .text.HAL_SYSTICK_Config - 0x08001aa2 0x18 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.o - 0x08001aa2 HAL_SYSTICK_Config - *fill* 0x08001aba 0x2 + 0x08001c32 0x18 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.o + 0x08001c32 HAL_SYSTICK_Config + *fill* 0x08001c4a 0x2 .text.HAL_DMA_Init - 0x08001abc 0x15c ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.o - 0x08001abc HAL_DMA_Init + 0x08001c4c 0x15c ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.o + 0x08001c4c HAL_DMA_Init .text.HAL_DMA_Start_IT - 0x08001c18 0xb0 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.o - 0x08001c18 HAL_DMA_Start_IT + 0x08001da8 0xb0 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.o + 0x08001da8 HAL_DMA_Start_IT .text.HAL_DMA_Abort - 0x08001cc8 0xe0 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.o - 0x08001cc8 HAL_DMA_Abort + 0x08001e58 0xe0 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.o + 0x08001e58 HAL_DMA_Abort .text.HAL_DMA_Abort_IT - 0x08001da8 0x44 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.o - 0x08001da8 HAL_DMA_Abort_IT + 0x08001f38 0x44 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.o + 0x08001f38 HAL_DMA_Abort_IT .text.HAL_DMA_IRQHandler - 0x08001dec 0x314 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.o - 0x08001dec HAL_DMA_IRQHandler + 0x08001f7c 0x314 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.o + 0x08001f7c HAL_DMA_IRQHandler .text.DMA_SetConfig - 0x08002100 0x5c ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.o + 0x08002290 0x5c ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.o .text.DMA_CalcBaseAndBitshift - 0x0800215c 0x6c ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.o + 0x080022ec 0x6c ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.o .text.DMA_CheckFifoParam - 0x080021c8 0xf8 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.o + 0x08002358 0xf8 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.o .text.HAL_GPIO_Init - 0x080022c0 0x328 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.o - 0x080022c0 HAL_GPIO_Init + 0x08002450 0x328 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.o + 0x08002450 HAL_GPIO_Init .text.HAL_GPIO_ReadPin - 0x080025e8 0x30 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.o - 0x080025e8 HAL_GPIO_ReadPin + 0x08002778 0x30 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.o + 0x08002778 HAL_GPIO_ReadPin .text.HAL_GPIO_WritePin - 0x08002618 0x32 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.o - 0x08002618 HAL_GPIO_WritePin - *fill* 0x0800264a 0x2 + 0x080027a8 0x32 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.o + 0x080027a8 HAL_GPIO_WritePin + *fill* 0x080027da 0x2 .text.HAL_I2C_Init - 0x0800264c 0x288 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_i2c.o - 0x0800264c HAL_I2C_Init + 0x080027dc 0x288 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_i2c.o + 0x080027dc HAL_I2C_Init .text.HAL_PCD_Init - 0x080028d4 0x22c ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd.o - 0x080028d4 HAL_PCD_Init + 0x08002a64 0x22c ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd.o + 0x08002a64 HAL_PCD_Init .text.HAL_PCD_Start - 0x08002b00 0x6a ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd.o - 0x08002b00 HAL_PCD_Start + 0x08002c90 0x6a ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd.o + 0x08002c90 HAL_PCD_Start .text.HAL_PCD_IRQHandler - 0x08002b6a 0x99c ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd.o - 0x08002b6a HAL_PCD_IRQHandler + 0x08002cfa 0x99c ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd.o + 0x08002cfa HAL_PCD_IRQHandler .text.HAL_PCD_SetAddress - 0x08003506 0x48 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd.o - 0x08003506 HAL_PCD_SetAddress + 0x08003696 0x48 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd.o + 0x08003696 HAL_PCD_SetAddress .text.HAL_PCD_EP_Open - 0x0800354e 0xd4 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd.o - 0x0800354e HAL_PCD_EP_Open + 0x080036de 0xd4 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd.o + 0x080036de HAL_PCD_EP_Open .text.HAL_PCD_EP_Close - 0x08003622 0x94 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd.o - 0x08003622 HAL_PCD_EP_Close + 0x080037b2 0x94 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd.o + 0x080037b2 HAL_PCD_EP_Close .text.HAL_PCD_EP_Receive - 0x080036b6 0x76 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd.o - 0x080036b6 HAL_PCD_EP_Receive + 0x08003846 0x76 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd.o + 0x08003846 HAL_PCD_EP_Receive .text.HAL_PCD_EP_Transmit - 0x0800372c 0x74 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd.o - 0x0800372c HAL_PCD_EP_Transmit + 0x080038bc 0x74 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd.o + 0x080038bc HAL_PCD_EP_Transmit .text.HAL_PCD_EP_SetStall - 0x080037a0 0xc6 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd.o - 0x080037a0 HAL_PCD_EP_SetStall + 0x08003930 0xc6 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd.o + 0x08003930 HAL_PCD_EP_SetStall .text.HAL_PCD_EP_ClrStall - 0x08003866 0xac ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd.o - 0x08003866 HAL_PCD_EP_ClrStall + 0x080039f6 0xac ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd.o + 0x080039f6 HAL_PCD_EP_ClrStall .text.HAL_PCD_EP_Abort - 0x08003912 0x62 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd.o - 0x08003912 HAL_PCD_EP_Abort + 0x08003aa2 0x62 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd.o + 0x08003aa2 HAL_PCD_EP_Abort .text.PCD_WriteEmptyTxFifo - 0x08003974 0x118 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd.o + 0x08003b04 0x118 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd.o .text.PCD_EP_OutXfrComplete_int - 0x08003a8c 0x1d0 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd.o + 0x08003c1c 0x1d0 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd.o .text.PCD_EP_OutSetupPacket_int - 0x08003c5c 0x8c ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd.o + 0x08003dec 0x8c ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd.o .text.HAL_PCDEx_SetTxFiFo - 0x08003ce8 0x8e ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.o - 0x08003ce8 HAL_PCDEx_SetTxFiFo + 0x08003e78 0x8e ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.o + 0x08003e78 HAL_PCDEx_SetTxFiFo .text.HAL_PCDEx_SetRxFiFo - 0x08003d76 0x22 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.o - 0x08003d76 HAL_PCDEx_SetRxFiFo + 0x08003f06 0x22 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.o + 0x08003f06 HAL_PCDEx_SetRxFiFo .text.HAL_PCDEx_ActivateLPM - 0x08003d98 0x48 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.o - 0x08003d98 HAL_PCDEx_ActivateLPM + 0x08003f28 0x48 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.o + 0x08003f28 HAL_PCDEx_ActivateLPM .text.HAL_RCC_ClockConfig - 0x08003de0 0x1cc ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.o - 0x08003de0 HAL_RCC_ClockConfig + 0x08003f70 0x1cc ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.o + 0x08003f70 HAL_RCC_ClockConfig .text.HAL_RCC_GetHCLKFreq - 0x08003fac 0x18 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.o - 0x08003fac HAL_RCC_GetHCLKFreq + 0x0800413c 0x18 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.o + 0x0800413c HAL_RCC_GetHCLKFreq .text.HAL_RCC_GetPCLK1Freq - 0x08003fc4 0x28 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.o - 0x08003fc4 HAL_RCC_GetPCLK1Freq + 0x08004154 0x28 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.o + 0x08004154 HAL_RCC_GetPCLK1Freq .text.HAL_RCC_GetPCLK2Freq - 0x08003fec 0x28 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.o - 0x08003fec HAL_RCC_GetPCLK2Freq + 0x0800417c 0x28 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.o + 0x0800417c HAL_RCC_GetPCLK2Freq .text.HAL_RCCEx_PeriphCLKConfig - 0x08004014 0x654 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc_ex.o - 0x08004014 HAL_RCCEx_PeriphCLKConfig + 0x080041a4 0x654 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc_ex.o + 0x080041a4 HAL_RCCEx_PeriphCLKConfig .text.HAL_RCC_GetSysClockFreq - 0x08004668 0x460 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc_ex.o - 0x08004668 HAL_RCC_GetSysClockFreq + 0x080047f8 0x460 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc_ex.o + 0x080047f8 HAL_RCC_GetSysClockFreq .text.HAL_RCC_OscConfig - 0x08004ac8 0x53c ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc_ex.o - 0x08004ac8 HAL_RCC_OscConfig + 0x08004c58 0x53c ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc_ex.o + 0x08004c58 HAL_RCC_OscConfig .text.HAL_TIM_OC_Init - 0x08005004 0x9e ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim.o - 0x08005004 HAL_TIM_OC_Init + 0x08005194 0x9e ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim.o + 0x08005194 HAL_TIM_OC_Init .text.HAL_TIM_Encoder_Init - 0x080050a2 0x14c ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim.o - 0x080050a2 HAL_TIM_Encoder_Init - *fill* 0x080051ee 0x2 + 0x08005232 0x14c ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim.o + 0x08005232 HAL_TIM_Encoder_Init + *fill* 0x0800537e 0x2 .text.HAL_TIM_OC_ConfigChannel - 0x080051f0 0xb8 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim.o - 0x080051f0 HAL_TIM_OC_ConfigChannel + 0x08005380 0xb8 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim.o + 0x08005380 HAL_TIM_OC_ConfigChannel .text.TIM_Base_SetConfig - 0x080052a8 0x14c ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim.o - 0x080052a8 TIM_Base_SetConfig + 0x08005438 0x14c ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim.o + 0x08005438 TIM_Base_SetConfig .text.TIM_OC1_SetConfig - 0x080053f4 0xe0 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim.o + 0x08005584 0xe0 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim.o .text.TIM_OC2_SetConfig - 0x080054d4 0xec ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim.o - 0x080054d4 TIM_OC2_SetConfig + 0x08005664 0xec ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim.o + 0x08005664 TIM_OC2_SetConfig .text.TIM_OC3_SetConfig - 0x080055c0 0xe8 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim.o + 0x08005750 0xe8 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim.o .text.TIM_OC4_SetConfig - 0x080056a8 0xac ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim.o + 0x08005838 0xac ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim.o .text.HAL_TIMEx_MasterConfigSynchronization - 0x08005754 0xf8 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim_ex.o - 0x08005754 HAL_TIMEx_MasterConfigSynchronization + 0x080058e4 0xf8 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim_ex.o + 0x080058e4 HAL_TIMEx_MasterConfigSynchronization .text.HAL_UART_Init - 0x0800584c 0xa0 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.o - 0x0800584c HAL_UART_Init + 0x080059dc 0xa0 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.o + 0x080059dc HAL_UART_Init + .text.HAL_UART_Transmit + 0x08005a7c 0x116 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.o + 0x08005a7c HAL_UART_Transmit + *fill* 0x08005b92 0x2 .text.HAL_UART_Transmit_DMA - 0x080058ec 0xf8 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.o - 0x080058ec HAL_UART_Transmit_DMA + 0x08005b94 0xf8 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.o + 0x08005b94 HAL_UART_Transmit_DMA + .text.HAL_UART_Receive_DMA + 0x08005c8c 0x4a ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.o + 0x08005c8c HAL_UART_Receive_DMA + *fill* 0x08005cd6 0x2 .text.HAL_UART_IRQHandler - 0x080059e4 0x554 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.o - 0x080059e4 HAL_UART_IRQHandler + 0x08005cd8 0x554 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.o + 0x08005cd8 HAL_UART_IRQHandler .text.HAL_UART_TxCpltCallback - 0x08005f38 0x14 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.o - 0x08005f38 HAL_UART_TxCpltCallback + 0x0800622c 0x14 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.o + 0x0800622c HAL_UART_TxCpltCallback .text.HAL_UART_TxHalfCpltCallback - 0x08005f4c 0x14 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.o - 0x08005f4c HAL_UART_TxHalfCpltCallback + 0x08006240 0x14 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.o + 0x08006240 HAL_UART_TxHalfCpltCallback + .text.HAL_UART_RxHalfCpltCallback + 0x08006254 0x14 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.o + 0x08006254 HAL_UART_RxHalfCpltCallback .text.HAL_UART_ErrorCallback - 0x08005f60 0x14 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.o - 0x08005f60 HAL_UART_ErrorCallback + 0x08006268 0x14 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.o + 0x08006268 HAL_UART_ErrorCallback .text.HAL_UARTEx_RxEventCallback - 0x08005f74 0x18 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.o - 0x08005f74 HAL_UARTEx_RxEventCallback + 0x0800627c 0x18 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.o + 0x0800627c HAL_UARTEx_RxEventCallback .text.UART_DMATransmitCplt - 0x08005f8c 0x9a ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.o + 0x08006294 0x9a ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.o .text.UART_DMATxHalfCplt - 0x08006026 0x1c ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.o + 0x0800632e 0x1c ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.o + .text.UART_DMAReceiveCplt + 0x0800634a 0x12c ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.o + .text.UART_DMARxHalfCplt + 0x08006476 0x3c ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.o .text.UART_DMAError - 0x08006042 0x94 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.o + 0x080064b2 0x94 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.o + .text.UART_WaitOnFlagUntilTimeout + 0x08006546 0xb2 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.o + .text.UART_Start_Receive_DMA + 0x080065f8 0x14c ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.o + 0x080065f8 UART_Start_Receive_DMA .text.UART_EndTxTransfer - 0x080060d6 0x50 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.o + 0x08006744 0x50 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.o .text.UART_EndRxTransfer - 0x08006126 0xc6 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.o + 0x08006794 0xc6 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.o .text.UART_DMAAbortOnError - 0x080061ec 0x22 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.o + 0x0800685a 0x22 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.o .text.UART_Transmit_IT - 0x0800620e 0xa0 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.o + 0x0800687c 0xa0 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.o .text.UART_EndTransmit_IT - 0x080062ae 0x30 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.o + 0x0800691c 0x30 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.o .text.UART_Receive_IT - 0x080062de 0x17c ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.o - *fill* 0x0800645a 0x2 + 0x0800694c 0x17c ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.o .text.UART_SetConfig - 0x0800645c 0x4e8 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.o + 0x08006ac8 0x4e8 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.o .text.USB_CoreInit - 0x08006944 0xc8 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o - 0x08006944 USB_CoreInit + 0x08006fb0 0xc8 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o + 0x08006fb0 USB_CoreInit .text.USB_SetTurnaroundTime - 0x08006a0c 0x144 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o - 0x08006a0c USB_SetTurnaroundTime + 0x08007078 0x144 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o + 0x08007078 USB_SetTurnaroundTime .text.USB_EnableGlobalInt - 0x08006b50 0x22 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o - 0x08006b50 USB_EnableGlobalInt + 0x080071bc 0x22 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o + 0x080071bc USB_EnableGlobalInt .text.USB_DisableGlobalInt - 0x08006b72 0x22 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o - 0x08006b72 USB_DisableGlobalInt + 0x080071de 0x22 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o + 0x080071de USB_DisableGlobalInt .text.USB_SetCurrentMode - 0x08006b94 0x98 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o - 0x08006b94 USB_SetCurrentMode + 0x08007200 0x98 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o + 0x08007200 USB_SetCurrentMode .text.USB_DevInit - 0x08006c2c 0x2bc ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o - 0x08006c2c USB_DevInit + 0x08007298 0x2bc ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o + 0x08007298 USB_DevInit .text.USB_FlushTxFifo - 0x08006ee8 0x64 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o - 0x08006ee8 USB_FlushTxFifo + 0x08007554 0x64 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o + 0x08007554 USB_FlushTxFifo .text.USB_FlushRxFifo - 0x08006f4c 0x5c ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o - 0x08006f4c USB_FlushRxFifo + 0x080075b8 0x5c ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o + 0x080075b8 USB_FlushRxFifo .text.USB_SetDevSpeed - 0x08006fa8 0x32 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o - 0x08006fa8 USB_SetDevSpeed + 0x08007614 0x32 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o + 0x08007614 USB_SetDevSpeed .text.USB_GetDevSpeed - 0x08006fda 0x4a ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o - 0x08006fda USB_GetDevSpeed + 0x08007646 0x4a ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o + 0x08007646 USB_GetDevSpeed .text.USB_ActivateEndpoint - 0x08007024 0x10e ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o - 0x08007024 USB_ActivateEndpoint - *fill* 0x08007132 0x2 + 0x08007690 0x10e ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o + 0x08007690 USB_ActivateEndpoint + *fill* 0x0800779e 0x2 .text.USB_DeactivateEndpoint - 0x08007134 0x1b8 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o - 0x08007134 USB_DeactivateEndpoint + 0x080077a0 0x1b8 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o + 0x080077a0 USB_DeactivateEndpoint .text.USB_EPStartXfer - 0x080072ec 0x53c ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o - 0x080072ec USB_EPStartXfer + 0x08007958 0x53c ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o + 0x08007958 USB_EPStartXfer .text.USB_EPStopXfer - 0x08007828 0x154 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o - 0x08007828 USB_EPStopXfer + 0x08007e94 0x154 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o + 0x08007e94 USB_EPStopXfer .text.USB_WritePacket - 0x0800797c 0x7c ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o - 0x0800797c USB_WritePacket + 0x08007fe8 0x7c ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o + 0x08007fe8 USB_WritePacket .text.USB_ReadPacket - 0x080079f8 0xb0 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o - 0x080079f8 USB_ReadPacket + 0x08008064 0xb0 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o + 0x08008064 USB_ReadPacket .text.USB_EPSetStall - 0x08007aa8 0xdc ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o - 0x08007aa8 USB_EPSetStall + 0x08008114 0xdc ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o + 0x08008114 USB_EPSetStall .text.USB_EPClearStall - 0x08007b84 0xcc ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o - 0x08007b84 USB_EPClearStall + 0x080081f0 0xcc ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o + 0x080081f0 USB_EPClearStall .text.USB_SetDevAddress - 0x08007c50 0x4c ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o - 0x08007c50 USB_SetDevAddress + 0x080082bc 0x4c ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o + 0x080082bc USB_SetDevAddress .text.USB_DevConnect - 0x08007c9c 0x42 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o - 0x08007c9c USB_DevConnect + 0x08008308 0x42 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o + 0x08008308 USB_DevConnect .text.USB_DevDisconnect - 0x08007cde 0x42 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o - 0x08007cde USB_DevDisconnect + 0x0800834a 0x42 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o + 0x0800834a USB_DevDisconnect .text.USB_ReadInterrupts - 0x08007d20 0x26 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o - 0x08007d20 USB_ReadInterrupts + 0x0800838c 0x26 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o + 0x0800838c USB_ReadInterrupts .text.USB_ReadDevAllOutEpInterrupt - 0x08007d46 0x34 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o - 0x08007d46 USB_ReadDevAllOutEpInterrupt + 0x080083b2 0x34 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o + 0x080083b2 USB_ReadDevAllOutEpInterrupt .text.USB_ReadDevAllInEpInterrupt - 0x08007d7a 0x34 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o - 0x08007d7a USB_ReadDevAllInEpInterrupt + 0x080083e6 0x34 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o + 0x080083e6 USB_ReadDevAllInEpInterrupt .text.USB_ReadDevOutEPInterrupt - 0x08007dae 0x3c ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o - 0x08007dae USB_ReadDevOutEPInterrupt + 0x0800841a 0x3c ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o + 0x0800841a USB_ReadDevOutEPInterrupt .text.USB_ReadDevInEPInterrupt - 0x08007dea 0x5c ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o - 0x08007dea USB_ReadDevInEPInterrupt + 0x08008456 0x5c ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o + 0x08008456 USB_ReadDevInEPInterrupt .text.USB_GetMode - 0x08007e46 0x1c ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o - 0x08007e46 USB_GetMode + 0x080084b2 0x1c ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o + 0x080084b2 USB_GetMode .text.USB_ActivateSetup - 0x08007e62 0x46 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o - 0x08007e62 USB_ActivateSetup + 0x080084ce 0x46 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o + 0x080084ce USB_ActivateSetup .text.USB_EP0_OutStart - 0x08007ea8 0xbc ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o - 0x08007ea8 USB_EP0_OutStart + 0x08008514 0xbc ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o + 0x08008514 USB_EP0_OutStart .text.USB_CoreReset - 0x08007f64 0x70 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o + 0x080085d0 0x70 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o .text.USBD_HID_Init - 0x08007fd4 0xcc ./Middlewares/ST/STM32_USB_Device_Library/Class/HID/Src/usbd_hid.o + 0x08008640 0xcc ./Middlewares/ST/STM32_USB_Device_Library/Class/HID/Src/usbd_hid.o .text.USBD_HID_DeInit - 0x080080a0 0x90 ./Middlewares/ST/STM32_USB_Device_Library/Class/HID/Src/usbd_hid.o + 0x0800870c 0x90 ./Middlewares/ST/STM32_USB_Device_Library/Class/HID/Src/usbd_hid.o .text.USBD_HID_Setup - 0x08008130 0x210 ./Middlewares/ST/STM32_USB_Device_Library/Class/HID/Src/usbd_hid.o + 0x0800879c 0x210 ./Middlewares/ST/STM32_USB_Device_Library/Class/HID/Src/usbd_hid.o .text.USBD_HID_SendReport - 0x08008340 0x60 ./Middlewares/ST/STM32_USB_Device_Library/Class/HID/Src/usbd_hid.o - 0x08008340 USBD_HID_SendReport + 0x080089ac 0x60 ./Middlewares/ST/STM32_USB_Device_Library/Class/HID/Src/usbd_hid.o + 0x080089ac USBD_HID_SendReport .text.USBD_HID_GetFSCfgDesc - 0x080083a0 0x34 ./Middlewares/ST/STM32_USB_Device_Library/Class/HID/Src/usbd_hid.o + 0x08008a0c 0x34 ./Middlewares/ST/STM32_USB_Device_Library/Class/HID/Src/usbd_hid.o .text.USBD_HID_GetHSCfgDesc - 0x080083d4 0x34 ./Middlewares/ST/STM32_USB_Device_Library/Class/HID/Src/usbd_hid.o + 0x08008a40 0x34 ./Middlewares/ST/STM32_USB_Device_Library/Class/HID/Src/usbd_hid.o .text.USBD_HID_GetOtherSpeedCfgDesc - 0x08008408 0x34 ./Middlewares/ST/STM32_USB_Device_Library/Class/HID/Src/usbd_hid.o + 0x08008a74 0x34 ./Middlewares/ST/STM32_USB_Device_Library/Class/HID/Src/usbd_hid.o .text.USBD_HID_DataIn - 0x0800843c 0x2c ./Middlewares/ST/STM32_USB_Device_Library/Class/HID/Src/usbd_hid.o + 0x08008aa8 0x2c ./Middlewares/ST/STM32_USB_Device_Library/Class/HID/Src/usbd_hid.o .text.USBD_HID_GetDeviceQualifierDesc - 0x08008468 0x20 ./Middlewares/ST/STM32_USB_Device_Library/Class/HID/Src/usbd_hid.o + 0x08008ad4 0x20 ./Middlewares/ST/STM32_USB_Device_Library/Class/HID/Src/usbd_hid.o .text.USBD_Init - 0x08008488 0x60 ./Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.o - 0x08008488 USBD_Init + 0x08008af4 0x60 ./Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.o + 0x08008af4 USBD_Init .text.USBD_RegisterClass - 0x080084e8 0x6c ./Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.o - 0x080084e8 USBD_RegisterClass + 0x08008b54 0x6c ./Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.o + 0x08008b54 USBD_RegisterClass .text.USBD_Start - 0x08008554 0x18 ./Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.o - 0x08008554 USBD_Start + 0x08008bc0 0x18 ./Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.o + 0x08008bc0 USBD_Start .text.USBD_RunTestMode - 0x0800856c 0x16 ./Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.o - 0x0800856c USBD_RunTestMode + 0x08008bd8 0x16 ./Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.o + 0x08008bd8 USBD_RunTestMode .text.USBD_SetClassConfig - 0x08008582 0x38 ./Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.o - 0x08008582 USBD_SetClassConfig + 0x08008bee 0x38 ./Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.o + 0x08008bee USBD_SetClassConfig .text.USBD_ClrClassConfig - 0x080085ba 0x34 ./Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.o - 0x080085ba USBD_ClrClassConfig + 0x08008c26 0x34 ./Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.o + 0x08008c26 USBD_ClrClassConfig .text.USBD_LL_SetupStage - 0x080085ee 0xaa ./Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.o - 0x080085ee USBD_LL_SetupStage + 0x08008c5a 0xaa ./Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.o + 0x08008c5a USBD_LL_SetupStage .text.USBD_LL_DataOutStage - 0x08008698 0x178 ./Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.o - 0x08008698 USBD_LL_DataOutStage + 0x08008d04 0x178 ./Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.o + 0x08008d04 USBD_LL_DataOutStage .text.USBD_LL_DataInStage - 0x08008810 0x176 ./Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.o - 0x08008810 USBD_LL_DataInStage + 0x08008e7c 0x176 ./Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.o + 0x08008e7c USBD_LL_DataInStage .text.USBD_LL_Reset - 0x08008986 0xa6 ./Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.o - 0x08008986 USBD_LL_Reset + 0x08008ff2 0xa6 ./Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.o + 0x08008ff2 USBD_LL_Reset .text.USBD_LL_SetSpeed - 0x08008a2c 0x20 ./Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.o - 0x08008a2c USBD_LL_SetSpeed + 0x08009098 0x20 ./Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.o + 0x08009098 USBD_LL_SetSpeed .text.USBD_LL_Suspend - 0x08008a4c 0x38 ./Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.o - 0x08008a4c USBD_LL_Suspend + 0x080090b8 0x38 ./Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.o + 0x080090b8 USBD_LL_Suspend .text.USBD_LL_Resume - 0x08008a84 0x30 ./Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.o - 0x08008a84 USBD_LL_Resume + 0x080090f0 0x30 ./Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.o + 0x080090f0 USBD_LL_Resume .text.USBD_LL_SOF - 0x08008ab4 0x40 ./Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.o - 0x08008ab4 USBD_LL_SOF + 0x08009120 0x40 ./Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.o + 0x08009120 USBD_LL_SOF .text.USBD_LL_IsoINIncomplete - 0x08008af4 0x64 ./Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.o - 0x08008af4 USBD_LL_IsoINIncomplete + 0x08009160 0x64 ./Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.o + 0x08009160 USBD_LL_IsoINIncomplete .text.USBD_LL_IsoOUTIncomplete - 0x08008b58 0x64 ./Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.o - 0x08008b58 USBD_LL_IsoOUTIncomplete + 0x080091c4 0x64 ./Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.o + 0x080091c4 USBD_LL_IsoOUTIncomplete .text.USBD_LL_DevConnected - 0x08008bbc 0x16 ./Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.o - 0x08008bbc USBD_LL_DevConnected + 0x08009228 0x16 ./Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.o + 0x08009228 USBD_LL_DevConnected .text.USBD_LL_DevDisconnected - 0x08008bd2 0x46 ./Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.o - 0x08008bd2 USBD_LL_DevDisconnected + 0x0800923e 0x46 ./Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.o + 0x0800923e USBD_LL_DevDisconnected .text.USBD_CoreFindIF - 0x08008c18 0x1a ./Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.o - 0x08008c18 USBD_CoreFindIF + 0x08009284 0x1a ./Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.o + 0x08009284 USBD_CoreFindIF .text.USBD_CoreFindEP - 0x08008c32 0x1a ./Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.o - 0x08008c32 USBD_CoreFindEP + 0x0800929e 0x1a ./Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.o + 0x0800929e USBD_CoreFindEP .text.USBD_GetEpDesc - 0x08008c4c 0x70 ./Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.o - 0x08008c4c USBD_GetEpDesc + 0x080092b8 0x70 ./Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.o + 0x080092b8 USBD_GetEpDesc .text.USBD_GetNextDesc - 0x08008cbc 0x38 ./Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.o - 0x08008cbc USBD_GetNextDesc + 0x08009328 0x38 ./Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.o + 0x08009328 USBD_GetNextDesc .text.SWAPBYTE - 0x08008cf4 0x3e ./Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.o - *fill* 0x08008d32 0x2 + 0x08009360 0x3e ./Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.o + *fill* 0x0800939e 0x2 .text.USBD_StdDevReq - 0x08008d34 0xe4 ./Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.o - 0x08008d34 USBD_StdDevReq + 0x080093a0 0xe4 ./Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.o + 0x080093a0 USBD_StdDevReq .text.USBD_StdItfReq - 0x08008e18 0xd8 ./Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.o - 0x08008e18 USBD_StdItfReq + 0x08009484 0xd8 ./Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.o + 0x08009484 USBD_StdItfReq .text.USBD_StdEPReq - 0x08008ef0 0x33e ./Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.o - 0x08008ef0 USBD_StdEPReq - *fill* 0x0800922e 0x2 + 0x0800955c 0x33e ./Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.o + 0x0800955c USBD_StdEPReq + *fill* 0x0800989a 0x2 .text.USBD_GetDescriptor - 0x08009230 0x328 ./Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.o + 0x0800989c 0x328 ./Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.o .text.USBD_SetAddress - 0x08009558 0x88 ./Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.o + 0x08009bc4 0x88 ./Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.o .text.USBD_SetConfig - 0x080095e0 0x154 ./Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.o + 0x08009c4c 0x154 ./Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.o .text.USBD_GetConfig - 0x08009734 0x6c ./Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.o + 0x08009da0 0x6c ./Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.o .text.USBD_GetStatus - 0x080097a0 0x68 ./Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.o + 0x08009e0c 0x68 ./Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.o .text.USBD_SetFeature - 0x08009808 0x52 ./Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.o + 0x08009e74 0x52 ./Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.o .text.USBD_ClrFeature - 0x0800985a 0x44 ./Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.o + 0x08009ec6 0x44 ./Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.o .text.USBD_ParseSetupRequest - 0x0800989e 0x74 ./Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.o - 0x0800989e USBD_ParseSetupRequest + 0x08009f0a 0x74 ./Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.o + 0x08009f0a USBD_ParseSetupRequest .text.USBD_CtlError - 0x08009912 0x22 ./Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.o - 0x08009912 USBD_CtlError + 0x08009f7e 0x22 ./Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.o + 0x08009f7e USBD_CtlError .text.USBD_GetString - 0x08009934 0xa4 ./Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.o - 0x08009934 USBD_GetString + 0x08009fa0 0xa4 ./Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.o + 0x08009fa0 USBD_GetString .text.USBD_GetLen - 0x080099d8 0x34 ./Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.o + 0x0800a044 0x34 ./Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.o .text.USBD_CtlSendData - 0x08009a0c 0x3c ./Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.o - 0x08009a0c USBD_CtlSendData + 0x0800a078 0x3c ./Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.o + 0x0800a078 USBD_CtlSendData .text.USBD_CtlContinueSendData - 0x08009a48 0x22 ./Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.o - 0x08009a48 USBD_CtlContinueSendData + 0x0800a0b4 0x22 ./Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.o + 0x0800a0b4 USBD_CtlContinueSendData .text.USBD_CtlContinueRx - 0x08009a6a 0x22 ./Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.o - 0x08009a6a USBD_CtlContinueRx + 0x0800a0d6 0x22 ./Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.o + 0x0800a0d6 USBD_CtlContinueRx .text.USBD_CtlSendStatus - 0x08009a8c 0x26 ./Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.o - 0x08009a8c USBD_CtlSendStatus + 0x0800a0f8 0x26 ./Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.o + 0x0800a0f8 USBD_CtlSendStatus .text.USBD_CtlReceiveStatus - 0x08009ab2 0x26 ./Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.o - 0x08009ab2 USBD_CtlReceiveStatus + 0x0800a11e 0x26 ./Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.o + 0x0800a11e USBD_CtlReceiveStatus .text.MX_USB_DEVICE_Init - 0x08009ad8 0x4c ./USB_DEVICE/App/usb_device.o - 0x08009ad8 MX_USB_DEVICE_Init + 0x0800a144 0x4c ./USB_DEVICE/App/usb_device.o + 0x0800a144 MX_USB_DEVICE_Init .text.USBD_FS_DeviceDescriptor - 0x08009b24 0x24 ./USB_DEVICE/App/usbd_desc.o - 0x08009b24 USBD_FS_DeviceDescriptor + 0x0800a190 0x24 ./USB_DEVICE/App/usbd_desc.o + 0x0800a190 USBD_FS_DeviceDescriptor .text.USBD_FS_LangIDStrDescriptor - 0x08009b48 0x24 ./USB_DEVICE/App/usbd_desc.o - 0x08009b48 USBD_FS_LangIDStrDescriptor + 0x0800a1b4 0x24 ./USB_DEVICE/App/usbd_desc.o + 0x0800a1b4 USBD_FS_LangIDStrDescriptor .text.USBD_FS_ProductStrDescriptor - 0x08009b6c 0x3c ./USB_DEVICE/App/usbd_desc.o - 0x08009b6c USBD_FS_ProductStrDescriptor + 0x0800a1d8 0x3c ./USB_DEVICE/App/usbd_desc.o + 0x0800a1d8 USBD_FS_ProductStrDescriptor .text.USBD_FS_ManufacturerStrDescriptor - 0x08009ba8 0x28 ./USB_DEVICE/App/usbd_desc.o - 0x08009ba8 USBD_FS_ManufacturerStrDescriptor + 0x0800a214 0x28 ./USB_DEVICE/App/usbd_desc.o + 0x0800a214 USBD_FS_ManufacturerStrDescriptor .text.USBD_FS_SerialStrDescriptor - 0x08009bd0 0x24 ./USB_DEVICE/App/usbd_desc.o - 0x08009bd0 USBD_FS_SerialStrDescriptor + 0x0800a23c 0x24 ./USB_DEVICE/App/usbd_desc.o + 0x0800a23c USBD_FS_SerialStrDescriptor .text.USBD_FS_ConfigStrDescriptor - 0x08009bf4 0x3c ./USB_DEVICE/App/usbd_desc.o - 0x08009bf4 USBD_FS_ConfigStrDescriptor + 0x0800a260 0x3c ./USB_DEVICE/App/usbd_desc.o + 0x0800a260 USBD_FS_ConfigStrDescriptor .text.USBD_FS_InterfaceStrDescriptor - 0x08009c30 0x3c ./USB_DEVICE/App/usbd_desc.o - 0x08009c30 USBD_FS_InterfaceStrDescriptor + 0x0800a29c 0x3c ./USB_DEVICE/App/usbd_desc.o + 0x0800a29c USBD_FS_InterfaceStrDescriptor .text.USBD_FS_USR_BOSDescriptor - 0x08009c6c 0x24 ./USB_DEVICE/App/usbd_desc.o - 0x08009c6c USBD_FS_USR_BOSDescriptor + 0x0800a2d8 0x24 ./USB_DEVICE/App/usbd_desc.o + 0x0800a2d8 USBD_FS_USR_BOSDescriptor .text.Get_SerialNum - 0x08009c90 0x58 ./USB_DEVICE/App/usbd_desc.o + 0x0800a2fc 0x58 ./USB_DEVICE/App/usbd_desc.o .text.IntToUnicode - 0x08009ce8 0x7e ./USB_DEVICE/App/usbd_desc.o - *fill* 0x08009d66 0x2 + 0x0800a354 0x7e ./USB_DEVICE/App/usbd_desc.o + *fill* 0x0800a3d2 0x2 .text.HAL_PCD_MspInit - 0x08009d68 0xd4 ./USB_DEVICE/Target/usbd_conf.o - 0x08009d68 HAL_PCD_MspInit + 0x0800a3d4 0xd4 ./USB_DEVICE/Target/usbd_conf.o + 0x0800a3d4 HAL_PCD_MspInit .text.HAL_PCD_SetupStageCallback - 0x08009e3c 0x24 ./USB_DEVICE/Target/usbd_conf.o - 0x08009e3c HAL_PCD_SetupStageCallback + 0x0800a4a8 0x24 ./USB_DEVICE/Target/usbd_conf.o + 0x0800a4a8 HAL_PCD_SetupStageCallback .text.HAL_PCD_DataOutStageCallback - 0x08009e60 0x36 ./USB_DEVICE/Target/usbd_conf.o - 0x08009e60 HAL_PCD_DataOutStageCallback + 0x0800a4cc 0x36 ./USB_DEVICE/Target/usbd_conf.o + 0x0800a4cc HAL_PCD_DataOutStageCallback .text.HAL_PCD_DataInStageCallback - 0x08009e96 0x34 ./USB_DEVICE/Target/usbd_conf.o - 0x08009e96 HAL_PCD_DataInStageCallback + 0x0800a502 0x34 ./USB_DEVICE/Target/usbd_conf.o + 0x0800a502 HAL_PCD_DataInStageCallback .text.HAL_PCD_SOFCallback - 0x08009eca 0x1c ./USB_DEVICE/Target/usbd_conf.o - 0x08009eca HAL_PCD_SOFCallback + 0x0800a536 0x1c ./USB_DEVICE/Target/usbd_conf.o + 0x0800a536 HAL_PCD_SOFCallback .text.HAL_PCD_ResetCallback - 0x08009ee6 0x50 ./USB_DEVICE/Target/usbd_conf.o - 0x08009ee6 HAL_PCD_ResetCallback - *fill* 0x08009f36 0x2 + 0x0800a552 0x50 ./USB_DEVICE/Target/usbd_conf.o + 0x0800a552 HAL_PCD_ResetCallback + *fill* 0x0800a5a2 0x2 .text.HAL_PCD_SuspendCallback - 0x08009f38 0x4c ./USB_DEVICE/Target/usbd_conf.o - 0x08009f38 HAL_PCD_SuspendCallback + 0x0800a5a4 0x4c ./USB_DEVICE/Target/usbd_conf.o + 0x0800a5a4 HAL_PCD_SuspendCallback .text.HAL_PCD_ResumeCallback - 0x08009f84 0x1c ./USB_DEVICE/Target/usbd_conf.o - 0x08009f84 HAL_PCD_ResumeCallback + 0x0800a5f0 0x1c ./USB_DEVICE/Target/usbd_conf.o + 0x0800a5f0 HAL_PCD_ResumeCallback .text.HAL_PCD_ISOOUTIncompleteCallback - 0x08009fa0 0x24 ./USB_DEVICE/Target/usbd_conf.o - 0x08009fa0 HAL_PCD_ISOOUTIncompleteCallback + 0x0800a60c 0x24 ./USB_DEVICE/Target/usbd_conf.o + 0x0800a60c HAL_PCD_ISOOUTIncompleteCallback .text.HAL_PCD_ISOINIncompleteCallback - 0x08009fc4 0x24 ./USB_DEVICE/Target/usbd_conf.o - 0x08009fc4 HAL_PCD_ISOINIncompleteCallback + 0x0800a630 0x24 ./USB_DEVICE/Target/usbd_conf.o + 0x0800a630 HAL_PCD_ISOINIncompleteCallback .text.HAL_PCD_ConnectCallback - 0x08009fe8 0x1c ./USB_DEVICE/Target/usbd_conf.o - 0x08009fe8 HAL_PCD_ConnectCallback + 0x0800a654 0x1c ./USB_DEVICE/Target/usbd_conf.o + 0x0800a654 HAL_PCD_ConnectCallback .text.HAL_PCD_DisconnectCallback - 0x0800a004 0x1c ./USB_DEVICE/Target/usbd_conf.o - 0x0800a004 HAL_PCD_DisconnectCallback + 0x0800a670 0x1c ./USB_DEVICE/Target/usbd_conf.o + 0x0800a670 HAL_PCD_DisconnectCallback .text.USBD_LL_Init - 0x0800a020 0x98 ./USB_DEVICE/Target/usbd_conf.o - 0x0800a020 USBD_LL_Init + 0x0800a68c 0x98 ./USB_DEVICE/Target/usbd_conf.o + 0x0800a68c USBD_LL_Init .text.USBD_LL_Start - 0x0800a0b8 0x36 ./USB_DEVICE/Target/usbd_conf.o - 0x0800a0b8 USBD_LL_Start + 0x0800a724 0x36 ./USB_DEVICE/Target/usbd_conf.o + 0x0800a724 USBD_LL_Start .text.USBD_LL_OpenEP - 0x0800a0ee 0x4c ./USB_DEVICE/Target/usbd_conf.o - 0x0800a0ee USBD_LL_OpenEP + 0x0800a75a 0x4c ./USB_DEVICE/Target/usbd_conf.o + 0x0800a75a USBD_LL_OpenEP .text.USBD_LL_CloseEP - 0x0800a13a 0x3e ./USB_DEVICE/Target/usbd_conf.o - 0x0800a13a USBD_LL_CloseEP + 0x0800a7a6 0x3e ./USB_DEVICE/Target/usbd_conf.o + 0x0800a7a6 USBD_LL_CloseEP .text.USBD_LL_StallEP - 0x0800a178 0x3e ./USB_DEVICE/Target/usbd_conf.o - 0x0800a178 USBD_LL_StallEP + 0x0800a7e4 0x3e ./USB_DEVICE/Target/usbd_conf.o + 0x0800a7e4 USBD_LL_StallEP .text.USBD_LL_ClearStallEP - 0x0800a1b6 0x3e ./USB_DEVICE/Target/usbd_conf.o - 0x0800a1b6 USBD_LL_ClearStallEP + 0x0800a822 0x3e ./USB_DEVICE/Target/usbd_conf.o + 0x0800a822 USBD_LL_ClearStallEP .text.USBD_LL_IsStallEP - 0x0800a1f4 0x58 ./USB_DEVICE/Target/usbd_conf.o - 0x0800a1f4 USBD_LL_IsStallEP + 0x0800a860 0x58 ./USB_DEVICE/Target/usbd_conf.o + 0x0800a860 USBD_LL_IsStallEP .text.USBD_LL_SetUSBAddress - 0x0800a24c 0x3e ./USB_DEVICE/Target/usbd_conf.o - 0x0800a24c USBD_LL_SetUSBAddress + 0x0800a8b8 0x3e ./USB_DEVICE/Target/usbd_conf.o + 0x0800a8b8 USBD_LL_SetUSBAddress .text.USBD_LL_Transmit - 0x0800a28a 0x42 ./USB_DEVICE/Target/usbd_conf.o - 0x0800a28a USBD_LL_Transmit + 0x0800a8f6 0x42 ./USB_DEVICE/Target/usbd_conf.o + 0x0800a8f6 USBD_LL_Transmit .text.USBD_LL_PrepareReceive - 0x0800a2cc 0x42 ./USB_DEVICE/Target/usbd_conf.o - 0x0800a2cc USBD_LL_PrepareReceive - *fill* 0x0800a30e 0x2 + 0x0800a938 0x42 ./USB_DEVICE/Target/usbd_conf.o + 0x0800a938 USBD_LL_PrepareReceive + *fill* 0x0800a97a 0x2 .text.HAL_PCDEx_LPM_Callback - 0x0800a310 0x9c ./USB_DEVICE/Target/usbd_conf.o - 0x0800a310 HAL_PCDEx_LPM_Callback + 0x0800a97c 0x9c ./USB_DEVICE/Target/usbd_conf.o + 0x0800a97c HAL_PCDEx_LPM_Callback .text.USBD_static_malloc - 0x0800a3ac 0x1c ./USB_DEVICE/Target/usbd_conf.o - 0x0800a3ac USBD_static_malloc + 0x0800aa18 0x1c ./USB_DEVICE/Target/usbd_conf.o + 0x0800aa18 USBD_static_malloc .text.USBD_static_free - 0x0800a3c8 0x14 ./USB_DEVICE/Target/usbd_conf.o - 0x0800a3c8 USBD_static_free + 0x0800aa34 0x14 ./USB_DEVICE/Target/usbd_conf.o + 0x0800aa34 USBD_static_free .text.USBD_Get_USB_Status - 0x0800a3dc 0x58 ./USB_DEVICE/Target/usbd_conf.o - 0x0800a3dc USBD_Get_USB_Status - .text.memset 0x0800a434 0x10 /home/ukim/st/stm32cubeide_1.19.0/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.linux64_1.0.0.202410170706/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m+fp/hard/libc_nano.a(libc_a-memset.o) - 0x0800a434 memset + 0x0800aa48 0x58 ./USB_DEVICE/Target/usbd_conf.o + 0x0800aa48 USBD_Get_USB_Status + .text.memset 0x0800aaa0 0x10 /home/ukim/st/stm32cubeide_1.19.0/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.linux64_1.0.0.202410170706/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m+fp/hard/libc_nano.a(libc_a-memset.o) + 0x0800aaa0 memset .text.__libc_init_array - 0x0800a444 0x48 /home/ukim/st/stm32cubeide_1.19.0/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.linux64_1.0.0.202410170706/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m+fp/hard/libc_nano.a(libc_a-init.o) - 0x0800a444 __libc_init_array + 0x0800aab0 0x48 /home/ukim/st/stm32cubeide_1.19.0/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.linux64_1.0.0.202410170706/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m+fp/hard/libc_nano.a(libc_a-init.o) + 0x0800aab0 __libc_init_array + .text.memcpy 0x0800aaf8 0x1c /home/ukim/st/stm32cubeide_1.19.0/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.linux64_1.0.0.202410170706/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m+fp/hard/libc_nano.a(libc_a-memcpy-stub.o) + 0x0800aaf8 memcpy *(.glue_7) - .glue_7 0x0800a48c 0x0 linker stubs + .glue_7 0x0800ab14 0x0 linker stubs *(.glue_7t) - .glue_7t 0x0800a48c 0x0 linker stubs + .glue_7t 0x0800ab14 0x0 linker stubs *(.eh_frame) - .eh_frame 0x0800a48c 0x0 /home/ukim/st/stm32cubeide_1.19.0/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.linux64_1.0.0.202410170706/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/thumb/v7e-m+fp/hard/crtbegin.o + .eh_frame 0x0800ab14 0x0 /home/ukim/st/stm32cubeide_1.19.0/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.linux64_1.0.0.202410170706/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/thumb/v7e-m+fp/hard/crtbegin.o *(.init) - .init 0x0800a48c 0x4 /home/ukim/st/stm32cubeide_1.19.0/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.linux64_1.0.0.202410170706/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/thumb/v7e-m+fp/hard/crti.o - 0x0800a48c _init - .init 0x0800a490 0x8 /home/ukim/st/stm32cubeide_1.19.0/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.linux64_1.0.0.202410170706/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/thumb/v7e-m+fp/hard/crtn.o + .init 0x0800ab14 0x4 /home/ukim/st/stm32cubeide_1.19.0/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.linux64_1.0.0.202410170706/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/thumb/v7e-m+fp/hard/crti.o + 0x0800ab14 _init + .init 0x0800ab18 0x8 /home/ukim/st/stm32cubeide_1.19.0/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.linux64_1.0.0.202410170706/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/thumb/v7e-m+fp/hard/crtn.o *(.fini) - .fini 0x0800a498 0x4 /home/ukim/st/stm32cubeide_1.19.0/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.linux64_1.0.0.202410170706/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/thumb/v7e-m+fp/hard/crti.o - 0x0800a498 _fini - .fini 0x0800a49c 0x8 /home/ukim/st/stm32cubeide_1.19.0/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.linux64_1.0.0.202410170706/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/thumb/v7e-m+fp/hard/crtn.o - 0x0800a4a4 . = ALIGN (0x4) - 0x0800a4a4 _etext = . + .fini 0x0800ab20 0x4 /home/ukim/st/stm32cubeide_1.19.0/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.linux64_1.0.0.202410170706/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/thumb/v7e-m+fp/hard/crti.o + 0x0800ab20 _fini + .fini 0x0800ab24 0x8 /home/ukim/st/stm32cubeide_1.19.0/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.linux64_1.0.0.202410170706/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/thumb/v7e-m+fp/hard/crtn.o + 0x0800ab2c . = ALIGN (0x4) + 0x0800ab2c _etext = . -.vfp11_veneer 0x0800a4a4 0x0 - .vfp11_veneer 0x0800a4a4 0x0 linker stubs +.vfp11_veneer 0x0800ab2c 0x0 + .vfp11_veneer 0x0800ab2c 0x0 linker stubs -.v4_bx 0x0800a4a4 0x0 - .v4_bx 0x0800a4a4 0x0 linker stubs +.v4_bx 0x0800ab2c 0x0 + .v4_bx 0x0800ab2c 0x0 linker stubs -.iplt 0x0800a4a4 0x0 - .iplt 0x0800a4a4 0x0 /home/ukim/st/stm32cubeide_1.19.0/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.linux64_1.0.0.202410170706/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/thumb/v7e-m+fp/hard/crtbegin.o +.iplt 0x0800ab2c 0x0 + .iplt 0x0800ab2c 0x0 /home/ukim/st/stm32cubeide_1.19.0/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.linux64_1.0.0.202410170706/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/thumb/v7e-m+fp/hard/crtbegin.o -.rodata 0x0800a4a4 0x5c - 0x0800a4a4 . = ALIGN (0x4) +.rodata 0x0800ab2c 0x5c + 0x0800ab2c . = ALIGN (0x4) *(.rodata) - .rodata 0x0800a4a4 0x3a ./USB_DEVICE/App/usbd_desc.o + .rodata 0x0800ab2c 0x3a ./USB_DEVICE/App/usbd_desc.o *(.rodata*) - *fill* 0x0800a4de 0x2 + *fill* 0x0800ab66 0x2 .rodata.AHBPrescTable - 0x0800a4e0 0x10 ./Core/Src/system_stm32f4xx.o - 0x0800a4e0 AHBPrescTable + 0x0800ab68 0x10 ./Core/Src/system_stm32f4xx.o + 0x0800ab68 AHBPrescTable .rodata.APBPrescTable - 0x0800a4f0 0x8 ./Core/Src/system_stm32f4xx.o - 0x0800a4f0 APBPrescTable + 0x0800ab78 0x8 ./Core/Src/system_stm32f4xx.o + 0x0800ab78 APBPrescTable .rodata.flagBitshiftOffset.0 - 0x0800a4f8 0x8 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.o - 0x0800a500 . = ALIGN (0x4) + 0x0800ab80 0x8 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.o + 0x0800ab88 . = ALIGN (0x4) -.ARM.extab 0x0800a500 0x0 - 0x0800a500 . = ALIGN (0x4) +.ARM.extab 0x0800ab88 0x0 + 0x0800ab88 . = ALIGN (0x4) *(.ARM.extab* .gnu.linkonce.armextab.*) - 0x0800a500 . = ALIGN (0x4) + 0x0800ab88 . = ALIGN (0x4) -.ARM 0x0800a500 0x8 - 0x0800a500 . = ALIGN (0x4) - 0x0800a500 __exidx_start = . +.ARM 0x0800ab88 0x8 + 0x0800ab88 . = ALIGN (0x4) + 0x0800ab88 __exidx_start = . *(.ARM.exidx*) - .ARM.exidx 0x0800a500 0x8 /home/ukim/st/stm32cubeide_1.19.0/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.linux64_1.0.0.202410170706/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/thumb/v7e-m+fp/hard/libgcc.a(_udivmoddi4.o) - 0x0800a508 __exidx_end = . - 0x0800a508 . = ALIGN (0x4) + .ARM.exidx 0x0800ab88 0x8 /home/ukim/st/stm32cubeide_1.19.0/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.linux64_1.0.0.202410170706/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/thumb/v7e-m+fp/hard/libgcc.a(_udivmoddi4.o) + 0x0800ab90 __exidx_end = . + 0x0800ab90 . = ALIGN (0x4) -.preinit_array 0x0800a508 0x0 - 0x0800a508 . = ALIGN (0x4) - 0x0800a508 PROVIDE (__preinit_array_start = .) +.preinit_array 0x0800ab90 0x0 + 0x0800ab90 . = ALIGN (0x4) + 0x0800ab90 PROVIDE (__preinit_array_start = .) *(.preinit_array*) - 0x0800a508 PROVIDE (__preinit_array_end = .) - 0x0800a508 . = ALIGN (0x4) + 0x0800ab90 PROVIDE (__preinit_array_end = .) + 0x0800ab90 . = ALIGN (0x4) -.init_array 0x0800a508 0x4 - 0x0800a508 . = ALIGN (0x4) - 0x0800a508 PROVIDE (__init_array_start = .) +.init_array 0x0800ab90 0x4 + 0x0800ab90 . = ALIGN (0x4) + 0x0800ab90 PROVIDE (__init_array_start = .) *(SORT_BY_NAME(.init_array.*)) *(.init_array*) - .init_array 0x0800a508 0x4 /home/ukim/st/stm32cubeide_1.19.0/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.linux64_1.0.0.202410170706/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/thumb/v7e-m+fp/hard/crtbegin.o - 0x0800a50c PROVIDE (__init_array_end = .) - 0x0800a50c . = ALIGN (0x4) + .init_array 0x0800ab90 0x4 /home/ukim/st/stm32cubeide_1.19.0/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.linux64_1.0.0.202410170706/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/thumb/v7e-m+fp/hard/crtbegin.o + 0x0800ab94 PROVIDE (__init_array_end = .) + 0x0800ab94 . = ALIGN (0x4) -.fini_array 0x0800a50c 0x4 - 0x0800a50c . = ALIGN (0x4) +.fini_array 0x0800ab94 0x4 + 0x0800ab94 . = ALIGN (0x4) [!provide] PROVIDE (__fini_array_start = .) *(SORT_BY_NAME(.fini_array.*)) *(.fini_array*) - .fini_array 0x0800a50c 0x4 /home/ukim/st/stm32cubeide_1.19.0/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.linux64_1.0.0.202410170706/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/thumb/v7e-m+fp/hard/crtbegin.o + .fini_array 0x0800ab94 0x4 /home/ukim/st/stm32cubeide_1.19.0/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.linux64_1.0.0.202410170706/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/thumb/v7e-m+fp/hard/crtbegin.o [!provide] PROVIDE (__fini_array_end = .) - 0x0800a510 . = ALIGN (0x4) - 0x0800a510 _sidata = LOADADDR (.data) + 0x0800ab98 . = ALIGN (0x4) + 0x0800ab98 _sidata = LOADADDR (.data) -.rel.dyn 0x0800a510 0x0 - .rel.iplt 0x0800a510 0x0 /home/ukim/st/stm32cubeide_1.19.0/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.linux64_1.0.0.202410170706/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/thumb/v7e-m+fp/hard/crtbegin.o +.rel.dyn 0x0800ab98 0x0 + .rel.iplt 0x0800ab98 0x0 /home/ukim/st/stm32cubeide_1.19.0/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.linux64_1.0.0.202410170706/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/thumb/v7e-m+fp/hard/crtbegin.o -.data 0x20000000 0x1bc load address 0x0800a510 +.data 0x20000000 0x1a0 load address 0x0800ab98 0x20000000 . = ALIGN (0x4) 0x20000000 _sdata = . *(.data) @@ -6349,117 +6362,127 @@ LOAD /home/ukim/st/stm32cubeide_1.19.0/plugins/com.st.stm32cube.ide.mcu.external 0x20000104 0xa ./Middlewares/ST/STM32_USB_Device_Library/Class/HID/Src/usbd_hid.o *fill* 0x2000010e 0x2 .data.HID_MOUSE_ReportDesc - 0x20000110 0x4a ./Middlewares/ST/STM32_USB_Device_Library/Class/HID/Src/usbd_hid.o + 0x20000110 0x2d ./Middlewares/ST/STM32_USB_Device_Library/Class/HID/Src/usbd_hid.o .data.HIDInEpAdd - 0x2000015a 0x1 ./Middlewares/ST/STM32_USB_Device_Library/Class/HID/Src/usbd_hid.o - *fill* 0x2000015b 0x1 - .data.FS_Desc 0x2000015c 0x20 ./USB_DEVICE/App/usbd_desc.o - 0x2000015c FS_Desc + 0x2000013d 0x1 ./Middlewares/ST/STM32_USB_Device_Library/Class/HID/Src/usbd_hid.o + *fill* 0x2000013e 0x2 + .data.FS_Desc 0x20000140 0x20 ./USB_DEVICE/App/usbd_desc.o + 0x20000140 FS_Desc .data.USBD_FS_DeviceDesc - 0x2000017c 0x12 ./USB_DEVICE/App/usbd_desc.o - 0x2000017c USBD_FS_DeviceDesc - *fill* 0x2000018e 0x2 + 0x20000160 0x12 ./USB_DEVICE/App/usbd_desc.o + 0x20000160 USBD_FS_DeviceDesc + *fill* 0x20000172 0x2 .data.USBD_FS_BOSDesc - 0x20000190 0xc ./USB_DEVICE/App/usbd_desc.o - 0x20000190 USBD_FS_BOSDesc + 0x20000174 0xc ./USB_DEVICE/App/usbd_desc.o + 0x20000174 USBD_FS_BOSDesc .data.USBD_LangIDDesc - 0x2000019c 0x4 ./USB_DEVICE/App/usbd_desc.o - 0x2000019c USBD_LangIDDesc + 0x20000180 0x4 ./USB_DEVICE/App/usbd_desc.o + 0x20000180 USBD_LangIDDesc .data.USBD_StringSerial - 0x200001a0 0x1a ./USB_DEVICE/App/usbd_desc.o - 0x200001a0 USBD_StringSerial + 0x20000184 0x1a ./USB_DEVICE/App/usbd_desc.o + 0x20000184 USBD_StringSerial *(.RamFunc) *(.RamFunc*) - 0x200001bc . = ALIGN (0x4) - *fill* 0x200001ba 0x2 - 0x200001bc _edata = . + 0x200001a0 . = ALIGN (0x4) + *fill* 0x2000019e 0x2 + 0x200001a0 _edata = . -.igot.plt 0x200001bc 0x0 load address 0x0800a6cc - .igot.plt 0x200001bc 0x0 /home/ukim/st/stm32cubeide_1.19.0/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.linux64_1.0.0.202410170706/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/thumb/v7e-m+fp/hard/crtbegin.o - 0x200001bc . = ALIGN (0x4) +.igot.plt 0x200001a0 0x0 load address 0x0800ad38 + .igot.plt 0x200001a0 0x0 /home/ukim/st/stm32cubeide_1.19.0/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.linux64_1.0.0.202410170706/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/thumb/v7e-m+fp/hard/crtbegin.o + 0x200001a0 . = ALIGN (0x4) -.bss 0x200001bc 0xf14 load address 0x0800a6cc - 0x200001bc _sbss = . - 0x200001bc __bss_start__ = _sbss +.bss 0x200001a0 0xf58 load address 0x0800ad38 + 0x200001a0 _sbss = . + 0x200001a0 __bss_start__ = _sbss *(.bss) - .bss 0x200001bc 0x1c /home/ukim/st/stm32cubeide_1.19.0/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.linux64_1.0.0.202410170706/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/thumb/v7e-m+fp/hard/crtbegin.o + .bss 0x200001a0 0x1c /home/ukim/st/stm32cubeide_1.19.0/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.linux64_1.0.0.202410170706/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/thumb/v7e-m+fp/hard/crtbegin.o *(.bss*) - .bss.hi2c1 0x200001d8 0x54 ./Core/Src/i2c.o - 0x200001d8 hi2c1 - .bss.REPORT 0x2000022c 0xe ./Core/Src/main.o - 0x2000022c REPORT - .bss.DEPTH 0x2000023a 0x2 ./Core/Src/main.o - 0x2000023a DEPTH - .bss.PARENT 0x2000023c 0x4 ./Core/Src/main.o - 0x2000023c PARENT - .bss.MODE 0x20000240 0x1 ./Core/Src/main.o - 0x20000240 MODE - *fill* 0x20000241 0x3 - .bss.htim2 0x20000244 0x48 ./Core/Src/tim.o - 0x20000244 htim2 - .bss.htim3 0x2000028c 0x48 ./Core/Src/tim.o - 0x2000028c htim3 - .bss.huart4 0x200002d4 0x48 ./Core/Src/usart.o - 0x200002d4 huart4 - .bss.huart5 0x2000031c 0x48 ./Core/Src/usart.o - 0x2000031c huart5 - .bss.huart1 0x20000364 0x48 ./Core/Src/usart.o - 0x20000364 huart1 - .bss.huart2 0x200003ac 0x48 ./Core/Src/usart.o - 0x200003ac huart2 + .bss.hi2c1 0x200001bc 0x54 ./Core/Src/i2c.o + 0x200001bc hi2c1 + .bss.REPORT 0x20000210 0xe ./Core/Src/main.o + 0x20000210 REPORT + *fill* 0x2000021e 0x2 + .bss.RX5Msg 0x20000220 0x10 ./Core/Src/main.o + 0x20000220 RX5Msg + .bss.RX1Msg 0x20000230 0x10 ./Core/Src/main.o + 0x20000230 RX1Msg + .bss.RX2Msg 0x20000240 0x10 ./Core/Src/main.o + 0x20000240 RX2Msg + .bss.RX4Msg 0x20000250 0x10 ./Core/Src/main.o + 0x20000250 RX4Msg + .bss.DEPTH 0x20000260 0x2 ./Core/Src/main.o + 0x20000260 DEPTH + *fill* 0x20000262 0x2 + .bss.PARENT 0x20000264 0x4 ./Core/Src/main.o + 0x20000264 PARENT + .bss.MODE 0x20000268 0x1 ./Core/Src/main.o + 0x20000268 MODE + *fill* 0x20000269 0x3 + .bss.htim2 0x2000026c 0x48 ./Core/Src/tim.o + 0x2000026c htim2 + .bss.htim3 0x200002b4 0x48 ./Core/Src/tim.o + 0x200002b4 htim3 + .bss.huart4 0x200002fc 0x48 ./Core/Src/usart.o + 0x200002fc huart4 + .bss.huart5 0x20000344 0x48 ./Core/Src/usart.o + 0x20000344 huart5 + .bss.huart1 0x2000038c 0x48 ./Core/Src/usart.o + 0x2000038c huart1 + .bss.huart2 0x200003d4 0x48 ./Core/Src/usart.o + 0x200003d4 huart2 .bss.hdma_uart4_rx - 0x200003f4 0x60 ./Core/Src/usart.o - 0x200003f4 hdma_uart4_rx + 0x2000041c 0x60 ./Core/Src/usart.o + 0x2000041c hdma_uart4_rx .bss.hdma_uart4_tx - 0x20000454 0x60 ./Core/Src/usart.o - 0x20000454 hdma_uart4_tx + 0x2000047c 0x60 ./Core/Src/usart.o + 0x2000047c hdma_uart4_tx .bss.hdma_uart5_rx - 0x200004b4 0x60 ./Core/Src/usart.o - 0x200004b4 hdma_uart5_rx + 0x200004dc 0x60 ./Core/Src/usart.o + 0x200004dc hdma_uart5_rx .bss.hdma_uart5_tx - 0x20000514 0x60 ./Core/Src/usart.o - 0x20000514 hdma_uart5_tx + 0x2000053c 0x60 ./Core/Src/usart.o + 0x2000053c hdma_uart5_tx .bss.hdma_usart1_rx - 0x20000574 0x60 ./Core/Src/usart.o - 0x20000574 hdma_usart1_rx + 0x2000059c 0x60 ./Core/Src/usart.o + 0x2000059c hdma_usart1_rx .bss.hdma_usart1_tx - 0x200005d4 0x60 ./Core/Src/usart.o - 0x200005d4 hdma_usart1_tx + 0x200005fc 0x60 ./Core/Src/usart.o + 0x200005fc hdma_usart1_tx .bss.hdma_usart2_rx - 0x20000634 0x60 ./Core/Src/usart.o - 0x20000634 hdma_usart2_rx + 0x2000065c 0x60 ./Core/Src/usart.o + 0x2000065c hdma_usart2_rx .bss.hdma_usart2_tx - 0x20000694 0x60 ./Core/Src/usart.o - 0x20000694 hdma_usart2_tx - .bss.uwTick 0x200006f4 0x4 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.o - 0x200006f4 uwTick - .bss.cfgidx.0 0x200006f8 0x1 ./Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.o - *fill* 0x200006f9 0x3 + 0x200006bc 0x60 ./Core/Src/usart.o + 0x200006bc hdma_usart2_tx + .bss.uwTick 0x2000071c 0x4 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.o + 0x2000071c uwTick + .bss.cfgidx.0 0x20000720 0x1 ./Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.o + *fill* 0x20000721 0x3 .bss.hUsbDeviceFS - 0x200006fc 0x2dc ./USB_DEVICE/App/usb_device.o - 0x200006fc hUsbDeviceFS + 0x20000724 0x2dc ./USB_DEVICE/App/usb_device.o + 0x20000724 hUsbDeviceFS .bss.USBD_StrDesc - 0x200009d8 0x200 ./USB_DEVICE/App/usbd_desc.o - 0x200009d8 USBD_StrDesc + 0x20000a00 0x200 ./USB_DEVICE/App/usbd_desc.o + 0x20000a00 USBD_StrDesc .bss.hpcd_USB_OTG_FS - 0x20000bd8 0x4e4 ./USB_DEVICE/Target/usbd_conf.o - 0x20000bd8 hpcd_USB_OTG_FS - .bss.mem.0 0x200010bc 0x14 ./USB_DEVICE/Target/usbd_conf.o + 0x20000c00 0x4e4 ./USB_DEVICE/Target/usbd_conf.o + 0x20000c00 hpcd_USB_OTG_FS + .bss.mem.0 0x200010e4 0x14 ./USB_DEVICE/Target/usbd_conf.o *(COMMON) - 0x200010d0 . = ALIGN (0x4) - 0x200010d0 _ebss = . - 0x200010d0 __bss_end__ = _ebss + 0x200010f8 . = ALIGN (0x4) + 0x200010f8 _ebss = . + 0x200010f8 __bss_end__ = _ebss ._user_heap_stack - 0x200010d0 0x600 load address 0x0800a6cc - 0x200010d0 . = ALIGN (0x8) + 0x200010f8 0x600 load address 0x0800ad38 + 0x200010f8 . = ALIGN (0x8) [!provide] PROVIDE (end = .) - 0x200010d0 PROVIDE (_end = .) - 0x200012d0 . = (. + _Min_Heap_Size) - *fill* 0x200010d0 0x200 - 0x200016d0 . = (. + _Min_Stack_Size) - *fill* 0x200012d0 0x400 - 0x200016d0 . = ALIGN (0x8) + 0x200010f8 PROVIDE (_end = .) + 0x200012f8 . = (. + _Min_Heap_Size) + *fill* 0x200010f8 0x200 + 0x200016f8 . = (. + _Min_Stack_Size) + *fill* 0x200012f8 0x400 + 0x200016f8 . = ALIGN (0x8) /DISCARD/ libc.a(*) @@ -6538,82 +6561,84 @@ LOAD /home/ukim/st/stm32cubeide_1.19.0/plugins/com.st.stm32cube.ide.mcu.external .ARM.attributes 0x0000068f 0x34 /home/ukim/st/stm32cubeide_1.19.0/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.linux64_1.0.0.202410170706/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m+fp/hard/libc_nano.a(libc_a-init.o) .ARM.attributes - 0x000006c3 0x22 /home/ukim/st/stm32cubeide_1.19.0/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.linux64_1.0.0.202410170706/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/thumb/v7e-m+fp/hard/libgcc.a(_aeabi_uldivmod.o) + 0x000006c3 0x34 /home/ukim/st/stm32cubeide_1.19.0/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.linux64_1.0.0.202410170706/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m+fp/hard/libc_nano.a(libc_a-memcpy-stub.o) .ARM.attributes - 0x000006e5 0x34 /home/ukim/st/stm32cubeide_1.19.0/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.linux64_1.0.0.202410170706/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/thumb/v7e-m+fp/hard/libgcc.a(_udivmoddi4.o) + 0x000006f7 0x22 /home/ukim/st/stm32cubeide_1.19.0/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.linux64_1.0.0.202410170706/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/thumb/v7e-m+fp/hard/libgcc.a(_aeabi_uldivmod.o) .ARM.attributes - 0x00000719 0x22 /home/ukim/st/stm32cubeide_1.19.0/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.linux64_1.0.0.202410170706/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/thumb/v7e-m+fp/hard/libgcc.a(_dvmd_tls.o) + 0x00000719 0x34 /home/ukim/st/stm32cubeide_1.19.0/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.linux64_1.0.0.202410170706/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/thumb/v7e-m+fp/hard/libgcc.a(_udivmoddi4.o) .ARM.attributes - 0x0000073b 0x22 /home/ukim/st/stm32cubeide_1.19.0/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.linux64_1.0.0.202410170706/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/thumb/v7e-m+fp/hard/crtn.o + 0x0000074d 0x22 /home/ukim/st/stm32cubeide_1.19.0/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.linux64_1.0.0.202410170706/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/thumb/v7e-m+fp/hard/libgcc.a(_dvmd_tls.o) + .ARM.attributes + 0x0000076f 0x22 /home/ukim/st/stm32cubeide_1.19.0/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.linux64_1.0.0.202410170706/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/thumb/v7e-m+fp/hard/crtn.o OUTPUT(modularkbd.elf elf32-littlearm) LOAD linker stubs LOAD /home/ukim/st/stm32cubeide_1.19.0/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.linux64_1.0.0.202410170706/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m+fp/hard/libc.a LOAD /home/ukim/st/stm32cubeide_1.19.0/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.linux64_1.0.0.202410170706/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m+fp/hard/libm.a LOAD /home/ukim/st/stm32cubeide_1.19.0/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.linux64_1.0.0.202410170706/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/thumb/v7e-m+fp/hard/libgcc.a -.debug_info 0x00000000 0x1aeaf +.debug_info 0x00000000 0x1af7a .debug_info 0x00000000 0x514 ./Core/Src/dma.o .debug_info 0x00000514 0x455 ./Core/Src/gpio.o .debug_info 0x00000969 0x9a4 ./Core/Src/i2c.o - .debug_info 0x0000130d 0x1407 ./Core/Src/main.o - .debug_info 0x00002714 0x299 ./Core/Src/stm32f4xx_hal_msp.o - .debug_info 0x000029ad 0xc7c ./Core/Src/stm32f4xx_it.o - .debug_info 0x00003629 0x54a ./Core/Src/system_stm32f4xx.o - .debug_info 0x00003b73 0xd18 ./Core/Src/tim.o - .debug_info 0x0000488b 0xdbf ./Core/Src/usart.o - .debug_info 0x0000564a 0x30 ./Core/Startup/startup_stm32f446retx.o - .debug_info 0x0000567a 0x99a ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.o - .debug_info 0x00006014 0xdaa ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.o - .debug_info 0x00006dbe 0x8e7 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.o - .debug_info 0x000076a5 0x70b ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.o - .debug_info 0x00007db0 0x2421 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_i2c.o - .debug_info 0x0000a1d1 0x15e3 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd.o - .debug_info 0x0000b7b4 0x7b4 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.o - .debug_info 0x0000bf68 0x8ff ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.o - .debug_info 0x0000c867 0x960 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc_ex.o - .debug_info 0x0000d1c7 0x299d ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim.o - .debug_info 0x0000fb64 0x14db ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim_ex.o - .debug_info 0x0001103f 0x2f4f ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.o - .debug_info 0x00013f8e 0x19f1 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o - .debug_info 0x0001597f 0xa9e ./Middlewares/ST/STM32_USB_Device_Library/Class/HID/Src/usbd_hid.o - .debug_info 0x0001641d 0xe1f ./Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.o - .debug_info 0x0001723c 0xaf8 ./Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.o - .debug_info 0x00017d34 0x76f ./Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.o - .debug_info 0x000184a3 0x609 ./USB_DEVICE/App/usb_device.o - .debug_info 0x00018aac 0x4ba ./USB_DEVICE/App/usbd_desc.o - .debug_info 0x00018f66 0x1f49 ./USB_DEVICE/Target/usbd_conf.o + .debug_info 0x0000130d 0x14d2 ./Core/Src/main.o + .debug_info 0x000027df 0x299 ./Core/Src/stm32f4xx_hal_msp.o + .debug_info 0x00002a78 0xc7c ./Core/Src/stm32f4xx_it.o + .debug_info 0x000036f4 0x54a ./Core/Src/system_stm32f4xx.o + .debug_info 0x00003c3e 0xd18 ./Core/Src/tim.o + .debug_info 0x00004956 0xdbf ./Core/Src/usart.o + .debug_info 0x00005715 0x30 ./Core/Startup/startup_stm32f446retx.o + .debug_info 0x00005745 0x99a ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.o + .debug_info 0x000060df 0xdaa ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.o + .debug_info 0x00006e89 0x8e7 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.o + .debug_info 0x00007770 0x70b ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.o + .debug_info 0x00007e7b 0x2421 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_i2c.o + .debug_info 0x0000a29c 0x15e3 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd.o + .debug_info 0x0000b87f 0x7b4 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.o + .debug_info 0x0000c033 0x8ff ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.o + .debug_info 0x0000c932 0x960 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc_ex.o + .debug_info 0x0000d292 0x299d ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim.o + .debug_info 0x0000fc2f 0x14db ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim_ex.o + .debug_info 0x0001110a 0x2f4f ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.o + .debug_info 0x00014059 0x19f1 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o + .debug_info 0x00015a4a 0xa9e ./Middlewares/ST/STM32_USB_Device_Library/Class/HID/Src/usbd_hid.o + .debug_info 0x000164e8 0xe1f ./Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.o + .debug_info 0x00017307 0xaf8 ./Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.o + .debug_info 0x00017dff 0x76f ./Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.o + .debug_info 0x0001856e 0x609 ./USB_DEVICE/App/usb_device.o + .debug_info 0x00018b77 0x4ba ./USB_DEVICE/App/usbd_desc.o + .debug_info 0x00019031 0x1f49 ./USB_DEVICE/Target/usbd_conf.o -.debug_abbrev 0x00000000 0x4050 +.debug_abbrev 0x00000000 0x4057 .debug_abbrev 0x00000000 0x11b ./Core/Src/dma.o .debug_abbrev 0x0000011b 0x152 ./Core/Src/gpio.o .debug_abbrev 0x0000026d 0x1f1 ./Core/Src/i2c.o - .debug_abbrev 0x0000045e 0x328 ./Core/Src/main.o - .debug_abbrev 0x00000786 0xd8 ./Core/Src/stm32f4xx_hal_msp.o - .debug_abbrev 0x0000085e 0x1f6 ./Core/Src/stm32f4xx_it.o - .debug_abbrev 0x00000a54 0x11a ./Core/Src/system_stm32f4xx.o - .debug_abbrev 0x00000b6e 0x22c ./Core/Src/tim.o - .debug_abbrev 0x00000d9a 0x270 ./Core/Src/usart.o - .debug_abbrev 0x0000100a 0x24 ./Core/Startup/startup_stm32f446retx.o - .debug_abbrev 0x0000102e 0x214 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.o - .debug_abbrev 0x00001242 0x31d ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.o - .debug_abbrev 0x0000155f 0x264 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.o - .debug_abbrev 0x000017c3 0x1d4 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.o - .debug_abbrev 0x00001997 0x2ad ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_i2c.o - .debug_abbrev 0x00001c44 0x2d0 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd.o - .debug_abbrev 0x00001f14 0x1dd ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.o - .debug_abbrev 0x000020f1 0x2b7 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.o - .debug_abbrev 0x000023a8 0x211 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc_ex.o - .debug_abbrev 0x000025b9 0x278 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim.o - .debug_abbrev 0x00002831 0x283 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim_ex.o - .debug_abbrev 0x00002ab4 0x30e ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.o - .debug_abbrev 0x00002dc2 0x2b3 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o - .debug_abbrev 0x00003075 0x2a2 ./Middlewares/ST/STM32_USB_Device_Library/Class/HID/Src/usbd_hid.o - .debug_abbrev 0x00003317 0x27c ./Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.o - .debug_abbrev 0x00003593 0x26f ./Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.o - .debug_abbrev 0x00003802 0x19a ./Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.o - .debug_abbrev 0x0000399c 0x190 ./USB_DEVICE/App/usb_device.o - .debug_abbrev 0x00003b2c 0x1e3 ./USB_DEVICE/App/usbd_desc.o - .debug_abbrev 0x00003d0f 0x341 ./USB_DEVICE/Target/usbd_conf.o + .debug_abbrev 0x0000045e 0x32f ./Core/Src/main.o + .debug_abbrev 0x0000078d 0xd8 ./Core/Src/stm32f4xx_hal_msp.o + .debug_abbrev 0x00000865 0x1f6 ./Core/Src/stm32f4xx_it.o + .debug_abbrev 0x00000a5b 0x11a ./Core/Src/system_stm32f4xx.o + .debug_abbrev 0x00000b75 0x22c ./Core/Src/tim.o + .debug_abbrev 0x00000da1 0x270 ./Core/Src/usart.o + .debug_abbrev 0x00001011 0x24 ./Core/Startup/startup_stm32f446retx.o + .debug_abbrev 0x00001035 0x214 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.o + .debug_abbrev 0x00001249 0x31d ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.o + .debug_abbrev 0x00001566 0x264 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.o + .debug_abbrev 0x000017ca 0x1d4 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.o + .debug_abbrev 0x0000199e 0x2ad ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_i2c.o + .debug_abbrev 0x00001c4b 0x2d0 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd.o + .debug_abbrev 0x00001f1b 0x1dd ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.o + .debug_abbrev 0x000020f8 0x2b7 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.o + .debug_abbrev 0x000023af 0x211 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc_ex.o + .debug_abbrev 0x000025c0 0x278 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim.o + .debug_abbrev 0x00002838 0x283 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim_ex.o + .debug_abbrev 0x00002abb 0x30e ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.o + .debug_abbrev 0x00002dc9 0x2b3 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o + .debug_abbrev 0x0000307c 0x2a2 ./Middlewares/ST/STM32_USB_Device_Library/Class/HID/Src/usbd_hid.o + .debug_abbrev 0x0000331e 0x27c ./Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.o + .debug_abbrev 0x0000359a 0x26f ./Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.o + .debug_abbrev 0x00003809 0x19a ./Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.o + .debug_abbrev 0x000039a3 0x190 ./USB_DEVICE/App/usb_device.o + .debug_abbrev 0x00003b33 0x1e3 ./USB_DEVICE/App/usbd_desc.o + .debug_abbrev 0x00003d16 0x341 ./USB_DEVICE/Target/usbd_conf.o .debug_aranges 0x00000000 0x1780 .debug_aranges @@ -6678,7 +6703,7 @@ LOAD /home/ukim/st/stm32cubeide_1.19.0/plugins/com.st.stm32cube.ide.mcu.external 0x00001668 0x118 ./USB_DEVICE/Target/usbd_conf.o .debug_rnglists - 0x00000000 0x123c + 0x00000000 0x123e .debug_rnglists 0x00000000 0x14 ./Core/Src/dma.o .debug_rnglists @@ -6686,59 +6711,59 @@ LOAD /home/ukim/st/stm32cubeide_1.19.0/plugins/com.st.stm32cube.ide.mcu.external .debug_rnglists 0x00000028 0x20 ./Core/Src/i2c.o .debug_rnglists - 0x00000048 0x46 ./Core/Src/main.o + 0x00000048 0x48 ./Core/Src/main.o .debug_rnglists - 0x0000008e 0x13 ./Core/Src/stm32f4xx_hal_msp.o + 0x00000090 0x13 ./Core/Src/stm32f4xx_hal_msp.o .debug_rnglists - 0x000000a1 0x91 ./Core/Src/stm32f4xx_it.o + 0x000000a3 0x91 ./Core/Src/stm32f4xx_it.o .debug_rnglists - 0x00000132 0x1a ./Core/Src/system_stm32f4xx.o + 0x00000134 0x1a ./Core/Src/system_stm32f4xx.o .debug_rnglists - 0x0000014c 0x3a ./Core/Src/tim.o + 0x0000014e 0x3a ./Core/Src/tim.o .debug_rnglists - 0x00000186 0x33 ./Core/Src/usart.o + 0x00000188 0x33 ./Core/Src/usart.o .debug_rnglists - 0x000001b9 0x19 ./Core/Startup/startup_stm32f446retx.o + 0x000001bb 0x19 ./Core/Startup/startup_stm32f446retx.o .debug_rnglists - 0x000001d2 0xaf ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.o + 0x000001d4 0xaf ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.o .debug_rnglists - 0x00000281 0xe0 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.o + 0x00000283 0xe0 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.o .debug_rnglists - 0x00000361 0x70 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.o + 0x00000363 0x70 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.o .debug_rnglists - 0x000003d1 0x3f ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.o + 0x000003d3 0x3f ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.o .debug_rnglists - 0x00000410 0x23c ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_i2c.o + 0x00000412 0x23c ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_i2c.o .debug_rnglists - 0x0000064c 0xfa ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd.o + 0x0000064e 0xfa ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd.o .debug_rnglists - 0x00000746 0x32 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.o + 0x00000748 0x32 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.o .debug_rnglists - 0x00000778 0x66 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.o + 0x0000077a 0x66 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.o .debug_rnglists - 0x000007de 0x5e ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc_ex.o + 0x000007e0 0x5e ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc_ex.o .debug_rnglists - 0x0000083c 0x31a ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim.o + 0x0000083e 0x31a ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim.o .debug_rnglists - 0x00000b56 0x125 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim_ex.o + 0x00000b58 0x125 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim_ex.o .debug_rnglists - 0x00000c7b 0x1bc ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.o + 0x00000c7d 0x1bc ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.o .debug_rnglists - 0x00000e37 0x147 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o + 0x00000e39 0x147 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o .debug_rnglists - 0x00000f7e 0x4c ./Middlewares/ST/STM32_USB_Device_Library/Class/HID/Src/usbd_hid.o + 0x00000f80 0x4c ./Middlewares/ST/STM32_USB_Device_Library/Class/HID/Src/usbd_hid.o .debug_rnglists - 0x00000fca 0xa1 ./Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.o + 0x00000fcc 0xa1 ./Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.o .debug_rnglists - 0x0000106b 0x6e ./Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.o + 0x0000106d 0x6e ./Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.o .debug_rnglists - 0x000010d9 0x37 ./Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.o + 0x000010db 0x37 ./Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.o .debug_rnglists - 0x00001110 0x13 ./USB_DEVICE/App/usb_device.o + 0x00001112 0x13 ./USB_DEVICE/App/usb_device.o .debug_rnglists - 0x00001123 0x49 ./USB_DEVICE/App/usbd_desc.o + 0x00001125 0x49 ./USB_DEVICE/App/usbd_desc.o .debug_rnglists - 0x0000116c 0xd0 ./USB_DEVICE/Target/usbd_conf.o + 0x0000116e 0xd0 ./USB_DEVICE/Target/usbd_conf.o .debug_macro 0x00000000 0x26060 .debug_macro 0x00000000 0x224 ./Core/Src/dma.o @@ -6850,70 +6875,70 @@ LOAD /home/ukim/st/stm32cubeide_1.19.0/plugins/com.st.stm32cube.ide.mcu.external .debug_macro 0x00025c97 0x1c ./USB_DEVICE/App/usbd_desc.o .debug_macro 0x00025cb3 0x3ad ./USB_DEVICE/Target/usbd_conf.o -.debug_line 0x00000000 0x1e5a9 +.debug_line 0x00000000 0x1e635 .debug_line 0x00000000 0x726 ./Core/Src/dma.o .debug_line 0x00000726 0x74e ./Core/Src/gpio.o .debug_line 0x00000e74 0x789 ./Core/Src/i2c.o - .debug_line 0x000015fd 0xbc0 ./Core/Src/main.o - .debug_line 0x000021bd 0x71b ./Core/Src/stm32f4xx_hal_msp.o - .debug_line 0x000028d8 0x902 ./Core/Src/stm32f4xx_it.o - .debug_line 0x000031da 0x791 ./Core/Src/system_stm32f4xx.o - .debug_line 0x0000396b 0x878 ./Core/Src/tim.o - .debug_line 0x000041e3 0xa52 ./Core/Src/usart.o - .debug_line 0x00004c35 0x7a ./Core/Startup/startup_stm32f446retx.o - .debug_line 0x00004caf 0xa0d ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.o - .debug_line 0x000056bc 0xcdd ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.o - .debug_line 0x00006399 0xf79 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.o - .debug_line 0x00007312 0xb51 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.o - .debug_line 0x00007e63 0x3aba ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_i2c.o - .debug_line 0x0000b91d 0x1488 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd.o - .debug_line 0x0000cda5 0x82d ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.o - .debug_line 0x0000d5d2 0xe28 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.o - .debug_line 0x0000e3fa 0x14d9 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc_ex.o - .debug_line 0x0000f8d3 0x3782 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim.o - .debug_line 0x00013055 0x196d ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim_ex.o - .debug_line 0x000149c2 0x2555 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.o - .debug_line 0x00016f17 0x1d2f ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o - .debug_line 0x00018c46 0xc3e ./Middlewares/ST/STM32_USB_Device_Library/Class/HID/Src/usbd_hid.o - .debug_line 0x00019884 0xf28 ./Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.o - .debug_line 0x0001a7ac 0x1107 ./Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.o - .debug_line 0x0001b8b3 0xa2f ./Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.o - .debug_line 0x0001c2e2 0x9d6 ./USB_DEVICE/App/usb_device.o - .debug_line 0x0001ccb8 0xab9 ./USB_DEVICE/App/usbd_desc.o - .debug_line 0x0001d771 0xe38 ./USB_DEVICE/Target/usbd_conf.o + .debug_line 0x000015fd 0xc4c ./Core/Src/main.o + .debug_line 0x00002249 0x71b ./Core/Src/stm32f4xx_hal_msp.o + .debug_line 0x00002964 0x902 ./Core/Src/stm32f4xx_it.o + .debug_line 0x00003266 0x791 ./Core/Src/system_stm32f4xx.o + .debug_line 0x000039f7 0x878 ./Core/Src/tim.o + .debug_line 0x0000426f 0xa52 ./Core/Src/usart.o + .debug_line 0x00004cc1 0x7a ./Core/Startup/startup_stm32f446retx.o + .debug_line 0x00004d3b 0xa0d ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.o + .debug_line 0x00005748 0xcdd ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.o + .debug_line 0x00006425 0xf79 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.o + .debug_line 0x0000739e 0xb51 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.o + .debug_line 0x00007eef 0x3aba ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_i2c.o + .debug_line 0x0000b9a9 0x1488 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd.o + .debug_line 0x0000ce31 0x82d ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.o + .debug_line 0x0000d65e 0xe28 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.o + .debug_line 0x0000e486 0x14d9 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc_ex.o + .debug_line 0x0000f95f 0x3782 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim.o + .debug_line 0x000130e1 0x196d ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim_ex.o + .debug_line 0x00014a4e 0x2555 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.o + .debug_line 0x00016fa3 0x1d2f ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o + .debug_line 0x00018cd2 0xc3e ./Middlewares/ST/STM32_USB_Device_Library/Class/HID/Src/usbd_hid.o + .debug_line 0x00019910 0xf28 ./Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.o + .debug_line 0x0001a838 0x1107 ./Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.o + .debug_line 0x0001b93f 0xa2f ./Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.o + .debug_line 0x0001c36e 0x9d6 ./USB_DEVICE/App/usb_device.o + .debug_line 0x0001cd44 0xab9 ./USB_DEVICE/App/usbd_desc.o + .debug_line 0x0001d7fd 0xe38 ./USB_DEVICE/Target/usbd_conf.o -.debug_str 0x00000000 0xd7e93 - .debug_str 0x00000000 0xd7e93 ./Core/Src/dma.o +.debug_str 0x00000000 0xd7eb7 + .debug_str 0x00000000 0xd7eb7 ./Core/Src/dma.o 0xcd195 (size before relaxing) - .debug_str 0x000d7e93 0xccd02 ./Core/Src/gpio.o - .debug_str 0x000d7e93 0xcd236 ./Core/Src/i2c.o - .debug_str 0x000d7e93 0xd1eb1 ./Core/Src/main.o - .debug_str 0x000d7e93 0xccc37 ./Core/Src/stm32f4xx_hal_msp.o - .debug_str 0x000d7e93 0xcd5bd ./Core/Src/stm32f4xx_it.o - .debug_str 0x000d7e93 0xcc61f ./Core/Src/system_stm32f4xx.o - .debug_str 0x000d7e93 0xcd497 ./Core/Src/tim.o - .debug_str 0x000d7e93 0xcd809 ./Core/Src/usart.o - .debug_str 0x000d7e93 0x7e ./Core/Startup/startup_stm32f446retx.o - .debug_str 0x000d7e93 0xcd1e4 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.o - .debug_str 0x000d7e93 0xccf3b ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.o - .debug_str 0x000d7e93 0xcca14 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.o - .debug_str 0x000d7e93 0xcc79a ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.o - .debug_str 0x000d7e93 0xcd61d ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_i2c.o - .debug_str 0x000d7e93 0xcd130 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd.o - .debug_str 0x000d7e93 0xcca32 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.o - .debug_str 0x000d7e93 0xcca58 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.o - .debug_str 0x000d7e93 0xcca8b ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc_ex.o - .debug_str 0x000d7e93 0xcd984 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim.o - .debug_str 0x000d7e93 0xcd190 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim_ex.o - .debug_str 0x000d7e93 0xcd00f ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.o - .debug_str 0x000d7e93 0xccfec ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o - .debug_str 0x000d7e93 0xd1753 ./Middlewares/ST/STM32_USB_Device_Library/Class/HID/Src/usbd_hid.o - .debug_str 0x000d7e93 0xd16be ./Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.o - .debug_str 0x000d7e93 0xd14e9 ./Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.o - .debug_str 0x000d7e93 0xd13be ./Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.o - .debug_str 0x000d7e93 0xd1551 ./USB_DEVICE/App/usb_device.o - .debug_str 0x000d7e93 0xd12d2 ./USB_DEVICE/App/usbd_desc.o - .debug_str 0x000d7e93 0xd271d ./USB_DEVICE/Target/usbd_conf.o + .debug_str 0x000d7eb7 0xccd02 ./Core/Src/gpio.o + .debug_str 0x000d7eb7 0xcd236 ./Core/Src/i2c.o + .debug_str 0x000d7eb7 0xd1f03 ./Core/Src/main.o + .debug_str 0x000d7eb7 0xccc37 ./Core/Src/stm32f4xx_hal_msp.o + .debug_str 0x000d7eb7 0xcd5bd ./Core/Src/stm32f4xx_it.o + .debug_str 0x000d7eb7 0xcc61f ./Core/Src/system_stm32f4xx.o + .debug_str 0x000d7eb7 0xcd497 ./Core/Src/tim.o + .debug_str 0x000d7eb7 0xcd809 ./Core/Src/usart.o + .debug_str 0x000d7eb7 0x7e ./Core/Startup/startup_stm32f446retx.o + .debug_str 0x000d7eb7 0xcd1e4 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.o + .debug_str 0x000d7eb7 0xccf3b ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.o + .debug_str 0x000d7eb7 0xcca14 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.o + .debug_str 0x000d7eb7 0xcc79a ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.o + .debug_str 0x000d7eb7 0xcd61d ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_i2c.o + .debug_str 0x000d7eb7 0xcd130 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd.o + .debug_str 0x000d7eb7 0xcca32 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.o + .debug_str 0x000d7eb7 0xcca58 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.o + .debug_str 0x000d7eb7 0xcca8b ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc_ex.o + .debug_str 0x000d7eb7 0xcd984 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim.o + .debug_str 0x000d7eb7 0xcd190 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim_ex.o + .debug_str 0x000d7eb7 0xcd00f ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.o + .debug_str 0x000d7eb7 0xccfec ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o + .debug_str 0x000d7eb7 0xd1755 ./Middlewares/ST/STM32_USB_Device_Library/Class/HID/Src/usbd_hid.o + .debug_str 0x000d7eb7 0xd16be ./Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.o + .debug_str 0x000d7eb7 0xd14e9 ./Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.o + .debug_str 0x000d7eb7 0xd13be ./Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.o + .debug_str 0x000d7eb7 0xd1553 ./USB_DEVICE/App/usb_device.o + .debug_str 0x000d7eb7 0xd12d2 ./USB_DEVICE/App/usbd_desc.o + .debug_str 0x000d7eb7 0xd271f ./USB_DEVICE/Target/usbd_conf.o .comment 0x00000000 0x43 .comment 0x00000000 0x43 ./Core/Src/dma.o @@ -6947,40 +6972,41 @@ LOAD /home/ukim/st/stm32cubeide_1.19.0/plugins/com.st.stm32cube.ide.mcu.external .comment 0x00000043 0x44 ./USB_DEVICE/App/usbd_desc.o .comment 0x00000043 0x44 ./USB_DEVICE/Target/usbd_conf.o -.debug_frame 0x00000000 0x62a4 +.debug_frame 0x00000000 0x62c4 .debug_frame 0x00000000 0x34 ./Core/Src/dma.o .debug_frame 0x00000034 0x34 ./Core/Src/gpio.o .debug_frame 0x00000068 0x74 ./Core/Src/i2c.o - .debug_frame 0x000000dc 0x14c ./Core/Src/main.o - .debug_frame 0x00000228 0x38 ./Core/Src/stm32f4xx_hal_msp.o - .debug_frame 0x00000260 0x270 ./Core/Src/stm32f4xx_it.o - .debug_frame 0x000004d0 0x58 ./Core/Src/system_stm32f4xx.o - .debug_frame 0x00000528 0x114 ./Core/Src/tim.o - .debug_frame 0x0000063c 0xcc ./Core/Src/usart.o - .debug_frame 0x00000708 0x374 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.o - .debug_frame 0x00000a7c 0x508 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.o - .debug_frame 0x00000f84 0x250 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.o - .debug_frame 0x000011d4 0x14c ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.o - .debug_frame 0x00001320 0xc84 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_i2c.o - .debug_frame 0x00001fa4 0x5b8 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd.o - .debug_frame 0x0000255c 0x100 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.o - .debug_frame 0x0000265c 0x1f4 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.o - .debug_frame 0x00002850 0x1e8 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc_ex.o - .debug_frame 0x00002a38 0x11c0 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim.o - .debug_frame 0x00003bf8 0x638 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim_ex.o - .debug_frame 0x00004230 0x954 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.o - .debug_frame 0x00004b84 0x7c0 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o - .debug_frame 0x00005344 0x184 ./Middlewares/ST/STM32_USB_Device_Library/Class/HID/Src/usbd_hid.o - .debug_frame 0x000054c8 0x390 ./Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.o - .debug_frame 0x00005858 0x23c ./Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.o - .debug_frame 0x00005a94 0x10c ./Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.o - .debug_frame 0x00005ba0 0x2c ./USB_DEVICE/App/usb_device.o - .debug_frame 0x00005bcc 0x188 ./USB_DEVICE/App/usbd_desc.o - .debug_frame 0x00005d54 0x4a4 ./USB_DEVICE/Target/usbd_conf.o - .debug_frame 0x000061f8 0x20 /home/ukim/st/stm32cubeide_1.19.0/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.linux64_1.0.0.202410170706/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m+fp/hard/libc_nano.a(libc_a-memset.o) - .debug_frame 0x00006218 0x2c /home/ukim/st/stm32cubeide_1.19.0/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.linux64_1.0.0.202410170706/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m+fp/hard/libc_nano.a(libc_a-init.o) - .debug_frame 0x00006244 0x2c /home/ukim/st/stm32cubeide_1.19.0/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.linux64_1.0.0.202410170706/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/thumb/v7e-m+fp/hard/libgcc.a(_aeabi_uldivmod.o) - .debug_frame 0x00006270 0x34 /home/ukim/st/stm32cubeide_1.19.0/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.linux64_1.0.0.202410170706/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/thumb/v7e-m+fp/hard/libgcc.a(_udivmoddi4.o) + .debug_frame 0x000000dc 0x144 ./Core/Src/main.o + .debug_frame 0x00000220 0x38 ./Core/Src/stm32f4xx_hal_msp.o + .debug_frame 0x00000258 0x270 ./Core/Src/stm32f4xx_it.o + .debug_frame 0x000004c8 0x58 ./Core/Src/system_stm32f4xx.o + .debug_frame 0x00000520 0x114 ./Core/Src/tim.o + .debug_frame 0x00000634 0xcc ./Core/Src/usart.o + .debug_frame 0x00000700 0x374 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.o + .debug_frame 0x00000a74 0x508 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.o + .debug_frame 0x00000f7c 0x250 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.o + .debug_frame 0x000011cc 0x14c ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.o + .debug_frame 0x00001318 0xc84 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_i2c.o + .debug_frame 0x00001f9c 0x5b8 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd.o + .debug_frame 0x00002554 0x100 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.o + .debug_frame 0x00002654 0x1f4 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.o + .debug_frame 0x00002848 0x1e8 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc_ex.o + .debug_frame 0x00002a30 0x11c0 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim.o + .debug_frame 0x00003bf0 0x638 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim_ex.o + .debug_frame 0x00004228 0x954 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.o + .debug_frame 0x00004b7c 0x7c0 ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.o + .debug_frame 0x0000533c 0x184 ./Middlewares/ST/STM32_USB_Device_Library/Class/HID/Src/usbd_hid.o + .debug_frame 0x000054c0 0x390 ./Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.o + .debug_frame 0x00005850 0x23c ./Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.o + .debug_frame 0x00005a8c 0x10c ./Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.o + .debug_frame 0x00005b98 0x2c ./USB_DEVICE/App/usb_device.o + .debug_frame 0x00005bc4 0x188 ./USB_DEVICE/App/usbd_desc.o + .debug_frame 0x00005d4c 0x4a4 ./USB_DEVICE/Target/usbd_conf.o + .debug_frame 0x000061f0 0x20 /home/ukim/st/stm32cubeide_1.19.0/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.linux64_1.0.0.202410170706/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m+fp/hard/libc_nano.a(libc_a-memset.o) + .debug_frame 0x00006210 0x2c /home/ukim/st/stm32cubeide_1.19.0/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.linux64_1.0.0.202410170706/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m+fp/hard/libc_nano.a(libc_a-init.o) + .debug_frame 0x0000623c 0x28 /home/ukim/st/stm32cubeide_1.19.0/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.linux64_1.0.0.202410170706/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m+fp/hard/libc_nano.a(libc_a-memcpy-stub.o) + .debug_frame 0x00006264 0x2c /home/ukim/st/stm32cubeide_1.19.0/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.linux64_1.0.0.202410170706/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/thumb/v7e-m+fp/hard/libgcc.a(_aeabi_uldivmod.o) + .debug_frame 0x00006290 0x34 /home/ukim/st/stm32cubeide_1.19.0/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.linux64_1.0.0.202410170706/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/thumb/v7e-m+fp/hard/libgcc.a(_udivmoddi4.o) .debug_line_str 0x00000000 0x62 diff --git a/hardware/68percent/68percent-backups/68percent-2025-09-24_133630.zip b/hardware/68percent/68percent-backups/68percent-2025-09-24_133630.zip new file mode 100644 index 00000000..5ae9bf5d Binary files /dev/null and b/hardware/68percent/68percent-backups/68percent-2025-09-24_133630.zip differ diff --git a/hardware/68percent/68percent.kicad_sch b/hardware/68percent/68percent.kicad_sch new file mode 100644 index 00000000..efc9c0d8 --- /dev/null +++ b/hardware/68percent/68percent.kicad_sch @@ -0,0 +1,11952 @@ +(kicad_sch + (version 20250114) + (generator "eeschema") + (generator_version "9.0") + (uuid "a3d0d559-cac8-4859-ad0f-79ad0c1a1a82") + (paper "A4") + (lib_symbols + (symbol "PCM_4ms_Connector:Conn_01x04" + (pin_names + (offset 1.016) + (hide yes) + ) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (property "Reference" "J" + (at 0 5.08 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Value" "Conn_01x04" + (at 0 -7.62 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "4ms_Connector:Pins_1x04_2.54mm_TH_SWD" + (at 0 6.985 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "" + (at 0 0 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "HEADER 1x4 MALE PINS 0.100” 180deg" + (at 0 0 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Specifications" "HEADER 1x4 MALE PINS 0.100” 180deg" + (at -3.175 -14.605 0) + (effects + (font + (size 1.27 1.27) + ) + (justify left) + (hide yes) + ) + ) + (property "Manufacturer" "TAD" + (at -2.54 -9.398 0) + (effects + (font + (size 1.27 1.27) + ) + (justify left) + (hide yes) + ) + ) + (property "Part Number" "1-0401FBV0T" + (at -2.54 -10.922 0) + (effects + (font + (size 1.27 1.27) + ) + (justify left) + (hide yes) + ) + ) + (property "ki_keywords" "Conn_01x04" + (at 0 0 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "ki_fp_filters" "Connector*:*_??x*mm* Connector*:*1x??x*mm* Pin?Header?Straight?1X* Pin?Header?Angled?1X* Socket?Strip?Straight?1X* Socket?Strip?Angled?1X*" + (at 0 0 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (symbol "Conn_01x04_1_1" + (rectangle + (start -1.27 3.81) + (end 1.27 -6.35) + (stroke + (width 0.254) + (type default) + ) + (fill + (type background) + ) + ) + (rectangle + (start -1.27 2.667) + (end 0 2.413) + (stroke + (width 0.1524) + (type default) + ) + (fill + (type none) + ) + ) + (rectangle + (start -1.27 0.127) + (end 0 -0.127) + (stroke + (width 0.1524) + (type default) + ) + (fill + (type none) + ) + ) + (rectangle + (start -1.27 -2.413) + (end 0 -2.667) + (stroke + (width 0.1524) + (type default) + ) + (fill + (type none) + ) + ) + (rectangle + (start -1.27 -4.953) + (end 0 -5.207) + (stroke + (width 0.1524) + (type default) + ) + (fill + (type none) + ) + ) + (pin passive line + (at -5.08 2.54 0) + (length 3.81) + (name "Pin_1" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "1" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + (pin passive line + (at -5.08 0 0) + (length 3.81) + (name "Pin_2" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "2" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + (pin passive line + (at -5.08 -2.54 0) + (length 3.81) + (name "Pin_3" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "3" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + (pin passive line + (at -5.08 -5.08 0) + (length 3.81) + (name "Pin_4" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "4" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + ) + (embedded_fonts no) + ) + (symbol "PCM_4ms_Connector:Conn_01x06" + (pin_names + (offset 1.016) + (hide yes) + ) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (property "Reference" "J" + (at 0 7.62 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Value" "Conn_01x06" + (at 0 -10.16 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "4ms_Connector:Pins_1x06_2.54mm_TH_SWD" + (at 0 -17.78 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "" + (at 0 -1.27 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "HEADER 1x6 MALE PINS 0.100” 180deg" + (at 0 0 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Specifications" "HEADER 1x6 MALE PINS 0.100” 180deg" + (at -1.905 -15.875 0) + (effects + (font + (size 1.27 1.27) + ) + (justify left) + (hide yes) + ) + ) + (property "Manufacturer" "TAD" + (at -2.54 -12.7 0) + (effects + (font + (size 1.27 1.27) + ) + (justify left) + (hide yes) + ) + ) + (property "Part Number" "1-0601FBV0T" + (at -1.905 -14.605 0) + (effects + (font + (size 1.27 1.27) + ) + (justify left) + (hide yes) + ) + ) + (property "ki_keywords" "Conn_01x06" + (at 0 0 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "ki_fp_filters" "Connector*:*_??x*mm* Connector*:*1x??x*mm* Pin?Header?Straight?1X* Pin?Header?Angled?1X* Socket?Strip?Straight?1X* Socket?Strip?Angled?1X*" + (at 0 0 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (symbol "Conn_01x06_1_1" + (rectangle + (start -1.27 6.35) + (end 1.27 -8.89) + (stroke + (width 0.254) + (type default) + ) + (fill + (type background) + ) + ) + (rectangle + (start -1.27 5.207) + (end 0 4.953) + (stroke + (width 0.1524) + (type default) + ) + (fill + (type none) + ) + ) + (rectangle + (start -1.27 2.667) + (end 0 2.413) + (stroke + (width 0.1524) + (type default) + ) + (fill + (type none) + ) + ) + (rectangle + (start -1.27 0.127) + (end 0 -0.127) + (stroke + (width 0.1524) + (type default) + ) + (fill + (type none) + ) + ) + (rectangle + (start -1.27 -2.413) + (end 0 -2.667) + (stroke + (width 0.1524) + (type default) + ) + (fill + (type none) + ) + ) + (rectangle + (start -1.27 -4.953) + (end 0 -5.207) + (stroke + (width 0.1524) + (type default) + ) + (fill + (type none) + ) + ) + (rectangle + (start -1.27 -7.493) + (end 0 -7.747) + (stroke + (width 0.1524) + (type default) + ) + (fill + (type none) + ) + ) + (pin passive line + (at -5.08 5.08 0) + (length 3.81) + (name "Pin_1" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "1" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + (pin passive line + (at -5.08 2.54 0) + (length 3.81) + (name "Pin_2" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "2" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + (pin passive line + (at -5.08 0 0) + (length 3.81) + (name "Pin_3" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "3" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + (pin passive line + (at -5.08 -2.54 0) + (length 3.81) + (name "Pin_4" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "4" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + (pin passive line + (at -5.08 -5.08 0) + (length 3.81) + (name "Pin_5" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "5" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + (pin passive line + (at -5.08 -7.62 0) + (length 3.81) + (name "Pin_6" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "6" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + ) + (embedded_fonts no) + ) + (symbol "PCM_4ms_Diode:D_Generic" + (pin_numbers + (hide yes) + ) + (pin_names + (offset 1.016) + (hide yes) + ) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (property "Reference" "D" + (at 0 2.54 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Value" "D_Generic" + (at 0 -2.54 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "" + (at 0 0 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "" + (at 0 0 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "Diode" + (at 0 0 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "ki_keywords" "diode" + (at 0 0 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "ki_fp_filters" "TO-???* *SingleDiode *_Diode_* *SingleDiode* D_*" + (at 0 0 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (symbol "D_Generic_0_1" + (polyline + (pts + (xy -1.27 1.27) (xy -1.27 -1.27) + ) + (stroke + (width 0.2032) + (type default) + ) + (fill + (type none) + ) + ) + (polyline + (pts + (xy 1.27 1.27) (xy 1.27 -1.27) (xy -1.27 0) (xy 1.27 1.27) + ) + (stroke + (width 0.2032) + (type default) + ) + (fill + (type none) + ) + ) + ) + (symbol "D_Generic_1_1" + (pin passive line + (at -3.81 0 0) + (length 2.54) + (name "K" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "1" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + (pin passive line + (at 3.81 0 180) + (length 2.54) + (name "A" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "2" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + ) + (embedded_fonts no) + ) + (symbol "PCM_4ms_Power-symbol:+3.3V" + (power) + (pin_names + (offset 0) + ) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (property "Reference" "#PWR" + (at 0 -3.81 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Value" "+3.3V" + (at 0 3.556 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "" + (at 0 0 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "" + (at 0 0 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "" + (at 0 0 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (symbol "+3.3V_0_1" + (polyline + (pts + (xy -0.762 1.27) (xy 0 2.54) + ) + (stroke + (width 0) + (type default) + ) + (fill + (type none) + ) + ) + (polyline + (pts + (xy 0 2.54) (xy 0.762 1.27) + ) + (stroke + (width 0) + (type default) + ) + (fill + (type none) + ) + ) + (polyline + (pts + (xy 0 0) (xy 0 2.54) + ) + (stroke + (width 0) + (type default) + ) + (fill + (type none) + ) + ) + ) + (symbol "+3.3V_1_1" + (pin power_in line + (at 0 0 90) + (length 0) + (hide yes) + (name "+3V3" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "1" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + ) + (embedded_fonts no) + ) + (symbol "PCM_4ms_Power-symbol:+5V" + (power) + (pin_names + (offset 0) + ) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (property "Reference" "#PWR" + (at 0 -3.81 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Value" "+5V" + (at 0 3.556 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "" + (at 0 0 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "" + (at 0 0 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "" + (at 0 0 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (symbol "+5V_0_1" + (polyline + (pts + (xy -0.762 1.27) (xy 0 2.54) + ) + (stroke + (width 0) + (type default) + ) + (fill + (type none) + ) + ) + (polyline + (pts + (xy 0 2.54) (xy 0.762 1.27) + ) + (stroke + (width 0) + (type default) + ) + (fill + (type none) + ) + ) + (polyline + (pts + (xy 0 0) (xy 0 2.54) + ) + (stroke + (width 0) + (type default) + ) + (fill + (type none) + ) + ) + ) + (symbol "+5V_1_1" + (pin power_in line + (at 0 0 90) + (length 0) + (hide yes) + (name "+5V" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "1" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + ) + (embedded_fonts no) + ) + (symbol "PCM_4ms_Power-symbol:GND" + (power) + (pin_names + (offset 0) + ) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (property "Reference" "#PWR" + (at 0 -6.35 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Value" "GND" + (at 0 -3.81 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "" + (at 0 0 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "" + (at 0 0 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "" + (at 0 0 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (symbol "GND_0_1" + (polyline + (pts + (xy 0 0) (xy 0 -1.27) (xy 1.27 -1.27) (xy 0 -2.54) (xy -1.27 -1.27) (xy 0 -1.27) + ) + (stroke + (width 0) + (type default) + ) + (fill + (type none) + ) + ) + ) + (symbol "GND_1_1" + (pin power_in line + (at 0 0 270) + (length 0) + (hide yes) + (name "GND" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "1" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + ) + (embedded_fonts no) + ) + (symbol "PCM_4ms_Power-symbol:GNDA" + (power) + (pin_numbers + (hide yes) + ) + (pin_names + (offset 0) + (hide yes) + ) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (property "Reference" "#PWR" + (at 0 -6.35 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Value" "GNDA" + (at 0 -3.81 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "" + (at 0 0 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "" + (at 0 0 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "(analog) ground power-flag symbol" + (at 0 0 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "ki_keywords" "Power Flag Symbol" + (at 0 0 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (symbol "GNDA_0_1" + (polyline + (pts + (xy 0 0) (xy 0 -1.27) (xy 1.27 -1.27) (xy 0 -2.54) (xy -1.27 -1.27) (xy 0 -1.27) + ) + (stroke + (width 0) + (type default) + ) + (fill + (type none) + ) + ) + ) + (symbol "GNDA_1_1" + (pin power_in line + (at 0 0 270) + (length 0) + (hide yes) + (name "GNDA" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "1" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + ) + (embedded_fonts no) + ) + (symbol "PCM_4ms_Regulator:LD1117-3.3V-SOT223" + (pin_names + (offset 1.016) + (hide yes) + ) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (property "Reference" "IC" + (at 2.54 -6.35 0) + (effects + (font + (size 1.143 1.143) + ) + (justify left bottom) + ) + ) + (property "Value" "LD1117-3.3V-SOT223" + (at -4.445 4.445 0) + (effects + (font + (size 1.143 1.143) + ) + (justify left bottom) + ) + ) + (property "Footprint" "4ms_Package_SOT:SOT223" + (at 0 6.985 0) + (effects + (font + (size 0.508 0.508) + ) + (hide yes) + ) + ) + (property "Datasheet" "https://www.mouser.com/datasheet/2/389/cd00000544-1795431.pdf" + (at 0 1.27 0) + (effects + (font + (size 1.524 1.524) + ) + (hide yes) + ) + ) + (property "Description" "3.3V Voltage Regulator, SOT-223-3, Imax=0.8A, VinMax=15V, Vdrop=1V" + (at 0 0 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Manufacturer" "STMicroelectronics" + (at 0 -9.525 0) + (effects + (font + (size 1.27 1.27) + ) + (justify left) + (hide yes) + ) + ) + (property "Part Number" "LD1117S33CTR" + (at 0 -11.43 0) + (effects + (font + (size 1.27 1.27) + ) + (justify left) + (hide yes) + ) + ) + (property "ki_fp_filters" "*TO-252-2* *TO?252?2*" + (at 0 0 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (symbol "LD1117-3.3V-SOT223_1_0" + (rectangle + (start -5.08 3.81) + (end 5.08 -3.81) + (stroke + (width 0) + (type default) + ) + (fill + (type background) + ) + ) + (text "IN" + (at -3.2766 1.2446 0) + (effects + (font + (size 1.2192 1.2192) + ) + ) + ) + (text "ADJ" + (at -0.2794 -2.4384 0) + (effects + (font + (size 1.2192 1.2192) + ) + ) + ) + (text "OUT" + (at 1.8796 1.2446 0) + (effects + (font + (size 1.2192 1.2192) + ) + ) + ) + ) + (symbol "LD1117-3.3V-SOT223_1_1" + (pin input line + (at -10.16 1.27 0) + (length 5.08) + (name "IN" + (effects + (font + (size 1.016 1.016) + ) + ) + ) + (number "3" + (effects + (font + (size 1.016 1.016) + ) + ) + ) + ) + (pin input line + (at 0 -6.35 90) + (length 2.54) + (name "ADJ" + (effects + (font + (size 1.016 1.016) + ) + ) + ) + (number "1" + (effects + (font + (size 1.016 1.016) + ) + ) + ) + ) + (pin passive line + (at 10.16 1.27 180) + (length 5.08) + (name "OUT" + (effects + (font + (size 1.016 1.016) + ) + ) + ) + (number "2" + (effects + (font + (size 1.016 1.016) + ) + ) + ) + ) + ) + (embedded_fonts no) + ) + (symbol "PCM_Capacitor_AKL:C_0805" + (pin_numbers + (hide yes) + ) + (pin_names + (offset 0.254) + ) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (property "Reference" "C" + (at 0.635 2.54 0) + (effects + (font + (size 1.27 1.27) + ) + (justify left) + ) + ) + (property "Value" "C_0805" + (at 0.635 -2.54 0) + (effects + (font + (size 1.27 1.27) + ) + (justify left) + ) + ) + (property "Footprint" "PCM_Capacitor_SMD_AKL:C_0805_2012Metric" + (at 0.9652 -3.81 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "~" + (at 0 0 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "SMD 0805 MLCC capacitor, Alternate KiCad Library" + (at 0 0 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "ki_keywords" "cap capacitor ceramic chip mlcc smd 0805" + (at 0 0 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "ki_fp_filters" "C_*" + (at 0 0 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (symbol "C_0805_0_1" + (polyline + (pts + (xy -2.032 0.762) (xy 2.032 0.762) + ) + (stroke + (width 0.508) + (type default) + ) + (fill + (type none) + ) + ) + (polyline + (pts + (xy -2.032 -0.762) (xy 2.032 -0.762) + ) + (stroke + (width 0.508) + (type default) + ) + (fill + (type none) + ) + ) + ) + (symbol "C_0805_0_2" + (polyline + (pts + (xy -2.54 -2.54) (xy -0.381 -0.381) + ) + (stroke + (width 0) + (type default) + ) + (fill + (type none) + ) + ) + (polyline + (pts + (xy -0.508 -0.508) (xy -1.651 0.635) + ) + (stroke + (width 0.508) + (type default) + ) + (fill + (type none) + ) + ) + (polyline + (pts + (xy -0.508 -0.508) (xy 0.635 -1.651) + ) + (stroke + (width 0.508) + (type default) + ) + (fill + (type none) + ) + ) + (polyline + (pts + (xy 0.381 0.381) (xy 2.54 2.54) + ) + (stroke + (width 0) + (type default) + ) + (fill + (type none) + ) + ) + (polyline + (pts + (xy 0.508 0.508) (xy -0.635 1.651) + ) + (stroke + (width 0.508) + (type default) + ) + (fill + (type none) + ) + ) + (polyline + (pts + (xy 0.508 0.508) (xy 1.651 -0.635) + ) + (stroke + (width 0.508) + (type default) + ) + (fill + (type none) + ) + ) + ) + (symbol "C_0805_1_1" + (pin passive line + (at 0 3.81 270) + (length 2.794) + (name "~" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "1" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + (pin passive line + (at 0 -3.81 90) + (length 2.794) + (name "~" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "2" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + ) + (symbol "C_0805_1_2" + (pin passive line + (at -2.54 -2.54 90) + (length 0) + (name "~" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "2" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + (pin passive line + (at 2.54 2.54 270) + (length 0) + (name "~" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "1" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + ) + (embedded_fonts no) + ) + (symbol "PCM_Device_AKL:Ferrite_Bead" + (pin_numbers + (hide yes) + ) + (pin_names + (offset 0) + ) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (property "Reference" "FB" + (at 0 4.572 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Value" "Ferrite_Bead" + (at 0 3.175 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "" + (at 0 3.302 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "~" + (at 0 0 90) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "Ferrite bead, Alternate KiCAD Library" + (at 0 0 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "ki_keywords" "ferrite bead emc" + (at 0 0 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "ki_fp_filters" "*Fuse*" + (at 0 0 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (symbol "Ferrite_Bead_0_1" + (rectangle + (start -2.54 1.016) + (end 2.54 0.508) + (stroke + (width 0) + (type default) + ) + (fill + (type outline) + ) + ) + (polyline + (pts + (xy 2.54 0) (xy -2.54 0) + ) + (stroke + (width 0) + (type default) + ) + (fill + (type none) + ) + ) + ) + (symbol "Ferrite_Bead_1_1" + (rectangle + (start -2.54 -0.508) + (end 2.54 -1.016) + (stroke + (width 0) + (type default) + ) + (fill + (type outline) + ) + ) + (pin passive line + (at -3.81 0 0) + (length 1.27) + (name "~" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "1" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + (pin passive line + (at 3.81 0 180) + (length 1.27) + (name "~" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "2" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + ) + (embedded_fonts no) + ) + (symbol "PCM_Diode_TVS_AKL:PRTR5V0U2X" + (pin_names + (offset 1.016) + (hide yes) + ) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (property "Reference" "D" + (at 7.62 8.89 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Value" "PRTR5V0U2X" + (at 7.62 6.35 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "PCM_Package_TO_SOT_SMD_AKL:SOT-143" + (at 0 0 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "https://www.tme.eu/Document/4eac14af69261014af6cc93b35742953/PRTR5V0U2X-DTE.pdf" + (at 0 0 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "SOT-143 TVS Diode Array, 2 protected lines, 5.5V, Alternate KiCAD Library" + (at 0 0 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "ki_keywords" "diode TVS array PRTR5V0U2X" + (at 0 0 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "ki_fp_filters" "TO-???* *_Diode_* *SingleDiode* D_*" + (at 0 0 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (symbol "PRTR5V0U2X_0_1" + (rectangle + (start -6.35 5.08) + (end 6.35 -5.08) + (stroke + (width 0.254) + (type default) + ) + (fill + (type background) + ) + ) + (polyline + (pts + (xy -3.81 2.54) (xy -3.81 3.81) (xy 3.81 3.81) (xy 3.81 2.54) + ) + (stroke + (width 0) + (type default) + ) + (fill + (type none) + ) + ) + (polyline + (pts + (xy -3.81 2.54) (xy -3.175 1.27) (xy -4.445 1.27) (xy -3.81 2.54) + ) + (stroke + (width 0.254) + (type default) + ) + (fill + (type outline) + ) + ) + (circle + (center -3.81 0) + (radius 0.1778) + (stroke + (width 0) + (type default) + ) + (fill + (type outline) + ) + ) + (polyline + (pts + (xy -3.81 0) (xy -6.35 0) + ) + (stroke + (width 0) + (type default) + ) + (fill + (type none) + ) + ) + (polyline + (pts + (xy -3.81 -1.27) (xy -3.81 1.27) + ) + (stroke + (width 0) + (type default) + ) + (fill + (type none) + ) + ) + (polyline + (pts + (xy -3.81 -1.27) (xy -3.175 -2.54) (xy -4.445 -2.54) (xy -3.81 -1.27) + ) + (stroke + (width 0.254) + (type default) + ) + (fill + (type outline) + ) + ) + (polyline + (pts + (xy -3.81 -2.54) (xy -3.81 -3.81) (xy 3.81 -3.81) (xy 3.81 -2.54) + ) + (stroke + (width 0) + (type default) + ) + (fill + (type none) + ) + ) + (polyline + (pts + (xy -3.175 2.54) (xy -4.445 2.54) + ) + (stroke + (width 0.254) + (type default) + ) + (fill + (type none) + ) + ) + (polyline + (pts + (xy -3.175 -1.27) (xy -4.445 -1.27) + ) + (stroke + (width 0.254) + (type default) + ) + (fill + (type none) + ) + ) + (circle + (center 0 3.81) + (radius 0.1778) + (stroke + (width 0) + (type default) + ) + (fill + (type outline) + ) + ) + (polyline + (pts + (xy 0 1.27) (xy 0 5.08) + ) + (stroke + (width 0) + (type default) + ) + (fill + (type none) + ) + ) + (polyline + (pts + (xy 0 -1.27) (xy 0 -5.08) + ) + (stroke + (width 0) + (type default) + ) + (fill + (type none) + ) + ) + (polyline + (pts + (xy 3.81 2.54) (xy 4.445 1.27) (xy 3.175 1.27) (xy 3.81 2.54) + ) + (stroke + (width 0.254) + (type default) + ) + (fill + (type outline) + ) + ) + (polyline + (pts + (xy 3.81 0) (xy 6.35 0) + ) + (stroke + (width 0) + (type default) + ) + (fill + (type none) + ) + ) + (circle + (center 3.81 0) + (radius 0.1778) + (stroke + (width 0) + (type default) + ) + (fill + (type outline) + ) + ) + (polyline + (pts + (xy 3.81 -1.27) (xy 3.81 1.27) + ) + (stroke + (width 0) + (type default) + ) + (fill + (type none) + ) + ) + (polyline + (pts + (xy 3.81 -1.27) (xy 4.445 -2.54) (xy 3.175 -2.54) (xy 3.81 -1.27) + ) + (stroke + (width 0.254) + (type default) + ) + (fill + (type outline) + ) + ) + (polyline + (pts + (xy 4.445 2.54) (xy 3.175 2.54) + ) + (stroke + (width 0.254) + (type default) + ) + (fill + (type none) + ) + ) + (polyline + (pts + (xy 4.445 -1.27) (xy 3.175 -1.27) + ) + (stroke + (width 0.254) + (type default) + ) + (fill + (type none) + ) + ) + ) + (symbol "PRTR5V0U2X_1_1" + (polyline + (pts + (xy -3.81 1.27) (xy -3.81 3.81) + ) + (stroke + (width 0) + (type default) + ) + (fill + (type none) + ) + ) + (polyline + (pts + (xy -1.27 1.27) (xy 1.27 1.27) + ) + (stroke + (width 0.254) + (type default) + ) + (fill + (type none) + ) + ) + (polyline + (pts + (xy 0 -1.27) (xy 0 1.27) + ) + (stroke + (width 0) + (type default) + ) + (fill + (type none) + ) + ) + (circle + (center 0 -3.81) + (radius 0.1778) + (stroke + (width 0) + (type default) + ) + (fill + (type outline) + ) + ) + (polyline + (pts + (xy 1.27 1.27) (xy 1.27 0.762) + ) + (stroke + (width 0.254) + (type default) + ) + (fill + (type none) + ) + ) + (polyline + (pts + (xy 1.27 -1.27) (xy -1.27 -1.27) (xy 0 1.27) (xy 1.27 -1.27) + ) + (stroke + (width 0.254) + (type default) + ) + (fill + (type outline) + ) + ) + (pin passive line + (at -8.89 0 0) + (length 2.54) + (name "L1" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "2" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + (pin passive line + (at 0 7.62 270) + (length 2.54) + (name "VP" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "4" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + (pin passive line + (at 0 -7.62 90) + (length 2.54) + (name "VN" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "1" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + (pin passive line + (at 8.89 0 180) + (length 2.54) + (name "L2" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "3" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + ) + (embedded_fonts no) + ) + (symbol "PCM_Resistor_AKL:R_0805" + (pin_numbers + (hide yes) + ) + (pin_names + (offset 0) + ) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (property "Reference" "R" + (at 2.54 1.27 0) + (effects + (font + (size 1.27 1.27) + ) + (justify left) + ) + ) + (property "Value" "R_0805" + (at 2.54 -1.27 0) + (effects + (font + (size 1.27 1.27) + ) + (justify left) + ) + ) + (property "Footprint" "PCM_Resistor_SMD_AKL:R_0805_2012Metric" + (at 0 -11.43 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "~" + (at 0 0 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "SMD 0805 Chip Resistor, European Symbol, Alternate KiCad Library" + (at 0 0 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "ki_keywords" "R res resistor eu smd 0805" + (at 0 0 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "ki_fp_filters" "R_*" + (at 0 0 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (symbol "R_0805_0_1" + (rectangle + (start -1.016 2.54) + (end 1.016 -2.54) + (stroke + (width 0.254) + (type default) + ) + (fill + (type none) + ) + ) + ) + (symbol "R_0805_0_2" + (polyline + (pts + (xy -2.54 -2.54) (xy -1.524 -1.524) + ) + (stroke + (width 0) + (type default) + ) + (fill + (type none) + ) + ) + (polyline + (pts + (xy 1.524 1.524) (xy 2.54 2.54) + ) + (stroke + (width 0) + (type default) + ) + (fill + (type none) + ) + ) + (polyline + (pts + (xy 1.524 1.524) (xy 0.889 2.159) (xy -2.159 -0.889) (xy -0.889 -2.159) (xy 2.159 0.889) (xy 1.524 1.524) + ) + (stroke + (width 0.254) + (type default) + ) + (fill + (type none) + ) + ) + ) + (symbol "R_0805_1_1" + (pin passive line + (at 0 3.81 270) + (length 1.27) + (name "~" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "1" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + (pin passive line + (at 0 -3.81 90) + (length 1.27) + (name "~" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "2" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + ) + (symbol "R_0805_1_2" + (pin passive line + (at -2.54 -2.54 0) + (length 0) + (name "" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "2" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + (pin passive line + (at 2.54 2.54 180) + (length 0) + (name "" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "1" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + ) + (embedded_fonts no) + ) + (symbol "PCM_SL_Devices:Crystal_8MHz" + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (property "Reference" "Y" + (at 0 7.62 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Value" "Crystal_8MHz" + (at 0 5.08 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "Crystal:Crystal_HC49-4H_Vertical" + (at 0 -3.81 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "" + (at 0 1.27 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "8Mz Crystal" + (at 0 0 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "ki_keywords" "8Mz Crystal" + (at 0 0 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (symbol "Crystal_8MHz_0_1" + (polyline + (pts + (xy -2.54 1.27) (xy -2.54 -1.27) + ) + (stroke + (width 1) + (type default) + ) + (fill + (type none) + ) + ) + (rectangle + (start -1.27 2.54) + (end 1.27 -2.54) + (stroke + (width 0.5) + (type default) + ) + (fill + (type none) + ) + ) + (polyline + (pts + (xy 2.54 1.27) (xy 2.54 -1.27) + ) + (stroke + (width 1) + (type default) + ) + (fill + (type none) + ) + ) + ) + (symbol "Crystal_8MHz_1_1" + (pin passive line + (at -5.08 0 0) + (length 2.54) + (name "" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "1" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + (pin passive line + (at 5.08 0 180) + (length 2.54) + (name "" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "2" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + ) + (embedded_fonts no) + ) + (symbol "PCM_SL_Devices:Push_Button" + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (property "Reference" "SW" + (at 0 6.35 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Value" "Push_Button" + (at 0 4.445 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "Button_Switch_THT:SW_PUSH_6mm" + (at -0.127 -3.175 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "" + (at 0 0 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "Common 6mmx6mm Push Button" + (at 0 0 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "ki_keywords" "Switch" + (at 0 0 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (symbol "Push_Button_0_1" + (polyline + (pts + (xy -3.175 0) (xy -1.778 0) + ) + (stroke + (width 0) + (type default) + ) + (fill + (type none) + ) + ) + (polyline + (pts + (xy -1.905 1.27) (xy 1.905 1.27) + ) + (stroke + (width 0) + (type default) + ) + (fill + (type none) + ) + ) + (circle + (center -1.27 0) + (radius 0.4579) + (stroke + (width 0) + (type default) + ) + (fill + (type outline) + ) + ) + (polyline + (pts + (xy 0 1.27) (xy 0 3.175) + ) + (stroke + (width 0) + (type default) + ) + (fill + (type none) + ) + ) + (circle + (center 1.27 0) + (radius 0.4579) + (stroke + (width 0) + (type default) + ) + (fill + (type outline) + ) + ) + (polyline + (pts + (xy 1.778 0) (xy 3.175 0) + ) + (stroke + (width 0) + (type default) + ) + (fill + (type none) + ) + ) + ) + (symbol "Push_Button_1_1" + (pin passive line + (at -5.08 0 0) + (length 2) + (name "" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "1" + (effects + (font + (size 1 1) + ) + ) + ) + ) + (pin passive line + (at 5.08 0 180) + (length 2) + (name "" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "2" + (effects + (font + (size 1 1) + ) + ) + ) + ) + ) + (embedded_fonts no) + ) + (symbol "Type-C:HRO-TYPE-C-31-M-12" + (pin_names + (offset 1.016) + ) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (property "Reference" "USB" + (at -5.08 16.51 0) + (effects + (font + (size 1.524 1.524) + ) + ) + ) + (property "Value" "HRO-TYPE-C-31-M-12" + (at -10.16 -1.27 90) + (effects + (font + (size 1.524 1.524) + ) + ) + ) + (property "Footprint" "" + (at 0 0 0) + (effects + (font + (size 1.524 1.524) + ) + (hide yes) + ) + ) + (property "Datasheet" "" + (at 0 0 0) + (effects + (font + (size 1.524 1.524) + ) + (hide yes) + ) + ) + (property "Description" "" + (at 0 0 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (symbol "HRO-TYPE-C-31-M-12_0_1" + (rectangle + (start -11.43 15.24) + (end -8.89 -17.78) + (stroke + (width 0) + (type solid) + ) + (fill + (type background) + ) + ) + (rectangle + (start 0 -17.78) + (end -8.89 15.24) + (stroke + (width 0) + (type solid) + ) + (fill + (type background) + ) + ) + ) + (symbol "HRO-TYPE-C-31-M-12_1_1" + (pin input line + (at 2.54 13.97 180) + (length 2.54) + (name "GND" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "1" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + (pin input line + (at 2.54 11.43 180) + (length 2.54) + (name "VBUS" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "2" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + (pin input line + (at 2.54 8.89 180) + (length 2.54) + (name "SBU2" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "3" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + (pin input line + (at 2.54 6.35 180) + (length 2.54) + (name "CC1" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "4" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + (pin input line + (at 2.54 3.81 180) + (length 2.54) + (name "DN2" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "5" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + (pin input line + (at 2.54 1.27 180) + (length 2.54) + (name "DP1" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "6" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + (pin input line + (at 2.54 -1.27 180) + (length 2.54) + (name "DN1" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "7" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + (pin input line + (at 2.54 -3.81 180) + (length 2.54) + (name "DP2" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "8" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + (pin input line + (at 2.54 -6.35 180) + (length 2.54) + (name "SBU1" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "9" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + (pin input line + (at 2.54 -8.89 180) + (length 2.54) + (name "CC2" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "10" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + (pin input line + (at 2.54 -11.43 180) + (length 2.54) + (name "VBUS" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "11" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + (pin input line + (at 2.54 -13.97 180) + (length 2.54) + (name "GND" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "12" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + (pin input line + (at 2.54 -16.51 180) + (length 2.54) + (name "SHIELD" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "13" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + ) + (embedded_fonts no) + ) + (symbol "power:GND" + (power) + (pin_numbers + (hide yes) + ) + (pin_names + (offset 0) + (hide yes) + ) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (property "Reference" "#PWR" + (at 0 -6.35 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Value" "GND" + (at 0 -3.81 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "" + (at 0 0 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "" + (at 0 0 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "Power symbol creates a global label with name \"GND\" , ground" + (at 0 0 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "ki_keywords" "global power" + (at 0 0 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (symbol "GND_0_1" + (polyline + (pts + (xy 0 0) (xy 0 -1.27) (xy 1.27 -1.27) (xy 0 -2.54) (xy -1.27 -1.27) (xy 0 -1.27) + ) + (stroke + (width 0) + (type default) + ) + (fill + (type none) + ) + ) + ) + (symbol "GND_1_1" + (pin power_in line + (at 0 0 270) + (length 0) + (name "~" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "1" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + ) + (embedded_fonts no) + ) + (symbol "stm32f446ret6:STM32F446RET6" + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (property "Reference" "U" + (at -1.016 1.016 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Value" "" + (at 0 0 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "" + (at 0 0 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "" + (at 0 0 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "" + (at 0 0 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (symbol "STM32F446RET6_0_1" + (rectangle + (start 0 0) + (end 43.18 -43.18) + (stroke + (width 0) + (type default) + ) + (fill + (type none) + ) + ) + ) + (symbol "STM32F446RET6_1_1" + (text "STM32F466RE\n" + (at 21.59 -21.59 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (pin bidirectional line + (at 0 -2.54 180) + (length 2.54) + (name "VBAT" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "1" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + (pin bidirectional line + (at 0 -5.08 180) + (length 2.54) + (name "PC13" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "2" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + (pin bidirectional line + (at 0 -7.62 180) + (length 2.54) + (name "PC14" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "3" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + (pin bidirectional line + (at 0 -10.16 180) + (length 2.54) + (name "PC15" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "4" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + (pin bidirectional line + (at 0 -12.7 180) + (length 2.54) + (name "OSCIN" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "5" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + (pin bidirectional line + (at 0 -15.24 180) + (length 2.54) + (name "OSCOUT" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "6" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + (pin bidirectional line + (at 0 -17.78 180) + (length 2.54) + (name "NRST" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "7" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + (pin bidirectional line + (at 0 -20.32 180) + (length 2.54) + (name "PC0" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "8" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + (pin bidirectional line + (at 0 -22.86 180) + (length 2.54) + (name "PC1" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "9" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + (pin bidirectional line + (at 0 -25.4 180) + (length 2.54) + (name "PC2" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "10" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + (pin bidirectional line + (at 0 -27.94 180) + (length 2.54) + (name "PC3" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "11" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + (pin bidirectional line + (at 0 -30.48 180) + (length 2.54) + (name "VSSA" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "12" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + (pin bidirectional line + (at 0 -33.02 180) + (length 2.54) + (name "VDDA" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "13" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + (pin bidirectional line + (at 0 -35.56 180) + (length 2.54) + (name "PA0" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "14" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + (pin bidirectional line + (at 0 -38.1 180) + (length 2.54) + (name "PA1" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "15" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + (pin bidirectional line + (at 0 -40.64 180) + (length 2.54) + (name "PA2" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "16" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + (pin bidirectional line + (at 2.54 0 90) + (length 2.54) + (name "VDD" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "64" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + (pin bidirectional line + (at 2.54 -43.18 270) + (length 2.54) + (name "PA3" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "17" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + (pin bidirectional line + (at 5.08 0 90) + (length 2.54) + (name "VSS" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "63" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + (pin bidirectional line + (at 5.08 -43.18 270) + (length 2.54) + (name "VSS" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "18" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + (pin bidirectional line + (at 7.62 0 90) + (length 2.54) + (name "PB9" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "62" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + (pin bidirectional line + (at 7.62 -43.18 270) + (length 2.54) + (name "VDD" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "19" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + (pin bidirectional line + (at 10.16 0 90) + (length 2.54) + (name "PB8" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "61" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + (pin bidirectional line + (at 10.16 -43.18 270) + (length 2.54) + (name "PA4" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "20" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + (pin bidirectional line + (at 12.7 0 90) + (length 2.54) + (name "BOOT" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "60" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + (pin bidirectional line + (at 12.7 -43.18 270) + (length 2.54) + (name "PA5" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "21" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + (pin bidirectional line + (at 15.24 0 90) + (length 2.54) + (name "PB7" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "59" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + (pin bidirectional line + (at 15.24 -43.18 270) + (length 2.54) + (name "PA6" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "22" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + (pin bidirectional line + (at 17.78 0 90) + (length 2.54) + (name "PB6" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "58" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + (pin bidirectional line + (at 17.78 -43.18 270) + (length 2.54) + (name "PA7" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "23" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + (pin bidirectional line + (at 20.32 0 90) + (length 2.54) + (name "PB5" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "57" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + (pin bidirectional line + (at 20.32 -43.18 270) + (length 2.54) + (name "PC4" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "24" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + (pin bidirectional line + (at 22.86 0 90) + (length 2.54) + (name "PB4" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "56" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + (pin bidirectional line + (at 22.86 -43.18 270) + (length 2.54) + (name "PC5" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "25" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + (pin bidirectional line + (at 25.4 0 90) + (length 2.54) + (name "PB3" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "55" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + (pin bidirectional line + (at 25.4 -43.18 270) + (length 2.54) + (name "PB0" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "26" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + (pin bidirectional line + (at 27.94 0 90) + (length 2.54) + (name "PD2" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "54" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + (pin bidirectional line + (at 27.94 -43.18 270) + (length 2.54) + (name "PB1" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "27" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + (pin bidirectional line + (at 30.48 0 90) + (length 2.54) + (name "PC12" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "53" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + (pin bidirectional line + (at 30.48 -43.18 270) + (length 2.54) + (name "PB2" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "28" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + (pin bidirectional line + (at 33.02 0 90) + (length 2.54) + (name "PC11" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "52" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + (pin bidirectional line + (at 33.02 -43.18 270) + (length 2.54) + (name "PB10" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "29" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + (pin bidirectional line + (at 35.56 0 90) + (length 2.54) + (name "PA10" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "51" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + (pin bidirectional line + (at 35.56 -43.18 270) + (length 2.54) + (name "VCAP" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "30" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + (pin bidirectional line + (at 38.1 0 90) + (length 2.54) + (name "PA15" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "50" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + (pin bidirectional line + (at 38.1 -43.18 270) + (length 2.54) + (name "VSS" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "31" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + (pin bidirectional line + (at 40.64 0 90) + (length 2.54) + (name "PA14" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "49" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + (pin bidirectional line + (at 40.64 -43.18 270) + (length 2.54) + (name "VDD" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "32" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + (pin bidirectional line + (at 43.18 -2.54 0) + (length 2.54) + (name "VDD" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "48" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + (pin bidirectional line + (at 43.18 -5.08 0) + (length 2.54) + (name "VSS" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "47" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + (pin bidirectional line + (at 43.18 -7.62 0) + (length 2.54) + (name "PA13" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "46" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + (pin bidirectional line + (at 43.18 -10.16 0) + (length 2.54) + (name "PA12" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "45" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + (pin bidirectional line + (at 43.18 -12.7 0) + (length 2.54) + (name "PA11" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "44" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + (pin bidirectional line + (at 43.18 -15.24 0) + (length 2.54) + (name "PA10" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "43" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + (pin bidirectional line + (at 43.18 -17.78 0) + (length 2.54) + (name "PA9" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "42" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + (pin bidirectional line + (at 43.18 -20.32 0) + (length 2.54) + (name "PA8" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "41" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + (pin bidirectional line + (at 43.18 -22.86 0) + (length 2.54) + (name "PC9" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "40" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + (pin bidirectional line + (at 43.18 -25.4 0) + (length 2.54) + (name "PC8" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "39" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + (pin bidirectional line + (at 43.18 -27.94 0) + (length 2.54) + (name "PC7" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "38" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + (pin bidirectional line + (at 43.18 -30.48 0) + (length 2.54) + (name "PC6" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "37" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + (pin bidirectional line + (at 43.18 -33.02 0) + (length 2.54) + (name "PB15" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "36" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + (pin bidirectional line + (at 43.18 -35.56 0) + (length 2.54) + (name "PB14" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "35" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + (pin bidirectional line + (at 43.18 -38.1 0) + (length 2.54) + (name "PB13" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "34" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + (pin bidirectional line + (at 43.18 -40.64 0) + (length 2.54) + (name "PB12" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "33" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + ) + (embedded_fonts no) + ) + ) + (text "MCU" + (exclude_from_sim no) + (at 200.152 81.534 0) + (effects + (font + (size 2.54 2.54) + (thickness 0.508) + (bold yes) + ) + ) + (uuid "053570bf-16e9-44c8-a82a-684c6f7508cb") + ) + (text "+ \nRGB MATRIX" + (exclude_from_sim no) + (at 243.84 79.756 0) + (effects + (font + (size 2.54 2.54) + (thickness 0.508) + (bold yes) + ) + ) + (uuid "12748ec4-00f5-490e-aa52-a210910b5263") + ) + (text "DECOUPLING CAPS\n" + (exclude_from_sim no) + (at 47.752 175.26 0) + (effects + (font + (size 2.54 2.54) + (thickness 0.508) + (bold yes) + ) + ) + (uuid "18ba2e75-ba3b-4501-b190-9ad5b6ed2853") + ) + (text "PORT CONNECTIONS\n" + (exclude_from_sim no) + (at 53.086 130.048 0) + (effects + (font + (size 2.54 2.54) + (thickness 0.508) + (bold yes) + ) + ) + (uuid "3ad0362e-3277-4bf5-a873-b6a1597c7959") + ) + (text "POWER SOURCE\n" + (exclude_from_sim no) + (at 137.668 35.306 0) + (effects + (font + (size 2.54 2.54) + (thickness 0.508) + (bold yes) + ) + ) + (uuid "3d192bed-52cb-48b6-8954-5b4db22d1c09") + ) + (text "USB RECEPTACLE" + (exclude_from_sim no) + (at 75.692 65.532 0) + (effects + (font + (size 2.54 2.54) + (thickness 0.508) + (bold yes) + ) + ) + (uuid "40f0ab9d-8619-4019-90bb-2b72acfba98c") + ) + (text "KEYBOARD MATRIX\n" + (exclude_from_sim no) + (at 243.84 73.66 0) + (effects + (font + (size 2.54 2.54) + (thickness 0.508) + (bold yes) + ) + ) + (uuid "77d3e340-9f37-45b6-9c2f-7dd12faeb64d") + ) + (text "A modular keyboard system designed for flexible orientation and interchangeable layouts.\nThis schematic represents the application of the design as a numpad module, \nwhich can operate as a standalone numeric keypad or as an extension to the main keyboard." + (exclude_from_sim no) + (at 178.816 170.942 0) + (effects + (font + (size 1.27 1.27) + (thickness 0.1588) + ) + (justify left) + ) + (uuid "b2e16b73-db9e-48d9-887a-7511975e0f40") + ) + (text "Modularly Simple KeyBoard preV1" + (exclude_from_sim no) + (at 219.202 189.738 0) + (effects + (font + (size 2.54 2.54) + (thickness 0.508) + (bold yes) + ) + ) + (uuid "c3c048a7-a63f-433a-824a-8996e749bf01") + ) + (text "JTAG" + (exclude_from_sim no) + (at 240.792 151.638 0) + (effects + (font + (size 2.54 2.54) + (thickness 0.508) + (bold yes) + ) + ) + (uuid "e15c1fc6-d6f9-479e-9240-8e7c364ac79d") + ) + (junction + (at 48.26 38.1) + (diameter 0) + (color 0 0 0 0) + (uuid "0f6f91a4-a934-463b-b122-7f23512f1734") + ) + (junction + (at 43.18 58.42) + (diameter 0) + (color 0 0 0 0) + (uuid "1a8f3bff-3750-4093-91f3-3af3450de74d") + ) + (junction + (at 43.18 152.4) + (diameter 0) + (color 0 0 0 0) + (uuid "1c37534d-40dd-4272-bd53-ea9d2e019ab1") + ) + (junction + (at 50.8 105.41) + (diameter 0) + (color 0 0 0 0) + (uuid "220a4cc1-72cb-45c0-abd2-dfa0ee539eae") + ) + (junction + (at 43.18 55.88) + (diameter 0) + (color 0 0 0 0) + (uuid "27b11cc7-491b-4d42-b423-76ef6b46e081") + ) + (junction + (at 31.75 160.02) + (diameter 0) + (color 0 0 0 0) + (uuid "2e11f1b5-4d79-4b26-9fa1-7d79bbe862ed") + ) + (junction + (at 49.53 58.42) + (diameter 0) + (color 0 0 0 0) + (uuid "2e31501e-2d51-448f-8454-3f8d0a2f5892") + ) + (junction + (at 190.5 34.29) + (diameter 0) + (color 0 0 0 0) + (uuid "336c3f51-826e-4afd-8da1-62a8bbf93823") + ) + (junction + (at 134.62 73.66) + (diameter 0) + (color 0 0 0 0) + (uuid "34992661-1d26-4f61-b9fe-4fb32e3c01df") + ) + (junction + (at 92.71 30.48) + (diameter 0) + (color 0 0 0 0) + (uuid "36c7150f-cb01-4b6f-a11a-522367414f73") + ) + (junction + (at 52.07 113.03) + (diameter 0) + (color 0 0 0 0) + (uuid "4a532823-9646-4711-ac88-38674fa4c05e") + ) + (junction + (at 165.1 34.29) + (diameter 0) + (color 0 0 0 0) + (uuid "4dbaf7a2-8834-472e-8aaf-4b7c652eab6f") + ) + (junction + (at 50.8 45.72) + (diameter 0) + (color 0 0 0 0) + (uuid "54498a32-302d-4f99-936f-a4f208527e0f") + ) + (junction + (at 113.03 106.68) + (diameter 0) + (color 0 0 0 0) + (uuid "70e9c72f-b778-4c87-8e4f-7bafd4302b9a") + ) + (junction + (at 43.18 160.02) + (diameter 0) + (color 0 0 0 0) + (uuid "7764b747-881c-48f7-8d2e-86724ffa1988") + ) + (junction + (at 113.03 116.84) + (diameter 0) + (color 0 0 0 0) + (uuid "7f7962f1-ccd8-4cd9-a566-cbcab57cecde") + ) + (junction + (at 54.61 160.02) + (diameter 0) + (color 0 0 0 0) + (uuid "8a301476-bb2b-40a8-9dab-4ee9500ebd42") + ) + (junction + (at 54.61 152.4) + (diameter 0) + (color 0 0 0 0) + (uuid "95f858c6-590e-4b07-b00e-14b33fe3654b") + ) + (junction + (at 127 100.33) + (diameter 0) + (color 0 0 0 0) + (uuid "a49bc808-02e8-4817-b90a-a4a1b75244ee") + ) + (junction + (at 45.72 30.48) + (diameter 0) + (color 0 0 0 0) + (uuid "b229d9ea-1ae2-4434-99c1-1e4df683342f") + ) + (junction + (at 52.07 97.79) + (diameter 0) + (color 0 0 0 0) + (uuid "b7910006-9150-4e29-bab8-e9d77307b10d") + ) + (junction + (at 177.8 41.91) + (diameter 0) + (color 0 0 0 0) + (uuid "ba78025a-63ef-4867-8d31-7e94c2ea70e9") + ) + (junction + (at 116.84 87.63) + (diameter 0) + (color 0 0 0 0) + (uuid "be122d9c-1b65-4ca9-a3ce-31a3314b3426") + ) + (junction + (at 85.09 38.1) + (diameter 0) + (color 0 0 0 0) + (uuid "caadfcbb-ef16-4d20-b0af-dafe81dc7050") + ) + (junction + (at 119.38 106.68) + (diameter 0) + (color 0 0 0 0) + (uuid "cc90e23d-f590-4e27-a42c-5d487fc572f1") + ) + (junction + (at 31.75 152.4) + (diameter 0) + (color 0 0 0 0) + (uuid "e0b41c54-35b8-4d1e-9f2a-6ccd130dde8b") + ) + (junction + (at 116.84 100.33) + (diameter 0) + (color 0 0 0 0) + (uuid "e42f4b43-15d9-40ac-bf9a-1258524dc65c") + ) + (junction + (at 85.09 55.88) + (diameter 0) + (color 0 0 0 0) + (uuid "e73a272a-f3b1-429e-a4ac-632efe248e69") + ) + (junction + (at 50.8 90.17) + (diameter 0) + (color 0 0 0 0) + (uuid "ed82e976-1bb9-4a58-baea-21c0632ce514") + ) + (no_connect + (at 144.78 116.84) + (uuid "0b50b0cb-735c-4720-9cfc-7d257132c35a") + ) + (no_connect + (at 152.4 88.9) + (uuid "300a4c2c-3f4b-4f25-b5db-14f5f80aecbb") + ) + (no_connect + (at 144.78 111.76) + (uuid "599dd13b-d9e8-4d78-aefb-33d0ced626e6") + ) + (no_connect + (at 187.96 129.54) + (uuid "8567c420-7e62-4e40-ac4b-381f2ec0c9fd") + ) + (no_connect + (at 40.64 33.02) + (uuid "8ec52c42-5cb3-496e-9d92-e27ae929aa15") + ) + (no_connect + (at 154.94 88.9) + (uuid "915e6404-a87d-4be9-b5c0-aadfa7f173eb") + ) + (no_connect + (at 144.78 99.06) + (uuid "a89c65fa-d3ae-4802-af43-002e5ab52a3c") + ) + (no_connect + (at 144.78 109.22) + (uuid "b4ec3779-e4d6-4643-9c51-21e093b6c010") + ) + (no_connect + (at 40.64 48.26) + (uuid "c93053ea-a8d0-4bab-a6e3-5fe3cb7ab029") + ) + (no_connect + (at 144.78 96.52) + (uuid "ca6a7a10-4dfe-4b9a-b456-324c7de09245") + ) + (no_connect + (at 144.78 114.3) + (uuid "dc302dbd-e366-453c-b672-c9c2f0309ad6") + ) + (no_connect + (at 144.78 93.98) + (uuid "dd6f19b1-af0f-4ed5-b78c-06c2a72c0ec4") + ) + (wire + (pts + (xy 31.75 160.02) (xy 31.75 163.83) + ) + (stroke + (width 0) + (type default) + ) + (uuid "00fd3c01-2e41-4555-8a03-1e94fccb5d51") + ) + (wire + (pts + (xy 196.85 31.75) (xy 196.85 34.29) + ) + (stroke + (width 0) + (type default) + ) + (uuid "01906518-da0c-47cd-953b-26f72e84a7ca") + ) + (wire + (pts + (xy 67.31 55.88) (xy 85.09 55.88) + ) + (stroke + (width 0) + (type default) + ) + (uuid "01989c17-3e28-4f4a-8adc-509ba7411462") + ) + (wire + (pts + (xy 43.18 58.42) (xy 49.53 58.42) + ) + (stroke + (width 0) + (type default) + ) + (uuid "0335a907-0ede-4ebd-ac54-adf1c3500f54") + ) + (wire + (pts + (xy 96.52 116.84) (xy 113.03 116.84) + ) + (stroke + (width 0) + (type default) + ) + (uuid "03ea680e-440a-45dd-9b7a-0498259e1eb8") + ) + (wire + (pts + (xy 144.78 91.44) (xy 134.62 91.44) + ) + (stroke + (width 0) + (type default) + ) + (uuid "04a5328c-4588-468b-94fa-c480b7dfbab2") + ) + (wire + (pts + (xy 50.8 85.09) (xy 50.8 90.17) + ) + (stroke + (width 0) + (type default) + ) + (uuid "05620071-1289-465a-bf88-b0bc2c06bf19") + ) + (wire + (pts + (xy 167.64 34.29) (xy 165.1 34.29) + ) + (stroke + (width 0) + (type default) + ) + (uuid "0706f41a-efd4-4eae-9522-0d25101ad0d0") + ) + (wire + (pts + (xy 105.41 87.63) (xy 116.84 87.63) + ) + (stroke + (width 0) + (type default) + ) + (uuid "0ae95369-9eb5-4fcf-9779-42360b40e70b") + ) + (wire + (pts + (xy 123.19 129.54) (xy 144.78 129.54) + ) + (stroke + (width 0) + (type default) + ) + (uuid "0bdf774e-a5a9-4aa3-84c3-cb36cab53577") + ) + (wire + (pts + (xy 162.56 132.08) (xy 162.56 151.13) + ) + (stroke + (width 0) + (type default) + ) + (uuid "0c365f9b-ec33-45c0-bcaa-f753e4bca3a2") + ) + (wire + (pts + (xy 147.32 77.47) (xy 147.32 88.9) + ) + (stroke + (width 0) + (type default) + ) + (uuid "0eec1321-cba2-499e-a932-bdf00c658069") + ) + (wire + (pts + (xy 52.07 97.79) (xy 68.58 97.79) + ) + (stroke + (width 0) + (type default) + ) + (uuid "0f54820b-4967-4434-98bb-4a1954827aa5") + ) + (wire + (pts + (xy 187.96 93.98) (xy 201.93 93.98) + ) + (stroke + (width 0) + (type default) + ) + (uuid "10d72e49-b58e-41ec-acff-fe378d1c1a07") + ) + (wire + (pts + (xy 240.03 26.67) (xy 240.03 33.02) + ) + (stroke + (width 0) + (type default) + ) + (uuid "12439fa1-108d-40ec-9e24-05c5539bdcbe") + ) + (wire + (pts + (xy 255.27 26.67) (xy 255.27 33.02) + ) + (stroke + (width 0) + (type default) + ) + (uuid "15175de2-159b-401b-be2e-f5f1f5d3d293") + ) + (wire + (pts + (xy 187.96 96.52) (xy 201.93 96.52) + ) + (stroke + (width 0) + (type default) + ) + (uuid "1a18d475-875b-48a3-8b99-1398b1e83c91") + ) + (wire + (pts + (xy 165.1 76.2) (xy 165.1 88.9) + ) + (stroke + (width 0) + (type default) + ) + (uuid "1ad0f778-1242-4788-b786-3053f5269c6e") + ) + (wire + (pts + (xy 116.84 87.63) (xy 127 87.63) + ) + (stroke + (width 0) + (type default) + ) + (uuid "1baeb221-1013-40d6-aead-2b046792f698") + ) + (wire + (pts + (xy 209.55 50.8) (xy 217.17 50.8) + ) + (stroke + (width 0) + (type default) + ) + (uuid "1f22f88b-f3f4-467e-9040-cec3d802cf54") + ) + (wire + (pts + (xy 109.22 73.66) (xy 120.65 73.66) + ) + (stroke + (width 0) + (type default) + ) + (uuid "1f3decf6-56bc-4987-a07d-5fc2cfdbf99e") + ) + (wire + (pts + (xy 242.57 26.67) (xy 242.57 33.02) + ) + (stroke + (width 0) + (type default) + ) + (uuid "208a1faa-bb1b-433e-94ad-29c8d738354c") + ) + (wire + (pts + (xy 229.87 134.62) (xy 241.3 134.62) + ) + (stroke + (width 0) + (type default) + ) + (uuid "20dc9b34-59f2-4355-be2f-69c705971898") + ) + (wire + (pts + (xy 209.55 58.42) (xy 217.17 58.42) + ) + (stroke + (width 0) + (type default) + ) + (uuid "2126d0b3-0942-46ed-a887-338115d4e944") + ) + (wire + (pts + (xy 43.18 55.88) (xy 40.64 55.88) + ) + (stroke + (width 0) + (type default) + ) + (uuid "247988be-f1ec-49ec-a333-41688f2e4fc0") + ) + (wire + (pts + (xy 49.53 92.71) (xy 35.56 92.71) + ) + (stroke + (width 0) + (type default) + ) + (uuid "26f83c9f-b790-4cb2-af83-2aa9c9e51c39") + ) + (wire + (pts + (xy 43.18 160.02) (xy 54.61 160.02) + ) + (stroke + (width 0) + (type default) + ) + (uuid "289e2bd6-73d5-4949-82a5-b8596ab06387") + ) + (wire + (pts + (xy 127 101.6) (xy 144.78 101.6) + ) + (stroke + (width 0) + (type default) + ) + (uuid "292104ca-3d20-4356-b182-a13b0a9176ce") + ) + (wire + (pts + (xy 167.64 132.08) (xy 167.64 146.05) + ) + (stroke + (width 0) + (type default) + ) + (uuid "2a4eeff8-ed6e-4975-b712-d0bc61f259cd") + ) + (wire + (pts + (xy 149.86 77.47) (xy 149.86 88.9) + ) + (stroke + (width 0) + (type default) + ) + (uuid "2b6cdadb-6bbb-47ce-8dde-457d59e5c2a7") + ) + (wire + (pts + (xy 116.84 100.33) (xy 116.84 104.14) + ) + (stroke + (width 0) + (type default) + ) + (uuid "2fddf5e5-afc9-4ff0-a699-6788de5db800") + ) + (wire + (pts + (xy 134.62 91.44) (xy 134.62 73.66) + ) + (stroke + (width 0) + (type default) + ) + (uuid "30979165-d449-4e2b-a93f-0991abdb0465") + ) + (wire + (pts + (xy 31.75 149.86) (xy 31.75 152.4) + ) + (stroke + (width 0) + (type default) + ) + (uuid "330d5ff8-84d8-41a5-bfee-45da384c7ed9") + ) + (wire + (pts + (xy 109.22 73.66) (xy 109.22 76.2) + ) + (stroke + (width 0) + (type default) + ) + (uuid "34cb745e-85a4-4f52-8881-0f0a8d4931ef") + ) + (wire + (pts + (xy 77.47 46.99) (xy 73.66 46.99) + ) + (stroke + (width 0) + (type default) + ) + (uuid "37b24e3e-6cbc-4b14-ade0-7b79f8d12f02") + ) + (wire + (pts + (xy 53.34 95.25) (xy 68.58 95.25) + ) + (stroke + (width 0) + (type default) + ) + (uuid "37f03eff-586f-4094-8855-542e564609e6") + ) + (wire + (pts + (xy 157.48 132.08) (xy 157.48 151.13) + ) + (stroke + (width 0) + (type default) + ) + (uuid "38cae9ee-d843-4f35-a584-9783ea88b63c") + ) + (wire + (pts + (xy 187.96 104.14) (xy 212.09 104.14) + ) + (stroke + (width 0) + (type default) + ) + (uuid "3a7288aa-4ed3-4056-b2cb-8fef7ffd7fac") + ) + (wire + (pts + (xy 127 100.33) (xy 127 101.6) + ) + (stroke + (width 0) + (type default) + ) + (uuid "3f4651a7-686d-42ea-9698-5838e5943557") + ) + (wire + (pts + (xy 185.42 143.51) (xy 185.42 132.08) + ) + (stroke + (width 0) + (type default) + ) + (uuid "3f4f5601-5cb4-4b09-bb9e-970ca1e3d02b") + ) + (wire + (pts + (xy 152.4 132.08) (xy 152.4 143.51) + ) + (stroke + (width 0) + (type default) + ) + (uuid "44bc8c63-d89a-46e4-9d00-a5b9de75d756") + ) + (wire + (pts + (xy 172.72 132.08) (xy 172.72 146.05) + ) + (stroke + (width 0) + (type default) + ) + (uuid "450a7d1b-d4b5-47d0-b75f-49cb00b277c1") + ) + (wire + (pts + (xy 50.8 45.72) (xy 67.31 45.72) + ) + (stroke + (width 0) + (type default) + ) + (uuid "4570fa46-daac-46da-b206-5998ba573467") + ) + (wire + (pts + (xy 35.56 105.41) (xy 50.8 105.41) + ) + (stroke + (width 0) + (type default) + ) + (uuid "458dba6f-06fc-4619-a060-0ecf78dcf85a") + ) + (wire + (pts + (xy 53.34 107.95) (xy 68.58 107.95) + ) + (stroke + (width 0) + (type default) + ) + (uuid "465af43c-4e85-4f93-bb3b-2e57bac120b2") + ) + (wire + (pts + (xy 73.66 46.99) (xy 73.66 49.53) + ) + (stroke + (width 0) + (type default) + ) + (uuid "4706908c-636d-444d-b2c0-039cdfb74b4d") + ) + (wire + (pts + (xy 175.26 63.5) (xy 175.26 88.9) + ) + (stroke + (width 0) + (type default) + ) + (uuid "477066b8-b318-4156-a17c-fbe9dd48a160") + ) + (wire + (pts + (xy 248.92 129.54) (xy 248.92 132.08) + ) + (stroke + (width 0) + (type default) + ) + (uuid "4874b85c-ca6a-43a9-b3a5-8f906291c1f7") + ) + (wire + (pts + (xy 52.07 118.11) (xy 52.07 113.03) + ) + (stroke + (width 0) + (type default) + ) + (uuid "4cca7c1a-d12a-4d5b-8dd4-4401bb342c6d") + ) + (wire + (pts + (xy 154.94 132.08) (xy 154.94 147.32) + ) + (stroke + (width 0) + (type default) + ) + (uuid "4d52ae93-a4ca-4383-bb89-91e9056bf0db") + ) + (wire + (pts + (xy 119.38 129.54) (xy 113.03 129.54) + ) + (stroke + (width 0) + (type default) + ) + (uuid "4f47a244-1f71-49eb-9094-aa6e152b6833") + ) + (wire + (pts + (xy 182.88 132.08) (xy 182.88 143.51) + ) + (stroke + (width 0) + (type default) + ) + (uuid "4f536248-7a57-4327-aa34-727e9506252f") + ) + (wire + (pts + (xy 58.42 35.56) (xy 58.42 50.8) + ) + (stroke + (width 0) + (type default) + ) + (uuid "529cd2fd-f4b4-4dfa-88ae-b39a282450b0") + ) + (wire + (pts + (xy 119.38 106.68) (xy 144.78 106.68) + ) + (stroke + (width 0) + (type default) + ) + (uuid "52a98227-b763-4347-af19-3768ac500778") + ) + (wire + (pts + (xy 177.8 41.91) (xy 190.5 41.91) + ) + (stroke + (width 0) + (type default) + ) + (uuid "53e1b29f-1b7c-4a7f-8b33-b9b30a2397bc") + ) + (wire + (pts + (xy 223.52 137.16) (xy 251.46 137.16) + ) + (stroke + (width 0) + (type default) + ) + (uuid "5532e8ef-0bc4-4de1-9a6f-fd84a38c396c") + ) + (wire + (pts + (xy 35.56 97.79) (xy 52.07 97.79) + ) + (stroke + (width 0) + (type default) + ) + (uuid "562315e5-2659-4b64-b6a4-896f84956ea9") + ) + (wire + (pts + (xy 53.34 110.49) (xy 68.58 110.49) + ) + (stroke + (width 0) + (type default) + ) + (uuid "57440857-b976-423f-9e7a-b950ad2438d3") + ) + (wire + (pts + (xy 116.84 87.63) (xy 116.84 90.17) + ) + (stroke + (width 0) + (type default) + ) + (uuid "58da7475-15d0-496c-9708-fa29ececcc6e") + ) + (wire + (pts + (xy 248.92 132.08) (xy 251.46 132.08) + ) + (stroke + (width 0) + (type default) + ) + (uuid "59e201b2-0a7c-4e35-8471-aae12d903450") + ) + (wire + (pts + (xy 50.8 90.17) (xy 50.8 105.41) + ) + (stroke + (width 0) + (type default) + ) + (uuid "5a0c8ca1-e08f-43f7-8d31-1375895859ca") + ) + (wire + (pts + (xy 209.55 55.88) (xy 217.17 55.88) + ) + (stroke + (width 0) + (type default) + ) + (uuid "5a8c3d76-ece7-4cea-afe6-fca17951a559") + ) + (wire + (pts + (xy 40.64 58.42) (xy 43.18 58.42) + ) + (stroke + (width 0) + (type default) + ) + (uuid "5c2c9eff-618d-442a-9d7e-b706135f2805") + ) + (wire + (pts + (xy 187.96 34.29) (xy 190.5 34.29) + ) + (stroke + (width 0) + (type default) + ) + (uuid "5ed0c7ae-0554-43d0-8aff-c75229568034") + ) + (wire + (pts + (xy 175.26 132.08) (xy 175.26 146.05) + ) + (stroke + (width 0) + (type default) + ) + (uuid "5f7ef538-4e1c-4f24-94de-8dc55a60a5c9") + ) + (wire + (pts + (xy 229.87 142.24) (xy 241.3 142.24) + ) + (stroke + (width 0) + (type default) + ) + (uuid "60d998c9-4be4-4529-813d-61347020e312") + ) + (wire + (pts + (xy 165.1 41.91) (xy 177.8 41.91) + ) + (stroke + (width 0) + (type default) + ) + (uuid "627375d7-97c0-43e6-ab57-2fc3c3266f3b") + ) + (wire + (pts + (xy 158.75 34.29) (xy 158.75 31.75) + ) + (stroke + (width 0) + (type default) + ) + (uuid "643c8654-a64f-4cd4-848c-c244b8b851a3") + ) + (wire + (pts + (xy 187.96 106.68) (xy 212.09 106.68) + ) + (stroke + (width 0) + (type default) + ) + (uuid "663d7edc-35d4-4678-b5b2-956b0ead572f") + ) + (wire + (pts + (xy 43.18 58.42) (xy 43.18 55.88) + ) + (stroke + (width 0) + (type default) + ) + (uuid "68110c4c-99d7-4030-9e98-1e043ba3c876") + ) + (wire + (pts + (xy 76.2 30.48) (xy 92.71 30.48) + ) + (stroke + (width 0) + (type default) + ) + (uuid "684cca3f-fdef-4580-a559-ec92864a877d") + ) + (wire + (pts + (xy 35.56 110.49) (xy 49.53 110.49) + ) + (stroke + (width 0) + (type default) + ) + (uuid "693f3dbe-4e73-43c7-8fcf-616ba911db6e") + ) + (wire + (pts + (xy 162.56 76.2) (xy 162.56 88.9) + ) + (stroke + (width 0) + (type default) + ) + (uuid "6a875d99-df08-4727-89b1-a7f7f4e8c7a3") + ) + (wire + (pts + (xy 187.96 111.76) (xy 203.2 111.76) + ) + (stroke + (width 0) + (type default) + ) + (uuid "6b5d728e-13d1-41c6-83a9-b7d155de526e") + ) + (wire + (pts + (xy 53.34 92.71) (xy 68.58 92.71) + ) + (stroke + (width 0) + (type default) + ) + (uuid "6d9e585f-cbc3-414c-9299-2e5b280c073d") + ) + (wire + (pts + (xy 187.96 124.46) (xy 203.2 124.46) + ) + (stroke + (width 0) + (type default) + ) + (uuid "6da5d636-af4e-43c8-9f36-e459d33d1bbe") + ) + (wire + (pts + (xy 134.62 68.58) (xy 134.62 73.66) + ) + (stroke + (width 0) + (type default) + ) + (uuid "6f04dc55-ef64-4bc9-b0d0-4c627f116dbd") + ) + (wire + (pts + (xy 185.42 73.66) (xy 185.42 88.9) + ) + (stroke + (width 0) + (type default) + ) + (uuid "71259b82-bdf7-498b-b24b-83577cb15492") + ) + (wire + (pts + (xy 50.8 105.41) (xy 68.58 105.41) + ) + (stroke + (width 0) + (type default) + ) + (uuid "715c013f-940e-41c2-bce8-d311766decb6") + ) + (wire + (pts + (xy 260.35 26.67) (xy 260.35 33.02) + ) + (stroke + (width 0) + (type default) + ) + (uuid "75f76f62-7624-4a4c-93a9-a039578267af") + ) + (wire + (pts + (xy 40.64 30.48) (xy 45.72 30.48) + ) + (stroke + (width 0) + (type default) + ) + (uuid "776243c5-1d03-4ada-a03f-0ef931893237") + ) + (wire + (pts + (xy 40.64 38.1) (xy 48.26 38.1) + ) + (stroke + (width 0) + (type default) + ) + (uuid "79888534-70ed-452a-bd5b-d1029281da10") + ) + (wire + (pts + (xy 40.64 50.8) (xy 49.53 50.8) + ) + (stroke + (width 0) + (type default) + ) + (uuid "7ab65dfe-09b0-4f17-b223-a9311f4784d6") + ) + (wire + (pts + (xy 248.92 134.62) (xy 251.46 134.62) + ) + (stroke + (width 0) + (type default) + ) + (uuid "7bcbc1dd-858c-46e1-b9f4-207586227937") + ) + (wire + (pts + (xy 113.03 107.95) (xy 113.03 106.68) + ) + (stroke + (width 0) + (type default) + ) + (uuid "7c581021-24c9-4b69-b987-c6220ecfd605") + ) + (wire + (pts + (xy 128.27 73.66) (xy 134.62 73.66) + ) + (stroke + (width 0) + (type default) + ) + (uuid "7c9a429e-b501-454a-a798-72a9debc42e7") + ) + (wire + (pts + (xy 267.97 26.67) (xy 267.97 33.02) + ) + (stroke + (width 0) + (type default) + ) + (uuid "7d4b4f9e-4b6f-4ba8-aebd-0f661a376cfe") + ) + (wire + (pts + (xy 234.95 26.67) (xy 234.95 33.02) + ) + (stroke + (width 0) + (type default) + ) + (uuid "7e691013-eb16-4449-ad01-df5d08179de9") + ) + (wire + (pts + (xy 48.26 38.1) (xy 85.09 38.1) + ) + (stroke + (width 0) + (type default) + ) + (uuid "81fbcf92-dd81-4e13-8596-b53d8260ea0f") + ) + (wire + (pts + (xy 113.03 129.54) (xy 113.03 127) + ) + (stroke + (width 0) + (type default) + ) + (uuid "82863544-c8b6-4a81-ba0e-9ed9dc1f7811") + ) + (wire + (pts + (xy 67.31 45.72) (xy 67.31 55.88) + ) + (stroke + (width 0) + (type default) + ) + (uuid "82bd2989-2318-4253-b209-267092851cba") + ) + (wire + (pts + (xy 265.43 26.67) (xy 265.43 33.02) + ) + (stroke + (width 0) + (type default) + ) + (uuid "83b82508-5fe8-4054-9a00-42e24d33b288") + ) + (wire + (pts + (xy 209.55 48.26) (xy 217.17 48.26) + ) + (stroke + (width 0) + (type default) + ) + (uuid "83d38e48-b8cc-4280-90de-8336d999cc9e") + ) + (wire + (pts + (xy 106.68 172.72) (xy 106.68 170.18) + ) + (stroke + (width 0) + (type default) + ) + (uuid "8427d372-153a-4165-9c6b-d703ad055792") + ) + (wire + (pts + (xy 166.37 60.96) (xy 157.48 60.96) + ) + (stroke + (width 0) + (type default) + ) + (uuid "8527098b-4400-4446-804d-ab014655552c") + ) + (wire + (pts + (xy 54.61 152.4) (xy 66.04 152.4) + ) + (stroke + (width 0) + (type default) + ) + (uuid "86e8be86-7a52-450c-820b-e68995200152") + ) + (wire + (pts + (xy 247.65 26.67) (xy 247.65 33.02) + ) + (stroke + (width 0) + (type default) + ) + (uuid "878877a1-6590-498b-aa1a-efc92c6e27f6") + ) + (wire + (pts + (xy 104.14 119.38) (xy 144.78 119.38) + ) + (stroke + (width 0) + (type default) + ) + (uuid "8a407c97-de84-4759-89bb-c47ac175cf08") + ) + (wire + (pts + (xy 85.09 38.1) (xy 101.6 38.1) + ) + (stroke + (width 0) + (type default) + ) + (uuid "8aba9e24-a5f7-40f7-bdc4-fc865abfdccc") + ) + (wire + (pts + (xy 167.64 76.2) (xy 167.64 88.9) + ) + (stroke + (width 0) + (type default) + ) + (uuid "8cd8c252-9640-463d-9c7b-97b8af4a7394") + ) + (wire + (pts + (xy 40.64 27.94) (xy 43.18 27.94) + ) + (stroke + (width 0) + (type default) + ) + (uuid "8e50dffa-98dd-40ff-8994-cbeafa4b2bfb") + ) + (wire + (pts + (xy 113.03 106.68) (xy 119.38 106.68) + ) + (stroke + (width 0) + (type default) + ) + (uuid "933a4130-c00a-4b4c-bb79-83312d882419") + ) + (wire + (pts + (xy 229.87 144.78) (xy 241.3 144.78) + ) + (stroke + (width 0) + (type default) + ) + (uuid "943af323-76f9-4011-a61b-cc2b7fef77fa") + ) + (wire + (pts + (xy 115.57 170.18) (xy 116.84 170.18) + ) + (stroke + (width 0) + (type default) + ) + (uuid "948b4f65-90ec-474c-b04e-e973de6a4047") + ) + (wire + (pts + (xy 40.64 53.34) (xy 45.72 53.34) + ) + (stroke + (width 0) + (type default) + ) + (uuid "95776100-1955-404b-b7f1-a1a73101730f") + ) + (wire + (pts + (xy 85.09 55.88) (xy 101.6 55.88) + ) + (stroke + (width 0) + (type default) + ) + (uuid "9643bb50-d437-43a0-aaa9-6fa922f60138") + ) + (wire + (pts + (xy 123.19 127) (xy 144.78 127) + ) + (stroke + (width 0) + (type default) + ) + (uuid "9652a302-9965-4e41-b90f-798d847304b3") + ) + (wire + (pts + (xy 106.68 170.18) (xy 107.95 170.18) + ) + (stroke + (width 0) + (type default) + ) + (uuid "96f9c5ff-92d3-4bd3-969f-590f0a760f06") + ) + (wire + (pts + (xy 149.86 132.08) (xy 149.86 144.145) + ) + (stroke + (width 0) + (type default) + ) + (uuid "98825335-58d1-4bec-bc37-1cfbd1d8c67c") + ) + (wire + (pts + (xy 52.07 113.03) (xy 68.58 113.03) + ) + (stroke + (width 0) + (type default) + ) + (uuid "9889944f-b029-470d-843c-31d2be8c43d0") + ) + (wire + (pts + (xy 187.96 109.22) (xy 203.2 109.22) + ) + (stroke + (width 0) + (type default) + ) + (uuid "9a287aeb-1c97-40f2-abaa-fe8a0ec5fddb") + ) + (wire + (pts + (xy 160.02 76.2) (xy 160.02 88.9) + ) + (stroke + (width 0) + (type default) + ) + (uuid "9add52ab-e73e-4d91-879f-7357f15f15d3") + ) + (wire + (pts + (xy 172.72 63.5) (xy 172.72 88.9) + ) + (stroke + (width 0) + (type default) + ) + (uuid "9b57c0f7-023c-4b9f-a444-542b154e3f47") + ) + (wire + (pts + (xy 229.87 139.7) (xy 241.3 139.7) + ) + (stroke + (width 0) + (type default) + ) + (uuid "9b7c240b-3b58-4aaa-b132-84cfd139293f") + ) + (wire + (pts + (xy 252.73 26.67) (xy 252.73 33.02) + ) + (stroke + (width 0) + (type default) + ) + (uuid "9b941760-aa41-4bda-a070-83a5e8da6461") + ) + (wire + (pts + (xy 40.64 40.64) (xy 50.8 40.64) + ) + (stroke + (width 0) + (type default) + ) + (uuid "9c5a75e0-d66a-4e19-8139-747b5a4c2a66") + ) + (wire + (pts + (xy 248.92 144.78) (xy 251.46 144.78) + ) + (stroke + (width 0) + (type default) + ) + (uuid "9d0f7be0-d24b-47fe-8d5f-201679ba63fd") + ) + (wire + (pts + (xy 50.8 90.17) (xy 68.58 90.17) + ) + (stroke + (width 0) + (type default) + ) + (uuid "9f20c051-d63d-4d45-a81c-3efc727b3379") + ) + (wire + (pts + (xy 35.56 90.17) (xy 50.8 90.17) + ) + (stroke + (width 0) + (type default) + ) + (uuid "a0ef95a9-8bea-46c6-ba6a-d6f9f64cea61") + ) + (wire + (pts + (xy 157.48 71.12) (xy 157.48 88.9) + ) + (stroke + (width 0) + (type default) + ) + (uuid "a21450c8-f3ae-43eb-a9d5-11adce89c1f1") + ) + (wire + (pts + (xy 160.02 132.08) (xy 160.02 151.13) + ) + (stroke + (width 0) + (type default) + ) + (uuid "a53cb74b-b460-44ad-b050-031ab179966a") + ) + (wire + (pts + (xy 170.18 74.93) (xy 170.18 88.9) + ) + (stroke + (width 0) + (type default) + ) + (uuid "a59b5754-fe44-4ded-b72a-5d3f170d4dd5") + ) + (wire + (pts + (xy 187.96 127) (xy 203.2 127) + ) + (stroke + (width 0) + (type default) + ) + (uuid "a7e4dd91-34c4-479b-bf4a-fbeb9b3e0947") + ) + (wire + (pts + (xy 190.5 34.29) (xy 196.85 34.29) + ) + (stroke + (width 0) + (type default) + ) + (uuid "a840155e-eb43-4336-9b9f-4d7043121a95") + ) + (wire + (pts + (xy 232.41 26.67) (xy 232.41 33.02) + ) + (stroke + (width 0) + (type default) + ) + (uuid "a956dacc-30a3-4321-8f8e-7e65a6d33b19") + ) + (wire + (pts + (xy 31.75 152.4) (xy 43.18 152.4) + ) + (stroke + (width 0) + (type default) + ) + (uuid "af32b913-3839-4d06-89e1-085f5a905fbf") + ) + (wire + (pts + (xy 43.18 58.42) (xy 43.18 63.5) + ) + (stroke + (width 0) + (type default) + ) + (uuid "b0616a21-133c-4dcc-b84e-c6a97f8f594f") + ) + (wire + (pts + (xy 43.18 27.94) (xy 43.18 55.88) + ) + (stroke + (width 0) + (type default) + ) + (uuid "b1529ae2-4d50-41f5-8da3-ac204b86c297") + ) + (wire + (pts + (xy 49.53 95.25) (xy 35.56 95.25) + ) + (stroke + (width 0) + (type default) + ) + (uuid "b2092ad6-1a2a-415f-a85c-1db6b6623de2") + ) + (wire + (pts + (xy 209.55 53.34) (xy 217.17 53.34) + ) + (stroke + (width 0) + (type default) + ) + (uuid "b3ad80bf-f20b-41a4-b801-5df4f1839f82") + ) + (wire + (pts + (xy 96.52 116.84) (xy 96.52 118.11) + ) + (stroke + (width 0) + (type default) + ) + (uuid "b68451e4-a557-4542-aa0c-d3c0a7b38b1c") + ) + (wire + (pts + (xy 116.84 104.14) (xy 144.78 104.14) + ) + (stroke + (width 0) + (type default) + ) + (uuid "b933b00a-6781-4161-9b4a-e03ca083faeb") + ) + (wire + (pts + (xy 222.25 99.06) (xy 231.14 99.06) + ) + (stroke + (width 0) + (type default) + ) + (uuid "b94c4dc7-fb5a-4e0f-864e-aa71873f2c89") + ) + (wire + (pts + (xy 45.72 53.34) (xy 45.72 30.48) + ) + (stroke + (width 0) + (type default) + ) + (uuid "b9c450f2-9bfa-43df-bfd2-eb3d2d426964") + ) + (wire + (pts + (xy 223.52 138.43) (xy 223.52 137.16) + ) + (stroke + (width 0) + (type default) + ) + (uuid "bf7d254c-a01a-4771-88b7-b40f8c2c8707") + ) + (wire + (pts + (xy 35.56 107.95) (xy 49.53 107.95) + ) + (stroke + (width 0) + (type default) + ) + (uuid "bf84be26-9ac8-4f7b-a934-3a573d1ac936") + ) + (wire + (pts + (xy 40.64 35.56) (xy 58.42 35.56) + ) + (stroke + (width 0) + (type default) + ) + (uuid "bf86c109-adc6-49de-bf52-8b099c3cabb4") + ) + (wire + (pts + (xy 49.53 58.42) (xy 58.42 58.42) + ) + (stroke + (width 0) + (type default) + ) + (uuid "c0f477ad-c51b-46bd-8eea-028a65e67899") + ) + (wire + (pts + (xy 170.18 132.08) (xy 170.18 146.05) + ) + (stroke + (width 0) + (type default) + ) + (uuid "c203776c-c323-46c4-b1d3-9d1c4656c4c4") + ) + (wire + (pts + (xy 237.49 26.67) (xy 237.49 33.02) + ) + (stroke + (width 0) + (type default) + ) + (uuid "c238b4b9-d86f-41a6-9939-71a20ec018bd") + ) + (wire + (pts + (xy 68.58 30.48) (xy 45.72 30.48) + ) + (stroke + (width 0) + (type default) + ) + (uuid "c42044bb-7b3d-4c02-bb19-c9ee4d2152db") + ) + (wire + (pts + (xy 180.34 74.93) (xy 180.34 88.9) + ) + (stroke + (width 0) + (type default) + ) + (uuid "c666df65-3b72-4b72-bdec-cf6c8e58fe74") + ) + (wire + (pts + (xy 182.88 74.93) (xy 182.88 88.9) + ) + (stroke + (width 0) + (type default) + ) + (uuid "c6c8c491-ec3c-4aa7-8018-934ea3784c23") + ) + (wire + (pts + (xy 113.03 116.84) (xy 113.03 115.57) + ) + (stroke + (width 0) + (type default) + ) + (uuid "c8e765e4-9b92-4fad-9653-72b8c27944f7") + ) + (wire + (pts + (xy 165.1 34.29) (xy 158.75 34.29) + ) + (stroke + (width 0) + (type default) + ) + (uuid "c93aa1a2-83c7-4424-8656-57a32df2a0e9") + ) + (wire + (pts + (xy 123.19 124.46) (xy 144.78 124.46) + ) + (stroke + (width 0) + (type default) + ) + (uuid "cb03fe9f-8875-4540-a775-8ca501103200") + ) + (wire + (pts + (xy 187.96 119.38) (xy 203.2 119.38) + ) + (stroke + (width 0) + (type default) + ) + (uuid "cb8969fd-f261-4ea2-bfef-da594ec8c031") + ) + (wire + (pts + (xy 187.96 116.84) (xy 203.2 116.84) + ) + (stroke + (width 0) + (type default) + ) + (uuid "cd5bcb8a-8fda-4879-96a4-e34d2e280aab") + ) + (wire + (pts + (xy 97.79 106.68) (xy 113.03 106.68) + ) + (stroke + (width 0) + (type default) + ) + (uuid "d3111b08-e3ad-431d-a491-9fe01dc68bcf") + ) + (wire + (pts + (xy 127 90.17) (xy 127 87.63) + ) + (stroke + (width 0) + (type default) + ) + (uuid "d363afc7-a389-428b-a860-10b1cbcfd8af") + ) + (wire + (pts + (xy 116.84 170.18) (xy 116.84 172.72) + ) + (stroke + (width 0) + (type default) + ) + (uuid "d6c4dd86-7842-4e20-b395-8022679f2bfd") + ) + (wire + (pts + (xy 119.38 121.92) (xy 144.78 121.92) + ) + (stroke + (width 0) + (type default) + ) + (uuid "d93267f2-2d03-4b7b-8e29-8f1c6cdf3db0") + ) + (wire + (pts + (xy 92.71 29.21) (xy 92.71 30.48) + ) + (stroke + (width 0) + (type default) + ) + (uuid "dae93426-f60f-49f3-916b-5d850a0fa483") + ) + (wire + (pts + (xy 250.19 26.67) (xy 250.19 33.02) + ) + (stroke + (width 0) + (type default) + ) + (uuid "dd67b9d3-dcb4-4714-a1f8-1df5f6a7ccfa") + ) + (wire + (pts + (xy 50.8 45.72) (xy 50.8 40.64) + ) + (stroke + (width 0) + (type default) + ) + (uuid "df9f4e8e-ee35-4c74-a8d7-4433c5a1304b") + ) + (wire + (pts + (xy 43.18 152.4) (xy 54.61 152.4) + ) + (stroke + (width 0) + (type default) + ) + (uuid "dff176a0-3300-4c99-a3aa-b92ca49c0d57") + ) + (wire + (pts + (xy 48.26 38.1) (xy 48.26 43.18) + ) + (stroke + (width 0) + (type default) + ) + (uuid "e1b4699a-232d-4700-aba8-bcf853a8c971") + ) + (wire + (pts + (xy 40.64 43.18) (xy 48.26 43.18) + ) + (stroke + (width 0) + (type default) + ) + (uuid "e3815b90-cda8-45b0-a3aa-01c821e46749") + ) + (wire + (pts + (xy 104.14 127) (xy 104.14 119.38) + ) + (stroke + (width 0) + (type default) + ) + (uuid "e3a1447c-2b80-4a91-b4b2-af48702ad911") + ) + (wire + (pts + (xy 31.75 160.02) (xy 43.18 160.02) + ) + (stroke + (width 0) + (type default) + ) + (uuid "e5127b5a-e94b-447a-87b1-b2a72c447fe0") + ) + (wire + (pts + (xy 54.61 160.02) (xy 66.04 160.02) + ) + (stroke + (width 0) + (type default) + ) + (uuid "e64f4e58-1932-4a27-a689-dcdaff9c453f") + ) + (wire + (pts + (xy 248.92 139.7) (xy 251.46 139.7) + ) + (stroke + (width 0) + (type default) + ) + (uuid "e71af07e-24f6-4607-b8b9-257544dfb5aa") + ) + (wire + (pts + (xy 180.34 132.08) (xy 180.34 146.05) + ) + (stroke + (width 0) + (type default) + ) + (uuid "e77d66be-6cbf-45a6-a78e-010a8f3bd073") + ) + (wire + (pts + (xy 187.96 101.6) (xy 214.63 101.6) + ) + (stroke + (width 0) + (type default) + ) + (uuid "ea0d6efe-e41e-4854-a9b2-cc498ecd4559") + ) + (wire + (pts + (xy 147.32 132.08) (xy 147.32 154.94) + ) + (stroke + (width 0) + (type default) + ) + (uuid "ea30c5f2-fdc7-4854-b627-d57935e7ff95") + ) + (wire + (pts + (xy 166.37 60.96) (xy 166.37 66.04) + ) + (stroke + (width 0) + (type default) + ) + (uuid "eaa69509-c231-43db-91d5-ea5ac01fffaa") + ) + (wire + (pts + (xy 177.8 41.91) (xy 177.8 45.72) + ) + (stroke + (width 0) + (type default) + ) + (uuid "eac2031d-d945-4e04-aa30-8c7367b9c183") + ) + (wire + (pts + (xy 119.38 116.84) (xy 113.03 116.84) + ) + (stroke + (width 0) + (type default) + ) + (uuid "ead3c704-ac61-4b09-aeed-d2cedb6b437a") + ) + (wire + (pts + (xy 262.89 26.67) (xy 262.89 33.02) + ) + (stroke + (width 0) + (type default) + ) + (uuid "eb6b5e7c-5dd8-4495-9ca9-d2ba986d3001") + ) + (wire + (pts + (xy 40.64 45.72) (xy 50.8 45.72) + ) + (stroke + (width 0) + (type default) + ) + (uuid "ec702bef-5889-450c-ac03-61deff6a9d14") + ) + (wire + (pts + (xy 92.71 30.48) (xy 92.71 46.99) + ) + (stroke + (width 0) + (type default) + ) + (uuid "ec8ce5c4-89a5-4ead-8a22-3b3f7c812d40") + ) + (wire + (pts + (xy 187.96 114.3) (xy 203.2 114.3) + ) + (stroke + (width 0) + (type default) + ) + (uuid "f068bd3e-7618-4cb1-b357-1d5c2c6a400c") + ) + (wire + (pts + (xy 248.92 142.24) (xy 251.46 142.24) + ) + (stroke + (width 0) + (type default) + ) + (uuid "f0733082-a5b6-4e44-a8da-8f0ee9b9eecd") + ) + (wire + (pts + (xy 245.11 26.67) (xy 245.11 33.02) + ) + (stroke + (width 0) + (type default) + ) + (uuid "f084dd96-f988-42ba-8fa0-09fd926da3c6") + ) + (wire + (pts + (xy 116.84 97.79) (xy 116.84 100.33) + ) + (stroke + (width 0) + (type default) + ) + (uuid "f134bcc4-4d57-4cd8-a1b2-4fe2f3604f8a") + ) + (wire + (pts + (xy 222.25 101.6) (xy 231.14 101.6) + ) + (stroke + (width 0) + (type default) + ) + (uuid "f37e29b4-3254-4a1b-bcbd-bfdfab2178e0") + ) + (wire + (pts + (xy 187.96 99.06) (xy 214.63 99.06) + ) + (stroke + (width 0) + (type default) + ) + (uuid "f38eaf57-6f2d-42ce-ae55-52b23179a480") + ) + (wire + (pts + (xy 187.96 91.44) (xy 201.93 91.44) + ) + (stroke + (width 0) + (type default) + ) + (uuid "f3de37ac-79a4-432e-8b72-23af07c86468") + ) + (wire + (pts + (xy 52.07 113.03) (xy 35.56 113.03) + ) + (stroke + (width 0) + (type default) + ) + (uuid "f562a574-0131-4a70-ba89-1af5498678c1") + ) + (wire + (pts + (xy 177.8 132.08) (xy 177.8 146.05) + ) + (stroke + (width 0) + (type default) + ) + (uuid "f6636cd1-df89-4024-aee5-b014c358fbfb") + ) + (wire + (pts + (xy 52.07 97.79) (xy 52.07 113.03) + ) + (stroke + (width 0) + (type default) + ) + (uuid "f664caaa-6156-40cc-a02a-6571d368a215") + ) + (wire + (pts + (xy 187.96 121.92) (xy 203.2 121.92) + ) + (stroke + (width 0) + (type default) + ) + (uuid "f7bbc05e-208b-4916-9dee-edba1d06a38c") + ) + (wire + (pts + (xy 157.48 60.96) (xy 157.48 63.5) + ) + (stroke + (width 0) + (type default) + ) + (uuid "fc79c6ac-2bdc-4340-a428-641e42431876") + ) + (wire + (pts + (xy 177.8 74.93) (xy 177.8 88.9) + ) + (stroke + (width 0) + (type default) + ) + (uuid "fe432645-29fe-4f55-967f-c827e1b1b2b9") + ) + (wire + (pts + (xy 127 97.79) (xy 127 100.33) + ) + (stroke + (width 0) + (type default) + ) + (uuid "fed75f8e-bc0f-4a62-8737-f6f71bb774c6") + ) + (wire + (pts + (xy 257.81 26.67) (xy 257.81 33.02) + ) + (stroke + (width 0) + (type default) + ) + (uuid "ffb4802f-20bc-4943-92cd-0bdee9542faf") + ) + (wire + (pts + (xy 105.41 91.44) (xy 105.41 87.63) + ) + (stroke + (width 0) + (type default) + ) + (uuid "ffd7b1eb-f0cb-4e45-bbcc-845c938910c9") + ) + (label "ROW5" + (at 167.64 146.05 90) + (effects + (font + (size 1.27 1.27) + ) + (justify left bottom) + ) + (uuid "0e3575f6-439b-4d0a-8d66-63ffe5b9a82f") + ) + (label "VDD" + (at 147.32 77.47 270) + (effects + (font + (size 1.27 1.27) + ) + (justify right bottom) + ) + (uuid "1054b2ed-1342-4dda-a350-724877e8b849") + ) + (label "UART_TX_WEST" + (at 212.09 104.14 180) + (effects + (font + (size 1.27 1.27) + ) + (justify right bottom) + ) + (uuid "135e3e86-260c-4123-a29c-12df78031596") + ) + (label "D-" + (at 101.6 38.1 180) + (effects + (font + (size 1.27 1.27) + ) + (justify right bottom) + ) + (uuid "1491677d-b6de-4782-8f1b-3412b5901f80") + ) + (label "UART_TX_NORTH" + (at 49.53 92.71 180) + (effects + (font + (size 1.27 1.27) + ) + (justify right bottom) + ) + (uuid "15ab73e8-a151-44d6-9f4e-c93e8cd0680e") + ) + (label "COL7" + (at 247.65 26.67 270) + (effects + (font + (size 1.27 1.27) + ) + (justify right bottom) + ) + (uuid "1a741b36-5f5e-4bd0-ab79-047d4eb60e4c") + ) + (label "COL5" + (at 242.57 26.67 270) + (effects + (font + (size 1.27 1.27) + ) + (justify right bottom) + ) + (uuid "1fc100fc-abc3-448f-82e1-8234efa092aa") + ) + (label "COL8" + (at 203.2 109.22 180) + (effects + (font + (size 1.27 1.27) + ) + (justify right bottom) + ) + (uuid "2120f686-1469-485c-a964-4af544d4c8a0") + ) + (label "UART_TX_SOUTH" + (at 53.34 95.25 0) + (effects + (font + (size 1.27 1.27) + ) + (justify left bottom) + ) + (uuid "238c0f40-805c-45ef-b9d9-f32048674026") + ) + (label "VSS" + (at 182.88 143.51 90) + (effects + (font + (size 1.27 1.27) + ) + (justify left bottom) + ) + (uuid "24f3dd47-e1e3-4f7f-8d03-05628870f1ec") + ) + (label "Place Near VDD Ports" + (at 41.91 165.1 0) + (effects + (font + (size 1.27 1.27) + ) + (justify left bottom) + ) + (uuid "2bb4aae6-3cf2-49aa-87c1-180df30a6830") + ) + (label "COL12" + (at 203.2 119.38 180) + (effects + (font + (size 1.27 1.27) + ) + (justify right bottom) + ) + (uuid "2dd81f62-0ea1-48ba-94ce-6214aee431b5") + ) + (label "ROW1" + (at 177.8 146.05 90) + (effects + (font + (size 1.27 1.27) + ) + (justify left bottom) + ) + (uuid "2df47b70-1930-4887-8317-8498f4292996") + ) + (label "COL1" + (at 160.02 76.2 270) + (effects + (font + (size 1.27 1.27) + ) + (justify right bottom) + ) + (uuid "35cf5703-b237-43e3-8def-1a83fcdd56a2") + ) + (label "NRST" + (at 229.87 142.24 0) + (effects + (font + (size 1.27 1.27) + ) + (justify left bottom) + ) + (uuid "377aec81-2f9d-439a-8ff8-8351613b5a76") + ) + (label "SWO" + (at 170.18 74.93 270) + (effects + (font + (size 1.27 1.27) + ) + (justify right bottom) + ) + (uuid "393fc858-5f6b-4cf3-b96b-54423a182dd6") + ) + (label "VDD" + (at 185.42 143.51 90) + (effects + (font + (size 1.27 1.27) + ) + (justify left bottom) + ) + (uuid "3bb57688-3b26-4654-b7b3-b2e87452539d") + ) + (label "COL7" + (at 182.88 74.93 270) + (effects + (font + (size 1.27 1.27) + ) + (justify right bottom) + ) + (uuid "40ac12a5-ccc3-4c63-8eaa-cd830bb4c50c") + ) + (label "VDD" + (at 139.7 73.66 180) + (effects + (font + (size 1.27 1.27) + ) + (justify right bottom) + ) + (uuid "41d1ade5-8210-4054-9cb5-676e258ad061") + ) + (label "COL3" + (at 165.1 76.2 270) + (effects + (font + (size 1.27 1.27) + ) + (justify right bottom) + ) + (uuid "450f42af-3bab-4873-883e-859e675ee261") + ) + (label "UART_TX_NORTH" + (at 175.26 63.5 270) + (effects + (font + (size 1.27 1.27) + ) + (justify right bottom) + ) + (uuid "4908fc84-621c-47df-aa9c-5c6724d4e267") + ) + (label "ROT_TIMA" + (at 162.56 151.13 90) + (effects + (font + (size 1.27 1.27) + ) + (justify left bottom) + ) + (uuid "49a74743-1f19-4803-95ce-65fbcfcf3666") + ) + (label "COL3" + (at 237.49 26.67 270) + (effects + (font + (size 1.27 1.27) + ) + (justify right bottom) + ) + (uuid "4aaa85ea-5d17-49e2-919b-b9dd10468d2d") + ) + (label "UART_RX_WEST" + (at 49.53 110.49 180) + (effects + (font + (size 1.27 1.27) + ) + (justify right bottom) + ) + (uuid "4f52174a-7166-4096-85f8-c4b3064c9d92") + ) + (label "VDD" + (at 33.02 152.4 0) + (effects + (font + (size 1.27 1.27) + ) + (justify left bottom) + ) + (uuid "52f6274d-9319-425e-9856-6028f0c4375f") + ) + (label "COL6" + (at 180.34 74.93 270) + (effects + (font + (size 1.27 1.27) + ) + (justify right bottom) + ) + (uuid "55ef1033-52ad-4a4c-abb2-4a87f669e520") + ) + (label "COL4" + (at 240.03 26.67 270) + (effects + (font + (size 1.27 1.27) + ) + (justify right bottom) + ) + (uuid "5631f58f-29f4-432f-9f2e-10f895402ee9") + ) + (label "D-" + (at 231.14 101.6 180) + (effects + (font + (size 1.27 1.27) + ) + (justify right bottom) + ) + (uuid "5795c40c-5423-450b-aa2a-1bd4abcf5b2c") + ) + (label "COL9" + (at 203.2 111.76 180) + (effects + (font + (size 1.27 1.27) + ) + (justify right bottom) + ) + (uuid "5972eccf-3778-4255-b912-a7f3aa8a6514") + ) + (label "D+" + (at 231.14 99.06 180) + (effects + (font + (size 1.27 1.27) + ) + (justify right bottom) + ) + (uuid "5a0b3c86-9793-44d1-a2d8-9600402ced23") + ) + (label "COL4" + (at 167.64 76.2 270) + (effects + (font + (size 1.27 1.27) + ) + (justify right bottom) + ) + (uuid "5a35616b-57aa-45a3-9a4c-738dea73386b") + ) + (label "NRST" + (at 133.35 106.68 180) + (effects + (font + (size 1.27 1.27) + ) + (justify right bottom) + ) + (uuid "5d2adaf2-8f8b-4999-9547-ccedb6613e09") + ) + (label "COL15" + (at 203.2 127 180) + (effects + (font + (size 1.27 1.27) + ) + (justify right bottom) + ) + (uuid "5e32798c-498a-4ed5-abb2-ce1d9bb0940a") + ) + (label "SWO" + (at 229.87 144.78 0) + (effects + (font + (size 1.27 1.27) + ) + (justify left bottom) + ) + (uuid "5ecab8f8-63a0-4572-9b85-28a525a98633") + ) + (label "UART_RX_SOUTH" + (at 147.32 154.94 90) + (effects + (font + (size 1.27 1.27) + ) + (justify left bottom) + ) + (uuid "64a8185d-c8c9-437e-aa1e-0840591f81c7") + ) + (label "UART_TX_WEST" + (at 49.53 107.95 180) + (effects + (font + (size 1.27 1.27) + ) + (justify right bottom) + ) + (uuid "6a08174c-d5da-4dc2-99f0-c0d2873ea18b") + ) + (label "COL10" + (at 255.27 26.67 270) + (effects + (font + (size 1.27 1.27) + ) + (justify right bottom) + ) + (uuid "6d093d61-7183-48e7-a44b-e7ee317c60ce") + ) + (label "COL1" + (at 232.41 26.67 270) + (effects + (font + (size 1.27 1.27) + ) + (justify right bottom) + ) + (uuid "7063eed6-7ae8-40d0-a4eb-cf4cdfda5903") + ) + (label "Place near 5v source" + (at 167.64 22.86 0) + (effects + (font + (size 1.27 1.27) + ) + (justify left bottom) + ) + (uuid "7399cb9d-35cd-4baa-8fc3-1540e41d498b") + ) + (label "UART_RX_EAST" + (at 53.34 107.95 0) + (effects + (font + (size 1.27 1.27) + ) + (justify left bottom) + ) + (uuid "76e1a539-de27-4ae8-b7bf-103892a3248f") + ) + (label "D+" + (at 101.6 55.88 180) + (effects + (font + (size 1.27 1.27) + ) + (justify right bottom) + ) + (uuid "77a3d361-47a0-4b74-9b05-707429d9cf5a") + ) + (label "COL10" + (at 203.2 114.3 180) + (effects + (font + (size 1.27 1.27) + ) + (justify right bottom) + ) + (uuid "77a693a8-cbb0-4a16-9ffa-ff644b1ef66d") + ) + (label "VSS" + (at 149.86 77.47 270) + (effects + (font + (size 1.27 1.27) + ) + (justify right bottom) + ) + (uuid "780166be-d300-4885-bbb9-b8b93658a286") + ) + (label "COL11" + (at 203.2 116.84 180) + (effects + (font + (size 1.27 1.27) + ) + (justify right bottom) + ) + (uuid "7ca58e08-c365-4691-8526-02e2f709f173") + ) + (label "VSS" + (at 149.86 143.51 90) + (effects + (font + (size 1.27 1.27) + ) + (justify left bottom) + ) + (uuid "7df3f09f-d99f-4825-93d4-dbec7ae2c8e3") + ) + (label "ROW3" + (at 172.72 146.05 90) + (effects + (font + (size 1.27 1.27) + ) + (justify left bottom) + ) + (uuid "7fb03eb9-c3d7-4180-8af3-ef370fe9a303") + ) + (label "ROW5" + (at 209.55 58.42 0) + (effects + (font + (size 1.27 1.27) + ) + (justify left bottom) + ) + (uuid "8348d23a-0a8c-4a80-a092-2c011e4ecf26") + ) + (label "COL13" + (at 203.2 121.92 180) + (effects + (font + (size 1.27 1.27) + ) + (justify right bottom) + ) + (uuid "861b9f69-5164-46d8-ad69-517a598a79a4") + ) + (label "VSS" + (at 201.93 93.98 180) + (effects + (font + (size 1.27 1.27) + ) + (justify right bottom) + ) + (uuid "88af95dc-0f61-4228-9028-891eb6470a60") + ) + (label "ROW4" + (at 170.18 146.05 90) + (effects + (font + (size 1.27 1.27) + ) + (justify left bottom) + ) + (uuid "88fc4392-e3af-49a8-8dc2-8937835963c6") + ) + (label "ROW2" + (at 209.55 50.8 0) + (effects + (font + (size 1.27 1.27) + ) + (justify left bottom) + ) + (uuid "8ad74ae9-1513-46cb-b485-847d17f64d1b") + ) + (label "UART_RX_EAST" + (at 123.19 124.46 0) + (effects + (font + (size 1.27 1.27) + ) + (justify left bottom) + ) + (uuid "8b6ebbc2-aa43-45a0-bce1-078bb08c7e1b") + ) + (label "COL15" + (at 267.97 26.67 270) + (effects + (font + (size 1.27 1.27) + ) + (justify right bottom) + ) + (uuid "8b857264-1997-4c08-9752-35456e821526") + ) + (label "RGB_DATAIN" + (at 157.48 151.13 90) + (effects + (font + (size 1.27 1.27) + ) + (justify left bottom) + ) + (uuid "8bd4b99c-2cb7-4e42-a63a-d77ead0034b9") + ) + (label "COL2" + (at 162.56 76.2 270) + (effects + (font + (size 1.27 1.27) + ) + (justify right bottom) + ) + (uuid "8d5ea51c-3018-499a-9feb-77558fc69925") + ) + (label "Place near USB port" + (at 92.71 50.8 0) + (effects + (font + (size 1.27 1.27) + ) + (justify left bottom) + ) + (uuid "8e2d99a6-9b3e-4901-b824-804d2070fbd2") + ) + (label "COL9" + (at 252.73 26.67 270) + (effects + (font + (size 1.27 1.27) + ) + (justify right bottom) + ) + (uuid "92086348-c6ef-454f-890c-11a873ceb43a") + ) + (label "COL5" + (at 177.8 74.93 270) + (effects + (font + (size 1.27 1.27) + ) + (justify right bottom) + ) + (uuid "959bf094-985a-4d26-85c6-29f58b765d35") + ) + (label "Place Near VBAT" + (at 116.84 80.01 0) + (effects + (font + (size 1.27 1.27) + ) + (justify left bottom) + ) + (uuid "97e91aa4-086a-4858-96f5-c1a15bd6f538") + ) + (label "VDD" + (at 152.4 143.51 90) + (effects + (font + (size 1.27 1.27) + ) + (justify left bottom) + ) + (uuid "98066d23-6bbb-440b-b346-e60179dceea1") + ) + (label "UART_RX_WEST" + (at 212.09 106.68 180) + (effects + (font + (size 1.27 1.27) + ) + (justify right bottom) + ) + (uuid "a65b0625-f87d-4d3e-b3ec-fefb39333313") + ) + (label "JTCLK" + (at 229.87 134.62 0) + (effects + (font + (size 1.27 1.27) + ) + (justify left bottom) + ) + (uuid "a709b3fd-11ff-4d03-b13c-ebedc49d9cef") + ) + (label "UART_RX_NORTH" + (at 49.53 95.25 180) + (effects + (font + (size 1.27 1.27) + ) + (justify right bottom) + ) + (uuid "a8b36eb9-36c3-4624-82b4-41d43faf2862") + ) + (label "JTMS" + (at 201.93 96.52 180) + (effects + (font + (size 1.27 1.27) + ) + (justify right bottom) + ) + (uuid "acaae2b4-f10d-4976-875a-301fe9e71b70") + ) + (label "UART_TX_EAST" + (at 53.34 110.49 0) + (effects + (font + (size 1.27 1.27) + ) + (justify left bottom) + ) + (uuid "ae8d8e37-f38f-41fe-903a-1eb9be3bd21d") + ) + (label "JTMS" + (at 229.87 139.7 0) + (effects + (font + (size 1.27 1.27) + ) + (justify left bottom) + ) + (uuid "b1459e8f-23e1-418c-abf2-ccad8c3f1fe5") + ) + (label "UART_TX_SOUTH" + (at 123.19 129.54 0) + (effects + (font + (size 1.27 1.27) + ) + (justify left bottom) + ) + (uuid "b1ac5c45-29f6-49be-86d9-d334cdf2d7b7") + ) + (label "COL6" + (at 245.11 26.67 270) + (effects + (font + (size 1.27 1.27) + ) + (justify right bottom) + ) + (uuid "b6dc15c4-5294-4338-988f-8c3f870110f4") + ) + (label "COL14" + (at 203.2 124.46 180) + (effects + (font + (size 1.27 1.27) + ) + (justify right bottom) + ) + (uuid "bb2ad147-d245-4431-84b9-4648d501513f") + ) + (label "UART_TX_EAST" + (at 123.19 127 0) + (effects + (font + (size 1.27 1.27) + ) + (justify left bottom) + ) + (uuid "bf1851e9-b9a8-4880-a7b6-f35f2d00cfd9") + ) + (label "COL11" + (at 257.81 26.67 270) + (effects + (font + (size 1.27 1.27) + ) + (justify right bottom) + ) + (uuid "bf953326-f2e8-4e46-9ecf-e9fe4295b6b1") + ) + (label "COL2" + (at 234.95 26.67 270) + (effects + (font + (size 1.27 1.27) + ) + (justify right bottom) + ) + (uuid "c2a7c331-a5ed-4a85-82c2-491255966a45") + ) + (label "ROW3" + (at 209.55 53.34 0) + (effects + (font + (size 1.27 1.27) + ) + (justify left bottom) + ) + (uuid "c438aa98-65d2-4007-8f35-dafed4b2a3fe") + ) + (label "COL14" + (at 265.43 26.67 270) + (effects + (font + (size 1.27 1.27) + ) + (justify right bottom) + ) + (uuid "c53d8f3f-c718-483b-bc66-4972501a0ded") + ) + (label "COL12" + (at 260.35 26.67 270) + (effects + (font + (size 1.27 1.27) + ) + (justify right bottom) + ) + (uuid "c6225080-537c-4d55-b636-d4a13e3f4f1d") + ) + (label "JTCLK" + (at 185.42 73.66 270) + (effects + (font + (size 1.27 1.27) + ) + (justify right bottom) + ) + (uuid "d2b99126-8045-457a-9dd5-be1ae59ee2fa") + ) + (label "ROW1" + (at 209.55 48.26 0) + (effects + (font + (size 1.27 1.27) + ) + (justify left bottom) + ) + (uuid "d312f0f4-cc79-473f-a2ed-836b5642b4a2") + ) + (label "ROW4" + (at 209.55 55.88 0) + (effects + (font + (size 1.27 1.27) + ) + (justify left bottom) + ) + (uuid "d75df9b0-4438-4569-8d96-9e0ace9bede8") + ) + (label "ROW2" + (at 175.26 146.05 90) + (effects + (font + (size 1.27 1.27) + ) + (justify left bottom) + ) + (uuid "da058996-2170-4cf5-ab0a-eef5e288bffa") + ) + (label "COL13" + (at 262.89 26.67 270) + (effects + (font + (size 1.27 1.27) + ) + (justify right bottom) + ) + (uuid "dfbee201-609e-420a-8bd4-bc98bce299e1") + ) + (label "VDD" + (at 201.93 91.44 180) + (effects + (font + (size 1.27 1.27) + ) + (justify right bottom) + ) + (uuid "e9b26d3d-3813-4e99-8ea8-af0648067087") + ) + (label "ROT_SW" + (at 154.94 147.32 90) + (effects + (font + (size 1.27 1.27) + ) + (justify left bottom) + ) + (uuid "ecce62bc-b4cc-48bb-a6e3-988ce1c4f4c4") + ) + (label "UART_RX_SOUTH" + (at 53.34 92.71 0) + (effects + (font + (size 1.27 1.27) + ) + (justify left bottom) + ) + (uuid "ef17a05a-3c4b-4a77-a598-a5f8ad4599a9") + ) + (label "UART_RX_NORTH" + (at 172.72 63.5 270) + (effects + (font + (size 1.27 1.27) + ) + (justify right bottom) + ) + (uuid "f0af64ee-d378-41f3-842f-24d5ad4f75d3") + ) + (label "COL8" + (at 250.19 26.67 270) + (effects + (font + (size 1.27 1.27) + ) + (justify right bottom) + ) + (uuid "f325fd11-511d-4af8-8e04-8af1e81ceee5") + ) + (label "ROT_TIMB" + (at 160.02 151.13 90) + (effects + (font + (size 1.27 1.27) + ) + (justify left bottom) + ) + (uuid "fe355360-6bef-43f4-a60d-7c9f0aed2700") + ) + (symbol + (lib_id "PCM_4ms_Power-symbol:GND") + (at 149.86 144.145 0) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (fields_autoplaced yes) + (uuid "12142d74-3d2e-4713-9447-228a4a59b31b") + (property "Reference" "#PWR013" + (at 149.86 150.495 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Value" "GND" + (at 149.86 149.225 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "" + (at 149.86 144.145 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "" + (at 149.86 144.145 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "" + (at 149.86 144.145 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "79c1e8f8-ac62-4d68-b7d9-4530a76b20fd") + ) + (instances + (project "numpad" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82" + (reference "#PWR013") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_4ms_Connector:Conn_01x04") + (at 73.66 107.95 0) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (uuid "16dff95b-3e36-4af3-b88b-15fb8adc8e2f") + (property "Reference" "East1" + (at 79.248 107.95 0) + (effects + (font + (size 1.27 1.27) + ) + (justify left) + ) + ) + (property "Value" "Conn_01x04" + (at 76.2 110.4899 0) + (effects + (font + (size 1.27 1.27) + ) + (justify left) + ) + ) + (property "Footprint" "Connector_PinSocket_2.54mm:PinSocket_1x04_P2.54mm_Vertical" + (at 73.66 100.965 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "" + (at 73.66 107.95 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "HEADER 1x4 MALE PINS 0.100” 180deg" + (at 73.66 107.95 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Specifications" "HEADER 1x4 MALE PINS 0.100” 180deg" + (at 70.485 122.555 0) + (effects + (font + (size 1.27 1.27) + ) + (justify left) + (hide yes) + ) + ) + (property "Manufacturer" "TAD" + (at 71.12 117.348 0) + (effects + (font + (size 1.27 1.27) + ) + (justify left) + (hide yes) + ) + ) + (property "Part Number" "1-0401FBV0T" + (at 71.12 118.872 0) + (effects + (font + (size 1.27 1.27) + ) + (justify left) + (hide yes) + ) + ) + (pin "1" + (uuid "41d3d594-2c33-4367-8359-1b31ee9d9e0e") + ) + (pin "2" + (uuid "b9ea89f1-323d-4571-9eb6-093ad77c06ee") + ) + (pin "3" + (uuid "551282d5-5991-4cb6-b066-7718563ef0bf") + ) + (pin "4" + (uuid "2460e906-92ce-496f-b65b-e5783cab0360") + ) + (instances + (project "numpad" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82" + (reference "East1") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_Capacitor_AKL:C_0805") + (at 66.04 156.21 0) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (uuid "260e3606-a354-4351-a844-1997c309f36f") + (property "Reference" "C6" + (at 60.325 155.067 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Value" "100nF" + (at 60.325 157.607 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "PCM_Capacitor_SMD_AKL:C_0805_2012Metric" + (at 67.0052 160.02 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "~" + (at 66.04 156.21 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "SMD 0805 MLCC capacitor, Alternate KiCad Library" + (at 66.04 156.21 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "2" + (uuid "b88bb4b7-8467-4e01-b0d2-7fbfcd272840") + ) + (pin "1" + (uuid "fba68482-11cf-418d-b65a-ad61b36feb9f") + ) + (instances + (project "numpad" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82" + (reference "C6") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_4ms_Power-symbol:GND") + (at 52.07 118.11 0) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (uuid "28aaff08-a29a-4a24-ac7d-db733f758a5e") + (property "Reference" "#PWR028" + (at 52.07 124.46 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Value" "GND" + (at 52.07 123.19 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "" + (at 52.07 118.11 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "" + (at 52.07 118.11 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "" + (at 52.07 118.11 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "88c2da29-dedb-4ce3-af23-c19dae3a8d2a") + ) + (instances + (project "numpad" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82" + (reference "#PWR028") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_4ms_Power-symbol:GND") + (at 109.22 76.2 0) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (fields_autoplaced yes) + (uuid "2c77678b-8e1f-43de-9ae0-b5fb80b5d1ac") + (property "Reference" "#PWR02" + (at 109.22 82.55 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Value" "GND" + (at 109.22 81.28 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "" + (at 109.22 76.2 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "" + (at 109.22 76.2 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "" + (at 109.22 76.2 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "bded81a6-5439-4584-9cec-c42bf66caf54") + ) + (instances + (project "numpad" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82" + (reference "#PWR02") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "stm32f446ret6:STM32F446RET6") + (at 144.78 88.9 0) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (fields_autoplaced yes) + (uuid "31831253-77ba-4c6e-9363-32c75e9e329b") + (property "Reference" "U1" + (at 193.04 85.0198 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Value" "~" + (at 193.04 87.5598 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "footprints:LQFP64-10x10mm" + (at 144.78 88.9 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "" + (at 144.78 88.9 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "" + (at 144.78 88.9 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "28" + (uuid "0886e1c2-3ce9-47e5-86c6-0f285bd776e5") + ) + (pin "56" + (uuid "20a27dd1-d910-4162-aef4-d2e08693b946") + ) + (pin "47" + (uuid "d09717ee-1aed-46b0-8158-7b026c0ada04") + ) + (pin "14" + (uuid "84b0538f-607e-4d0d-9fa8-926b1ea240ff") + ) + (pin "31" + (uuid "8b45ff39-69a8-45b5-97b2-6463c65a3696") + ) + (pin "64" + (uuid "1bce4abd-3e9b-4533-aac9-cffa72738c1b") + ) + (pin "35" + (uuid "235492d7-f22e-4ea4-9887-1910533d3793") + ) + (pin "39" + (uuid "07655dc7-4bde-40e4-ac89-69b63ed018e3") + ) + (pin "41" + (uuid "32984301-ee58-4d34-966d-88daef772143") + ) + (pin "37" + (uuid "edff6ede-75da-4306-8a75-c200cfd6eaa0") + ) + (pin "17" + (uuid "920831fe-461b-4699-95f5-6c4134d14979") + ) + (pin "61" + (uuid "79c24d0f-576f-41eb-9c74-eb83570833f1") + ) + (pin "44" + (uuid "c5256497-ef95-41c1-a6dc-8f776448042f") + ) + (pin "42" + (uuid "b23a8609-fd55-48ad-b6ff-aa70929a2e71") + ) + (pin "58" + (uuid "0ec6a147-5c7e-4392-b48a-52ad9cc58e1d") + ) + (pin "3" + (uuid "3455f583-b715-48f2-8fd1-67ab90b6ee5f") + ) + (pin "4" + (uuid "1cd82aee-006f-40c1-90c6-f6b046ff3b6b") + ) + (pin "6" + (uuid "ebe87469-e99d-4253-b7fb-c316a3aeefd6") + ) + (pin "33" + (uuid "5604e812-811d-4f56-b6ed-13e9c98ca811") + ) + (pin "52" + (uuid "63989350-b9f7-4686-837e-0632988867bc") + ) + (pin "16" + (uuid "0f03b811-92cd-4b3a-98ad-434e0517d0b3") + ) + (pin "19" + (uuid "862ecf73-59e8-476e-9b1e-18ccd0373e59") + ) + (pin "15" + (uuid "d7d7a630-c872-4a7a-a052-78958e4b3d4c") + ) + (pin "27" + (uuid "f23bcd51-6fbd-4172-a344-de5618516543") + ) + (pin "45" + (uuid "cc8d190b-da82-4e03-829b-61cb952ddb35") + ) + (pin "54" + (uuid "45419dc1-1846-4b15-8085-60318c5d52cd") + ) + (pin "5" + (uuid "7d3a1d78-2e56-4aba-9ad9-1dfb2935ff3e") + ) + (pin "22" + (uuid "30ba65c9-4009-4f0c-aa96-58e9a7a3e053") + ) + (pin "32" + (uuid "a632e59d-ae7f-4350-bebe-0123c4c0ad17") + ) + (pin "29" + (uuid "6358c15a-584d-4013-96fe-c8960f71f2e8") + ) + (pin "49" + (uuid "5fe23252-a936-43e2-80e8-0d9cc4e3e8c7") + ) + (pin "36" + (uuid "723f0728-a816-4106-8cc8-79a115e06323") + ) + (pin "10" + (uuid "30883165-5d7c-43cd-900c-d10b897a1ab2") + ) + (pin "21" + (uuid "a96c1813-17b5-4c46-8379-d84aa746bc90") + ) + (pin "50" + (uuid "51f78068-852f-4ddb-8f3c-e7a1091068e2") + ) + (pin "43" + (uuid "cfafc677-c626-44be-b44a-62426b0dc726") + ) + (pin "25" + (uuid "40e15d3d-c577-4ee1-8dbc-0d26075063d0") + ) + (pin "18" + (uuid "6df42964-3fdc-4b5b-9d9e-bf61c067f092") + ) + (pin "63" + (uuid "5c191ece-be23-4144-ac2d-a6848f98342e") + ) + (pin "57" + (uuid "764d79ea-2d55-4ba4-b1db-9401b46e1d85") + ) + (pin "55" + (uuid "23a866ab-8709-4969-b18f-fe0613aed4e5") + ) + (pin "60" + (uuid "7d012868-a716-412a-83f1-067b33448789") + ) + (pin "59" + (uuid "d46f9490-ec55-496c-962e-bd35bb040115") + ) + (pin "38" + (uuid "a7851fa2-bc79-4c50-acd6-02fe8d86fa5b") + ) + (pin "51" + (uuid "7a65ae2d-583b-410c-b973-ba1f6df9e160") + ) + (pin "26" + (uuid "3d4cb577-6d99-4470-b559-2dd622aac9ba") + ) + (pin "53" + (uuid "f56c7708-5f27-46fd-bc0b-e03968931698") + ) + (pin "46" + (uuid "5f2def18-53df-4421-b01f-456d9a467ea9") + ) + (pin "2" + (uuid "78577e45-40a6-49c2-ac0c-7dcf40cb21cd") + ) + (pin "12" + (uuid "27389f66-ca3b-43bd-b08f-191429db1f5b") + ) + (pin "7" + (uuid "a90ee11e-33d7-4788-9692-030d14bdf9cd") + ) + (pin "62" + (uuid "1ad8762d-34b5-4230-8437-34eda152d3bd") + ) + (pin "30" + (uuid "517a2950-a2ac-4d9e-9b6d-3267103ba3f4") + ) + (pin "40" + (uuid "890d5658-68c2-4050-ba25-0c99b39796cc") + ) + (pin "24" + (uuid "d53edb8c-64c4-4ad2-b2e8-f4b87eb7a13d") + ) + (pin "20" + (uuid "b61b658c-d66f-4ff1-855b-1a7eb150bbe0") + ) + (pin "23" + (uuid "96acca93-1232-452a-b115-1199bc7ea978") + ) + (pin "48" + (uuid "4a02a6e1-a599-4925-8fbc-e7615cbf40a6") + ) + (pin "1" + (uuid "8d16c66f-66e1-4192-8c34-f73f2720c510") + ) + (pin "11" + (uuid "acd903a3-4cbb-4eab-90ca-7be92d2a28f8") + ) + (pin "34" + (uuid "49d3cc52-c998-46b8-964f-ec515615073a") + ) + (pin "8" + (uuid "28a83762-9718-4da2-aaeb-d6d1942e8bee") + ) + (pin "9" + (uuid "0b6f30a8-4e8e-4409-82ef-00e7e36942e7") + ) + (pin "13" + (uuid "918ec7cf-b2b8-472a-bab3-6d9bae41f892") + ) + (instances + (project "" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82" + (reference "U1") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_Capacitor_AKL:C_0805") + (at 190.5 38.1 180) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (uuid "35f94759-1894-4596-badb-3697130513d4") + (property "Reference" "C8" + (at 195.326 36.83 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Value" "10uF" + (at 195.326 39.37 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "PCM_Capacitor_SMD_AKL:C_0805_2012Metric" + (at 189.5348 34.29 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "~" + (at 190.5 38.1 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "SMD 0805 MLCC capacitor, Alternate KiCad Library" + (at 190.5 38.1 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "2" + (uuid "50e79932-a377-4ca0-bcf1-45b87e94efc9") + ) + (pin "1" + (uuid "d398b287-c408-45b3-9888-e8ce471e6e8f") + ) + (instances + (project "numpad" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82" + (reference "C8") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "power:GND") + (at 116.84 172.72 0) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (fields_autoplaced yes) + (uuid "362e8ab3-80aa-4833-9980-401806e826a4") + (property "Reference" "#PWR024" + (at 116.84 179.07 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Value" "AGND" + (at 116.84 177.8 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "" + (at 116.84 172.72 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "" + (at 116.84 172.72 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "Power symbol creates a global label with name \"GND\" , ground" + (at 116.84 172.72 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "6d353520-d3c5-4dc1-8dbf-e569cd3072ae") + ) + (instances + (project "" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82" + (reference "#PWR024") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_4ms_Connector:Conn_01x04") + (at 30.48 95.25 180) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (uuid "38beb260-5ceb-4b19-afa7-0dbaab81122b") + (property "Reference" "North1" + (at 22.098 92.202 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Value" "Conn_01x04" + (at 22.098 94.742 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "Connector_PinSocket_2.54mm:PinSocket_1x04_P2.54mm_Vertical" + (at 30.48 102.235 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "" + (at 30.48 95.25 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "HEADER 1x4 MALE PINS 0.100” 180deg" + (at 30.48 95.25 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Specifications" "HEADER 1x4 MALE PINS 0.100” 180deg" + (at 33.655 80.645 0) + (effects + (font + (size 1.27 1.27) + ) + (justify left) + (hide yes) + ) + ) + (property "Manufacturer" "TAD" + (at 33.02 85.852 0) + (effects + (font + (size 1.27 1.27) + ) + (justify left) + (hide yes) + ) + ) + (property "Part Number" "1-0401FBV0T" + (at 33.02 84.328 0) + (effects + (font + (size 1.27 1.27) + ) + (justify left) + (hide yes) + ) + ) + (pin "1" + (uuid "d38dffee-7776-49d0-9698-44ef3d3ba56a") + ) + (pin "2" + (uuid "293e4a08-e99f-4d35-a342-3d56e0ad1321") + ) + (pin "3" + (uuid "7029ed19-77dd-46f6-ae92-4a94d57fd405") + ) + (pin "4" + (uuid "b427cede-7495-4e46-95bf-b517dd7e73d6") + ) + (instances + (project "" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82" + (reference "North1") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_SL_Devices:Push_Button") + (at 119.38 111.76 270) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (fields_autoplaced yes) + (uuid "3cd8ba19-3dca-4432-8dd9-49896aa80d3e") + (property "Reference" "SW2" + (at 123.19 110.4899 90) + (effects + (font + (size 1.27 1.27) + ) + (justify left) + ) + ) + (property "Value" "Push_Button" + (at 123.19 113.0299 90) + (effects + (font + (size 1.27 1.27) + ) + (justify left) + ) + ) + (property "Footprint" "PCM_marbastlib-various:SW_SPST_SKQG_WithStem" + (at 116.205 111.633 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "" + (at 119.38 111.76 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "Common 6mmx6mm Push Button" + (at 119.38 111.76 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "f1a272e7-4e0d-4b33-a06c-45468a5183c5") + ) + (pin "2" + (uuid "11cefee7-7380-400c-8503-c20b77cd8203") + ) + (instances + (project "" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82" + (reference "SW2") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_Capacitor_AKL:C_0805") + (at 127 93.98 180) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (uuid "3cf6d79a-8b3d-4cf7-a145-285fd4bdd59f") + (property "Reference" "C1" + (at 132.08 92.71 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Value" "20pF" + (at 132.08 95.25 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "PCM_Capacitor_SMD_AKL:C_0805_2012Metric" + (at 126.0348 90.17 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "~" + (at 127 93.98 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "SMD 0805 MLCC capacitor, Alternate KiCad Library" + (at 127 93.98 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "2" + (uuid "fe9b3cee-e1f9-414c-8848-237d3bdce510") + ) + (pin "1" + (uuid "80ae2b43-5592-4ef5-8d35-e6280ff59a46") + ) + (instances + (project "" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82" + (reference "C1") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_4ms_Diode:D_Generic") + (at 72.39 30.48 180) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (fields_autoplaced yes) + (uuid "3e4adb9d-795b-4ed4-9421-13dd684d8460") + (property "Reference" "D2" + (at 72.39 24.13 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Value" "BAT60JFILM" + (at 72.39 26.67 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "PCM_Diode_SMD_AKL:D_SOD-323" + (at 72.39 30.48 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "" + (at 72.39 30.48 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "Diode" + (at 72.39 30.48 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "801a8524-a976-429e-8e91-b4b4fea7e2cd") + ) + (pin "2" + (uuid "dbdbdea8-a82f-43e6-9632-f47e89bda55f") + ) + (instances + (project "" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82" + (reference "D2") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_Device_AKL:Ferrite_Bead") + (at 119.38 125.73 270) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (uuid "419d9c4f-4ab7-4264-9f26-8a0424a1c835") + (property "Reference" "FB1" + (at 119.38 131.572 90) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Value" "Ferrite_Bead" + (at 119.38 134.112 90) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "PCM_Fuse_AKL:Fuse_0805_2012Metric_Pad1.15x1.40mm_BigPads" + (at 122.682 125.73 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "~" + (at 119.38 125.73 90) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "Ferrite bead, Alternate KiCAD Library" + (at 119.38 125.73 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "71ba895c-6490-4903-b2e6-9070ebf6016d") + ) + (pin "2" + (uuid "ab18a28b-d1b5-4a66-a49f-04fd403c2bb8") + ) + (instances + (project "" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82" + (reference "FB1") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_4ms_Power-symbol:GND") + (at 43.18 63.5 0) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (fields_autoplaced yes) + (uuid "472bce0d-3313-47ec-8030-87884d514fd8") + (property "Reference" "#PWR03" + (at 43.18 69.85 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Value" "GND" + (at 43.18 68.58 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "" + (at 43.18 63.5 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "" + (at 43.18 63.5 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "" + (at 43.18 63.5 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "190831c2-f4ad-44fd-b601-308694111fa4") + ) + (instances + (project "" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82" + (reference "#PWR03") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_4ms_Power-symbol:+3.3V") + (at 196.85 31.75 0) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (fields_autoplaced yes) + (uuid "4be478fe-4108-4302-9a42-ffdb13f89941") + (property "Reference" "#PWR010" + (at 196.85 35.56 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Value" "+3.3V" + (at 196.85 26.67 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "" + (at 196.85 31.75 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "" + (at 196.85 31.75 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "" + (at 196.85 31.75 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "1cce0eb6-bcc5-46d4-b03a-61ad7dd38625") + ) + (instances + (project "" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82" + (reference "#PWR010") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_Resistor_AKL:R_0805") + (at 49.53 54.61 0) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (fields_autoplaced yes) + (uuid "55fe11de-2a05-4ff1-bc3a-63c075a9f29d") + (property "Reference" "R1" + (at 52.07 53.3399 0) + (effects + (font + (size 1.27 1.27) + ) + (justify left) + ) + ) + (property "Value" "5.1k" + (at 52.07 55.8799 0) + (effects + (font + (size 1.27 1.27) + ) + (justify left) + ) + ) + (property "Footprint" "PCM_Resistor_SMD_AKL:R_0805_2012Metric" + (at 49.53 66.04 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "~" + (at 49.53 54.61 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "SMD 0805 Chip Resistor, European Symbol, Alternate KiCad Library" + (at 49.53 54.61 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "2" + (uuid "fcf19629-2d07-41cc-8961-b8b6f113a170") + ) + (pin "1" + (uuid "71fb46c3-1dd1-40b0-be6f-1e3a2a516edc") + ) + (instances + (project "" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82" + (reference "R1") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_Resistor_AKL:R_0805") + (at 245.11 139.7 270) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (uuid "5c57828a-36bc-4da4-bfd6-d3d5666e7619") + (property "Reference" "R7" + (at 240.03 138.43 90) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Value" "22" + (at 240.03 140.97 90) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "PCM_Resistor_SMD_AKL:R_0805_2012Metric" + (at 233.68 139.7 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "~" + (at 245.11 139.7 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "SMD 0805 Chip Resistor, European Symbol, Alternate KiCad Library" + (at 245.11 139.7 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "2" + (uuid "fddf0490-81fa-47e8-b311-7bd1c5bd7568") + ) + (pin "1" + (uuid "9b9baa3f-95fc-4efc-b148-efc0f2d587a1") + ) + (instances + (project "numpad" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82" + (reference "R7") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_Capacitor_AKL:C_0805") + (at 43.18 156.21 0) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (uuid "5d7500da-bd2b-4c6a-9047-3e2d6a3165ca") + (property "Reference" "C4" + (at 37.465 155.067 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Value" "100nF" + (at 37.465 157.607 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "PCM_Capacitor_SMD_AKL:C_0805_2012Metric" + (at 44.1452 160.02 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "~" + (at 43.18 156.21 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "SMD 0805 MLCC capacitor, Alternate KiCad Library" + (at 43.18 156.21 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "2" + (uuid "db413f08-6778-4d6e-8c37-2d8f0ae6e0eb") + ) + (pin "1" + (uuid "3253ccbb-4b82-4fb1-b57c-20f27bea2695") + ) + (instances + (project "numpad" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82" + (reference "C4") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_Capacitor_AKL:C_0805") + (at 180.34 149.86 180) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (uuid "68cc06c9-d019-47d1-bae7-2856c48d1f53") + (property "Reference" "C9" + (at 185.166 148.59 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Value" "4.7uF" + (at 185.166 151.13 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "PCM_Capacitor_SMD_AKL:C_0805_2012Metric" + (at 179.3748 146.05 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "~" + (at 180.34 149.86 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "SMD 0805 MLCC capacitor, Alternate KiCad Library" + (at 180.34 149.86 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "2" + (uuid "14ed719e-0199-4560-899e-26a8b5f90b3c") + ) + (pin "1" + (uuid "fcc00765-336f-471e-bd85-81a28ac8c9c4") + ) + (instances + (project "numpad" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82" + (reference "C9") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_4ms_Power-symbol:+3.3V") + (at 31.75 149.86 0) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (fields_autoplaced yes) + (uuid "6ab32cb3-2df6-4ff9-a513-85667e0ccc25") + (property "Reference" "#PWR04" + (at 31.75 153.67 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Value" "+3.3V" + (at 31.75 144.78 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "" + (at 31.75 149.86 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "" + (at 31.75 149.86 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "" + (at 31.75 149.86 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "c9fbff55-8bfc-4e14-a511-caa78e56c9e3") + ) + (instances + (project "numpad" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82" + (reference "#PWR04") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_Capacitor_AKL:C_0805") + (at 54.61 156.21 0) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (uuid "6ac435e0-7961-4dbe-9c30-dbf9204a8e02") + (property "Reference" "C5" + (at 48.895 155.067 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Value" "100nF" + (at 48.895 157.607 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "PCM_Capacitor_SMD_AKL:C_0805_2012Metric" + (at 55.5752 160.02 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "~" + (at 54.61 156.21 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "SMD 0805 MLCC capacitor, Alternate KiCad Library" + (at 54.61 156.21 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "2" + (uuid "aeb57fe7-abcc-4bef-a163-85f815f24fdb") + ) + (pin "1" + (uuid "b3d84c90-5579-43bf-a217-ed033748ed83") + ) + (instances + (project "numpad" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82" + (reference "C5") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_Capacitor_AKL:C_0805") + (at 116.84 93.98 180) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (uuid "6bbda6bc-f811-45ca-81a4-9ccc00f06fab") + (property "Reference" "C2" + (at 111.6965 95.5675 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Value" "20pF" + (at 111.6965 93.0275 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "PCM_Capacitor_SMD_AKL:C_0805_2012Metric" + (at 115.8748 90.17 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "~" + (at 116.84 93.98 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "SMD 0805 MLCC capacitor, Alternate KiCad Library" + (at 116.84 93.98 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "2" + (uuid "05be0e56-3163-4446-a5c2-631c895f5066") + ) + (pin "1" + (uuid "27962fae-02aa-4a42-9af1-0aa90d750a38") + ) + (instances + (project "numpad" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82" + (reference "C2") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_4ms_Power-symbol:GNDA") + (at 104.14 127 0) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (uuid "6eb9f6f2-1815-4dc0-9f82-2e8e6261fe57") + (property "Reference" "#PWR016" + (at 104.14 133.35 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Value" "AGND" + (at 101.854 131.572 0) + (effects + (font + (size 1.27 1.27) + ) + (justify left) + ) + ) + (property "Footprint" "" + (at 104.14 127 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "" + (at 104.14 127 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "(analog) ground power-flag symbol" + (at 104.14 127 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "48137a00-e2b8-4ca6-a52c-fb6939565ae0") + ) + (instances + (project "" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82" + (reference "#PWR016") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_4ms_Power-symbol:GND") + (at 105.41 91.44 0) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (fields_autoplaced yes) + (uuid "73155beb-873a-4b21-9ec3-d28d94562dcc") + (property "Reference" "#PWR05" + (at 105.41 97.79 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Value" "GND" + (at 105.41 96.52 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "" + (at 105.41 91.44 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "" + (at 105.41 91.44 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "" + (at 105.41 91.44 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "e4e5a564-f2c2-4e3b-b232-7a1559422a56") + ) + (instances + (project "numpad" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82" + (reference "#PWR05") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_4ms_Power-symbol:+5V") + (at 92.71 29.21 0) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (fields_autoplaced yes) + (uuid "7518ced7-be4e-49d5-920d-9ae3234447d4") + (property "Reference" "#PWR015" + (at 92.71 33.02 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Value" "+5V" + (at 92.71 24.13 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "" + (at 92.71 29.21 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "" + (at 92.71 29.21 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "" + (at 92.71 29.21 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "9faabb2c-473a-4f88-b5e1-439a05f0c392") + ) + (instances + (project "" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82" + (reference "#PWR015") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_4ms_Regulator:LD1117-3.3V-SOT223") + (at 177.8 35.56 0) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (fields_autoplaced yes) + (uuid "780e4915-82a4-4658-81f3-960aa1d9fc82") + (property "Reference" "IC1" + (at 177.8 26.67 0) + (effects + (font + (size 1.143 1.143) + ) + ) + ) + (property "Value" "LD1117-3.3V-SOT223" + (at 177.8 29.21 0) + (effects + (font + (size 1.143 1.143) + ) + ) + ) + (property "Footprint" "PCM_4ms_Package_SOT:SOT223" + (at 177.8 28.575 0) + (effects + (font + (size 0.508 0.508) + ) + (hide yes) + ) + ) + (property "Datasheet" "https://www.mouser.com/datasheet/2/389/cd00000544-1795431.pdf" + (at 177.8 34.29 0) + (effects + (font + (size 1.524 1.524) + ) + (hide yes) + ) + ) + (property "Description" "3.3V Voltage Regulator, SOT-223-3, Imax=0.8A, VinMax=15V, Vdrop=1V" + (at 177.8 35.56 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Manufacturer" "STMicroelectronics" + (at 177.8 45.085 0) + (effects + (font + (size 1.27 1.27) + ) + (justify left) + (hide yes) + ) + ) + (property "Part Number" "LD1117S33CTR" + (at 177.8 46.99 0) + (effects + (font + (size 1.27 1.27) + ) + (justify left) + (hide yes) + ) + ) + (pin "3" + (uuid "d044b8da-f579-430a-9657-f3f038538a7b") + ) + (pin "2" + (uuid "16ad427b-cb27-4545-9cc3-8033a32817ba") + ) + (pin "1" + (uuid "d41a2627-4fe9-4d1e-a9b3-47c762eac2b6") + ) + (instances + (project "" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82" + (reference "IC1") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_Resistor_AKL:R_0805") + (at 218.44 99.06 270) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (uuid "7cafd78e-827b-4512-9029-08dc37727121") + (property "Reference" "R4" + (at 218.44 92.71 90) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Value" "22" + (at 218.44 95.25 90) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "PCM_Resistor_SMD_AKL:R_0805_2012Metric" + (at 207.01 99.06 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "~" + (at 218.44 99.06 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "SMD 0805 Chip Resistor, European Symbol, Alternate KiCad Library" + (at 218.44 99.06 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "2" + (uuid "e4eb200f-2ca3-456f-937c-8b45571e4b5b") + ) + (pin "1" + (uuid "ed5c6058-ddbc-4020-9a26-741d7bbe10ba") + ) + (instances + (project "numpad" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82" + (reference "R4") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_Resistor_AKL:R_0805") + (at 245.11 142.24 90) + (mirror x) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (uuid "7efd55f9-94bc-4e0f-acd8-78533ca71252") + (property "Reference" "R8" + (at 250.19 140.97 90) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Value" "22" + (at 250.19 143.51 90) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "PCM_Resistor_SMD_AKL:R_0805_2012Metric" + (at 256.54 142.24 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "~" + (at 245.11 142.24 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "SMD 0805 Chip Resistor, European Symbol, Alternate KiCad Library" + (at 245.11 142.24 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "2" + (uuid "d5ef4ec7-b7be-43c2-bc23-5aa94f1c4be8") + ) + (pin "1" + (uuid "43b4bfd6-e642-41dd-bda6-169be25de336") + ) + (instances + (project "numpad" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82" + (reference "R8") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_Resistor_AKL:R_0805") + (at 245.11 134.62 270) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (uuid "870bee74-1b94-44bc-97d7-e29667be0724") + (property "Reference" "R6" + (at 240.03 133.35 90) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Value" "22" + (at 240.03 135.89 90) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "PCM_Resistor_SMD_AKL:R_0805_2012Metric" + (at 233.68 134.62 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "~" + (at 245.11 134.62 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "SMD 0805 Chip Resistor, European Symbol, Alternate KiCad Library" + (at 245.11 134.62 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "2" + (uuid "bf050548-5846-4278-93f6-31257dca583a") + ) + (pin "1" + (uuid "149b9b0f-213e-4e91-a664-426d638a1e7f") + ) + (instances + (project "numpad" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82" + (reference "R6") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_4ms_Power-symbol:GND") + (at 180.34 153.67 0) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (fields_autoplaced yes) + (uuid "89eaf3be-6a53-4d52-875d-0e85769bf269") + (property "Reference" "#PWR011" + (at 180.34 160.02 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Value" "GND" + (at 180.34 158.75 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "" + (at 180.34 153.67 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "" + (at 180.34 153.67 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "" + (at 180.34 153.67 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "abe82d7c-d4b6-48fe-bf15-9070a3c2d7cd") + ) + (instances + (project "numpad" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82" + (reference "#PWR011") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_Capacitor_AKL:C_0805") + (at 31.75 156.21 0) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (uuid "8b2a8a82-737e-4e1c-b010-75e324eaa549") + (property "Reference" "C3" + (at 26.035 155.067 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Value" "100nF" + (at 26.035 157.607 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "PCM_Capacitor_SMD_AKL:C_0805_2012Metric" + (at 32.7152 160.02 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "~" + (at 31.75 156.21 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "SMD 0805 MLCC capacitor, Alternate KiCad Library" + (at 31.75 156.21 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "2" + (uuid "d8926d9e-5d64-4c07-b6b0-35e4f57fcfa6") + ) + (pin "1" + (uuid "f175dcfe-b8d2-4502-bfc9-d7f18c809352") + ) + (instances + (project "numpad" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82" + (reference "C3") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_SL_Devices:Crystal_8MHz") + (at 121.92 100.33 0) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (uuid "8f6ee047-3b69-4415-a3d3-f3f35ce3c89b") + (property "Reference" "Y1" + (at 123.19 96.52 90) + (effects + (font + (size 1.27 1.27) + ) + (justify left) + ) + ) + (property "Value" "8MHz" + (at 120.65 96.52 90) + (effects + (font + (size 1.27 1.27) + ) + (justify left) + ) + ) + (property "Footprint" "PCM_Crystal_AKL:Crystal_HC52-U_Vertical" + (at 121.92 104.14 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "" + (at 121.92 99.06 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "8Mz Crystal" + (at 121.92 100.33 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "2" + (uuid "af9c1162-fb38-42a3-a395-46614193d10a") + ) + (pin "1" + (uuid "823ef913-9ee3-4774-92d2-46dd24c44b3b") + ) + (instances + (project "" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82" + (reference "Y1") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_4ms_Power-symbol:GND") + (at 31.75 163.83 0) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (fields_autoplaced yes) + (uuid "90bad0bd-de9f-44f0-87ad-a563bae0150b") + (property "Reference" "#PWR012" + (at 31.75 170.18 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Value" "GND" + (at 31.75 168.91 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "" + (at 31.75 163.83 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "" + (at 31.75 163.83 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "" + (at 31.75 163.83 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "00b9aaf5-3e0f-47a6-a021-e46ee028ed4d") + ) + (instances + (project "numpad" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82" + (reference "#PWR012") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_Capacitor_AKL:C_0805") + (at 124.46 73.66 270) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (uuid "94a0fdd0-56a6-4942-8589-01a86c805627") + (property "Reference" "C10" + (at 124.46 66.802 90) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Value" "1uF" + (at 124.46 69.342 90) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "PCM_Capacitor_SMD_AKL:C_0805_2012Metric" + (at 120.65 74.6252 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "~" + (at 124.46 73.66 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "SMD 0805 MLCC capacitor, Alternate KiCad Library" + (at 124.46 73.66 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "2" + (uuid "3b5dde54-3bc5-4edc-86c7-1c727e8a77b9") + ) + (pin "1" + (uuid "e7e9a3f3-48b1-4d42-b0fe-a065c5886e52") + ) + (instances + (project "numpad" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82" + (reference "C10") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_4ms_Connector:Conn_01x04") + (at 73.66 92.71 0) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (uuid "9676fbe1-cd81-4f09-9a64-1e08ed9b6d67") + (property "Reference" "South1" + (at 81.788 92.71 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Value" "Conn_01x04" + (at 81.788 95.25 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "Connector_PinSocket_2.54mm:PinSocket_1x04_P2.54mm_Vertical" + (at 73.66 85.725 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "" + (at 73.66 92.71 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "HEADER 1x4 MALE PINS 0.100” 180deg" + (at 73.66 92.71 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Specifications" "HEADER 1x4 MALE PINS 0.100” 180deg" + (at 70.485 107.315 0) + (effects + (font + (size 1.27 1.27) + ) + (justify left) + (hide yes) + ) + ) + (property "Manufacturer" "TAD" + (at 71.12 102.108 0) + (effects + (font + (size 1.27 1.27) + ) + (justify left) + (hide yes) + ) + ) + (property "Part Number" "1-0401FBV0T" + (at 71.12 103.632 0) + (effects + (font + (size 1.27 1.27) + ) + (justify left) + (hide yes) + ) + ) + (pin "1" + (uuid "16ac9726-ccc1-410d-afbd-9bd5e6a9f31a") + ) + (pin "2" + (uuid "c6ddf6e6-ab14-4c9c-8fbf-e193a984b2ff") + ) + (pin "3" + (uuid "c739ac0b-2320-49e6-b465-0e5ea1e2a08e") + ) + (pin "4" + (uuid "7f3eac63-89fc-4252-a8da-30ee8e024666") + ) + (instances + (project "numpad" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82" + (reference "South1") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_4ms_Power-symbol:GND") + (at 177.8 45.72 0) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (uuid "99dee30c-837e-40d2-bd1f-9b659acdfebe") + (property "Reference" "#PWR06" + (at 177.8 52.07 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Value" "GND" + (at 177.8 49.784 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "" + (at 177.8 45.72 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "" + (at 177.8 45.72 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "" + (at 177.8 45.72 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "cf037296-f441-414f-81c6-67ed41e4c8e7") + ) + (instances + (project "numpad" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82" + (reference "#PWR06") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_Resistor_AKL:R_0805") + (at 218.44 101.6 90) + (mirror x) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (uuid "9a64bac4-da04-48a9-9702-7209f655d06c") + (property "Reference" "R3" + (at 218.44 107.95 90) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Value" "22" + (at 218.44 105.41 90) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "PCM_Resistor_SMD_AKL:R_0805_2012Metric" + (at 229.87 101.6 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "~" + (at 218.44 101.6 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "SMD 0805 Chip Resistor, European Symbol, Alternate KiCad Library" + (at 218.44 101.6 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "2" + (uuid "5f16db44-08ec-478a-9923-725cc54747da") + ) + (pin "1" + (uuid "34ffee46-b723-49a0-8a33-221097200bec") + ) + (instances + (project "numpad" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82" + (reference "R3") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_Resistor_AKL:R_0805") + (at 245.11 144.78 270) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (uuid "9c5f0493-d680-4847-8e64-3696158e4f7e") + (property "Reference" "R9" + (at 240.03 143.51 90) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Value" "22" + (at 240.03 146.05 90) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "PCM_Resistor_SMD_AKL:R_0805_2012Metric" + (at 233.68 144.78 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "~" + (at 245.11 144.78 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "SMD 0805 Chip Resistor, European Symbol, Alternate KiCad Library" + (at 245.11 144.78 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "2" + (uuid "d6ec1b2f-dd19-47dd-b03f-ff465346c392") + ) + (pin "1" + (uuid "fab710de-11b3-4ebf-9a23-5a94ae533382") + ) + (instances + (project "numpad" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82" + (reference "R9") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_Capacitor_AKL:C_0805") + (at 165.1 38.1 0) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (uuid "acdb7e2a-dbdd-410b-b924-7a3e541f44dd") + (property "Reference" "C7" + (at 160.528 36.83 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Value" "1uF" + (at 160.528 39.37 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "PCM_Capacitor_SMD_AKL:C_0805_2012Metric" + (at 166.0652 41.91 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "~" + (at 165.1 38.1 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "SMD 0805 MLCC capacitor, Alternate KiCad Library" + (at 165.1 38.1 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "2" + (uuid "890c133e-55f2-4c59-adbf-185ae549f7ce") + ) + (pin "1" + (uuid "3bf7b668-3d45-4cb8-b876-3ab4b41e0515") + ) + (instances + (project "numpad" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82" + (reference "C7") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_4ms_Connector:Conn_01x06") + (at 256.54 137.16 0) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (fields_autoplaced yes) + (uuid "b0e5479b-55c8-4df5-bbc5-a0d68647dbd2") + (property "Reference" "J1" + (at 259.08 137.1599 0) + (effects + (font + (size 1.27 1.27) + ) + (justify left) + ) + ) + (property "Value" "Conn_01x06" + (at 259.08 139.6999 0) + (effects + (font + (size 1.27 1.27) + ) + (justify left) + ) + ) + (property "Footprint" "Connector_PinSocket_2.54mm:PinSocket_1x06_P2.54mm_Horizontal" + (at 256.54 154.94 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "" + (at 256.54 138.43 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "HEADER 1x6 MALE PINS 0.100” 180deg" + (at 256.54 137.16 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Specifications" "HEADER 1x6 MALE PINS 0.100” 180deg" + (at 254.635 153.035 0) + (effects + (font + (size 1.27 1.27) + ) + (justify left) + (hide yes) + ) + ) + (property "Manufacturer" "TAD" + (at 254 149.86 0) + (effects + (font + (size 1.27 1.27) + ) + (justify left) + (hide yes) + ) + ) + (property "Part Number" "1-0601FBV0T" + (at 254.635 151.765 0) + (effects + (font + (size 1.27 1.27) + ) + (justify left) + (hide yes) + ) + ) + (pin "6" + (uuid "16dc203b-069a-4275-940e-9947482a9079") + ) + (pin "1" + (uuid "8816f601-baf3-4d75-b27c-1e9d6655cbfb") + ) + (pin "3" + (uuid "d0d1033b-d596-445a-9ce2-aed8b4c72d36") + ) + (pin "4" + (uuid "ac497e7a-422f-41f2-8705-75924a98375f") + ) + (pin "5" + (uuid "69100a82-de14-4456-b0f0-7036b3b5d7d2") + ) + (pin "2" + (uuid "a307c3c5-6163-4f29-b7bd-0b11191e34dc") + ) + (instances + (project "" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82" + (reference "J1") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_4ms_Power-symbol:+5V") + (at 50.8 85.09 0) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (uuid "b3581a19-1bf1-4bc5-a70d-1256ab664927") + (property "Reference" "#PWR025" + (at 50.8 88.9 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Value" "+5V" + (at 53.594 83.566 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "" + (at 50.8 85.09 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "" + (at 50.8 85.09 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "" + (at 50.8 85.09 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "8d84c140-161f-4806-a798-000c2e6dab39") + ) + (instances + (project "numpad" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82" + (reference "#PWR025") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "power:GND") + (at 106.68 172.72 0) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (fields_autoplaced yes) + (uuid "b3793324-87be-425d-8b78-63f999e9e56c") + (property "Reference" "#PWR023" + (at 106.68 179.07 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Value" "GND" + (at 106.68 177.8 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "" + (at 106.68 172.72 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "" + (at 106.68 172.72 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "Power symbol creates a global label with name \"GND\" , ground" + (at 106.68 172.72 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "ab7ed32e-61e0-4c98-a559-e8869e0819e1") + ) + (instances + (project "" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82" + (reference "#PWR023") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_4ms_Power-symbol:GND") + (at 96.52 118.11 0) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (uuid "b3d40ac4-8daa-4a7a-ba11-9a68212fd759") + (property "Reference" "#PWR020" + (at 96.52 124.46 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Value" "GND" + (at 96.52 123.19 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "" + (at 96.52 118.11 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "" + (at 96.52 118.11 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "" + (at 96.52 118.11 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "1c7ff4c0-7e81-4773-ab3b-110402d7ecd6") + ) + (instances + (project "numpad" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82" + (reference "#PWR020") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_4ms_Power-symbol:+3.3V") + (at 134.62 68.58 0) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (fields_autoplaced yes) + (uuid "b64cbf88-e11a-40de-8ab0-7220c5c7fbca") + (property "Reference" "#PWR01" + (at 134.62 72.39 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Value" "+3.3V" + (at 134.62 63.5 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "" + (at 134.62 68.58 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "" + (at 134.62 68.58 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "" + (at 134.62 68.58 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "86679c50-090c-4490-98c1-13e5ab52111c") + ) + (instances + (project "numpad" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82" + (reference "#PWR01") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_Resistor_AKL:R_0805") + (at 157.48 67.31 0) + (mirror y) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (uuid "bb837909-857a-4e99-a0d4-4f703a793296") + (property "Reference" "R5" + (at 160.782 66.04 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Value" "10k" + (at 160.782 68.58 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "PCM_Resistor_SMD_AKL:R_0805_2012Metric" + (at 157.48 78.74 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "~" + (at 157.48 67.31 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "SMD 0805 Chip Resistor, European Symbol, Alternate KiCad Library" + (at 157.48 67.31 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "2" + (uuid "7800df85-1edc-4e8c-ae00-81f05b8e4846") + ) + (pin "1" + (uuid "3251e7d5-7480-4e46-b027-2dc5836d003f") + ) + (instances + (project "numpad" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82" + (reference "R5") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_Diode_TVS_AKL:PRTR5V0U2X") + (at 85.09 46.99 270) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (uuid "c7c4756e-a5bf-4567-914d-57c2ffef1bc4") + (property "Reference" "D1" + (at 73.152 40.64 90) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Value" "PRTR5V0U2X" + (at 73.152 43.18 90) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "PCM_Package_TO_SOT_SMD_AKL:SOT-143_Handsoldering" + (at 85.09 46.99 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "https://www.tme.eu/Document/4eac14af69261014af6cc93b35742953/PRTR5V0U2X-DTE.pdf" + (at 85.09 46.99 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "SOT-143 TVS Diode Array, 2 protected lines, 5.5V, Alternate KiCAD Library" + (at 85.09 46.99 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "3" + (uuid "f4720144-6b17-45aa-86f9-ca35e1cb249a") + ) + (pin "1" + (uuid "1f1c0af4-6af1-4d46-bee1-39921bbafaf7") + ) + (pin "2" + (uuid "90a651c4-1ad8-4254-8474-15751d8c631f") + ) + (pin "4" + (uuid "0e04a63c-87ca-4ac2-8b68-bd2b902da0de") + ) + (instances + (project "" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82" + (reference "D1") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_4ms_Power-symbol:+3.3V") + (at 97.79 99.06 0) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (fields_autoplaced yes) + (uuid "cc3b6256-79cc-467a-97e2-a1b19b2cda65") + (property "Reference" "#PWR026" + (at 97.79 102.87 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Value" "+3.3V" + (at 97.79 93.98 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "" + (at 97.79 99.06 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "" + (at 97.79 99.06 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "" + (at 97.79 99.06 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "8b6dc700-9910-4678-afb7-e64e0acb11ca") + ) + (instances + (project "numpad" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82" + (reference "#PWR026") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "Type-C:HRO-TYPE-C-31-M-12") + (at 38.1 41.91 0) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (fields_autoplaced yes) + (uuid "d9f634d1-10e6-4463-addc-35893eef8711") + (property "Reference" "USB1" + (at 32.385 21.59 0) + (effects + (font + (size 1.524 1.524) + ) + ) + ) + (property "Value" "HRO-TYPE-C-31-M-12" + (at 32.385 24.13 0) + (effects + (font + (size 1.524 1.524) + ) + ) + ) + (property "Footprint" "Type-C.pretty-master:HRO-TYPE-C-31-M-12-HandSoldering" + (at 38.1 41.91 0) + (effects + (font + (size 1.524 1.524) + ) + (hide yes) + ) + ) + (property "Datasheet" "" + (at 38.1 41.91 0) + (effects + (font + (size 1.524 1.524) + ) + (hide yes) + ) + ) + (property "Description" "" + (at 38.1 41.91 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "4" + (uuid "cb6fdf46-aed8-4f4c-b0b8-d59c5c47a690") + ) + (pin "12" + (uuid "9ab22500-0278-44ca-be4b-cfcde50b4c10") + ) + (pin "11" + (uuid "1ddb208b-ff35-4fdc-a423-08f0d07e4d4f") + ) + (pin "5" + (uuid "45070fb5-7ae4-4e55-962d-e8f7a816022e") + ) + (pin "6" + (uuid "f9b15b03-aebe-4bbf-a656-737d04c44c44") + ) + (pin "7" + (uuid "8105c7ce-6a71-4fdc-ad8e-c8943559273f") + ) + (pin "13" + (uuid "d31068a2-7ab4-4e2f-92cf-2c0e41587bff") + ) + (pin "1" + (uuid "0bc1628c-ef7e-4201-a614-715dd7151af8") + ) + (pin "9" + (uuid "16aa9b4c-1d3d-4e03-b05a-b19d79aca7f6") + ) + (pin "3" + (uuid "1e1919e6-4c07-45bc-ad3e-7fcc3ae2b078") + ) + (pin "10" + (uuid "1c6a228e-7ec2-49b5-b234-f8cb25dff46d") + ) + (pin "2" + (uuid "ba738f09-f626-4537-967f-a12f11e05a7f") + ) + (pin "8" + (uuid "47b09ed0-4006-4392-bcd8-fd822205b25a") + ) + (instances + (project "" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82" + (reference "USB1") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_Resistor_AKL:R_0805") + (at 97.79 102.87 0) + (mirror x) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (uuid "db62a6df-f2f1-4431-8846-a6dc2b8040af") + (property "Reference" "R13" + (at 94.488 104.14 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Value" "DNP" + (at 94.488 101.6 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "PCM_Resistor_SMD_AKL:R_0805_2012Metric" + (at 97.79 91.44 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "~" + (at 97.79 102.87 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "SMD 0805 Chip Resistor, European Symbol, Alternate KiCad Library" + (at 97.79 102.87 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "2" + (uuid "5ffde405-0bb6-4a06-b2c6-b114a825513c") + ) + (pin "1" + (uuid "86bae480-65c4-460d-ab18-a43e63bcf238") + ) + (instances + (project "numpad" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82" + (reference "R13") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_4ms_Power-symbol:+5V") + (at 158.75 31.75 0) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (fields_autoplaced yes) + (uuid "de717130-e998-438a-80ee-9ae716f8d2df") + (property "Reference" "#PWR09" + (at 158.75 35.56 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Value" "+5V" + (at 158.75 26.67 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "" + (at 158.75 31.75 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "" + (at 158.75 31.75 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "" + (at 158.75 31.75 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "3f1e4e34-c45b-4012-b5a0-fd9e0181a98c") + ) + (instances + (project "numpad" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82" + (reference "#PWR09") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_4ms_Power-symbol:+3.3V") + (at 113.03 127 0) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (fields_autoplaced yes) + (uuid "df7ed3bb-ae6e-4571-8afe-1bd0f71e85bf") + (property "Reference" "#PWR017" + (at 113.03 130.81 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Value" "+3.3V" + (at 113.03 121.92 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "" + (at 113.03 127 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "" + (at 113.03 127 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "" + (at 113.03 127 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "36a14cc6-3e21-486e-b788-7df0ffb63868") + ) + (instances + (project "numpad" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82" + (reference "#PWR017") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_Resistor_AKL:R_0805") + (at 58.42 54.61 0) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (fields_autoplaced yes) + (uuid "e43ed88a-0b7c-4dfb-9632-55636cb7c7cb") + (property "Reference" "R2" + (at 60.96 53.3399 0) + (effects + (font + (size 1.27 1.27) + ) + (justify left) + ) + ) + (property "Value" "5.1k" + (at 60.96 55.8799 0) + (effects + (font + (size 1.27 1.27) + ) + (justify left) + ) + ) + (property "Footprint" "PCM_Resistor_SMD_AKL:R_0805_2012Metric" + (at 58.42 66.04 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "~" + (at 58.42 54.61 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "SMD 0805 Chip Resistor, European Symbol, Alternate KiCad Library" + (at 58.42 54.61 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "2" + (uuid "a75d4186-2398-45c6-9021-f79cdb32bdbc") + ) + (pin "1" + (uuid "19f83cd3-137c-4cf7-8991-eb66f0853871") + ) + (instances + (project "numpad" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82" + (reference "R2") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_4ms_Power-symbol:+3.3V") + (at 248.92 129.54 0) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (uuid "e53a289c-fcd3-4010-a8f4-1587afe30e6a") + (property "Reference" "#PWR021" + (at 248.92 133.35 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Value" "+3.3V" + (at 248.666 125.222 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "" + (at 248.92 129.54 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "" + (at 248.92 129.54 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "" + (at 248.92 129.54 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "c4296122-bd07-44ef-979b-b8f472157841") + ) + (instances + (project "" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82" + (reference "#PWR021") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_4ms_Power-symbol:GND") + (at 223.52 138.43 0) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (fields_autoplaced yes) + (uuid "e9887ddd-2719-45c4-b084-f7d71da24077") + (property "Reference" "#PWR022" + (at 223.52 144.78 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Value" "GND" + (at 223.52 143.51 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "" + (at 223.52 138.43 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "" + (at 223.52 138.43 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "" + (at 223.52 138.43 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "5d5e6813-9500-433f-83e3-acca888f9615") + ) + (instances + (project "numpad" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82" + (reference "#PWR022") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_4ms_Connector:Conn_01x04") + (at 30.48 110.49 180) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (uuid "e9c07dcf-7c62-4e0f-b7d8-bffddad87ab1") + (property "Reference" "West1" + (at 22.098 108.204 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Value" "Conn_01x04" + (at 22.098 110.744 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "Connector_PinSocket_2.54mm:PinSocket_1x04_P2.54mm_Vertical" + (at 30.48 117.475 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "" + (at 30.48 110.49 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "HEADER 1x4 MALE PINS 0.100” 180deg" + (at 30.48 110.49 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Specifications" "HEADER 1x4 MALE PINS 0.100” 180deg" + (at 33.655 95.885 0) + (effects + (font + (size 1.27 1.27) + ) + (justify left) + (hide yes) + ) + ) + (property "Manufacturer" "TAD" + (at 33.02 101.092 0) + (effects + (font + (size 1.27 1.27) + ) + (justify left) + (hide yes) + ) + ) + (property "Part Number" "1-0401FBV0T" + (at 33.02 99.568 0) + (effects + (font + (size 1.27 1.27) + ) + (justify left) + (hide yes) + ) + ) + (pin "1" + (uuid "848dfe91-0857-4e62-aac3-6b94d711f6e2") + ) + (pin "2" + (uuid "34dc7aca-b4bf-44da-b02b-e8f3a8489680") + ) + (pin "3" + (uuid "fdb3db6d-c9e9-48f5-b5c4-e922a76f4f49") + ) + (pin "4" + (uuid "182cf852-4b6b-4595-8d02-8aa2c537f154") + ) + (instances + (project "numpad" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82" + (reference "West1") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_Resistor_AKL:R_0805") + (at 111.76 170.18 270) + (mirror x) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (uuid "f01e28d6-c99b-4363-922d-8d4ade2b1113") + (property "Reference" "R10" + (at 111.76 165.354 90) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Value" "DNP" + (at 111.76 167.894 90) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "PCM_Resistor_SMD_AKL:R_0805_2012Metric" + (at 100.33 170.18 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "~" + (at 111.76 170.18 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "SMD 0805 Chip Resistor, European Symbol, Alternate KiCad Library" + (at 111.76 170.18 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "2" + (uuid "782ea787-286f-48cd-b5c3-6b5419f9ad4a") + ) + (pin "1" + (uuid "2e0b1b3b-28dd-4cbb-93c6-d6f53b7deddf") + ) + (instances + (project "numpad" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82" + (reference "R10") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_4ms_Power-symbol:GND") + (at 166.37 66.04 0) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (uuid "f17691c8-a58d-43cc-8568-d3c380e99aec") + (property "Reference" "#PWR018" + (at 166.37 72.39 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Value" "GND" + (at 166.37 69.85 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "" + (at 166.37 66.04 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "" + (at 166.37 66.04 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "" + (at 166.37 66.04 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "56fa1d5e-524b-4bb4-98c4-4f7148dfbe80") + ) + (instances + (project "numpad" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82" + (reference "#PWR018") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_Capacitor_AKL:C_0805") + (at 113.03 111.76 180) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (uuid "f4ed843a-a837-4644-ab1e-a88bfeb2df84") + (property "Reference" "C11" + (at 107.8865 113.3475 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Value" "0.1uF" + (at 107.8865 110.8075 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "PCM_Capacitor_SMD_AKL:C_0805_2012Metric" + (at 112.0648 107.95 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "~" + (at 113.03 111.76 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "SMD 0805 MLCC capacitor, Alternate KiCad Library" + (at 113.03 111.76 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "2" + (uuid "a5ae1a77-6e8a-4b9d-a41b-d17e701eae3c") + ) + (pin "1" + (uuid "f065c7e0-fa66-403e-b068-3b78e2cff007") + ) + (instances + (project "numpad" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82" + (reference "C11") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_4ms_Power-symbol:GND") + (at 73.66 49.53 0) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (fields_autoplaced yes) + (uuid "fcc5ab1a-6ac6-4919-9b1d-bc252ff46237") + (property "Reference" "#PWR07" + (at 73.66 55.88 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Value" "GND" + (at 73.66 54.61 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "" + (at 73.66 49.53 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "" + (at 73.66 49.53 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "" + (at 73.66 49.53 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "737b5bff-d8ae-4490-8d3b-eb90fc8b91f6") + ) + (instances + (project "numpad" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82" + (reference "#PWR07") + (unit 1) + ) + ) + ) + ) + (sheet + (at 217.17 33.02) + (size 55.88 34.925) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (stroke + (width 0.1524) + (type solid) + ) + (fill + (color 0 0 0 0.0000) + ) + (uuid "1d905906-6e74-4741-8b2e-53dc470a7c79") + (property "Sheetname" "Keymatrix" + (at 275.336 46.482 90) + (effects + (font + (size 1.27 1.27) + ) + (justify right bottom) + ) + ) + (property "Sheetfile" "matrixrot.kicad_sch" + (at 217.17 68.5296 0) + (effects + (font + (size 1.27 1.27) + ) + (justify left top) + ) + ) + (pin "COL1" input + (at 232.41 33.02 90) + (uuid "43e65bc9-a87d-4907-a419-26aca47522e6") + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (pin "COL2" input + (at 234.95 33.02 90) + (uuid "ee114d14-efda-4c23-a2fd-ad5c20443e65") + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (pin "COL3" input + (at 237.49 33.02 90) + (uuid "551c4509-840b-4242-8621-1b2679f44448") + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (pin "COL4" input + (at 240.03 33.02 90) + (uuid "8b9952dd-5533-4690-b0bc-2691dd1c23fb") + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (pin "COL5" input + (at 242.57 33.02 90) + (uuid "17d4b3cb-22ca-41b4-a7e2-227c92ebd451") + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (pin "ROW1" input + (at 217.17 48.26 180) + (uuid "5ac2431a-3860-4059-9ee8-6e033207b38f") + (effects + (font + (size 1.27 1.27) + ) + (justify left) + ) + ) + (pin "ROW2" input + (at 217.17 50.8 180) + (uuid "e119ba03-23bd-4f7f-b5dd-87b77128ed6e") + (effects + (font + (size 1.27 1.27) + ) + (justify left) + ) + ) + (pin "ROW3" input + (at 217.17 53.34 180) + (uuid "5c4cef97-81c9-4b1a-ab1b-58e213523943") + (effects + (font + (size 1.27 1.27) + ) + (justify left) + ) + ) + (pin "ROW4" input + (at 217.17 55.88 180) + (uuid "76a350b9-d4d1-4670-9452-164177e7325e") + (effects + (font + (size 1.27 1.27) + ) + (justify left) + ) + ) + (pin "ROW5" input + (at 217.17 58.42 180) + (uuid "9c7cae5f-cbf2-4929-8a9f-2c1833828cc3") + (effects + (font + (size 1.27 1.27) + ) + (justify left) + ) + ) + (pin "COL6" input + (at 245.11 33.02 90) + (uuid "e170e806-bf9d-4d28-94ec-af53935ce42a") + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (pin "COL7" input + (at 247.65 33.02 90) + (uuid "ce5339ca-1cd3-47bf-a8bd-40d1a8be3217") + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (pin "COL8" input + (at 250.19 33.02 90) + (uuid "aa5c787e-ea8e-4471-a48b-477b8665d0f9") + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (pin "COL9" input + (at 252.73 33.02 90) + (uuid "a1c7cd6c-9b58-4235-a987-a51e74e5b035") + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (pin "COL10" input + (at 255.27 33.02 90) + (uuid "2a3e96c4-a93c-4b28-8df7-014f6d2967a2") + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (pin "COL11" input + (at 257.81 33.02 90) + (uuid "5654bb0d-18cf-4321-a1de-6b0da32f992a") + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (pin "COL12" input + (at 260.35 33.02 90) + (uuid "265fd086-de26-4c7d-b10c-11aa8edeab5d") + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (pin "COL13" input + (at 262.89 33.02 90) + (uuid "7c01ef2a-f19e-4692-889a-24c89e336099") + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (pin "COL14" input + (at 265.43 33.02 90) + (uuid "7abc8f10-f8ea-4be5-bc41-59b74adfd401") + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (pin "COL15" input + (at 267.97 33.02 90) + (uuid "e35bf945-cb45-49ec-bd0f-2d20e78818d9") + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82" + (page "2") + ) + ) + ) + ) + (sheet_instances + (path "/" + (page "1") + ) + ) + (embedded_fonts no) +) diff --git a/hardware/68percent/matrixrot.kicad_sch b/hardware/68percent/matrixrot.kicad_sch new file mode 100644 index 00000000..853be872 --- /dev/null +++ b/hardware/68percent/matrixrot.kicad_sch @@ -0,0 +1,13193 @@ +(kicad_sch + (version 20250114) + (generator "eeschema") + (generator_version "9.0") + (uuid "64cbbd28-59d1-42ca-ac52-e45635cfa060") + (paper "A4") + (lib_symbols + (symbol "PCM_Diode_AKL:1N4148W" + (pin_numbers + (hide yes) + ) + (pin_names + (offset 1.016) + (hide yes) + ) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (property "Reference" "D" + (at 0 5.08 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Value" "1N4148W" + (at 0 2.54 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "PCM_Diode_SMD_AKL:D_SOD-123" + (at 0 0 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "https://datasheet.octopart.com/1N4148W-HE3-18-Vishay-datasheet-17291302.pdf" + (at 0 0 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "SOD-123 Diode, Small Signal, Fast Switching, 75V, 150mA, 4ns, Alternate KiCad Library" + (at 0 0 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "ki_keywords" "diode 1N4148W" + (at 0 0 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "ki_fp_filters" "TO-???* *_Diode_* *SingleDiode* D_*" + (at 0 0 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (symbol "1N4148W_0_1" + (polyline + (pts + (xy -1.27 1.27) (xy -1.27 -1.27) (xy 1.27 0) (xy -1.27 1.27) + ) + (stroke + (width 0.254) + (type default) + ) + (fill + (type outline) + ) + ) + (polyline + (pts + (xy -1.27 0) (xy 1.27 0) + ) + (stroke + (width 0) + (type default) + ) + (fill + (type none) + ) + ) + (polyline + (pts + (xy 1.27 1.27) (xy 1.27 -1.27) + ) + (stroke + (width 0.254) + (type default) + ) + (fill + (type none) + ) + ) + ) + (symbol "1N4148W_0_2" + (polyline + (pts + (xy -2.54 -2.54) (xy 2.54 2.54) + ) + (stroke + (width 0) + (type default) + ) + (fill + (type none) + ) + ) + (polyline + (pts + (xy -0.889 -0.889) (xy -1.778 0) (xy 0.889 0.889) (xy 0 -1.778) (xy -0.889 -0.889) + ) + (stroke + (width 0.254) + (type default) + ) + (fill + (type outline) + ) + ) + (polyline + (pts + (xy 0 1.778) (xy 1.778 0) + ) + (stroke + (width 0.254) + (type default) + ) + (fill + (type none) + ) + ) + ) + (symbol "1N4148W_1_1" + (pin passive line + (at -3.81 0 0) + (length 2.54) + (name "A" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "2" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + (pin passive line + (at 3.81 0 180) + (length 2.54) + (name "K" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "1" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + ) + (symbol "1N4148W_1_2" + (pin passive line + (at -2.54 -2.54 0) + (length 0) + (name "A" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "2" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + (pin passive line + (at 2.54 2.54 180) + (length 0) + (name "K" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "1" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + ) + (embedded_fonts no) + ) + (symbol "PCM_marbastlib-mx:MX_SW_HS_CPG151101S11" + (pin_numbers + (hide yes) + ) + (pin_names + (offset 1.016) + (hide yes) + ) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (property "Reference" "MX" + (at 3.048 1.016 0) + (effects + (font + (size 1.27 1.27) + ) + (justify left) + ) + ) + (property "Value" "MX_SW_HS" + (at 0 -3.81 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "PCM_marbastlib-mx:SW_MX_HS_CPG151101S11_1u" + (at 0 0 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "~" + (at 0 0 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "Push button switch, normally open, two pins, 45° tilted, Kailh CPG151101S11 for Cherry MX style switches" + (at 0 0 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "ki_keywords" "switch normally-open pushbutton push-button" + (at 0 0 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (symbol "MX_SW_HS_CPG151101S11_0_1" + (polyline + (pts + (xy -2.54 2.54) (xy -1.524 1.524) (xy -1.524 1.524) + ) + (stroke + (width 0) + (type default) + ) + (fill + (type none) + ) + ) + (circle + (center -1.1684 1.1684) + (radius 0.508) + (stroke + (width 0) + (type default) + ) + (fill + (type none) + ) + ) + (polyline + (pts + (xy -0.508 2.54) (xy 2.54 -0.508) + ) + (stroke + (width 0) + (type default) + ) + (fill + (type none) + ) + ) + (polyline + (pts + (xy 1.016 1.016) (xy 2.032 2.032) + ) + (stroke + (width 0) + (type default) + ) + (fill + (type none) + ) + ) + (circle + (center 1.143 -1.1938) + (radius 0.508) + (stroke + (width 0) + (type default) + ) + (fill + (type none) + ) + ) + (polyline + (pts + (xy 1.524 -1.524) (xy 2.54 -2.54) (xy 2.54 -2.54) (xy 2.54 -2.54) + ) + (stroke + (width 0) + (type default) + ) + (fill + (type none) + ) + ) + (pin passive line + (at -2.54 2.54 0) + (length 0) + (name "1" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "1" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + (pin passive line + (at 2.54 -2.54 180) + (length 0) + (name "2" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (number "2" + (effects + (font + (size 1.27 1.27) + ) + ) + ) + ) + ) + (embedded_fonts no) + ) + (symbol "PCM_marbastlib-mx:MX_stab" + (pin_names + (offset 1.016) + ) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (property "Reference" "S" + (at -5.08 6.35 0) + (effects + (font + (size 1.27 1.27) + ) + (justify left) + ) + ) + (property "Value" "MX_stab" + (at -5.08 3.81 0) + (effects + (font + (size 1.27 1.27) + ) + (justify left) + ) + ) + (property "Footprint" "PCM_marbastlib-mx:STAB_MX_P_6.25u" + (at 0 0 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "" + (at 0 0 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "Cherry MX-style stabilizer" + (at 0 0 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "ki_keywords" "cherry mx stabilizer stab" + (at 0 0 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (symbol "MX_stab_0_1" + (rectangle + (start -5.08 1.27) + (end -2.54 -2.54) + (stroke + (width 0) + (type default) + ) + (fill + (type none) + ) + ) + (rectangle + (start -5.08 -1.524) + (end -2.54 -2.54) + (stroke + (width 0) + (type default) + ) + (fill + (type none) + ) + ) + (rectangle + (start -4.826 2.794) + (end -2.794 1.27) + (stroke + (width 0) + (type default) + ) + (fill + (type none) + ) + ) + (rectangle + (start -4.064 1.27) + (end -3.556 2.794) + (stroke + (width 0) + (type default) + ) + (fill + (type none) + ) + ) + (rectangle + (start -4.064 -1.778) + (end 4.064 -2.286) + (stroke + (width 0) + (type default) + ) + (fill + (type none) + ) + ) + (rectangle + (start -4.064 -2.286) + (end -3.556 -1.016) + (stroke + (width 0) + (type default) + ) + (fill + (type none) + ) + ) + (rectangle + (start 2.54 1.27) + (end 5.08 -2.54) + (stroke + (width 0) + (type default) + ) + (fill + (type none) + ) + ) + (rectangle + (start 2.54 -1.524) + (end 5.08 -2.54) + (stroke + (width 0) + (type default) + ) + (fill + (type none) + ) + ) + (rectangle + (start 2.794 2.794) + (end 4.826 1.27) + (stroke + (width 0) + (type default) + ) + (fill + (type none) + ) + ) + (rectangle + (start 3.556 1.27) + (end 4.064 2.794) + (stroke + (width 0) + (type default) + ) + (fill + (type none) + ) + ) + (rectangle + (start 4.064 -2.286) + (end 3.556 -1.016) + (stroke + (width 0) + (type default) + ) + (fill + (type none) + ) + ) + ) + (embedded_fonts no) + ) + ) + (junction + (at 227.33 72.39) + (diameter 0) + (color 0 0 0 0) + (uuid "0012e120-5d63-43a7-b7e8-e1caa9642c26") + ) + (junction + (at 223.52 146.05) + (diameter 0) + (color 0 0 0 0) + (uuid "03e1ae58-a525-4b0e-8ffb-7e28785e0ae1") + ) + (junction + (at 151.13 92.71) + (diameter 0) + (color 0 0 0 0) + (uuid "0471acb6-0f22-4e52-9d5d-4148989d5f71") + ) + (junction + (at 74.93 92.71) + (diameter 0) + (color 0 0 0 0) + (uuid "081fed2f-0dd5-4630-afe1-8d32cae922e9") + ) + (junction + (at 147.32 125.73) + (diameter 0) + (color 0 0 0 0) + (uuid "08e187af-8994-4d68-8e30-f680dedf3690") + ) + (junction + (at 138.43 72.39) + (diameter 0) + (color 0 0 0 0) + (uuid "09c2b4d3-ee80-4044-98c6-9d8307738ff2") + ) + (junction + (at 83.82 85.09) + (diameter 0) + (color 0 0 0 0) + (uuid "0a89a3bd-7613-4fdc-a5e5-ebeb4ce3b288") + ) + (junction + (at 198.12 85.09) + (diameter 0) + (color 0 0 0 0) + (uuid "0cf3ac1b-249a-427e-b239-9b3f7def9160") + ) + (junction + (at 210.82 85.09) + (diameter 0) + (color 0 0 0 0) + (uuid "0d29c0ee-2e87-41d8-80c8-6c1ecdf468b0") + ) + (junction + (at 109.22 64.77) + (diameter 0) + (color 0 0 0 0) + (uuid "0df08e1f-fd0c-4e1e-82aa-632f2859ba0a") + ) + (junction + (at 113.03 113.03) + (diameter 0) + (color 0 0 0 0) + (uuid "0e83aab4-1f56-418b-8d31-805ab0c047d4") + ) + (junction + (at 210.82 105.41) + (diameter 0) + (color 0 0 0 0) + (uuid "0e8d3277-460e-441c-b397-d785db22be96") + ) + (junction + (at 227.33 92.71) + (diameter 0) + (color 0 0 0 0) + (uuid "103c0796-1ee5-4c40-85ac-f02272b534ac") + ) + (junction + (at 176.53 113.03) + (diameter 0) + (color 0 0 0 0) + (uuid "154e458e-740b-454b-b021-eafd66a9acd2") + ) + (junction + (at 147.32 105.41) + (diameter 0) + (color 0 0 0 0) + (uuid "15adc4b9-fb6a-4b62-b9a7-1a0b3ae344e4") + ) + (junction + (at 83.82 125.73) + (diameter 0) + (color 0 0 0 0) + (uuid "1769731d-156a-495b-8db4-59d549c4cba4") + ) + (junction + (at 138.43 52.07) + (diameter 0) + (color 0 0 0 0) + (uuid "203c2451-9052-4ce8-a508-61192b6aa7b8") + ) + (junction + (at 62.23 92.71) + (diameter 0) + (color 0 0 0 0) + (uuid "2471ba64-4c9e-4d8f-8637-73e19a3da602") + ) + (junction + (at 96.52 125.73) + (diameter 0) + (color 0 0 0 0) + (uuid "269b0e82-4bff-45c7-a9fa-d4571ce4c510") + ) + (junction + (at 62.23 113.03) + (diameter 0) + (color 0 0 0 0) + (uuid "26a19b55-b5c4-4932-b7e5-275c376fe9e7") + ) + (junction + (at 160.02 85.09) + (diameter 0) + (color 0 0 0 0) + (uuid "2931fb39-daf6-41a9-9a02-b5025c816133") + ) + (junction + (at 163.83 92.71) + (diameter 0) + (color 0 0 0 0) + (uuid "29d6d699-20a3-4efd-b5b9-1d6a0545892b") + ) + (junction + (at 74.93 72.39) + (diameter 0) + (color 0 0 0 0) + (uuid "2aa11235-829f-4940-89a1-ee913375a0ee") + ) + (junction + (at 223.52 125.73) + (diameter 0) + (color 0 0 0 0) + (uuid "2db1ee33-288a-4cf1-befe-269e82c75d25") + ) + (junction + (at 214.63 113.03) + (diameter 0) + (color 0 0 0 0) + (uuid "2ea8518f-4753-4406-ad31-cdcdc5877016") + ) + (junction + (at 71.12 125.73) + (diameter 0) + (color 0 0 0 0) + (uuid "2eff185f-35c3-44c7-b28f-809b121691c8") + ) + (junction + (at 134.62 105.41) + (diameter 0) + (color 0 0 0 0) + (uuid "301dd6f2-33fd-4e69-ba1e-4ace0ac7b78b") + ) + (junction + (at 236.22 146.05) + (diameter 0) + (color 0 0 0 0) + (uuid "30bb3656-0760-4630-84b2-0403c552f8b8") + ) + (junction + (at 96.52 105.41) + (diameter 0) + (color 0 0 0 0) + (uuid "32018cc9-57fe-4a97-b8ce-ea60bf7d2c50") + ) + (junction + (at 134.62 85.09) + (diameter 0) + (color 0 0 0 0) + (uuid "346f78df-0932-4bb6-9880-e65c20452c4a") + ) + (junction + (at 71.12 64.77) + (diameter 0) + (color 0 0 0 0) + (uuid "352e59c0-157c-42f8-8353-db8eff891bda") + ) + (junction + (at 201.93 72.39) + (diameter 0) + (color 0 0 0 0) + (uuid "392a12b7-3e17-4de1-b536-8e5312e839f8") + ) + (junction + (at 198.12 146.05) + (diameter 0) + (color 0 0 0 0) + (uuid "3a8cf4d1-8d3a-4d3d-8771-05629d31c5b7") + ) + (junction + (at 160.02 125.73) + (diameter 0) + (color 0 0 0 0) + (uuid "3b5c091b-f3d4-44de-a0a0-57d0179aa56a") + ) + (junction + (at 83.82 105.41) + (diameter 0) + (color 0 0 0 0) + (uuid "3f091272-0596-4a71-9bea-97067eafb939") + ) + (junction + (at 96.52 64.77) + (diameter 0) + (color 0 0 0 0) + (uuid "46c1ef80-3b3b-4b66-9b31-fe21c3b6490f") + ) + (junction + (at 201.93 92.71) + (diameter 0) + (color 0 0 0 0) + (uuid "4c61c1e8-e038-4d4d-b7d3-3d5d92ec09e8") + ) + (junction + (at 198.12 125.73) + (diameter 0) + (color 0 0 0 0) + (uuid "4e559eda-8749-44e8-860c-4820ac45e1ea") + ) + (junction + (at 223.52 64.77) + (diameter 0) + (color 0 0 0 0) + (uuid "505b036c-e927-4121-935c-64ff4d0d28f2") + ) + (junction + (at 189.23 113.03) + (diameter 0) + (color 0 0 0 0) + (uuid "57ba55db-6db9-40cc-8ab0-7cd02c67cb94") + ) + (junction + (at 62.23 72.39) + (diameter 0) + (color 0 0 0 0) + (uuid "5862a329-d21d-49c8-ad18-366772b48cda") + ) + (junction + (at 121.92 105.41) + (diameter 0) + (color 0 0 0 0) + (uuid "5a55b516-1df9-4c74-9d88-6dd173c8777e") + ) + (junction + (at 236.22 85.09) + (diameter 0) + (color 0 0 0 0) + (uuid "5b85bd7c-3e30-4307-80f5-077a81867677") + ) + (junction + (at 185.42 146.05) + (diameter 0) + (color 0 0 0 0) + (uuid "5cc94d45-bf6c-4b99-90e2-25f6d11023aa") + ) + (junction + (at 151.13 52.07) + (diameter 0) + (color 0 0 0 0) + (uuid "5d514022-2645-4c09-b538-66f94140d45b") + ) + (junction + (at 71.12 85.09) + (diameter 0) + (color 0 0 0 0) + (uuid "5e9fb221-8d37-4e01-b03e-006cb117570a") + ) + (junction + (at 189.23 52.07) + (diameter 0) + (color 0 0 0 0) + (uuid "5fb135fe-35da-4134-83de-7404c4d8ef53") + ) + (junction + (at 176.53 52.07) + (diameter 0) + (color 0 0 0 0) + (uuid "66a7117b-eed7-4036-9430-532d86d28919") + ) + (junction + (at 87.63 52.07) + (diameter 0) + (color 0 0 0 0) + (uuid "66de752f-9122-4088-b37b-80a7f602fbf6") + ) + (junction + (at 198.12 64.77) + (diameter 0) + (color 0 0 0 0) + (uuid "69f2c9c5-1888-4b12-ad8e-25c249049865") + ) + (junction + (at 113.03 52.07) + (diameter 0) + (color 0 0 0 0) + (uuid "6a50c245-6a58-4bae-95ec-8f613c4c5968") + ) + (junction + (at 49.53 72.39) + (diameter 0) + (color 0 0 0 0) + (uuid "6c5ceef9-a0c6-4f82-abab-484a4cf18a4b") + ) + (junction + (at 185.42 85.09) + (diameter 0) + (color 0 0 0 0) + (uuid "6dac510a-d7ef-4bc9-9dee-b60048cf9be8") + ) + (junction + (at 138.43 92.71) + (diameter 0) + (color 0 0 0 0) + (uuid "6ee865aa-316e-4ac9-9a91-db9b53659e50") + ) + (junction + (at 172.72 85.09) + (diameter 0) + (color 0 0 0 0) + (uuid "7182c520-ca17-4321-99d1-d7277108d776") + ) + (junction + (at 100.33 72.39) + (diameter 0) + (color 0 0 0 0) + (uuid "71f9daeb-e148-4112-bced-3ec7cc45b0b3") + ) + (junction + (at 189.23 72.39) + (diameter 0) + (color 0 0 0 0) + (uuid "81e46839-8d44-4ffc-aae7-c9c16a16d80f") + ) + (junction + (at 74.93 113.03) + (diameter 0) + (color 0 0 0 0) + (uuid "84ec4653-a96e-4c4f-b772-d5bdccd55464") + ) + (junction + (at 176.53 92.71) + (diameter 0) + (color 0 0 0 0) + (uuid "85d5b69a-e338-43e0-af58-025d43077afd") + ) + (junction + (at 121.92 125.73) + (diameter 0) + (color 0 0 0 0) + (uuid "8c52306d-2649-4a84-8e71-a956d45a5c01") + ) + (junction + (at 210.82 146.05) + (diameter 0) + (color 0 0 0 0) + (uuid "8ee4f632-40fd-4f7b-9209-de39a6a02371") + ) + (junction + (at 125.73 72.39) + (diameter 0) + (color 0 0 0 0) + (uuid "8fb97ccf-9b6e-45a4-a1f9-dd3096f51b1f") + ) + (junction + (at 109.22 125.73) + (diameter 0) + (color 0 0 0 0) + (uuid "8ff94d1a-db23-4e54-8f0d-de9712552b5b") + ) + (junction + (at 121.92 85.09) + (diameter 0) + (color 0 0 0 0) + (uuid "91b4c436-cdf3-4a6e-b1e6-56218d2f5a02") + ) + (junction + (at 172.72 146.05) + (diameter 0) + (color 0 0 0 0) + (uuid "94ee5b8a-e197-470e-b622-51f05d93e5fe") + ) + (junction + (at 71.12 146.05) + (diameter 0) + (color 0 0 0 0) + (uuid "956c5bd3-3ded-4b60-b86b-b34b5b448d54") + ) + (junction + (at 227.33 52.07) + (diameter 0) + (color 0 0 0 0) + (uuid "96920dc9-1b94-4e2d-89eb-e4c286229997") + ) + (junction + (at 121.92 64.77) + (diameter 0) + (color 0 0 0 0) + (uuid "9723fb3c-5bc9-4fcb-a156-c26917a22c30") + ) + (junction + (at 109.22 85.09) + (diameter 0) + (color 0 0 0 0) + (uuid "98261ae1-dab5-4b1b-b1c2-344eda7da91d") + ) + (junction + (at 109.22 105.41) + (diameter 0) + (color 0 0 0 0) + (uuid "9b7371b1-ba28-4622-91b2-2bf0e015ff00") + ) + (junction + (at 134.62 64.77) + (diameter 0) + (color 0 0 0 0) + (uuid "9e191881-f69d-4cae-99c0-730f72623edd") + ) + (junction + (at 49.53 113.03) + (diameter 0) + (color 0 0 0 0) + (uuid "9fc28236-b978-4e66-a62a-334b25382324") + ) + (junction + (at 125.73 92.71) + (diameter 0) + (color 0 0 0 0) + (uuid "a0500db1-94e7-47f5-a135-c86e72a9b178") + ) + (junction + (at 189.23 92.71) + (diameter 0) + (color 0 0 0 0) + (uuid "a060956c-2b99-4c40-bc15-2b89e15c12c0") + ) + (junction + (at 87.63 72.39) + (diameter 0) + (color 0 0 0 0) + (uuid "a0d33f34-9e88-4b23-bc7b-bc592a287954") + ) + (junction + (at 185.42 105.41) + (diameter 0) + (color 0 0 0 0) + (uuid "a175da39-ffe0-4f7c-8d05-7315c03c3eb3") + ) + (junction + (at 83.82 146.05) + (diameter 0) + (color 0 0 0 0) + (uuid "a70329a4-1dea-488f-8a0b-7699a50c1fba") + ) + (junction + (at 236.22 105.41) + (diameter 0) + (color 0 0 0 0) + (uuid "a82035f3-300c-41d9-9bfb-baddaf69d42c") + ) + (junction + (at 62.23 52.07) + (diameter 0) + (color 0 0 0 0) + (uuid "b03b93fb-2ba7-4b71-a0ab-fc5a35d8d5f2") + ) + (junction + (at 49.53 52.07) + (diameter 0) + (color 0 0 0 0) + (uuid "b61d941c-8eba-4c3b-a9e0-00cf22685db0") + ) + (junction + (at 163.83 52.07) + (diameter 0) + (color 0 0 0 0) + (uuid "b8a5801b-d453-4f7b-a452-08abbc00b3a4") + ) + (junction + (at 172.72 64.77) + (diameter 0) + (color 0 0 0 0) + (uuid "b9123f1e-0071-4432-8513-104d96d80880") + ) + (junction + (at 160.02 105.41) + (diameter 0) + (color 0 0 0 0) + (uuid "b9e61e9e-9f8b-4561-89d9-2363740e8de2") + ) + (junction + (at 96.52 85.09) + (diameter 0) + (color 0 0 0 0) + (uuid "bc515342-25c6-4188-b3a7-4c72d04af4b6") + ) + (junction + (at 113.03 72.39) + (diameter 0) + (color 0 0 0 0) + (uuid "bd75b124-a575-4cee-af9f-b7432212a99e") + ) + (junction + (at 227.33 113.03) + (diameter 0) + (color 0 0 0 0) + (uuid "c17d33ef-5384-46a8-ab9e-d8fdaba68902") + ) + (junction + (at 160.02 64.77) + (diameter 0) + (color 0 0 0 0) + (uuid "c30ab9d5-3f68-4fab-8885-160c1fb2bea2") + ) + (junction + (at 74.93 52.07) + (diameter 0) + (color 0 0 0 0) + (uuid "c46f4b94-43a5-4ce7-881e-a7b70a3472ae") + ) + (junction + (at 71.12 105.41) + (diameter 0) + (color 0 0 0 0) + (uuid "c4a5cdc9-35ce-4270-a577-3b8f720fcfa4") + ) + (junction + (at 83.82 64.77) + (diameter 0) + (color 0 0 0 0) + (uuid "c830674c-93cb-47f9-bcce-42a02fad4aad") + ) + (junction + (at 210.82 64.77) + (diameter 0) + (color 0 0 0 0) + (uuid "c9ab0521-079d-4b2d-9f1e-448bf49d390b") + ) + (junction + (at 100.33 92.71) + (diameter 0) + (color 0 0 0 0) + (uuid "cbb470cd-be60-439e-a252-272d26e7e19d") + ) + (junction + (at 134.62 125.73) + (diameter 0) + (color 0 0 0 0) + (uuid "ccf4eb53-81ae-4ea2-90f8-213ddec47d90") + ) + (junction + (at 125.73 52.07) + (diameter 0) + (color 0 0 0 0) + (uuid "cd25438f-3116-4e65-bcc3-5b9925defedd") + ) + (junction + (at 214.63 72.39) + (diameter 0) + (color 0 0 0 0) + (uuid "ce990119-1257-45ab-b3d1-8eac4946c963") + ) + (junction + (at 151.13 72.39) + (diameter 0) + (color 0 0 0 0) + (uuid "d1083c10-b726-4091-88a9-9f7ed6ecf00a") + ) + (junction + (at 100.33 52.07) + (diameter 0) + (color 0 0 0 0) + (uuid "d1c045b1-e895-44b5-bb71-e3e7f08c17ca") + ) + (junction + (at 121.92 146.05) + (diameter 0) + (color 0 0 0 0) + (uuid "d203df45-4c3d-4f37-9130-49d8f9ade753") + ) + (junction + (at 198.12 105.41) + (diameter 0) + (color 0 0 0 0) + (uuid "d20eaf26-77c9-4ab9-afc2-32d2a59f6d94") + ) + (junction + (at 163.83 113.03) + (diameter 0) + (color 0 0 0 0) + (uuid "d24559d8-fad0-4713-b00a-795d9976f3ea") + ) + (junction + (at 172.72 105.41) + (diameter 0) + (color 0 0 0 0) + (uuid "d4118566-94a0-4586-b1e7-65cb21a0a934") + ) + (junction + (at 176.53 72.39) + (diameter 0) + (color 0 0 0 0) + (uuid "d5ce552a-3140-477b-b8f1-22815ea3e4f2") + ) + (junction + (at 147.32 85.09) + (diameter 0) + (color 0 0 0 0) + (uuid "dc44dab0-8a75-4043-83fd-f793388f6f6b") + ) + (junction + (at 172.72 125.73) + (diameter 0) + (color 0 0 0 0) + (uuid "dc52e581-52b1-464e-beaf-91c22eafa940") + ) + (junction + (at 236.22 125.73) + (diameter 0) + (color 0 0 0 0) + (uuid "e077714b-5209-4abe-b10d-bf06cc5c74c4") + ) + (junction + (at 163.83 72.39) + (diameter 0) + (color 0 0 0 0) + (uuid "e203cb45-b8de-4a7b-9c88-89774115bd39") + ) + (junction + (at 87.63 92.71) + (diameter 0) + (color 0 0 0 0) + (uuid "e3d59d3f-65f4-429b-9b32-48a3966c0833") + ) + (junction + (at 214.63 52.07) + (diameter 0) + (color 0 0 0 0) + (uuid "e4e36866-4471-4af1-a862-ff2076415520") + ) + (junction + (at 147.32 64.77) + (diameter 0) + (color 0 0 0 0) + (uuid "e64051d3-2d7e-4fd7-985a-7648bcbc2ca0") + ) + (junction + (at 185.42 125.73) + (diameter 0) + (color 0 0 0 0) + (uuid "e7b3f5c5-f4e8-4b90-b9d5-c6c822fbe29c") + ) + (junction + (at 201.93 52.07) + (diameter 0) + (color 0 0 0 0) + (uuid "e7bfa61c-628a-4bfa-9036-6c9ede45bc75") + ) + (junction + (at 49.53 92.71) + (diameter 0) + (color 0 0 0 0) + (uuid "e9176dda-a950-4ae3-8014-e5120bd02a34") + ) + (junction + (at 185.42 64.77) + (diameter 0) + (color 0 0 0 0) + (uuid "eb90a787-76c9-422b-bc01-b950dc631e73") + ) + (junction + (at 223.52 85.09) + (diameter 0) + (color 0 0 0 0) + (uuid "f1df3d7c-bc6f-48aa-b3b4-c2324c5dff99") + ) + (junction + (at 236.22 64.77) + (diameter 0) + (color 0 0 0 0) + (uuid "f20e8170-3d5d-45ac-94a6-ff9679924056") + ) + (junction + (at 113.03 92.71) + (diameter 0) + (color 0 0 0 0) + (uuid "f7251d76-b714-4373-a864-b19bf754551c") + ) + (wire + (pts + (xy 163.83 113.03) (xy 167.64 113.03) + ) + (stroke + (width 0) + (type default) + ) + (uuid "004a6c58-38da-447b-bd9c-da799393537f") + ) + (wire + (pts + (xy 198.12 146.05) (xy 210.82 146.05) + ) + (stroke + (width 0) + (type default) + ) + (uuid "0050cc49-8d21-4d76-a293-868bc613bfc6") + ) + (wire + (pts + (xy 113.03 52.07) (xy 113.03 72.39) + ) + (stroke + (width 0) + (type default) + ) + (uuid "009d4ca6-baf7-4880-a9e5-206e3484f5ca") + ) + (wire + (pts + (xy 138.43 44.45) (xy 138.43 52.07) + ) + (stroke + (width 0) + (type default) + ) + (uuid "00bcf3d3-5053-45da-963c-935658cd8003") + ) + (wire + (pts + (xy 172.72 64.77) (xy 185.42 64.77) + ) + (stroke + (width 0) + (type default) + ) + (uuid "01da19a0-6c00-43c6-b08d-63784bb1512b") + ) + (wire + (pts + (xy 87.63 72.39) (xy 87.63 92.71) + ) + (stroke + (width 0) + (type default) + ) + (uuid "02e46a3e-12c4-4fdf-9f19-367314de1520") + ) + (wire + (pts + (xy 227.33 72.39) (xy 231.14 72.39) + ) + (stroke + (width 0) + (type default) + ) + (uuid "038c1dc8-3981-49a8-9404-f1af9b4ffaba") + ) + (wire + (pts + (xy 227.33 52.07) (xy 227.33 72.39) + ) + (stroke + (width 0) + (type default) + ) + (uuid "04189574-c161-42f9-af5a-9e9cb8ba72e0") + ) + (wire + (pts + (xy 100.33 92.71) (xy 100.33 113.03) + ) + (stroke + (width 0) + (type default) + ) + (uuid "04b432bd-8152-4c92-90cd-f50708257e72") + ) + (wire + (pts + (xy 163.83 72.39) (xy 167.64 72.39) + ) + (stroke + (width 0) + (type default) + ) + (uuid "069adb05-df96-448f-85dd-9e17b0301a21") + ) + (wire + (pts + (xy 151.13 72.39) (xy 151.13 92.71) + ) + (stroke + (width 0) + (type default) + ) + (uuid "089ad131-915c-4843-8c87-d740d50644e3") + ) + (wire + (pts + (xy 163.83 92.71) (xy 163.83 113.03) + ) + (stroke + (width 0) + (type default) + ) + (uuid "0916583d-74c2-4267-a666-2f971d5acee1") + ) + (wire + (pts + (xy 74.93 113.03) (xy 74.93 133.35) + ) + (stroke + (width 0) + (type default) + ) + (uuid "093a6e12-9315-4b6c-858e-a1bf807b00e4") + ) + (wire + (pts + (xy 151.13 44.45) (xy 151.13 52.07) + ) + (stroke + (width 0) + (type default) + ) + (uuid "0a168759-d872-46cc-9251-e8c0d5af28f8") + ) + (wire + (pts + (xy 176.53 52.07) (xy 180.34 52.07) + ) + (stroke + (width 0) + (type default) + ) + (uuid "0a829fc7-af1d-4891-af6b-b18fd4b7d625") + ) + (wire + (pts + (xy 223.52 146.05) (xy 236.22 146.05) + ) + (stroke + (width 0) + (type default) + ) + (uuid "0c8a98a0-2b67-4cc0-91bd-8db3732ed122") + ) + (wire + (pts + (xy 49.53 113.03) (xy 53.34 113.03) + ) + (stroke + (width 0) + (type default) + ) + (uuid "0eebcdea-25e3-446a-886d-d9ad5fa22491") + ) + (wire + (pts + (xy 83.82 105.41) (xy 71.12 105.41) + ) + (stroke + (width 0) + (type default) + ) + (uuid "102538a1-0314-4aa8-8042-a1ea96549cb3") + ) + (wire + (pts + (xy 74.93 133.35) (xy 78.74 133.35) + ) + (stroke + (width 0) + (type default) + ) + (uuid "116cda19-84f1-4aa9-98a8-8c523a60cfce") + ) + (wire + (pts + (xy 176.53 92.71) (xy 180.34 92.71) + ) + (stroke + (width 0) + (type default) + ) + (uuid "12947892-9c1b-4c7b-8913-4ad554542e16") + ) + (wire + (pts + (xy 236.22 105.41) (xy 252.73 105.41) + ) + (stroke + (width 0) + (type default) + ) + (uuid "136fbb22-3aa5-44a3-a871-d2b6c4d13f8e") + ) + (wire + (pts + (xy 113.03 72.39) (xy 116.84 72.39) + ) + (stroke + (width 0) + (type default) + ) + (uuid "137d010d-4f8d-48f0-9e7d-2e0a9022c522") + ) + (wire + (pts + (xy 49.53 44.45) (xy 49.53 52.07) + ) + (stroke + (width 0) + (type default) + ) + (uuid "141be2e7-f0f4-4d98-a6ee-3f02396997b4") + ) + (wire + (pts + (xy 49.53 133.35) (xy 53.34 133.35) + ) + (stroke + (width 0) + (type default) + ) + (uuid "1435077f-5f8b-46d7-b3bb-b812afe5a8a7") + ) + (wire + (pts + (xy 223.52 64.77) (xy 236.22 64.77) + ) + (stroke + (width 0) + (type default) + ) + (uuid "16157935-aa18-448c-af83-6837afe526ca") + ) + (wire + (pts + (xy 121.92 125.73) (xy 109.22 125.73) + ) + (stroke + (width 0) + (type default) + ) + (uuid "16d1af61-d93a-4e8c-8156-c6ad58964850") + ) + (wire + (pts + (xy 49.53 92.71) (xy 53.34 92.71) + ) + (stroke + (width 0) + (type default) + ) + (uuid "1bff3a53-2dcb-47ca-8296-4832fce4fa34") + ) + (wire + (pts + (xy 214.63 133.35) (xy 218.44 133.35) + ) + (stroke + (width 0) + (type default) + ) + (uuid "1c069dee-7114-476e-8975-f096f171af17") + ) + (wire + (pts + (xy 147.32 85.09) (xy 134.62 85.09) + ) + (stroke + (width 0) + (type default) + ) + (uuid "1d5d22cf-35d1-4cec-920b-1f3ac077e35c") + ) + (wire + (pts + (xy 198.12 105.41) (xy 185.42 105.41) + ) + (stroke + (width 0) + (type default) + ) + (uuid "1ed88602-e36a-44fd-be7a-600bad15a795") + ) + (wire + (pts + (xy 87.63 52.07) (xy 91.44 52.07) + ) + (stroke + (width 0) + (type default) + ) + (uuid "1fd71eb8-1859-46a7-a7e4-a0975f81aaf9") + ) + (wire + (pts + (xy 83.82 64.77) (xy 96.52 64.77) + ) + (stroke + (width 0) + (type default) + ) + (uuid "20061edb-e92a-4615-8c80-cb039ed05099") + ) + (wire + (pts + (xy 198.12 85.09) (xy 185.42 85.09) + ) + (stroke + (width 0) + (type default) + ) + (uuid "2030c9a4-0051-4cf0-b031-88db76205f1f") + ) + (wire + (pts + (xy 160.02 64.77) (xy 172.72 64.77) + ) + (stroke + (width 0) + (type default) + ) + (uuid "2087c50c-d180-4141-a504-b9bd9fc4d0d9") + ) + (wire + (pts + (xy 163.83 52.07) (xy 167.64 52.07) + ) + (stroke + (width 0) + (type default) + ) + (uuid "239934a6-6031-4271-82ff-5b1848e0446a") + ) + (wire + (pts + (xy 227.33 133.35) (xy 231.14 133.35) + ) + (stroke + (width 0) + (type default) + ) + (uuid "278f4c59-c433-48a0-827b-15231c236d0e") + ) + (wire + (pts + (xy 134.62 85.09) (xy 121.92 85.09) + ) + (stroke + (width 0) + (type default) + ) + (uuid "27affcb9-9f7d-49de-9d85-b5b7fa2e66b0") + ) + (wire + (pts + (xy 138.43 52.07) (xy 142.24 52.07) + ) + (stroke + (width 0) + (type default) + ) + (uuid "27f9bd5b-1845-4339-8314-ea0e76df5140") + ) + (wire + (pts + (xy 83.82 125.73) (xy 71.12 125.73) + ) + (stroke + (width 0) + (type default) + ) + (uuid "2813a8b0-a584-47a7-bc1d-1fcf5211d45a") + ) + (wire + (pts + (xy 227.33 44.45) (xy 227.33 52.07) + ) + (stroke + (width 0) + (type default) + ) + (uuid "28732937-2702-440d-a8a9-4e557ad47eb8") + ) + (wire + (pts + (xy 74.93 72.39) (xy 74.93 92.71) + ) + (stroke + (width 0) + (type default) + ) + (uuid "295d98c1-3286-4a7e-9aa2-7ece96d41785") + ) + (wire + (pts + (xy 214.63 113.03) (xy 214.63 133.35) + ) + (stroke + (width 0) + (type default) + ) + (uuid "2a865fcc-d4b6-45cb-baae-0376961bad2b") + ) + (wire + (pts + (xy 125.73 52.07) (xy 129.54 52.07) + ) + (stroke + (width 0) + (type default) + ) + (uuid "2aa74675-6396-474b-a39e-24d406415b79") + ) + (wire + (pts + (xy 163.83 133.35) (xy 167.64 133.35) + ) + (stroke + (width 0) + (type default) + ) + (uuid "2b91f2da-1152-4a01-b1c7-6a568a91ab43") + ) + (wire + (pts + (xy 160.02 105.41) (xy 147.32 105.41) + ) + (stroke + (width 0) + (type default) + ) + (uuid "308709ae-8580-4bfe-be51-3eb013345254") + ) + (wire + (pts + (xy 96.52 125.73) (xy 83.82 125.73) + ) + (stroke + (width 0) + (type default) + ) + (uuid "30fa1de3-ea44-4c4e-b209-5c4fdee86438") + ) + (wire + (pts + (xy 205.74 92.71) (xy 201.93 92.71) + ) + (stroke + (width 0) + (type default) + ) + (uuid "323b2a73-37ad-4f3e-9b4d-2cfa7156005f") + ) + (wire + (pts + (xy 74.93 52.07) (xy 74.93 72.39) + ) + (stroke + (width 0) + (type default) + ) + (uuid "33126f6a-6a78-4392-95bf-9fb928446bf2") + ) + (wire + (pts + (xy 252.73 85.09) (xy 236.22 85.09) + ) + (stroke + (width 0) + (type default) + ) + (uuid "352284c5-7253-4571-bdd0-bcee4558ff12") + ) + (wire + (pts + (xy 87.63 72.39) (xy 91.44 72.39) + ) + (stroke + (width 0) + (type default) + ) + (uuid "353e0b00-1b00-4c48-b863-ca36f4aee877") + ) + (wire + (pts + (xy 109.22 85.09) (xy 96.52 85.09) + ) + (stroke + (width 0) + (type default) + ) + (uuid "354c19a6-04d8-4ee8-9695-70e2eff503d2") + ) + (wire + (pts + (xy 198.12 105.41) (xy 210.82 105.41) + ) + (stroke + (width 0) + (type default) + ) + (uuid "382958ed-00b0-47a3-8b6f-4f82e0f67865") + ) + (wire + (pts + (xy 74.93 52.07) (xy 78.74 52.07) + ) + (stroke + (width 0) + (type default) + ) + (uuid "39c6d66f-4afc-43d0-8290-82de9e3d1dea") + ) + (wire + (pts + (xy 138.43 113.03) (xy 142.24 113.03) + ) + (stroke + (width 0) + (type default) + ) + (uuid "3a93a19a-54cb-446e-8d78-ab1b3a663710") + ) + (wire + (pts + (xy 236.22 125.73) (xy 252.73 125.73) + ) + (stroke + (width 0) + (type default) + ) + (uuid "3cf3b3f9-d2e3-4eae-bd1b-3d50597c3347") + ) + (wire + (pts + (xy 71.12 85.09) (xy 58.42 85.09) + ) + (stroke + (width 0) + (type default) + ) + (uuid "3e4a3d05-d4da-4f8e-a8a2-4562b9325304") + ) + (wire + (pts + (xy 198.12 64.77) (xy 210.82 64.77) + ) + (stroke + (width 0) + (type default) + ) + (uuid "3e4e9c05-f2d7-4389-ad3d-f236d134901a") + ) + (wire + (pts + (xy 113.03 113.03) (xy 116.84 113.03) + ) + (stroke + (width 0) + (type default) + ) + (uuid "41b1016d-c645-40e8-a371-552cd3fb37d9") + ) + (wire + (pts + (xy 71.12 146.05) (xy 58.42 146.05) + ) + (stroke + (width 0) + (type default) + ) + (uuid "41b856a4-0aec-4614-8e21-1a1b3359ce47") + ) + (wire + (pts + (xy 151.13 72.39) (xy 154.94 72.39) + ) + (stroke + (width 0) + (type default) + ) + (uuid "422d05e7-8b11-4ea3-8580-2260a5765d46") + ) + (wire + (pts + (xy 96.52 64.77) (xy 109.22 64.77) + ) + (stroke + (width 0) + (type default) + ) + (uuid "438160c4-f1b2-422b-8ad2-3014d920c1b7") + ) + (wire + (pts + (xy 87.63 44.45) (xy 87.63 52.07) + ) + (stroke + (width 0) + (type default) + ) + (uuid "43b73d4e-f5dd-453f-ba80-915b3b11bd6c") + ) + (wire + (pts + (xy 176.53 72.39) (xy 176.53 92.71) + ) + (stroke + (width 0) + (type default) + ) + (uuid "4480d763-8d7c-4588-9f81-6266e303a8de") + ) + (wire + (pts + (xy 74.93 72.39) (xy 78.74 72.39) + ) + (stroke + (width 0) + (type default) + ) + (uuid "457e2632-3aa6-4580-8e7f-584483cf9462") + ) + (wire + (pts + (xy 58.42 64.77) (xy 71.12 64.77) + ) + (stroke + (width 0) + (type default) + ) + (uuid "4612cc6e-af8c-48bc-b9ba-ee7404db0c31") + ) + (wire + (pts + (xy 121.92 85.09) (xy 109.22 85.09) + ) + (stroke + (width 0) + (type default) + ) + (uuid "497b31c7-4162-491f-8f38-75ba3ced09c0") + ) + (wire + (pts + (xy 227.33 113.03) (xy 231.14 113.03) + ) + (stroke + (width 0) + (type default) + ) + (uuid "4985e58c-1566-41f8-9540-1a04311752b2") + ) + (wire + (pts + (xy 62.23 113.03) (xy 62.23 133.35) + ) + (stroke + (width 0) + (type default) + ) + (uuid "4a766e59-f74b-470c-9b24-45cd787cae50") + ) + (wire + (pts + (xy 163.83 113.03) (xy 163.83 133.35) + ) + (stroke + (width 0) + (type default) + ) + (uuid "4bf3b8e2-71df-4455-8fa6-db8ae1c44bc6") + ) + (wire + (pts + (xy 236.22 146.05) (xy 254 146.05) + ) + (stroke + (width 0) + (type default) + ) + (uuid "4cb74075-863a-4a8a-aa84-0bdf217f5a17") + ) + (wire + (pts + (xy 176.53 44.45) (xy 176.53 52.07) + ) + (stroke + (width 0) + (type default) + ) + (uuid "4dda5980-9156-4fc2-a4f6-ee635fa32997") + ) + (wire + (pts + (xy 223.52 125.73) (xy 236.22 125.73) + ) + (stroke + (width 0) + (type default) + ) + (uuid "4eaa69d4-f68b-409f-8a58-8786112bf6f8") + ) + (wire + (pts + (xy 172.72 125.73) (xy 160.02 125.73) + ) + (stroke + (width 0) + (type default) + ) + (uuid "52f85d1d-85ce-46da-9e68-35b65acc552c") + ) + (wire + (pts + (xy 198.12 125.73) (xy 223.52 125.73) + ) + (stroke + (width 0) + (type default) + ) + (uuid "54a6227c-7179-4bb3-9900-ccc8475b966b") + ) + (wire + (pts + (xy 189.23 72.39) (xy 189.23 92.71) + ) + (stroke + (width 0) + (type default) + ) + (uuid "55e1a0cb-f102-4d67-a30d-bb300543e5f0") + ) + (wire + (pts + (xy 125.73 44.45) (xy 125.73 52.07) + ) + (stroke + (width 0) + (type default) + ) + (uuid "560b2137-8d98-4500-82d8-6ea861a2681e") + ) + (wire + (pts + (xy 189.23 92.71) (xy 189.23 113.03) + ) + (stroke + (width 0) + (type default) + ) + (uuid "570a7877-ac3a-4bb2-8c21-8348ac9c0d92") + ) + (wire + (pts + (xy 172.72 146.05) (xy 185.42 146.05) + ) + (stroke + (width 0) + (type default) + ) + (uuid "57e431db-50ae-464f-b0cf-b08896cff24f") + ) + (wire + (pts + (xy 160.02 125.73) (xy 147.32 125.73) + ) + (stroke + (width 0) + (type default) + ) + (uuid "5d6e2e94-ac06-4893-8ac3-6b37ea2e9cf5") + ) + (wire + (pts + (xy 100.33 113.03) (xy 104.14 113.03) + ) + (stroke + (width 0) + (type default) + ) + (uuid "5ea1ae72-f6d3-403c-b47b-6fe80ea55586") + ) + (wire + (pts + (xy 201.93 72.39) (xy 205.74 72.39) + ) + (stroke + (width 0) + (type default) + ) + (uuid "6315496f-524b-41df-9893-f68610b64399") + ) + (wire + (pts + (xy 96.52 105.41) (xy 83.82 105.41) + ) + (stroke + (width 0) + (type default) + ) + (uuid "63bd4bb2-1421-4c35-918c-faf7c3f43bee") + ) + (wire + (pts + (xy 125.73 72.39) (xy 125.73 92.71) + ) + (stroke + (width 0) + (type default) + ) + (uuid "67997331-f951-4e1d-ac79-423ea4f3e36e") + ) + (wire + (pts + (xy 201.93 52.07) (xy 205.74 52.07) + ) + (stroke + (width 0) + (type default) + ) + (uuid "67e5ab9f-b841-41d7-ad77-61b99f832106") + ) + (wire + (pts + (xy 62.23 72.39) (xy 66.04 72.39) + ) + (stroke + (width 0) + (type default) + ) + (uuid "6854bbe2-8761-45f4-a411-4a517ac94f59") + ) + (wire + (pts + (xy 96.52 85.09) (xy 83.82 85.09) + ) + (stroke + (width 0) + (type default) + ) + (uuid "6babb997-ba9f-4e74-9a3d-75b47c08436b") + ) + (wire + (pts + (xy 62.23 72.39) (xy 62.23 92.71) + ) + (stroke + (width 0) + (type default) + ) + (uuid "6bb32ffa-bf12-4d94-932c-4df29835f70e") + ) + (wire + (pts + (xy 100.33 44.45) (xy 100.33 52.07) + ) + (stroke + (width 0) + (type default) + ) + (uuid "6e691b96-80e4-4877-9a4d-28d514cfe527") + ) + (wire + (pts + (xy 121.92 64.77) (xy 134.62 64.77) + ) + (stroke + (width 0) + (type default) + ) + (uuid "6eeaaa93-d6f3-4c7b-89c2-2f950dfe32be") + ) + (wire + (pts + (xy 185.42 125.73) (xy 198.12 125.73) + ) + (stroke + (width 0) + (type default) + ) + (uuid "6f898b64-3903-4a3f-b6ef-a74ffa7aef2b") + ) + (wire + (pts + (xy 62.23 52.07) (xy 66.04 52.07) + ) + (stroke + (width 0) + (type default) + ) + (uuid "6fb71a56-9650-46e2-9579-94bf4afe614f") + ) + (wire + (pts + (xy 151.13 92.71) (xy 154.94 92.71) + ) + (stroke + (width 0) + (type default) + ) + (uuid "73b46ed3-0d30-4e80-a5ef-2ab5d737ad78") + ) + (wire + (pts + (xy 83.82 85.09) (xy 71.12 85.09) + ) + (stroke + (width 0) + (type default) + ) + (uuid "74f52cec-f681-400c-9c87-435a6ab50e1c") + ) + (wire + (pts + (xy 176.53 72.39) (xy 180.34 72.39) + ) + (stroke + (width 0) + (type default) + ) + (uuid "7743be71-21a3-4a00-b346-ab0eaaeaeb05") + ) + (wire + (pts + (xy 223.52 85.09) (xy 210.82 85.09) + ) + (stroke + (width 0) + (type default) + ) + (uuid "77718ac1-e9bf-43a4-b9b1-27695d83f257") + ) + (wire + (pts + (xy 176.53 133.35) (xy 180.34 133.35) + ) + (stroke + (width 0) + (type default) + ) + (uuid "78b73028-43de-43c7-9c24-94402c23d800") + ) + (wire + (pts + (xy 71.12 125.73) (xy 58.42 125.73) + ) + (stroke + (width 0) + (type default) + ) + (uuid "79867b1a-6280-4b14-9700-0f72c99dd507") + ) + (wire + (pts + (xy 201.93 133.35) (xy 205.74 133.35) + ) + (stroke + (width 0) + (type default) + ) + (uuid "7bc692b7-5180-4866-89b2-05c9a17ce131") + ) + (wire + (pts + (xy 147.32 125.73) (xy 134.62 125.73) + ) + (stroke + (width 0) + (type default) + ) + (uuid "7ce34287-cf78-42e6-819b-1fef95c80df0") + ) + (wire + (pts + (xy 113.03 113.03) (xy 113.03 133.35) + ) + (stroke + (width 0) + (type default) + ) + (uuid "7dcddafc-dd28-4bf5-a079-f87270b5e39f") + ) + (wire + (pts + (xy 100.33 92.71) (xy 104.14 92.71) + ) + (stroke + (width 0) + (type default) + ) + (uuid "835fa3cb-e240-4399-91e0-b83725350ec1") + ) + (wire + (pts + (xy 201.93 52.07) (xy 201.93 72.39) + ) + (stroke + (width 0) + (type default) + ) + (uuid "83d862a0-e85b-4519-97d8-0043251830f0") + ) + (wire + (pts + (xy 185.42 85.09) (xy 172.72 85.09) + ) + (stroke + (width 0) + (type default) + ) + (uuid "83fa1d8c-e2ec-476e-8320-0bea89567707") + ) + (wire + (pts + (xy 109.22 64.77) (xy 121.92 64.77) + ) + (stroke + (width 0) + (type default) + ) + (uuid "84b6912c-1f87-4db8-bfd6-f9264414d8a7") + ) + (wire + (pts + (xy 214.63 52.07) (xy 218.44 52.07) + ) + (stroke + (width 0) + (type default) + ) + (uuid "850dbcf4-bb83-44bd-a9b7-a2e01166bf6b") + ) + (wire + (pts + (xy 121.92 105.41) (xy 109.22 105.41) + ) + (stroke + (width 0) + (type default) + ) + (uuid "856638f7-8d87-4f29-be80-21a6de350b96") + ) + (wire + (pts + (xy 100.33 52.07) (xy 104.14 52.07) + ) + (stroke + (width 0) + (type default) + ) + (uuid "883da1b8-f3ee-4786-8f30-96bed68ef80b") + ) + (wire + (pts + (xy 49.53 72.39) (xy 49.53 92.71) + ) + (stroke + (width 0) + (type default) + ) + (uuid "88d6c0e3-dcb3-4095-b07a-dd0142d9ff6b") + ) + (wire + (pts + (xy 138.43 72.39) (xy 138.43 92.71) + ) + (stroke + (width 0) + (type default) + ) + (uuid "88f65b62-da2b-4155-b12c-7d2a4dc403ca") + ) + (wire + (pts + (xy 138.43 92.71) (xy 138.43 113.03) + ) + (stroke + (width 0) + (type default) + ) + (uuid "8b0e6882-7978-4303-8943-c715c542d0b2") + ) + (wire + (pts + (xy 74.93 44.45) (xy 74.93 52.07) + ) + (stroke + (width 0) + (type default) + ) + (uuid "8daab8ca-6a72-4f5a-a058-6ede0e408de5") + ) + (wire + (pts + (xy 121.92 146.05) (xy 172.72 146.05) + ) + (stroke + (width 0) + (type default) + ) + (uuid "901aaf7e-0bb7-4618-9ef8-70cb458b71d9") + ) + (wire + (pts + (xy 214.63 52.07) (xy 214.63 72.39) + ) + (stroke + (width 0) + (type default) + ) + (uuid "92ec3a0c-ed25-4824-a17f-e1e5bc6175d0") + ) + (wire + (pts + (xy 151.13 52.07) (xy 154.94 52.07) + ) + (stroke + (width 0) + (type default) + ) + (uuid "95d542e3-2637-4408-8f95-2caf46bd465d") + ) + (wire + (pts + (xy 189.23 113.03) (xy 193.04 113.03) + ) + (stroke + (width 0) + (type default) + ) + (uuid "99c7bdca-b702-4658-8a1b-ed137cd55625") + ) + (wire + (pts + (xy 189.23 44.45) (xy 189.23 52.07) + ) + (stroke + (width 0) + (type default) + ) + (uuid "9adb3071-7561-443a-9d33-e2627ae5960f") + ) + (wire + (pts + (xy 100.33 52.07) (xy 100.33 72.39) + ) + (stroke + (width 0) + (type default) + ) + (uuid "9d9bba8f-2779-4846-a3ae-356ad63e3836") + ) + (wire + (pts + (xy 100.33 72.39) (xy 100.33 92.71) + ) + (stroke + (width 0) + (type default) + ) + (uuid "a0b093a9-3f2e-4fd0-8400-55c00b2c03b1") + ) + (wire + (pts + (xy 151.13 92.71) (xy 151.13 113.03) + ) + (stroke + (width 0) + (type default) + ) + (uuid "a0bae8f5-9c6c-4c7a-8fd5-416967159b25") + ) + (wire + (pts + (xy 49.53 52.07) (xy 53.34 52.07) + ) + (stroke + (width 0) + (type default) + ) + (uuid "a1a86faf-20e5-4f06-8d35-5805e634cea4") + ) + (wire + (pts + (xy 214.63 44.45) (xy 214.63 52.07) + ) + (stroke + (width 0) + (type default) + ) + (uuid "a1f70b95-6e02-4cfc-83f9-389791896706") + ) + (wire + (pts + (xy 189.23 52.07) (xy 193.04 52.07) + ) + (stroke + (width 0) + (type default) + ) + (uuid "a5e13153-9bb4-4117-9999-b5118a097186") + ) + (wire + (pts + (xy 109.22 105.41) (xy 96.52 105.41) + ) + (stroke + (width 0) + (type default) + ) + (uuid "a654ce6e-0a76-4e5a-9116-43f802ffbf45") + ) + (wire + (pts + (xy 83.82 146.05) (xy 121.92 146.05) + ) + (stroke + (width 0) + (type default) + ) + (uuid "a700d69c-530d-4a4d-a15e-797f780f3ccb") + ) + (wire + (pts + (xy 227.33 92.71) (xy 227.33 113.03) + ) + (stroke + (width 0) + (type default) + ) + (uuid "a719adc6-028d-4812-9ccd-d1c0e2dfe94e") + ) + (wire + (pts + (xy 138.43 72.39) (xy 142.24 72.39) + ) + (stroke + (width 0) + (type default) + ) + (uuid "a74b7ea1-1b8c-4e36-877a-09dd2aec83f2") + ) + (wire + (pts + (xy 109.22 125.73) (xy 96.52 125.73) + ) + (stroke + (width 0) + (type default) + ) + (uuid "a775deb5-f08c-4500-bf52-71ae83d0cc09") + ) + (wire + (pts + (xy 62.23 133.35) (xy 66.04 133.35) + ) + (stroke + (width 0) + (type default) + ) + (uuid "a80bef15-5f00-477a-a099-d2e51ffc8ff9") + ) + (wire + (pts + (xy 172.72 105.41) (xy 160.02 105.41) + ) + (stroke + (width 0) + (type default) + ) + (uuid "a8cf104a-5c0e-42b4-b291-15d3a4d2467e") + ) + (wire + (pts + (xy 151.13 52.07) (xy 151.13 72.39) + ) + (stroke + (width 0) + (type default) + ) + (uuid "a8de5c9c-8409-437d-a097-10548c64eec1") + ) + (wire + (pts + (xy 125.73 113.03) (xy 125.73 92.71) + ) + (stroke + (width 0) + (type default) + ) + (uuid "aaae26b1-468d-4561-bda2-a808d3f0cbb1") + ) + (wire + (pts + (xy 227.33 92.71) (xy 231.14 92.71) + ) + (stroke + (width 0) + (type default) + ) + (uuid "acb298b9-aad1-4dcf-9a86-ac80a6c65ed8") + ) + (wire + (pts + (xy 201.93 92.71) (xy 201.93 133.35) + ) + (stroke + (width 0) + (type default) + ) + (uuid "ad06bd9f-5774-43d4-ba05-281cf2a83414") + ) + (wire + (pts + (xy 210.82 85.09) (xy 198.12 85.09) + ) + (stroke + (width 0) + (type default) + ) + (uuid "ade5741c-3ba3-4e67-af83-839faf7819ec") + ) + (wire + (pts + (xy 236.22 85.09) (xy 223.52 85.09) + ) + (stroke + (width 0) + (type default) + ) + (uuid "ade5e348-6233-4962-8c96-d0a81c8184c1") + ) + (wire + (pts + (xy 71.12 64.77) (xy 83.82 64.77) + ) + (stroke + (width 0) + (type default) + ) + (uuid "ae7a6ece-4e80-427f-ac42-48402b7aa78e") + ) + (wire + (pts + (xy 125.73 92.71) (xy 129.54 92.71) + ) + (stroke + (width 0) + (type default) + ) + (uuid "af76f0fc-7bc8-4992-aea8-627808f233ad") + ) + (wire + (pts + (xy 62.23 92.71) (xy 62.23 113.03) + ) + (stroke + (width 0) + (type default) + ) + (uuid "b11dfd35-34d8-4b99-be2f-6dbddcfafba2") + ) + (wire + (pts + (xy 189.23 113.03) (xy 189.23 133.35) + ) + (stroke + (width 0) + (type default) + ) + (uuid "b13104f1-b8ba-4da3-9a03-a221c0b8b6d6") + ) + (wire + (pts + (xy 236.22 64.77) (xy 252.73 64.77) + ) + (stroke + (width 0) + (type default) + ) + (uuid "b2a828c7-0ccf-48fe-9409-c03cad6e3263") + ) + (wire + (pts + (xy 62.23 52.07) (xy 62.23 72.39) + ) + (stroke + (width 0) + (type default) + ) + (uuid "b6963a04-9552-49e5-904e-cbd734e9242b") + ) + (wire + (pts + (xy 176.53 113.03) (xy 176.53 133.35) + ) + (stroke + (width 0) + (type default) + ) + (uuid "b718def8-4847-422c-ac7c-39aa578cfe84") + ) + (wire + (pts + (xy 210.82 146.05) (xy 223.52 146.05) + ) + (stroke + (width 0) + (type default) + ) + (uuid "b73ad922-62f0-4a64-aaa9-44503b1350b9") + ) + (wire + (pts + (xy 147.32 105.41) (xy 134.62 105.41) + ) + (stroke + (width 0) + (type default) + ) + (uuid "b7776fd6-86dc-4cfa-82f9-79bd3f155e6f") + ) + (wire + (pts + (xy 74.93 113.03) (xy 78.74 113.03) + ) + (stroke + (width 0) + (type default) + ) + (uuid "b7ccdc3c-7c1d-4b53-95a9-92b4c3cad403") + ) + (wire + (pts + (xy 113.03 133.35) (xy 116.84 133.35) + ) + (stroke + (width 0) + (type default) + ) + (uuid "b9aa1cea-7bd0-4dca-a010-412186b5baf3") + ) + (wire + (pts + (xy 218.44 113.03) (xy 214.63 113.03) + ) + (stroke + (width 0) + (type default) + ) + (uuid "bcddac47-fa78-4f86-9bf2-b4e8727f59b5") + ) + (wire + (pts + (xy 227.33 52.07) (xy 231.14 52.07) + ) + (stroke + (width 0) + (type default) + ) + (uuid "bd19e4f1-85fe-482e-93b1-115bfaee6b17") + ) + (wire + (pts + (xy 193.04 92.71) (xy 189.23 92.71) + ) + (stroke + (width 0) + (type default) + ) + (uuid "bde212d5-4bac-4fe7-bce9-e2a34b639041") + ) + (wire + (pts + (xy 49.53 113.03) (xy 49.53 133.35) + ) + (stroke + (width 0) + (type default) + ) + (uuid "be48e264-ba3a-4fba-ae1f-ee4ab90510af") + ) + (wire + (pts + (xy 163.83 44.45) (xy 163.83 52.07) + ) + (stroke + (width 0) + (type default) + ) + (uuid "c0401f20-59de-476f-9f52-dc951b2d1fa0") + ) + (wire + (pts + (xy 189.23 52.07) (xy 189.23 72.39) + ) + (stroke + (width 0) + (type default) + ) + (uuid "c199442b-1e36-497c-a941-63ee237226a6") + ) + (wire + (pts + (xy 125.73 113.03) (xy 129.54 113.03) + ) + (stroke + (width 0) + (type default) + ) + (uuid "c239db3e-a39c-4287-9225-d683c7d84a78") + ) + (wire + (pts + (xy 227.33 113.03) (xy 227.33 133.35) + ) + (stroke + (width 0) + (type default) + ) + (uuid "c2d39a48-54ce-434e-9737-c2c5ab2b3945") + ) + (wire + (pts + (xy 62.23 113.03) (xy 66.04 113.03) + ) + (stroke + (width 0) + (type default) + ) + (uuid "c363fe1d-a5dc-4c8d-a06a-70834885ace4") + ) + (wire + (pts + (xy 138.43 92.71) (xy 142.24 92.71) + ) + (stroke + (width 0) + (type default) + ) + (uuid "c47660f6-d88a-43a5-ba4c-c912812a7771") + ) + (wire + (pts + (xy 134.62 125.73) (xy 121.92 125.73) + ) + (stroke + (width 0) + (type default) + ) + (uuid "c66dcc7f-2719-4005-b0e8-d9ae4773ee5d") + ) + (wire + (pts + (xy 151.13 113.03) (xy 154.94 113.03) + ) + (stroke + (width 0) + (type default) + ) + (uuid "c732848c-94be-4583-bd12-7eade21bcc50") + ) + (wire + (pts + (xy 113.03 52.07) (xy 116.84 52.07) + ) + (stroke + (width 0) + (type default) + ) + (uuid "c7538f56-1b89-4512-9670-d4e630fd3d55") + ) + (wire + (pts + (xy 87.63 92.71) (xy 87.63 113.03) + ) + (stroke + (width 0) + (type default) + ) + (uuid "c7e41984-bec0-4e54-a170-e31b1d72c78e") + ) + (wire + (pts + (xy 74.93 92.71) (xy 78.74 92.71) + ) + (stroke + (width 0) + (type default) + ) + (uuid "cc314889-264f-415d-820c-3cebfa12be56") + ) + (wire + (pts + (xy 184.15 113.03) (xy 189.23 113.03) + ) + (stroke + (width 0) + (type default) + ) + (uuid "ce0f6e54-b588-46d7-abf5-e4686c5323a5") + ) + (wire + (pts + (xy 227.33 72.39) (xy 227.33 92.71) + ) + (stroke + (width 0) + (type default) + ) + (uuid "cf6c6e94-fee6-4fa4-86c4-284cd2bc0080") + ) + (wire + (pts + (xy 163.83 52.07) (xy 163.83 72.39) + ) + (stroke + (width 0) + (type default) + ) + (uuid "d00c0ac9-9209-4158-9b56-e4c4b17de626") + ) + (wire + (pts + (xy 185.42 105.41) (xy 172.72 105.41) + ) + (stroke + (width 0) + (type default) + ) + (uuid "d1d04fa5-633c-4d14-88da-76ed28d91575") + ) + (wire + (pts + (xy 185.42 64.77) (xy 198.12 64.77) + ) + (stroke + (width 0) + (type default) + ) + (uuid "d3cc6147-c4e5-4c5c-b83b-5e665f61475b") + ) + (wire + (pts + (xy 62.23 44.45) (xy 62.23 52.07) + ) + (stroke + (width 0) + (type default) + ) + (uuid "d48bbd29-b3ab-4bac-881f-fab1c56abaee") + ) + (wire + (pts + (xy 49.53 72.39) (xy 53.34 72.39) + ) + (stroke + (width 0) + (type default) + ) + (uuid "d60a9b89-d86d-458b-a1c5-52b5d7d72202") + ) + (wire + (pts + (xy 163.83 92.71) (xy 167.64 92.71) + ) + (stroke + (width 0) + (type default) + ) + (uuid "d9588689-2fd3-4231-915e-d93cf8d19cf4") + ) + (wire + (pts + (xy 189.23 72.39) (xy 193.04 72.39) + ) + (stroke + (width 0) + (type default) + ) + (uuid "db6c645b-c720-44c4-8dad-f173fa52b8b0") + ) + (wire + (pts + (xy 125.73 52.07) (xy 125.73 72.39) + ) + (stroke + (width 0) + (type default) + ) + (uuid "dcb2d6f4-fde2-40b6-beb0-0eedddfa7b58") + ) + (wire + (pts + (xy 83.82 146.05) (xy 71.12 146.05) + ) + (stroke + (width 0) + (type default) + ) + (uuid "ddaf32b8-4e05-4241-84ed-6c1d7a7a7b26") + ) + (wire + (pts + (xy 185.42 125.73) (xy 172.72 125.73) + ) + (stroke + (width 0) + (type default) + ) + (uuid "de6c32c8-3c12-45b7-9fde-b1b93e5e899b") + ) + (wire + (pts + (xy 214.63 113.03) (xy 214.63 72.39) + ) + (stroke + (width 0) + (type default) + ) + (uuid "dfe330e7-6171-40c9-9376-4c42b288522a") + ) + (wire + (pts + (xy 138.43 52.07) (xy 138.43 72.39) + ) + (stroke + (width 0) + (type default) + ) + (uuid "e0c69e9f-2d12-4bc8-8001-13aacf5bb178") + ) + (wire + (pts + (xy 134.62 64.77) (xy 147.32 64.77) + ) + (stroke + (width 0) + (type default) + ) + (uuid "e31cf5af-7b2c-43db-b0be-db25bd2a6b99") + ) + (wire + (pts + (xy 113.03 92.71) (xy 113.03 113.03) + ) + (stroke + (width 0) + (type default) + ) + (uuid "e3c2e960-2b44-48b6-a0cd-b5c320c3ba45") + ) + (wire + (pts + (xy 71.12 105.41) (xy 58.42 105.41) + ) + (stroke + (width 0) + (type default) + ) + (uuid "e3d88fe3-41dc-456d-ba56-a9b9a3b03143") + ) + (wire + (pts + (xy 189.23 133.35) (xy 193.04 133.35) + ) + (stroke + (width 0) + (type default) + ) + (uuid "e4ac5713-ad3f-43d5-8405-42ad00f5f524") + ) + (wire + (pts + (xy 185.42 146.05) (xy 198.12 146.05) + ) + (stroke + (width 0) + (type default) + ) + (uuid "e557c094-e751-40b6-b28e-c07f79f38720") + ) + (wire + (pts + (xy 49.53 92.71) (xy 49.53 113.03) + ) + (stroke + (width 0) + (type default) + ) + (uuid "e583efb9-7643-48f8-966a-c51679fc6bb9") + ) + (wire + (pts + (xy 113.03 72.39) (xy 113.03 92.71) + ) + (stroke + (width 0) + (type default) + ) + (uuid "e7732d82-24e2-477e-8cb9-a8416ea718de") + ) + (wire + (pts + (xy 74.93 92.71) (xy 74.93 113.03) + ) + (stroke + (width 0) + (type default) + ) + (uuid "e8191d93-d5e1-475e-9666-7301c6bfaee7") + ) + (wire + (pts + (xy 100.33 72.39) (xy 104.14 72.39) + ) + (stroke + (width 0) + (type default) + ) + (uuid "e9081966-1671-4051-bed1-0bf78a525612") + ) + (wire + (pts + (xy 172.72 85.09) (xy 160.02 85.09) + ) + (stroke + (width 0) + (type default) + ) + (uuid "eac706d0-605a-47b3-8df5-6cb51d43e669") + ) + (wire + (pts + (xy 210.82 64.77) (xy 223.52 64.77) + ) + (stroke + (width 0) + (type default) + ) + (uuid "eb9cfb56-e97e-470a-9451-d673fe0e05dd") + ) + (wire + (pts + (xy 176.53 113.03) (xy 180.34 113.03) + ) + (stroke + (width 0) + (type default) + ) + (uuid "eccf23dd-cdfd-4390-984d-001a65967ee3") + ) + (wire + (pts + (xy 49.53 52.07) (xy 49.53 72.39) + ) + (stroke + (width 0) + (type default) + ) + (uuid "ed0041da-0787-42a5-bba8-e81d1476569c") + ) + (wire + (pts + (xy 163.83 72.39) (xy 163.83 92.71) + ) + (stroke + (width 0) + (type default) + ) + (uuid "ed255bce-03e5-4be5-bd65-cdb3836650d3") + ) + (wire + (pts + (xy 113.03 92.71) (xy 116.84 92.71) + ) + (stroke + (width 0) + (type default) + ) + (uuid "ed4d2d8d-5d84-4b57-8ec9-196c222ff289") + ) + (wire + (pts + (xy 62.23 92.71) (xy 66.04 92.71) + ) + (stroke + (width 0) + (type default) + ) + (uuid "ee905df0-8146-4f58-9098-5482a946be28") + ) + (wire + (pts + (xy 134.62 105.41) (xy 121.92 105.41) + ) + (stroke + (width 0) + (type default) + ) + (uuid "f0a3cdf6-0318-49c0-b643-c07f6c3ee843") + ) + (wire + (pts + (xy 147.32 64.77) (xy 160.02 64.77) + ) + (stroke + (width 0) + (type default) + ) + (uuid "f0fa991e-341b-44ff-9c80-3e81fc5b71e4") + ) + (wire + (pts + (xy 176.53 52.07) (xy 176.53 72.39) + ) + (stroke + (width 0) + (type default) + ) + (uuid "f1d22bcc-cad5-4b15-8bdf-2872cbf9cadc") + ) + (wire + (pts + (xy 210.82 105.41) (xy 236.22 105.41) + ) + (stroke + (width 0) + (type default) + ) + (uuid "f261764a-655d-4e4a-adbe-a6c47a429c94") + ) + (wire + (pts + (xy 87.63 113.03) (xy 91.44 113.03) + ) + (stroke + (width 0) + (type default) + ) + (uuid "f3848af2-e5ed-4ff6-bee6-e8c74d94c5a6") + ) + (wire + (pts + (xy 87.63 92.71) (xy 91.44 92.71) + ) + (stroke + (width 0) + (type default) + ) + (uuid "f3a44785-41bd-4c2b-904f-4cff03bcfd6f") + ) + (wire + (pts + (xy 113.03 44.45) (xy 113.03 52.07) + ) + (stroke + (width 0) + (type default) + ) + (uuid "f41cec9e-3b2b-437b-a85f-199637b7ed85") + ) + (wire + (pts + (xy 125.73 72.39) (xy 129.54 72.39) + ) + (stroke + (width 0) + (type default) + ) + (uuid "f5be099f-b74e-4ed1-b849-47dcdf7194a7") + ) + (wire + (pts + (xy 201.93 72.39) (xy 201.93 92.71) + ) + (stroke + (width 0) + (type default) + ) + (uuid "f6c85c16-e2ef-487b-aad9-469af5ec6013") + ) + (wire + (pts + (xy 201.93 44.45) (xy 201.93 52.07) + ) + (stroke + (width 0) + (type default) + ) + (uuid "f8445787-4861-4cfa-a73e-3cab8cf274ca") + ) + (wire + (pts + (xy 214.63 72.39) (xy 218.44 72.39) + ) + (stroke + (width 0) + (type default) + ) + (uuid "f8c339fb-47af-471c-8dae-916f10726db1") + ) + (wire + (pts + (xy 176.53 92.71) (xy 176.53 113.03) + ) + (stroke + (width 0) + (type default) + ) + (uuid "f98d8411-9d0d-4443-9d0c-06d8b2c57fd9") + ) + (wire + (pts + (xy 160.02 85.09) (xy 147.32 85.09) + ) + (stroke + (width 0) + (type default) + ) + (uuid "fa48e033-1bc2-43aa-83a1-2c1147ee5cd9") + ) + (wire + (pts + (xy 87.63 52.07) (xy 87.63 72.39) + ) + (stroke + (width 0) + (type default) + ) + (uuid "fcad2da1-b55a-44e4-aa4c-e7385995e56a") + ) + (hierarchical_label "COL2" + (shape input) + (at 62.23 44.45 90) + (effects + (font + (size 1.27 1.27) + ) + (justify left) + ) + (uuid "0d638ff9-1e2d-4d1b-a08d-13e04b388e8e") + ) + (hierarchical_label "COL4" + (shape input) + (at 87.63 44.45 90) + (effects + (font + (size 1.27 1.27) + ) + (justify left) + ) + (uuid "2028b942-acc9-4267-9b23-4cdac642cf41") + ) + (hierarchical_label "ROW1" + (shape input) + (at 252.73 64.77 0) + (effects + (font + (size 1.27 1.27) + ) + (justify left) + ) + (uuid "26754666-3507-43e9-bf86-d665877293fc") + ) + (hierarchical_label "COL7" + (shape input) + (at 125.73 44.45 90) + (effects + (font + (size 1.27 1.27) + ) + (justify left) + ) + (uuid "27c615f6-7cb6-49a7-bd11-604ca77d43d7") + ) + (hierarchical_label "COL3" + (shape input) + (at 74.93 44.45 90) + (effects + (font + (size 1.27 1.27) + ) + (justify left) + ) + (uuid "43cd5c07-c13e-4ddb-a8f7-14b0b1fb094f") + ) + (hierarchical_label "COL6" + (shape input) + (at 113.03 44.45 90) + (effects + (font + (size 1.27 1.27) + ) + (justify left) + ) + (uuid "5945e3d9-c329-4266-b3e2-e3b8cc0695a5") + ) + (hierarchical_label "ROW4" + (shape input) + (at 252.73 125.73 0) + (effects + (font + (size 1.27 1.27) + ) + (justify left) + ) + (uuid "5db8106a-ebe6-4c4b-907b-7f1e6b4f551b") + ) + (hierarchical_label "COL12" + (shape input) + (at 189.23 44.45 90) + (effects + (font + (size 1.27 1.27) + ) + (justify left) + ) + (uuid "64966b4f-b7d3-48d6-bac9-5764f7ce8c0b") + ) + (hierarchical_label "ROW3" + (shape input) + (at 252.73 105.41 0) + (effects + (font + (size 1.27 1.27) + ) + (justify left) + ) + (uuid "6b4e64f3-ab54-4759-a3d1-0828e8907158") + ) + (hierarchical_label "COL11" + (shape input) + (at 176.53 44.45 90) + (effects + (font + (size 1.27 1.27) + ) + (justify left) + ) + (uuid "858b42f0-cc6e-4dd8-aabd-6547aadce565") + ) + (hierarchical_label "COL1" + (shape input) + (at 49.53 44.45 90) + (effects + (font + (size 1.27 1.27) + ) + (justify left) + ) + (uuid "892cbdad-4e7d-484c-aa87-d425b42cb5d5") + ) + (hierarchical_label "COL13" + (shape input) + (at 201.93 44.45 90) + (effects + (font + (size 1.27 1.27) + ) + (justify left) + ) + (uuid "9dc8d958-ef6a-494a-9db1-88723ba3f1ec") + ) + (hierarchical_label "COL10" + (shape input) + (at 163.83 44.45 90) + (effects + (font + (size 1.27 1.27) + ) + (justify left) + ) + (uuid "ab34f660-09b2-4c4b-83a9-de23d620564b") + ) + (hierarchical_label "ROW2" + (shape input) + (at 252.73 85.09 0) + (effects + (font + (size 1.27 1.27) + ) + (justify left) + ) + (uuid "b440b4fc-d5ec-40c1-adbe-3898968fb70d") + ) + (hierarchical_label "COL14" + (shape input) + (at 214.63 44.45 90) + (effects + (font + (size 1.27 1.27) + ) + (justify left) + ) + (uuid "b8d1d667-f1e8-4248-ab65-e7c9244619fa") + ) + (hierarchical_label "COL9" + (shape input) + (at 151.13 44.45 90) + (effects + (font + (size 1.27 1.27) + ) + (justify left) + ) + (uuid "cee98810-f1d4-4186-82d2-96e1643b3afa") + ) + (hierarchical_label "COL8" + (shape input) + (at 138.43 44.45 90) + (effects + (font + (size 1.27 1.27) + ) + (justify left) + ) + (uuid "d6d20614-ea42-4e21-b40a-a97cf87d0712") + ) + (hierarchical_label "COL5" + (shape input) + (at 100.33 44.45 90) + (effects + (font + (size 1.27 1.27) + ) + (justify left) + ) + (uuid "d8582c01-0124-464c-9786-8e833f183ccf") + ) + (hierarchical_label "COL15" + (shape input) + (at 227.33 44.45 90) + (effects + (font + (size 1.27 1.27) + ) + (justify left) + ) + (uuid "e1ba43f8-a8f8-478a-ac50-33811fe975c0") + ) + (hierarchical_label "ROW5" + (shape input) + (at 254 146.05 0) + (effects + (font + (size 1.27 1.27) + ) + (justify left) + ) + (uuid "fbe88670-efa7-44d9-9696-7f00ecf1c90d") + ) + (symbol + (lib_id "PCM_marbastlib-mx:MX_SW_HS_CPG151101S11") + (at 132.08 115.57 0) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (fields_autoplaced yes) + (uuid "02255c50-9541-4a4e-8128-e26d76564da5") + (property "Reference" "KEY_N1" + (at 132.08 107.95 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Value" "MX_SW_HS" + (at 132.08 110.49 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "PCM_marbastlib-mx:SW_MX_HS_CPG151101S11_1u" + (at 132.08 115.57 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "~" + (at 132.08 115.57 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "Push button switch, normally open, two pins, 45° tilted, Kailh CPG151101S11 for Cherry MX style switches" + (at 132.08 115.57 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "628521a7-b54e-496e-b047-683114530aed") + ) + (pin "2" + (uuid "01c4e4b1-c386-4531-bb22-fcda2ac620d9") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "KEY_N1") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_marbastlib-mx:MX_SW_HS_CPG151101S11") + (at 170.18 74.93 0) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (fields_autoplaced yes) + (uuid "043b4c08-e75e-486b-8f3c-9976f9ff7775") + (property "Reference" "KEY_O1" + (at 170.18 67.31 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Value" "MX_SW_HS" + (at 170.18 69.85 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "PCM_marbastlib-mx:SW_MX_HS_CPG151101S11_1u" + (at 170.18 74.93 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "~" + (at 170.18 74.93 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "Push button switch, normally open, two pins, 45° tilted, Kailh CPG151101S11 for Cherry MX style switches" + (at 170.18 74.93 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "3885d20f-3c77-4b80-ac62-12e31a737eb0") + ) + (pin "2" + (uuid "5df8c2af-1689-43b6-a30d-6aef4a5b2112") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "KEY_O1") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_marbastlib-mx:MX_SW_HS_CPG151101S11") + (at 144.78 95.25 0) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (fields_autoplaced yes) + (uuid "0597a794-f525-4b57-abfb-465b30ce6bc3") + (property "Reference" "KEY_J1" + (at 144.78 87.63 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Value" "MX_SW_HS" + (at 144.78 90.17 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "PCM_marbastlib-mx:SW_MX_HS_CPG151101S11_1u" + (at 144.78 95.25 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "~" + (at 144.78 95.25 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "Push button switch, normally open, two pins, 45° tilted, Kailh CPG151101S11 for Cherry MX style switches" + (at 144.78 95.25 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "37601719-53a6-4df3-8c26-307258646459") + ) + (pin "2" + (uuid "af290bd6-4a30-4733-8b1f-ced486cbc8ac") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "KEY_J1") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_marbastlib-mx:MX_SW_HS_CPG151101S11") + (at 170.18 135.89 0) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (fields_autoplaced yes) + (uuid "09d4b3fe-3b61-4b67-9444-73d0f0442f56") + (property "Reference" "KEY_ALT2" + (at 170.18 128.27 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Value" "MX_SW_HS" + (at 170.18 130.81 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "PCM_marbastlib-mx:SW_MX_HS_CPG151101S11_1u" + (at 170.18 135.89 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "~" + (at 170.18 135.89 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "Push button switch, normally open, two pins, 45° tilted, Kailh CPG151101S11 for Cherry MX style switches" + (at 170.18 135.89 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "430d4b29-5305-4d7e-a0cd-033cb0f9f06b") + ) + (pin "2" + (uuid "6f94a1c1-de62-461a-9c9a-49de11391b88") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "KEY_ALT2") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_Diode_AKL:1N4148W") + (at 236.22 81.28 270) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (uuid "09e4c03e-af71-4268-a862-17e1a98b74b1") + (property "Reference" "D35" + (at 229.616 84.582 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Value" "1N4148W" + (at 232.156 84.582 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Footprint" "PCM_Diode_SMD_AKL:D_SOD-123" + (at 236.22 81.28 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "https://datasheet.octopart.com/1N4148W-HE3-18-Vishay-datasheet-17291302.pdf" + (at 236.22 81.28 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "SOD-123 Diode, Small Signal, Fast Switching, 75V, 150mA, 4ns, Alternate KiCad Library" + (at 236.22 81.28 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "a8f60c4f-5f54-43eb-9db8-31b5ede23b45") + ) + (pin "2" + (uuid "ea4d5872-3833-4134-b7e1-7c94307338e4") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "D35") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_Diode_AKL:1N4148W") + (at 121.92 142.24 270) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (uuid "0a363a6f-576c-4529-9bac-5bfb55d26551") + (property "Reference" "D68" + (at 115.316 145.542 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Value" "1N4148W" + (at 117.856 145.542 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Footprint" "PCM_Diode_SMD_AKL:D_SOD-123" + (at 121.92 142.24 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "https://datasheet.octopart.com/1N4148W-HE3-18-Vishay-datasheet-17291302.pdf" + (at 121.92 142.24 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "SOD-123 Diode, Small Signal, Fast Switching, 75V, 150mA, 4ns, Alternate KiCad Library" + (at 121.92 142.24 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "5dec2bb0-9553-4c34-917d-c98219345ff0") + ) + (pin "2" + (uuid "6d3c4800-7941-4552-bb80-1e7f4a6fd9e1") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "D68") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_Diode_AKL:1N4148W") + (at 71.12 101.6 270) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (uuid "0b3bfe08-f3f3-4fed-8478-ac0aa3079848") + (property "Reference" "D36" + (at 64.516 104.902 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Value" "1N4148W" + (at 67.056 104.902 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Footprint" "PCM_Diode_SMD_AKL:D_SOD-123" + (at 71.12 101.6 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "https://datasheet.octopart.com/1N4148W-HE3-18-Vishay-datasheet-17291302.pdf" + (at 71.12 101.6 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "SOD-123 Diode, Small Signal, Fast Switching, 75V, 150mA, 4ns, Alternate KiCad Library" + (at 71.12 101.6 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "c85a2959-ee74-463c-a9a5-1c7ff4bd3f20") + ) + (pin "2" + (uuid "9f6096fa-d75e-4972-8d98-4472a2a5c98c") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "D36") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_marbastlib-mx:MX_SW_HS_CPG151101S11") + (at 81.28 135.89 0) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (fields_autoplaced yes) + (uuid "108dd771-9fdc-4d98-b67e-475219c6b109") + (property "Reference" "KEY_ALT1" + (at 81.28 128.27 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Value" "MX_SW_HS" + (at 81.28 130.81 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "PCM_marbastlib-mx:SW_MX_HS_CPG151101S11_1u" + (at 81.28 135.89 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "~" + (at 81.28 135.89 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "Push button switch, normally open, two pins, 45° tilted, Kailh CPG151101S11 for Cherry MX style switches" + (at 81.28 135.89 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "3182483a-dbd1-4f31-aa73-fa58d4d497a7") + ) + (pin "2" + (uuid "132209ad-77ff-4bf4-b1ea-b468ba8ef009") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "KEY_ALT1") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_Diode_AKL:1N4148W") + (at 134.62 81.28 270) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (uuid "14726d6e-d39b-4871-826a-db6592452b58") + (property "Reference" "D27" + (at 128.016 84.582 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Value" "1N4148W" + (at 130.556 84.582 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Footprint" "PCM_Diode_SMD_AKL:D_SOD-123" + (at 134.62 81.28 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "https://datasheet.octopart.com/1N4148W-HE3-18-Vishay-datasheet-17291302.pdf" + (at 134.62 81.28 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "SOD-123 Diode, Small Signal, Fast Switching, 75V, 150mA, 4ns, Alternate KiCad Library" + (at 134.62 81.28 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "d292d57a-c386-4a62-bdc9-07cb58be5810") + ) + (pin "2" + (uuid "b41a7296-4790-4671-b2df-c8ba1a800801") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "D27") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_marbastlib-mx:MX_SW_HS_CPG151101S11") + (at 220.98 74.93 0) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (fields_autoplaced yes) + (uuid "14fbde30-fcf0-45c1-8bbe-09997c5d9c7b") + (property "Reference" "KEY_\\1" + (at 220.98 67.31 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Value" "MX_SW_HS" + (at 220.98 69.85 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "PCM_marbastlib-mx:SW_MX_HS_CPG151101S11_1u" + (at 220.98 74.93 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "~" + (at 220.98 74.93 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "Push button switch, normally open, two pins, 45° tilted, Kailh CPG151101S11 for Cherry MX style switches" + (at 220.98 74.93 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "1e7f054a-bd67-4ffa-958f-3f2b6d473d7c") + ) + (pin "2" + (uuid "5adc259e-894f-469f-b6a4-deb14129b83b") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "KEY_\\1") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_marbastlib-mx:MX_SW_HS_CPG151101S11") + (at 233.68 115.57 0) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (fields_autoplaced yes) + (uuid "14fbde30-fcf0-45c1-8bbe-09997c5d9c7c") + (property "Reference" "KEY_PGDN1" + (at 233.68 107.95 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Value" "MX_SW_HS" + (at 233.68 110.49 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "PCM_marbastlib-mx:SW_MX_HS_CPG151101S11_1u" + (at 233.68 115.57 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "~" + (at 233.68 115.57 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "Push button switch, normally open, two pins, 45° tilted, Kailh CPG151101S11 for Cherry MX style switches" + (at 233.68 115.57 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "1e7f054a-bd67-4ffa-958f-3f2b6d473d7d") + ) + (pin "2" + (uuid "5adc259e-894f-469f-b6a4-deb14129b83c") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "KEY_PGDN1") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_marbastlib-mx:MX_SW_HS_CPG151101S11") + (at 233.68 135.89 0) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (fields_autoplaced yes) + (uuid "14fbde30-fcf0-45c1-8bbe-09997c5d9c7d") + (property "Reference" "KEY_RARROW1" + (at 233.68 128.27 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Value" "MX_SW_HS" + (at 233.68 130.81 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "PCM_marbastlib-mx:SW_MX_HS_CPG151101S11_1u" + (at 233.68 135.89 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "~" + (at 233.68 135.89 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "Push button switch, normally open, two pins, 45° tilted, Kailh CPG151101S11 for Cherry MX style switches" + (at 233.68 135.89 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "1e7f054a-bd67-4ffa-958f-3f2b6d473d7e") + ) + (pin "2" + (uuid "5adc259e-894f-469f-b6a4-deb14129b83d") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "KEY_RARROW1") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_Diode_AKL:1N4148W") + (at 160.02 60.96 270) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (uuid "16f03836-171f-40a5-8203-d1d7fb55edd7") + (property "Reference" "D11" + (at 153.416 64.262 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Value" "1N4148W" + (at 155.956 64.262 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Footprint" "PCM_Diode_SMD_AKL:D_SOD-123" + (at 160.02 60.96 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "https://datasheet.octopart.com/1N4148W-HE3-18-Vishay-datasheet-17291302.pdf" + (at 160.02 60.96 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "SOD-123 Diode, Small Signal, Fast Switching, 75V, 150mA, 4ns, Alternate KiCad Library" + (at 160.02 60.96 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "405aec47-3745-4e16-898f-8f3bb3013e69") + ) + (pin "2" + (uuid "b1202e74-ed48-4101-98c5-65444c5f8f53") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "D11") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_Diode_AKL:1N4148W") + (at 96.52 121.92 270) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (uuid "180d7e52-c39f-40dc-88b7-b6c21a74c0ee") + (property "Reference" "D52" + (at 89.916 125.222 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Value" "1N4148W" + (at 92.456 125.222 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Footprint" "PCM_Diode_SMD_AKL:D_SOD-123" + (at 96.52 121.92 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "https://datasheet.octopart.com/1N4148W-HE3-18-Vishay-datasheet-17291302.pdf" + (at 96.52 121.92 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "SOD-123 Diode, Small Signal, Fast Switching, 75V, 150mA, 4ns, Alternate KiCad Library" + (at 96.52 121.92 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "c02991f9-a961-484e-ad79-a9a60e8de784") + ) + (pin "2" + (uuid "7f34f201-9984-4eda-af0b-fed406c17560") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "D52") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_Diode_AKL:1N4148W") + (at 198.12 121.92 270) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (uuid "1945bc0d-d7ba-4a80-8dd3-519b10c8a830") + (property "Reference" "D60" + (at 191.516 125.222 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Value" "1N4148W" + (at 194.056 125.222 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Footprint" "PCM_Diode_SMD_AKL:D_SOD-123" + (at 198.12 121.92 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "https://datasheet.octopart.com/1N4148W-HE3-18-Vishay-datasheet-17291302.pdf" + (at 198.12 121.92 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "SOD-123 Diode, Small Signal, Fast Switching, 75V, 150mA, 4ns, Alternate KiCad Library" + (at 198.12 121.92 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "59da3a95-f52b-45d1-8a0d-4d507064c098") + ) + (pin "2" + (uuid "b3b27365-eec1-435d-a625-7c3db442829e") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "D60") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_marbastlib-mx:MX_SW_HS_CPG151101S11") + (at 182.88 54.61 0) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (fields_autoplaced yes) + (uuid "1acd68f4-0c4e-42ad-b96b-3e6e99a4c157") + (property "Reference" "KEY_0" + (at 182.88 46.99 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Value" "MX_SW_HS" + (at 182.88 49.53 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "PCM_marbastlib-mx:SW_MX_HS_CPG151101S11_1u" + (at 182.88 54.61 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "~" + (at 182.88 54.61 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "Push button switch, normally open, two pins, 45° tilted, Kailh CPG151101S11 for Cherry MX style switches" + (at 182.88 54.61 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "e901014d-8c8c-42c8-abfb-82185fda79d3") + ) + (pin "2" + (uuid "55884e9a-7cbb-4100-8bb3-3edf5976ad1a") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "KEY_0") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_Diode_AKL:1N4148W") + (at 147.32 81.28 270) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (uuid "1d858e45-2ad9-4e53-99d0-697d505b86ea") + (property "Reference" "D28" + (at 140.716 84.582 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Value" "1N4148W" + (at 143.256 84.582 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Footprint" "PCM_Diode_SMD_AKL:D_SOD-123" + (at 147.32 81.28 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "https://datasheet.octopart.com/1N4148W-HE3-18-Vishay-datasheet-17291302.pdf" + (at 147.32 81.28 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "SOD-123 Diode, Small Signal, Fast Switching, 75V, 150mA, 4ns, Alternate KiCad Library" + (at 147.32 81.28 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "00153390-ba60-437b-9b50-944dea292f04") + ) + (pin "2" + (uuid "aca67daf-fe25-4a41-9bd3-dc8bb240d512") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "D28") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_marbastlib-mx:MX_SW_HS_CPG151101S11") + (at 195.58 74.93 0) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (fields_autoplaced yes) + (uuid "1dd40309-298b-4501-a09d-5becae1ca2ba") + (property "Reference" "KEY_[1" + (at 195.58 67.31 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Value" "MX_SW_HS" + (at 195.58 69.85 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "PCM_marbastlib-mx:SW_MX_HS_CPG151101S11_1u" + (at 195.58 74.93 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "~" + (at 195.58 74.93 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "Push button switch, normally open, two pins, 45° tilted, Kailh CPG151101S11 for Cherry MX style switches" + (at 195.58 74.93 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "fd052a3a-a822-4b13-896e-3487ae7250d8") + ) + (pin "2" + (uuid "1d822ce7-7596-48ea-ba18-10209ee143e4") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "KEY_[1") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_marbastlib-mx:MX_SW_HS_CPG151101S11") + (at 208.28 135.89 0) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (fields_autoplaced yes) + (uuid "1dd40309-298b-4501-a09d-5becae1ca2bb") + (property "Reference" "KEY_DARROW1" + (at 208.28 128.27 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Value" "MX_SW_HS" + (at 208.28 130.81 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "PCM_marbastlib-mx:SW_MX_HS_CPG151101S11_1u" + (at 208.28 135.89 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "~" + (at 208.28 135.89 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "Push button switch, normally open, two pins, 45° tilted, Kailh CPG151101S11 for Cherry MX style switches" + (at 208.28 135.89 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "fd052a3a-a822-4b13-896e-3487ae7250d9") + ) + (pin "2" + (uuid "1d822ce7-7596-48ea-ba18-10209ee143e5") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "KEY_DARROW1") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_marbastlib-mx:MX_SW_HS_CPG151101S11") + (at 195.58 115.57 0) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (fields_autoplaced yes) + (uuid "1dd40309-298b-4501-a09d-5becae1ca2bc") + (property "Reference" "KEY_SHIFT2" + (at 195.58 107.95 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Value" "MX_SW_HS" + (at 195.58 110.49 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "PCM_marbastlib-mx:SW_MX_HS_CPG151101S11_1u" + (at 195.58 115.57 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "~" + (at 195.58 115.57 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "Push button switch, normally open, two pins, 45° tilted, Kailh CPG151101S11 for Cherry MX style switches" + (at 195.58 115.57 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "fd052a3a-a822-4b13-896e-3487ae7250da") + ) + (pin "2" + (uuid "1d822ce7-7596-48ea-ba18-10209ee143e6") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "KEY_SHIFT2") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_Diode_AKL:1N4148W") + (at 198.12 81.28 270) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (uuid "1e170ac8-3bf7-41a0-95a8-1f51035ff9da") + (property "Reference" "D32" + (at 191.516 84.582 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Value" "1N4148W" + (at 194.056 84.582 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Footprint" "PCM_Diode_SMD_AKL:D_SOD-123" + (at 198.12 81.28 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "https://datasheet.octopart.com/1N4148W-HE3-18-Vishay-datasheet-17291302.pdf" + (at 198.12 81.28 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "SOD-123 Diode, Small Signal, Fast Switching, 75V, 150mA, 4ns, Alternate KiCad Library" + (at 198.12 81.28 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "762ae907-e7ba-483a-b24d-d019703f6c18") + ) + (pin "2" + (uuid "6e7e7090-5b6f-4479-9adc-52a57333860c") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "D32") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_Diode_AKL:1N4148W") + (at 185.42 142.24 270) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (uuid "1fb95f57-ac9c-4e69-b710-a64cc33cc33a") + (property "Reference" "D72" + (at 178.816 145.542 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Value" "1N4148W" + (at 181.356 145.542 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Footprint" "PCM_Diode_SMD_AKL:D_SOD-123" + (at 185.42 142.24 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "https://datasheet.octopart.com/1N4148W-HE3-18-Vishay-datasheet-17291302.pdf" + (at 185.42 142.24 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "SOD-123 Diode, Small Signal, Fast Switching, 75V, 150mA, 4ns, Alternate KiCad Library" + (at 185.42 142.24 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "88061b34-4c0a-4eac-bddf-f10b41600ff1") + ) + (pin "2" + (uuid "9d87c15c-590c-40ce-b499-37934a0d4b2d") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "D72") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_Diode_AKL:1N4148W") + (at 147.32 121.92 270) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (uuid "1ff6c01f-4fc2-4cc9-a30a-eb864a33da13") + (property "Reference" "D56" + (at 140.716 125.222 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Value" "1N4148W" + (at 143.256 125.222 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Footprint" "PCM_Diode_SMD_AKL:D_SOD-123" + (at 147.32 121.92 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "https://datasheet.octopart.com/1N4148W-HE3-18-Vishay-datasheet-17291302.pdf" + (at 147.32 121.92 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "SOD-123 Diode, Small Signal, Fast Switching, 75V, 150mA, 4ns, Alternate KiCad Library" + (at 147.32 121.92 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "7f19bc17-dae1-42eb-9e90-de1e889eb704") + ) + (pin "2" + (uuid "177ef37a-bfef-400e-83aa-2fe6cb7cf30d") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "D56") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_marbastlib-mx:MX_SW_HS_CPG151101S11") + (at 106.68 54.61 0) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (fields_autoplaced yes) + (uuid "21f5103d-2e6f-41d2-923a-8b8578075138") + (property "Reference" "KEY_4" + (at 106.68 46.99 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Value" "MX_SW_HS" + (at 106.68 49.53 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "PCM_marbastlib-mx:SW_MX_HS_CPG151101S11_1u" + (at 106.68 54.61 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "~" + (at 106.68 54.61 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "Push button switch, normally open, two pins, 45° tilted, Kailh CPG151101S11 for Cherry MX style switches" + (at 106.68 54.61 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "5fc06338-5d03-4915-8cd0-d33ee6afa005") + ) + (pin "2" + (uuid "f378510d-56d8-4de7-b295-40d1b024065e") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "KEY_4") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_marbastlib-mx:MX_SW_HS_CPG151101S11") + (at 157.48 74.93 0) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (fields_autoplaced yes) + (uuid "2b0de133-597f-4400-b031-7a366dcf2cd4") + (property "Reference" "KEY_I1" + (at 157.48 67.31 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Value" "MX_SW_HS" + (at 157.48 69.85 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "PCM_marbastlib-mx:SW_MX_HS_CPG151101S11_1u" + (at 157.48 74.93 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "~" + (at 157.48 74.93 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "Push button switch, normally open, two pins, 45° tilted, Kailh CPG151101S11 for Cherry MX style switches" + (at 157.48 74.93 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "1be2712e-5e4c-429f-a056-8f497c9f5c4c") + ) + (pin "2" + (uuid "5d6eabf0-5ff0-4676-aac8-5522b499d412") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "KEY_I1") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_marbastlib-mx:MX_SW_HS_CPG151101S11") + (at 81.28 54.61 0) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (fields_autoplaced yes) + (uuid "2d74cd29-2d82-437f-bd19-6aecdc773ddd") + (property "Reference" "KEY_2" + (at 81.28 46.99 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Value" "MX_SW_HS" + (at 81.28 49.53 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "PCM_marbastlib-mx:SW_MX_HS_CPG151101S11_1u" + (at 81.28 54.61 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "~" + (at 81.28 54.61 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "Push button switch, normally open, two pins, 45° tilted, Kailh CPG151101S11 for Cherry MX style switches" + (at 81.28 54.61 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "5576e408-519d-41da-8e2a-204eb2e20687") + ) + (pin "2" + (uuid "ab98870d-031b-4e7d-a088-f271956e53f8") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "KEY_2") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_marbastlib-mx:MX_SW_HS_CPG151101S11") + (at 157.48 54.61 0) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (fields_autoplaced yes) + (uuid "305fe994-b92b-4ddf-ae76-d7eba277037a") + (property "Reference" "KEY_8" + (at 157.48 46.99 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Value" "MX_SW_HS" + (at 157.48 49.53 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "PCM_marbastlib-mx:SW_MX_HS_CPG151101S11_1u" + (at 157.48 54.61 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "~" + (at 157.48 54.61 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "Push button switch, normally open, two pins, 45° tilted, Kailh CPG151101S11 for Cherry MX style switches" + (at 157.48 54.61 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "90917779-3045-40e0-a1b9-c3148c513f10") + ) + (pin "2" + (uuid "bf6e56b6-ffb3-435a-9d46-54c9a9a4aa43") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "KEY_8") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_marbastlib-mx:MX_SW_HS_CPG151101S11") + (at 233.68 95.25 0) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (fields_autoplaced yes) + (uuid "31fef54c-7cf1-41c0-a9c3-938a5f3bde9a") + (property "Reference" "KEY_PGUP1" + (at 233.68 87.63 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Value" "MX_SW_HS" + (at 233.68 90.17 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "PCM_marbastlib-mx:SW_MX_HS_CPG151101S11_1u" + (at 233.68 95.25 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "~" + (at 233.68 95.25 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "Push button switch, normally open, two pins, 45° tilted, Kailh CPG151101S11 for Cherry MX style switches" + (at 233.68 95.25 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "6dc08750-a24d-4844-8906-a2ce51852242") + ) + (pin "2" + (uuid "8f28e035-04b4-4b0a-941e-eeb8e6600df6") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "KEY_PGUP1") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_marbastlib-mx:MX_SW_HS_CPG151101S11") + (at 144.78 54.61 0) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (fields_autoplaced yes) + (uuid "344142d6-2fc2-4166-99ca-dda54f2708af") + (property "Reference" "KEY_7" + (at 144.78 46.99 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Value" "MX_SW_HS" + (at 144.78 49.53 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "PCM_marbastlib-mx:SW_MX_HS_CPG151101S11_1u" + (at 144.78 54.61 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "~" + (at 144.78 54.61 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "Push button switch, normally open, two pins, 45° tilted, Kailh CPG151101S11 for Cherry MX style switches" + (at 144.78 54.61 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "75d9266d-5a06-4401-bf89-ced216f7741b") + ) + (pin "2" + (uuid "7bd4b231-ee1f-4672-8ff6-c98f6bd6dd1d") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "KEY_7") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_marbastlib-mx:MX_SW_HS_CPG151101S11") + (at 220.98 54.61 0) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (fields_autoplaced yes) + (uuid "3726ef7e-8afd-459b-884b-3e88792abe5b") + (property "Reference" "KEY_BKSP1" + (at 220.98 46.99 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Value" "MX_SW_HS" + (at 220.98 49.53 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "PCM_marbastlib-mx:SW_MX_HS_CPG151101S11_1u" + (at 220.98 54.61 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "~" + (at 220.98 54.61 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "Push button switch, normally open, two pins, 45° tilted, Kailh CPG151101S11 for Cherry MX style switches" + (at 220.98 54.61 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "4360acc1-db34-4925-bbb4-530a58bc5ece") + ) + (pin "2" + (uuid "c2f184ce-4b71-404c-99ca-cd1ea2e036d5") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "KEY_BKSP1") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_marbastlib-mx:MX_SW_HS_CPG151101S11") + (at 55.88 135.89 0) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (fields_autoplaced yes) + (uuid "380eb14e-171a-477c-b03e-86a44aefe3d2") + (property "Reference" "KEY_CTRL1" + (at 55.88 128.27 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Value" "MX_SW_HS" + (at 55.88 130.81 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "PCM_marbastlib-mx:SW_MX_HS_CPG151101S11_1u" + (at 55.88 135.89 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "~" + (at 55.88 135.89 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "Push button switch, normally open, two pins, 45° tilted, Kailh CPG151101S11 for Cherry MX style switches" + (at 55.88 135.89 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "c0d729c1-ac81-4cb8-ae34-99a2560e42ce") + ) + (pin "2" + (uuid "74c69012-0a1b-4703-bd23-183c97003b3d") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "KEY_CTRL1") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_marbastlib-mx:MX_SW_HS_CPG151101S11") + (at 68.58 95.25 0) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (fields_autoplaced yes) + (uuid "39d05977-3390-46a5-96dd-b289ba8a83e1") + (property "Reference" "KEY_A1" + (at 68.58 87.63 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Value" "MX_SW_HS" + (at 68.58 90.17 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "PCM_marbastlib-mx:SW_MX_HS_CPG151101S11_1u" + (at 68.58 95.25 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "~" + (at 68.58 95.25 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "Push button switch, normally open, two pins, 45° tilted, Kailh CPG151101S11 for Cherry MX style switches" + (at 68.58 95.25 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "083c27c9-7903-4246-a086-b0755f558be1") + ) + (pin "2" + (uuid "4c1b11d0-a1fa-472b-ae90-70df47d39063") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "KEY_A1") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_marbastlib-mx:MX_SW_HS_CPG151101S11") + (at 106.68 115.57 0) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (fields_autoplaced yes) + (uuid "3a3cd4c8-3543-415b-a012-44b07239b42f") + (property "Reference" "KEY_V1" + (at 106.68 107.95 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Value" "MX_SW_HS" + (at 106.68 110.49 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "PCM_marbastlib-mx:SW_MX_HS_CPG151101S11_1u" + (at 106.68 115.57 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "~" + (at 106.68 115.57 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "Push button switch, normally open, two pins, 45° tilted, Kailh CPG151101S11 for Cherry MX style switches" + (at 106.68 115.57 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "7cc32efe-a0e2-41ab-8077-cbbbb4e0415c") + ) + (pin "2" + (uuid "dd648239-e047-4d44-afb6-dd2b678275f8") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "KEY_V1") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_marbastlib-mx:MX_SW_HS_CPG151101S11") + (at 93.98 74.93 0) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (fields_autoplaced yes) + (uuid "3a475896-f033-43a1-8bf2-5cdfa34f78c6") + (property "Reference" "KEY_E1" + (at 93.98 67.31 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Value" "MX_SW_HS" + (at 93.98 69.85 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "PCM_marbastlib-mx:SW_MX_HS_CPG151101S11_1u" + (at 93.98 74.93 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "~" + (at 93.98 74.93 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "Push button switch, normally open, two pins, 45° tilted, Kailh CPG151101S11 for Cherry MX style switches" + (at 93.98 74.93 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "00b8f484-e758-4bc7-8b2f-5798d62fc5c3") + ) + (pin "2" + (uuid "c67b391e-9188-4bb7-9469-e07ddd3d3cbc") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "KEY_E1") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_marbastlib-mx:MX_stab") + (at 220.98 99.06 0) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (uuid "3b0fe831-c96e-4972-adb6-502d33f9c459") + (property "Reference" "EnterStab1" + (at 217.17 91.694 0) + (effects + (font + (size 1.27 1.27) + ) + (justify left) + ) + ) + (property "Value" "MX_stab" + (at 217.17 94.234 0) + (effects + (font + (size 1.27 1.27) + ) + (justify left) + ) + ) + (property "Footprint" "PCM_marbastlib-mx:STAB_MX_P_2.25u" + (at 220.98 99.06 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "" + (at 220.98 99.06 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "Cherry MX-style stabilizer" + (at 220.98 99.06 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "EnterStab1") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_marbastlib-mx:MX_SW_HS_CPG151101S11") + (at 208.28 95.25 0) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (fields_autoplaced yes) + (uuid "3cf9fbea-b5dc-4161-a2f5-9f1be7e51bb2") + (property "Reference" "KEY_ENTER1" + (at 208.28 87.63 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Value" "MX_SW_HS" + (at 208.28 90.17 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "PCM_marbastlib-mx:SW_MX_HS_CPG151101S11_1u" + (at 208.28 95.25 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "~" + (at 208.28 95.25 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "Push button switch, normally open, two pins, 45° tilted, Kailh CPG151101S11 for Cherry MX style switches" + (at 208.28 95.25 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "af291d1a-ab9b-4365-ab31-1ee6b98f9f45") + ) + (pin "2" + (uuid "e4398ea2-1527-400f-b4c4-c7e6b317895b") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "KEY_ENTER1") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_marbastlib-mx:MX_SW_HS_CPG151101S11") + (at 106.68 95.25 0) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (fields_autoplaced yes) + (uuid "3e9a8615-c20c-4dae-b43f-78355668bbeb") + (property "Reference" "KEY_F1" + (at 106.68 87.63 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Value" "MX_SW_HS" + (at 106.68 90.17 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "PCM_marbastlib-mx:SW_MX_HS_CPG151101S11_1u" + (at 106.68 95.25 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "~" + (at 106.68 95.25 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "Push button switch, normally open, two pins, 45° tilted, Kailh CPG151101S11 for Cherry MX style switches" + (at 106.68 95.25 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "db91b646-f539-4865-8e81-3bd9d37019a7") + ) + (pin "2" + (uuid "117a39fe-fff5-48cf-bc90-2a2ec42ae2ff") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "KEY_F1") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_Diode_AKL:1N4148W") + (at 58.42 101.6 270) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (uuid "3eb42fb2-d4e6-467b-82e7-7335dd9c39b9") + (property "Reference" "D19" + (at 51.816 104.902 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Value" "1N4148W" + (at 54.356 104.902 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Footprint" "PCM_Diode_SMD_AKL:D_SOD-123" + (at 58.42 101.6 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "https://datasheet.octopart.com/1N4148W-HE3-18-Vishay-datasheet-17291302.pdf" + (at 58.42 101.6 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "SOD-123 Diode, Small Signal, Fast Switching, 75V, 150mA, 4ns, Alternate KiCad Library" + (at 58.42 101.6 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "3bacdd22-b5ed-4c4e-b099-98350c1bb029") + ) + (pin "2" + (uuid "afd238fb-6179-4237-92cc-b6bbbb6faf53") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "D19") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_marbastlib-mx:MX_SW_HS_CPG151101S11") + (at 208.28 74.93 0) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (fields_autoplaced yes) + (uuid "3f62ea02-8087-4482-8a14-2c5cf7286453") + (property "Reference" "KEY_]1" + (at 208.28 67.31 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Value" "MX_SW_HS" + (at 208.28 69.85 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "PCM_marbastlib-mx:SW_MX_HS_CPG151101S11_1u" + (at 208.28 74.93 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "~" + (at 208.28 74.93 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "Push button switch, normally open, two pins, 45° tilted, Kailh CPG151101S11 for Cherry MX style switches" + (at 208.28 74.93 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "7031c839-9c70-4740-a9ea-3105aa0ab388") + ) + (pin "2" + (uuid "ef050528-d55c-4bbc-89bd-3e966f22e099") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "KEY_]1") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_marbastlib-mx:MX_SW_HS_CPG151101S11") + (at 220.98 115.57 0) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (fields_autoplaced yes) + (uuid "3f62ea02-8087-4482-8a14-2c5cf7286454") + (property "Reference" "KEY_UARROW1" + (at 220.98 107.95 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Value" "MX_SW_HS" + (at 220.98 110.49 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "PCM_marbastlib-mx:SW_MX_HS_CPG151101S11_1u" + (at 220.98 115.57 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "~" + (at 220.98 115.57 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "Push button switch, normally open, two pins, 45° tilted, Kailh CPG151101S11 for Cherry MX style switches" + (at 220.98 115.57 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "7031c839-9c70-4740-a9ea-3105aa0ab389") + ) + (pin "2" + (uuid "ef050528-d55c-4bbc-89bd-3e966f22e09a") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "KEY_UARROW1") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_marbastlib-mx:MX_SW_HS_CPG151101S11") + (at 220.98 135.89 0) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (fields_autoplaced yes) + (uuid "3f62ea02-8087-4482-8a14-2c5cf7286455") + (property "Reference" "KEY_DARROW2" + (at 220.98 128.27 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Value" "MX_SW_HS" + (at 220.98 130.81 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "PCM_marbastlib-mx:SW_MX_HS_CPG151101S11_1u" + (at 220.98 135.89 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "~" + (at 220.98 135.89 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "Push button switch, normally open, two pins, 45° tilted, Kailh CPG151101S11 for Cherry MX style switches" + (at 220.98 135.89 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "7031c839-9c70-4740-a9ea-3105aa0ab38a") + ) + (pin "2" + (uuid "ef050528-d55c-4bbc-89bd-3e966f22e09b") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "KEY_DARROW2") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_marbastlib-mx:MX_SW_HS_CPG151101S11") + (at 144.78 74.93 0) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (fields_autoplaced yes) + (uuid "4306a544-070b-4617-8f9f-f4ae4aaa3f27") + (property "Reference" "KEY_U1" + (at 144.78 67.31 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Value" "MX_SW_HS" + (at 144.78 69.85 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "PCM_marbastlib-mx:SW_MX_HS_CPG151101S11_1u" + (at 144.78 74.93 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "~" + (at 144.78 74.93 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "Push button switch, normally open, two pins, 45° tilted, Kailh CPG151101S11 for Cherry MX style switches" + (at 144.78 74.93 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "5e3355f3-13d9-4383-8fab-82d50750aa46") + ) + (pin "2" + (uuid "8bc7cf61-9989-48d9-9de0-ab5265511512") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "KEY_U1") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_Diode_AKL:1N4148W") + (at 121.92 81.28 270) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (uuid "46b714f1-462a-4a6e-82f1-abc04220794c") + (property "Reference" "D26" + (at 115.316 84.582 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Value" "1N4148W" + (at 117.856 84.582 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Footprint" "PCM_Diode_SMD_AKL:D_SOD-123" + (at 121.92 81.28 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "https://datasheet.octopart.com/1N4148W-HE3-18-Vishay-datasheet-17291302.pdf" + (at 121.92 81.28 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "SOD-123 Diode, Small Signal, Fast Switching, 75V, 150mA, 4ns, Alternate KiCad Library" + (at 121.92 81.28 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "56610e7a-f0ad-4103-bb6a-96706cbd96f0") + ) + (pin "2" + (uuid "a0c3f134-0344-42f9-a221-875de1e820ad") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "D26") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_marbastlib-mx:MX_stab") + (at 143.51 139.7 0) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (fields_autoplaced yes) + (uuid "4855a906-bd2d-486f-983f-04048973e572") + (property "Reference" "Space_Stab1" + (at 149.86 138.3029 0) + (effects + (font + (size 1.27 1.27) + ) + (justify left) + ) + ) + (property "Value" "MX_stab" + (at 149.86 140.8429 0) + (effects + (font + (size 1.27 1.27) + ) + (justify left) + ) + ) + (property "Footprint" "PCM_marbastlib-mx:STAB_MX_P_6.25u" + (at 143.51 139.7 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "" + (at 143.51 139.7 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "Cherry MX-style stabilizer" + (at 143.51 139.7 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (instances + (project "" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "Space_Stab1") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_Diode_AKL:1N4148W") + (at 198.12 142.24 270) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (uuid "4ca68793-fbf6-4f2c-905f-275d87d5ba29") + (property "Reference" "D73" + (at 191.516 145.542 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Value" "1N4148W" + (at 194.056 145.542 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Footprint" "PCM_Diode_SMD_AKL:D_SOD-123" + (at 198.12 142.24 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "https://datasheet.octopart.com/1N4148W-HE3-18-Vishay-datasheet-17291302.pdf" + (at 198.12 142.24 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "SOD-123 Diode, Small Signal, Fast Switching, 75V, 150mA, 4ns, Alternate KiCad Library" + (at 198.12 142.24 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "8a41f3fd-8dcf-414a-8ab9-b765e8010b47") + ) + (pin "2" + (uuid "edfe0918-598f-48de-bb7f-cfe9d11c7abc") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "D73") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_marbastlib-mx:MX_SW_HS_CPG151101S11") + (at 195.58 95.25 0) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (fields_autoplaced yes) + (uuid "4d3d51a0-9b43-4fb6-b8b4-a7e468fb32ed") + (property "Reference" "KEY_'1" + (at 195.58 87.63 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Value" "MX_SW_HS" + (at 195.58 90.17 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "PCM_marbastlib-mx:SW_MX_HS_CPG151101S11_1u" + (at 195.58 95.25 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "~" + (at 195.58 95.25 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "Push button switch, normally open, two pins, 45° tilted, Kailh CPG151101S11 for Cherry MX style switches" + (at 195.58 95.25 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "fcb90346-ba81-49e7-8422-0c5f2f379a9a") + ) + (pin "2" + (uuid "cea4f7d6-ea8b-4fb7-9450-6df2a1ea05eb") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "KEY_'1") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_marbastlib-mx:MX_SW_HS_CPG151101S11") + (at 55.88 54.61 0) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (fields_autoplaced yes) + (uuid "4e8d21a3-bca3-4293-acd4-2a29e96b4ab4") + (property "Reference" "KEY_ESC1" + (at 55.88 46.99 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Value" "MX_SW_HS" + (at 55.88 49.53 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "PCM_marbastlib-mx:SW_MX_HS_CPG151101S11_1u" + (at 55.88 54.61 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "~" + (at 55.88 54.61 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "Push button switch, normally open, two pins, 45° tilted, Kailh CPG151101S11 for Cherry MX style switches" + (at 55.88 54.61 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "dc60b1ea-e958-4da3-9011-24d35263f159") + ) + (pin "2" + (uuid "a68c81c4-4976-478c-be0e-c758cecd1be3") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "KEY_ESC1") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_marbastlib-mx:MX_SW_HS_CPG151101S11") + (at 170.18 95.25 0) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (fields_autoplaced yes) + (uuid "4f9b55c3-88ac-4875-9d67-a09732fedfde") + (property "Reference" "KEY_L1" + (at 170.18 87.63 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Value" "MX_SW_HS" + (at 170.18 90.17 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "PCM_marbastlib-mx:SW_MX_HS_CPG151101S11_1u" + (at 170.18 95.25 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "~" + (at 170.18 95.25 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "Push button switch, normally open, two pins, 45° tilted, Kailh CPG151101S11 for Cherry MX style switches" + (at 170.18 95.25 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "dc272729-0921-4e6f-8341-c6c2b6d6f798") + ) + (pin "2" + (uuid "8a11cc37-23c5-4bd7-b213-c27cbc517a84") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "KEY_L1") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_marbastlib-mx:MX_SW_HS_CPG151101S11") + (at 68.58 54.61 0) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (fields_autoplaced yes) + (uuid "52184e44-813e-453e-a209-b17b8c4ef315") + (property "Reference" "KEY_1" + (at 68.58 46.99 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Value" "MX_SW_HS" + (at 68.58 49.53 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "PCM_marbastlib-mx:SW_MX_HS_CPG151101S11_1u" + (at 68.58 54.61 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "~" + (at 68.58 54.61 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "Push button switch, normally open, two pins, 45° tilted, Kailh CPG151101S11 for Cherry MX style switches" + (at 68.58 54.61 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "76019ddd-344b-4804-a291-ce52dcac25ca") + ) + (pin "2" + (uuid "9320df5c-83ce-4c9e-b4ac-a2b812db8038") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "KEY_1") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_marbastlib-mx:MX_SW_HS_CPG151101S11") + (at 93.98 54.61 0) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (fields_autoplaced yes) + (uuid "52184e44-813e-453e-a209-b17b8c4ef316") + (property "Reference" "KEY_3" + (at 93.98 46.99 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Value" "MX_SW_HS" + (at 93.98 49.53 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "PCM_marbastlib-mx:SW_MX_HS_CPG151101S11_1u" + (at 93.98 54.61 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "~" + (at 93.98 54.61 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "Push button switch, normally open, two pins, 45° tilted, Kailh CPG151101S11 for Cherry MX style switches" + (at 93.98 54.61 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "76019ddd-344b-4804-a291-ce52dcac25cb") + ) + (pin "2" + (uuid "9320df5c-83ce-4c9e-b4ac-a2b812db8039") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "KEY_3") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_Diode_AKL:1N4148W") + (at 236.22 101.6 270) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (uuid "541ba844-7e6b-4079-bc16-7a53d5906d08") + (property "Reference" "D48" + (at 229.616 104.902 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Value" "1N4148W" + (at 232.156 104.902 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Footprint" "PCM_Diode_SMD_AKL:D_SOD-123" + (at 236.22 101.6 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "https://datasheet.octopart.com/1N4148W-HE3-18-Vishay-datasheet-17291302.pdf" + (at 236.22 101.6 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "SOD-123 Diode, Small Signal, Fast Switching, 75V, 150mA, 4ns, Alternate KiCad Library" + (at 236.22 101.6 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "3200c3d6-cd5c-40fd-839c-16d84671b2fc") + ) + (pin "2" + (uuid "bf237dbd-2526-4aa6-8bee-1769ece59e07") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "D48") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_Diode_AKL:1N4148W") + (at 83.82 81.28 270) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (uuid "54df50b9-06c0-4bad-969c-c536a768ae38") + (property "Reference" "D23" + (at 77.216 84.582 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Value" "1N4148W" + (at 79.756 84.582 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Footprint" "PCM_Diode_SMD_AKL:D_SOD-123" + (at 83.82 81.28 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "https://datasheet.octopart.com/1N4148W-HE3-18-Vishay-datasheet-17291302.pdf" + (at 83.82 81.28 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "SOD-123 Diode, Small Signal, Fast Switching, 75V, 150mA, 4ns, Alternate KiCad Library" + (at 83.82 81.28 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "e36256c2-bb04-44d5-88ab-a218a1debfbf") + ) + (pin "2" + (uuid "d60fb856-1d79-44d7-9ed8-06a2bcfe6561") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "D23") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_marbastlib-mx:MX_SW_HS_CPG151101S11") + (at 132.08 95.25 0) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (fields_autoplaced yes) + (uuid "5a35b730-0a11-44e1-a4e8-f548e09e8d77") + (property "Reference" "KEY_H1" + (at 132.08 87.63 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Value" "MX_SW_HS" + (at 132.08 90.17 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "PCM_marbastlib-mx:SW_MX_HS_CPG151101S11_1u" + (at 132.08 95.25 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "~" + (at 132.08 95.25 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "Push button switch, normally open, two pins, 45° tilted, Kailh CPG151101S11 for Cherry MX style switches" + (at 132.08 95.25 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "b407828d-fa22-480e-9996-06bde6ae455a") + ) + (pin "2" + (uuid "ef4fee7b-4361-4ec0-82fd-ecdfc089b679") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "KEY_H1") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_marbastlib-mx:MX_SW_HS_CPG151101S11") + (at 132.08 54.61 0) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (fields_autoplaced yes) + (uuid "61323b9c-135f-4d63-be56-48f93becf527") + (property "Reference" "KEY_6" + (at 132.08 46.99 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Value" "MX_SW_HS" + (at 132.08 49.53 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "PCM_marbastlib-mx:SW_MX_HS_CPG151101S11_1u" + (at 132.08 54.61 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "~" + (at 132.08 54.61 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "Push button switch, normally open, two pins, 45° tilted, Kailh CPG151101S11 for Cherry MX style switches" + (at 132.08 54.61 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "a02013cd-f49a-4b23-a33b-3500053289d3") + ) + (pin "2" + (uuid "4e2c12fc-e1d5-4718-bffc-7e9b53a63138") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "KEY_6") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_marbastlib-mx:MX_SW_HS_CPG151101S11") + (at 233.68 54.61 0) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (fields_autoplaced yes) + (uuid "63bbd4f2-b72e-4169-844f-dc300c927600") + (property "Reference" "KEY_HOME1" + (at 233.68 46.99 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Value" "MX_SW_HS" + (at 233.68 49.53 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "PCM_marbastlib-mx:SW_MX_HS_CPG151101S11_1u" + (at 233.68 54.61 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "~" + (at 233.68 54.61 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "Push button switch, normally open, two pins, 45° tilted, Kailh CPG151101S11 for Cherry MX style switches" + (at 233.68 54.61 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "005e7534-b23b-4594-b295-b45d273c059f") + ) + (pin "2" + (uuid "43635eb4-1175-4cf7-8b5c-8b9a7a6c1784") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "KEY_HOME1") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_Diode_AKL:1N4148W") + (at 134.62 101.6 270) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (uuid "67841535-19c4-4d15-9cfe-ce11e23a842e") + (property "Reference" "D41" + (at 128.016 104.902 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Value" "1N4148W" + (at 130.556 104.902 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Footprint" "PCM_Diode_SMD_AKL:D_SOD-123" + (at 134.62 101.6 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "https://datasheet.octopart.com/1N4148W-HE3-18-Vishay-datasheet-17291302.pdf" + (at 134.62 101.6 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "SOD-123 Diode, Small Signal, Fast Switching, 75V, 150mA, 4ns, Alternate KiCad Library" + (at 134.62 101.6 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "7ef34d6a-0a50-4081-b1c6-60e4aa3b9ba8") + ) + (pin "2" + (uuid "94de503e-0a52-4607-b377-a03cbe2d7704") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "D41") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_Diode_AKL:1N4148W") + (at 134.62 60.96 270) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (uuid "6932fc9c-c7e7-4ac0-a0d4-8942e8e51094") + (property "Reference" "D9" + (at 128.016 64.262 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Value" "1N4148W" + (at 130.556 64.262 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Footprint" "PCM_Diode_SMD_AKL:D_SOD-123" + (at 134.62 60.96 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "https://datasheet.octopart.com/1N4148W-HE3-18-Vishay-datasheet-17291302.pdf" + (at 134.62 60.96 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "SOD-123 Diode, Small Signal, Fast Switching, 75V, 150mA, 4ns, Alternate KiCad Library" + (at 134.62 60.96 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "18f81c18-d7e7-46f0-a96e-a56f1b75c6d8") + ) + (pin "2" + (uuid "80986207-cc92-4b64-8277-826e568909c2") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "D9") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_Diode_AKL:1N4148W") + (at 198.12 101.6 270) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (uuid "69e51b39-5aa8-4d6c-943d-155a3c196fea") + (property "Reference" "D46" + (at 191.516 104.902 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Value" "1N4148W" + (at 194.056 104.902 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Footprint" "PCM_Diode_SMD_AKL:D_SOD-123" + (at 198.12 101.6 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "https://datasheet.octopart.com/1N4148W-HE3-18-Vishay-datasheet-17291302.pdf" + (at 198.12 101.6 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "SOD-123 Diode, Small Signal, Fast Switching, 75V, 150mA, 4ns, Alternate KiCad Library" + (at 198.12 101.6 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "377d74b2-4f53-44d9-b6cc-95d1f296f90a") + ) + (pin "2" + (uuid "26d756ea-a861-4536-874f-b919fba3fd78") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "D46") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_Diode_AKL:1N4148W") + (at 185.42 121.92 270) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (uuid "6a4c873b-9302-4d0b-ab6e-4b2daf93931a") + (property "Reference" "D59" + (at 178.816 125.222 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Value" "1N4148W" + (at 181.356 125.222 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Footprint" "PCM_Diode_SMD_AKL:D_SOD-123" + (at 185.42 121.92 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "https://datasheet.octopart.com/1N4148W-HE3-18-Vishay-datasheet-17291302.pdf" + (at 185.42 121.92 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "SOD-123 Diode, Small Signal, Fast Switching, 75V, 150mA, 4ns, Alternate KiCad Library" + (at 185.42 121.92 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "887f45a6-339c-4010-a75b-3979c481956f") + ) + (pin "2" + (uuid "6ba9f59a-c186-4b3e-8212-416fce30ff41") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "D59") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_Diode_AKL:1N4148W") + (at 58.42 142.24 270) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (uuid "6b652fac-8a47-48a6-a903-a055f6d384b8") + (property "Reference" "D21" + (at 51.816 145.542 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Value" "1N4148W" + (at 54.356 145.542 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Footprint" "PCM_Diode_SMD_AKL:D_SOD-123" + (at 58.42 142.24 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "https://datasheet.octopart.com/1N4148W-HE3-18-Vishay-datasheet-17291302.pdf" + (at 58.42 142.24 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "SOD-123 Diode, Small Signal, Fast Switching, 75V, 150mA, 4ns, Alternate KiCad Library" + (at 58.42 142.24 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "c19c07d3-09bc-4556-981c-e1e3fe21d137") + ) + (pin "2" + (uuid "62ecd01f-643e-486d-91dd-2aecba64154c") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "D21") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_marbastlib-mx:MX_SW_HS_CPG151101S11") + (at 182.88 95.25 0) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (fields_autoplaced yes) + (uuid "6ed96fd9-9df8-42c9-ac6e-ab987e9697f0") + (property "Reference" "KEY_;1" + (at 182.88 87.63 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Value" "MX_SW_HS" + (at 182.88 90.17 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "PCM_marbastlib-mx:SW_MX_HS_CPG151101S11_1u" + (at 182.88 95.25 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "~" + (at 182.88 95.25 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "Push button switch, normally open, two pins, 45° tilted, Kailh CPG151101S11 for Cherry MX style switches" + (at 182.88 95.25 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "eb12649e-d5eb-49b5-a9b6-04e858634717") + ) + (pin "2" + (uuid "ffdf25bf-100c-4da5-9a03-7af25ad67bff") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "KEY_;1") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_Diode_AKL:1N4148W") + (at 236.22 60.96 270) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (uuid "74706b6a-3e0b-4fa3-9f53-54509b6a0535") + (property "Reference" "D17" + (at 229.616 64.262 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Value" "1N4148W" + (at 232.156 64.262 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Footprint" "PCM_Diode_SMD_AKL:D_SOD-123" + (at 236.22 60.96 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "https://datasheet.octopart.com/1N4148W-HE3-18-Vishay-datasheet-17291302.pdf" + (at 236.22 60.96 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "SOD-123 Diode, Small Signal, Fast Switching, 75V, 150mA, 4ns, Alternate KiCad Library" + (at 236.22 60.96 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "7d6e3b75-d9da-4d96-b845-630aad181d20") + ) + (pin "2" + (uuid "d8032176-ce98-4d0d-91bd-ea9be23e4fed") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "D17") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_Diode_AKL:1N4148W") + (at 58.42 121.92 270) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (uuid "77820fff-4086-4b1b-a884-b7719eab8b23") + (property "Reference" "D20" + (at 51.816 125.222 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Value" "1N4148W" + (at 54.356 125.222 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Footprint" "PCM_Diode_SMD_AKL:D_SOD-123" + (at 58.42 121.92 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "https://datasheet.octopart.com/1N4148W-HE3-18-Vishay-datasheet-17291302.pdf" + (at 58.42 121.92 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "SOD-123 Diode, Small Signal, Fast Switching, 75V, 150mA, 4ns, Alternate KiCad Library" + (at 58.42 121.92 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "b6225652-2d77-4678-8cd9-b147255b6046") + ) + (pin "2" + (uuid "aff4269e-c12b-45b7-9329-4c1e85aa0782") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "D20") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_Diode_AKL:1N4148W") + (at 198.12 60.96 270) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (uuid "7a615478-d7b3-4edb-9516-020408805d18") + (property "Reference" "D14" + (at 191.516 64.262 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Value" "1N4148W" + (at 194.056 64.262 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Footprint" "PCM_Diode_SMD_AKL:D_SOD-123" + (at 198.12 60.96 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "https://datasheet.octopart.com/1N4148W-HE3-18-Vishay-datasheet-17291302.pdf" + (at 198.12 60.96 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "SOD-123 Diode, Small Signal, Fast Switching, 75V, 150mA, 4ns, Alternate KiCad Library" + (at 198.12 60.96 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "0a68fbd7-417f-41df-b2cb-32e119f6d2f6") + ) + (pin "2" + (uuid "3d827b2b-aa13-4f28-93f4-57d5f02b17a2") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "D14") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_marbastlib-mx:MX_SW_HS_CPG151101S11") + (at 182.88 135.89 0) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (fields_autoplaced yes) + (uuid "7bb0381f-38aa-46b7-a1d3-a04770ca9b6d") + (property "Reference" "KEY_FN1" + (at 182.88 128.27 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Value" "MX_SW_HS" + (at 182.88 130.81 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "PCM_marbastlib-mx:SW_MX_HS_CPG151101S11_1u" + (at 182.88 135.89 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "~" + (at 182.88 135.89 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "Push button switch, normally open, two pins, 45° tilted, Kailh CPG151101S11 for Cherry MX style switches" + (at 182.88 135.89 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "8d8163c3-452d-4628-bc64-694f1f051196") + ) + (pin "2" + (uuid "880a2002-faad-4883-b93e-cc6b3a619dd9") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "KEY_FN1") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_Diode_AKL:1N4148W") + (at 83.82 142.24 270) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (uuid "7def791e-5a67-41d7-b347-c3f9a299b5a3") + (property "Reference" "D65" + (at 77.216 145.542 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Value" "1N4148W" + (at 79.756 145.542 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Footprint" "PCM_Diode_SMD_AKL:D_SOD-123" + (at 83.82 142.24 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "https://datasheet.octopart.com/1N4148W-HE3-18-Vishay-datasheet-17291302.pdf" + (at 83.82 142.24 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "SOD-123 Diode, Small Signal, Fast Switching, 75V, 150mA, 4ns, Alternate KiCad Library" + (at 83.82 142.24 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "438fc89b-e776-4009-b6ed-b84c6da8bfdd") + ) + (pin "2" + (uuid "a342e0fb-1e2b-452d-9d88-c15bc1945675") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "D65") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_Diode_AKL:1N4148W") + (at 96.52 60.96 270) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (uuid "7e3a58d6-c4e1-41ce-b74e-eeedc486ae3f") + (property "Reference" "D6" + (at 89.916 64.262 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Value" "1N4148W" + (at 92.456 64.262 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Footprint" "PCM_Diode_SMD_AKL:D_SOD-123" + (at 96.52 60.96 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "https://datasheet.octopart.com/1N4148W-HE3-18-Vishay-datasheet-17291302.pdf" + (at 96.52 60.96 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "SOD-123 Diode, Small Signal, Fast Switching, 75V, 150mA, 4ns, Alternate KiCad Library" + (at 96.52 60.96 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "23ddf2fd-d0af-41f7-969d-2014c943160d") + ) + (pin "2" + (uuid "967bd345-362f-4175-9c32-cb92e45ff29e") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "D6") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_Diode_AKL:1N4148W") + (at 109.22 81.28 270) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (uuid "803e7a88-32d5-4661-8d1b-777196178dcb") + (property "Reference" "D25" + (at 102.616 84.582 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Value" "1N4148W" + (at 105.156 84.582 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Footprint" "PCM_Diode_SMD_AKL:D_SOD-123" + (at 109.22 81.28 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "https://datasheet.octopart.com/1N4148W-HE3-18-Vishay-datasheet-17291302.pdf" + (at 109.22 81.28 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "SOD-123 Diode, Small Signal, Fast Switching, 75V, 150mA, 4ns, Alternate KiCad Library" + (at 109.22 81.28 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "91623c98-15a2-41c2-ac2e-2fcee9ba2303") + ) + (pin "2" + (uuid "d5d225fe-1334-434c-b04e-d0785f45f049") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "D25") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_marbastlib-mx:MX_SW_HS_CPG151101S11") + (at 68.58 74.93 0) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (fields_autoplaced yes) + (uuid "80561787-b883-41f7-b3b7-f2ffb5d53dec") + (property "Reference" "KEY_Q1" + (at 68.58 67.31 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Value" "MX_SW_HS" + (at 68.58 69.85 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "PCM_marbastlib-mx:SW_MX_HS_CPG151101S11_1u" + (at 68.58 74.93 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "~" + (at 68.58 74.93 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "Push button switch, normally open, two pins, 45° tilted, Kailh CPG151101S11 for Cherry MX style switches" + (at 68.58 74.93 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "37f2a6cb-5462-4a4c-92eb-3654b257097b") + ) + (pin "2" + (uuid "f00bfaa0-06a2-4069-911d-9363f0a36599") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "KEY_Q1") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_Diode_AKL:1N4148W") + (at 172.72 121.92 270) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (uuid "8115d332-6670-4e74-a75f-1ab5d151c36d") + (property "Reference" "D58" + (at 166.116 125.222 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Value" "1N4148W" + (at 168.656 125.222 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Footprint" "PCM_Diode_SMD_AKL:D_SOD-123" + (at 172.72 121.92 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "https://datasheet.octopart.com/1N4148W-HE3-18-Vishay-datasheet-17291302.pdf" + (at 172.72 121.92 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "SOD-123 Diode, Small Signal, Fast Switching, 75V, 150mA, 4ns, Alternate KiCad Library" + (at 172.72 121.92 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "fb0541cc-315e-4416-a428-bcc063cd37ae") + ) + (pin "2" + (uuid "18f3228b-da5b-43de-8c21-91864c5ae5f0") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "D58") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_marbastlib-mx:MX_SW_HS_CPG151101S11") + (at 68.58 135.89 0) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (fields_autoplaced yes) + (uuid "845bb780-6e16-47cd-a15e-538adef12cb0") + (property "Reference" "KEY_WIN1" + (at 68.58 128.27 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Value" "MX_SW_HS" + (at 68.58 130.81 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "PCM_marbastlib-mx:SW_MX_HS_CPG151101S11_1u" + (at 68.58 135.89 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "~" + (at 68.58 135.89 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "Push button switch, normally open, two pins, 45° tilted, Kailh CPG151101S11 for Cherry MX style switches" + (at 68.58 135.89 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "de1bde1c-9843-4447-9289-dae3d892e6c9") + ) + (pin "2" + (uuid "24357f08-3aae-4878-8a7d-0ba46f58c3ec") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "KEY_WIN1") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_Diode_AKL:1N4148W") + (at 83.82 121.92 270) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (uuid "84c5f039-5f78-4b24-affa-912977ae302e") + (property "Reference" "D51" + (at 77.216 125.222 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Value" "1N4148W" + (at 79.756 125.222 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Footprint" "PCM_Diode_SMD_AKL:D_SOD-123" + (at 83.82 121.92 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "https://datasheet.octopart.com/1N4148W-HE3-18-Vishay-datasheet-17291302.pdf" + (at 83.82 121.92 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "SOD-123 Diode, Small Signal, Fast Switching, 75V, 150mA, 4ns, Alternate KiCad Library" + (at 83.82 121.92 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "87152a46-d5f4-4050-84c5-21d97ed50fb6") + ) + (pin "2" + (uuid "33f01af7-258e-4aac-981a-ee95bef4c1e7") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "D51") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_Diode_AKL:1N4148W") + (at 223.52 60.96 270) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (uuid "8852f500-0eda-428e-83a3-759aec3e9d89") + (property "Reference" "D16" + (at 216.916 64.262 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Value" "1N4148W" + (at 219.456 64.262 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Footprint" "PCM_Diode_SMD_AKL:D_SOD-123" + (at 223.52 60.96 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "https://datasheet.octopart.com/1N4148W-HE3-18-Vishay-datasheet-17291302.pdf" + (at 223.52 60.96 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "SOD-123 Diode, Small Signal, Fast Switching, 75V, 150mA, 4ns, Alternate KiCad Library" + (at 223.52 60.96 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "1e4e43c2-7192-4371-bcdd-eb4f373b334c") + ) + (pin "2" + (uuid "d17efe09-e809-4e8c-b533-25372e39c463") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "D16") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_marbastlib-mx:MX_SW_HS_CPG151101S11") + (at 119.38 95.25 0) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (fields_autoplaced yes) + (uuid "898b4b3a-d7ad-4f6e-9f2a-c5cc8f257216") + (property "Reference" "KEY_G1" + (at 119.38 87.63 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Value" "MX_SW_HS" + (at 119.38 90.17 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "PCM_marbastlib-mx:SW_MX_HS_CPG151101S11_1u" + (at 119.38 95.25 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "~" + (at 119.38 95.25 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "Push button switch, normally open, two pins, 45° tilted, Kailh CPG151101S11 for Cherry MX style switches" + (at 119.38 95.25 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "fa0676ee-a29d-460e-8787-0e0212613fa0") + ) + (pin "2" + (uuid "2d511b4c-4166-4e42-b614-66497477595a") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "KEY_G1") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_marbastlib-mx:MX_SW_HS_CPG151101S11") + (at 119.38 74.93 0) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (fields_autoplaced yes) + (uuid "8b849530-a851-4c47-abbd-b8c147aca44c") + (property "Reference" "KEY_T1" + (at 119.38 67.31 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Value" "MX_SW_HS" + (at 119.38 69.85 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "PCM_marbastlib-mx:SW_MX_HS_CPG151101S11_1u" + (at 119.38 74.93 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "~" + (at 119.38 74.93 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "Push button switch, normally open, two pins, 45° tilted, Kailh CPG151101S11 for Cherry MX style switches" + (at 119.38 74.93 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "4cce048f-c220-40de-b47e-43939f37ec93") + ) + (pin "2" + (uuid "9f8421ae-9f06-42ff-b3bb-d07f6206f14d") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "KEY_T1") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_Diode_AKL:1N4148W") + (at 71.12 142.24 270) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (uuid "8dd52d64-57c0-4a4a-8b34-1f152207bb6d") + (property "Reference" "D64" + (at 64.516 145.542 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Value" "1N4148W" + (at 67.056 145.542 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Footprint" "PCM_Diode_SMD_AKL:D_SOD-123" + (at 71.12 142.24 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "https://datasheet.octopart.com/1N4148W-HE3-18-Vishay-datasheet-17291302.pdf" + (at 71.12 142.24 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "SOD-123 Diode, Small Signal, Fast Switching, 75V, 150mA, 4ns, Alternate KiCad Library" + (at 71.12 142.24 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "367f20d0-da54-4d3c-9c7f-5c440827bdd2") + ) + (pin "2" + (uuid "2eeedfc8-f356-4a50-8762-377eb18f0a70") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "D64") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_Diode_AKL:1N4148W") + (at 121.92 121.92 270) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (uuid "8dfe5ea9-ccb7-4e15-bde7-2d243cea9ebc") + (property "Reference" "D54" + (at 115.316 125.222 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Value" "1N4148W" + (at 117.856 125.222 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Footprint" "PCM_Diode_SMD_AKL:D_SOD-123" + (at 121.92 121.92 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "https://datasheet.octopart.com/1N4148W-HE3-18-Vishay-datasheet-17291302.pdf" + (at 121.92 121.92 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "SOD-123 Diode, Small Signal, Fast Switching, 75V, 150mA, 4ns, Alternate KiCad Library" + (at 121.92 121.92 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "83e54472-7754-4eda-9ba6-a358e1989887") + ) + (pin "2" + (uuid "30045306-0305-4a86-ab28-53560fcbcf68") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "D54") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_Diode_AKL:1N4148W") + (at 236.22 121.92 270) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (uuid "8eec45c1-7516-42ab-85ef-c683a28ad203") + (property "Reference" "D62" + (at 229.616 125.222 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Value" "1N4148W" + (at 232.156 125.222 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Footprint" "PCM_Diode_SMD_AKL:D_SOD-123" + (at 236.22 121.92 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "https://datasheet.octopart.com/1N4148W-HE3-18-Vishay-datasheet-17291302.pdf" + (at 236.22 121.92 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "SOD-123 Diode, Small Signal, Fast Switching, 75V, 150mA, 4ns, Alternate KiCad Library" + (at 236.22 121.92 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "5f8adb03-ab63-4a8f-b6de-e49d4f86c915") + ) + (pin "2" + (uuid "5a95af04-9f15-4bbc-9fd7-5d3b473598b1") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "D62") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_Diode_AKL:1N4148W") + (at 223.52 142.24 270) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (uuid "8f1aea71-94bd-4342-9abf-971a8be1a4c8") + (property "Reference" "D75" + (at 216.916 145.542 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Value" "1N4148W" + (at 219.456 145.542 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Footprint" "PCM_Diode_SMD_AKL:D_SOD-123" + (at 223.52 142.24 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "https://datasheet.octopart.com/1N4148W-HE3-18-Vishay-datasheet-17291302.pdf" + (at 223.52 142.24 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "SOD-123 Diode, Small Signal, Fast Switching, 75V, 150mA, 4ns, Alternate KiCad Library" + (at 223.52 142.24 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "d3f7ab88-dbd1-4a2d-8339-171cf655b1bf") + ) + (pin "2" + (uuid "4ec2cf16-4664-4b24-8ee8-8aceff369e88") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "D75") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_marbastlib-mx:MX_SW_HS_CPG151101S11") + (at 157.48 115.57 0) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (fields_autoplaced yes) + (uuid "8fdda033-c0f1-4c53-bec7-e3847dba47ce") + (property "Reference" "KEY_,1" + (at 157.48 107.95 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Value" "MX_SW_HS" + (at 157.48 110.49 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "PCM_marbastlib-mx:SW_MX_HS_CPG151101S11_1u" + (at 157.48 115.57 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "~" + (at 157.48 115.57 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "Push button switch, normally open, two pins, 45° tilted, Kailh CPG151101S11 for Cherry MX style switches" + (at 157.48 115.57 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "b8f85c2e-eabf-4af2-9b28-173babc031ba") + ) + (pin "2" + (uuid "93c3ab46-f590-412c-abb3-33e9d29bc7e4") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "KEY_,1") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_Diode_AKL:1N4148W") + (at 109.22 60.96 270) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (uuid "92ba53dd-9dc7-41fe-93ac-26128165abf8") + (property "Reference" "D7" + (at 102.616 64.262 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Value" "1N4148W" + (at 105.156 64.262 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Footprint" "PCM_Diode_SMD_AKL:D_SOD-123" + (at 109.22 60.96 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "https://datasheet.octopart.com/1N4148W-HE3-18-Vishay-datasheet-17291302.pdf" + (at 109.22 60.96 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "SOD-123 Diode, Small Signal, Fast Switching, 75V, 150mA, 4ns, Alternate KiCad Library" + (at 109.22 60.96 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "e4f2a31c-afb7-4bd8-b587-e4b05565a91a") + ) + (pin "2" + (uuid "ef8b9b55-4e26-4a97-9d06-628995aa4c9e") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "D7") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_marbastlib-mx:MX_stab") + (at 39.37 120.65 0) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (uuid "93c7c81f-a3ab-4c0b-bb9d-73eae870398b") + (property "Reference" "LeftStab1" + (at 35.56 113.284 0) + (effects + (font + (size 1.27 1.27) + ) + (justify left) + ) + ) + (property "Value" "MX_stab" + (at 35.56 115.824 0) + (effects + (font + (size 1.27 1.27) + ) + (justify left) + ) + ) + (property "Footprint" "PCM_marbastlib-mx:STAB_MX_P_2.25u" + (at 39.37 120.65 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "" + (at 39.37 120.65 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "Cherry MX-style stabilizer" + (at 39.37 120.65 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "LeftStab1") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_Diode_AKL:1N4148W") + (at 172.72 101.6 270) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (uuid "94ea4fd3-2048-4ef0-968f-57ba8c32036f") + (property "Reference" "D44" + (at 166.116 104.902 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Value" "1N4148W" + (at 168.656 104.902 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Footprint" "PCM_Diode_SMD_AKL:D_SOD-123" + (at 172.72 101.6 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "https://datasheet.octopart.com/1N4148W-HE3-18-Vishay-datasheet-17291302.pdf" + (at 172.72 101.6 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "SOD-123 Diode, Small Signal, Fast Switching, 75V, 150mA, 4ns, Alternate KiCad Library" + (at 172.72 101.6 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "a52f7b92-0989-47bc-ab84-bb0fdbfecee7") + ) + (pin "2" + (uuid "28a9e16a-cc81-4728-9302-85ad53fab710") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "D44") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_Diode_AKL:1N4148W") + (at 109.22 101.6 270) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (uuid "9528b07a-bb2c-4b7a-a539-c673c2b5543a") + (property "Reference" "D39" + (at 102.616 104.902 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Value" "1N4148W" + (at 105.156 104.902 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Footprint" "PCM_Diode_SMD_AKL:D_SOD-123" + (at 109.22 101.6 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "https://datasheet.octopart.com/1N4148W-HE3-18-Vishay-datasheet-17291302.pdf" + (at 109.22 101.6 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "SOD-123 Diode, Small Signal, Fast Switching, 75V, 150mA, 4ns, Alternate KiCad Library" + (at 109.22 101.6 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "adc79ae8-833a-40fb-ac1f-356c2e63170a") + ) + (pin "2" + (uuid "af3ba6e6-af41-44b0-a9fb-0f0d926c3e0f") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "D39") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_marbastlib-mx:MX_SW_HS_CPG151101S11") + (at 81.28 95.25 0) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (fields_autoplaced yes) + (uuid "96531bac-f062-4e6f-90d0-203332849f6c") + (property "Reference" "KEY_S1" + (at 81.28 87.63 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Value" "MX_SW_HS" + (at 81.28 90.17 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "PCM_marbastlib-mx:SW_MX_HS_CPG151101S11_1u" + (at 81.28 95.25 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "~" + (at 81.28 95.25 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "Push button switch, normally open, two pins, 45° tilted, Kailh CPG151101S11 for Cherry MX style switches" + (at 81.28 95.25 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "bf2432a9-8517-4ffd-8882-278792862c85") + ) + (pin "2" + (uuid "bfacc4f8-45d4-4e4f-b962-494d9dd4fabf") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "KEY_S1") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_marbastlib-mx:MX_SW_HS_CPG151101S11") + (at 119.38 135.89 0) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (fields_autoplaced yes) + (uuid "982cf5c3-8db9-4e96-b717-e55e7261bc70") + (property "Reference" "KEY_SPACE1" + (at 119.38 128.27 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Value" "MX_SW_HS" + (at 119.38 130.81 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "PCM_marbastlib-mx:SW_MX_HS_CPG151101S11_1u" + (at 119.38 135.89 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "~" + (at 119.38 135.89 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "Push button switch, normally open, two pins, 45° tilted, Kailh CPG151101S11 for Cherry MX style switches" + (at 119.38 135.89 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "fd2ecca1-62ff-4c26-8583-c775cdbf440c") + ) + (pin "2" + (uuid "6fe7071c-95ff-4eb9-92bd-4bd39993dd46") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "KEY_SPACE1") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_Diode_AKL:1N4148W") + (at 185.42 101.6 270) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (uuid "9b4b8da2-8be9-424c-9089-3ef14a7affd4") + (property "Reference" "D45" + (at 178.816 104.902 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Value" "1N4148W" + (at 181.356 104.902 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Footprint" "PCM_Diode_SMD_AKL:D_SOD-123" + (at 185.42 101.6 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "https://datasheet.octopart.com/1N4148W-HE3-18-Vishay-datasheet-17291302.pdf" + (at 185.42 101.6 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "SOD-123 Diode, Small Signal, Fast Switching, 75V, 150mA, 4ns, Alternate KiCad Library" + (at 185.42 101.6 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "b693a5ec-8fd9-4d98-9069-a26e3d4f5c49") + ) + (pin "2" + (uuid "746fa7a8-80fb-406d-8bfb-35a5d46dc58f") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "D45") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_marbastlib-mx:MX_stab") + (at 246.38 58.42 0) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (uuid "a2b98e94-7be3-4f0b-98df-c7d15757aad5") + (property "Reference" "BackspStab1" + (at 242.57 51.054 0) + (effects + (font + (size 1.27 1.27) + ) + (justify left) + ) + ) + (property "Value" "MX_stab" + (at 242.57 53.594 0) + (effects + (font + (size 1.27 1.27) + ) + (justify left) + ) + ) + (property "Footprint" "PCM_marbastlib-mx:STAB_MX_P_2u" + (at 246.38 58.42 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "" + (at 246.38 58.42 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "Cherry MX-style stabilizer" + (at 246.38 58.42 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "BackspStab1") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_Diode_AKL:1N4148W") + (at 223.52 81.28 270) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (uuid "a384e94d-f214-490d-a267-f230bd022f73") + (property "Reference" "D34" + (at 216.916 84.582 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Value" "1N4148W" + (at 219.456 84.582 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Footprint" "PCM_Diode_SMD_AKL:D_SOD-123" + (at 223.52 81.28 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "https://datasheet.octopart.com/1N4148W-HE3-18-Vishay-datasheet-17291302.pdf" + (at 223.52 81.28 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "SOD-123 Diode, Small Signal, Fast Switching, 75V, 150mA, 4ns, Alternate KiCad Library" + (at 223.52 81.28 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "9adbefde-2d32-4d4c-b955-deda907b22e7") + ) + (pin "2" + (uuid "e079c105-7992-4ec3-af3e-fcd62de98226") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "D34") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_Diode_AKL:1N4148W") + (at 210.82 101.6 270) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (uuid "a3c03817-1fec-4730-beaa-6044544092df") + (property "Reference" "D47" + (at 204.216 104.902 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Value" "1N4148W" + (at 206.756 104.902 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Footprint" "PCM_Diode_SMD_AKL:D_SOD-123" + (at 210.82 101.6 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "https://datasheet.octopart.com/1N4148W-HE3-18-Vishay-datasheet-17291302.pdf" + (at 210.82 101.6 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "SOD-123 Diode, Small Signal, Fast Switching, 75V, 150mA, 4ns, Alternate KiCad Library" + (at 210.82 101.6 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "6c3938bd-b284-4033-879f-5159daec3672") + ) + (pin "2" + (uuid "c8e5e0ec-4dba-4640-8c54-f52783cfee3e") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "D47") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_Diode_AKL:1N4148W") + (at 160.02 101.6 270) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (uuid "a3ea0bc1-1edc-4519-8635-af6897c1c19d") + (property "Reference" "D43" + (at 153.416 104.902 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Value" "1N4148W" + (at 155.956 104.902 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Footprint" "PCM_Diode_SMD_AKL:D_SOD-123" + (at 160.02 101.6 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "https://datasheet.octopart.com/1N4148W-HE3-18-Vishay-datasheet-17291302.pdf" + (at 160.02 101.6 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "SOD-123 Diode, Small Signal, Fast Switching, 75V, 150mA, 4ns, Alternate KiCad Library" + (at 160.02 101.6 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "b358cc26-0728-44fe-8d1b-06937b89abd9") + ) + (pin "2" + (uuid "54fc5aaa-a707-4634-a5f0-4d903cdac3c0") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "D43") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_Diode_AKL:1N4148W") + (at 58.42 60.96 270) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (uuid "aa9aa5a0-3cdd-4e35-b82b-98d57c94fef8") + (property "Reference" "D3" + (at 51.816 64.262 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Value" "1N4148W" + (at 54.356 64.262 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Footprint" "PCM_Diode_SMD_AKL:D_SOD-123" + (at 58.42 60.96 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "https://datasheet.octopart.com/1N4148W-HE3-18-Vishay-datasheet-17291302.pdf" + (at 58.42 60.96 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "SOD-123 Diode, Small Signal, Fast Switching, 75V, 150mA, 4ns, Alternate KiCad Library" + (at 58.42 60.96 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "5a43d591-c357-48be-9940-801043faa043") + ) + (pin "2" + (uuid "304e75c2-1277-4278-a777-eb6273a17c51") + ) + (instances + (project "" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "D3") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_marbastlib-mx:MX_SW_HS_CPG151101S11") + (at 170.18 54.61 0) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (fields_autoplaced yes) + (uuid "aaf3cc16-abb8-464c-b8f5-0221b4aebdfd") + (property "Reference" "KEY_9" + (at 170.18 46.99 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Value" "MX_SW_HS" + (at 170.18 49.53 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "PCM_marbastlib-mx:SW_MX_HS_CPG151101S11_1u" + (at 170.18 54.61 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "~" + (at 170.18 54.61 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "Push button switch, normally open, two pins, 45° tilted, Kailh CPG151101S11 for Cherry MX style switches" + (at 170.18 54.61 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "d3bb0b5b-deb7-4265-873f-f27006287778") + ) + (pin "2" + (uuid "01ae891c-12f0-451b-81cd-894cf88112f0") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "KEY_9") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_Diode_AKL:1N4148W") + (at 96.52 101.6 270) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (uuid "ab1f4c51-0794-4a1c-b3cc-4ba4f7dd2e8e") + (property "Reference" "D38" + (at 89.916 104.902 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Value" "1N4148W" + (at 92.456 104.902 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Footprint" "PCM_Diode_SMD_AKL:D_SOD-123" + (at 96.52 101.6 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "https://datasheet.octopart.com/1N4148W-HE3-18-Vishay-datasheet-17291302.pdf" + (at 96.52 101.6 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "SOD-123 Diode, Small Signal, Fast Switching, 75V, 150mA, 4ns, Alternate KiCad Library" + (at 96.52 101.6 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "8234ee78-9cae-4a2b-9d21-dfb195cb5d90") + ) + (pin "2" + (uuid "bef9549a-1644-42e6-accc-0ffeefdff16a") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "D38") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_marbastlib-mx:MX_SW_HS_CPG151101S11") + (at 233.68 74.93 0) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (fields_autoplaced yes) + (uuid "b0cb889c-27db-46cb-ae93-7d87c48c9a4d") + (property "Reference" "KEY_DEL1" + (at 233.68 67.31 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Value" "MX_SW_HS" + (at 233.68 69.85 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "PCM_marbastlib-mx:SW_MX_HS_CPG151101S11_1u" + (at 233.68 74.93 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "~" + (at 233.68 74.93 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "Push button switch, normally open, two pins, 45° tilted, Kailh CPG151101S11 for Cherry MX style switches" + (at 233.68 74.93 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "6e4b6a64-76f9-412d-9581-9a0105335f99") + ) + (pin "2" + (uuid "01bb301c-248a-4d32-a6e9-e8bbf800fb44") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "KEY_DEL1") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_Diode_AKL:1N4148W") + (at 96.52 81.28 270) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (uuid "b14317ec-8178-4ec7-8efe-b44e3c9b5d08") + (property "Reference" "D24" + (at 89.916 84.582 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Value" "1N4148W" + (at 92.456 84.582 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Footprint" "PCM_Diode_SMD_AKL:D_SOD-123" + (at 96.52 81.28 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "https://datasheet.octopart.com/1N4148W-HE3-18-Vishay-datasheet-17291302.pdf" + (at 96.52 81.28 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "SOD-123 Diode, Small Signal, Fast Switching, 75V, 150mA, 4ns, Alternate KiCad Library" + (at 96.52 81.28 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "1308953a-933d-4260-af09-421688e945c3") + ) + (pin "2" + (uuid "ead12381-2ed4-45bb-ac9f-af2e1b496a58") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "D24") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_marbastlib-mx:MX_SW_HS_CPG151101S11") + (at 81.28 74.93 0) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (fields_autoplaced yes) + (uuid "b15979eb-cf5e-4f45-86fb-48bdb423a7ca") + (property "Reference" "KEY_W1" + (at 81.28 67.31 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Value" "MX_SW_HS" + (at 81.28 69.85 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "PCM_marbastlib-mx:SW_MX_HS_CPG151101S11_1u" + (at 81.28 74.93 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "~" + (at 81.28 74.93 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "Push button switch, normally open, two pins, 45° tilted, Kailh CPG151101S11 for Cherry MX style switches" + (at 81.28 74.93 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "20f4706b-85cb-4324-bea5-5553a07df56d") + ) + (pin "2" + (uuid "e94150ca-4abc-4972-931a-fef8a4b9af22") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "KEY_W1") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_marbastlib-mx:MX_SW_HS_CPG151101S11") + (at 144.78 115.57 0) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (fields_autoplaced yes) + (uuid "b20ff87f-cc7c-47cb-a7a4-4c4c1ae0d374") + (property "Reference" "KEY_M1" + (at 144.78 107.95 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Value" "MX_SW_HS" + (at 144.78 110.49 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "PCM_marbastlib-mx:SW_MX_HS_CPG151101S11_1u" + (at 144.78 115.57 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "~" + (at 144.78 115.57 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "Push button switch, normally open, two pins, 45° tilted, Kailh CPG151101S11 for Cherry MX style switches" + (at 144.78 115.57 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "ea15f0d2-b0d0-464a-b4b5-5746084aa610") + ) + (pin "2" + (uuid "f3476890-779f-451c-8bd2-6e4649b0ca8c") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "KEY_M1") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_Diode_AKL:1N4148W") + (at 121.92 60.96 270) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (uuid "b3630641-d36d-4db6-ad43-e110633f8f94") + (property "Reference" "D8" + (at 115.316 64.262 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Value" "1N4148W" + (at 117.856 64.262 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Footprint" "PCM_Diode_SMD_AKL:D_SOD-123" + (at 121.92 60.96 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "https://datasheet.octopart.com/1N4148W-HE3-18-Vishay-datasheet-17291302.pdf" + (at 121.92 60.96 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "SOD-123 Diode, Small Signal, Fast Switching, 75V, 150mA, 4ns, Alternate KiCad Library" + (at 121.92 60.96 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "29a88f7a-5a09-47d0-a3d3-72d77f0d577d") + ) + (pin "2" + (uuid "ce309b54-b4d4-42aa-b74a-3793a0beda30") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "D8") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_marbastlib-mx:MX_SW_HS_CPG151101S11") + (at 132.08 74.93 0) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (fields_autoplaced yes) + (uuid "b3f8c532-e54d-4da0-8cae-5683cd5381d8") + (property "Reference" "KEY_Y1" + (at 132.08 67.31 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Value" "MX_SW_HS" + (at 132.08 69.85 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "PCM_marbastlib-mx:SW_MX_HS_CPG151101S11_1u" + (at 132.08 74.93 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "~" + (at 132.08 74.93 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "Push button switch, normally open, two pins, 45° tilted, Kailh CPG151101S11 for Cherry MX style switches" + (at 132.08 74.93 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "97e5c4c9-c98b-4ce0-a017-15f011b63862") + ) + (pin "2" + (uuid "87b5c20e-e9f8-489c-91d2-072fca5266db") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "KEY_Y1") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_Diode_AKL:1N4148W") + (at 210.82 142.24 270) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (uuid "b492ccfc-e90a-4ded-bda1-de723576cc78") + (property "Reference" "D74" + (at 204.216 145.542 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Value" "1N4148W" + (at 206.756 145.542 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Footprint" "PCM_Diode_SMD_AKL:D_SOD-123" + (at 210.82 142.24 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "https://datasheet.octopart.com/1N4148W-HE3-18-Vishay-datasheet-17291302.pdf" + (at 210.82 142.24 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "SOD-123 Diode, Small Signal, Fast Switching, 75V, 150mA, 4ns, Alternate KiCad Library" + (at 210.82 142.24 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "e82e8bac-118e-452d-bb75-ad9ab8e1c298") + ) + (pin "2" + (uuid "a5dd7e3d-d87a-488f-961b-c9a7dc77c032") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "D74") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_marbastlib-mx:MX_SW_HS_CPG151101S11") + (at 119.38 54.61 0) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (fields_autoplaced yes) + (uuid "b503f3c0-457c-476e-9903-51d783bbc905") + (property "Reference" "KEY_5" + (at 119.38 46.99 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Value" "MX_SW_HS" + (at 119.38 49.53 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "PCM_marbastlib-mx:SW_MX_HS_CPG151101S11_1u" + (at 119.38 54.61 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "~" + (at 119.38 54.61 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "Push button switch, normally open, two pins, 45° tilted, Kailh CPG151101S11 for Cherry MX style switches" + (at 119.38 54.61 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "06824879-b621-434d-b024-87217f63441b") + ) + (pin "2" + (uuid "45792186-9e9a-4413-922f-f8c235d2d006") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "KEY_5") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_marbastlib-mx:MX_SW_HS_CPG151101S11") + (at 68.58 115.57 0) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (fields_autoplaced yes) + (uuid "b92661c0-19a5-4ae5-86a1-463b554d30b7") + (property "Reference" "KEY_Z1" + (at 68.58 107.95 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Value" "MX_SW_HS" + (at 68.58 110.49 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "PCM_marbastlib-mx:SW_MX_HS_CPG151101S11_1u" + (at 68.58 115.57 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "~" + (at 68.58 115.57 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "Push button switch, normally open, two pins, 45° tilted, Kailh CPG151101S11 for Cherry MX style switches" + (at 68.58 115.57 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "bf110735-c2f9-4a52-8ac8-a947c6a76973") + ) + (pin "2" + (uuid "3d97cddc-46a5-402c-813c-97dd46bdb02e") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "KEY_Z1") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_Diode_AKL:1N4148W") + (at 160.02 121.92 270) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (uuid "bc24a6c2-8e4a-4e00-9334-7bfb7b7bde11") + (property "Reference" "D57" + (at 153.416 125.222 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Value" "1N4148W" + (at 155.956 125.222 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Footprint" "PCM_Diode_SMD_AKL:D_SOD-123" + (at 160.02 121.92 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "https://datasheet.octopart.com/1N4148W-HE3-18-Vishay-datasheet-17291302.pdf" + (at 160.02 121.92 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "SOD-123 Diode, Small Signal, Fast Switching, 75V, 150mA, 4ns, Alternate KiCad Library" + (at 160.02 121.92 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "b637d53a-7aaa-4026-b7cb-5df5e02ecc17") + ) + (pin "2" + (uuid "e7b6ef3a-a3ec-4263-ba7f-8271b2b5069f") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "D57") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_Diode_AKL:1N4148W") + (at 147.32 101.6 270) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (uuid "bf6e5f27-170a-4944-a1f6-385a82104b47") + (property "Reference" "D42" + (at 140.716 104.902 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Value" "1N4148W" + (at 143.256 104.902 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Footprint" "PCM_Diode_SMD_AKL:D_SOD-123" + (at 147.32 101.6 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "https://datasheet.octopart.com/1N4148W-HE3-18-Vishay-datasheet-17291302.pdf" + (at 147.32 101.6 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "SOD-123 Diode, Small Signal, Fast Switching, 75V, 150mA, 4ns, Alternate KiCad Library" + (at 147.32 101.6 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "5bc15860-0b92-4abd-bc7d-2d053a90c601") + ) + (pin "2" + (uuid "21855685-ea64-4832-a7e2-ff8534cca2a4") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "D42") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_Diode_AKL:1N4148W") + (at 185.42 60.96 270) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (uuid "c27e88cd-6cf4-4726-ba23-ebafe7cdb788") + (property "Reference" "D13" + (at 178.816 64.262 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Value" "1N4148W" + (at 181.356 64.262 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Footprint" "PCM_Diode_SMD_AKL:D_SOD-123" + (at 185.42 60.96 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "https://datasheet.octopart.com/1N4148W-HE3-18-Vishay-datasheet-17291302.pdf" + (at 185.42 60.96 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "SOD-123 Diode, Small Signal, Fast Switching, 75V, 150mA, 4ns, Alternate KiCad Library" + (at 185.42 60.96 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "606c242e-5c14-4178-a8e0-0f29835ecabe") + ) + (pin "2" + (uuid "315f354f-c34a-490e-947d-a8566829a83a") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "D13") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_Diode_AKL:1N4148W") + (at 223.52 121.92 270) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (uuid "c4c317f6-ef3e-463d-b8da-793882d0879a") + (property "Reference" "D61" + (at 216.916 125.222 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Value" "1N4148W" + (at 219.456 125.222 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Footprint" "PCM_Diode_SMD_AKL:D_SOD-123" + (at 223.52 121.92 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "https://datasheet.octopart.com/1N4148W-HE3-18-Vishay-datasheet-17291302.pdf" + (at 223.52 121.92 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "SOD-123 Diode, Small Signal, Fast Switching, 75V, 150mA, 4ns, Alternate KiCad Library" + (at 223.52 121.92 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "809b5b58-09cd-47b5-b94d-297b363497b3") + ) + (pin "2" + (uuid "a85314bc-d458-487f-8bc7-51f45d982ec4") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "D61") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_Diode_AKL:1N4148W") + (at 134.62 121.92 270) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (uuid "c9786b6b-2770-4710-83e4-1251929bc4f5") + (property "Reference" "D55" + (at 128.016 125.222 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Value" "1N4148W" + (at 130.556 125.222 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Footprint" "PCM_Diode_SMD_AKL:D_SOD-123" + (at 134.62 121.92 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "https://datasheet.octopart.com/1N4148W-HE3-18-Vishay-datasheet-17291302.pdf" + (at 134.62 121.92 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "SOD-123 Diode, Small Signal, Fast Switching, 75V, 150mA, 4ns, Alternate KiCad Library" + (at 134.62 121.92 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "cad8c23d-68cc-4a48-9b2e-e360a505f6f0") + ) + (pin "2" + (uuid "3badfaf4-4705-40d0-9083-c2983c184b54") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "D55") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_marbastlib-mx:MX_SW_HS_CPG151101S11") + (at 195.58 135.89 0) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (fields_autoplaced yes) + (uuid "c9c00c12-155c-4602-97fa-283720761fbc") + (property "Reference" "KEY_CTRL2" + (at 195.58 128.27 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Value" "MX_SW_HS" + (at 195.58 130.81 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "PCM_marbastlib-mx:SW_MX_HS_CPG151101S11_1u" + (at 195.58 135.89 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "~" + (at 195.58 135.89 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "Push button switch, normally open, two pins, 45° tilted, Kailh CPG151101S11 for Cherry MX style switches" + (at 195.58 135.89 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "2e9905fd-1ff4-4930-bf53-93d270271b26") + ) + (pin "2" + (uuid "d878da6d-98db-4c71-9225-97d9a576b1a1") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "KEY_CTRL2") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_marbastlib-mx:MX_SW_HS_CPG151101S11") + (at 195.58 54.61 0) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (fields_autoplaced yes) + (uuid "cb107d31-4050-4821-a981-f264d1ca1589") + (property "Reference" "KEY_MINUS1" + (at 195.58 46.99 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Value" "MX_SW_HS" + (at 195.58 49.53 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "PCM_marbastlib-mx:SW_MX_HS_CPG151101S11_1u" + (at 195.58 54.61 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "~" + (at 195.58 54.61 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "Push button switch, normally open, two pins, 45° tilted, Kailh CPG151101S11 for Cherry MX style switches" + (at 195.58 54.61 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "1f2b94aa-1292-4fb0-8c41-dff5f53e2915") + ) + (pin "2" + (uuid "36c83b28-c234-4a9b-a6a2-b366db7d2cce") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "KEY_MINUS1") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_Diode_AKL:1N4148W") + (at 160.02 81.28 270) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (uuid "ccc74562-6661-4570-befb-02e4c9b238d7") + (property "Reference" "D29" + (at 153.416 84.582 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Value" "1N4148W" + (at 155.956 84.582 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Footprint" "PCM_Diode_SMD_AKL:D_SOD-123" + (at 160.02 81.28 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "https://datasheet.octopart.com/1N4148W-HE3-18-Vishay-datasheet-17291302.pdf" + (at 160.02 81.28 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "SOD-123 Diode, Small Signal, Fast Switching, 75V, 150mA, 4ns, Alternate KiCad Library" + (at 160.02 81.28 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "aebe324c-5835-4449-b7b7-bf61157a34cf") + ) + (pin "2" + (uuid "21143e68-a4b8-40f7-b3a0-de471e943ac8") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "D29") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_marbastlib-mx:MX_SW_HS_CPG151101S11") + (at 157.48 95.25 0) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (fields_autoplaced yes) + (uuid "ced57a46-381c-4ead-a15e-2b8c67bf9c86") + (property "Reference" "KEY_K1" + (at 157.48 87.63 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Value" "MX_SW_HS" + (at 157.48 90.17 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "PCM_marbastlib-mx:SW_MX_HS_CPG151101S11_1u" + (at 157.48 95.25 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "~" + (at 157.48 95.25 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "Push button switch, normally open, two pins, 45° tilted, Kailh CPG151101S11 for Cherry MX style switches" + (at 157.48 95.25 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "c435f3fc-36e1-493b-89c6-5c738be78f29") + ) + (pin "2" + (uuid "90965469-236b-4028-bc78-bc52a42e8220") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "KEY_K1") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_marbastlib-mx:MX_SW_HS_CPG151101S11") + (at 81.28 115.57 0) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (fields_autoplaced yes) + (uuid "d1469439-2c96-442a-94c3-1c5ed95faebd") + (property "Reference" "KEY_X1" + (at 81.28 107.95 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Value" "MX_SW_HS" + (at 81.28 110.49 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "PCM_marbastlib-mx:SW_MX_HS_CPG151101S11_1u" + (at 81.28 115.57 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "~" + (at 81.28 115.57 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "Push button switch, normally open, two pins, 45° tilted, Kailh CPG151101S11 for Cherry MX style switches" + (at 81.28 115.57 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "ac3af516-93d4-44ad-9ac3-b4875e880ed3") + ) + (pin "2" + (uuid "fcd3e038-59db-40e2-81d0-f2a7ed0c97be") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "KEY_X1") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_Diode_AKL:1N4148W") + (at 210.82 60.96 270) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (uuid "d15f2131-9165-4f99-ba76-068283f3f1d7") + (property "Reference" "D15" + (at 204.216 64.262 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Value" "1N4148W" + (at 206.756 64.262 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Footprint" "PCM_Diode_SMD_AKL:D_SOD-123" + (at 210.82 60.96 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "https://datasheet.octopart.com/1N4148W-HE3-18-Vishay-datasheet-17291302.pdf" + (at 210.82 60.96 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "SOD-123 Diode, Small Signal, Fast Switching, 75V, 150mA, 4ns, Alternate KiCad Library" + (at 210.82 60.96 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "565f94b0-e8a8-4bc2-93b7-51a1d16496d9") + ) + (pin "2" + (uuid "25a821d7-9002-4258-b8f8-0d91086ad5c4") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "D15") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_Diode_AKL:1N4148W") + (at 121.92 101.6 270) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (uuid "d1943c1b-fcca-4277-a041-c8e0cf0a03a3") + (property "Reference" "D40" + (at 115.316 104.902 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Value" "1N4148W" + (at 117.856 104.902 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Footprint" "PCM_Diode_SMD_AKL:D_SOD-123" + (at 121.92 101.6 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "https://datasheet.octopart.com/1N4148W-HE3-18-Vishay-datasheet-17291302.pdf" + (at 121.92 101.6 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "SOD-123 Diode, Small Signal, Fast Switching, 75V, 150mA, 4ns, Alternate KiCad Library" + (at 121.92 101.6 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "9265d58b-9977-4af2-8f15-1c001a831c0d") + ) + (pin "2" + (uuid "f3ea1397-4c36-4f4d-a5b4-24d7bc5e2912") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "D40") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_Diode_AKL:1N4148W") + (at 83.82 60.96 270) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (uuid "d466eb56-7538-493e-8a7e-88ec89ec60f1") + (property "Reference" "D5" + (at 77.216 64.262 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Value" "1N4148W" + (at 79.756 64.262 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Footprint" "PCM_Diode_SMD_AKL:D_SOD-123" + (at 83.82 60.96 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "https://datasheet.octopart.com/1N4148W-HE3-18-Vishay-datasheet-17291302.pdf" + (at 83.82 60.96 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "SOD-123 Diode, Small Signal, Fast Switching, 75V, 150mA, 4ns, Alternate KiCad Library" + (at 83.82 60.96 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "234e3146-15c3-4e66-876e-f1e121a67325") + ) + (pin "2" + (uuid "afd42f84-ce4f-4dc7-9fc3-27e0daa5f54c") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "D5") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_Diode_AKL:1N4148W") + (at 71.12 60.96 270) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (uuid "d4ca6ba1-ee2f-4785-ad68-a7aa41609a12") + (property "Reference" "D4" + (at 64.516 64.262 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Value" "1N4148W" + (at 67.056 64.262 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Footprint" "PCM_Diode_SMD_AKL:D_SOD-123" + (at 71.12 60.96 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "https://datasheet.octopart.com/1N4148W-HE3-18-Vishay-datasheet-17291302.pdf" + (at 71.12 60.96 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "SOD-123 Diode, Small Signal, Fast Switching, 75V, 150mA, 4ns, Alternate KiCad Library" + (at 71.12 60.96 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "0a9293bc-784d-48ef-8be4-1ebddb46096d") + ) + (pin "2" + (uuid "fcf72e21-5800-4caf-bd61-c10175e3a10f") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "D4") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_Diode_AKL:1N4148W") + (at 185.42 81.28 270) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (uuid "d55ff88c-b74b-4e0f-accb-e3c99f134ae2") + (property "Reference" "D31" + (at 178.816 84.582 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Value" "1N4148W" + (at 181.356 84.582 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Footprint" "PCM_Diode_SMD_AKL:D_SOD-123" + (at 185.42 81.28 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "https://datasheet.octopart.com/1N4148W-HE3-18-Vishay-datasheet-17291302.pdf" + (at 185.42 81.28 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "SOD-123 Diode, Small Signal, Fast Switching, 75V, 150mA, 4ns, Alternate KiCad Library" + (at 185.42 81.28 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "1efa75a0-bc35-4340-b19d-91d72eb0fd17") + ) + (pin "2" + (uuid "994f6737-f8ed-46c1-a06e-f563dd8e81a6") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "D31") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_Diode_AKL:1N4148W") + (at 58.42 81.28 270) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (uuid "d615d698-1eed-4b63-a315-e33f547b2da8") + (property "Reference" "D18" + (at 51.816 84.582 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Value" "1N4148W" + (at 54.356 84.582 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Footprint" "PCM_Diode_SMD_AKL:D_SOD-123" + (at 58.42 81.28 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "https://datasheet.octopart.com/1N4148W-HE3-18-Vishay-datasheet-17291302.pdf" + (at 58.42 81.28 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "SOD-123 Diode, Small Signal, Fast Switching, 75V, 150mA, 4ns, Alternate KiCad Library" + (at 58.42 81.28 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "dc43aaa7-5bb5-4d79-8881-2b970c8e1742") + ) + (pin "2" + (uuid "1522259e-f804-4d2d-8a40-1898720cb087") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "D18") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_Diode_AKL:1N4148W") + (at 172.72 142.24 270) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (uuid "da9e2942-059c-42b7-8312-8cae19a84177") + (property "Reference" "D71" + (at 166.116 145.542 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Value" "1N4148W" + (at 168.656 145.542 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Footprint" "PCM_Diode_SMD_AKL:D_SOD-123" + (at 172.72 142.24 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "https://datasheet.octopart.com/1N4148W-HE3-18-Vishay-datasheet-17291302.pdf" + (at 172.72 142.24 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "SOD-123 Diode, Small Signal, Fast Switching, 75V, 150mA, 4ns, Alternate KiCad Library" + (at 172.72 142.24 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "0580ba6e-2423-4b4a-bcda-8a7123aa8582") + ) + (pin "2" + (uuid "69e18c44-2450-43c1-b500-267df565515c") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "D71") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_marbastlib-mx:MX_SW_HS_CPG151101S11") + (at 93.98 115.57 0) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (fields_autoplaced yes) + (uuid "dabc80f7-7725-4e96-a790-331cb22c86d4") + (property "Reference" "KEY_C1" + (at 93.98 107.95 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Value" "MX_SW_HS" + (at 93.98 110.49 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "PCM_marbastlib-mx:SW_MX_HS_CPG151101S11_1u" + (at 93.98 115.57 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "~" + (at 93.98 115.57 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "Push button switch, normally open, two pins, 45° tilted, Kailh CPG151101S11 for Cherry MX style switches" + (at 93.98 115.57 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "ea55766a-d225-4eba-bd35-ba94734313d9") + ) + (pin "2" + (uuid "1e962570-4471-4869-a82f-d8d08d9a2902") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "KEY_C1") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_Diode_AKL:1N4148W") + (at 147.32 60.96 270) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (uuid "dad54e66-9301-4d40-a76c-94a7922eb1db") + (property "Reference" "D10" + (at 140.716 64.262 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Value" "1N4148W" + (at 143.256 64.262 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Footprint" "PCM_Diode_SMD_AKL:D_SOD-123" + (at 147.32 60.96 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "https://datasheet.octopart.com/1N4148W-HE3-18-Vishay-datasheet-17291302.pdf" + (at 147.32 60.96 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "SOD-123 Diode, Small Signal, Fast Switching, 75V, 150mA, 4ns, Alternate KiCad Library" + (at 147.32 60.96 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "9428df53-1561-4876-bd12-e2cee682d087") + ) + (pin "2" + (uuid "47e1ebb4-ebdf-4ec7-a6e3-8f9b3bbc941a") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "D10") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_marbastlib-mx:MX_SW_HS_CPG151101S11") + (at 182.88 115.57 0) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (fields_autoplaced yes) + (uuid "db5cf6ba-b7e8-4b15-9d62-c33f33010389") + (property "Reference" "KEY_/1" + (at 182.88 107.95 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Value" "MX_SW_HS" + (at 182.88 110.49 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "PCM_marbastlib-mx:SW_MX_HS_CPG151101S11_1u" + (at 182.88 115.57 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "~" + (at 182.88 115.57 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "Push button switch, normally open, two pins, 45° tilted, Kailh CPG151101S11 for Cherry MX style switches" + (at 182.88 115.57 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "e03428ee-4767-489e-a967-48f876fafe35") + ) + (pin "2" + (uuid "991fd209-f3a5-463a-b233-6fb8151d8e81") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "KEY_/1") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_Diode_AKL:1N4148W") + (at 83.82 101.6 270) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (uuid "dbd3ebd6-e7a1-401f-a15f-ed1a8b7a724c") + (property "Reference" "D37" + (at 77.216 104.902 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Value" "1N4148W" + (at 79.756 104.902 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Footprint" "PCM_Diode_SMD_AKL:D_SOD-123" + (at 83.82 101.6 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "https://datasheet.octopart.com/1N4148W-HE3-18-Vishay-datasheet-17291302.pdf" + (at 83.82 101.6 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "SOD-123 Diode, Small Signal, Fast Switching, 75V, 150mA, 4ns, Alternate KiCad Library" + (at 83.82 101.6 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "00018078-5df7-47d4-98d2-b799f01aac72") + ) + (pin "2" + (uuid "0f1f06e9-37d1-4485-a88d-dfd07f2217ab") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "D37") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_marbastlib-mx:MX_SW_HS_CPG151101S11") + (at 55.88 74.93 0) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (fields_autoplaced yes) + (uuid "de52ad2d-6e46-4b84-b175-bc1899eb0e9b") + (property "Reference" "KEY_TAB1" + (at 55.88 67.31 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Value" "MX_SW_HS" + (at 55.88 69.85 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "PCM_marbastlib-mx:SW_MX_HS_CPG151101S11_1u" + (at 55.88 74.93 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "~" + (at 55.88 74.93 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "Push button switch, normally open, two pins, 45° tilted, Kailh CPG151101S11 for Cherry MX style switches" + (at 55.88 74.93 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "2263feb9-bb90-45f3-a23f-cc5550c4fea6") + ) + (pin "2" + (uuid "fb07632f-8776-4274-a9ee-461205053591") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "KEY_TAB1") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_Diode_AKL:1N4148W") + (at 71.12 121.92 270) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (uuid "deefeed7-90b5-4d76-aa46-f3755b429d18") + (property "Reference" "D50" + (at 64.516 125.222 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Value" "1N4148W" + (at 67.056 125.222 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Footprint" "PCM_Diode_SMD_AKL:D_SOD-123" + (at 71.12 121.92 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "https://datasheet.octopart.com/1N4148W-HE3-18-Vishay-datasheet-17291302.pdf" + (at 71.12 121.92 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "SOD-123 Diode, Small Signal, Fast Switching, 75V, 150mA, 4ns, Alternate KiCad Library" + (at 71.12 121.92 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "421f4656-830e-4a98-987f-740f9735138c") + ) + (pin "2" + (uuid "f7e83bf6-bb67-47c3-adc4-f337aa2582bb") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "D50") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_marbastlib-mx:MX_SW_HS_CPG151101S11") + (at 55.88 95.25 0) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (fields_autoplaced yes) + (uuid "df46196a-a2d2-48fa-bf10-86a6d9019058") + (property "Reference" "KEY_CAPS1" + (at 55.88 87.63 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Value" "MX_SW_HS" + (at 55.88 90.17 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "PCM_marbastlib-mx:SW_MX_HS_CPG151101S11_1u" + (at 55.88 95.25 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "~" + (at 55.88 95.25 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "Push button switch, normally open, two pins, 45° tilted, Kailh CPG151101S11 for Cherry MX style switches" + (at 55.88 95.25 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "7acc9895-4146-4504-ac02-e7a6b4374426") + ) + (pin "2" + (uuid "73b3ee60-106b-436c-a172-8b1a5e6f994f") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "KEY_CAPS1") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_Diode_AKL:1N4148W") + (at 109.22 121.92 270) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (uuid "e2b5fd88-d6c7-4601-9391-95417031429d") + (property "Reference" "D53" + (at 102.616 125.222 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Value" "1N4148W" + (at 105.156 125.222 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Footprint" "PCM_Diode_SMD_AKL:D_SOD-123" + (at 109.22 121.92 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "https://datasheet.octopart.com/1N4148W-HE3-18-Vishay-datasheet-17291302.pdf" + (at 109.22 121.92 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "SOD-123 Diode, Small Signal, Fast Switching, 75V, 150mA, 4ns, Alternate KiCad Library" + (at 109.22 121.92 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "4183d3c1-5a8c-497c-9ac2-82b9a7370a89") + ) + (pin "2" + (uuid "7f79dd82-5a6c-46ec-b0a4-c3a5da5c7247") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "D53") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_marbastlib-mx:MX_SW_HS_CPG151101S11") + (at 182.88 74.93 0) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (fields_autoplaced yes) + (uuid "e5fdb085-e86d-492f-8638-d60bb9f57b69") + (property "Reference" "KEY_P1" + (at 182.88 67.31 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Value" "MX_SW_HS" + (at 182.88 69.85 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "PCM_marbastlib-mx:SW_MX_HS_CPG151101S11_1u" + (at 182.88 74.93 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "~" + (at 182.88 74.93 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "Push button switch, normally open, two pins, 45° tilted, Kailh CPG151101S11 for Cherry MX style switches" + (at 182.88 74.93 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "b2dbdb27-c191-49e3-bd80-36cab733673c") + ) + (pin "2" + (uuid "d8050a9d-50d3-427d-9499-871513b93f96") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "KEY_P1") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_Diode_AKL:1N4148W") + (at 172.72 81.28 270) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (uuid "e62821ed-ac42-4df6-bca3-0eb0589d969c") + (property "Reference" "D30" + (at 166.116 84.582 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Value" "1N4148W" + (at 168.656 84.582 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Footprint" "PCM_Diode_SMD_AKL:D_SOD-123" + (at 172.72 81.28 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "https://datasheet.octopart.com/1N4148W-HE3-18-Vishay-datasheet-17291302.pdf" + (at 172.72 81.28 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "SOD-123 Diode, Small Signal, Fast Switching, 75V, 150mA, 4ns, Alternate KiCad Library" + (at 172.72 81.28 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "687e4e5c-dc6f-433d-bee8-b6eb72792f7b") + ) + (pin "2" + (uuid "5252b358-fa2e-4c99-8205-57f9a1158e96") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "D30") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_marbastlib-mx:MX_SW_HS_CPG151101S11") + (at 93.98 95.25 0) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (fields_autoplaced yes) + (uuid "e6440843-9ecb-4188-aeed-72cd707e2493") + (property "Reference" "KEY_D1" + (at 93.98 87.63 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Value" "MX_SW_HS" + (at 93.98 90.17 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "PCM_marbastlib-mx:SW_MX_HS_CPG151101S11_1u" + (at 93.98 95.25 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "~" + (at 93.98 95.25 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "Push button switch, normally open, two pins, 45° tilted, Kailh CPG151101S11 for Cherry MX style switches" + (at 93.98 95.25 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "c1fe8082-d304-4df2-8929-f33018674315") + ) + (pin "2" + (uuid "c3fed14b-44d8-43e0-97b3-321a834ca2b9") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "KEY_D1") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_marbastlib-mx:MX_SW_HS_CPG151101S11") + (at 106.68 74.93 0) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (fields_autoplaced yes) + (uuid "ea4eca39-e1d9-4895-9095-4485a31f8507") + (property "Reference" "KEY_R1" + (at 106.68 67.31 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Value" "MX_SW_HS" + (at 106.68 69.85 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "PCM_marbastlib-mx:SW_MX_HS_CPG151101S11_1u" + (at 106.68 74.93 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "~" + (at 106.68 74.93 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "Push button switch, normally open, two pins, 45° tilted, Kailh CPG151101S11 for Cherry MX style switches" + (at 106.68 74.93 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "48539d60-e79c-4ece-93e2-2ca41c96b058") + ) + (pin "2" + (uuid "5122d6b0-eaf5-4553-b324-151675995c4b") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "KEY_R1") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_marbastlib-mx:MX_SW_HS_CPG151101S11") + (at 55.88 115.57 0) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (fields_autoplaced yes) + (uuid "ef3ee0cc-35c4-4832-a931-96be4e98d3ce") + (property "Reference" "KEY_SHIFT1" + (at 55.88 107.95 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Value" "MX_SW_HS" + (at 55.88 110.49 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "PCM_marbastlib-mx:SW_MX_HS_CPG151101S11_1u" + (at 55.88 115.57 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "~" + (at 55.88 115.57 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "Push button switch, normally open, two pins, 45° tilted, Kailh CPG151101S11 for Cherry MX style switches" + (at 55.88 115.57 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "2e40310d-6524-4af4-b208-9b34452b2ebb") + ) + (pin "2" + (uuid "22d94f74-06b7-4252-a118-62ec80064ba4") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "KEY_SHIFT1") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_Diode_AKL:1N4148W") + (at 210.82 81.28 270) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (uuid "f003b52d-6156-4053-a298-6045bff0c97d") + (property "Reference" "D33" + (at 204.216 84.582 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Value" "1N4148W" + (at 206.756 84.582 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Footprint" "PCM_Diode_SMD_AKL:D_SOD-123" + (at 210.82 81.28 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "https://datasheet.octopart.com/1N4148W-HE3-18-Vishay-datasheet-17291302.pdf" + (at 210.82 81.28 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "SOD-123 Diode, Small Signal, Fast Switching, 75V, 150mA, 4ns, Alternate KiCad Library" + (at 210.82 81.28 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "e08d93de-4947-4fd5-a78f-a98f449bb225") + ) + (pin "2" + (uuid "b3eaef5f-5a05-4542-87bb-9eebe250fce7") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "D33") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_Diode_AKL:1N4148W") + (at 71.12 81.28 270) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (uuid "f1ac9d1b-9ccc-4ba1-b1a1-12b86f0e204e") + (property "Reference" "D22" + (at 64.516 84.582 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Value" "1N4148W" + (at 67.056 84.582 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Footprint" "PCM_Diode_SMD_AKL:D_SOD-123" + (at 71.12 81.28 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "https://datasheet.octopart.com/1N4148W-HE3-18-Vishay-datasheet-17291302.pdf" + (at 71.12 81.28 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "SOD-123 Diode, Small Signal, Fast Switching, 75V, 150mA, 4ns, Alternate KiCad Library" + (at 71.12 81.28 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "35d61b03-8774-430c-a941-3a73ffd647b6") + ) + (pin "2" + (uuid "079f5bc0-3e5f-4010-a6c2-1d134814b3f5") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "D22") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_marbastlib-mx:MX_SW_HS_CPG151101S11") + (at 170.18 115.57 0) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (fields_autoplaced yes) + (uuid "f4e317c7-fff8-4045-a140-862fa71370c3") + (property "Reference" "KEY_.1" + (at 170.18 107.95 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Value" "MX_SW_HS" + (at 170.18 110.49 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "PCM_marbastlib-mx:SW_MX_HS_CPG151101S11_1u" + (at 170.18 115.57 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "~" + (at 170.18 115.57 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "Push button switch, normally open, two pins, 45° tilted, Kailh CPG151101S11 for Cherry MX style switches" + (at 170.18 115.57 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "bfc9b863-db39-4ff5-a594-050cb30ee697") + ) + (pin "2" + (uuid "7b629946-7986-419b-a4bf-236f92619327") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "KEY_.1") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_Diode_AKL:1N4148W") + (at 172.72 60.96 270) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (uuid "f5b01530-19bb-476f-a934-afe1eacc00cd") + (property "Reference" "D12" + (at 166.116 64.262 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Value" "1N4148W" + (at 168.656 64.262 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Footprint" "PCM_Diode_SMD_AKL:D_SOD-123" + (at 172.72 60.96 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "https://datasheet.octopart.com/1N4148W-HE3-18-Vishay-datasheet-17291302.pdf" + (at 172.72 60.96 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "SOD-123 Diode, Small Signal, Fast Switching, 75V, 150mA, 4ns, Alternate KiCad Library" + (at 172.72 60.96 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "2cd2df8d-83a5-4d17-93e2-3ea4eea108df") + ) + (pin "2" + (uuid "d6c79ba8-db76-4cf5-be04-451b0cfa1099") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "D12") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_marbastlib-mx:MX_stab") + (at 208.28 116.84 0) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (uuid "f5fb9988-44d9-4eaa-9dbf-5426945c7792") + (property "Reference" "RightStab1" + (at 204.47 109.474 0) + (effects + (font + (size 1.27 1.27) + ) + (justify left) + ) + ) + (property "Value" "MX_stab" + (at 204.47 112.014 0) + (effects + (font + (size 1.27 1.27) + ) + (justify left) + ) + ) + (property "Footprint" "PCM_marbastlib-mx:STAB_MX_P_2u" + (at 208.28 116.84 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "" + (at 208.28 116.84 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "Cherry MX-style stabilizer" + (at 208.28 116.84 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (instances + (project "" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "RightStab1") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_marbastlib-mx:MX_SW_HS_CPG151101S11") + (at 208.28 54.61 0) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (fields_autoplaced yes) + (uuid "f6b74e08-f28d-43e8-9e16-4c41433d8357") + (property "Reference" "KEY_PLUS1" + (at 208.28 46.99 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Value" "MX_SW_HS" + (at 208.28 49.53 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "PCM_marbastlib-mx:SW_MX_HS_CPG151101S11_1u" + (at 208.28 54.61 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "~" + (at 208.28 54.61 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "Push button switch, normally open, two pins, 45° tilted, Kailh CPG151101S11 for Cherry MX style switches" + (at 208.28 54.61 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "8efea9a3-3a80-4418-be43-1cbc1a70ec83") + ) + (pin "2" + (uuid "a1f39963-7135-4875-9faf-9dbe177fb400") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "KEY_PLUS1") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_Diode_AKL:1N4148W") + (at 236.22 142.24 270) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (uuid "f97507f7-f073-454f-9c49-bda7ad839dd1") + (property "Reference" "D76" + (at 229.616 145.542 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Value" "1N4148W" + (at 232.156 145.542 0) + (effects + (font + (size 1.27 1.27) + ) + (justify right) + ) + ) + (property "Footprint" "PCM_Diode_SMD_AKL:D_SOD-123" + (at 236.22 142.24 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "https://datasheet.octopart.com/1N4148W-HE3-18-Vishay-datasheet-17291302.pdf" + (at 236.22 142.24 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "SOD-123 Diode, Small Signal, Fast Switching, 75V, 150mA, 4ns, Alternate KiCad Library" + (at 236.22 142.24 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "404a8e15-d85b-4600-9871-ed7cce219309") + ) + (pin "2" + (uuid "4fc99c17-e424-4bea-9f3f-9524df0398eb") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "D76") + (unit 1) + ) + ) + ) + ) + (symbol + (lib_id "PCM_marbastlib-mx:MX_SW_HS_CPG151101S11") + (at 119.38 115.57 0) + (unit 1) + (exclude_from_sim no) + (in_bom yes) + (on_board yes) + (dnp no) + (fields_autoplaced yes) + (uuid "feed4865-ac4b-4190-accf-0846ac45530a") + (property "Reference" "KEY_B1" + (at 119.38 107.95 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Value" "MX_SW_HS" + (at 119.38 110.49 0) + (effects + (font + (size 1.27 1.27) + ) + ) + ) + (property "Footprint" "PCM_marbastlib-mx:SW_MX_HS_CPG151101S11_1u" + (at 119.38 115.57 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Datasheet" "~" + (at 119.38 115.57 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (property "Description" "Push button switch, normally open, two pins, 45° tilted, Kailh CPG151101S11 for Cherry MX style switches" + (at 119.38 115.57 0) + (effects + (font + (size 1.27 1.27) + ) + (hide yes) + ) + ) + (pin "1" + (uuid "070dabab-6fbb-46e9-91fc-5fea78c91774") + ) + (pin "2" + (uuid "7f88fe32-2d1c-4b8f-9ac7-33656cc9d98f") + ) + (instances + (project "68percent" + (path "/a3d0d559-cac8-4859-ad0f-79ad0c1a1a82/1d905906-6e74-4741-8b2e-53dc470a7c79" + (reference "KEY_B1") + (unit 1) + ) + ) + ) + ) +)