compiles, USB_VCP works, LED_RED flashes. But ADC circular buff + DMA stopped work...
This commit is contained in:
582
build/stm32f4xx_hal_pcd_ex.lst
Normal file
582
build/stm32f4xx_hal_pcd_ex.lst
Normal file
@ -0,0 +1,582 @@
|
||||
ARM GAS /tmp/ccIyds8E.s page 1
|
||||
|
||||
|
||||
1 .cpu cortex-m4
|
||||
2 .arch armv7e-m
|
||||
3 .fpu fpv4-sp-d16
|
||||
4 .eabi_attribute 27, 1
|
||||
5 .eabi_attribute 28, 1
|
||||
6 .eabi_attribute 20, 1
|
||||
7 .eabi_attribute 21, 1
|
||||
8 .eabi_attribute 23, 3
|
||||
9 .eabi_attribute 24, 1
|
||||
10 .eabi_attribute 25, 1
|
||||
11 .eabi_attribute 26, 1
|
||||
12 .eabi_attribute 30, 1
|
||||
13 .eabi_attribute 34, 1
|
||||
14 .eabi_attribute 18, 4
|
||||
15 .file "stm32f4xx_hal_pcd_ex.c"
|
||||
16 .text
|
||||
17 .Ltext0:
|
||||
18 .cfi_sections .debug_frame
|
||||
19 .file 1 "Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c"
|
||||
20 .section .text.HAL_PCDEx_SetTxFiFo,"ax",%progbits
|
||||
21 .align 1
|
||||
22 .global HAL_PCDEx_SetTxFiFo
|
||||
23 .syntax unified
|
||||
24 .thumb
|
||||
25 .thumb_func
|
||||
27 HAL_PCDEx_SetTxFiFo:
|
||||
28 .LVL0:
|
||||
29 .LFB239:
|
||||
1:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** /**
|
||||
2:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** ******************************************************************************
|
||||
3:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** * @file stm32f4xx_hal_pcd_ex.c
|
||||
4:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** * @author MCD Application Team
|
||||
5:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** * @brief PCD Extended HAL module driver.
|
||||
6:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** * This file provides firmware functions to manage the following
|
||||
7:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** * functionalities of the USB Peripheral Controller:
|
||||
8:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** * + Extended features functions
|
||||
9:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** *
|
||||
10:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** ******************************************************************************
|
||||
11:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** * @attention
|
||||
12:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** *
|
||||
13:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** * Copyright (c) 2016 STMicroelectronics.
|
||||
14:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** * All rights reserved.
|
||||
15:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** *
|
||||
16:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** * This software is licensed under terms that can be found in the LICENSE file
|
||||
17:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** * in the root directory of this software component.
|
||||
18:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** * If no LICENSE file comes with this software, it is provided AS-IS.
|
||||
19:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** *
|
||||
20:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** ******************************************************************************
|
||||
21:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** */
|
||||
22:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c ****
|
||||
23:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** /* Includes ------------------------------------------------------------------*/
|
||||
24:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** #include "stm32f4xx_hal.h"
|
||||
25:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c ****
|
||||
26:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** /** @addtogroup STM32F4xx_HAL_Driver
|
||||
27:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** * @{
|
||||
28:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** */
|
||||
29:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c ****
|
||||
ARM GAS /tmp/ccIyds8E.s page 2
|
||||
|
||||
|
||||
30:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** /** @defgroup PCDEx PCDEx
|
||||
31:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** * @brief PCD Extended HAL module driver
|
||||
32:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** * @{
|
||||
33:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** */
|
||||
34:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c ****
|
||||
35:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** #ifdef HAL_PCD_MODULE_ENABLED
|
||||
36:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c ****
|
||||
37:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** #if defined (USB_OTG_FS) || defined (USB_OTG_HS)
|
||||
38:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** /* Private types -------------------------------------------------------------*/
|
||||
39:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** /* Private variables ---------------------------------------------------------*/
|
||||
40:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** /* Private constants ---------------------------------------------------------*/
|
||||
41:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** /* Private macros ------------------------------------------------------------*/
|
||||
42:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** /* Private functions ---------------------------------------------------------*/
|
||||
43:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** /* Exported functions --------------------------------------------------------*/
|
||||
44:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c ****
|
||||
45:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** /** @defgroup PCDEx_Exported_Functions PCDEx Exported Functions
|
||||
46:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** * @{
|
||||
47:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** */
|
||||
48:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c ****
|
||||
49:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** /** @defgroup PCDEx_Exported_Functions_Group1 Peripheral Control functions
|
||||
50:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** * @brief PCDEx control functions
|
||||
51:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** *
|
||||
52:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** @verbatim
|
||||
53:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** ===============================================================================
|
||||
54:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** ##### Extended features functions #####
|
||||
55:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** ===============================================================================
|
||||
56:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** [..] This section provides functions allowing to:
|
||||
57:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** (+) Update FIFO configuration
|
||||
58:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c ****
|
||||
59:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** @endverbatim
|
||||
60:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** * @{
|
||||
61:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** */
|
||||
62:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** #if defined (USB_OTG_FS) || defined (USB_OTG_HS)
|
||||
63:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** /**
|
||||
64:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** * @brief Set Tx FIFO
|
||||
65:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** * @param hpcd PCD handle
|
||||
66:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** * @param fifo The number of Tx fifo
|
||||
67:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** * @param size Fifo size
|
||||
68:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** * @retval HAL status
|
||||
69:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** */
|
||||
70:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** HAL_StatusTypeDef HAL_PCDEx_SetTxFiFo(PCD_HandleTypeDef *hpcd, uint8_t fifo, uint16_t size)
|
||||
71:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** {
|
||||
30 .loc 1 71 1 view -0
|
||||
31 .cfi_startproc
|
||||
32 @ args = 0, pretend = 0, frame = 0
|
||||
33 @ frame_needed = 0, uses_anonymous_args = 0
|
||||
34 @ link register save eliminated.
|
||||
35 .loc 1 71 1 is_stmt 0 view .LVU1
|
||||
36 0000 10B4 push {r4}
|
||||
37 .LCFI0:
|
||||
38 .cfi_def_cfa_offset 4
|
||||
39 .cfi_offset 4, -4
|
||||
72:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** uint8_t i;
|
||||
40 .loc 1 72 3 is_stmt 1 view .LVU2
|
||||
73:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** uint32_t Tx_Offset;
|
||||
41 .loc 1 73 3 view .LVU3
|
||||
74:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c ****
|
||||
ARM GAS /tmp/ccIyds8E.s page 3
|
||||
|
||||
|
||||
75:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** /* TXn min size = 16 words. (n : Transmit FIFO index)
|
||||
76:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** When a TxFIFO is not used, the Configuration should be as follows:
|
||||
77:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** case 1 : n > m and Txn is not used (n,m : Transmit FIFO indexes)
|
||||
78:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** --> Txm can use the space allocated for Txn.
|
||||
79:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** case2 : n < m and Txn is not used (n,m : Transmit FIFO indexes)
|
||||
80:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** --> Txn should be configured with the minimum space of 16 words
|
||||
81:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** The FIFO is used optimally when used TxFIFOs are allocated in the top
|
||||
82:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** of the FIFO.Ex: use EP1 and EP2 as IN instead of EP1 and EP3 as IN ones.
|
||||
83:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** When DMA is used 3n * FIFO locations should be reserved for internal DMA registers */
|
||||
84:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c ****
|
||||
85:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** Tx_Offset = hpcd->Instance->GRXFSIZ;
|
||||
42 .loc 1 85 3 view .LVU4
|
||||
43 .loc 1 85 19 is_stmt 0 view .LVU5
|
||||
44 0002 0468 ldr r4, [r0]
|
||||
45 .loc 1 85 13 view .LVU6
|
||||
46 0004 606A ldr r0, [r4, #36]
|
||||
47 .LVL1:
|
||||
86:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c ****
|
||||
87:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** if (fifo == 0U)
|
||||
48 .loc 1 87 3 is_stmt 1 view .LVU7
|
||||
49 .loc 1 87 6 is_stmt 0 view .LVU8
|
||||
50 0006 31B9 cbnz r1, .L2
|
||||
88:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** {
|
||||
89:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** hpcd->Instance->DIEPTXF0_HNPTXFSIZ = ((uint32_t)size << 16) | Tx_Offset;
|
||||
51 .loc 1 89 5 is_stmt 1 view .LVU9
|
||||
52 .loc 1 89 65 is_stmt 0 view .LVU10
|
||||
53 0008 40EA0240 orr r0, r0, r2, lsl #16
|
||||
54 .LVL2:
|
||||
55 .loc 1 89 40 view .LVU11
|
||||
56 000c A062 str r0, [r4, #40]
|
||||
57 .LVL3:
|
||||
58 .L3:
|
||||
90:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** }
|
||||
91:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** else
|
||||
92:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** {
|
||||
93:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** Tx_Offset += (hpcd->Instance->DIEPTXF0_HNPTXFSIZ) >> 16;
|
||||
94:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** for (i = 0U; i < (fifo - 1U); i++)
|
||||
95:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** {
|
||||
96:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** Tx_Offset += (hpcd->Instance->DIEPTXF[i] >> 16);
|
||||
97:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** }
|
||||
98:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c ****
|
||||
99:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** /* Multiply Tx_Size by 2 to get higher performance */
|
||||
100:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** hpcd->Instance->DIEPTXF[fifo - 1U] = ((uint32_t)size << 16) | Tx_Offset;
|
||||
101:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** }
|
||||
102:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c ****
|
||||
103:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** return HAL_OK;
|
||||
59 .loc 1 103 3 is_stmt 1 view .LVU12
|
||||
104:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** }
|
||||
60 .loc 1 104 1 is_stmt 0 view .LVU13
|
||||
61 000e 0020 movs r0, #0
|
||||
62 0010 5DF8044B ldr r4, [sp], #4
|
||||
63 .LCFI1:
|
||||
64 .cfi_remember_state
|
||||
65 .cfi_restore 4
|
||||
66 .cfi_def_cfa_offset 0
|
||||
67 0014 7047 bx lr
|
||||
68 .LVL4:
|
||||
ARM GAS /tmp/ccIyds8E.s page 4
|
||||
|
||||
|
||||
69 .L2:
|
||||
70 .LCFI2:
|
||||
71 .cfi_restore_state
|
||||
72 .loc 1 104 1 view .LVU14
|
||||
73 0016 8C46 mov ip, r1
|
||||
93:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** for (i = 0U; i < (fifo - 1U); i++)
|
||||
74 .loc 1 93 5 is_stmt 1 view .LVU15
|
||||
93:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** for (i = 0U; i < (fifo - 1U); i++)
|
||||
75 .loc 1 93 33 is_stmt 0 view .LVU16
|
||||
76 0018 A36A ldr r3, [r4, #40]
|
||||
93:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** for (i = 0U; i < (fifo - 1U); i++)
|
||||
77 .loc 1 93 15 view .LVU17
|
||||
78 001a 00EB1340 add r0, r0, r3, lsr #16
|
||||
79 .LVL5:
|
||||
94:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** {
|
||||
80 .loc 1 94 5 is_stmt 1 view .LVU18
|
||||
94:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** {
|
||||
81 .loc 1 94 12 is_stmt 0 view .LVU19
|
||||
82 001e 0023 movs r3, #0
|
||||
94:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** {
|
||||
83 .loc 1 94 5 view .LVU20
|
||||
84 0020 08E0 b .L4
|
||||
85 .LVL6:
|
||||
86 .L5:
|
||||
96:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** }
|
||||
87 .loc 1 96 7 is_stmt 1 view .LVU21
|
||||
96:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** }
|
||||
88 .loc 1 96 44 is_stmt 0 view .LVU22
|
||||
89 0022 03F14001 add r1, r3, #64
|
||||
90 0026 04EB8101 add r1, r4, r1, lsl #2
|
||||
91 002a 4968 ldr r1, [r1, #4]
|
||||
96:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** }
|
||||
92 .loc 1 96 17 view .LVU23
|
||||
93 002c 00EB1140 add r0, r0, r1, lsr #16
|
||||
94 .LVL7:
|
||||
94:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** {
|
||||
95 .loc 1 94 36 is_stmt 1 discriminator 3 view .LVU24
|
||||
96 0030 0133 adds r3, r3, #1
|
||||
97 .LVL8:
|
||||
94:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** {
|
||||
98 .loc 1 94 36 is_stmt 0 discriminator 3 view .LVU25
|
||||
99 0032 DBB2 uxtb r3, r3
|
||||
100 .LVL9:
|
||||
101 .L4:
|
||||
94:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** {
|
||||
102 .loc 1 94 20 is_stmt 1 discriminator 1 view .LVU26
|
||||
94:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** {
|
||||
103 .loc 1 94 28 is_stmt 0 discriminator 1 view .LVU27
|
||||
104 0034 0CF1FF31 add r1, ip, #-1
|
||||
94:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** {
|
||||
105 .loc 1 94 20 discriminator 1 view .LVU28
|
||||
106 0038 8B42 cmp r3, r1
|
||||
107 003a F2D3 bcc .L5
|
||||
100:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** }
|
||||
108 .loc 1 100 5 is_stmt 1 view .LVU29
|
||||
100:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** }
|
||||
109 .loc 1 100 65 is_stmt 0 view .LVU30
|
||||
ARM GAS /tmp/ccIyds8E.s page 5
|
||||
|
||||
|
||||
110 003c 40EA0240 orr r0, r0, r2, lsl #16
|
||||
111 .LVL10:
|
||||
100:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** }
|
||||
112 .loc 1 100 40 view .LVU31
|
||||
113 0040 0CF13F01 add r1, ip, #63
|
||||
114 0044 04EB8104 add r4, r4, r1, lsl #2
|
||||
115 0048 6060 str r0, [r4, #4]
|
||||
116 004a E0E7 b .L3
|
||||
117 .cfi_endproc
|
||||
118 .LFE239:
|
||||
120 .section .text.HAL_PCDEx_SetRxFiFo,"ax",%progbits
|
||||
121 .align 1
|
||||
122 .global HAL_PCDEx_SetRxFiFo
|
||||
123 .syntax unified
|
||||
124 .thumb
|
||||
125 .thumb_func
|
||||
127 HAL_PCDEx_SetRxFiFo:
|
||||
128 .LVL11:
|
||||
129 .LFB240:
|
||||
105:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c ****
|
||||
106:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** /**
|
||||
107:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** * @brief Set Rx FIFO
|
||||
108:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** * @param hpcd PCD handle
|
||||
109:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** * @param size Size of Rx fifo
|
||||
110:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** * @retval HAL status
|
||||
111:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** */
|
||||
112:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** HAL_StatusTypeDef HAL_PCDEx_SetRxFiFo(PCD_HandleTypeDef *hpcd, uint16_t size)
|
||||
113:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** {
|
||||
130 .loc 1 113 1 is_stmt 1 view -0
|
||||
131 .cfi_startproc
|
||||
132 @ args = 0, pretend = 0, frame = 0
|
||||
133 @ frame_needed = 0, uses_anonymous_args = 0
|
||||
134 @ link register save eliminated.
|
||||
114:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** hpcd->Instance->GRXFSIZ = size;
|
||||
135 .loc 1 114 3 view .LVU33
|
||||
136 .loc 1 114 7 is_stmt 0 view .LVU34
|
||||
137 0000 0368 ldr r3, [r0]
|
||||
138 .loc 1 114 27 view .LVU35
|
||||
139 0002 5962 str r1, [r3, #36]
|
||||
115:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c ****
|
||||
116:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** return HAL_OK;
|
||||
140 .loc 1 116 3 is_stmt 1 view .LVU36
|
||||
117:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** }
|
||||
141 .loc 1 117 1 is_stmt 0 view .LVU37
|
||||
142 0004 0020 movs r0, #0
|
||||
143 .LVL12:
|
||||
144 .loc 1 117 1 view .LVU38
|
||||
145 0006 7047 bx lr
|
||||
146 .cfi_endproc
|
||||
147 .LFE240:
|
||||
149 .section .text.HAL_PCDEx_LPM_Callback,"ax",%progbits
|
||||
150 .align 1
|
||||
151 .weak HAL_PCDEx_LPM_Callback
|
||||
152 .syntax unified
|
||||
153 .thumb
|
||||
154 .thumb_func
|
||||
156 HAL_PCDEx_LPM_Callback:
|
||||
ARM GAS /tmp/ccIyds8E.s page 6
|
||||
|
||||
|
||||
157 .LVL13:
|
||||
158 .LFB241:
|
||||
118:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** #if defined(STM32F446xx) || defined(STM32F469xx) || defined(STM32F479xx) || defined(STM32F412Zx) \
|
||||
119:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** || defined(STM32F412Vx) || defined(STM32F412Rx) || defined(STM32F412Cx) || defined(STM32F413xx) \
|
||||
120:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** || defined(STM32F423xx)
|
||||
121:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** /**
|
||||
122:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** * @brief Activate LPM feature.
|
||||
123:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** * @param hpcd PCD handle
|
||||
124:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** * @retval HAL status
|
||||
125:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** */
|
||||
126:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** HAL_StatusTypeDef HAL_PCDEx_ActivateLPM(PCD_HandleTypeDef *hpcd)
|
||||
127:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** {
|
||||
128:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** USB_OTG_GlobalTypeDef *USBx = hpcd->Instance;
|
||||
129:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c ****
|
||||
130:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** hpcd->lpm_active = 1U;
|
||||
131:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** hpcd->LPM_State = LPM_L0;
|
||||
132:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** USBx->GINTMSK |= USB_OTG_GINTMSK_LPMINTM;
|
||||
133:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** USBx->GLPMCFG |= (USB_OTG_GLPMCFG_LPMEN | USB_OTG_GLPMCFG_LPMACK | USB_OTG_GLPMCFG_ENBESL);
|
||||
134:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c ****
|
||||
135:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** return HAL_OK;
|
||||
136:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** }
|
||||
137:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c ****
|
||||
138:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** /**
|
||||
139:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** * @brief Deactivate LPM feature.
|
||||
140:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** * @param hpcd PCD handle
|
||||
141:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** * @retval HAL status
|
||||
142:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** */
|
||||
143:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** HAL_StatusTypeDef HAL_PCDEx_DeActivateLPM(PCD_HandleTypeDef *hpcd)
|
||||
144:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** {
|
||||
145:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** USB_OTG_GlobalTypeDef *USBx = hpcd->Instance;
|
||||
146:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c ****
|
||||
147:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** hpcd->lpm_active = 0U;
|
||||
148:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** USBx->GINTMSK &= ~USB_OTG_GINTMSK_LPMINTM;
|
||||
149:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** USBx->GLPMCFG &= ~(USB_OTG_GLPMCFG_LPMEN | USB_OTG_GLPMCFG_LPMACK | USB_OTG_GLPMCFG_ENBESL);
|
||||
150:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c ****
|
||||
151:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** return HAL_OK;
|
||||
152:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** }
|
||||
153:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** #endif /* defined(STM32F446xx) || defined(STM32F469xx) || defined(STM32F479xx) || defined(STM32F412
|
||||
154:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** defined(STM32F412Vx) || defined(STM32F412Rx) || defined(STM32F412Cx) || defined(STM32F413
|
||||
155:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** defined(STM32F423xx) */
|
||||
156:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** #if defined(STM32F412Zx) || defined(STM32F412Vx) || defined(STM32F412Rx) \
|
||||
157:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** || defined(STM32F412Cx) || defined(STM32F413xx) || defined(STM32F423xx)
|
||||
158:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** /**
|
||||
159:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** * @brief Handle BatteryCharging Process.
|
||||
160:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** * @param hpcd PCD handle
|
||||
161:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** * @retval HAL status
|
||||
162:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** */
|
||||
163:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** void HAL_PCDEx_BCD_VBUSDetect(PCD_HandleTypeDef *hpcd)
|
||||
164:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** {
|
||||
165:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** USB_OTG_GlobalTypeDef *USBx = hpcd->Instance;
|
||||
166:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** uint32_t tickstart = HAL_GetTick();
|
||||
167:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c ****
|
||||
168:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** /* Enable DCD : Data Contact Detect */
|
||||
169:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** USBx->GCCFG |= USB_OTG_GCCFG_DCDEN;
|
||||
170:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c ****
|
||||
171:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** /* Wait for Min DCD Timeout */
|
||||
172:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** HAL_Delay(300U);
|
||||
ARM GAS /tmp/ccIyds8E.s page 7
|
||||
|
||||
|
||||
173:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c ****
|
||||
174:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** /* Check Detect flag */
|
||||
175:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** if ((USBx->GCCFG & USB_OTG_GCCFG_DCDET) == USB_OTG_GCCFG_DCDET)
|
||||
176:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** {
|
||||
177:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U)
|
||||
178:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** hpcd->BCDCallback(hpcd, PCD_BCD_CONTACT_DETECTION);
|
||||
179:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** #else
|
||||
180:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** HAL_PCDEx_BCD_Callback(hpcd, PCD_BCD_CONTACT_DETECTION);
|
||||
181:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */
|
||||
182:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** }
|
||||
183:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c ****
|
||||
184:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** /* Primary detection: checks if connected to Standard Downstream Port
|
||||
185:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** (without charging capability) */
|
||||
186:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** USBx->GCCFG &= ~USB_OTG_GCCFG_DCDEN;
|
||||
187:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** HAL_Delay(50U);
|
||||
188:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** USBx->GCCFG |= USB_OTG_GCCFG_PDEN;
|
||||
189:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** HAL_Delay(50U);
|
||||
190:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c ****
|
||||
191:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** if ((USBx->GCCFG & USB_OTG_GCCFG_PDET) == 0U)
|
||||
192:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** {
|
||||
193:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** /* Case of Standard Downstream Port */
|
||||
194:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U)
|
||||
195:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** hpcd->BCDCallback(hpcd, PCD_BCD_STD_DOWNSTREAM_PORT);
|
||||
196:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** #else
|
||||
197:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** HAL_PCDEx_BCD_Callback(hpcd, PCD_BCD_STD_DOWNSTREAM_PORT);
|
||||
198:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */
|
||||
199:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** }
|
||||
200:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** else
|
||||
201:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** {
|
||||
202:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** /* start secondary detection to check connection to Charging Downstream
|
||||
203:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** Port or Dedicated Charging Port */
|
||||
204:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** USBx->GCCFG &= ~(USB_OTG_GCCFG_PDEN);
|
||||
205:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** HAL_Delay(50U);
|
||||
206:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** USBx->GCCFG |= USB_OTG_GCCFG_SDEN;
|
||||
207:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** HAL_Delay(50U);
|
||||
208:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c ****
|
||||
209:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** if ((USBx->GCCFG & USB_OTG_GCCFG_SDET) == USB_OTG_GCCFG_SDET)
|
||||
210:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** {
|
||||
211:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** /* case Dedicated Charging Port */
|
||||
212:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U)
|
||||
213:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** hpcd->BCDCallback(hpcd, PCD_BCD_DEDICATED_CHARGING_PORT);
|
||||
214:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** #else
|
||||
215:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** HAL_PCDEx_BCD_Callback(hpcd, PCD_BCD_DEDICATED_CHARGING_PORT);
|
||||
216:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */
|
||||
217:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** }
|
||||
218:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** else
|
||||
219:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** {
|
||||
220:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** /* case Charging Downstream Port */
|
||||
221:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U)
|
||||
222:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** hpcd->BCDCallback(hpcd, PCD_BCD_CHARGING_DOWNSTREAM_PORT);
|
||||
223:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** #else
|
||||
224:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** HAL_PCDEx_BCD_Callback(hpcd, PCD_BCD_CHARGING_DOWNSTREAM_PORT);
|
||||
225:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */
|
||||
226:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** }
|
||||
227:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** }
|
||||
228:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c ****
|
||||
229:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** /* Battery Charging capability discovery finished */
|
||||
ARM GAS /tmp/ccIyds8E.s page 8
|
||||
|
||||
|
||||
230:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** (void)HAL_PCDEx_DeActivateBCD(hpcd);
|
||||
231:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c ****
|
||||
232:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** /* Check for the Timeout, else start USB Device */
|
||||
233:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** if ((HAL_GetTick() - tickstart) > 1000U)
|
||||
234:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** {
|
||||
235:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U)
|
||||
236:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** hpcd->BCDCallback(hpcd, PCD_BCD_ERROR);
|
||||
237:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** #else
|
||||
238:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** HAL_PCDEx_BCD_Callback(hpcd, PCD_BCD_ERROR);
|
||||
239:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */
|
||||
240:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** }
|
||||
241:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** else
|
||||
242:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** {
|
||||
243:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** #if (USE_HAL_PCD_REGISTER_CALLBACKS == 1U)
|
||||
244:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** hpcd->BCDCallback(hpcd, PCD_BCD_DISCOVERY_COMPLETED);
|
||||
245:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** #else
|
||||
246:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** HAL_PCDEx_BCD_Callback(hpcd, PCD_BCD_DISCOVERY_COMPLETED);
|
||||
247:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** #endif /* USE_HAL_PCD_REGISTER_CALLBACKS */
|
||||
248:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** }
|
||||
249:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** }
|
||||
250:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c ****
|
||||
251:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** /**
|
||||
252:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** * @brief Activate BatteryCharging feature.
|
||||
253:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** * @param hpcd PCD handle
|
||||
254:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** * @retval HAL status
|
||||
255:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** */
|
||||
256:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** HAL_StatusTypeDef HAL_PCDEx_ActivateBCD(PCD_HandleTypeDef *hpcd)
|
||||
257:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** {
|
||||
258:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** USB_OTG_GlobalTypeDef *USBx = hpcd->Instance;
|
||||
259:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c ****
|
||||
260:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** USBx->GCCFG &= ~(USB_OTG_GCCFG_PDEN);
|
||||
261:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** USBx->GCCFG &= ~(USB_OTG_GCCFG_SDEN);
|
||||
262:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c ****
|
||||
263:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** /* Power Down USB transceiver */
|
||||
264:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** USBx->GCCFG &= ~(USB_OTG_GCCFG_PWRDWN);
|
||||
265:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c ****
|
||||
266:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** /* Enable Battery charging */
|
||||
267:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** USBx->GCCFG |= USB_OTG_GCCFG_BCDEN;
|
||||
268:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c ****
|
||||
269:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** hpcd->battery_charging_active = 1U;
|
||||
270:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c ****
|
||||
271:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** return HAL_OK;
|
||||
272:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** }
|
||||
273:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c ****
|
||||
274:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** /**
|
||||
275:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** * @brief Deactivate BatteryCharging feature.
|
||||
276:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** * @param hpcd PCD handle
|
||||
277:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** * @retval HAL status
|
||||
278:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** */
|
||||
279:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** HAL_StatusTypeDef HAL_PCDEx_DeActivateBCD(PCD_HandleTypeDef *hpcd)
|
||||
280:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** {
|
||||
281:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** USB_OTG_GlobalTypeDef *USBx = hpcd->Instance;
|
||||
282:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c ****
|
||||
283:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** USBx->GCCFG &= ~(USB_OTG_GCCFG_SDEN);
|
||||
284:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** USBx->GCCFG &= ~(USB_OTG_GCCFG_PDEN);
|
||||
285:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c ****
|
||||
286:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** /* Disable Battery charging */
|
||||
ARM GAS /tmp/ccIyds8E.s page 9
|
||||
|
||||
|
||||
287:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** USBx->GCCFG &= ~(USB_OTG_GCCFG_BCDEN);
|
||||
288:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c ****
|
||||
289:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** hpcd->battery_charging_active = 0U;
|
||||
290:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c ****
|
||||
291:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** return HAL_OK;
|
||||
292:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** }
|
||||
293:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** #endif /* defined(STM32F412Zx) || defined(STM32F412Vx) || defined(STM32F412Rx) ||
|
||||
294:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** defined(STM32F412Cx) || defined(STM32F413xx) || defined(STM32F423xx) */
|
||||
295:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** #endif /* defined (USB_OTG_FS) || defined (USB_OTG_HS) */
|
||||
296:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c ****
|
||||
297:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** /**
|
||||
298:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** * @brief Send LPM message to user layer callback.
|
||||
299:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** * @param hpcd PCD handle
|
||||
300:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** * @param msg LPM message
|
||||
301:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** * @retval HAL status
|
||||
302:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** */
|
||||
303:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** __weak void HAL_PCDEx_LPM_Callback(PCD_HandleTypeDef *hpcd, PCD_LPM_MsgTypeDef msg)
|
||||
304:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** {
|
||||
159 .loc 1 304 1 is_stmt 1 view -0
|
||||
160 .cfi_startproc
|
||||
161 @ args = 0, pretend = 0, frame = 0
|
||||
162 @ frame_needed = 0, uses_anonymous_args = 0
|
||||
163 @ link register save eliminated.
|
||||
305:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** /* Prevent unused argument(s) compilation warning */
|
||||
306:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** UNUSED(hpcd);
|
||||
164 .loc 1 306 3 view .LVU40
|
||||
307:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** UNUSED(msg);
|
||||
165 .loc 1 307 3 view .LVU41
|
||||
308:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c ****
|
||||
309:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** /* NOTE : This function should not be modified, when the callback is needed,
|
||||
310:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** the HAL_PCDEx_LPM_Callback could be implemented in the user file
|
||||
311:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** */
|
||||
312:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** }
|
||||
166 .loc 1 312 1 is_stmt 0 view .LVU42
|
||||
167 0000 7047 bx lr
|
||||
168 .cfi_endproc
|
||||
169 .LFE241:
|
||||
171 .section .text.HAL_PCDEx_BCD_Callback,"ax",%progbits
|
||||
172 .align 1
|
||||
173 .weak HAL_PCDEx_BCD_Callback
|
||||
174 .syntax unified
|
||||
175 .thumb
|
||||
176 .thumb_func
|
||||
178 HAL_PCDEx_BCD_Callback:
|
||||
179 .LVL14:
|
||||
180 .LFB242:
|
||||
313:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c ****
|
||||
314:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** /**
|
||||
315:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** * @brief Send BatteryCharging message to user layer callback.
|
||||
316:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** * @param hpcd PCD handle
|
||||
317:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** * @param msg LPM message
|
||||
318:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** * @retval HAL status
|
||||
319:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** */
|
||||
320:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** __weak void HAL_PCDEx_BCD_Callback(PCD_HandleTypeDef *hpcd, PCD_BCD_MsgTypeDef msg)
|
||||
321:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** {
|
||||
181 .loc 1 321 1 is_stmt 1 view -0
|
||||
182 .cfi_startproc
|
||||
ARM GAS /tmp/ccIyds8E.s page 10
|
||||
|
||||
|
||||
183 @ args = 0, pretend = 0, frame = 0
|
||||
184 @ frame_needed = 0, uses_anonymous_args = 0
|
||||
185 @ link register save eliminated.
|
||||
322:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** /* Prevent unused argument(s) compilation warning */
|
||||
323:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** UNUSED(hpcd);
|
||||
186 .loc 1 323 3 view .LVU44
|
||||
324:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** UNUSED(msg);
|
||||
187 .loc 1 324 3 view .LVU45
|
||||
325:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c ****
|
||||
326:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** /* NOTE : This function should not be modified, when the callback is needed,
|
||||
327:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** the HAL_PCDEx_BCD_Callback could be implemented in the user file
|
||||
328:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** */
|
||||
329:Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c **** }
|
||||
188 .loc 1 329 1 is_stmt 0 view .LVU46
|
||||
189 0000 7047 bx lr
|
||||
190 .cfi_endproc
|
||||
191 .LFE242:
|
||||
193 .text
|
||||
194 .Letext0:
|
||||
195 .file 2 "/usr/lib/gcc/arm-none-eabi/13.2.1/include/stdint.h"
|
||||
196 .file 3 "Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f429xx.h"
|
||||
197 .file 4 "Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_def.h"
|
||||
198 .file 5 "Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_usb.h"
|
||||
199 .file 6 "Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pcd.h"
|
||||
ARM GAS /tmp/ccIyds8E.s page 11
|
||||
|
||||
|
||||
DEFINED SYMBOLS
|
||||
*ABS*:00000000 stm32f4xx_hal_pcd_ex.c
|
||||
/tmp/ccIyds8E.s:21 .text.HAL_PCDEx_SetTxFiFo:00000000 $t
|
||||
/tmp/ccIyds8E.s:27 .text.HAL_PCDEx_SetTxFiFo:00000000 HAL_PCDEx_SetTxFiFo
|
||||
/tmp/ccIyds8E.s:121 .text.HAL_PCDEx_SetRxFiFo:00000000 $t
|
||||
/tmp/ccIyds8E.s:127 .text.HAL_PCDEx_SetRxFiFo:00000000 HAL_PCDEx_SetRxFiFo
|
||||
/tmp/ccIyds8E.s:150 .text.HAL_PCDEx_LPM_Callback:00000000 $t
|
||||
/tmp/ccIyds8E.s:156 .text.HAL_PCDEx_LPM_Callback:00000000 HAL_PCDEx_LPM_Callback
|
||||
/tmp/ccIyds8E.s:172 .text.HAL_PCDEx_BCD_Callback:00000000 $t
|
||||
/tmp/ccIyds8E.s:178 .text.HAL_PCDEx_BCD_Callback:00000000 HAL_PCDEx_BCD_Callback
|
||||
|
||||
NO UNDEFINED SYMBOLS
|
||||
Reference in New Issue
Block a user