589 lines
26 KiB
Plaintext
589 lines
26 KiB
Plaintext
|
|
ARM GAS /tmp/ccLD46hm.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 "usbd_audio_if.c"
|
|||
|
|
16 .text
|
|||
|
|
17 .Ltext0:
|
|||
|
|
18 .cfi_sections .debug_frame
|
|||
|
|
19 .file 1 "Src/usbd_audio_if.c"
|
|||
|
|
20 .section .text.AUDIO_Init_FS,"ax",%progbits
|
|||
|
|
21 .align 1
|
|||
|
|
22 .syntax unified
|
|||
|
|
23 .thumb
|
|||
|
|
24 .thumb_func
|
|||
|
|
26 AUDIO_Init_FS:
|
|||
|
|
27 .LVL0:
|
|||
|
|
28 .LFB333:
|
|||
|
|
1:Src/usbd_audio_if.c **** /* USER CODE BEGIN Header */
|
|||
|
|
2:Src/usbd_audio_if.c **** /**
|
|||
|
|
3:Src/usbd_audio_if.c **** ******************************************************************************
|
|||
|
|
4:Src/usbd_audio_if.c **** * @file : usbd_audio_if.c
|
|||
|
|
5:Src/usbd_audio_if.c **** * @version : v3.0_Cube
|
|||
|
|
6:Src/usbd_audio_if.c **** * @brief : Generic media access layer.
|
|||
|
|
7:Src/usbd_audio_if.c **** ******************************************************************************
|
|||
|
|
8:Src/usbd_audio_if.c **** * @attention
|
|||
|
|
9:Src/usbd_audio_if.c **** *
|
|||
|
|
10:Src/usbd_audio_if.c **** * Copyright (c) 2022 STMicroelectronics.
|
|||
|
|
11:Src/usbd_audio_if.c **** * All rights reserved.
|
|||
|
|
12:Src/usbd_audio_if.c **** *
|
|||
|
|
13:Src/usbd_audio_if.c **** * This software is licensed under terms that can be found in the LICENSE file
|
|||
|
|
14:Src/usbd_audio_if.c **** * in the root directory of this software component.
|
|||
|
|
15:Src/usbd_audio_if.c **** * If no LICENSE file comes with this software, it is provided AS-IS.
|
|||
|
|
16:Src/usbd_audio_if.c **** *
|
|||
|
|
17:Src/usbd_audio_if.c **** ******************************************************************************
|
|||
|
|
18:Src/usbd_audio_if.c **** */
|
|||
|
|
19:Src/usbd_audio_if.c **** /* USER CODE END Header */
|
|||
|
|
20:Src/usbd_audio_if.c ****
|
|||
|
|
21:Src/usbd_audio_if.c **** /* Includes ------------------------------------------------------------------*/
|
|||
|
|
22:Src/usbd_audio_if.c **** #include "usbd_audio_if.h"
|
|||
|
|
23:Src/usbd_audio_if.c ****
|
|||
|
|
24:Src/usbd_audio_if.c **** /* USER CODE BEGIN INCLUDE */
|
|||
|
|
25:Src/usbd_audio_if.c ****
|
|||
|
|
26:Src/usbd_audio_if.c **** /* USER CODE END INCLUDE */
|
|||
|
|
27:Src/usbd_audio_if.c ****
|
|||
|
|
28:Src/usbd_audio_if.c **** /* Private typedef -----------------------------------------------------------*/
|
|||
|
|
29:Src/usbd_audio_if.c **** /* Private define ------------------------------------------------------------*/
|
|||
|
|
30:Src/usbd_audio_if.c **** /* Private macro -------------------------------------------------------------*/
|
|||
|
|
ARM GAS /tmp/ccLD46hm.s page 2
|
|||
|
|
|
|||
|
|
|
|||
|
|
31:Src/usbd_audio_if.c ****
|
|||
|
|
32:Src/usbd_audio_if.c **** /* USER CODE BEGIN PV */
|
|||
|
|
33:Src/usbd_audio_if.c **** /* Private variables ---------------------------------------------------------*/
|
|||
|
|
34:Src/usbd_audio_if.c ****
|
|||
|
|
35:Src/usbd_audio_if.c **** /* USER CODE END PV */
|
|||
|
|
36:Src/usbd_audio_if.c ****
|
|||
|
|
37:Src/usbd_audio_if.c **** /** @addtogroup STM32_USB_OTG_DEVICE_LIBRARY
|
|||
|
|
38:Src/usbd_audio_if.c **** * @brief Usb device library.
|
|||
|
|
39:Src/usbd_audio_if.c **** * @{
|
|||
|
|
40:Src/usbd_audio_if.c **** */
|
|||
|
|
41:Src/usbd_audio_if.c ****
|
|||
|
|
42:Src/usbd_audio_if.c **** /** @addtogroup USBD_AUDIO_IF
|
|||
|
|
43:Src/usbd_audio_if.c **** * @{
|
|||
|
|
44:Src/usbd_audio_if.c **** */
|
|||
|
|
45:Src/usbd_audio_if.c ****
|
|||
|
|
46:Src/usbd_audio_if.c **** /** @defgroup USBD_AUDIO_IF_Private_TypesDefinitions USBD_AUDIO_IF_Private_TypesDefinitions
|
|||
|
|
47:Src/usbd_audio_if.c **** * @brief Private types.
|
|||
|
|
48:Src/usbd_audio_if.c **** * @{
|
|||
|
|
49:Src/usbd_audio_if.c **** */
|
|||
|
|
50:Src/usbd_audio_if.c ****
|
|||
|
|
51:Src/usbd_audio_if.c **** /* USER CODE BEGIN PRIVATE_TYPES */
|
|||
|
|
52:Src/usbd_audio_if.c ****
|
|||
|
|
53:Src/usbd_audio_if.c **** /* USER CODE END PRIVATE_TYPES */
|
|||
|
|
54:Src/usbd_audio_if.c ****
|
|||
|
|
55:Src/usbd_audio_if.c **** /**
|
|||
|
|
56:Src/usbd_audio_if.c **** * @}
|
|||
|
|
57:Src/usbd_audio_if.c **** */
|
|||
|
|
58:Src/usbd_audio_if.c ****
|
|||
|
|
59:Src/usbd_audio_if.c **** /** @defgroup USBD_AUDIO_IF_Private_Defines USBD_AUDIO_IF_Private_Defines
|
|||
|
|
60:Src/usbd_audio_if.c **** * @brief Private defines.
|
|||
|
|
61:Src/usbd_audio_if.c **** * @{
|
|||
|
|
62:Src/usbd_audio_if.c **** */
|
|||
|
|
63:Src/usbd_audio_if.c ****
|
|||
|
|
64:Src/usbd_audio_if.c **** /* USER CODE BEGIN PRIVATE_DEFINES */
|
|||
|
|
65:Src/usbd_audio_if.c ****
|
|||
|
|
66:Src/usbd_audio_if.c **** /* USER CODE END PRIVATE_DEFINES */
|
|||
|
|
67:Src/usbd_audio_if.c ****
|
|||
|
|
68:Src/usbd_audio_if.c **** /**
|
|||
|
|
69:Src/usbd_audio_if.c **** * @}
|
|||
|
|
70:Src/usbd_audio_if.c **** */
|
|||
|
|
71:Src/usbd_audio_if.c ****
|
|||
|
|
72:Src/usbd_audio_if.c **** /** @defgroup USBD_AUDIO_IF_Private_Macros USBD_AUDIO_IF_Private_Macros
|
|||
|
|
73:Src/usbd_audio_if.c **** * @brief Private macros.
|
|||
|
|
74:Src/usbd_audio_if.c **** * @{
|
|||
|
|
75:Src/usbd_audio_if.c **** */
|
|||
|
|
76:Src/usbd_audio_if.c ****
|
|||
|
|
77:Src/usbd_audio_if.c **** /* USER CODE BEGIN PRIVATE_MACRO */
|
|||
|
|
78:Src/usbd_audio_if.c ****
|
|||
|
|
79:Src/usbd_audio_if.c **** /* USER CODE END PRIVATE_MACRO */
|
|||
|
|
80:Src/usbd_audio_if.c ****
|
|||
|
|
81:Src/usbd_audio_if.c **** /**
|
|||
|
|
82:Src/usbd_audio_if.c **** * @}
|
|||
|
|
83:Src/usbd_audio_if.c **** */
|
|||
|
|
84:Src/usbd_audio_if.c ****
|
|||
|
|
85:Src/usbd_audio_if.c **** /** @defgroup USBD_AUDIO_IF_Private_Variables USBD_AUDIO_IF_Private_Variables
|
|||
|
|
86:Src/usbd_audio_if.c **** * @brief Private variables.
|
|||
|
|
87:Src/usbd_audio_if.c **** * @{
|
|||
|
|
ARM GAS /tmp/ccLD46hm.s page 3
|
|||
|
|
|
|||
|
|
|
|||
|
|
88:Src/usbd_audio_if.c **** */
|
|||
|
|
89:Src/usbd_audio_if.c ****
|
|||
|
|
90:Src/usbd_audio_if.c **** /* USER CODE BEGIN PRIVATE_VARIABLES */
|
|||
|
|
91:Src/usbd_audio_if.c ****
|
|||
|
|
92:Src/usbd_audio_if.c **** /* USER CODE END PRIVATE_VARIABLES */
|
|||
|
|
93:Src/usbd_audio_if.c ****
|
|||
|
|
94:Src/usbd_audio_if.c **** /**
|
|||
|
|
95:Src/usbd_audio_if.c **** * @}
|
|||
|
|
96:Src/usbd_audio_if.c **** */
|
|||
|
|
97:Src/usbd_audio_if.c ****
|
|||
|
|
98:Src/usbd_audio_if.c **** /** @defgroup USBD_AUDIO_IF_Exported_Variables USBD_AUDIO_IF_Exported_Variables
|
|||
|
|
99:Src/usbd_audio_if.c **** * @brief Public variables.
|
|||
|
|
100:Src/usbd_audio_if.c **** * @{
|
|||
|
|
101:Src/usbd_audio_if.c **** */
|
|||
|
|
102:Src/usbd_audio_if.c ****
|
|||
|
|
103:Src/usbd_audio_if.c **** extern USBD_HandleTypeDef hUsbDeviceFS;
|
|||
|
|
104:Src/usbd_audio_if.c ****
|
|||
|
|
105:Src/usbd_audio_if.c **** /* USER CODE BEGIN EXPORTED_VARIABLES */
|
|||
|
|
106:Src/usbd_audio_if.c ****
|
|||
|
|
107:Src/usbd_audio_if.c **** /* USER CODE END EXPORTED_VARIABLES */
|
|||
|
|
108:Src/usbd_audio_if.c ****
|
|||
|
|
109:Src/usbd_audio_if.c **** /**
|
|||
|
|
110:Src/usbd_audio_if.c **** * @}
|
|||
|
|
111:Src/usbd_audio_if.c **** */
|
|||
|
|
112:Src/usbd_audio_if.c ****
|
|||
|
|
113:Src/usbd_audio_if.c **** /** @defgroup USBD_AUDIO_IF_Private_FunctionPrototypes USBD_AUDIO_IF_Private_FunctionPrototypes
|
|||
|
|
114:Src/usbd_audio_if.c **** * @brief Private functions declaration.
|
|||
|
|
115:Src/usbd_audio_if.c **** * @{
|
|||
|
|
116:Src/usbd_audio_if.c **** */
|
|||
|
|
117:Src/usbd_audio_if.c ****
|
|||
|
|
118:Src/usbd_audio_if.c **** static int8_t AUDIO_Init_FS(uint32_t AudioFreq, uint32_t Volume, uint32_t options);
|
|||
|
|
119:Src/usbd_audio_if.c **** static int8_t AUDIO_DeInit_FS(uint32_t options);
|
|||
|
|
120:Src/usbd_audio_if.c **** static int8_t AUDIO_AudioCmd_FS(uint8_t* pbuf, uint32_t size, uint8_t cmd);
|
|||
|
|
121:Src/usbd_audio_if.c **** static int8_t AUDIO_VolumeCtl_FS(uint8_t vol);
|
|||
|
|
122:Src/usbd_audio_if.c **** static int8_t AUDIO_MuteCtl_FS(uint8_t cmd);
|
|||
|
|
123:Src/usbd_audio_if.c **** static int8_t AUDIO_PeriodicTC_FS(uint8_t *pbuf, uint32_t size, uint8_t cmd);
|
|||
|
|
124:Src/usbd_audio_if.c **** static int8_t AUDIO_GetState_FS(void);
|
|||
|
|
125:Src/usbd_audio_if.c ****
|
|||
|
|
126:Src/usbd_audio_if.c **** /* USER CODE BEGIN PRIVATE_FUNCTIONS_DECLARATION */
|
|||
|
|
127:Src/usbd_audio_if.c ****
|
|||
|
|
128:Src/usbd_audio_if.c **** /* USER CODE END PRIVATE_FUNCTIONS_DECLARATION */
|
|||
|
|
129:Src/usbd_audio_if.c ****
|
|||
|
|
130:Src/usbd_audio_if.c **** /**
|
|||
|
|
131:Src/usbd_audio_if.c **** * @}
|
|||
|
|
132:Src/usbd_audio_if.c **** */
|
|||
|
|
133:Src/usbd_audio_if.c ****
|
|||
|
|
134:Src/usbd_audio_if.c **** USBD_AUDIO_ItfTypeDef USBD_AUDIO_fops_FS =
|
|||
|
|
135:Src/usbd_audio_if.c **** {
|
|||
|
|
136:Src/usbd_audio_if.c **** AUDIO_Init_FS,
|
|||
|
|
137:Src/usbd_audio_if.c **** AUDIO_DeInit_FS,
|
|||
|
|
138:Src/usbd_audio_if.c **** AUDIO_AudioCmd_FS,
|
|||
|
|
139:Src/usbd_audio_if.c **** AUDIO_VolumeCtl_FS,
|
|||
|
|
140:Src/usbd_audio_if.c **** AUDIO_MuteCtl_FS,
|
|||
|
|
141:Src/usbd_audio_if.c **** AUDIO_PeriodicTC_FS,
|
|||
|
|
142:Src/usbd_audio_if.c **** AUDIO_GetState_FS,
|
|||
|
|
143:Src/usbd_audio_if.c **** };
|
|||
|
|
144:Src/usbd_audio_if.c ****
|
|||
|
|
ARM GAS /tmp/ccLD46hm.s page 4
|
|||
|
|
|
|||
|
|
|
|||
|
|
145:Src/usbd_audio_if.c **** /* Private functions ---------------------------------------------------------*/
|
|||
|
|
146:Src/usbd_audio_if.c **** /**
|
|||
|
|
147:Src/usbd_audio_if.c **** * @brief Initializes the AUDIO media low layer over USB FS IP
|
|||
|
|
148:Src/usbd_audio_if.c **** * @param AudioFreq: Audio frequency used to play the audio stream.
|
|||
|
|
149:Src/usbd_audio_if.c **** * @param Volume: Initial volume level (from 0 (Mute) to 100 (Max))
|
|||
|
|
150:Src/usbd_audio_if.c **** * @param options: Reserved for future use
|
|||
|
|
151:Src/usbd_audio_if.c **** * @retval USBD_OK if all operations are OK else USBD_FAIL
|
|||
|
|
152:Src/usbd_audio_if.c **** */
|
|||
|
|
153:Src/usbd_audio_if.c **** static int8_t AUDIO_Init_FS(uint32_t AudioFreq, uint32_t Volume, uint32_t options)
|
|||
|
|
154:Src/usbd_audio_if.c **** {
|
|||
|
|
29 .loc 1 154 1 view -0
|
|||
|
|
30 .cfi_startproc
|
|||
|
|
31 @ args = 0, pretend = 0, frame = 0
|
|||
|
|
32 @ frame_needed = 0, uses_anonymous_args = 0
|
|||
|
|
33 @ link register save eliminated.
|
|||
|
|
155:Src/usbd_audio_if.c **** /* USER CODE BEGIN 0 */
|
|||
|
|
156:Src/usbd_audio_if.c **** UNUSED(AudioFreq);
|
|||
|
|
34 .loc 1 156 3 view .LVU1
|
|||
|
|
157:Src/usbd_audio_if.c **** UNUSED(Volume);
|
|||
|
|
35 .loc 1 157 3 view .LVU2
|
|||
|
|
158:Src/usbd_audio_if.c **** UNUSED(options);
|
|||
|
|
36 .loc 1 158 3 view .LVU3
|
|||
|
|
159:Src/usbd_audio_if.c **** return (USBD_OK);
|
|||
|
|
37 .loc 1 159 3 view .LVU4
|
|||
|
|
160:Src/usbd_audio_if.c **** /* USER CODE END 0 */
|
|||
|
|
161:Src/usbd_audio_if.c **** }
|
|||
|
|
38 .loc 1 161 1 is_stmt 0 view .LVU5
|
|||
|
|
39 0000 0020 movs r0, #0
|
|||
|
|
40 .LVL1:
|
|||
|
|
41 .loc 1 161 1 view .LVU6
|
|||
|
|
42 0002 7047 bx lr
|
|||
|
|
43 .cfi_endproc
|
|||
|
|
44 .LFE333:
|
|||
|
|
46 .section .text.AUDIO_DeInit_FS,"ax",%progbits
|
|||
|
|
47 .align 1
|
|||
|
|
48 .syntax unified
|
|||
|
|
49 .thumb
|
|||
|
|
50 .thumb_func
|
|||
|
|
52 AUDIO_DeInit_FS:
|
|||
|
|
53 .LVL2:
|
|||
|
|
54 .LFB334:
|
|||
|
|
162:Src/usbd_audio_if.c ****
|
|||
|
|
163:Src/usbd_audio_if.c **** /**
|
|||
|
|
164:Src/usbd_audio_if.c **** * @brief De-Initializes the AUDIO media low layer
|
|||
|
|
165:Src/usbd_audio_if.c **** * @param options: Reserved for future use
|
|||
|
|
166:Src/usbd_audio_if.c **** * @retval USBD_OK if all operations are OK else USBD_FAIL
|
|||
|
|
167:Src/usbd_audio_if.c **** */
|
|||
|
|
168:Src/usbd_audio_if.c **** static int8_t AUDIO_DeInit_FS(uint32_t options)
|
|||
|
|
169:Src/usbd_audio_if.c **** {
|
|||
|
|
55 .loc 1 169 1 is_stmt 1 view -0
|
|||
|
|
56 .cfi_startproc
|
|||
|
|
57 @ args = 0, pretend = 0, frame = 0
|
|||
|
|
58 @ frame_needed = 0, uses_anonymous_args = 0
|
|||
|
|
59 @ link register save eliminated.
|
|||
|
|
170:Src/usbd_audio_if.c **** /* USER CODE BEGIN 1 */
|
|||
|
|
171:Src/usbd_audio_if.c **** UNUSED(options);
|
|||
|
|
60 .loc 1 171 3 view .LVU8
|
|||
|
|
ARM GAS /tmp/ccLD46hm.s page 5
|
|||
|
|
|
|||
|
|
|
|||
|
|
172:Src/usbd_audio_if.c **** return (USBD_OK);
|
|||
|
|
61 .loc 1 172 3 view .LVU9
|
|||
|
|
173:Src/usbd_audio_if.c **** /* USER CODE END 1 */
|
|||
|
|
174:Src/usbd_audio_if.c **** }
|
|||
|
|
62 .loc 1 174 1 is_stmt 0 view .LVU10
|
|||
|
|
63 0000 0020 movs r0, #0
|
|||
|
|
64 .LVL3:
|
|||
|
|
65 .loc 1 174 1 view .LVU11
|
|||
|
|
66 0002 7047 bx lr
|
|||
|
|
67 .cfi_endproc
|
|||
|
|
68 .LFE334:
|
|||
|
|
70 .section .text.AUDIO_AudioCmd_FS,"ax",%progbits
|
|||
|
|
71 .align 1
|
|||
|
|
72 .syntax unified
|
|||
|
|
73 .thumb
|
|||
|
|
74 .thumb_func
|
|||
|
|
76 AUDIO_AudioCmd_FS:
|
|||
|
|
77 .LVL4:
|
|||
|
|
78 .LFB335:
|
|||
|
|
175:Src/usbd_audio_if.c ****
|
|||
|
|
176:Src/usbd_audio_if.c **** /**
|
|||
|
|
177:Src/usbd_audio_if.c **** * @brief Handles AUDIO command.
|
|||
|
|
178:Src/usbd_audio_if.c **** * @param pbuf: Pointer to buffer of data to be sent
|
|||
|
|
179:Src/usbd_audio_if.c **** * @param size: Number of data to be sent (in bytes)
|
|||
|
|
180:Src/usbd_audio_if.c **** * @param cmd: Command opcode
|
|||
|
|
181:Src/usbd_audio_if.c **** * @retval USBD_OK if all operations are OK else USBD_FAIL
|
|||
|
|
182:Src/usbd_audio_if.c **** */
|
|||
|
|
183:Src/usbd_audio_if.c **** static int8_t AUDIO_AudioCmd_FS(uint8_t* pbuf, uint32_t size, uint8_t cmd)
|
|||
|
|
184:Src/usbd_audio_if.c **** {
|
|||
|
|
79 .loc 1 184 1 is_stmt 1 view -0
|
|||
|
|
80 .cfi_startproc
|
|||
|
|
81 @ args = 0, pretend = 0, frame = 0
|
|||
|
|
82 @ frame_needed = 0, uses_anonymous_args = 0
|
|||
|
|
83 @ link register save eliminated.
|
|||
|
|
185:Src/usbd_audio_if.c **** /* USER CODE BEGIN 2 */
|
|||
|
|
186:Src/usbd_audio_if.c **** switch(cmd)
|
|||
|
|
84 .loc 1 186 3 view .LVU13
|
|||
|
|
187:Src/usbd_audio_if.c **** {
|
|||
|
|
188:Src/usbd_audio_if.c **** case AUDIO_CMD_START:
|
|||
|
|
189:Src/usbd_audio_if.c **** break;
|
|||
|
|
190:Src/usbd_audio_if.c ****
|
|||
|
|
191:Src/usbd_audio_if.c **** case AUDIO_CMD_PLAY:
|
|||
|
|
192:Src/usbd_audio_if.c **** break;
|
|||
|
|
193:Src/usbd_audio_if.c **** }
|
|||
|
|
194:Src/usbd_audio_if.c **** UNUSED(pbuf);
|
|||
|
|
85 .loc 1 194 3 view .LVU14
|
|||
|
|
195:Src/usbd_audio_if.c **** UNUSED(size);
|
|||
|
|
86 .loc 1 195 3 view .LVU15
|
|||
|
|
196:Src/usbd_audio_if.c **** UNUSED(cmd);
|
|||
|
|
87 .loc 1 196 3 view .LVU16
|
|||
|
|
197:Src/usbd_audio_if.c **** return (USBD_OK);
|
|||
|
|
88 .loc 1 197 3 view .LVU17
|
|||
|
|
198:Src/usbd_audio_if.c **** /* USER CODE END 2 */
|
|||
|
|
199:Src/usbd_audio_if.c **** }
|
|||
|
|
89 .loc 1 199 1 is_stmt 0 view .LVU18
|
|||
|
|
90 0000 0020 movs r0, #0
|
|||
|
|
91 .LVL5:
|
|||
|
|
ARM GAS /tmp/ccLD46hm.s page 6
|
|||
|
|
|
|||
|
|
|
|||
|
|
92 .loc 1 199 1 view .LVU19
|
|||
|
|
93 0002 7047 bx lr
|
|||
|
|
94 .cfi_endproc
|
|||
|
|
95 .LFE335:
|
|||
|
|
97 .section .text.AUDIO_VolumeCtl_FS,"ax",%progbits
|
|||
|
|
98 .align 1
|
|||
|
|
99 .syntax unified
|
|||
|
|
100 .thumb
|
|||
|
|
101 .thumb_func
|
|||
|
|
103 AUDIO_VolumeCtl_FS:
|
|||
|
|
104 .LVL6:
|
|||
|
|
105 .LFB336:
|
|||
|
|
200:Src/usbd_audio_if.c ****
|
|||
|
|
201:Src/usbd_audio_if.c **** /**
|
|||
|
|
202:Src/usbd_audio_if.c **** * @brief Controls AUDIO Volume.
|
|||
|
|
203:Src/usbd_audio_if.c **** * @param vol: volume level (0..100)
|
|||
|
|
204:Src/usbd_audio_if.c **** * @retval USBD_OK if all operations are OK else USBD_FAIL
|
|||
|
|
205:Src/usbd_audio_if.c **** */
|
|||
|
|
206:Src/usbd_audio_if.c **** static int8_t AUDIO_VolumeCtl_FS(uint8_t vol)
|
|||
|
|
207:Src/usbd_audio_if.c **** {
|
|||
|
|
106 .loc 1 207 1 is_stmt 1 view -0
|
|||
|
|
107 .cfi_startproc
|
|||
|
|
108 @ args = 0, pretend = 0, frame = 0
|
|||
|
|
109 @ frame_needed = 0, uses_anonymous_args = 0
|
|||
|
|
110 @ link register save eliminated.
|
|||
|
|
208:Src/usbd_audio_if.c **** /* USER CODE BEGIN 3 */
|
|||
|
|
209:Src/usbd_audio_if.c **** UNUSED(vol);
|
|||
|
|
111 .loc 1 209 3 view .LVU21
|
|||
|
|
210:Src/usbd_audio_if.c **** return (USBD_OK);
|
|||
|
|
112 .loc 1 210 3 view .LVU22
|
|||
|
|
211:Src/usbd_audio_if.c **** /* USER CODE END 3 */
|
|||
|
|
212:Src/usbd_audio_if.c **** }
|
|||
|
|
113 .loc 1 212 1 is_stmt 0 view .LVU23
|
|||
|
|
114 0000 0020 movs r0, #0
|
|||
|
|
115 .LVL7:
|
|||
|
|
116 .loc 1 212 1 view .LVU24
|
|||
|
|
117 0002 7047 bx lr
|
|||
|
|
118 .cfi_endproc
|
|||
|
|
119 .LFE336:
|
|||
|
|
121 .section .text.AUDIO_MuteCtl_FS,"ax",%progbits
|
|||
|
|
122 .align 1
|
|||
|
|
123 .syntax unified
|
|||
|
|
124 .thumb
|
|||
|
|
125 .thumb_func
|
|||
|
|
127 AUDIO_MuteCtl_FS:
|
|||
|
|
128 .LVL8:
|
|||
|
|
129 .LFB337:
|
|||
|
|
213:Src/usbd_audio_if.c ****
|
|||
|
|
214:Src/usbd_audio_if.c **** /**
|
|||
|
|
215:Src/usbd_audio_if.c **** * @brief Controls AUDIO Mute.
|
|||
|
|
216:Src/usbd_audio_if.c **** * @param cmd: command opcode
|
|||
|
|
217:Src/usbd_audio_if.c **** * @retval USBD_OK if all operations are OK else USBD_FAIL
|
|||
|
|
218:Src/usbd_audio_if.c **** */
|
|||
|
|
219:Src/usbd_audio_if.c **** static int8_t AUDIO_MuteCtl_FS(uint8_t cmd)
|
|||
|
|
220:Src/usbd_audio_if.c **** {
|
|||
|
|
130 .loc 1 220 1 is_stmt 1 view -0
|
|||
|
|
131 .cfi_startproc
|
|||
|
|
ARM GAS /tmp/ccLD46hm.s page 7
|
|||
|
|
|
|||
|
|
|
|||
|
|
132 @ args = 0, pretend = 0, frame = 0
|
|||
|
|
133 @ frame_needed = 0, uses_anonymous_args = 0
|
|||
|
|
134 @ link register save eliminated.
|
|||
|
|
221:Src/usbd_audio_if.c **** /* USER CODE BEGIN 4 */
|
|||
|
|
222:Src/usbd_audio_if.c **** UNUSED(cmd);
|
|||
|
|
135 .loc 1 222 3 view .LVU26
|
|||
|
|
223:Src/usbd_audio_if.c **** return (USBD_OK);
|
|||
|
|
136 .loc 1 223 3 view .LVU27
|
|||
|
|
224:Src/usbd_audio_if.c **** /* USER CODE END 4 */
|
|||
|
|
225:Src/usbd_audio_if.c **** }
|
|||
|
|
137 .loc 1 225 1 is_stmt 0 view .LVU28
|
|||
|
|
138 0000 0020 movs r0, #0
|
|||
|
|
139 .LVL9:
|
|||
|
|
140 .loc 1 225 1 view .LVU29
|
|||
|
|
141 0002 7047 bx lr
|
|||
|
|
142 .cfi_endproc
|
|||
|
|
143 .LFE337:
|
|||
|
|
145 .section .text.AUDIO_PeriodicTC_FS,"ax",%progbits
|
|||
|
|
146 .align 1
|
|||
|
|
147 .syntax unified
|
|||
|
|
148 .thumb
|
|||
|
|
149 .thumb_func
|
|||
|
|
151 AUDIO_PeriodicTC_FS:
|
|||
|
|
152 .LVL10:
|
|||
|
|
153 .LFB338:
|
|||
|
|
226:Src/usbd_audio_if.c ****
|
|||
|
|
227:Src/usbd_audio_if.c **** /**
|
|||
|
|
228:Src/usbd_audio_if.c **** * @brief AUDIO_PeriodicT_FS
|
|||
|
|
229:Src/usbd_audio_if.c **** * @param cmd: Command opcode
|
|||
|
|
230:Src/usbd_audio_if.c **** * @retval USBD_OK if all operations are OK else USBD_FAIL
|
|||
|
|
231:Src/usbd_audio_if.c **** */
|
|||
|
|
232:Src/usbd_audio_if.c **** static int8_t AUDIO_PeriodicTC_FS(uint8_t *pbuf, uint32_t size, uint8_t cmd)
|
|||
|
|
233:Src/usbd_audio_if.c **** {
|
|||
|
|
154 .loc 1 233 1 is_stmt 1 view -0
|
|||
|
|
155 .cfi_startproc
|
|||
|
|
156 @ args = 0, pretend = 0, frame = 0
|
|||
|
|
157 @ frame_needed = 0, uses_anonymous_args = 0
|
|||
|
|
158 @ link register save eliminated.
|
|||
|
|
234:Src/usbd_audio_if.c **** /* USER CODE BEGIN 5 */
|
|||
|
|
235:Src/usbd_audio_if.c **** UNUSED(pbuf);
|
|||
|
|
159 .loc 1 235 3 view .LVU31
|
|||
|
|
236:Src/usbd_audio_if.c **** UNUSED(size);
|
|||
|
|
160 .loc 1 236 3 view .LVU32
|
|||
|
|
237:Src/usbd_audio_if.c **** UNUSED(cmd);
|
|||
|
|
161 .loc 1 237 3 view .LVU33
|
|||
|
|
238:Src/usbd_audio_if.c **** return (USBD_OK);
|
|||
|
|
162 .loc 1 238 3 view .LVU34
|
|||
|
|
239:Src/usbd_audio_if.c **** /* USER CODE END 5 */
|
|||
|
|
240:Src/usbd_audio_if.c **** }
|
|||
|
|
163 .loc 1 240 1 is_stmt 0 view .LVU35
|
|||
|
|
164 0000 0020 movs r0, #0
|
|||
|
|
165 .LVL11:
|
|||
|
|
166 .loc 1 240 1 view .LVU36
|
|||
|
|
167 0002 7047 bx lr
|
|||
|
|
168 .cfi_endproc
|
|||
|
|
169 .LFE338:
|
|||
|
|
171 .section .text.AUDIO_GetState_FS,"ax",%progbits
|
|||
|
|
ARM GAS /tmp/ccLD46hm.s page 8
|
|||
|
|
|
|||
|
|
|
|||
|
|
172 .align 1
|
|||
|
|
173 .syntax unified
|
|||
|
|
174 .thumb
|
|||
|
|
175 .thumb_func
|
|||
|
|
177 AUDIO_GetState_FS:
|
|||
|
|
178 .LFB339:
|
|||
|
|
241:Src/usbd_audio_if.c ****
|
|||
|
|
242:Src/usbd_audio_if.c **** /**
|
|||
|
|
243:Src/usbd_audio_if.c **** * @brief Gets AUDIO State.
|
|||
|
|
244:Src/usbd_audio_if.c **** * @retval USBD_OK if all operations are OK else USBD_FAIL
|
|||
|
|
245:Src/usbd_audio_if.c **** */
|
|||
|
|
246:Src/usbd_audio_if.c **** static int8_t AUDIO_GetState_FS(void)
|
|||
|
|
247:Src/usbd_audio_if.c **** {
|
|||
|
|
179 .loc 1 247 1 is_stmt 1 view -0
|
|||
|
|
180 .cfi_startproc
|
|||
|
|
181 @ args = 0, pretend = 0, frame = 0
|
|||
|
|
182 @ frame_needed = 0, uses_anonymous_args = 0
|
|||
|
|
183 @ link register save eliminated.
|
|||
|
|
248:Src/usbd_audio_if.c **** /* USER CODE BEGIN 6 */
|
|||
|
|
249:Src/usbd_audio_if.c **** return (USBD_OK);
|
|||
|
|
184 .loc 1 249 3 view .LVU38
|
|||
|
|
250:Src/usbd_audio_if.c **** /* USER CODE END 6 */
|
|||
|
|
251:Src/usbd_audio_if.c **** }
|
|||
|
|
185 .loc 1 251 1 is_stmt 0 view .LVU39
|
|||
|
|
186 0000 0020 movs r0, #0
|
|||
|
|
187 0002 7047 bx lr
|
|||
|
|
188 .cfi_endproc
|
|||
|
|
189 .LFE339:
|
|||
|
|
191 .section .text.TransferComplete_CallBack_FS,"ax",%progbits
|
|||
|
|
192 .align 1
|
|||
|
|
193 .global TransferComplete_CallBack_FS
|
|||
|
|
194 .syntax unified
|
|||
|
|
195 .thumb
|
|||
|
|
196 .thumb_func
|
|||
|
|
198 TransferComplete_CallBack_FS:
|
|||
|
|
199 .LFB340:
|
|||
|
|
252:Src/usbd_audio_if.c ****
|
|||
|
|
253:Src/usbd_audio_if.c **** /**
|
|||
|
|
254:Src/usbd_audio_if.c **** * @brief Manages the DMA full transfer complete event.
|
|||
|
|
255:Src/usbd_audio_if.c **** * @retval None
|
|||
|
|
256:Src/usbd_audio_if.c **** */
|
|||
|
|
257:Src/usbd_audio_if.c **** void TransferComplete_CallBack_FS(void)
|
|||
|
|
258:Src/usbd_audio_if.c **** {
|
|||
|
|
200 .loc 1 258 1 is_stmt 1 view -0
|
|||
|
|
201 .cfi_startproc
|
|||
|
|
202 @ args = 0, pretend = 0, frame = 0
|
|||
|
|
203 @ frame_needed = 0, uses_anonymous_args = 0
|
|||
|
|
204 0000 08B5 push {r3, lr}
|
|||
|
|
205 .LCFI0:
|
|||
|
|
206 .cfi_def_cfa_offset 8
|
|||
|
|
207 .cfi_offset 3, -8
|
|||
|
|
208 .cfi_offset 14, -4
|
|||
|
|
259:Src/usbd_audio_if.c **** /* USER CODE BEGIN 7 */
|
|||
|
|
260:Src/usbd_audio_if.c **** USBD_AUDIO_Sync(&hUsbDeviceFS, AUDIO_OFFSET_FULL);
|
|||
|
|
209 .loc 1 260 3 view .LVU41
|
|||
|
|
210 0002 0221 movs r1, #2
|
|||
|
|
211 0004 0148 ldr r0, .L10
|
|||
|
|
ARM GAS /tmp/ccLD46hm.s page 9
|
|||
|
|
|
|||
|
|
|
|||
|
|
212 0006 FFF7FEFF bl USBD_AUDIO_Sync
|
|||
|
|
213 .LVL12:
|
|||
|
|
261:Src/usbd_audio_if.c **** /* USER CODE END 7 */
|
|||
|
|
262:Src/usbd_audio_if.c **** }
|
|||
|
|
214 .loc 1 262 1 is_stmt 0 view .LVU42
|
|||
|
|
215 000a 08BD pop {r3, pc}
|
|||
|
|
216 .L11:
|
|||
|
|
217 .align 2
|
|||
|
|
218 .L10:
|
|||
|
|
219 000c 00000000 .word hUsbDeviceFS
|
|||
|
|
220 .cfi_endproc
|
|||
|
|
221 .LFE340:
|
|||
|
|
223 .section .text.HalfTransfer_CallBack_FS,"ax",%progbits
|
|||
|
|
224 .align 1
|
|||
|
|
225 .global HalfTransfer_CallBack_FS
|
|||
|
|
226 .syntax unified
|
|||
|
|
227 .thumb
|
|||
|
|
228 .thumb_func
|
|||
|
|
230 HalfTransfer_CallBack_FS:
|
|||
|
|
231 .LFB341:
|
|||
|
|
263:Src/usbd_audio_if.c ****
|
|||
|
|
264:Src/usbd_audio_if.c **** /**
|
|||
|
|
265:Src/usbd_audio_if.c **** * @brief Manages the DMA Half transfer complete event.
|
|||
|
|
266:Src/usbd_audio_if.c **** * @retval None
|
|||
|
|
267:Src/usbd_audio_if.c **** */
|
|||
|
|
268:Src/usbd_audio_if.c **** void HalfTransfer_CallBack_FS(void)
|
|||
|
|
269:Src/usbd_audio_if.c **** {
|
|||
|
|
232 .loc 1 269 1 is_stmt 1 view -0
|
|||
|
|
233 .cfi_startproc
|
|||
|
|
234 @ args = 0, pretend = 0, frame = 0
|
|||
|
|
235 @ frame_needed = 0, uses_anonymous_args = 0
|
|||
|
|
236 0000 08B5 push {r3, lr}
|
|||
|
|
237 .LCFI1:
|
|||
|
|
238 .cfi_def_cfa_offset 8
|
|||
|
|
239 .cfi_offset 3, -8
|
|||
|
|
240 .cfi_offset 14, -4
|
|||
|
|
270:Src/usbd_audio_if.c **** /* USER CODE BEGIN 8 */
|
|||
|
|
271:Src/usbd_audio_if.c **** USBD_AUDIO_Sync(&hUsbDeviceFS, AUDIO_OFFSET_HALF);
|
|||
|
|
241 .loc 1 271 3 view .LVU44
|
|||
|
|
242 0002 0121 movs r1, #1
|
|||
|
|
243 0004 0148 ldr r0, .L14
|
|||
|
|
244 0006 FFF7FEFF bl USBD_AUDIO_Sync
|
|||
|
|
245 .LVL13:
|
|||
|
|
272:Src/usbd_audio_if.c **** /* USER CODE END 8 */
|
|||
|
|
273:Src/usbd_audio_if.c **** }
|
|||
|
|
246 .loc 1 273 1 is_stmt 0 view .LVU45
|
|||
|
|
247 000a 08BD pop {r3, pc}
|
|||
|
|
248 .L15:
|
|||
|
|
249 .align 2
|
|||
|
|
250 .L14:
|
|||
|
|
251 000c 00000000 .word hUsbDeviceFS
|
|||
|
|
252 .cfi_endproc
|
|||
|
|
253 .LFE341:
|
|||
|
|
255 .global USBD_AUDIO_fops_FS
|
|||
|
|
256 .section .data.USBD_AUDIO_fops_FS,"aw"
|
|||
|
|
257 .align 2
|
|||
|
|
260 USBD_AUDIO_fops_FS:
|
|||
|
|
ARM GAS /tmp/ccLD46hm.s page 10
|
|||
|
|
|
|||
|
|
|
|||
|
|
261 0000 00000000 .word AUDIO_Init_FS
|
|||
|
|
262 0004 00000000 .word AUDIO_DeInit_FS
|
|||
|
|
263 0008 00000000 .word AUDIO_AudioCmd_FS
|
|||
|
|
264 000c 00000000 .word AUDIO_VolumeCtl_FS
|
|||
|
|
265 0010 00000000 .word AUDIO_MuteCtl_FS
|
|||
|
|
266 0014 00000000 .word AUDIO_PeriodicTC_FS
|
|||
|
|
267 0018 00000000 .word AUDIO_GetState_FS
|
|||
|
|
268 .text
|
|||
|
|
269 .Letext0:
|
|||
|
|
270 .file 2 "/usr/include/newlib/machine/_default_types.h"
|
|||
|
|
271 .file 3 "/usr/include/newlib/sys/_stdint.h"
|
|||
|
|
272 .file 4 "Middlewares/ST/STM32_USB_Device_Library/Core/Inc/usbd_def.h"
|
|||
|
|
273 .file 5 "Middlewares/ST/STM32_USB_Device_Library/Class/AUDIO/Inc/usbd_audio.h"
|
|||
|
|
274 .file 6 "Inc/usbd_audio_if.h"
|
|||
|
|
ARM GAS /tmp/ccLD46hm.s page 11
|
|||
|
|
|
|||
|
|
|
|||
|
|
DEFINED SYMBOLS
|
|||
|
|
*ABS*:00000000 usbd_audio_if.c
|
|||
|
|
/tmp/ccLD46hm.s:21 .text.AUDIO_Init_FS:00000000 $t
|
|||
|
|
/tmp/ccLD46hm.s:26 .text.AUDIO_Init_FS:00000000 AUDIO_Init_FS
|
|||
|
|
/tmp/ccLD46hm.s:47 .text.AUDIO_DeInit_FS:00000000 $t
|
|||
|
|
/tmp/ccLD46hm.s:52 .text.AUDIO_DeInit_FS:00000000 AUDIO_DeInit_FS
|
|||
|
|
/tmp/ccLD46hm.s:71 .text.AUDIO_AudioCmd_FS:00000000 $t
|
|||
|
|
/tmp/ccLD46hm.s:76 .text.AUDIO_AudioCmd_FS:00000000 AUDIO_AudioCmd_FS
|
|||
|
|
/tmp/ccLD46hm.s:98 .text.AUDIO_VolumeCtl_FS:00000000 $t
|
|||
|
|
/tmp/ccLD46hm.s:103 .text.AUDIO_VolumeCtl_FS:00000000 AUDIO_VolumeCtl_FS
|
|||
|
|
/tmp/ccLD46hm.s:122 .text.AUDIO_MuteCtl_FS:00000000 $t
|
|||
|
|
/tmp/ccLD46hm.s:127 .text.AUDIO_MuteCtl_FS:00000000 AUDIO_MuteCtl_FS
|
|||
|
|
/tmp/ccLD46hm.s:146 .text.AUDIO_PeriodicTC_FS:00000000 $t
|
|||
|
|
/tmp/ccLD46hm.s:151 .text.AUDIO_PeriodicTC_FS:00000000 AUDIO_PeriodicTC_FS
|
|||
|
|
/tmp/ccLD46hm.s:172 .text.AUDIO_GetState_FS:00000000 $t
|
|||
|
|
/tmp/ccLD46hm.s:177 .text.AUDIO_GetState_FS:00000000 AUDIO_GetState_FS
|
|||
|
|
/tmp/ccLD46hm.s:192 .text.TransferComplete_CallBack_FS:00000000 $t
|
|||
|
|
/tmp/ccLD46hm.s:198 .text.TransferComplete_CallBack_FS:00000000 TransferComplete_CallBack_FS
|
|||
|
|
/tmp/ccLD46hm.s:219 .text.TransferComplete_CallBack_FS:0000000c $d
|
|||
|
|
/tmp/ccLD46hm.s:224 .text.HalfTransfer_CallBack_FS:00000000 $t
|
|||
|
|
/tmp/ccLD46hm.s:230 .text.HalfTransfer_CallBack_FS:00000000 HalfTransfer_CallBack_FS
|
|||
|
|
/tmp/ccLD46hm.s:251 .text.HalfTransfer_CallBack_FS:0000000c $d
|
|||
|
|
/tmp/ccLD46hm.s:260 .data.USBD_AUDIO_fops_FS:00000000 USBD_AUDIO_fops_FS
|
|||
|
|
/tmp/ccLD46hm.s:257 .data.USBD_AUDIO_fops_FS:00000000 $d
|
|||
|
|
|
|||
|
|
UNDEFINED SYMBOLS
|
|||
|
|
USBD_AUDIO_Sync
|
|||
|
|
hUsbDeviceFS
|