📄 stm32f10x_cec.lst
字号:
340 * @arg CEC_FLAG_TERR: Tx Error
341 * @arg CEC_FLAG_TBTRF: Tx Byte Transfer Request or Block Transfer Finished
342 * @arg CEC_FLAG_RSOM: Rx Start Of Message
343 * @arg CEC_FLAG_REOM: Rx End Of Message
344 * @arg CEC_FLAG_RERR: Rx Error
345 * @arg CEC_FLAG_RBTF: Rx Byte/Block Transfer Finished
346 * @retval None
347 */
\ In section .text, align 2, keep-with-next
348 void CEC_ClearFlag(uint32_t CEC_FLAG)
349 {
350 uint32_t tmp = 0x0;
\ CEC_ClearFlag:
\ 00000000 0021 MOVS R1,#+0
351
352 /* Check the parameters */
353 assert_param(IS_CEC_CLEAR_FLAG(CEC_FLAG));
354
355 tmp = CEC->CSR & 0x2;
\ 00000002 .... LDR.N R2,??DataTable12_9 ;; 0x40007810
\ 00000004 1268 LDR R2,[R2, #+0]
\ 00000006 12F00202 ANDS R2,R2,#0x2
\ 0000000A 1100 MOVS R1,R2
356
357 /* Clear the selected CEC flags */
358 CEC->CSR &= (uint32_t)(((~(uint32_t)CEC_FLAG) & 0xFFFFFFFC) | tmp);
\ 0000000C .... LDR.N R2,??DataTable12_9 ;; 0x40007810
\ 0000000E 1268 LDR R2,[R2, #+0]
\ 00000010 C343 MVNS R3,R0
\ 00000012 9B08 LSRS R3,R3,#+2
\ 00000014 9B00 LSLS R3,R3,#+2
\ 00000016 0B43 ORRS R3,R1,R3
\ 00000018 1A40 ANDS R2,R3,R2
\ 0000001A .... LDR.N R3,??DataTable12_9 ;; 0x40007810
\ 0000001C 1A60 STR R2,[R3, #+0]
359 }
\ 0000001E 7047 BX LR ;; return
360
361 /**
362 * @brief Checks whether the specified CEC interrupt has occurred or not.
363 * @param CEC_IT: specifies the CEC interrupt source to check.
364 * This parameter can be one of the following values:
365 * @arg CEC_IT_TERR: Tx Error
366 * @arg CEC_IT_TBTF: Tx Block Transfer Finished
367 * @arg CEC_IT_RERR: Rx Error
368 * @arg CEC_IT_RBTF: Rx Block Transfer Finished
369 * @retval The new state of CEC_IT (SET or RESET).
370 */
\ In section .text, align 2, keep-with-next
371 ITStatus CEC_GetITStatus(uint8_t CEC_IT)
372 {
\ CEC_GetITStatus:
\ 00000000 0100 MOVS R1,R0
373 ITStatus bitstatus = RESET;
\ 00000002 0020 MOVS R0,#+0
374 uint32_t enablestatus = 0;
\ 00000004 0022 MOVS R2,#+0
375
376 /* Check the parameters */
377 assert_param(IS_CEC_GET_IT(CEC_IT));
378
379 /* Get the CEC IT enable bit status */
380 enablestatus = (CEC->CFGR & (uint8_t)CEC_CFGR_IE) ;
\ 00000006 .... LDR.N R3,??DataTable12 ;; 0x40007800
\ 00000008 1B68 LDR R3,[R3, #+0]
\ 0000000A 13F00203 ANDS R3,R3,#0x2
\ 0000000E 1A00 MOVS R2,R3
381
382 /* Check the status of the specified CEC interrupt */
383 if (((CEC->CSR & CEC_IT) != (uint32_t)RESET) && enablestatus)
\ 00000010 .... LDR.N R3,??DataTable12_9 ;; 0x40007810
\ 00000012 1B68 LDR R3,[R3, #+0]
\ 00000014 DBB2 UXTB R3,R3 ;; ZeroExt R3,R3,#+24,#+24
\ 00000016 0B42 TST R3,R1
\ 00000018 04D0 BEQ.N ??CEC_GetITStatus_0
\ 0000001A 002A CMP R2,#+0
\ 0000001C 02D0 BEQ.N ??CEC_GetITStatus_0
384 {
385 /* CEC_IT is set */
386 bitstatus = SET;
\ 0000001E 0123 MOVS R3,#+1
\ 00000020 1800 MOVS R0,R3
\ 00000022 01E0 B.N ??CEC_GetITStatus_1
387 }
388 else
389 {
390 /* CEC_IT is reset */
391 bitstatus = RESET;
\ ??CEC_GetITStatus_0:
\ 00000024 0023 MOVS R3,#+0
\ 00000026 1800 MOVS R0,R3
392 }
393 /* Return the CEC_IT status */
394 return bitstatus;
\ ??CEC_GetITStatus_1:
\ 00000028 C0B2 UXTB R0,R0 ;; ZeroExt R0,R0,#+24,#+24
\ 0000002A 7047 BX LR ;; return
395 }
396
397 /**
398 * @brief Clears the CEC's interrupt pending bits.
399 * @param CEC_IT: specifies the CEC interrupt pending bit to clear.
400 * This parameter can be any combination of the following values:
401 * @arg CEC_IT_TERR: Tx Error
402 * @arg CEC_IT_TBTF: Tx Block Transfer Finished
403 * @arg CEC_IT_RERR: Rx Error
404 * @arg CEC_IT_RBTF: Rx Block Transfer Finished
405 * @retval None
406 */
\ In section .text, align 2, keep-with-next
407 void CEC_ClearITPendingBit(uint16_t CEC_IT)
408 {
409 uint32_t tmp = 0x0;
\ CEC_ClearITPendingBit:
\ 00000000 0021 MOVS R1,#+0
410
411 /* Check the parameters */
412 assert_param(IS_CEC_GET_IT(CEC_IT));
413
414 tmp = CEC->CSR & 0x2;
\ 00000002 .... LDR.N R2,??DataTable12_9 ;; 0x40007810
\ 00000004 1268 LDR R2,[R2, #+0]
\ 00000006 12F00202 ANDS R2,R2,#0x2
\ 0000000A 1100 MOVS R1,R2
415
416 /* Clear the selected CEC interrupt pending bits */
417 CEC->CSR &= (uint32_t)(((~(uint32_t)CEC_IT) & 0xFFFFFFFC) | tmp);
\ 0000000C .... LDR.N R2,??DataTable12_9 ;; 0x40007810
\ 0000000E 1268 LDR R2,[R2, #+0]
\ 00000010 80B2 UXTH R0,R0 ;; ZeroExt R0,R0,#+16,#+16
\ 00000012 C343 MVNS R3,R0
\ 00000014 9B08 LSRS R3,R3,#+2
\ 00000016 9B00 LSLS R3,R3,#+2
\ 00000018 0B43 ORRS R3,R1,R3
\ 0000001A 1A40 ANDS R2,R3,R2
\ 0000001C .... LDR.N R3,??DataTable12_9 ;; 0x40007810
\ 0000001E 1A60 STR R2,[R3, #+0]
418 }
\ 00000020 7047 BX LR ;; return
\ In section .text, align 4, keep-with-next
\ ??DataTable12:
\ 00000000 00780040 DC32 0x40007800
\ In section .text, align 4, keep-with-next
\ ??DataTable12_1:
\ 00000000 00000F42 DC32 0x420f0000
\ In section .text, align 4, keep-with-next
\ ??DataTable12_2:
\ 00000000 04000F42 DC32 0x420f0004
\ In section .text, align 4, keep-with-next
\ ??DataTable12_3:
\ 00000000 04780040 DC32 0x40007804
\ In section .text, align 4, keep-with-next
\ ??DataTable12_4:
\ 00000000 08780040 DC32 0x40007808
\ In section .text, align 4, keep-with-next
\ ??DataTable12_5:
\ 00000000 14780040 DC32 0x40007814
\ In section .text, align 4, keep-with-next
\ ??DataTable12_6:
\ 00000000 18780040 DC32 0x40007818
\ In section .text, align 4, keep-with-next
\ ??DataTable12_7:
\ 00000000 00020F42 DC32 0x420f0200
\ In section .text, align 4, keep-with-next
\ ??DataTable12_8:
\ 00000000 04020F42 DC32 0x420f0204
\ In section .text, align 4, keep-with-next
\ ??DataTable12_9:
\ 00000000 10780040 DC32 0x40007810
419
420 /**
421 * @}
422 */
423
424 /**
425 * @}
426 */
427
428 /**
429 * @}
430 */
431
432 /******************* (C) COPYRIGHT 2010 STMicroelectronics *****END OF FILE****/
Maximum stack usage in bytes:
Function .cstack
-------- -------
CEC_ClearFlag 0
CEC_ClearITPendingBit 0
CEC_Cmd 0
CEC_DeInit 8
CEC_EndOfMessageCmd 0
CEC_GetFlagStatus 4
CEC_GetITStatus 0
CEC_ITConfig 0
CEC_Init 0
CEC_OwnAddressConfig 0
CEC_ReceiveDataByte 0
CEC_SendDataByte 0
CEC_SetPrescaler 0
CEC_StartOfMessage 0
Section sizes:
Function/Label Bytes
-------------- -----
CEC_DeInit 24
CEC_Init 28
CEC_Cmd 22
CEC_ITConfig 8
CEC_OwnAddressConfig 8
CEC_SetPrescaler 8
CEC_SendDataByte 8
CEC_ReceiveDataByte 8
CEC_StartOfMessage 8
CEC_EndOfMessageCmd 8
CEC_GetFlagStatus 56
CEC_ClearFlag 32
CEC_GetITStatus 44
CEC_ClearITPendingBit 34
??DataTable12 4
??DataTable12_1 4
??DataTable12_2 4
??DataTable12_3 4
??DataTable12_4 4
??DataTable12_5 4
??DataTable12_6 4
??DataTable12_7 4
??DataTable12_8 4
??DataTable12_9 4
336 bytes in section .text
336 bytes of CODE memory
Errors: none
Warnings: none
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -