⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 usb_regs.lst

📁 STM32 VirtualCOMPort DEMO now It s works fine???
💻 LST
📖 第 1 页 / 共 5 页
字号:
 174:lib/STM32_USB-FS-Device_Driver/src/usb_regs.c **** * Function Name  : GetEPType
 175:lib/STM32_USB-FS-Device_Driver/src/usb_regs.c **** * Description    : Returns the endpoint type.
 176:lib/STM32_USB-FS-Device_Driver/src/usb_regs.c **** * Input          : bEpNum: Endpoint Number. 
 177:lib/STM32_USB-FS-Device_Driver/src/usb_regs.c **** * Output         : None.
 178:lib/STM32_USB-FS-Device_Driver/src/usb_regs.c **** * Return         : Endpoint Type
 179:lib/STM32_USB-FS-Device_Driver/src/usb_regs.c **** *******************************************************************************/
 180:lib/STM32_USB-FS-Device_Driver/src/usb_regs.c **** uint16_t GetEPType(uint8_t bEpNum)
 181:lib/STM32_USB-FS-Device_Driver/src/usb_regs.c **** {
 328              		.loc 1 181 0
 329              		@ args = 0, pretend = 0, frame = 0
 330              		@ frame_needed = 0, uses_anonymous_args = 0
 331              		@ link register save eliminated.
 332              	.LVL8:
 182:lib/STM32_USB-FS-Device_Driver/src/usb_regs.c ****   return(_GetEPType(bEpNum));
 333              		.loc 1 182 0
 334 0000 024B     		ldr	r3, .L51
 335 0002 53F82000 		ldr	r0, [r3, r0, lsl #2]
 336              	.LVL9:
 183:lib/STM32_USB-FS-Device_Driver/src/usb_regs.c **** }
 337              		.loc 1 183 0
 338 0006 00F4C060 		and	r0, r0, #1536
 339 000a 7047     		bx	lr
 340              	.L52:
 341              		.align	2
 342              	.L51:
 343 000c 005C0040 		.word	1073765376
 344              	.LFE38:
 346              		.section	.text.SetEPTxStatus,"ax",%progbits
 347              		.align	2
 348              		.global	SetEPTxStatus
 349              		.thumb
 350              		.thumb_func
 352              	SetEPTxStatus:
 353              	.LFB39:
 184:lib/STM32_USB-FS-Device_Driver/src/usb_regs.c **** 
 185:lib/STM32_USB-FS-Device_Driver/src/usb_regs.c **** /*******************************************************************************
 186:lib/STM32_USB-FS-Device_Driver/src/usb_regs.c **** * Function Name  : SetEPTxStatus
 187:lib/STM32_USB-FS-Device_Driver/src/usb_regs.c **** * Description    : Set the status of Tx endpoint.
 188:lib/STM32_USB-FS-Device_Driver/src/usb_regs.c **** * Input          : bEpNum: Endpoint Number. 
 189:lib/STM32_USB-FS-Device_Driver/src/usb_regs.c **** *                  wState: new state.
 190:lib/STM32_USB-FS-Device_Driver/src/usb_regs.c **** * Output         : None.
 191:lib/STM32_USB-FS-Device_Driver/src/usb_regs.c **** * Return         : None.
 192:lib/STM32_USB-FS-Device_Driver/src/usb_regs.c **** *******************************************************************************/
 193:lib/STM32_USB-FS-Device_Driver/src/usb_regs.c **** void SetEPTxStatus(uint8_t bEpNum, uint16_t wState)
 194:lib/STM32_USB-FS-Device_Driver/src/usb_regs.c **** {
 354              		.loc 1 194 0
 355              		@ args = 0, pretend = 0, frame = 0
 356              		@ frame_needed = 0, uses_anonymous_args = 0
 357              		@ link register save eliminated.
 358              	.LVL10:
 359              	.LBB2:
 195:lib/STM32_USB-FS-Device_Driver/src/usb_regs.c ****   _SetEPTxStatus(bEpNum, wState);
 360              		.loc 1 195 0
 361 0000 8000     		lsls	r0, r0, #2
 362              	.LVL11:
 363 0002 00F18040 		add	r0, r0, #1073741824
 364 0006 00F5B840 		add	r0, r0, #23552
 365 000a 0368     		ldr	r3, [r0, #0]
 366 000c 48F6BF72 		movw	r2, #36799
 367              	.LVL12:
 368 0010 03EA0202 		and	r2, r3, r2
 369              	.LVL13:
 370 0014 11F0100F 		tst	r1, #16
 371 0018 18BF     		it	ne
 372 001a 82F01002 		eorne	r2, r2, #16
 373              	.LVL14:
 374 001e 11F0200F 		tst	r1, #32
 375 0022 18BF     		it	ne
 376 0024 82F02002 		eorne	r2, r2, #32
 377              	.LVL15:
 378 0028 0260     		str	r2, [r0, #0]
 379              	.LBE2:
 196:lib/STM32_USB-FS-Device_Driver/src/usb_regs.c **** }
 380              		.loc 1 196 0
 381 002a 7047     		bx	lr
 382              	.LFE39:
 384              		.section	.text.SetEPRxStatus,"ax",%progbits
 385              		.align	2
 386              		.global	SetEPRxStatus
 387              		.thumb
 388              		.thumb_func
 390              	SetEPRxStatus:
 391              	.LFB40:
 197:lib/STM32_USB-FS-Device_Driver/src/usb_regs.c **** 
 198:lib/STM32_USB-FS-Device_Driver/src/usb_regs.c **** /*******************************************************************************
 199:lib/STM32_USB-FS-Device_Driver/src/usb_regs.c **** * Function Name  : SetEPRxStatus
 200:lib/STM32_USB-FS-Device_Driver/src/usb_regs.c **** * Description    : Set the status of Rx endpoint.
 201:lib/STM32_USB-FS-Device_Driver/src/usb_regs.c **** * Input          : bEpNum: Endpoint Number. 
 202:lib/STM32_USB-FS-Device_Driver/src/usb_regs.c **** *                  wState: new state.
 203:lib/STM32_USB-FS-Device_Driver/src/usb_regs.c **** * Output         : None.
 204:lib/STM32_USB-FS-Device_Driver/src/usb_regs.c **** * Return         : None.
 205:lib/STM32_USB-FS-Device_Driver/src/usb_regs.c **** *******************************************************************************/
 206:lib/STM32_USB-FS-Device_Driver/src/usb_regs.c **** void SetEPRxStatus(uint8_t bEpNum, uint16_t wState)
 207:lib/STM32_USB-FS-Device_Driver/src/usb_regs.c **** {
 392              		.loc 1 207 0
 393              		@ args = 0, pretend = 0, frame = 0
 394              		@ frame_needed = 0, uses_anonymous_args = 0
 395              		@ link register save eliminated.
 396              	.LVL16:
 397              	.LBB3:
 208:lib/STM32_USB-FS-Device_Driver/src/usb_regs.c ****   _SetEPRxStatus(bEpNum, wState);
 398              		.loc 1 208 0
 399 0000 8000     		lsls	r0, r0, #2
 400              	.LVL17:
 401 0002 00F18040 		add	r0, r0, #1073741824
 402 0006 00F5B840 		add	r0, r0, #23552
 403 000a 0368     		ldr	r3, [r0, #0]
 404 000c 4BF68F72 		movw	r2, #49039
 405              	.LVL18:
 406 0010 03EA0202 		and	r2, r3, r2
 407              	.LVL19:
 408 0014 11F4805F 		tst	r1, #4096
 409 0018 18BF     		it	ne
 410 001a 82F48052 		eorne	r2, r2, #4096
 411              	.LVL20:
 412 001e 11F4005F 		tst	r1, #8192
 413 0022 18BF     		it	ne
 414 0024 82F40052 		eorne	r2, r2, #8192
 415              	.LVL21:
 416 0028 0260     		str	r2, [r0, #0]
 417              	.LBE3:
 209:lib/STM32_USB-FS-Device_Driver/src/usb_regs.c **** }
 418              		.loc 1 209 0
 419 002a 7047     		bx	lr
 420              	.LFE40:
 422              		.section	.text.SetDouBleBuffEPStall,"ax",%progbits
 423              		.align	2
 424              		.global	SetDouBleBuffEPStall
 425              		.thumb
 426              		.thumb_func
 428              	SetDouBleBuffEPStall:
 429              	.LFB41:
 210:lib/STM32_USB-FS-Device_Driver/src/usb_regs.c **** 
 211:lib/STM32_USB-FS-Device_Driver/src/usb_regs.c **** /*******************************************************************************
 212:lib/STM32_USB-FS-Device_Driver/src/usb_regs.c **** * Function Name  : SetDouBleBuffEPStall
 213:lib/STM32_USB-FS-Device_Driver/src/usb_regs.c **** * Description    : sets the status for Double Buffer Endpoint to STALL
 214:lib/STM32_USB-FS-Device_Driver/src/usb_regs.c **** * Input          : bEpNum: Endpoint Number. 
 215:lib/STM32_USB-FS-Device_Driver/src/usb_regs.c **** *                  bDir: Endpoint direction.
 216:lib/STM32_USB-FS-Device_Driver/src/usb_regs.c **** * Output         : None.
 217:lib/STM32_USB-FS-Device_Driver/src/usb_regs.c **** * Return         : None.
 218:lib/STM32_USB-FS-Device_Driver/src/usb_regs.c **** *******************************************************************************/
 219:lib/STM32_USB-FS-Device_Driver/src/usb_regs.c **** void SetDouBleBuffEPStall(uint8_t bEpNum, uint8_t bDir)
 220:lib/STM32_USB-FS-Device_Driver/src/usb_regs.c **** {
 430              		.loc 1 220 0
 431              		@ args = 0, pretend = 0, frame = 0
 432              		@ frame_needed = 0, uses_anonymous_args = 0
 433              	.LVL22:
 434 0000 70B5     		push	{r4, r5, r6, lr}
 435              	.LCFI1:
 436              		.loc 1 220 0
 437 0002 0C46     		mov	r4, r1
 438 0004 0546     		mov	r5, r0
 221:lib/STM32_USB-FS-Device_Driver/src/usb_regs.c ****   uint16_t Endpoint_DTOG_Status;
 222:lib/STM32_USB-FS-Device_Driver/src/usb_regs.c ****   Endpoint_DTOG_Status = GetENDPOINT(bEpNum);
 439              		.loc 1 222 0
 440 0006 FFF7FEFF 		bl	GetENDPOINT
 441              	.LVL23:
 223:lib/STM32_USB-FS-Device_Driver/src/usb_regs.c ****   if (bDir == EP_DBUF_OUT)
 442              		.loc 1 223 0
 443 000a 012C     		cmp	r4, #1
 444 000c 07D1     		bne	.L62
 224:lib/STM32_USB-FS-Device_Driver/src/usb_regs.c ****   { /* OUT double buffered endpoint */
 225:lib/STM32_USB-FS-Device_Driver/src/usb_regs.c ****     _SetENDPOINT(bEpNum, Endpoint_DTOG_Status & ~EPRX_DTOG1);
 445              		.loc 1 225 0
 446 000e AB00     		lsls	r3, r5, #2
 447 0010 03F18043 		add	r3, r3, #1073741824
 448 0014 03F5B843 		add	r3, r3, #23552
 449 0018 20F48052 		bic	r2, r0, #4096
 450 001c 08E0     		b	.L65
 451              	.L62:
 226:lib/STM32_USB-FS-Device_Driver/src/usb_regs.c ****   }
 227:lib/STM32_USB-FS-Device_Driver/src/usb_regs.c ****   else if (bDir == EP_DBUF_IN)
 452              		.loc 1 227 0
 453 001e 022C     		cmp	r4, #2
 454 0020 07D1     		bne	.L64
 228:lib/STM32_USB-FS-Device_Driver/src/usb_regs.c ****   { /* IN double buffered endpoint */
 229:lib/STM32_USB-FS-Device_Driver/src/usb_regs.c ****     _SetENDPOINT(bEpNum, Endpoint_DTOG_Status & ~EPTX_DTOG1);
 455              		.loc 1 229 0
 456 0022 AB00     		lsls	r3, r5, #2
 457 0024 03F18043 		add	r3, r3, #1073741824
 458 0028 03F5B843 		add	r3, r3, #23552
 459 002c 20F01002 		bic	r2, r0, #16
 460              	.L65:
 461 0030 1A60     		str	r2, [r3, #0]
 462              	.L64:
 230:lib/STM32_USB-FS-Device_Driver/src/usb_regs.c ****   }
 231:lib/STM32_USB-FS-Device_Driver/src/usb_regs.c **** }
 463              		.loc 1 231 0
 464 0032 70BD     		pop	{r4, r5, r6, pc}
 465              	.LFE41:
 467              		.section	.text.GetEPTxStatus,"ax",%progbits
 468              		.align	2
 469              		.global	GetEPTxStatus
 470              		.thumb
 471              		.thumb_func
 473              	GetEPTxStatus:
 474              	.LFB42:
 232:lib/STM32_USB-FS-Device_Driver/src/usb_regs.c **** 
 233:lib/STM32_USB-FS-Device_Driver/src/usb_regs.c **** /*******************************************************************************
 234:lib/STM32_USB-FS-Device_Driver/src/usb_regs.c **** * Function Name  : GetEPTxStatus
 235:lib/STM32_USB-FS-Device_Driver/src/usb_regs.c **** * Description    : Returns the endpoint Tx status.
 236:lib/STM32_USB-FS-Device_Driver/src/usb_regs.c **** * Input          : bEpNum: Endpoint Number. 
 237:lib/STM32_USB-FS-Device_Driver/src/usb_regs.c **** * Output         : None.
 238:lib/STM32_USB-FS-Device_Driver/src/usb_regs.c **** * Return         : Endpoint TX Status
 239:lib/STM32_USB-FS-Device_Driver/src/usb_regs.c **** *******************************************************************************/
 240:lib/STM32_USB-FS-Device_Driver/src/usb_regs.c **** uint16_t GetEPTxStatus(uint8_t bEpNum)
 241:lib/STM32_USB-FS-Device_Driver/src/usb_regs.c **** {
 475              		.loc 1 241 0
 476              		@ args = 0, pretend = 0, frame = 0
 477              		@ frame_needed = 0, uses_anonymous_args = 0
 478              		@ link register save eliminated.
 479              	.LVL24:
 242:lib/STM32_USB-FS-Device_Driver/src/usb_regs.c ****   return(_GetEPTxStatus(bEpNum));
 480              		.loc 1 242 0
 481 0000 024B     		ldr	r3, .L68
 482 0002 53F82000 		ldr	r0, [r3, r0, lsl #2]
 483              	.LVL25:
 243:lib/STM32_USB-FS-Device_Driver/src/usb_regs.c **** }
 484              		.loc 1 243 0
 485 0006 00F03000 		and	r0, r0, #48
 486 000a 7047     		bx	lr
 487              	.L69:
 488              		.align	2
 489              	.L68:
 490 000c 005C0040 		.word	1073765376
 491              	.LFE42:
 493              		.section	.text.GetEPRxStatus,"ax",%progbits
 494              		.align	2
 495              		.global	GetEPRxStatus
 496              		.thumb
 497              		.thumb_func
 499              	GetEPRxStatus:
 500              	.LFB43:
 244:lib/STM32_USB-FS-Device_Driver/src/usb_regs.c **** 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -