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

📄 stm32f10x_rtc.lst

📁 stm32+ucos-ii
💻 LST
📖 第 1 页 / 共 3 页
字号:
   \   00000018   C0B2               UXTB     R0,R0            ;; ZeroExt  R0,R0,#+24,#+24
   \   0000001A   7047               BX       LR               ;; return
    259          }
    260          
    261          /**
    262            * @brief  Clears the RTC抯 pending flags.
    263            * @param  RTC_FLAG: specifies the flag to clear.
    264            *   This parameter can be any combination of the following values:
    265            *     @arg RTC_FLAG_RSF: Registers Synchronized flag. This flag is cleared only after
    266            *                        an APB reset or an APB Clock stop.
    267            *     @arg RTC_FLAG_OW: Overflow flag
    268            *     @arg RTC_FLAG_ALR: Alarm flag
    269            *     @arg RTC_FLAG_SEC: Second flag
    270            * @retval None
    271            */

   \                                 In section .text, align 2, keep-with-next
    272          void RTC_ClearFlag(uint16_t RTC_FLAG)
    273          {
    274            /* Check the parameters */
    275            assert_param(IS_RTC_CLEAR_FLAG(RTC_FLAG)); 
    276              
    277            /* Clear the coressponding RTC flag */
    278            RTC->CRL &= (uint16_t)~RTC_FLAG;
   \                     RTC_ClearFlag:
   \   00000000   ....               LDR.N    R1,??DataTable13_1  ;; 0x40002804
   \   00000002   0988               LDRH     R1,[R1, #+0]
   \   00000004   8143               BICS     R1,R1,R0
   \   00000006   ....               LDR.N    R2,??DataTable13_1  ;; 0x40002804
   \   00000008   1180               STRH     R1,[R2, #+0]
    279          }
   \   0000000A   7047               BX       LR               ;; return
    280          
    281          /**
    282            * @brief  Checks whether the specified RTC interrupt has occured or not.
    283            * @param  RTC_IT: specifies the RTC interrupts sources to check.
    284            *   This parameter can be one of the following values:
    285            *     @arg RTC_IT_OW: Overflow interrupt
    286            *     @arg RTC_IT_ALR: Alarm interrupt
    287            *     @arg RTC_IT_SEC: Second interrupt
    288            * @retval The new state of the RTC_IT (SET or RESET).
    289            */

   \                                 In section .text, align 2, keep-with-next
    290          ITStatus RTC_GetITStatus(uint16_t RTC_IT)
    291          {
   \                     RTC_GetITStatus:
   \   00000000   0100               MOVS     R1,R0
    292            ITStatus bitstatus = RESET;
   \   00000002   0020               MOVS     R0,#+0
    293            /* Check the parameters */
    294            assert_param(IS_RTC_GET_IT(RTC_IT)); 
    295            
    296            bitstatus = (ITStatus)(RTC->CRL & RTC_IT);
   \   00000004   ....               LDR.N    R2,??DataTable13_1  ;; 0x40002804
   \   00000006   1288               LDRH     R2,[R2, #+0]
   \   00000008   0A40               ANDS     R2,R1,R2
   \   0000000A   1000               MOVS     R0,R2
    297            if (((RTC->CRH & RTC_IT) != (uint16_t)RESET) && (bitstatus != (uint16_t)RESET))
   \   0000000C   ....               LDR.N    R2,??DataTable13  ;; 0x40002800
   \   0000000E   1288               LDRH     R2,[R2, #+0]
   \   00000010   92B2               UXTH     R2,R2            ;; ZeroExt  R2,R2,#+16,#+16
   \   00000012   0A42               TST      R2,R1
   \   00000014   05D0               BEQ.N    ??RTC_GetITStatus_0
   \   00000016   C0B2               UXTB     R0,R0            ;; ZeroExt  R0,R0,#+24,#+24
   \   00000018   0028               CMP      R0,#+0
   \   0000001A   02D0               BEQ.N    ??RTC_GetITStatus_0
    298            {
    299              bitstatus = SET;
   \   0000001C   0122               MOVS     R2,#+1
   \   0000001E   1000               MOVS     R0,R2
   \   00000020   01E0               B.N      ??RTC_GetITStatus_1
    300            }
    301            else
    302            {
    303              bitstatus = RESET;
   \                     ??RTC_GetITStatus_0:
   \   00000022   0022               MOVS     R2,#+0
   \   00000024   1000               MOVS     R0,R2
    304            }
    305            return bitstatus;
   \                     ??RTC_GetITStatus_1:
   \   00000026   C0B2               UXTB     R0,R0            ;; ZeroExt  R0,R0,#+24,#+24
   \   00000028   7047               BX       LR               ;; return
    306          }
    307          
    308          /**
    309            * @brief  Clears the RTC抯 interrupt pending bits.
    310            * @param  RTC_IT: specifies the interrupt pending bit to clear.
    311            *   This parameter can be any combination of the following values:
    312            *     @arg RTC_IT_OW: Overflow interrupt
    313            *     @arg RTC_IT_ALR: Alarm interrupt
    314            *     @arg RTC_IT_SEC: Second interrupt
    315            * @retval None
    316            */

   \                                 In section .text, align 2, keep-with-next
    317          void RTC_ClearITPendingBit(uint16_t RTC_IT)
    318          {
    319            /* Check the parameters */
    320            assert_param(IS_RTC_IT(RTC_IT));  
    321            
    322            /* Clear the coressponding RTC pending bit */
    323            RTC->CRL &= (uint16_t)~RTC_IT;
   \                     RTC_ClearITPendingBit:
   \   00000000   ....               LDR.N    R1,??DataTable13_1  ;; 0x40002804
   \   00000002   0988               LDRH     R1,[R1, #+0]
   \   00000004   8143               BICS     R1,R1,R0
   \   00000006   ....               LDR.N    R2,??DataTable13_1  ;; 0x40002804
   \   00000008   1180               STRH     R1,[R2, #+0]
    324          }
   \   0000000A   7047               BX       LR               ;; return

   \                                 In section .text, align 4, keep-with-next
   \                     ??DataTable13:
   \   00000000   00280040           DC32     0x40002800

   \                                 In section .text, align 4, keep-with-next
   \                     ??DataTable13_1:
   \   00000000   04280040           DC32     0x40002804

   \                                 In section .text, align 4, keep-with-next
   \                     ??DataTable13_2:
   \   00000000   1C280040           DC32     0x4000281c

   \                                 In section .text, align 4, keep-with-next
   \                     ??DataTable13_3:
   \   00000000   18280040           DC32     0x40002818

   \                                 In section .text, align 4, keep-with-next
   \                     ??DataTable13_4:
   \   00000000   08280040           DC32     0x40002808

   \                                 In section .text, align 4, keep-with-next
   \                     ??DataTable13_5:
   \   00000000   0C280040           DC32     0x4000280c

   \                                 In section .text, align 4, keep-with-next
   \                     ??DataTable13_6:
   \   00000000   20280040           DC32     0x40002820

   \                                 In section .text, align 4, keep-with-next
   \                     ??DataTable13_7:
   \   00000000   24280040           DC32     0x40002824

   \                                 In section .text, align 4, keep-with-next
   \                     ??DataTable13_8:
   \   00000000   10280040           DC32     0x40002810

   \                                 In section .text, align 4, keep-with-next
   \                     ??DataTable13_9:
   \   00000000   14280040           DC32     0x40002814
    325          
    326          /**
    327            * @}
    328            */
    329          
    330          /**
    331            * @}
    332            */
    333          
    334          /**
    335            * @}
    336            */
    337          
    338          /******************* (C) COPYRIGHT 2010 STMicroelectronics *****END OF FILE****/

   Maximum stack usage in bytes:

     Function              .cstack
     --------              -------
     RTC_ClearFlag              0
     RTC_ClearITPendingBit      0
     RTC_EnterConfigMode        0
     RTC_ExitConfigMode         0
     RTC_GetCounter             0
     RTC_GetDivider             0
     RTC_GetFlagStatus          0
     RTC_GetITStatus            0
     RTC_ITConfig               0
     RTC_SetAlarm               8
     RTC_SetCounter             8
     RTC_SetPrescaler           8
     RTC_WaitForLastTask        0
     RTC_WaitForSynchro         0


   Section sizes:

     Function/Label        Bytes
     --------------        -----
     RTC_ITConfig            30
     RTC_EnterConfigMode     14
     RTC_ExitConfigMode      16
     RTC_GetCounter          22
     RTC_SetCounter          24
     RTC_SetPrescaler        28
     RTC_SetAlarm            24
     RTC_GetDivider          26
     RTC_WaitForLastTask     10
     RTC_WaitForSynchro      24
     RTC_GetFlagStatus       28
     RTC_ClearFlag           12
     RTC_GetITStatus         42
     RTC_ClearITPendingBit   12
     ??DataTable13            4
     ??DataTable13_1          4
     ??DataTable13_2          4
     ??DataTable13_3          4
     ??DataTable13_4          4
     ??DataTable13_5          4
     ??DataTable13_6          4
     ??DataTable13_7          4
     ??DataTable13_8          4
     ??DataTable13_9          4

 
 352 bytes in section .text
 
 352 bytes of CODE memory

Errors: none
Warnings: none

⌨️ 快捷键说明

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