|
|
ARM GAS /tmp/ccjDTEau.s page 1
|
|
|
|
|
|
|
|
|
1 .cpu cortex-m0plus
|
|
|
2 .eabi_attribute 20, 1
|
|
|
3 .eabi_attribute 21, 1
|
|
|
4 .eabi_attribute 23, 3
|
|
|
5 .eabi_attribute 24, 1
|
|
|
6 .eabi_attribute 25, 1
|
|
|
7 .eabi_attribute 26, 1
|
|
|
8 .eabi_attribute 30, 1
|
|
|
9 .eabi_attribute 34, 0
|
|
|
10 .eabi_attribute 18, 4
|
|
|
11 .file "stm32l0xx_hal_rtc_ex.c"
|
|
|
12 .text
|
|
|
13 .Ltext0:
|
|
|
14 .cfi_sections .debug_frame
|
|
|
15 .section .text.HAL_RTCEx_SetTimeStamp,"ax",%progbits
|
|
|
16 .align 1
|
|
|
17 .global HAL_RTCEx_SetTimeStamp
|
|
|
18 .syntax unified
|
|
|
19 .code 16
|
|
|
20 .thumb_func
|
|
|
21 .fpu softvfp
|
|
|
23 HAL_RTCEx_SetTimeStamp:
|
|
|
24 .LFB39:
|
|
|
25 .file 1 "./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c"
|
|
|
1:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /**
|
|
|
2:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** ******************************************************************************
|
|
|
3:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @file stm32l0xx_hal_rtc_ex.c
|
|
|
4:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @author MCD Application Team
|
|
|
5:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @brief Extended RTC HAL module driver.
|
|
|
6:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** *
|
|
|
7:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * This file provides firmware functions to manage the following
|
|
|
8:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * functionalities of the Real Time Clock (RTC) Extended peripheral:
|
|
|
9:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * + RTC Time Stamp functions
|
|
|
10:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * + RTC Tamper functions
|
|
|
11:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * + RTC Wake-up functions
|
|
|
12:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * + Extended Control functions
|
|
|
13:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * + Extended RTC features functions
|
|
|
14:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** *
|
|
|
15:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** @verbatim
|
|
|
16:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** ==============================================================================
|
|
|
17:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** ##### How to use this driver #####
|
|
|
18:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** ==============================================================================
|
|
|
19:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** [..]
|
|
|
20:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** (+) Enable the RTC domain access.
|
|
|
21:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** (+) Configure the RTC Prescaler (Asynchronous and Synchronous) and RTC hour
|
|
|
22:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** format using the HAL_RTC_Init() function.
|
|
|
23:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
24:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** *** RTC Wakeup configuration ***
|
|
|
25:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** ================================
|
|
|
26:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** [..]
|
|
|
27:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** (+) To configure the RTC Wakeup Clock source and Counter use the HAL_RTCEx_SetWakeUpTimer()
|
|
|
28:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** function. You can also configure the RTC Wakeup timer with interrupt mode
|
|
|
29:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** using the HAL_RTCEx_SetWakeUpTimer_IT() function.
|
|
|
30:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** (+) To read the RTC WakeUp Counter register, use the HAL_RTCEx_GetWakeUpTimer()
|
|
|
31:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** function.
|
|
|
32:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
33:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** *** Outputs configuration ***
|
|
|
ARM GAS /tmp/ccjDTEau.s page 2
|
|
|
|
|
|
|
|
|
34:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** =============================
|
|
|
35:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** [..] The RTC has 2 different outputs:
|
|
|
36:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** (+) RTC_ALARM: this output is used to manage the RTC Alarm A, Alarm B
|
|
|
37:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** and WaKeUp signals.
|
|
|
38:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** To output the selected RTC signal, use the HAL_RTC_Init() function.
|
|
|
39:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** (+) RTC_CALIB: this output is 512Hz signal or 1Hz.
|
|
|
40:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** To enable the RTC_CALIB, use the HAL_RTCEx_SetCalibrationOutPut() function.
|
|
|
41:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** (+) Two pins can be used as RTC_ALARM or RTC_CALIB (PC13, PB14) for STM32L05x/6x/7x/8x
|
|
|
42:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** and (PA2, PB14) for STM32L03x/4x managed on the RTC_OR register.
|
|
|
43:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** (+) When the RTC_CALIB or RTC_ALARM output is selected, the RTC_OUT pin is
|
|
|
44:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** automatically configured in output alternate function.
|
|
|
45:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
46:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** *** Smooth digital Calibration configuration ***
|
|
|
47:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** ================================================
|
|
|
48:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** [..]
|
|
|
49:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** (+) Configure the RTC Original Digital Calibration Value and the corresponding
|
|
|
50:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** calibration cycle period (32s,16s and 8s) using the HAL_RTCEx_SetSmoothCalib()
|
|
|
51:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** function.
|
|
|
52:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
53:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** *** TimeStamp configuration ***
|
|
|
54:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** ===============================
|
|
|
55:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** [..]
|
|
|
56:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** (+) Configure the RTC_AF trigger and enable the RTC TimeStamp using the
|
|
|
57:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** HAL_RTCEx_SetTimeStamp() function. You can also configure the RTC TimeStamp with
|
|
|
58:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** interrupt mode using the HAL_RTCEx_SetTimeStamp_IT() function.
|
|
|
59:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** (+) To read the RTC TimeStamp Time and Date register, use the HAL_RTCEx_GetTimeStamp()
|
|
|
60:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** function.
|
|
|
61:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
62:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** *** Tamper configuration ***
|
|
|
63:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** ============================
|
|
|
64:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** [..]
|
|
|
65:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** (+) Enable the RTC Tamper and configure the Tamper filter count, trigger Edge
|
|
|
66:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** or Level according to the Tamper filter (if equal to 0 Edge else Level)
|
|
|
67:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** value, sampling frequency, NoErase, MaskFlag, precharge or discharge and
|
|
|
68:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** Pull-UP using the HAL_RTCEx_SetTamper() function. You can configure RTC Tamper
|
|
|
69:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** with interrupt mode using HAL_RTCEx_SetTamper_IT() function.
|
|
|
70:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** (+) The default configuration of the Tamper erases the backup registers. To avoid
|
|
|
71:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** erase, enable the NoErase field on the RTC_TAMPCR register.
|
|
|
72:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
73:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** *** Backup Data Registers configuration ***
|
|
|
74:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** ===========================================
|
|
|
75:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** [..]
|
|
|
76:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** (+) To write to the RTC Backup Data registers, use the HAL_RTCEx_BKUPWrite()
|
|
|
77:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** function.
|
|
|
78:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** (+) To read the RTC Backup Data registers, use the HAL_RTCEx_BKUPRead()
|
|
|
79:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** function.
|
|
|
80:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
81:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** @endverbatim
|
|
|
82:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** ******************************************************************************
|
|
|
83:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @attention
|
|
|
84:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** *
|
|
|
85:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * <h2><center>© COPYRIGHT(c) 2016 STMicroelectronics</center></h2>
|
|
|
86:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** *
|
|
|
87:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * Redistribution and use in source and binary forms, with or without modification,
|
|
|
88:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * are permitted provided that the following conditions are met:
|
|
|
89:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * 1. Redistributions of source code must retain the above copyright notice,
|
|
|
90:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * this list of conditions and the following disclaimer.
|
|
|
ARM GAS /tmp/ccjDTEau.s page 3
|
|
|
|
|
|
|
|
|
91:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * 2. Redistributions in binary form must reproduce the above copyright notice,
|
|
|
92:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * this list of conditions and the following disclaimer in the documentation
|
|
|
93:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * and/or other materials provided with the distribution.
|
|
|
94:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * 3. Neither the name of STMicroelectronics nor the names of its contributors
|
|
|
95:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * may be used to endorse or promote products derived from this software
|
|
|
96:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * without specific prior written permission.
|
|
|
97:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** *
|
|
|
98:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
|
99:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
|
100:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
|
101:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
|
|
102:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
|
103:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
|
104:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
|
|
105:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
|
|
106:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
|
107:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
108:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** *
|
|
|
109:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** ******************************************************************************
|
|
|
110:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** */
|
|
|
111:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
112:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Includes ------------------------------------------------------------------*/
|
|
|
113:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** #include "stm32l0xx_hal.h"
|
|
|
114:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
115:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /** @addtogroup STM32L0xx_HAL_Driver
|
|
|
116:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @{
|
|
|
117:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** */
|
|
|
118:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
119:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /** @addtogroup RTCEx
|
|
|
120:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @brief RTC Extended HAL module driver
|
|
|
121:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @{
|
|
|
122:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** */
|
|
|
123:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
124:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** #ifdef HAL_RTC_MODULE_ENABLED
|
|
|
125:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
126:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Private typedef -----------------------------------------------------------*/
|
|
|
127:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Private define ------------------------------------------------------------*/
|
|
|
128:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Private macro -------------------------------------------------------------*/
|
|
|
129:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Private variables ---------------------------------------------------------*/
|
|
|
130:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Private function prototypes -----------------------------------------------*/
|
|
|
131:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Exported functions --------------------------------------------------------*/
|
|
|
132:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
133:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /** @addtogroup RTCEx_Exported_Functions
|
|
|
134:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @{
|
|
|
135:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** */
|
|
|
136:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
137:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
138:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /** @addtogroup RTCEx_Exported_Functions_Group1
|
|
|
139:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @brief RTC TimeStamp and Tamper functions
|
|
|
140:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** *
|
|
|
141:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** @verbatim
|
|
|
142:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** ===============================================================================
|
|
|
143:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** ##### RTC TimeStamp and Tamper functions #####
|
|
|
144:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** ===============================================================================
|
|
|
145:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
146:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** [..] This section provides functions allowing to configure TimeStamp feature
|
|
|
147:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
ARM GAS /tmp/ccjDTEau.s page 4
|
|
|
|
|
|
|
|
|
148:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** @endverbatim
|
|
|
149:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @{
|
|
|
150:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** */
|
|
|
151:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
152:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /**
|
|
|
153:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @brief Set TimeStamp.
|
|
|
154:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @note This API must be called before enabling the TimeStamp feature.
|
|
|
155:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @param hrtc: RTC handle
|
|
|
156:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @param TimeStampEdge: Specifies the pin edge on which the TimeStamp is
|
|
|
157:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * activated.
|
|
|
158:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * This parameter can be one of the following values:
|
|
|
159:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @arg RTC_TIMESTAMPEDGE_RISING: the Time stamp event occurs on the
|
|
|
160:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * rising edge of the related pin.
|
|
|
161:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @arg RTC_TIMESTAMPEDGE_FALLING: the Time stamp event occurs on the
|
|
|
162:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * falling edge of the related pin.
|
|
|
163:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @param RTC_TimeStampPin: specifies the RTC TimeStamp Pin.
|
|
|
164:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * This parameter can be one of the following values:
|
|
|
165:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @arg RTC_TIMESTAMPPIN_DEFAULT: PC13 is selected as RTC TimeStamp Pin on STM32L05x/6
|
|
|
166:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * and PA2 on STM32L03x/4x/2x/1x.
|
|
|
167:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @retval HAL status
|
|
|
168:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** */
|
|
|
169:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** HAL_StatusTypeDef HAL_RTCEx_SetTimeStamp(RTC_HandleTypeDef *hrtc, uint32_t TimeStampEdge, uint32_t
|
|
|
170:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** {
|
|
|
26 .loc 1 170 0
|
|
|
27 .cfi_startproc
|
|
|
28 @ args = 0, pretend = 0, frame = 0
|
|
|
29 @ frame_needed = 0, uses_anonymous_args = 0
|
|
|
30 .LVL0:
|
|
|
31 0000 F0B5 push {r4, r5, r6, r7, lr}
|
|
|
32 .LCFI0:
|
|
|
33 .cfi_def_cfa_offset 20
|
|
|
34 .cfi_offset 4, -20
|
|
|
35 .cfi_offset 5, -16
|
|
|
36 .cfi_offset 6, -12
|
|
|
37 .cfi_offset 7, -8
|
|
|
38 .cfi_offset 14, -4
|
|
|
39 .LVL1:
|
|
|
171:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** uint32_t tmpreg = 0U;
|
|
|
172:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
173:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Check the parameters */
|
|
|
174:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** assert_param(IS_TIMESTAMP_EDGE(TimeStampEdge));
|
|
|
175:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** assert_param(IS_RTC_TIMESTAMP_PIN(RTC_TimeStampPin));
|
|
|
176:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
177:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Process Locked */
|
|
|
178:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __HAL_LOCK(hrtc);
|
|
|
40 .loc 1 178 0
|
|
|
41 0002 2023 movs r3, #32
|
|
|
42 0004 C35C ldrb r3, [r0, r3]
|
|
|
43 0006 012B cmp r3, #1
|
|
|
44 0008 1FD0 beq .L3
|
|
|
45 .loc 1 178 0 is_stmt 0 discriminator 2
|
|
|
46 000a 2022 movs r2, #32
|
|
|
47 .LVL2:
|
|
|
48 000c 0125 movs r5, #1
|
|
|
49 000e 8554 strb r5, [r0, r2]
|
|
|
179:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
180:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** hrtc->State = HAL_RTC_STATE_BUSY;
|
|
|
ARM GAS /tmp/ccjDTEau.s page 5
|
|
|
|
|
|
|
|
|
50 .loc 1 180 0 is_stmt 1 discriminator 2
|
|
|
51 0010 2124 movs r4, #33
|
|
|
52 0012 0223 movs r3, #2
|
|
|
53 0014 0355 strb r3, [r0, r4]
|
|
|
181:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
182:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Get the RTC_CR register and clear the bits to be configured */
|
|
|
183:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** tmpreg = (uint32_t)(hrtc->Instance->CR & (uint32_t)~(RTC_CR_TSEDGE | RTC_CR_TSE));
|
|
|
54 .loc 1 183 0 discriminator 2
|
|
|
55 0016 0668 ldr r6, [r0]
|
|
|
56 0018 B368 ldr r3, [r6, #8]
|
|
|
57 001a 0D4F ldr r7, .L4
|
|
|
58 001c 3B40 ands r3, r7
|
|
|
59 .LVL3:
|
|
|
184:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
185:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** tmpreg|= TimeStampEdge;
|
|
|
60 .loc 1 185 0 discriminator 2
|
|
|
61 001e 1943 orrs r1, r3
|
|
|
62 .LVL4:
|
|
|
186:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
187:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Disable the write protection for RTC registers */
|
|
|
188:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __HAL_RTC_WRITEPROTECTION_DISABLE(hrtc);
|
|
|
63 .loc 1 188 0 discriminator 2
|
|
|
64 0020 CA23 movs r3, #202
|
|
|
65 0022 7362 str r3, [r6, #36]
|
|
|
66 0024 0368 ldr r3, [r0]
|
|
|
67 0026 5326 movs r6, #83
|
|
|
68 0028 5E62 str r6, [r3, #36]
|
|
|
189:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
190:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Configure the Time Stamp TSEDGE and Enable bits */
|
|
|
191:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** hrtc->Instance->CR = (uint32_t)tmpreg;
|
|
|
69 .loc 1 191 0 discriminator 2
|
|
|
70 002a 0368 ldr r3, [r0]
|
|
|
71 002c 9960 str r1, [r3, #8]
|
|
|
192:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
193:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __HAL_RTC_TIMESTAMP_ENABLE(hrtc);
|
|
|
72 .loc 1 193 0 discriminator 2
|
|
|
73 002e 0168 ldr r1, [r0]
|
|
|
74 .LVL5:
|
|
|
75 0030 8E68 ldr r6, [r1, #8]
|
|
|
76 0032 8023 movs r3, #128
|
|
|
77 .LVL6:
|
|
|
78 0034 1B01 lsls r3, r3, #4
|
|
|
79 0036 3343 orrs r3, r6
|
|
|
80 0038 8B60 str r3, [r1, #8]
|
|
|
194:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
195:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Enable the write protection for RTC registers */
|
|
|
196:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __HAL_RTC_WRITEPROTECTION_ENABLE(hrtc);
|
|
|
81 .loc 1 196 0 discriminator 2
|
|
|
82 003a 0368 ldr r3, [r0]
|
|
|
83 003c FF21 movs r1, #255
|
|
|
84 003e 5962 str r1, [r3, #36]
|
|
|
197:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
198:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Change RTC state */
|
|
|
199:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** hrtc->State = HAL_RTC_STATE_READY;
|
|
|
85 .loc 1 199 0 discriminator 2
|
|
|
86 0040 0555 strb r5, [r0, r4]
|
|
|
200:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
ARM GAS /tmp/ccjDTEau.s page 6
|
|
|
|
|
|
|
|
|
201:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Process Unlocked */
|
|
|
202:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __HAL_UNLOCK(hrtc);
|
|
|
87 .loc 1 202 0 discriminator 2
|
|
|
88 0042 0023 movs r3, #0
|
|
|
89 0044 8354 strb r3, [r0, r2]
|
|
|
203:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
204:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** return HAL_OK;
|
|
|
90 .loc 1 204 0 discriminator 2
|
|
|
91 0046 0020 movs r0, #0
|
|
|
92 .LVL7:
|
|
|
93 .L2:
|
|
|
205:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
94 .loc 1 205 0
|
|
|
95 @ sp needed
|
|
|
96 0048 F0BD pop {r4, r5, r6, r7, pc}
|
|
|
97 .LVL8:
|
|
|
98 .L3:
|
|
|
178:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
99 .loc 1 178 0
|
|
|
100 004a 0220 movs r0, #2
|
|
|
101 .LVL9:
|
|
|
102 004c FCE7 b .L2
|
|
|
103 .L5:
|
|
|
104 004e C046 .align 2
|
|
|
105 .L4:
|
|
|
106 0050 F7F7FFFF .word -2057
|
|
|
107 .cfi_endproc
|
|
|
108 .LFE39:
|
|
|
110 .section .text.HAL_RTCEx_SetTimeStamp_IT,"ax",%progbits
|
|
|
111 .align 1
|
|
|
112 .global HAL_RTCEx_SetTimeStamp_IT
|
|
|
113 .syntax unified
|
|
|
114 .code 16
|
|
|
115 .thumb_func
|
|
|
116 .fpu softvfp
|
|
|
118 HAL_RTCEx_SetTimeStamp_IT:
|
|
|
119 .LFB40:
|
|
|
206:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
207:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /**
|
|
|
208:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @brief Set TimeStamp with Interrupt.
|
|
|
209:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @param hrtc: RTC handle
|
|
|
210:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @note This API must be called before enabling the TimeStamp feature.
|
|
|
211:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @param TimeStampEdge: Specifies the pin edge on which the TimeStamp is
|
|
|
212:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * activated.
|
|
|
213:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * This parameter can be one of the following values:
|
|
|
214:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @arg RTC_TIMESTAMPEDGE_RISING: the Time stamp event occurs on the
|
|
|
215:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * rising edge of the related pin.
|
|
|
216:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @arg RTC_TIMESTAMPEDGE_FALLING: the Time stamp event occurs on the
|
|
|
217:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * falling edge of the related pin.
|
|
|
218:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @param RTC_TimeStampPin: Specifies the RTC TimeStamp Pin.
|
|
|
219:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * This parameter can be one of the following values:
|
|
|
220:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @arg RTC_TIMESTAMPPIN_DEFAULT: PC13 is selected as RTC TimeStamp Pin on STM32L05x/6
|
|
|
221:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * and PA2 on STM32L03x/4x/2x/1x.
|
|
|
222:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @retval HAL status
|
|
|
223:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** */
|
|
|
224:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** HAL_StatusTypeDef HAL_RTCEx_SetTimeStamp_IT(RTC_HandleTypeDef *hrtc, uint32_t TimeStampEdge, uint32
|
|
|
225:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** {
|
|
|
ARM GAS /tmp/ccjDTEau.s page 7
|
|
|
|
|
|
|
|
|
120 .loc 1 225 0
|
|
|
121 .cfi_startproc
|
|
|
122 @ args = 0, pretend = 0, frame = 0
|
|
|
123 @ frame_needed = 0, uses_anonymous_args = 0
|
|
|
124 .LVL10:
|
|
|
125 0000 F0B5 push {r4, r5, r6, r7, lr}
|
|
|
126 .LCFI1:
|
|
|
127 .cfi_def_cfa_offset 20
|
|
|
128 .cfi_offset 4, -20
|
|
|
129 .cfi_offset 5, -16
|
|
|
130 .cfi_offset 6, -12
|
|
|
131 .cfi_offset 7, -8
|
|
|
132 .cfi_offset 14, -4
|
|
|
133 .LVL11:
|
|
|
226:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** uint32_t tmpreg = 0U;
|
|
|
227:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
228:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Check the parameters */
|
|
|
229:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** assert_param(IS_TIMESTAMP_EDGE(TimeStampEdge));
|
|
|
230:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** assert_param(IS_RTC_TIMESTAMP_PIN(RTC_TimeStampPin));
|
|
|
231:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
232:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Process Locked */
|
|
|
233:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __HAL_LOCK(hrtc);
|
|
|
134 .loc 1 233 0
|
|
|
135 0002 2023 movs r3, #32
|
|
|
136 0004 C35C ldrb r3, [r0, r3]
|
|
|
137 0006 012B cmp r3, #1
|
|
|
138 0008 2ED0 beq .L8
|
|
|
139 .loc 1 233 0 is_stmt 0 discriminator 2
|
|
|
140 000a 2024 movs r4, #32
|
|
|
141 000c 0126 movs r6, #1
|
|
|
142 000e 0655 strb r6, [r0, r4]
|
|
|
234:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
235:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** hrtc->State = HAL_RTC_STATE_BUSY;
|
|
|
143 .loc 1 235 0 is_stmt 1 discriminator 2
|
|
|
144 0010 2125 movs r5, #33
|
|
|
145 0012 0223 movs r3, #2
|
|
|
146 0014 4355 strb r3, [r0, r5]
|
|
|
236:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
237:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Get the RTC_CR register and clear the bits to be configured */
|
|
|
238:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** tmpreg = (uint32_t)(hrtc->Instance->CR & (uint32_t)~(RTC_CR_TSEDGE | RTC_CR_TSE));
|
|
|
147 .loc 1 238 0 discriminator 2
|
|
|
148 0016 0268 ldr r2, [r0]
|
|
|
149 .LVL12:
|
|
|
150 0018 9368 ldr r3, [r2, #8]
|
|
|
151 001a 144F ldr r7, .L9
|
|
|
152 001c 3B40 ands r3, r7
|
|
|
153 .LVL13:
|
|
|
239:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
240:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** tmpreg |= TimeStampEdge;
|
|
|
154 .loc 1 240 0 discriminator 2
|
|
|
155 001e 1943 orrs r1, r3
|
|
|
156 .LVL14:
|
|
|
241:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
242:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Disable the write protection for RTC registers */
|
|
|
243:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __HAL_RTC_WRITEPROTECTION_DISABLE(hrtc);
|
|
|
157 .loc 1 243 0 discriminator 2
|
|
|
158 0020 CA23 movs r3, #202
|
|
|
ARM GAS /tmp/ccjDTEau.s page 8
|
|
|
|
|
|
|
|
|
159 0022 5362 str r3, [r2, #36]
|
|
|
160 0024 0368 ldr r3, [r0]
|
|
|
161 0026 5322 movs r2, #83
|
|
|
162 0028 5A62 str r2, [r3, #36]
|
|
|
244:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
245:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Configure the Time Stamp TSEDGE and Enable bits */
|
|
|
246:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** hrtc->Instance->CR = (uint32_t)tmpreg;
|
|
|
163 .loc 1 246 0 discriminator 2
|
|
|
164 002a 0368 ldr r3, [r0]
|
|
|
165 002c 9960 str r1, [r3, #8]
|
|
|
247:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
248:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __HAL_RTC_TIMESTAMP_ENABLE(hrtc);
|
|
|
166 .loc 1 248 0 discriminator 2
|
|
|
167 002e 0268 ldr r2, [r0]
|
|
|
168 0030 9168 ldr r1, [r2, #8]
|
|
|
169 .LVL15:
|
|
|
170 0032 8023 movs r3, #128
|
|
|
171 .LVL16:
|
|
|
172 0034 1B01 lsls r3, r3, #4
|
|
|
173 0036 0B43 orrs r3, r1
|
|
|
174 0038 9360 str r3, [r2, #8]
|
|
|
249:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
250:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Enable IT timestamp */
|
|
|
251:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __HAL_RTC_TIMESTAMP_ENABLE_IT(hrtc,RTC_IT_TS);
|
|
|
175 .loc 1 251 0 discriminator 2
|
|
|
176 003a 0268 ldr r2, [r0]
|
|
|
177 003c 9168 ldr r1, [r2, #8]
|
|
|
178 003e 8023 movs r3, #128
|
|
|
179 0040 1B02 lsls r3, r3, #8
|
|
|
180 0042 0B43 orrs r3, r1
|
|
|
181 0044 9360 str r3, [r2, #8]
|
|
|
252:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
253:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* RTC timestamp Interrupt Configuration: EXTI configuration */
|
|
|
254:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __HAL_RTC_TAMPER_TIMESTAMP_EXTI_ENABLE_IT();
|
|
|
182 .loc 1 254 0 discriminator 2
|
|
|
183 0046 0A4B ldr r3, .L9+4
|
|
|
184 0048 1968 ldr r1, [r3]
|
|
|
185 004a 8022 movs r2, #128
|
|
|
186 004c 1203 lsls r2, r2, #12
|
|
|
187 004e 1143 orrs r1, r2
|
|
|
188 0050 1960 str r1, [r3]
|
|
|
255:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
256:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __HAL_RTC_TAMPER_TIMESTAMP_EXTI_ENABLE_RISING_EDGE();
|
|
|
189 .loc 1 256 0 discriminator 2
|
|
|
190 0052 9968 ldr r1, [r3, #8]
|
|
|
191 0054 0A43 orrs r2, r1
|
|
|
192 0056 9A60 str r2, [r3, #8]
|
|
|
257:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
258:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Enable the write protection for RTC registers */
|
|
|
259:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __HAL_RTC_WRITEPROTECTION_ENABLE(hrtc);
|
|
|
193 .loc 1 259 0 discriminator 2
|
|
|
194 0058 0368 ldr r3, [r0]
|
|
|
195 005a FF22 movs r2, #255
|
|
|
196 005c 5A62 str r2, [r3, #36]
|
|
|
260:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
261:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** hrtc->State = HAL_RTC_STATE_READY;
|
|
|
197 .loc 1 261 0 discriminator 2
|
|
|
ARM GAS /tmp/ccjDTEau.s page 9
|
|
|
|
|
|
|
|
|
198 005e 4655 strb r6, [r0, r5]
|
|
|
262:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
263:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Process Unlocked */
|
|
|
264:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __HAL_UNLOCK(hrtc);
|
|
|
199 .loc 1 264 0 discriminator 2
|
|
|
200 0060 0023 movs r3, #0
|
|
|
201 0062 0355 strb r3, [r0, r4]
|
|
|
265:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
266:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** return HAL_OK;
|
|
|
202 .loc 1 266 0 discriminator 2
|
|
|
203 0064 0020 movs r0, #0
|
|
|
204 .LVL17:
|
|
|
205 .L7:
|
|
|
267:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
206 .loc 1 267 0
|
|
|
207 @ sp needed
|
|
|
208 0066 F0BD pop {r4, r5, r6, r7, pc}
|
|
|
209 .LVL18:
|
|
|
210 .L8:
|
|
|
233:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
211 .loc 1 233 0
|
|
|
212 0068 0220 movs r0, #2
|
|
|
213 .LVL19:
|
|
|
214 006a FCE7 b .L7
|
|
|
215 .L10:
|
|
|
216 .align 2
|
|
|
217 .L9:
|
|
|
218 006c F7F7FFFF .word -2057
|
|
|
219 0070 00040140 .word 1073808384
|
|
|
220 .cfi_endproc
|
|
|
221 .LFE40:
|
|
|
223 .section .text.HAL_RTCEx_DeactivateTimeStamp,"ax",%progbits
|
|
|
224 .align 1
|
|
|
225 .global HAL_RTCEx_DeactivateTimeStamp
|
|
|
226 .syntax unified
|
|
|
227 .code 16
|
|
|
228 .thumb_func
|
|
|
229 .fpu softvfp
|
|
|
231 HAL_RTCEx_DeactivateTimeStamp:
|
|
|
232 .LFB41:
|
|
|
268:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
269:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /**
|
|
|
270:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @brief Deactivate TimeStamp.
|
|
|
271:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @param hrtc: RTC handle
|
|
|
272:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @retval HAL status
|
|
|
273:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** */
|
|
|
274:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** HAL_StatusTypeDef HAL_RTCEx_DeactivateTimeStamp(RTC_HandleTypeDef *hrtc)
|
|
|
275:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** {
|
|
|
233 .loc 1 275 0
|
|
|
234 .cfi_startproc
|
|
|
235 @ args = 0, pretend = 0, frame = 0
|
|
|
236 @ frame_needed = 0, uses_anonymous_args = 0
|
|
|
237 .LVL20:
|
|
|
238 0000 70B5 push {r4, r5, r6, lr}
|
|
|
239 .LCFI2:
|
|
|
240 .cfi_def_cfa_offset 16
|
|
|
241 .cfi_offset 4, -16
|
|
|
ARM GAS /tmp/ccjDTEau.s page 10
|
|
|
|
|
|
|
|
|
242 .cfi_offset 5, -12
|
|
|
243 .cfi_offset 6, -8
|
|
|
244 .cfi_offset 14, -4
|
|
|
245 .LVL21:
|
|
|
276:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** uint32_t tmpreg = 0U;
|
|
|
277:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
278:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Process Locked */
|
|
|
279:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __HAL_LOCK(hrtc);
|
|
|
246 .loc 1 279 0
|
|
|
247 0002 2023 movs r3, #32
|
|
|
248 0004 C35C ldrb r3, [r0, r3]
|
|
|
249 0006 012B cmp r3, #1
|
|
|
250 0008 1DD0 beq .L13
|
|
|
251 .loc 1 279 0 is_stmt 0 discriminator 2
|
|
|
252 000a 2022 movs r2, #32
|
|
|
253 000c 0124 movs r4, #1
|
|
|
254 000e 8454 strb r4, [r0, r2]
|
|
|
280:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
281:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** hrtc->State = HAL_RTC_STATE_BUSY;
|
|
|
255 .loc 1 281 0 is_stmt 1 discriminator 2
|
|
|
256 0010 2121 movs r1, #33
|
|
|
257 0012 0223 movs r3, #2
|
|
|
258 0014 4354 strb r3, [r0, r1]
|
|
|
282:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
283:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Disable the write protection for RTC registers */
|
|
|
284:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __HAL_RTC_WRITEPROTECTION_DISABLE(hrtc);
|
|
|
259 .loc 1 284 0 discriminator 2
|
|
|
260 0016 0368 ldr r3, [r0]
|
|
|
261 0018 CA25 movs r5, #202
|
|
|
262 001a 5D62 str r5, [r3, #36]
|
|
|
263 001c 0368 ldr r3, [r0]
|
|
|
264 001e 773D subs r5, r5, #119
|
|
|
265 0020 5D62 str r5, [r3, #36]
|
|
|
285:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
286:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* In case of interrupt mode is used, the interrupt source must disabled */
|
|
|
287:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __HAL_RTC_TIMESTAMP_DISABLE_IT(hrtc, RTC_IT_TS);
|
|
|
266 .loc 1 287 0 discriminator 2
|
|
|
267 0022 0568 ldr r5, [r0]
|
|
|
268 0024 AB68 ldr r3, [r5, #8]
|
|
|
269 0026 094E ldr r6, .L14
|
|
|
270 0028 3340 ands r3, r6
|
|
|
271 002a AB60 str r3, [r5, #8]
|
|
|
288:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
289:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Get the RTC_CR register and clear the bits to be configured */
|
|
|
290:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** tmpreg = (uint32_t)(hrtc->Instance->CR & (uint32_t)~(RTC_CR_TSEDGE | RTC_CR_TSE));
|
|
|
272 .loc 1 290 0 discriminator 2
|
|
|
273 002c 0568 ldr r5, [r0]
|
|
|
274 002e AB68 ldr r3, [r5, #8]
|
|
|
275 0030 074E ldr r6, .L14+4
|
|
|
276 0032 3340 ands r3, r6
|
|
|
277 .LVL22:
|
|
|
291:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
292:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Configure the Time Stamp TSEDGE and Enable bits */
|
|
|
293:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** hrtc->Instance->CR = (uint32_t)tmpreg;
|
|
|
278 .loc 1 293 0 discriminator 2
|
|
|
279 0034 AB60 str r3, [r5, #8]
|
|
|
294:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
ARM GAS /tmp/ccjDTEau.s page 11
|
|
|
|
|
|
|
|
|
295:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Enable the write protection for RTC registers */
|
|
|
296:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __HAL_RTC_WRITEPROTECTION_ENABLE(hrtc);
|
|
|
280 .loc 1 296 0 discriminator 2
|
|
|
281 0036 0368 ldr r3, [r0]
|
|
|
282 .LVL23:
|
|
|
283 0038 FF25 movs r5, #255
|
|
|
284 .LVL24:
|
|
|
285 003a 5D62 str r5, [r3, #36]
|
|
|
297:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
298:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** hrtc->State = HAL_RTC_STATE_READY;
|
|
|
286 .loc 1 298 0 discriminator 2
|
|
|
287 003c 4454 strb r4, [r0, r1]
|
|
|
299:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
300:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Process Unlocked */
|
|
|
301:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __HAL_UNLOCK(hrtc);
|
|
|
288 .loc 1 301 0 discriminator 2
|
|
|
289 003e 0023 movs r3, #0
|
|
|
290 0040 8354 strb r3, [r0, r2]
|
|
|
302:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
303:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** return HAL_OK;
|
|
|
291 .loc 1 303 0 discriminator 2
|
|
|
292 0042 0020 movs r0, #0
|
|
|
293 .LVL25:
|
|
|
294 .L12:
|
|
|
304:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
295 .loc 1 304 0
|
|
|
296 @ sp needed
|
|
|
297 0044 70BD pop {r4, r5, r6, pc}
|
|
|
298 .LVL26:
|
|
|
299 .L13:
|
|
|
279:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
300 .loc 1 279 0
|
|
|
301 0046 0220 movs r0, #2
|
|
|
302 .LVL27:
|
|
|
303 0048 FCE7 b .L12
|
|
|
304 .L15:
|
|
|
305 004a C046 .align 2
|
|
|
306 .L14:
|
|
|
307 004c FF7FFFFF .word -32769
|
|
|
308 0050 F7F7FFFF .word -2057
|
|
|
309 .cfi_endproc
|
|
|
310 .LFE41:
|
|
|
312 .section .text.HAL_RTCEx_GetTimeStamp,"ax",%progbits
|
|
|
313 .align 1
|
|
|
314 .global HAL_RTCEx_GetTimeStamp
|
|
|
315 .syntax unified
|
|
|
316 .code 16
|
|
|
317 .thumb_func
|
|
|
318 .fpu softvfp
|
|
|
320 HAL_RTCEx_GetTimeStamp:
|
|
|
321 .LFB42:
|
|
|
305:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
306:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /**
|
|
|
307:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @brief Get the RTC TimeStamp value.
|
|
|
308:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @param hrtc: RTC handle
|
|
|
309:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
310:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @param sTimeStamp: Pointer to Time structure
|
|
|
ARM GAS /tmp/ccjDTEau.s page 12
|
|
|
|
|
|
|
|
|
311:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @param sTimeStampDate: Pointer to Date structure
|
|
|
312:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @param Format: specifies the format of the entered parameters.
|
|
|
313:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * This parameter can be one of the following values:
|
|
|
314:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @arg RTC_FORMAT_BIN: Binary data format
|
|
|
315:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @arg RTC_FORMAT_BCD: BCD data format
|
|
|
316:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @retval HAL status
|
|
|
317:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** */
|
|
|
318:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** HAL_StatusTypeDef HAL_RTCEx_GetTimeStamp(RTC_HandleTypeDef *hrtc, RTC_TimeTypeDef* sTimeStamp, RTC_
|
|
|
319:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** {
|
|
|
322 .loc 1 319 0
|
|
|
323 .cfi_startproc
|
|
|
324 @ args = 0, pretend = 0, frame = 0
|
|
|
325 @ frame_needed = 0, uses_anonymous_args = 0
|
|
|
326 .LVL28:
|
|
|
327 0000 F8B5 push {r3, r4, r5, r6, r7, lr}
|
|
|
328 .LCFI3:
|
|
|
329 .cfi_def_cfa_offset 24
|
|
|
330 .cfi_offset 3, -24
|
|
|
331 .cfi_offset 4, -20
|
|
|
332 .cfi_offset 5, -16
|
|
|
333 .cfi_offset 6, -12
|
|
|
334 .cfi_offset 7, -8
|
|
|
335 .cfi_offset 14, -4
|
|
|
336 0002 CE46 mov lr, r9
|
|
|
337 0004 4746 mov r7, r8
|
|
|
338 0006 80B5 push {r7, lr}
|
|
|
339 .LCFI4:
|
|
|
340 .cfi_def_cfa_offset 32
|
|
|
341 .cfi_offset 8, -32
|
|
|
342 .cfi_offset 9, -28
|
|
|
343 0008 0600 movs r6, r0
|
|
|
344 000a 0C00 movs r4, r1
|
|
|
345 000c 1500 movs r5, r2
|
|
|
346 000e 9946 mov r9, r3
|
|
|
347 .LVL29:
|
|
|
320:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** uint32_t tmptime = 0U, tmpdate = 0U;
|
|
|
321:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
322:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Check the parameters */
|
|
|
323:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** assert_param(IS_RTC_FORMAT(Format));
|
|
|
324:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
325:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Get the TimeStamp time and date registers values */
|
|
|
326:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** tmptime = (uint32_t)(hrtc->Instance->TSTR & RTC_TR_RESERVED_MASK);
|
|
|
348 .loc 1 326 0
|
|
|
349 0010 0268 ldr r2, [r0]
|
|
|
350 .LVL30:
|
|
|
351 0012 106B ldr r0, [r2, #48]
|
|
|
352 .LVL31:
|
|
|
353 0014 2549 ldr r1, .L19
|
|
|
354 .LVL32:
|
|
|
355 0016 0140 ands r1, r0
|
|
|
356 .LVL33:
|
|
|
327:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** tmpdate = (uint32_t)(hrtc->Instance->TSDR & RTC_DR_RESERVED_MASK);
|
|
|
357 .loc 1 327 0
|
|
|
358 0018 506B ldr r0, [r2, #52]
|
|
|
359 001a 254A ldr r2, .L19+4
|
|
|
360 001c 0240 ands r2, r0
|
|
|
361 .LVL34:
|
|
|
ARM GAS /tmp/ccjDTEau.s page 13
|
|
|
|
|
|
|
|
|
328:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
329:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Fill the Time structure fields with the read parameters */
|
|
|
330:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** sTimeStamp->Hours = (uint8_t)((tmptime & (RTC_TR_HT | RTC_TR_HU)) >> 16U);
|
|
|
362 .loc 1 330 0
|
|
|
363 001e 0B0C lsrs r3, r1, #16
|
|
|
364 .LVL35:
|
|
|
365 0020 9846 mov r8, r3
|
|
|
366 0022 3F20 movs r0, #63
|
|
|
367 0024 1F00 movs r7, r3
|
|
|
368 0026 0740 ands r7, r0
|
|
|
369 0028 2770 strb r7, [r4]
|
|
|
331:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** sTimeStamp->Minutes = (uint8_t)((tmptime & (RTC_TR_MNT | RTC_TR_MNU)) >> 8U);
|
|
|
370 .loc 1 331 0
|
|
|
371 002a 0B0A lsrs r3, r1, #8
|
|
|
372 002c 7F27 movs r7, #127
|
|
|
373 002e 3B40 ands r3, r7
|
|
|
374 0030 6370 strb r3, [r4, #1]
|
|
|
332:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** sTimeStamp->Seconds = (uint8_t)(tmptime & (RTC_TR_ST | RTC_TR_SU));
|
|
|
375 .loc 1 332 0
|
|
|
376 0032 3940 ands r1, r7
|
|
|
377 .LVL36:
|
|
|
378 0034 A170 strb r1, [r4, #2]
|
|
|
333:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** sTimeStamp->TimeFormat = (uint8_t)((tmptime & (RTC_TR_PM)) >> 16U);
|
|
|
379 .loc 1 333 0
|
|
|
380 0036 4021 movs r1, #64
|
|
|
381 0038 4346 mov r3, r8
|
|
|
382 003a 1940 ands r1, r3
|
|
|
383 003c E170 strb r1, [r4, #3]
|
|
|
334:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** sTimeStamp->SubSeconds = (uint32_t) hrtc->Instance->TSSSR;
|
|
|
384 .loc 1 334 0
|
|
|
385 003e 3168 ldr r1, [r6]
|
|
|
386 0040 896B ldr r1, [r1, #56]
|
|
|
387 0042 6160 str r1, [r4, #4]
|
|
|
335:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
336:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Fill the Date structure fields with the read parameters */
|
|
|
337:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** sTimeStampDate->Year = 0U;
|
|
|
388 .loc 1 337 0
|
|
|
389 0044 0021 movs r1, #0
|
|
|
390 0046 E970 strb r1, [r5, #3]
|
|
|
338:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** sTimeStampDate->Month = (uint8_t)((tmpdate & (RTC_DR_MT | RTC_DR_MU)) >> 8U);
|
|
|
391 .loc 1 338 0
|
|
|
392 0048 170A lsrs r7, r2, #8
|
|
|
393 004a 1F31 adds r1, r1, #31
|
|
|
394 004c 3940 ands r1, r7
|
|
|
395 004e 6970 strb r1, [r5, #1]
|
|
|
339:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** sTimeStampDate->Date = (uint8_t)(tmpdate & (RTC_DR_DT | RTC_DR_DU));
|
|
|
396 .loc 1 339 0
|
|
|
397 0050 1040 ands r0, r2
|
|
|
398 0052 A870 strb r0, [r5, #2]
|
|
|
340:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** sTimeStampDate->WeekDay = (uint8_t)((tmpdate & (RTC_DR_WDU)) >> 13U);
|
|
|
399 .loc 1 340 0
|
|
|
400 0054 520B lsrs r2, r2, #13
|
|
|
401 .LVL37:
|
|
|
402 0056 0721 movs r1, #7
|
|
|
403 0058 0A40 ands r2, r1
|
|
|
404 005a 2A70 strb r2, [r5]
|
|
|
341:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
ARM GAS /tmp/ccjDTEau.s page 14
|
|
|
|
|
|
|
|
|
342:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Check the input parameters format */
|
|
|
343:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** if(Format == RTC_FORMAT_BIN)
|
|
|
405 .loc 1 343 0
|
|
|
406 005c 4B46 mov r3, r9
|
|
|
407 005e 002B cmp r3, #0
|
|
|
408 0060 0BD0 beq .L18
|
|
|
409 .L17:
|
|
|
344:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** {
|
|
|
345:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Convert the TimeStamp structure parameters to Binary format */
|
|
|
346:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** sTimeStamp->Hours = (uint8_t)RTC_Bcd2ToByte(sTimeStamp->Hours);
|
|
|
347:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** sTimeStamp->Minutes = (uint8_t)RTC_Bcd2ToByte(sTimeStamp->Minutes);
|
|
|
348:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** sTimeStamp->Seconds = (uint8_t)RTC_Bcd2ToByte(sTimeStamp->Seconds);
|
|
|
349:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
350:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Convert the DateTimeStamp structure parameters to Binary format */
|
|
|
351:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** sTimeStampDate->Month = (uint8_t)RTC_Bcd2ToByte(sTimeStampDate->Month);
|
|
|
352:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** sTimeStampDate->Date = (uint8_t)RTC_Bcd2ToByte(sTimeStampDate->Date);
|
|
|
353:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** sTimeStampDate->WeekDay = (uint8_t)RTC_Bcd2ToByte(sTimeStampDate->WeekDay);
|
|
|
354:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
355:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
356:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Clear the TIMESTAMP Flag */
|
|
|
357:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __HAL_RTC_TIMESTAMP_CLEAR_FLAG(hrtc, RTC_FLAG_TSF);
|
|
|
410 .loc 1 357 0
|
|
|
411 0062 3168 ldr r1, [r6]
|
|
|
412 0064 CA68 ldr r2, [r1, #12]
|
|
|
413 0066 FF23 movs r3, #255
|
|
|
414 0068 1A40 ands r2, r3
|
|
|
415 006a 124B ldr r3, .L19+8
|
|
|
416 006c 1343 orrs r3, r2
|
|
|
417 006e CB60 str r3, [r1, #12]
|
|
|
358:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
359:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** return HAL_OK;
|
|
|
360:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
418 .loc 1 360 0
|
|
|
419 0070 0020 movs r0, #0
|
|
|
420 @ sp needed
|
|
|
421 .LVL38:
|
|
|
422 .LVL39:
|
|
|
423 .LVL40:
|
|
|
424 .LVL41:
|
|
|
425 0072 0CBC pop {r2, r3}
|
|
|
426 0074 9046 mov r8, r2
|
|
|
427 0076 9946 mov r9, r3
|
|
|
428 0078 F8BD pop {r3, r4, r5, r6, r7, pc}
|
|
|
429 .LVL42:
|
|
|
430 .L18:
|
|
|
346:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** sTimeStamp->Minutes = (uint8_t)RTC_Bcd2ToByte(sTimeStamp->Minutes);
|
|
|
431 .loc 1 346 0
|
|
|
432 007a 2078 ldrb r0, [r4]
|
|
|
433 007c FFF7FEFF bl RTC_Bcd2ToByte
|
|
|
434 .LVL43:
|
|
|
435 0080 2070 strb r0, [r4]
|
|
|
347:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** sTimeStamp->Seconds = (uint8_t)RTC_Bcd2ToByte(sTimeStamp->Seconds);
|
|
|
436 .loc 1 347 0
|
|
|
437 0082 6078 ldrb r0, [r4, #1]
|
|
|
438 0084 FFF7FEFF bl RTC_Bcd2ToByte
|
|
|
439 .LVL44:
|
|
|
440 0088 6070 strb r0, [r4, #1]
|
|
|
ARM GAS /tmp/ccjDTEau.s page 15
|
|
|
|
|
|
|
|
|
348:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
441 .loc 1 348 0
|
|
|
442 008a A078 ldrb r0, [r4, #2]
|
|
|
443 008c FFF7FEFF bl RTC_Bcd2ToByte
|
|
|
444 .LVL45:
|
|
|
445 0090 A070 strb r0, [r4, #2]
|
|
|
351:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** sTimeStampDate->Date = (uint8_t)RTC_Bcd2ToByte(sTimeStampDate->Date);
|
|
|
446 .loc 1 351 0
|
|
|
447 0092 6878 ldrb r0, [r5, #1]
|
|
|
448 0094 FFF7FEFF bl RTC_Bcd2ToByte
|
|
|
449 .LVL46:
|
|
|
450 0098 6870 strb r0, [r5, #1]
|
|
|
352:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** sTimeStampDate->WeekDay = (uint8_t)RTC_Bcd2ToByte(sTimeStampDate->WeekDay);
|
|
|
451 .loc 1 352 0
|
|
|
452 009a A878 ldrb r0, [r5, #2]
|
|
|
453 009c FFF7FEFF bl RTC_Bcd2ToByte
|
|
|
454 .LVL47:
|
|
|
455 00a0 A870 strb r0, [r5, #2]
|
|
|
353:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
456 .loc 1 353 0
|
|
|
457 00a2 2878 ldrb r0, [r5]
|
|
|
458 00a4 FFF7FEFF bl RTC_Bcd2ToByte
|
|
|
459 .LVL48:
|
|
|
460 00a8 2870 strb r0, [r5]
|
|
|
461 00aa DAE7 b .L17
|
|
|
462 .L20:
|
|
|
463 .align 2
|
|
|
464 .L19:
|
|
|
465 00ac 7F7F7F00 .word 8355711
|
|
|
466 00b0 3FFFFF00 .word 16777023
|
|
|
467 00b4 7FF7FFFF .word -2177
|
|
|
468 .cfi_endproc
|
|
|
469 .LFE42:
|
|
|
471 .section .text.HAL_RTCEx_SetTamper,"ax",%progbits
|
|
|
472 .align 1
|
|
|
473 .global HAL_RTCEx_SetTamper
|
|
|
474 .syntax unified
|
|
|
475 .code 16
|
|
|
476 .thumb_func
|
|
|
477 .fpu softvfp
|
|
|
479 HAL_RTCEx_SetTamper:
|
|
|
480 .LFB43:
|
|
|
361:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
362:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /**
|
|
|
363:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @brief Set Tamper
|
|
|
364:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @note By calling this API we disable the tamper interrupt for all tampers.
|
|
|
365:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @param hrtc: RTC handle
|
|
|
366:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @param sTamper: Pointer to Tamper Structure.
|
|
|
367:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @retval HAL status
|
|
|
368:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** */
|
|
|
369:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** HAL_StatusTypeDef HAL_RTCEx_SetTamper(RTC_HandleTypeDef *hrtc, RTC_TamperTypeDef* sTamper)
|
|
|
370:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** {
|
|
|
481 .loc 1 370 0
|
|
|
482 .cfi_startproc
|
|
|
483 @ args = 0, pretend = 0, frame = 0
|
|
|
484 @ frame_needed = 0, uses_anonymous_args = 0
|
|
|
485 .LVL49:
|
|
|
ARM GAS /tmp/ccjDTEau.s page 16
|
|
|
|
|
|
|
|
|
486 0000 30B5 push {r4, r5, lr}
|
|
|
487 .LCFI5:
|
|
|
488 .cfi_def_cfa_offset 12
|
|
|
489 .cfi_offset 4, -12
|
|
|
490 .cfi_offset 5, -8
|
|
|
491 .cfi_offset 14, -4
|
|
|
492 .LVL50:
|
|
|
371:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** uint32_t tmpreg = 0U;
|
|
|
372:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
373:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Check the parameters */
|
|
|
374:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** assert_param( IS_RTC_TAMPER(sTamper->Tamper));
|
|
|
375:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** assert_param( IS_RTC_TAMPER_TRIGGER(sTamper->Trigger));
|
|
|
376:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** assert_param(IS_RTC_TAMPER_ERASE_MODE(sTamper->NoErase));
|
|
|
377:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** assert_param(IS_RTC_TAMPER_MASKFLAG_STATE(sTamper->MaskFlag));
|
|
|
378:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** assert_param(IS_RTC_TAMPER_FILTER(sTamper->Filter));
|
|
|
379:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** assert_param(IS_RTC_TAMPER_SAMPLING_FREQ(sTamper->SamplingFrequency));
|
|
|
380:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** assert_param(IS_RTC_TAMPER_PRECHARGE_DURATION(sTamper->PrechargeDuration));
|
|
|
381:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** assert_param(IS_RTC_TAMPER_PULLUP_STATE(sTamper->TamperPullUp));
|
|
|
382:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** assert_param(IS_RTC_TAMPER_TIMESTAMPONTAMPER_DETECTION(sTamper->TimeStampOnTamperDetection));
|
|
|
383:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
384:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Process Locked */
|
|
|
385:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __HAL_LOCK(hrtc);
|
|
|
493 .loc 1 385 0
|
|
|
494 0002 2023 movs r3, #32
|
|
|
495 0004 C35C ldrb r3, [r0, r3]
|
|
|
496 0006 012B cmp r3, #1
|
|
|
497 0008 62D0 beq .L30
|
|
|
498 .loc 1 385 0 is_stmt 0 discriminator 2
|
|
|
499 000a 2023 movs r3, #32
|
|
|
500 000c 0122 movs r2, #1
|
|
|
501 000e C254 strb r2, [r0, r3]
|
|
|
386:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
387:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** hrtc->State = HAL_RTC_STATE_BUSY;
|
|
|
502 .loc 1 387 0 is_stmt 1 discriminator 2
|
|
|
503 0010 0133 adds r3, r3, #1
|
|
|
504 0012 0132 adds r2, r2, #1
|
|
|
505 0014 C254 strb r2, [r0, r3]
|
|
|
388:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
389:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Configure the tamper trigger */
|
|
|
390:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** if(sTamper->Trigger != RTC_TAMPERTRIGGER_RISINGEDGE)
|
|
|
506 .loc 1 390 0 discriminator 2
|
|
|
507 0016 8B68 ldr r3, [r1, #8]
|
|
|
508 0018 002B cmp r3, #0
|
|
|
509 001a 02D0 beq .L23
|
|
|
391:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** {
|
|
|
392:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** sTamper->Trigger = (uint32_t)(sTamper->Tamper << 1U);
|
|
|
510 .loc 1 392 0
|
|
|
511 001c 0B68 ldr r3, [r1]
|
|
|
512 001e 5B00 lsls r3, r3, #1
|
|
|
513 0020 8B60 str r3, [r1, #8]
|
|
|
514 .L23:
|
|
|
393:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
394:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
395:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** if(sTamper->NoErase != RTC_TAMPER_ERASE_BACKUP_ENABLE)
|
|
|
515 .loc 1 395 0
|
|
|
516 0022 CB68 ldr r3, [r1, #12]
|
|
|
517 0024 002B cmp r3, #0
|
|
|
ARM GAS /tmp/ccjDTEau.s page 17
|
|
|
|
|
|
|
|
|
518 0026 15D0 beq .L24
|
|
|
396:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** {
|
|
|
397:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** sTamper->NoErase = 0U;
|
|
|
519 .loc 1 397 0
|
|
|
520 0028 0023 movs r3, #0
|
|
|
521 002a CB60 str r3, [r1, #12]
|
|
|
398:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** #if defined (STM32L063xx) || defined (STM32L062xx) || defined (STM32L061xx) || \
|
|
|
399:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** defined (STM32L053xx) || defined (STM32L052xx) || defined (STM32L051xx) ||\
|
|
|
400:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** defined (STM32L083xx) || defined (STM32L082xx) || defined (STM32L081xx) || \
|
|
|
401:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** defined (STM32L073xx) || defined (STM32L072xx) || defined (STM32L071xx) || \
|
|
|
402:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** defined (STM32L031xx) || defined (STM32L041xx)
|
|
|
403:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
404:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** if((sTamper->Tamper & RTC_TAMPER_1) != 0U)
|
|
|
522 .loc 1 404 0
|
|
|
523 002c 0B68 ldr r3, [r1]
|
|
|
524 002e DA07 lsls r2, r3, #31
|
|
|
525 0030 02D5 bpl .L25
|
|
|
405:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** {
|
|
|
406:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** sTamper->NoErase |= RTC_TAMPCR_TAMP1NOERASE;
|
|
|
526 .loc 1 406 0
|
|
|
527 0032 8022 movs r2, #128
|
|
|
528 0034 9202 lsls r2, r2, #10
|
|
|
529 0036 CA60 str r2, [r1, #12]
|
|
|
530 .L25:
|
|
|
407:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
408:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** #endif /* (STM32L063xx) || (STM32L062xx) || (STM32L061xx) ||
|
|
|
409:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * (STM32L053xx) || (STM32L052xx) || (STM32L051xx) ||
|
|
|
410:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * (STM32L083xx) || (STM32L082xx) || (STM32L081xx) ||
|
|
|
411:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * (STM32L073xx) || (STM32L072xx) || (STM32L071xx) ||
|
|
|
412:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * (STM32L031xx) || (STM32L041xx)
|
|
|
413:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** */
|
|
|
414:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
415:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** if((sTamper->Tamper & RTC_TAMPER_2) != 0U)
|
|
|
531 .loc 1 415 0
|
|
|
532 0038 1A07 lsls r2, r3, #28
|
|
|
533 003a 04D5 bpl .L26
|
|
|
416:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** {
|
|
|
417:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** sTamper->NoErase |= RTC_TAMPCR_TAMP2NOERASE;
|
|
|
534 .loc 1 417 0
|
|
|
535 003c 8022 movs r2, #128
|
|
|
536 003e 5203 lsls r2, r2, #13
|
|
|
537 0040 CC68 ldr r4, [r1, #12]
|
|
|
538 0042 2243 orrs r2, r4
|
|
|
539 0044 CA60 str r2, [r1, #12]
|
|
|
540 .L26:
|
|
|
418:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
419:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** #if defined (STM32L083xx) || defined (STM32L082xx) || defined (STM32L081xx) || \
|
|
|
420:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** defined (STM32L073xx) || defined (STM32L072xx) || defined (STM32L071xx) || \
|
|
|
421:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** defined (STM32L031xx) || defined (STM32L041xx) || defined (STM32L011xx) || defined (STM32L021xx
|
|
|
422:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
423:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** if((sTamper->Tamper & RTC_TAMPER_3) != 0U)
|
|
|
541 .loc 1 423 0
|
|
|
542 0046 9B06 lsls r3, r3, #26
|
|
|
543 0048 04D5 bpl .L24
|
|
|
424:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** {
|
|
|
425:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** sTamper->NoErase |= RTC_TAMPCR_TAMP3NOERASE;
|
|
|
544 .loc 1 425 0
|
|
|
ARM GAS /tmp/ccjDTEau.s page 18
|
|
|
|
|
|
|
|
|
545 004a 8023 movs r3, #128
|
|
|
546 004c 1B04 lsls r3, r3, #16
|
|
|
547 004e CA68 ldr r2, [r1, #12]
|
|
|
548 0050 1343 orrs r3, r2
|
|
|
549 0052 CB60 str r3, [r1, #12]
|
|
|
550 .L24:
|
|
|
426:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
427:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
428:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** #endif /* (STM32L083xx) || (STM32L082xx) || (STM32L081xx) ||
|
|
|
429:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * (STM32L073xx) || (STM32L072xx) || (STM32L071xx) || (STM32L031xx) || (STM32L041xx) || (STM
|
|
|
430:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** */
|
|
|
431:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
432:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
433:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** if(sTamper->MaskFlag != RTC_TAMPERMASK_FLAG_DISABLE)
|
|
|
551 .loc 1 433 0
|
|
|
552 0054 0B69 ldr r3, [r1, #16]
|
|
|
553 0056 002B cmp r3, #0
|
|
|
554 0058 15D0 beq .L27
|
|
|
434:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** {
|
|
|
435:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** sTamper->MaskFlag = 0U;
|
|
|
555 .loc 1 435 0
|
|
|
556 005a 0023 movs r3, #0
|
|
|
557 005c 0B61 str r3, [r1, #16]
|
|
|
436:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
437:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** #if defined (STM32L063xx) || defined (STM32L062xx) || defined (STM32L061xx) || \
|
|
|
438:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** defined (STM32L053xx) || defined (STM32L052xx) || defined (STM32L051xx) ||\
|
|
|
439:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** defined (STM32L083xx) || defined (STM32L082xx) || defined (STM32L081xx) || \
|
|
|
440:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** defined (STM32L073xx) || defined (STM32L072xx) || defined (STM32L071xx) || \
|
|
|
441:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** defined (STM32L031xx) || defined (STM32L041xx)
|
|
|
442:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
443:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** if((sTamper->Tamper & RTC_TAMPER_1) != 0U)
|
|
|
558 .loc 1 443 0
|
|
|
559 005e 0B68 ldr r3, [r1]
|
|
|
560 0060 DA07 lsls r2, r3, #31
|
|
|
561 0062 02D5 bpl .L28
|
|
|
444:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** {
|
|
|
445:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** sTamper->MaskFlag |= RTC_TAMPCR_TAMP1MF;
|
|
|
562 .loc 1 445 0
|
|
|
563 0064 8022 movs r2, #128
|
|
|
564 0066 D202 lsls r2, r2, #11
|
|
|
565 0068 0A61 str r2, [r1, #16]
|
|
|
566 .L28:
|
|
|
446:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
447:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** #endif /* (STM32L063xx) || (STM32L062xx) || (STM32L061xx) ||
|
|
|
448:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * (STM32L053xx) || (STM32L052xx) || (STM32L051xx) ||
|
|
|
449:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * (STM32L083xx) || (STM32L082xx) || (STM32L081xx) ||
|
|
|
450:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * (STM32L073xx) || (STM32L072xx) || (STM32L071xx) ||
|
|
|
451:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * (STM32L031xx) || (STM32L041xx)
|
|
|
452:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** */
|
|
|
453:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
454:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** if((sTamper->Tamper & RTC_TAMPER_2) != 0U)
|
|
|
567 .loc 1 454 0
|
|
|
568 006a 1A07 lsls r2, r3, #28
|
|
|
569 006c 04D5 bpl .L29
|
|
|
455:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** {
|
|
|
456:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** sTamper->MaskFlag |= RTC_TAMPCR_TAMP2MF;
|
|
|
570 .loc 1 456 0
|
|
|
ARM GAS /tmp/ccjDTEau.s page 19
|
|
|
|
|
|
|
|
|
571 006e 8022 movs r2, #128
|
|
|
572 0070 9203 lsls r2, r2, #14
|
|
|
573 0072 0C69 ldr r4, [r1, #16]
|
|
|
574 0074 2243 orrs r2, r4
|
|
|
575 0076 0A61 str r2, [r1, #16]
|
|
|
576 .L29:
|
|
|
457:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
458:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** #if defined (STM32L083xx) || defined (STM32L082xx) || defined (STM32L081xx) || \
|
|
|
459:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** defined (STM32L073xx) || defined (STM32L072xx) || defined (STM32L071xx) || \
|
|
|
460:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** defined (STM32L031xx) || defined (STM32L041xx) || defined (STM32L011xx) || defined (STM32L021xx
|
|
|
461:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
462:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** if((sTamper->Tamper & RTC_TAMPER_3) != 0U)
|
|
|
577 .loc 1 462 0
|
|
|
578 0078 9B06 lsls r3, r3, #26
|
|
|
579 007a 04D5 bpl .L27
|
|
|
463:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** {
|
|
|
464:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** sTamper->MaskFlag |= RTC_TAMPCR_TAMP3MF;
|
|
|
580 .loc 1 464 0
|
|
|
581 007c 8023 movs r3, #128
|
|
|
582 007e 5B04 lsls r3, r3, #17
|
|
|
583 0080 0A69 ldr r2, [r1, #16]
|
|
|
584 0082 1343 orrs r3, r2
|
|
|
585 0084 0B61 str r3, [r1, #16]
|
|
|
586 .L27:
|
|
|
465:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
466:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** #endif /* (STM32L083xx) || (STM32L082xx) || (STM32L081xx) ||
|
|
|
467:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * (STM32L073xx) || (STM32L072xx) || (STM32L071xx) || (STM32L031xx) || (STM32L041xx)|| (STM3
|
|
|
468:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** */
|
|
|
469:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
470:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
471:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Configure the RTC_TAMPCR register */
|
|
|
472:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** tmpreg = (uint32_t)((uint32_t)sTamper->Tamper | (uint32_t)sTamper->Trigger | (uint32_t)sTamper->
|
|
|
587 .loc 1 472 0
|
|
|
588 0086 0A68 ldr r2, [r1]
|
|
|
589 0088 8B68 ldr r3, [r1, #8]
|
|
|
590 008a 1343 orrs r3, r2
|
|
|
591 008c CC68 ldr r4, [r1, #12]
|
|
|
592 008e 2343 orrs r3, r4
|
|
|
593 0090 0C69 ldr r4, [r1, #16]
|
|
|
594 0092 2343 orrs r3, r4
|
|
|
473:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** (uint32_t)sTamper->MaskFlag | (uint32_t)sTamper->Filter | (uint32_t)sTamper->SamplingFr
|
|
|
595 .loc 1 473 0
|
|
|
596 0094 4C69 ldr r4, [r1, #20]
|
|
|
597 0096 2343 orrs r3, r4
|
|
|
598 0098 8C69 ldr r4, [r1, #24]
|
|
|
599 009a 2343 orrs r3, r4
|
|
|
600 009c CC69 ldr r4, [r1, #28]
|
|
|
601 009e 2343 orrs r3, r4
|
|
|
474:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** (uint32_t)sTamper->PrechargeDuration | (uint32_t)sTamper->TamperPullUp | (uint32_t)sTam
|
|
|
602 .loc 1 474 0
|
|
|
603 00a0 0C6A ldr r4, [r1, #32]
|
|
|
604 00a2 2343 orrs r3, r4
|
|
|
605 00a4 496A ldr r1, [r1, #36]
|
|
|
606 .LVL51:
|
|
|
472:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** (uint32_t)sTamper->MaskFlag | (uint32_t)sTamper->Filter | (uint32_t)sTamper->SamplingFr
|
|
|
607 .loc 1 472 0
|
|
|
608 00a6 0B43 orrs r3, r1
|
|
|
ARM GAS /tmp/ccjDTEau.s page 20
|
|
|
|
|
|
|
|
|
609 .LVL52:
|
|
|
475:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
476:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** #if defined (STM32L063xx) || defined (STM32L062xx) || defined (STM32L061xx) || \
|
|
|
477:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** defined (STM32L053xx) || defined (STM32L052xx) || defined (STM32L051xx)
|
|
|
478:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** hrtc->Instance->TAMPCR &= ((uint32_t)~((uint32_t)sTamper->Tamper | (uint32_t)(sTamper->Tamper <<
|
|
|
479:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** RTC_TAMPCR_TAMPFREQ | RTC_TAMPCR_TAMPFLT | RTC_TAMPCR_TAMP
|
|
|
480:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** RTC_TAMPCR_TAMPPUDIS | RTC_TAMPCR_TAMPIE | RTC_TAMPCR_TAMP
|
|
|
481:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** RTC_TAMPCR_TAMP2IE | RTC_TAMPCR_TAMP1NOERASE | RTC_TAMPCR_
|
|
|
482:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** RTC_TAMPCR_TAMP1MF | RTC_TAMPCR_TAMP2MF));
|
|
|
483:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
484:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** #elif defined (STM32L083xx) || defined (STM32L082xx) || defined (STM32L081xx) || \
|
|
|
485:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** defined (STM32L073xx) || defined (STM32L072xx) || defined (STM32L071xx) || \
|
|
|
486:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** defined (STM32L031xx) || defined (STM32L041xx)
|
|
|
487:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** hrtc->Instance->TAMPCR &= ((uint32_t)~((uint32_t)sTamper->Tamper | (uint32_t)(sTamper->Tamper <<
|
|
|
610 .loc 1 487 0
|
|
|
611 00a8 0568 ldr r5, [r0]
|
|
|
612 00aa 296C ldr r1, [r5, #64]
|
|
|
613 00ac 5400 lsls r4, r2, #1
|
|
|
614 00ae 2243 orrs r2, r4
|
|
|
488:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** RTC_TAMPCR_TAMPFREQ | RTC_TAMPCR_TAMPFLT | RTC_TAMPCR_TAMPP
|
|
|
489:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** RTC_TAMPCR_TAMPPUDIS | RTC_TAMPCR_TAMPIE | RTC_TAMPCR_TAMP1
|
|
|
490:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** RTC_TAMPCR_TAMP2IE | RTC_TAMPCR_TAMP3IE | RTC_TAMPCR_TAMP1N
|
|
|
491:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** RTC_TAMPCR_TAMP2NOERASE | RTC_TAMPCR_TAMP3NOERASE | RTC_TAM
|
|
|
492:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** RTC_TAMPCR_TAMP2MF | RTC_TAMPCR_TAMP3MF));
|
|
|
615 .loc 1 492 0
|
|
|
616 00b0 084C ldr r4, .L31
|
|
|
617 00b2 2243 orrs r2, r4
|
|
|
487:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** RTC_TAMPCR_TAMPFREQ | RTC_TAMPCR_TAMPFLT | RTC_TAMPCR_TAMPP
|
|
|
618 .loc 1 487 0
|
|
|
619 00b4 9143 bics r1, r2
|
|
|
620 00b6 2964 str r1, [r5, #64]
|
|
|
493:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
494:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** #elif defined (STM32L011xx) || defined (STM32L021xx)
|
|
|
495:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** hrtc->Instance->TAMPCR &= ((uint32_t)~((uint32_t)sTamper->Tamper | (uint32_t)(sTamper->Tamper <<
|
|
|
496:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** RTC_TAMPCR_TAMPFREQ | RTC_TAMPCR_TAMPFLT | RTC_TAMPCR_TAMPP
|
|
|
497:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** RTC_TAMPCR_TAMPPUDIS | RTC_TAMPCR_TAMPIE
|
|
|
498:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** RTC_TAMPCR_TAMP2IE | RTC_TAMPCR_TAMP3IE
|
|
|
499:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** RTC_TAMPCR_TAMP2NOERASE | RTC_TAMPCR_TAMP3NOERASE
|
|
|
500:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** RTC_TAMPCR_TAMP2MF | RTC_TAMPCR_TAMP3MF));
|
|
|
501:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
502:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** #endif /* (STM32L011xx) || (STM32L021xx)
|
|
|
503:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** */
|
|
|
504:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
505:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** hrtc->Instance->TAMPCR |= tmpreg;
|
|
|
621 .loc 1 505 0
|
|
|
622 00b8 0168 ldr r1, [r0]
|
|
|
623 00ba 0A6C ldr r2, [r1, #64]
|
|
|
624 00bc 1343 orrs r3, r2
|
|
|
625 .LVL53:
|
|
|
626 00be 0B64 str r3, [r1, #64]
|
|
|
506:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
507:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** hrtc->State = HAL_RTC_STATE_READY;
|
|
|
627 .loc 1 507 0
|
|
|
628 00c0 2123 movs r3, #33
|
|
|
629 00c2 0122 movs r2, #1
|
|
|
630 00c4 C254 strb r2, [r0, r3]
|
|
|
508:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
ARM GAS /tmp/ccjDTEau.s page 21
|
|
|
|
|
|
|
|
|
509:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Process Unlocked */
|
|
|
510:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __HAL_UNLOCK(hrtc);
|
|
|
631 .loc 1 510 0
|
|
|
632 00c6 013B subs r3, r3, #1
|
|
|
633 00c8 0022 movs r2, #0
|
|
|
634 00ca C254 strb r2, [r0, r3]
|
|
|
511:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
512:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** return HAL_OK;
|
|
|
635 .loc 1 512 0
|
|
|
636 00cc 0020 movs r0, #0
|
|
|
637 .LVL54:
|
|
|
638 .L22:
|
|
|
513:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
639 .loc 1 513 0
|
|
|
640 @ sp needed
|
|
|
641 00ce 30BD pop {r4, r5, pc}
|
|
|
642 .LVL55:
|
|
|
643 .L30:
|
|
|
385:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
644 .loc 1 385 0
|
|
|
645 00d0 0220 movs r0, #2
|
|
|
646 .LVL56:
|
|
|
647 00d2 FCE7 b .L22
|
|
|
648 .L32:
|
|
|
649 .align 2
|
|
|
650 .L31:
|
|
|
651 00d4 84FFFF01 .word 33554308
|
|
|
652 .cfi_endproc
|
|
|
653 .LFE43:
|
|
|
655 .section .text.HAL_RTCEx_SetTamper_IT,"ax",%progbits
|
|
|
656 .align 1
|
|
|
657 .global HAL_RTCEx_SetTamper_IT
|
|
|
658 .syntax unified
|
|
|
659 .code 16
|
|
|
660 .thumb_func
|
|
|
661 .fpu softvfp
|
|
|
663 HAL_RTCEx_SetTamper_IT:
|
|
|
664 .LFB44:
|
|
|
514:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
515:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /**
|
|
|
516:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @brief Set Tamper with interrupt.
|
|
|
517:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @note By calling this API we force the tamper interrupt for all tampers.
|
|
|
518:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @param hrtc: RTC handle
|
|
|
519:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @param sTamper: Pointer to RTC Tamper.
|
|
|
520:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @retval HAL status
|
|
|
521:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** */
|
|
|
522:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** HAL_StatusTypeDef HAL_RTCEx_SetTamper_IT(RTC_HandleTypeDef *hrtc, RTC_TamperTypeDef* sTamper)
|
|
|
523:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** {
|
|
|
665 .loc 1 523 0
|
|
|
666 .cfi_startproc
|
|
|
667 @ args = 0, pretend = 0, frame = 0
|
|
|
668 @ frame_needed = 0, uses_anonymous_args = 0
|
|
|
669 .LVL57:
|
|
|
670 0000 30B5 push {r4, r5, lr}
|
|
|
671 .LCFI6:
|
|
|
672 .cfi_def_cfa_offset 12
|
|
|
673 .cfi_offset 4, -12
|
|
|
ARM GAS /tmp/ccjDTEau.s page 22
|
|
|
|
|
|
|
|
|
674 .cfi_offset 5, -8
|
|
|
675 .cfi_offset 14, -4
|
|
|
676 .LVL58:
|
|
|
524:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** uint32_t tmpreg = 0U;
|
|
|
525:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
526:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Check the parameters */
|
|
|
527:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** assert_param( IS_RTC_TAMPER(sTamper->Tamper));
|
|
|
528:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** assert_param(IS_RTC_TAMPER_INTERRUPT(sTamper->Interrupt));
|
|
|
529:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** assert_param( IS_RTC_TAMPER_TRIGGER(sTamper->Trigger));
|
|
|
530:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** assert_param(IS_RTC_TAMPER_ERASE_MODE(sTamper->NoErase));
|
|
|
531:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** assert_param(IS_RTC_TAMPER_MASKFLAG_STATE(sTamper->MaskFlag));
|
|
|
532:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** assert_param(IS_RTC_TAMPER_FILTER(sTamper->Filter));
|
|
|
533:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** assert_param(IS_RTC_TAMPER_SAMPLING_FREQ(sTamper->SamplingFrequency));
|
|
|
534:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** assert_param(IS_RTC_TAMPER_PRECHARGE_DURATION(sTamper->PrechargeDuration));
|
|
|
535:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** assert_param(IS_RTC_TAMPER_PULLUP_STATE(sTamper->TamperPullUp));
|
|
|
536:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** assert_param(IS_RTC_TAMPER_TIMESTAMPONTAMPER_DETECTION(sTamper->TimeStampOnTamperDetection));
|
|
|
537:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
538:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Process Locked */
|
|
|
539:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __HAL_LOCK(hrtc);
|
|
|
677 .loc 1 539 0
|
|
|
678 0002 2023 movs r3, #32
|
|
|
679 0004 C35C ldrb r3, [r0, r3]
|
|
|
680 0006 012B cmp r3, #1
|
|
|
681 0008 00D1 bne .LCB637
|
|
|
682 000a 6DE0 b .L42 @long jump
|
|
|
683 .LCB637:
|
|
|
684 .loc 1 539 0 is_stmt 0 discriminator 2
|
|
|
685 000c 2023 movs r3, #32
|
|
|
686 000e 0122 movs r2, #1
|
|
|
687 0010 C254 strb r2, [r0, r3]
|
|
|
540:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
541:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** hrtc->State = HAL_RTC_STATE_BUSY;
|
|
|
688 .loc 1 541 0 is_stmt 1 discriminator 2
|
|
|
689 0012 0133 adds r3, r3, #1
|
|
|
690 0014 0132 adds r2, r2, #1
|
|
|
691 0016 C254 strb r2, [r0, r3]
|
|
|
542:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
543:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Configure the tamper trigger */
|
|
|
544:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** if(sTamper->Trigger != RTC_TAMPERTRIGGER_RISINGEDGE)
|
|
|
692 .loc 1 544 0 discriminator 2
|
|
|
693 0018 8B68 ldr r3, [r1, #8]
|
|
|
694 001a 002B cmp r3, #0
|
|
|
695 001c 02D0 beq .L35
|
|
|
545:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** {
|
|
|
546:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** sTamper->Trigger = (uint32_t)(sTamper->Tamper << 1U);
|
|
|
696 .loc 1 546 0
|
|
|
697 001e 0B68 ldr r3, [r1]
|
|
|
698 0020 5B00 lsls r3, r3, #1
|
|
|
699 0022 8B60 str r3, [r1, #8]
|
|
|
700 .L35:
|
|
|
547:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
548:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
549:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** if(sTamper->NoErase != RTC_TAMPER_ERASE_BACKUP_ENABLE)
|
|
|
701 .loc 1 549 0
|
|
|
702 0024 CB68 ldr r3, [r1, #12]
|
|
|
703 0026 002B cmp r3, #0
|
|
|
704 0028 15D0 beq .L36
|
|
|
ARM GAS /tmp/ccjDTEau.s page 23
|
|
|
|
|
|
|
|
|
550:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** {
|
|
|
551:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** sTamper->NoErase = 0U;
|
|
|
705 .loc 1 551 0
|
|
|
706 002a 0023 movs r3, #0
|
|
|
707 002c CB60 str r3, [r1, #12]
|
|
|
552:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
553:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** #if defined (STM32L063xx) || defined (STM32L062xx) || defined (STM32L061xx) || \
|
|
|
554:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** defined (STM32L053xx) || defined (STM32L052xx) || defined (STM32L051xx) ||\
|
|
|
555:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** defined (STM32L083xx) || defined (STM32L082xx) || defined (STM32L081xx) || \
|
|
|
556:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** defined (STM32L073xx) || defined (STM32L072xx) || defined (STM32L071xx) || \
|
|
|
557:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** defined (STM32L031xx) || defined (STM32L041xx)
|
|
|
558:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
559:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** if((sTamper->Tamper & RTC_TAMPER_1) != 0U)
|
|
|
708 .loc 1 559 0
|
|
|
709 002e 0B68 ldr r3, [r1]
|
|
|
710 0030 DA07 lsls r2, r3, #31
|
|
|
711 0032 02D5 bpl .L37
|
|
|
560:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** {
|
|
|
561:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** sTamper->NoErase |= RTC_TAMPCR_TAMP1NOERASE;
|
|
|
712 .loc 1 561 0
|
|
|
713 0034 8022 movs r2, #128
|
|
|
714 0036 9202 lsls r2, r2, #10
|
|
|
715 0038 CA60 str r2, [r1, #12]
|
|
|
716 .L37:
|
|
|
562:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
563:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** #endif /* (STM32L063xx) || (STM32L062xx) || (STM32L061xx) ||
|
|
|
564:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * (STM32L053xx) || (STM32L052xx) || (STM32L051xx) ||
|
|
|
565:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * (STM32L083xx) || (STM32L082xx) || (STM32L081xx) ||
|
|
|
566:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * (STM32L073xx) || (STM32L072xx) || (STM32L071xx) ||
|
|
|
567:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * (STM32L031xx) || (STM32L041xx)
|
|
|
568:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** */
|
|
|
569:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
570:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
571:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** if((sTamper->Tamper & RTC_TAMPER_2) != 0U)
|
|
|
717 .loc 1 571 0
|
|
|
718 003a 1A07 lsls r2, r3, #28
|
|
|
719 003c 04D5 bpl .L38
|
|
|
572:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** {
|
|
|
573:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** sTamper->NoErase |= RTC_TAMPCR_TAMP2NOERASE;
|
|
|
720 .loc 1 573 0
|
|
|
721 003e 8022 movs r2, #128
|
|
|
722 0040 5203 lsls r2, r2, #13
|
|
|
723 0042 CC68 ldr r4, [r1, #12]
|
|
|
724 0044 2243 orrs r2, r4
|
|
|
725 0046 CA60 str r2, [r1, #12]
|
|
|
726 .L38:
|
|
|
574:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
575:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** #if defined (STM32L083xx) || defined (STM32L082xx) || defined (STM32L081xx) || \
|
|
|
576:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** defined (STM32L073xx) || defined (STM32L072xx) || defined (STM32L071xx) || \
|
|
|
577:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** defined (STM32L031xx) || defined (STM32L041xx) || defined (STM32L011xx) || defined (STM32L021xx
|
|
|
578:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
579:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** if((sTamper->Tamper & RTC_TAMPER_3) != 0U)
|
|
|
727 .loc 1 579 0
|
|
|
728 0048 9B06 lsls r3, r3, #26
|
|
|
729 004a 04D5 bpl .L36
|
|
|
580:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** {
|
|
|
581:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** sTamper->NoErase |= RTC_TAMPCR_TAMP3NOERASE;
|
|
|
ARM GAS /tmp/ccjDTEau.s page 24
|
|
|
|
|
|
|
|
|
730 .loc 1 581 0
|
|
|
731 004c 8023 movs r3, #128
|
|
|
732 004e 1B04 lsls r3, r3, #16
|
|
|
733 0050 CA68 ldr r2, [r1, #12]
|
|
|
734 0052 1343 orrs r3, r2
|
|
|
735 0054 CB60 str r3, [r1, #12]
|
|
|
736 .L36:
|
|
|
582:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
583:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** #endif /* (STM32L083xx) || (STM32L082xx) || (STM32L081xx) ||
|
|
|
584:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * (STM32L073xx) || (STM32L072xx) || (STM32L071xx) || (STM32L031xx) || (STM32L041xx) || (STM
|
|
|
585:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** */
|
|
|
586:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
587:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
588:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** if(sTamper->MaskFlag != RTC_TAMPERMASK_FLAG_DISABLE)
|
|
|
737 .loc 1 588 0
|
|
|
738 0056 0B69 ldr r3, [r1, #16]
|
|
|
739 0058 002B cmp r3, #0
|
|
|
740 005a 15D0 beq .L39
|
|
|
589:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** {
|
|
|
590:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** sTamper->MaskFlag = 0U;
|
|
|
741 .loc 1 590 0
|
|
|
742 005c 0023 movs r3, #0
|
|
|
743 005e 0B61 str r3, [r1, #16]
|
|
|
591:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
592:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** #if defined (STM32L063xx) || defined (STM32L062xx) || defined (STM32L061xx) || \
|
|
|
593:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** defined (STM32L053xx) || defined (STM32L052xx) || defined (STM32L051xx) ||\
|
|
|
594:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** defined (STM32L083xx) || defined (STM32L082xx) || defined (STM32L081xx) || \
|
|
|
595:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** defined (STM32L073xx) || defined (STM32L072xx) || defined (STM32L071xx) || \
|
|
|
596:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** defined (STM32L031xx) || defined (STM32L041xx)
|
|
|
597:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** if((sTamper->Tamper & RTC_TAMPER_1) != 0U)
|
|
|
744 .loc 1 597 0
|
|
|
745 0060 0B68 ldr r3, [r1]
|
|
|
746 0062 DA07 lsls r2, r3, #31
|
|
|
747 0064 02D5 bpl .L40
|
|
|
598:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** {
|
|
|
599:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** sTamper->MaskFlag |= RTC_TAMPCR_TAMP1MF;
|
|
|
748 .loc 1 599 0
|
|
|
749 0066 8022 movs r2, #128
|
|
|
750 0068 D202 lsls r2, r2, #11
|
|
|
751 006a 0A61 str r2, [r1, #16]
|
|
|
752 .L40:
|
|
|
600:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
601:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** #endif /* (STM32L063xx) || (STM32L062xx) || (STM32L061xx) ||
|
|
|
602:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * (STM32L053xx) || (STM32L052xx) || (STM32L051xx) ||
|
|
|
603:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * (STM32L083xx) || (STM32L082xx) || (STM32L081xx) ||
|
|
|
604:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * (STM32L073xx) || (STM32L072xx) || (STM32L071xx) ||
|
|
|
605:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * (STM32L031xx) || (STM32L041xx)
|
|
|
606:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** */
|
|
|
607:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
608:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** if((sTamper->Tamper & RTC_TAMPER_2) != 0U)
|
|
|
753 .loc 1 608 0
|
|
|
754 006c 1A07 lsls r2, r3, #28
|
|
|
755 006e 04D5 bpl .L41
|
|
|
609:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** {
|
|
|
610:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** sTamper->MaskFlag |= RTC_TAMPCR_TAMP2MF;
|
|
|
756 .loc 1 610 0
|
|
|
757 0070 8022 movs r2, #128
|
|
|
ARM GAS /tmp/ccjDTEau.s page 25
|
|
|
|
|
|
|
|
|
758 0072 9203 lsls r2, r2, #14
|
|
|
759 0074 0C69 ldr r4, [r1, #16]
|
|
|
760 0076 2243 orrs r2, r4
|
|
|
761 0078 0A61 str r2, [r1, #16]
|
|
|
762 .L41:
|
|
|
611:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
612:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** #if defined (STM32L083xx) || defined (STM32L082xx) || defined (STM32L081xx) || \
|
|
|
613:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** defined (STM32L073xx) || defined (STM32L072xx) || defined (STM32L071xx) || \
|
|
|
614:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** defined (STM32L031xx) || defined (STM32L041xx) || defined (STM32L011xx) || defined (STM32L021xx
|
|
|
615:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
616:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** if((sTamper->Tamper & RTC_TAMPER_3) != 0U)
|
|
|
763 .loc 1 616 0
|
|
|
764 007a 9B06 lsls r3, r3, #26
|
|
|
765 007c 04D5 bpl .L39
|
|
|
617:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** {
|
|
|
618:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** sTamper->MaskFlag |= RTC_TAMPCR_TAMP3MF;
|
|
|
766 .loc 1 618 0
|
|
|
767 007e 8023 movs r3, #128
|
|
|
768 0080 5B04 lsls r3, r3, #17
|
|
|
769 0082 0A69 ldr r2, [r1, #16]
|
|
|
770 0084 1343 orrs r3, r2
|
|
|
771 0086 0B61 str r3, [r1, #16]
|
|
|
772 .L39:
|
|
|
619:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
620:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** #endif /* (STM32L083xx) || (STM32L082xx) || (STM32L081xx) ||
|
|
|
621:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * (STM32L073xx) || (STM32L072xx) || (STM32L071xx) || (STM32L031xx) || (STM32L041xx) || (STM
|
|
|
622:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** */
|
|
|
623:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
624:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
625:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Configure the RTC_TAMPCR register */
|
|
|
626:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** tmpreg = (uint32_t)((uint32_t)sTamper->Tamper | (uint32_t)sTamper->Interrupt | (uint32_t)sTamper-
|
|
|
773 .loc 1 626 0
|
|
|
774 0088 0A68 ldr r2, [r1]
|
|
|
775 008a 4B68 ldr r3, [r1, #4]
|
|
|
776 008c 1343 orrs r3, r2
|
|
|
777 008e 8C68 ldr r4, [r1, #8]
|
|
|
778 0090 2343 orrs r3, r4
|
|
|
779 0092 CC68 ldr r4, [r1, #12]
|
|
|
780 0094 2343 orrs r3, r4
|
|
|
781 0096 0C69 ldr r4, [r1, #16]
|
|
|
782 0098 2343 orrs r3, r4
|
|
|
627:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** (uint32_t)sTamper->MaskFlag | (uint32_t)sTamper->Filter | (uint32_t)sTamper->SamplingFr
|
|
|
783 .loc 1 627 0
|
|
|
784 009a 4C69 ldr r4, [r1, #20]
|
|
|
785 009c 2343 orrs r3, r4
|
|
|
786 009e 8C69 ldr r4, [r1, #24]
|
|
|
787 00a0 2343 orrs r3, r4
|
|
|
788 00a2 CC69 ldr r4, [r1, #28]
|
|
|
789 00a4 2343 orrs r3, r4
|
|
|
628:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** (uint32_t)sTamper->PrechargeDuration | (uint32_t)sTamper->TamperPullUp | (uint32_t)sTam
|
|
|
790 .loc 1 628 0
|
|
|
791 00a6 0C6A ldr r4, [r1, #32]
|
|
|
792 00a8 2343 orrs r3, r4
|
|
|
793 00aa 496A ldr r1, [r1, #36]
|
|
|
794 .LVL59:
|
|
|
626:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** (uint32_t)sTamper->MaskFlag | (uint32_t)sTamper->Filter | (uint32_t)sTamper->SamplingFr
|
|
|
795 .loc 1 626 0
|
|
|
ARM GAS /tmp/ccjDTEau.s page 26
|
|
|
|
|
|
|
|
|
796 00ac 0B43 orrs r3, r1
|
|
|
797 .LVL60:
|
|
|
629:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
630:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** #if defined (STM32L063xx) || defined (STM32L062xx) || defined (STM32L061xx) || \
|
|
|
631:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** defined (STM32L053xx) || defined (STM32L052xx) || defined (STM32L051xx)
|
|
|
632:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** hrtc->Instance->TAMPCR &= (uint32_t)~((uint32_t)sTamper->Tamper | (uint32_t)(sTamper->Tamper << 1
|
|
|
633:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** RTC_TAMPCR_TAMPFREQ | RTC_TAMPCR_TAMPFLT | RTC_TAMPCR_TAMPPR
|
|
|
634:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** RTC_TAMPCR_TAMPPUDIS | RTC_TAMPCR_TAMPIE | RTC_TAMPCR_TAMP1I
|
|
|
635:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** RTC_TAMPCR_TAMP2IE | RTC_TAMPCR_TAMP1NOERASE | RTC_TAMPCR_TA
|
|
|
636:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** RTC_TAMPCR_TAMP1MF | RTC_TAMPCR_TAMP2MF);
|
|
|
637:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
638:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** #elif defined (STM32L083xx) || defined (STM32L082xx) || defined (STM32L081xx) || \
|
|
|
639:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** defined (STM32L073xx) || defined (STM32L072xx) || defined (STM32L071xx) || \
|
|
|
640:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** defined (STM32L031xx) || defined (STM32L041xx)
|
|
|
641:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** hrtc->Instance->TAMPCR &= (uint32_t)~((uint32_t)sTamper->Tamper | (uint32_t)(sTamper->Tamper << 1
|
|
|
798 .loc 1 641 0
|
|
|
799 00ae 0568 ldr r5, [r0]
|
|
|
800 00b0 296C ldr r1, [r5, #64]
|
|
|
801 00b2 5400 lsls r4, r2, #1
|
|
|
802 00b4 2243 orrs r2, r4
|
|
|
642:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** RTC_TAMPCR_TAMPFREQ | RTC_TAMPCR_TAMPFLT | RTC_TAMPCR_TAMPPR
|
|
|
643:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** RTC_TAMPCR_TAMPPUDIS | RTC_TAMPCR_TAMPIE | RTC_TAMPCR_TAMP1I
|
|
|
644:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** RTC_TAMPCR_TAMP2IE | RTC_TAMPCR_TAMP3IE | RTC_TAMPCR_TAMP1NO
|
|
|
645:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** RTC_TAMPCR_TAMP2NOERASE | RTC_TAMPCR_TAMP3NOERASE | RTC_TAMP
|
|
|
646:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** RTC_TAMPCR_TAMP2MF | RTC_TAMPCR_TAMP3MF);
|
|
|
803 .loc 1 646 0
|
|
|
804 00b6 0D4C ldr r4, .L43
|
|
|
805 00b8 2243 orrs r2, r4
|
|
|
641:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** RTC_TAMPCR_TAMPFREQ | RTC_TAMPCR_TAMPFLT | RTC_TAMPCR_TAMPPR
|
|
|
806 .loc 1 641 0
|
|
|
807 00ba 9143 bics r1, r2
|
|
|
808 00bc 2964 str r1, [r5, #64]
|
|
|
647:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
648:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** #elif defined (STM32L011xx) || defined (STM32L021xx)
|
|
|
649:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** hrtc->Instance->TAMPCR &= (uint32_t)~((uint32_t)sTamper->Tamper | (uint32_t)(sTamper->Tamper << 1
|
|
|
650:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** RTC_TAMPCR_TAMPFREQ | RTC_TAMPCR_TAMPFLT | RTC_TAMPCR_TAMPPR
|
|
|
651:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** RTC_TAMPCR_TAMPPUDIS | RTC_TAMPCR_TAMPIE
|
|
|
652:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** RTC_TAMPCR_TAMP2IE | RTC_TAMPCR_TAMP3IE
|
|
|
653:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** RTC_TAMPCR_TAMP2NOERASE | RTC_TAMPCR_TAMP3NOERASE
|
|
|
654:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** RTC_TAMPCR_TAMP2MF | RTC_TAMPCR_TAMP3MF);
|
|
|
655:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
656:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** #endif /* (STM32L011xx) || (STM32L021xx)
|
|
|
657:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** */
|
|
|
658:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
659:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** hrtc->Instance->TAMPCR |= tmpreg;
|
|
|
809 .loc 1 659 0
|
|
|
810 00be 0168 ldr r1, [r0]
|
|
|
811 00c0 0A6C ldr r2, [r1, #64]
|
|
|
812 00c2 1343 orrs r3, r2
|
|
|
813 .LVL61:
|
|
|
814 00c4 0B64 str r3, [r1, #64]
|
|
|
660:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
661:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* RTC Tamper Interrupt Configuration: EXTI configuration */
|
|
|
662:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __HAL_RTC_TAMPER_TIMESTAMP_EXTI_ENABLE_IT();
|
|
|
815 .loc 1 662 0
|
|
|
816 00c6 0A4B ldr r3, .L43+4
|
|
|
817 00c8 1968 ldr r1, [r3]
|
|
|
ARM GAS /tmp/ccjDTEau.s page 27
|
|
|
|
|
|
|
|
|
818 00ca 8022 movs r2, #128
|
|
|
819 00cc 1203 lsls r2, r2, #12
|
|
|
820 00ce 1143 orrs r1, r2
|
|
|
821 00d0 1960 str r1, [r3]
|
|
|
663:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
664:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __HAL_RTC_TAMPER_TIMESTAMP_EXTI_ENABLE_RISING_EDGE();
|
|
|
822 .loc 1 664 0
|
|
|
823 00d2 9968 ldr r1, [r3, #8]
|
|
|
824 00d4 0A43 orrs r2, r1
|
|
|
825 00d6 9A60 str r2, [r3, #8]
|
|
|
665:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
666:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** hrtc->State = HAL_RTC_STATE_READY;
|
|
|
826 .loc 1 666 0
|
|
|
827 00d8 2123 movs r3, #33
|
|
|
828 00da 0122 movs r2, #1
|
|
|
829 00dc C254 strb r2, [r0, r3]
|
|
|
667:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
668:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Process Unlocked */
|
|
|
669:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __HAL_UNLOCK(hrtc);
|
|
|
830 .loc 1 669 0
|
|
|
831 00de 013B subs r3, r3, #1
|
|
|
832 00e0 0022 movs r2, #0
|
|
|
833 00e2 C254 strb r2, [r0, r3]
|
|
|
670:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
671:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** return HAL_OK;
|
|
|
834 .loc 1 671 0
|
|
|
835 00e4 0020 movs r0, #0
|
|
|
836 .LVL62:
|
|
|
837 .L34:
|
|
|
672:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
838 .loc 1 672 0
|
|
|
839 @ sp needed
|
|
|
840 00e6 30BD pop {r4, r5, pc}
|
|
|
841 .LVL63:
|
|
|
842 .L42:
|
|
|
539:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
843 .loc 1 539 0
|
|
|
844 00e8 0220 movs r0, #2
|
|
|
845 .LVL64:
|
|
|
846 00ea FCE7 b .L34
|
|
|
847 .L44:
|
|
|
848 .align 2
|
|
|
849 .L43:
|
|
|
850 00ec 84FFFF01 .word 33554308
|
|
|
851 00f0 00040140 .word 1073808384
|
|
|
852 .cfi_endproc
|
|
|
853 .LFE44:
|
|
|
855 .section .text.HAL_RTCEx_DeactivateTamper,"ax",%progbits
|
|
|
856 .align 1
|
|
|
857 .global HAL_RTCEx_DeactivateTamper
|
|
|
858 .syntax unified
|
|
|
859 .code 16
|
|
|
860 .thumb_func
|
|
|
861 .fpu softvfp
|
|
|
863 HAL_RTCEx_DeactivateTamper:
|
|
|
864 .LFB45:
|
|
|
673:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
ARM GAS /tmp/ccjDTEau.s page 28
|
|
|
|
|
|
|
|
|
674:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /**
|
|
|
675:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @brief Deactivate Tamper.
|
|
|
676:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @param hrtc: RTC handle
|
|
|
677:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @param Tamper: Selected tamper pin.
|
|
|
678:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * This parameter can be RTC_Tamper_1 and/or RTC_TAMPER_2 for STM32L05x/6x.
|
|
|
679:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * This parameter can be any combination of RTC_TAMPER_1, RTC_TAMPER_2 and RTC_TAMPER_3 f
|
|
|
680:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @retval HAL status
|
|
|
681:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** */
|
|
|
682:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** HAL_StatusTypeDef HAL_RTCEx_DeactivateTamper(RTC_HandleTypeDef *hrtc, uint32_t Tamper)
|
|
|
683:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** {
|
|
|
865 .loc 1 683 0
|
|
|
866 .cfi_startproc
|
|
|
867 @ args = 0, pretend = 0, frame = 0
|
|
|
868 @ frame_needed = 0, uses_anonymous_args = 0
|
|
|
869 .LVL65:
|
|
|
870 0000 10B5 push {r4, lr}
|
|
|
871 .LCFI7:
|
|
|
872 .cfi_def_cfa_offset 8
|
|
|
873 .cfi_offset 4, -8
|
|
|
874 .cfi_offset 14, -4
|
|
|
684:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** assert_param( IS_RTC_TAMPER(Tamper));
|
|
|
685:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
686:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Process Locked */
|
|
|
687:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __HAL_LOCK(hrtc);
|
|
|
875 .loc 1 687 0
|
|
|
876 0002 2023 movs r3, #32
|
|
|
877 0004 C35C ldrb r3, [r0, r3]
|
|
|
878 0006 012B cmp r3, #1
|
|
|
879 0008 26D0 beq .L50
|
|
|
880 .loc 1 687 0 is_stmt 0 discriminator 2
|
|
|
881 000a 0122 movs r2, #1
|
|
|
882 000c 2023 movs r3, #32
|
|
|
883 000e C254 strb r2, [r0, r3]
|
|
|
688:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
689:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** hrtc->State = HAL_RTC_STATE_BUSY;
|
|
|
884 .loc 1 689 0 is_stmt 1 discriminator 2
|
|
|
885 0010 0133 adds r3, r3, #1
|
|
|
886 0012 0224 movs r4, #2
|
|
|
887 0014 C454 strb r4, [r0, r3]
|
|
|
690:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
691:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Disable the selected Tamper pin */
|
|
|
692:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** hrtc->Instance->TAMPCR &= ((uint32_t)~Tamper);
|
|
|
888 .loc 1 692 0 discriminator 2
|
|
|
889 0016 0468 ldr r4, [r0]
|
|
|
890 0018 236C ldr r3, [r4, #64]
|
|
|
891 001a 8B43 bics r3, r1
|
|
|
892 001c 2364 str r3, [r4, #64]
|
|
|
693:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
694:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** #if defined (STM32L063xx) || defined (STM32L062xx) || defined (STM32L061xx) || \
|
|
|
695:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** defined (STM32L053xx) || defined (STM32L052xx) || defined (STM32L051xx) ||\
|
|
|
696:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** defined (STM32L083xx) || defined (STM32L082xx) || defined (STM32L081xx) || \
|
|
|
697:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** defined (STM32L073xx) || defined (STM32L072xx) || defined (STM32L071xx) || \
|
|
|
698:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** defined (STM32L031xx) || defined (STM32L041xx)
|
|
|
699:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** if ((Tamper & RTC_TAMPER_1) != 0U)
|
|
|
893 .loc 1 699 0 discriminator 2
|
|
|
894 001e 0A42 tst r2, r1
|
|
|
895 0020 04D0 beq .L47
|
|
|
ARM GAS /tmp/ccjDTEau.s page 29
|
|
|
|
|
|
|
|
|
700:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** {
|
|
|
701:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Disable the Tamper1 interrupt */
|
|
|
702:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** hrtc->Instance->TAMPCR &= ((uint32_t)~(RTC_IT_TAMP | RTC_IT_TAMP1));
|
|
|
896 .loc 1 702 0
|
|
|
897 0022 0268 ldr r2, [r0]
|
|
|
898 0024 136C ldr r3, [r2, #64]
|
|
|
899 0026 0D4C ldr r4, .L51
|
|
|
900 0028 2340 ands r3, r4
|
|
|
901 002a 1364 str r3, [r2, #64]
|
|
|
902 .L47:
|
|
|
703:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
704:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
705:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** #endif /* (STM32L063xx) || (STM32L062xx) || (STM32L061xx) ||
|
|
|
706:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * (STM32L053xx) || (STM32L052xx) || (STM32L051xx) ||
|
|
|
707:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * (STM32L083xx) || (STM32L082xx) || (STM32L081xx) ||
|
|
|
708:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * (STM32L073xx) || (STM32L072xx) || (STM32L071xx) ||
|
|
|
709:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * (STM32L031xx) || (STM32L041xx)
|
|
|
710:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** */
|
|
|
711:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
712:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** if ((Tamper & RTC_TAMPER_2) != 0U)
|
|
|
903 .loc 1 712 0
|
|
|
904 002c 0B07 lsls r3, r1, #28
|
|
|
905 002e 04D5 bpl .L48
|
|
|
713:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** {
|
|
|
714:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Disable the Tamper2 interrupt */
|
|
|
715:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** hrtc->Instance->TAMPCR &= ((uint32_t)~(RTC_IT_TAMP | RTC_IT_TAMP2));
|
|
|
906 .loc 1 715 0
|
|
|
907 0030 0268 ldr r2, [r0]
|
|
|
908 0032 136C ldr r3, [r2, #64]
|
|
|
909 0034 0A4C ldr r4, .L51+4
|
|
|
910 0036 2340 ands r3, r4
|
|
|
911 0038 1364 str r3, [r2, #64]
|
|
|
912 .L48:
|
|
|
716:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
717:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
718:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** #if defined (STM32L083xx) || defined (STM32L082xx) || defined (STM32L081xx) || \
|
|
|
719:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** defined (STM32L073xx) || defined (STM32L072xx) || defined (STM32L071xx) || \
|
|
|
720:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** defined (STM32L031xx) || defined (STM32L041xx) || defined (STM32L011xx) || defined (STM32L021xx
|
|
|
721:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
722:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** if ((Tamper & RTC_TAMPER_3) != 0U)
|
|
|
913 .loc 1 722 0
|
|
|
914 003a 8B06 lsls r3, r1, #26
|
|
|
915 003c 04D5 bpl .L49
|
|
|
723:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** {
|
|
|
724:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Disable the Tamper3 interrupt */
|
|
|
725:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** hrtc->Instance->TAMPCR &= ((uint32_t)~(RTC_IT_TAMP | RTC_IT_TAMP3));
|
|
|
916 .loc 1 725 0
|
|
|
917 003e 0268 ldr r2, [r0]
|
|
|
918 0040 136C ldr r3, [r2, #64]
|
|
|
919 0042 0849 ldr r1, .L51+8
|
|
|
920 .LVL66:
|
|
|
921 0044 0B40 ands r3, r1
|
|
|
922 0046 1364 str r3, [r2, #64]
|
|
|
923 .L49:
|
|
|
726:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
727:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
728:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** #endif /* (STM32L083xx) || (STM32L082xx) || (STM32L081xx) ||
|
|
|
ARM GAS /tmp/ccjDTEau.s page 30
|
|
|
|
|
|
|
|
|
729:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * (STM32L073xx) || (STM32L072xx) || (STM32L071xx) || (STM32L031xx) || (STM32L041xx) || (STM32L0
|
|
|
730:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** */
|
|
|
731:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
732:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** hrtc->State = HAL_RTC_STATE_READY;
|
|
|
924 .loc 1 732 0
|
|
|
925 0048 2123 movs r3, #33
|
|
|
926 004a 0122 movs r2, #1
|
|
|
927 004c C254 strb r2, [r0, r3]
|
|
|
733:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
734:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Process Unlocked */
|
|
|
735:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __HAL_UNLOCK(hrtc);
|
|
|
928 .loc 1 735 0
|
|
|
929 004e 013B subs r3, r3, #1
|
|
|
930 0050 0022 movs r2, #0
|
|
|
931 0052 C254 strb r2, [r0, r3]
|
|
|
736:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
737:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** return HAL_OK;
|
|
|
932 .loc 1 737 0
|
|
|
933 0054 0020 movs r0, #0
|
|
|
934 .LVL67:
|
|
|
935 .L46:
|
|
|
738:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
936 .loc 1 738 0
|
|
|
937 @ sp needed
|
|
|
938 0056 10BD pop {r4, pc}
|
|
|
939 .LVL68:
|
|
|
940 .L50:
|
|
|
687:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
941 .loc 1 687 0
|
|
|
942 0058 0220 movs r0, #2
|
|
|
943 .LVL69:
|
|
|
944 005a FCE7 b .L46
|
|
|
945 .L52:
|
|
|
946 .align 2
|
|
|
947 .L51:
|
|
|
948 005c FBFFFEFF .word -65541
|
|
|
949 0060 FBFFF7FF .word -524293
|
|
|
950 0064 FBFFBFFF .word -4194309
|
|
|
951 .cfi_endproc
|
|
|
952 .LFE45:
|
|
|
954 .section .text.HAL_RTCEx_TimeStampEventCallback,"ax",%progbits
|
|
|
955 .align 1
|
|
|
956 .weak HAL_RTCEx_TimeStampEventCallback
|
|
|
957 .syntax unified
|
|
|
958 .code 16
|
|
|
959 .thumb_func
|
|
|
960 .fpu softvfp
|
|
|
962 HAL_RTCEx_TimeStampEventCallback:
|
|
|
963 .LFB47:
|
|
|
739:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
740:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /**
|
|
|
741:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @brief Handle TimeStamp interrupt request.
|
|
|
742:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @param hrtc: RTC handle
|
|
|
743:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @retval None
|
|
|
744:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** */
|
|
|
745:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** void HAL_RTCEx_TamperTimeStampIRQHandler(RTC_HandleTypeDef *hrtc)
|
|
|
746:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** {
|
|
|
ARM GAS /tmp/ccjDTEau.s page 31
|
|
|
|
|
|
|
|
|
747:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Get the TimeStamp interrupt source enable status */
|
|
|
748:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** if(__HAL_RTC_TIMESTAMP_GET_IT_SOURCE(hrtc, RTC_IT_TS) != RESET)
|
|
|
749:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** {
|
|
|
750:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Get the pending status of the TIMESTAMP Interrupt */
|
|
|
751:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** if(__HAL_RTC_TIMESTAMP_GET_FLAG(hrtc, RTC_FLAG_TSF) != RESET)
|
|
|
752:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** {
|
|
|
753:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* TIMESTAMP callback */
|
|
|
754:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** HAL_RTCEx_TimeStampEventCallback(hrtc);
|
|
|
755:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
756:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Clear the TIMESTAMP interrupt pending bit */
|
|
|
757:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __HAL_RTC_TIMESTAMP_CLEAR_FLAG(hrtc, RTC_FLAG_TSF);
|
|
|
758:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
759:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
760:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
761:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** #if defined (STM32L063xx) || defined (STM32L062xx) || defined (STM32L061xx) || \
|
|
|
762:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** defined (STM32L053xx) || defined (STM32L052xx) || defined (STM32L051xx) ||\
|
|
|
763:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** defined (STM32L083xx) || defined (STM32L082xx) || defined (STM32L081xx) || \
|
|
|
764:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** defined (STM32L073xx) || defined (STM32L072xx) || defined (STM32L071xx) || \
|
|
|
765:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** defined (STM32L031xx) || defined (STM32L041xx)
|
|
|
766:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
767:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Get the Tamper1 interrupts source enable status */
|
|
|
768:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** if(__HAL_RTC_TAMPER_GET_IT_SOURCE(hrtc, RTC_IT_TAMP | RTC_IT_TAMP1) != RESET)
|
|
|
769:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** {
|
|
|
770:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Get the pending status of the Tamper1 Interrupt */
|
|
|
771:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** if(__HAL_RTC_TAMPER_GET_FLAG(hrtc, RTC_FLAG_TAMP1F) != RESET)
|
|
|
772:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** {
|
|
|
773:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Tamper1 callback */
|
|
|
774:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** HAL_RTCEx_Tamper1EventCallback(hrtc);
|
|
|
775:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
776:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Clear the Tamper1 interrupt pending bit */
|
|
|
777:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __HAL_RTC_TAMPER_CLEAR_FLAG(hrtc, RTC_FLAG_TAMP1F);
|
|
|
778:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
779:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
780:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** #endif /* (STM32L063xx) || (STM32L062xx) || (STM32L061xx) ||
|
|
|
781:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * (STM32L053xx) || (STM32L052xx) || (STM32L051xx) ||
|
|
|
782:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * (STM32L083xx) || (STM32L082xx) || (STM32L081xx) ||
|
|
|
783:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * (STM32L073xx) || (STM32L072xx) || (STM32L071xx) ||
|
|
|
784:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * (STM32L031xx) || (STM32L041xx)
|
|
|
785:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** */
|
|
|
786:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
787:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Get the Tamper2 interrupts source enable status */
|
|
|
788:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** if(__HAL_RTC_TAMPER_GET_IT_SOURCE(hrtc, RTC_IT_TAMP | RTC_IT_TAMP2) != RESET)
|
|
|
789:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** {
|
|
|
790:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Get the pending status of the Tamper2 Interrupt */
|
|
|
791:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** if(__HAL_RTC_TAMPER_GET_FLAG(hrtc, RTC_FLAG_TAMP2F) != RESET)
|
|
|
792:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** {
|
|
|
793:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Tamper2 callback */
|
|
|
794:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** HAL_RTCEx_Tamper2EventCallback(hrtc);
|
|
|
795:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
796:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Clear the Tamper2 interrupt pending bit */
|
|
|
797:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __HAL_RTC_TAMPER_CLEAR_FLAG(hrtc, RTC_FLAG_TAMP2F);
|
|
|
798:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
799:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
800:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
801:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** #if defined (STM32L083xx) || defined (STM32L082xx) || defined (STM32L081xx) || \
|
|
|
802:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** defined (STM32L073xx) || defined (STM32L072xx) || defined (STM32L071xx) || \
|
|
|
803:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** defined (STM32L031xx) || defined (STM32L041xx) || defined (STM32L011xx) || defined (STM32L021xx
|
|
|
ARM GAS /tmp/ccjDTEau.s page 32
|
|
|
|
|
|
|
|
|
804:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
805:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Get the Tamper3 interrupts source enable status */
|
|
|
806:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** if(__HAL_RTC_TAMPER_GET_IT_SOURCE(hrtc, RTC_IT_TAMP | RTC_IT_TAMP3) != RESET)
|
|
|
807:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** {
|
|
|
808:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Get the pending status of the Tamper3 Interrupt */
|
|
|
809:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** if(__HAL_RTC_TAMPER_GET_FLAG(hrtc, RTC_FLAG_TAMP3F) != RESET)
|
|
|
810:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** {
|
|
|
811:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Tamper3 callback */
|
|
|
812:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** HAL_RTCEx_Tamper3EventCallback(hrtc);
|
|
|
813:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
814:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Clear the Tamper3 interrupt pending bit */
|
|
|
815:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __HAL_RTC_TAMPER_CLEAR_FLAG(hrtc, RTC_FLAG_TAMP3F);
|
|
|
816:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
817:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
818:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
819:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** #endif /* (STM32L083xx) || (STM32L082xx) || (STM32L081xx) ||
|
|
|
820:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * (STM32L073xx) || (STM32L072xx) || (STM32L071xx) || (STM32L031xx) || (STM32L041xx) ||
|
|
|
821:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * (STM32L011xx) || (STM32L021xx)
|
|
|
822:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** */
|
|
|
823:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
824:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Clear the EXTI's Flag for RTC TimeStamp and Tamper */
|
|
|
825:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __HAL_RTC_TAMPER_TIMESTAMP_EXTI_CLEAR_FLAG();
|
|
|
826:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
827:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Change RTC state */
|
|
|
828:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** hrtc->State = HAL_RTC_STATE_READY;
|
|
|
829:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
830:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
831:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /**
|
|
|
832:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @brief TimeStamp callback.
|
|
|
833:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @param hrtc: RTC handle
|
|
|
834:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @retval None
|
|
|
835:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** */
|
|
|
836:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __weak void HAL_RTCEx_TimeStampEventCallback(RTC_HandleTypeDef *hrtc)
|
|
|
837:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** {
|
|
|
964 .loc 1 837 0
|
|
|
965 .cfi_startproc
|
|
|
966 @ args = 0, pretend = 0, frame = 0
|
|
|
967 @ frame_needed = 0, uses_anonymous_args = 0
|
|
|
968 @ link register save eliminated.
|
|
|
969 .LVL70:
|
|
|
838:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Prevent unused argument(s) compilation warning */
|
|
|
839:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** UNUSED(hrtc);
|
|
|
840:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
841:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* NOTE : This function should not be modified, when the callback is needed,
|
|
|
842:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** the HAL_RTCEx_TimeStampEventCallback could be implemented in the user file
|
|
|
843:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** */
|
|
|
844:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
970 .loc 1 844 0
|
|
|
971 @ sp needed
|
|
|
972 0000 7047 bx lr
|
|
|
973 .cfi_endproc
|
|
|
974 .LFE47:
|
|
|
976 .section .text.HAL_RTCEx_Tamper1EventCallback,"ax",%progbits
|
|
|
977 .align 1
|
|
|
978 .weak HAL_RTCEx_Tamper1EventCallback
|
|
|
979 .syntax unified
|
|
|
980 .code 16
|
|
|
ARM GAS /tmp/ccjDTEau.s page 33
|
|
|
|
|
|
|
|
|
981 .thumb_func
|
|
|
982 .fpu softvfp
|
|
|
984 HAL_RTCEx_Tamper1EventCallback:
|
|
|
985 .LFB48:
|
|
|
845:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
846:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /**
|
|
|
847:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @brief Tamper 1 callback.
|
|
|
848:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @param hrtc: RTC handle
|
|
|
849:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @retval None
|
|
|
850:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** */
|
|
|
851:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __weak void HAL_RTCEx_Tamper1EventCallback(RTC_HandleTypeDef *hrtc)
|
|
|
852:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** {
|
|
|
986 .loc 1 852 0
|
|
|
987 .cfi_startproc
|
|
|
988 @ args = 0, pretend = 0, frame = 0
|
|
|
989 @ frame_needed = 0, uses_anonymous_args = 0
|
|
|
990 @ link register save eliminated.
|
|
|
991 .LVL71:
|
|
|
853:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Prevent unused argument(s) compilation warning */
|
|
|
854:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** UNUSED(hrtc);
|
|
|
855:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
856:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* NOTE : This function should not be modified, when the callback is needed,
|
|
|
857:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** the HAL_RTCEx_Tamper1EventCallback could be implemented in the user file
|
|
|
858:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** */
|
|
|
859:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
992 .loc 1 859 0
|
|
|
993 @ sp needed
|
|
|
994 0000 7047 bx lr
|
|
|
995 .cfi_endproc
|
|
|
996 .LFE48:
|
|
|
998 .section .text.HAL_RTCEx_Tamper2EventCallback,"ax",%progbits
|
|
|
999 .align 1
|
|
|
1000 .weak HAL_RTCEx_Tamper2EventCallback
|
|
|
1001 .syntax unified
|
|
|
1002 .code 16
|
|
|
1003 .thumb_func
|
|
|
1004 .fpu softvfp
|
|
|
1006 HAL_RTCEx_Tamper2EventCallback:
|
|
|
1007 .LFB49:
|
|
|
860:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
861:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /**
|
|
|
862:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @brief Tamper 2 callback.
|
|
|
863:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @param hrtc: RTC handle
|
|
|
864:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @retval None
|
|
|
865:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** */
|
|
|
866:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __weak void HAL_RTCEx_Tamper2EventCallback(RTC_HandleTypeDef *hrtc)
|
|
|
867:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** {
|
|
|
1008 .loc 1 867 0
|
|
|
1009 .cfi_startproc
|
|
|
1010 @ args = 0, pretend = 0, frame = 0
|
|
|
1011 @ frame_needed = 0, uses_anonymous_args = 0
|
|
|
1012 @ link register save eliminated.
|
|
|
1013 .LVL72:
|
|
|
868:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Prevent unused argument(s) compilation warning */
|
|
|
869:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** UNUSED(hrtc);
|
|
|
870:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
871:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* NOTE : This function should not be modified, when the callback is needed,
|
|
|
ARM GAS /tmp/ccjDTEau.s page 34
|
|
|
|
|
|
|
|
|
872:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** the HAL_RTCEx_Tamper2EventCallback could be implemented in the user file
|
|
|
873:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** */
|
|
|
874:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
1014 .loc 1 874 0
|
|
|
1015 @ sp needed
|
|
|
1016 0000 7047 bx lr
|
|
|
1017 .cfi_endproc
|
|
|
1018 .LFE49:
|
|
|
1020 .section .text.HAL_RTCEx_Tamper3EventCallback,"ax",%progbits
|
|
|
1021 .align 1
|
|
|
1022 .weak HAL_RTCEx_Tamper3EventCallback
|
|
|
1023 .syntax unified
|
|
|
1024 .code 16
|
|
|
1025 .thumb_func
|
|
|
1026 .fpu softvfp
|
|
|
1028 HAL_RTCEx_Tamper3EventCallback:
|
|
|
1029 .LFB50:
|
|
|
875:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
876:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
877:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** #if defined (STM32L083xx) || defined (STM32L082xx) || defined (STM32L081xx) || \
|
|
|
878:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** defined (STM32L073xx) || defined (STM32L072xx) || defined (STM32L071xx) || \
|
|
|
879:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** defined (STM32L031xx) || defined (STM32L041xx) || defined (STM32L011xx) || defined (STM32L021xx
|
|
|
880:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
881:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /**
|
|
|
882:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @brief Tamper 3 callback.
|
|
|
883:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @param hrtc: RTC handle
|
|
|
884:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @retval None
|
|
|
885:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** */
|
|
|
886:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __weak void HAL_RTCEx_Tamper3EventCallback(RTC_HandleTypeDef *hrtc)
|
|
|
887:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** {
|
|
|
1030 .loc 1 887 0
|
|
|
1031 .cfi_startproc
|
|
|
1032 @ args = 0, pretend = 0, frame = 0
|
|
|
1033 @ frame_needed = 0, uses_anonymous_args = 0
|
|
|
1034 @ link register save eliminated.
|
|
|
1035 .LVL73:
|
|
|
888:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Prevent unused argument(s) compilation warning */
|
|
|
889:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** UNUSED(hrtc);
|
|
|
890:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
891:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* NOTE : This function should not be modified, when the callback is needed,
|
|
|
892:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** the HAL_RTCEx_Tamper3EventCallback could be implemented in the user file
|
|
|
893:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** */
|
|
|
894:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
1036 .loc 1 894 0
|
|
|
1037 @ sp needed
|
|
|
1038 0000 7047 bx lr
|
|
|
1039 .cfi_endproc
|
|
|
1040 .LFE50:
|
|
|
1042 .section .text.HAL_RTCEx_TamperTimeStampIRQHandler,"ax",%progbits
|
|
|
1043 .align 1
|
|
|
1044 .global HAL_RTCEx_TamperTimeStampIRQHandler
|
|
|
1045 .syntax unified
|
|
|
1046 .code 16
|
|
|
1047 .thumb_func
|
|
|
1048 .fpu softvfp
|
|
|
1050 HAL_RTCEx_TamperTimeStampIRQHandler:
|
|
|
1051 .LFB46:
|
|
|
ARM GAS /tmp/ccjDTEau.s page 35
|
|
|
|
|
|
|
|
|
746:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Get the TimeStamp interrupt source enable status */
|
|
|
1052 .loc 1 746 0
|
|
|
1053 .cfi_startproc
|
|
|
1054 @ args = 0, pretend = 0, frame = 0
|
|
|
1055 @ frame_needed = 0, uses_anonymous_args = 0
|
|
|
1056 .LVL74:
|
|
|
1057 0000 10B5 push {r4, lr}
|
|
|
1058 .LCFI8:
|
|
|
1059 .cfi_def_cfa_offset 8
|
|
|
1060 .cfi_offset 4, -8
|
|
|
1061 .cfi_offset 14, -4
|
|
|
1062 0002 0400 movs r4, r0
|
|
|
748:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** {
|
|
|
1063 .loc 1 748 0
|
|
|
1064 0004 0368 ldr r3, [r0]
|
|
|
1065 0006 9A68 ldr r2, [r3, #8]
|
|
|
1066 0008 1204 lsls r2, r2, #16
|
|
|
1067 000a 02D5 bpl .L58
|
|
|
751:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** {
|
|
|
1068 .loc 1 751 0
|
|
|
1069 000c DB68 ldr r3, [r3, #12]
|
|
|
1070 000e 1B05 lsls r3, r3, #20
|
|
|
1071 0010 1FD4 bmi .L62
|
|
|
1072 .LVL75:
|
|
|
1073 .L58:
|
|
|
768:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** {
|
|
|
1074 .loc 1 768 0
|
|
|
1075 0012 2368 ldr r3, [r4]
|
|
|
1076 0014 196C ldr r1, [r3, #64]
|
|
|
1077 0016 244A ldr r2, .L66
|
|
|
1078 0018 1142 tst r1, r2
|
|
|
1079 001a 02D0 beq .L59
|
|
|
771:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** {
|
|
|
1080 .loc 1 771 0
|
|
|
1081 001c DB68 ldr r3, [r3, #12]
|
|
|
1082 001e 9B04 lsls r3, r3, #18
|
|
|
1083 0020 21D4 bmi .L63
|
|
|
1084 .L59:
|
|
|
788:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** {
|
|
|
1085 .loc 1 788 0
|
|
|
1086 0022 2368 ldr r3, [r4]
|
|
|
1087 0024 196C ldr r1, [r3, #64]
|
|
|
1088 0026 214A ldr r2, .L66+4
|
|
|
1089 0028 1142 tst r1, r2
|
|
|
1090 002a 02D0 beq .L60
|
|
|
791:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** {
|
|
|
1091 .loc 1 791 0
|
|
|
1092 002c DB68 ldr r3, [r3, #12]
|
|
|
1093 002e 5B04 lsls r3, r3, #17
|
|
|
1094 0030 24D4 bmi .L64
|
|
|
1095 .L60:
|
|
|
806:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** {
|
|
|
1096 .loc 1 806 0
|
|
|
1097 0032 2368 ldr r3, [r4]
|
|
|
1098 0034 196C ldr r1, [r3, #64]
|
|
|
1099 0036 1E4A ldr r2, .L66+8
|
|
|
1100 0038 1142 tst r1, r2
|
|
|
ARM GAS /tmp/ccjDTEau.s page 36
|
|
|
|
|
|
|
|
|
1101 003a 02D0 beq .L61
|
|
|
809:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** {
|
|
|
1102 .loc 1 809 0
|
|
|
1103 003c DB68 ldr r3, [r3, #12]
|
|
|
1104 003e 1B04 lsls r3, r3, #16
|
|
|
1105 0040 27D4 bmi .L65
|
|
|
1106 .L61:
|
|
|
825:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1107 .loc 1 825 0
|
|
|
1108 0042 1C4B ldr r3, .L66+12
|
|
|
1109 0044 8022 movs r2, #128
|
|
|
1110 0046 1203 lsls r2, r2, #12
|
|
|
1111 0048 5A61 str r2, [r3, #20]
|
|
|
828:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
1112 .loc 1 828 0
|
|
|
1113 004a 2123 movs r3, #33
|
|
|
1114 004c 0122 movs r2, #1
|
|
|
1115 004e E254 strb r2, [r4, r3]
|
|
|
829:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1116 .loc 1 829 0
|
|
|
1117 @ sp needed
|
|
|
1118 .LVL76:
|
|
|
1119 0050 10BD pop {r4, pc}
|
|
|
1120 .LVL77:
|
|
|
1121 .L62:
|
|
|
754:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1122 .loc 1 754 0
|
|
|
1123 0052 FFF7FEFF bl HAL_RTCEx_TimeStampEventCallback
|
|
|
1124 .LVL78:
|
|
|
757:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
1125 .loc 1 757 0
|
|
|
1126 0056 2168 ldr r1, [r4]
|
|
|
1127 0058 CA68 ldr r2, [r1, #12]
|
|
|
1128 005a FF23 movs r3, #255
|
|
|
1129 005c 1A40 ands r2, r3
|
|
|
1130 005e 164B ldr r3, .L66+16
|
|
|
1131 0060 1343 orrs r3, r2
|
|
|
1132 0062 CB60 str r3, [r1, #12]
|
|
|
1133 0064 D5E7 b .L58
|
|
|
1134 .L63:
|
|
|
774:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1135 .loc 1 774 0
|
|
|
1136 0066 2000 movs r0, r4
|
|
|
1137 0068 FFF7FEFF bl HAL_RTCEx_Tamper1EventCallback
|
|
|
1138 .LVL79:
|
|
|
777:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
1139 .loc 1 777 0
|
|
|
1140 006c 2168 ldr r1, [r4]
|
|
|
1141 006e CA68 ldr r2, [r1, #12]
|
|
|
1142 0070 FF23 movs r3, #255
|
|
|
1143 0072 1A40 ands r2, r3
|
|
|
1144 0074 114B ldr r3, .L66+20
|
|
|
1145 0076 1343 orrs r3, r2
|
|
|
1146 0078 CB60 str r3, [r1, #12]
|
|
|
1147 007a D2E7 b .L59
|
|
|
1148 .L64:
|
|
|
794:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
ARM GAS /tmp/ccjDTEau.s page 37
|
|
|
|
|
|
|
|
|
1149 .loc 1 794 0
|
|
|
1150 007c 2000 movs r0, r4
|
|
|
1151 007e FFF7FEFF bl HAL_RTCEx_Tamper2EventCallback
|
|
|
1152 .LVL80:
|
|
|
797:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
1153 .loc 1 797 0
|
|
|
1154 0082 2168 ldr r1, [r4]
|
|
|
1155 0084 CA68 ldr r2, [r1, #12]
|
|
|
1156 0086 FF23 movs r3, #255
|
|
|
1157 0088 1A40 ands r2, r3
|
|
|
1158 008a 0D4B ldr r3, .L66+24
|
|
|
1159 008c 1343 orrs r3, r2
|
|
|
1160 008e CB60 str r3, [r1, #12]
|
|
|
1161 0090 CFE7 b .L60
|
|
|
1162 .L65:
|
|
|
812:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1163 .loc 1 812 0
|
|
|
1164 0092 2000 movs r0, r4
|
|
|
1165 0094 FFF7FEFF bl HAL_RTCEx_Tamper3EventCallback
|
|
|
1166 .LVL81:
|
|
|
815:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
1167 .loc 1 815 0
|
|
|
1168 0098 2168 ldr r1, [r4]
|
|
|
1169 009a CA68 ldr r2, [r1, #12]
|
|
|
1170 009c FF23 movs r3, #255
|
|
|
1171 009e 1A40 ands r2, r3
|
|
|
1172 00a0 084B ldr r3, .L66+28
|
|
|
1173 00a2 1343 orrs r3, r2
|
|
|
1174 00a4 CB60 str r3, [r1, #12]
|
|
|
1175 00a6 CCE7 b .L61
|
|
|
1176 .L67:
|
|
|
1177 .align 2
|
|
|
1178 .L66:
|
|
|
1179 00a8 04000100 .word 65540
|
|
|
1180 00ac 04000800 .word 524292
|
|
|
1181 00b0 04004000 .word 4194308
|
|
|
1182 00b4 00040140 .word 1073808384
|
|
|
1183 00b8 7FF7FFFF .word -2177
|
|
|
1184 00bc 7FDFFFFF .word -8321
|
|
|
1185 00c0 7FBFFFFF .word -16513
|
|
|
1186 00c4 7F7FFFFF .word -32897
|
|
|
1187 .cfi_endproc
|
|
|
1188 .LFE46:
|
|
|
1190 .section .text.HAL_RTCEx_PollForTimeStampEvent,"ax",%progbits
|
|
|
1191 .align 1
|
|
|
1192 .global HAL_RTCEx_PollForTimeStampEvent
|
|
|
1193 .syntax unified
|
|
|
1194 .code 16
|
|
|
1195 .thumb_func
|
|
|
1196 .fpu softvfp
|
|
|
1198 HAL_RTCEx_PollForTimeStampEvent:
|
|
|
1199 .LFB51:
|
|
|
895:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
896:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** #endif /* (STM32L083xx) || (STM32L082xx) || (STM32L081xx) ||
|
|
|
897:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * (STM32L073xx) || (STM32L072xx) || (STM32L071xx) || (STM32L031xx) || (STM32L041xx) || (STM32L0
|
|
|
898:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** */
|
|
|
899:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
ARM GAS /tmp/ccjDTEau.s page 38
|
|
|
|
|
|
|
|
|
900:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
901:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /**
|
|
|
902:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @brief Handle TimeStamp polling request.
|
|
|
903:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @param hrtc: RTC handle
|
|
|
904:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @param Timeout: Timeout duration
|
|
|
905:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @retval HAL status
|
|
|
906:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** */
|
|
|
907:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** HAL_StatusTypeDef HAL_RTCEx_PollForTimeStampEvent(RTC_HandleTypeDef *hrtc, uint32_t Timeout)
|
|
|
908:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** {
|
|
|
1200 .loc 1 908 0
|
|
|
1201 .cfi_startproc
|
|
|
1202 @ args = 0, pretend = 0, frame = 0
|
|
|
1203 @ frame_needed = 0, uses_anonymous_args = 0
|
|
|
1204 .LVL82:
|
|
|
1205 0000 70B5 push {r4, r5, r6, lr}
|
|
|
1206 .LCFI9:
|
|
|
1207 .cfi_def_cfa_offset 16
|
|
|
1208 .cfi_offset 4, -16
|
|
|
1209 .cfi_offset 5, -12
|
|
|
1210 .cfi_offset 6, -8
|
|
|
1211 .cfi_offset 14, -4
|
|
|
1212 0002 0500 movs r5, r0
|
|
|
1213 0004 0E00 movs r6, r1
|
|
|
909:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** uint32_t tickstart = HAL_GetTick();
|
|
|
1214 .loc 1 909 0
|
|
|
1215 0006 FFF7FEFF bl HAL_GetTick
|
|
|
1216 .LVL83:
|
|
|
1217 000a 0400 movs r4, r0
|
|
|
1218 .LVL84:
|
|
|
1219 .L72:
|
|
|
910:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
911:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** while(__HAL_RTC_TIMESTAMP_GET_FLAG(hrtc, RTC_FLAG_TSF) == RESET)
|
|
|
1220 .loc 1 911 0
|
|
|
1221 000c 2B68 ldr r3, [r5]
|
|
|
1222 000e DA68 ldr r2, [r3, #12]
|
|
|
1223 0010 1205 lsls r2, r2, #20
|
|
|
1224 0012 1BD4 bmi .L75
|
|
|
912:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** {
|
|
|
913:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** if(__HAL_RTC_TIMESTAMP_GET_FLAG(hrtc, RTC_FLAG_TSOVF) != RESET)
|
|
|
1225 .loc 1 913 0
|
|
|
1226 0014 DA68 ldr r2, [r3, #12]
|
|
|
1227 0016 D204 lsls r2, r2, #19
|
|
|
1228 0018 0DD4 bmi .L76
|
|
|
914:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** {
|
|
|
915:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Clear the TIMESTAMP OverRun Flag */
|
|
|
916:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __HAL_RTC_TIMESTAMP_CLEAR_FLAG(hrtc, RTC_FLAG_TSOVF);
|
|
|
917:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
918:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Change TIMESTAMP state */
|
|
|
919:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** hrtc->State = HAL_RTC_STATE_ERROR;
|
|
|
920:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
921:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** return HAL_ERROR;
|
|
|
922:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
923:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
924:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** if(Timeout != HAL_MAX_DELAY)
|
|
|
1229 .loc 1 924 0
|
|
|
1230 001a 731C adds r3, r6, #1
|
|
|
1231 001c F6D0 beq .L72
|
|
|
ARM GAS /tmp/ccjDTEau.s page 39
|
|
|
|
|
|
|
|
|
925:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** {
|
|
|
926:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** if((Timeout == 0U)||((HAL_GetTick() - tickstart ) > Timeout))
|
|
|
1232 .loc 1 926 0
|
|
|
1233 001e 002E cmp r6, #0
|
|
|
1234 0020 04D0 beq .L73
|
|
|
1235 .loc 1 926 0 is_stmt 0 discriminator 1
|
|
|
1236 0022 FFF7FEFF bl HAL_GetTick
|
|
|
1237 .LVL85:
|
|
|
1238 0026 001B subs r0, r0, r4
|
|
|
1239 0028 B042 cmp r0, r6
|
|
|
1240 002a EFD9 bls .L72
|
|
|
1241 .L73:
|
|
|
927:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** {
|
|
|
928:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** hrtc->State = HAL_RTC_STATE_TIMEOUT;
|
|
|
1242 .loc 1 928 0 is_stmt 1
|
|
|
1243 002c 2123 movs r3, #33
|
|
|
1244 002e 0322 movs r2, #3
|
|
|
1245 0030 EA54 strb r2, [r5, r3]
|
|
|
929:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** return HAL_TIMEOUT;
|
|
|
1246 .loc 1 929 0
|
|
|
1247 0032 0320 movs r0, #3
|
|
|
1248 0034 0EE0 b .L71
|
|
|
1249 .L76:
|
|
|
916:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1250 .loc 1 916 0
|
|
|
1251 0036 D968 ldr r1, [r3, #12]
|
|
|
1252 0038 FF22 movs r2, #255
|
|
|
1253 003a 1140 ands r1, r2
|
|
|
1254 003c 064A ldr r2, .L77
|
|
|
1255 003e 0A43 orrs r2, r1
|
|
|
1256 0040 DA60 str r2, [r3, #12]
|
|
|
919:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1257 .loc 1 919 0
|
|
|
1258 0042 2123 movs r3, #33
|
|
|
1259 0044 0422 movs r2, #4
|
|
|
1260 0046 EA54 strb r2, [r5, r3]
|
|
|
921:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
1261 .loc 1 921 0
|
|
|
1262 0048 0120 movs r0, #1
|
|
|
1263 004a 03E0 b .L71
|
|
|
1264 .L75:
|
|
|
930:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
931:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
932:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
933:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
934:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Change RTC state */
|
|
|
935:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** hrtc->State = HAL_RTC_STATE_READY;
|
|
|
1265 .loc 1 935 0
|
|
|
1266 004c 2123 movs r3, #33
|
|
|
1267 004e 0122 movs r2, #1
|
|
|
1268 0050 EA54 strb r2, [r5, r3]
|
|
|
936:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
937:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** return HAL_OK;
|
|
|
1269 .loc 1 937 0
|
|
|
1270 0052 0020 movs r0, #0
|
|
|
1271 .L71:
|
|
|
938:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
ARM GAS /tmp/ccjDTEau.s page 40
|
|
|
|
|
|
|
|
|
1272 .loc 1 938 0
|
|
|
1273 @ sp needed
|
|
|
1274 .LVL86:
|
|
|
1275 .LVL87:
|
|
|
1276 .LVL88:
|
|
|
1277 0054 70BD pop {r4, r5, r6, pc}
|
|
|
1278 .L78:
|
|
|
1279 0056 C046 .align 2
|
|
|
1280 .L77:
|
|
|
1281 0058 7FEFFFFF .word -4225
|
|
|
1282 .cfi_endproc
|
|
|
1283 .LFE51:
|
|
|
1285 .section .text.HAL_RTCEx_PollForTamper1Event,"ax",%progbits
|
|
|
1286 .align 1
|
|
|
1287 .global HAL_RTCEx_PollForTamper1Event
|
|
|
1288 .syntax unified
|
|
|
1289 .code 16
|
|
|
1290 .thumb_func
|
|
|
1291 .fpu softvfp
|
|
|
1293 HAL_RTCEx_PollForTamper1Event:
|
|
|
1294 .LFB52:
|
|
|
939:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
940:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** #if defined (STM32L063xx) || defined (STM32L062xx) || defined (STM32L061xx) || \
|
|
|
941:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** defined (STM32L053xx) || defined (STM32L052xx) || defined (STM32L051xx) ||\
|
|
|
942:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** defined (STM32L083xx) || defined (STM32L082xx) || defined (STM32L081xx) || \
|
|
|
943:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** defined (STM32L073xx) || defined (STM32L072xx) || defined (STM32L071xx) || \
|
|
|
944:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** defined (STM32L031xx) || defined (STM32L041xx)
|
|
|
945:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /**
|
|
|
946:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @brief Handle Tamper 1 Polling.
|
|
|
947:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @param hrtc: RTC handle
|
|
|
948:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @param Timeout: Timeout duration
|
|
|
949:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @retval HAL status
|
|
|
950:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** */
|
|
|
951:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** HAL_StatusTypeDef HAL_RTCEx_PollForTamper1Event(RTC_HandleTypeDef *hrtc, uint32_t Timeout)
|
|
|
952:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** {
|
|
|
1295 .loc 1 952 0
|
|
|
1296 .cfi_startproc
|
|
|
1297 @ args = 0, pretend = 0, frame = 0
|
|
|
1298 @ frame_needed = 0, uses_anonymous_args = 0
|
|
|
1299 .LVL89:
|
|
|
1300 0000 70B5 push {r4, r5, r6, lr}
|
|
|
1301 .LCFI10:
|
|
|
1302 .cfi_def_cfa_offset 16
|
|
|
1303 .cfi_offset 4, -16
|
|
|
1304 .cfi_offset 5, -12
|
|
|
1305 .cfi_offset 6, -8
|
|
|
1306 .cfi_offset 14, -4
|
|
|
1307 0002 0400 movs r4, r0
|
|
|
1308 0004 0D00 movs r5, r1
|
|
|
953:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** uint32_t tickstart = HAL_GetTick();
|
|
|
1309 .loc 1 953 0
|
|
|
1310 0006 FFF7FEFF bl HAL_GetTick
|
|
|
1311 .LVL90:
|
|
|
1312 000a 0600 movs r6, r0
|
|
|
1313 .LVL91:
|
|
|
1314 .L81:
|
|
|
954:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
ARM GAS /tmp/ccjDTEau.s page 41
|
|
|
|
|
|
|
|
|
955:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Get the status of the Interrupt */
|
|
|
956:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** while(__HAL_RTC_TAMPER_GET_FLAG(hrtc, RTC_FLAG_TAMP1F)== RESET)
|
|
|
1315 .loc 1 956 0
|
|
|
1316 000c 2368 ldr r3, [r4]
|
|
|
1317 000e DA68 ldr r2, [r3, #12]
|
|
|
1318 0010 9204 lsls r2, r2, #18
|
|
|
1319 0012 0DD4 bmi .L85
|
|
|
957:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** {
|
|
|
958:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** if(Timeout != HAL_MAX_DELAY)
|
|
|
1320 .loc 1 958 0
|
|
|
1321 0014 6B1C adds r3, r5, #1
|
|
|
1322 0016 F9D0 beq .L81
|
|
|
959:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** {
|
|
|
960:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** if((Timeout == 0U)||((HAL_GetTick() - tickstart ) > Timeout))
|
|
|
1323 .loc 1 960 0
|
|
|
1324 0018 002D cmp r5, #0
|
|
|
1325 001a 04D0 beq .L82
|
|
|
1326 .loc 1 960 0 is_stmt 0 discriminator 1
|
|
|
1327 001c FFF7FEFF bl HAL_GetTick
|
|
|
1328 .LVL92:
|
|
|
1329 0020 801B subs r0, r0, r6
|
|
|
1330 0022 A842 cmp r0, r5
|
|
|
1331 0024 F2D9 bls .L81
|
|
|
1332 .L82:
|
|
|
961:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** {
|
|
|
962:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** hrtc->State = HAL_RTC_STATE_TIMEOUT;
|
|
|
1333 .loc 1 962 0 is_stmt 1
|
|
|
1334 0026 2123 movs r3, #33
|
|
|
1335 0028 0322 movs r2, #3
|
|
|
1336 002a E254 strb r2, [r4, r3]
|
|
|
963:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** return HAL_TIMEOUT;
|
|
|
1337 .loc 1 963 0
|
|
|
1338 002c 0320 movs r0, #3
|
|
|
1339 002e 09E0 b .L83
|
|
|
1340 .L85:
|
|
|
964:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
965:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
966:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
967:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
968:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Clear the Tamper Flag */
|
|
|
969:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __HAL_RTC_TAMPER_CLEAR_FLAG(hrtc,RTC_FLAG_TAMP1F);
|
|
|
1341 .loc 1 969 0
|
|
|
1342 0030 D968 ldr r1, [r3, #12]
|
|
|
1343 0032 FF22 movs r2, #255
|
|
|
1344 0034 1140 ands r1, r2
|
|
|
1345 0036 044A ldr r2, .L86
|
|
|
1346 0038 0A43 orrs r2, r1
|
|
|
1347 003a DA60 str r2, [r3, #12]
|
|
|
970:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
971:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Change RTC state */
|
|
|
972:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** hrtc->State = HAL_RTC_STATE_READY;
|
|
|
1348 .loc 1 972 0
|
|
|
1349 003c 2123 movs r3, #33
|
|
|
1350 003e 0122 movs r2, #1
|
|
|
1351 0040 E254 strb r2, [r4, r3]
|
|
|
973:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
974:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** return HAL_OK;
|
|
|
ARM GAS /tmp/ccjDTEau.s page 42
|
|
|
|
|
|
|
|
|
1352 .loc 1 974 0
|
|
|
1353 0042 0020 movs r0, #0
|
|
|
1354 .L83:
|
|
|
975:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
1355 .loc 1 975 0
|
|
|
1356 @ sp needed
|
|
|
1357 .LVL93:
|
|
|
1358 .LVL94:
|
|
|
1359 .LVL95:
|
|
|
1360 0044 70BD pop {r4, r5, r6, pc}
|
|
|
1361 .L87:
|
|
|
1362 0046 C046 .align 2
|
|
|
1363 .L86:
|
|
|
1364 0048 7FDFFFFF .word -8321
|
|
|
1365 .cfi_endproc
|
|
|
1366 .LFE52:
|
|
|
1368 .section .text.HAL_RTCEx_PollForTamper2Event,"ax",%progbits
|
|
|
1369 .align 1
|
|
|
1370 .global HAL_RTCEx_PollForTamper2Event
|
|
|
1371 .syntax unified
|
|
|
1372 .code 16
|
|
|
1373 .thumb_func
|
|
|
1374 .fpu softvfp
|
|
|
1376 HAL_RTCEx_PollForTamper2Event:
|
|
|
1377 .LFB53:
|
|
|
976:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** #endif /* (STM32L063xx) || (STM32L062xx) || (STM32L061xx) ||
|
|
|
977:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * (STM32L053xx) || (STM32L052xx) || (STM32L051xx) ||
|
|
|
978:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * (STM32L083xx) || (STM32L082xx) || (STM32L081xx) ||
|
|
|
979:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * (STM32L073xx) || (STM32L072xx) || (STM32L071xx) ||
|
|
|
980:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * (STM32L031xx) || (STM32L041xx)
|
|
|
981:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** */
|
|
|
982:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
983:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /**
|
|
|
984:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @brief Handle Tamper 2 Polling.
|
|
|
985:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @param hrtc: RTC handle
|
|
|
986:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @param Timeout: Timeout duration
|
|
|
987:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @retval HAL status
|
|
|
988:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** */
|
|
|
989:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** HAL_StatusTypeDef HAL_RTCEx_PollForTamper2Event(RTC_HandleTypeDef *hrtc, uint32_t Timeout)
|
|
|
990:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** {
|
|
|
1378 .loc 1 990 0
|
|
|
1379 .cfi_startproc
|
|
|
1380 @ args = 0, pretend = 0, frame = 0
|
|
|
1381 @ frame_needed = 0, uses_anonymous_args = 0
|
|
|
1382 .LVL96:
|
|
|
1383 0000 70B5 push {r4, r5, r6, lr}
|
|
|
1384 .LCFI11:
|
|
|
1385 .cfi_def_cfa_offset 16
|
|
|
1386 .cfi_offset 4, -16
|
|
|
1387 .cfi_offset 5, -12
|
|
|
1388 .cfi_offset 6, -8
|
|
|
1389 .cfi_offset 14, -4
|
|
|
1390 0002 0400 movs r4, r0
|
|
|
1391 0004 0D00 movs r5, r1
|
|
|
991:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** uint32_t tickstart = HAL_GetTick();
|
|
|
1392 .loc 1 991 0
|
|
|
1393 0006 FFF7FEFF bl HAL_GetTick
|
|
|
ARM GAS /tmp/ccjDTEau.s page 43
|
|
|
|
|
|
|
|
|
1394 .LVL97:
|
|
|
1395 000a 0600 movs r6, r0
|
|
|
1396 .LVL98:
|
|
|
1397 .L90:
|
|
|
992:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
993:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Get the status of the Interrupt */
|
|
|
994:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** while(__HAL_RTC_TAMPER_GET_FLAG(hrtc, RTC_FLAG_TAMP2F) == RESET)
|
|
|
1398 .loc 1 994 0
|
|
|
1399 000c 2368 ldr r3, [r4]
|
|
|
1400 000e DA68 ldr r2, [r3, #12]
|
|
|
1401 0010 5204 lsls r2, r2, #17
|
|
|
1402 0012 0DD4 bmi .L94
|
|
|
995:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** {
|
|
|
996:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** if(Timeout != HAL_MAX_DELAY)
|
|
|
1403 .loc 1 996 0
|
|
|
1404 0014 6B1C adds r3, r5, #1
|
|
|
1405 0016 F9D0 beq .L90
|
|
|
997:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** {
|
|
|
998:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** if((Timeout == 0U)||((HAL_GetTick() - tickstart ) > Timeout))
|
|
|
1406 .loc 1 998 0
|
|
|
1407 0018 002D cmp r5, #0
|
|
|
1408 001a 04D0 beq .L91
|
|
|
1409 .loc 1 998 0 is_stmt 0 discriminator 1
|
|
|
1410 001c FFF7FEFF bl HAL_GetTick
|
|
|
1411 .LVL99:
|
|
|
1412 0020 801B subs r0, r0, r6
|
|
|
1413 0022 A842 cmp r0, r5
|
|
|
1414 0024 F2D9 bls .L90
|
|
|
1415 .L91:
|
|
|
999:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** {
|
|
|
1000:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** hrtc->State = HAL_RTC_STATE_TIMEOUT;
|
|
|
1416 .loc 1 1000 0 is_stmt 1
|
|
|
1417 0026 2123 movs r3, #33
|
|
|
1418 0028 0322 movs r2, #3
|
|
|
1419 002a E254 strb r2, [r4, r3]
|
|
|
1001:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** return HAL_TIMEOUT;
|
|
|
1420 .loc 1 1001 0
|
|
|
1421 002c 0320 movs r0, #3
|
|
|
1422 002e 09E0 b .L92
|
|
|
1423 .L94:
|
|
|
1002:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
1003:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
1004:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
1005:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1006:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Clear the Tamper Flag */
|
|
|
1007:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __HAL_RTC_TAMPER_CLEAR_FLAG(hrtc,RTC_FLAG_TAMP2F);
|
|
|
1424 .loc 1 1007 0
|
|
|
1425 0030 D968 ldr r1, [r3, #12]
|
|
|
1426 0032 FF22 movs r2, #255
|
|
|
1427 0034 1140 ands r1, r2
|
|
|
1428 0036 044A ldr r2, .L95
|
|
|
1429 0038 0A43 orrs r2, r1
|
|
|
1430 003a DA60 str r2, [r3, #12]
|
|
|
1008:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1009:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Change RTC state */
|
|
|
1010:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** hrtc->State = HAL_RTC_STATE_READY;
|
|
|
1431 .loc 1 1010 0
|
|
|
ARM GAS /tmp/ccjDTEau.s page 44
|
|
|
|
|
|
|
|
|
1432 003c 2123 movs r3, #33
|
|
|
1433 003e 0122 movs r2, #1
|
|
|
1434 0040 E254 strb r2, [r4, r3]
|
|
|
1011:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1012:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** return HAL_OK;
|
|
|
1435 .loc 1 1012 0
|
|
|
1436 0042 0020 movs r0, #0
|
|
|
1437 .L92:
|
|
|
1013:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
1438 .loc 1 1013 0
|
|
|
1439 @ sp needed
|
|
|
1440 .LVL100:
|
|
|
1441 .LVL101:
|
|
|
1442 .LVL102:
|
|
|
1443 0044 70BD pop {r4, r5, r6, pc}
|
|
|
1444 .L96:
|
|
|
1445 0046 C046 .align 2
|
|
|
1446 .L95:
|
|
|
1447 0048 7FBFFFFF .word -16513
|
|
|
1448 .cfi_endproc
|
|
|
1449 .LFE53:
|
|
|
1451 .section .text.HAL_RTCEx_PollForTamper3Event,"ax",%progbits
|
|
|
1452 .align 1
|
|
|
1453 .global HAL_RTCEx_PollForTamper3Event
|
|
|
1454 .syntax unified
|
|
|
1455 .code 16
|
|
|
1456 .thumb_func
|
|
|
1457 .fpu softvfp
|
|
|
1459 HAL_RTCEx_PollForTamper3Event:
|
|
|
1460 .LFB54:
|
|
|
1014:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1015:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1016:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** #if defined (STM32L083xx) || defined (STM32L082xx) || defined (STM32L081xx) || \
|
|
|
1017:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** defined (STM32L073xx) || defined (STM32L072xx) || defined (STM32L071xx) || \
|
|
|
1018:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** defined (STM32L031xx) || defined (STM32L041xx) || defined (STM32L011xx) || defined (STM32L021xx
|
|
|
1019:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1020:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /**
|
|
|
1021:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @brief Handle Tamper 3 Polling.
|
|
|
1022:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @param hrtc: RTC handle
|
|
|
1023:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @param Timeout: Timeout duration
|
|
|
1024:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @retval HAL status
|
|
|
1025:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** */
|
|
|
1026:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** HAL_StatusTypeDef HAL_RTCEx_PollForTamper3Event(RTC_HandleTypeDef *hrtc, uint32_t Timeout)
|
|
|
1027:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** {
|
|
|
1461 .loc 1 1027 0
|
|
|
1462 .cfi_startproc
|
|
|
1463 @ args = 0, pretend = 0, frame = 0
|
|
|
1464 @ frame_needed = 0, uses_anonymous_args = 0
|
|
|
1465 .LVL103:
|
|
|
1466 0000 70B5 push {r4, r5, r6, lr}
|
|
|
1467 .LCFI12:
|
|
|
1468 .cfi_def_cfa_offset 16
|
|
|
1469 .cfi_offset 4, -16
|
|
|
1470 .cfi_offset 5, -12
|
|
|
1471 .cfi_offset 6, -8
|
|
|
1472 .cfi_offset 14, -4
|
|
|
1473 0002 0400 movs r4, r0
|
|
|
ARM GAS /tmp/ccjDTEau.s page 45
|
|
|
|
|
|
|
|
|
1474 0004 0D00 movs r5, r1
|
|
|
1028:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** uint32_t tickstart = HAL_GetTick();
|
|
|
1475 .loc 1 1028 0
|
|
|
1476 0006 FFF7FEFF bl HAL_GetTick
|
|
|
1477 .LVL104:
|
|
|
1478 000a 0600 movs r6, r0
|
|
|
1479 .LVL105:
|
|
|
1480 .L99:
|
|
|
1029:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1030:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Get the status of the Interrupt */
|
|
|
1031:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** while(__HAL_RTC_TAMPER_GET_FLAG(hrtc,RTC_FLAG_TAMP3F) == RESET)
|
|
|
1481 .loc 1 1031 0
|
|
|
1482 000c 2368 ldr r3, [r4]
|
|
|
1483 000e DA68 ldr r2, [r3, #12]
|
|
|
1484 0010 1204 lsls r2, r2, #16
|
|
|
1485 0012 0DD4 bmi .L103
|
|
|
1032:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** {
|
|
|
1033:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** if(Timeout != HAL_MAX_DELAY)
|
|
|
1486 .loc 1 1033 0
|
|
|
1487 0014 6B1C adds r3, r5, #1
|
|
|
1488 0016 F9D0 beq .L99
|
|
|
1034:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** {
|
|
|
1035:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** if((Timeout == 0U) || ((HAL_GetTick()-tickstart) > Timeout))
|
|
|
1489 .loc 1 1035 0
|
|
|
1490 0018 002D cmp r5, #0
|
|
|
1491 001a 04D0 beq .L100
|
|
|
1492 .loc 1 1035 0 is_stmt 0 discriminator 1
|
|
|
1493 001c FFF7FEFF bl HAL_GetTick
|
|
|
1494 .LVL106:
|
|
|
1495 0020 801B subs r0, r0, r6
|
|
|
1496 0022 A842 cmp r0, r5
|
|
|
1497 0024 F2D9 bls .L99
|
|
|
1498 .L100:
|
|
|
1036:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** {
|
|
|
1037:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** hrtc->State = HAL_RTC_STATE_TIMEOUT;
|
|
|
1499 .loc 1 1037 0 is_stmt 1
|
|
|
1500 0026 2123 movs r3, #33
|
|
|
1501 0028 0322 movs r2, #3
|
|
|
1502 002a E254 strb r2, [r4, r3]
|
|
|
1038:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** return HAL_TIMEOUT;
|
|
|
1503 .loc 1 1038 0
|
|
|
1504 002c 0320 movs r0, #3
|
|
|
1505 002e 09E0 b .L101
|
|
|
1506 .L103:
|
|
|
1039:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
1040:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
1041:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
1042:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1043:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Clear the Tamper Flag */
|
|
|
1044:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __HAL_RTC_TAMPER_CLEAR_FLAG(hrtc,RTC_FLAG_TAMP3F);
|
|
|
1507 .loc 1 1044 0
|
|
|
1508 0030 D968 ldr r1, [r3, #12]
|
|
|
1509 0032 FF22 movs r2, #255
|
|
|
1510 0034 1140 ands r1, r2
|
|
|
1511 0036 044A ldr r2, .L104
|
|
|
1512 0038 0A43 orrs r2, r1
|
|
|
1513 003a DA60 str r2, [r3, #12]
|
|
|
ARM GAS /tmp/ccjDTEau.s page 46
|
|
|
|
|
|
|
|
|
1045:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1046:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Change RTC state */
|
|
|
1047:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** hrtc->State = HAL_RTC_STATE_READY;
|
|
|
1514 .loc 1 1047 0
|
|
|
1515 003c 2123 movs r3, #33
|
|
|
1516 003e 0122 movs r2, #1
|
|
|
1517 0040 E254 strb r2, [r4, r3]
|
|
|
1048:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1049:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** return HAL_OK;
|
|
|
1518 .loc 1 1049 0
|
|
|
1519 0042 0020 movs r0, #0
|
|
|
1520 .L101:
|
|
|
1050:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
1521 .loc 1 1050 0
|
|
|
1522 @ sp needed
|
|
|
1523 .LVL107:
|
|
|
1524 .LVL108:
|
|
|
1525 .LVL109:
|
|
|
1526 0044 70BD pop {r4, r5, r6, pc}
|
|
|
1527 .L105:
|
|
|
1528 0046 C046 .align 2
|
|
|
1529 .L104:
|
|
|
1530 0048 7F7FFFFF .word -32897
|
|
|
1531 .cfi_endproc
|
|
|
1532 .LFE54:
|
|
|
1534 .section .text.HAL_RTCEx_SetWakeUpTimer,"ax",%progbits
|
|
|
1535 .align 1
|
|
|
1536 .global HAL_RTCEx_SetWakeUpTimer
|
|
|
1537 .syntax unified
|
|
|
1538 .code 16
|
|
|
1539 .thumb_func
|
|
|
1540 .fpu softvfp
|
|
|
1542 HAL_RTCEx_SetWakeUpTimer:
|
|
|
1543 .LFB55:
|
|
|
1051:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** #endif /* (STM32L083xx) || (STM32L082xx) || (STM32L081xx) ||
|
|
|
1052:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * (STM32L073xx) || (STM32L072xx) || (STM32L071xx) || (STM32L031xx) || (STM32L041xx) || (STM32L0
|
|
|
1053:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** */
|
|
|
1054:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1055:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /**
|
|
|
1056:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @}
|
|
|
1057:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** */
|
|
|
1058:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1059:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /** @addtogroup RTCEx_Exported_Functions_Group2
|
|
|
1060:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @brief RTC Wake-up functions
|
|
|
1061:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** *
|
|
|
1062:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** @verbatim
|
|
|
1063:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** ===============================================================================
|
|
|
1064:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** ##### RTC Wake-up functions #####
|
|
|
1065:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** ===============================================================================
|
|
|
1066:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1067:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** [..] This section provides functions allowing to configure Wake-up feature
|
|
|
1068:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1069:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** @endverbatim
|
|
|
1070:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @{
|
|
|
1071:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** */
|
|
|
1072:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1073:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /**
|
|
|
ARM GAS /tmp/ccjDTEau.s page 47
|
|
|
|
|
|
|
|
|
1074:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @brief Set wake up timer.
|
|
|
1075:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @param hrtc: RTC handle
|
|
|
1076:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @param WakeUpCounter: Wake up counter
|
|
|
1077:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @param WakeUpClock: Wake up clock
|
|
|
1078:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @retval HAL status
|
|
|
1079:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** */
|
|
|
1080:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** HAL_StatusTypeDef HAL_RTCEx_SetWakeUpTimer(RTC_HandleTypeDef *hrtc, uint32_t WakeUpCounter, uint32_
|
|
|
1081:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** {
|
|
|
1544 .loc 1 1081 0
|
|
|
1545 .cfi_startproc
|
|
|
1546 @ args = 0, pretend = 0, frame = 0
|
|
|
1547 @ frame_needed = 0, uses_anonymous_args = 0
|
|
|
1548 .LVL110:
|
|
|
1549 0000 F8B5 push {r3, r4, r5, r6, r7, lr}
|
|
|
1550 .LCFI13:
|
|
|
1551 .cfi_def_cfa_offset 24
|
|
|
1552 .cfi_offset 3, -24
|
|
|
1553 .cfi_offset 4, -20
|
|
|
1554 .cfi_offset 5, -16
|
|
|
1555 .cfi_offset 6, -12
|
|
|
1556 .cfi_offset 7, -8
|
|
|
1557 .cfi_offset 14, -4
|
|
|
1558 0002 0400 movs r4, r0
|
|
|
1559 0004 0D00 movs r5, r1
|
|
|
1560 0006 1600 movs r6, r2
|
|
|
1561 .LVL111:
|
|
|
1082:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** uint32_t tickstart = 0U;
|
|
|
1083:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1084:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Check the parameters */
|
|
|
1085:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** assert_param(IS_RTC_WAKEUP_CLOCK(WakeUpClock));
|
|
|
1086:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** assert_param(IS_RTC_WAKEUP_COUNTER(WakeUpCounter));
|
|
|
1087:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1088:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Process Locked */
|
|
|
1089:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __HAL_LOCK(hrtc);
|
|
|
1562 .loc 1 1089 0
|
|
|
1563 0008 2023 movs r3, #32
|
|
|
1564 000a C35C ldrb r3, [r0, r3]
|
|
|
1565 000c 012B cmp r3, #1
|
|
|
1566 000e 61D0 beq .L113
|
|
|
1567 .loc 1 1089 0 is_stmt 0 discriminator 2
|
|
|
1568 0010 2023 movs r3, #32
|
|
|
1569 0012 0122 movs r2, #1
|
|
|
1570 .LVL112:
|
|
|
1571 0014 C254 strb r2, [r0, r3]
|
|
|
1090:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1091:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** hrtc->State = HAL_RTC_STATE_BUSY;
|
|
|
1572 .loc 1 1091 0 is_stmt 1 discriminator 2
|
|
|
1573 0016 0133 adds r3, r3, #1
|
|
|
1574 0018 0132 adds r2, r2, #1
|
|
|
1575 001a C254 strb r2, [r0, r3]
|
|
|
1092:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1093:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Disable the write protection for RTC registers */
|
|
|
1094:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __HAL_RTC_WRITEPROTECTION_DISABLE(hrtc);
|
|
|
1576 .loc 1 1094 0 discriminator 2
|
|
|
1577 001c 0368 ldr r3, [r0]
|
|
|
1578 001e C832 adds r2, r2, #200
|
|
|
1579 0020 5A62 str r2, [r3, #36]
|
|
|
ARM GAS /tmp/ccjDTEau.s page 48
|
|
|
|
|
|
|
|
|
1580 0022 0368 ldr r3, [r0]
|
|
|
1581 0024 773A subs r2, r2, #119
|
|
|
1582 0026 5A62 str r2, [r3, #36]
|
|
|
1095:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1096:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /*Check RTC WUTWF flag is reset only when wake up timer enabled*/
|
|
|
1097:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** if((hrtc->Instance->CR & RTC_CR_WUTE) != RESET){
|
|
|
1583 .loc 1 1097 0 discriminator 2
|
|
|
1584 0028 0368 ldr r3, [r0]
|
|
|
1585 002a 9B68 ldr r3, [r3, #8]
|
|
|
1586 002c 5B05 lsls r3, r3, #21
|
|
|
1587 002e 18D5 bpl .L108
|
|
|
1098:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** tickstart = HAL_GetTick();
|
|
|
1588 .loc 1 1098 0
|
|
|
1589 0030 FFF7FEFF bl HAL_GetTick
|
|
|
1590 .LVL113:
|
|
|
1591 0034 0700 movs r7, r0
|
|
|
1592 .LVL114:
|
|
|
1593 .L109:
|
|
|
1099:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1100:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Wait till RTC WUTWF flag is reset and if Time out is reached exit */
|
|
|
1101:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** while(__HAL_RTC_WAKEUPTIMER_GET_FLAG(hrtc, RTC_FLAG_WUTWF) == SET)
|
|
|
1594 .loc 1 1101 0
|
|
|
1595 0036 2368 ldr r3, [r4]
|
|
|
1596 0038 DB68 ldr r3, [r3, #12]
|
|
|
1597 003a 5B07 lsls r3, r3, #29
|
|
|
1598 003c 11D5 bpl .L108
|
|
|
1102:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** {
|
|
|
1103:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** if((HAL_GetTick() - tickstart ) > RTC_TIMEOUT_VALUE)
|
|
|
1599 .loc 1 1103 0
|
|
|
1600 003e FFF7FEFF bl HAL_GetTick
|
|
|
1601 .LVL115:
|
|
|
1602 0042 C01B subs r0, r0, r7
|
|
|
1603 0044 FA23 movs r3, #250
|
|
|
1604 0046 9B00 lsls r3, r3, #2
|
|
|
1605 0048 9842 cmp r0, r3
|
|
|
1606 004a F4D9 bls .L109
|
|
|
1104:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** {
|
|
|
1105:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Enable the write protection for RTC registers */
|
|
|
1106:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __HAL_RTC_WRITEPROTECTION_ENABLE(hrtc);
|
|
|
1607 .loc 1 1106 0
|
|
|
1608 004c 2368 ldr r3, [r4]
|
|
|
1609 004e FF22 movs r2, #255
|
|
|
1610 0050 5A62 str r2, [r3, #36]
|
|
|
1107:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1108:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** hrtc->State = HAL_RTC_STATE_TIMEOUT;
|
|
|
1611 .loc 1 1108 0
|
|
|
1612 0052 2123 movs r3, #33
|
|
|
1613 0054 FC3A subs r2, r2, #252
|
|
|
1614 0056 E254 strb r2, [r4, r3]
|
|
|
1109:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1110:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Process Unlocked */
|
|
|
1111:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __HAL_UNLOCK(hrtc);
|
|
|
1615 .loc 1 1111 0
|
|
|
1616 0058 013B subs r3, r3, #1
|
|
|
1617 005a 0022 movs r2, #0
|
|
|
1618 005c E254 strb r2, [r4, r3]
|
|
|
1112:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
ARM GAS /tmp/ccjDTEau.s page 49
|
|
|
|
|
|
|
|
|
1113:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** return HAL_TIMEOUT;
|
|
|
1619 .loc 1 1113 0
|
|
|
1620 005e 0320 movs r0, #3
|
|
|
1621 0060 37E0 b .L107
|
|
|
1622 .LVL116:
|
|
|
1623 .L108:
|
|
|
1114:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
1115:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
1116:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
1117:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1118:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __HAL_RTC_WAKEUPTIMER_DISABLE(hrtc);
|
|
|
1624 .loc 1 1118 0
|
|
|
1625 0062 2268 ldr r2, [r4]
|
|
|
1626 0064 9368 ldr r3, [r2, #8]
|
|
|
1627 0066 1C49 ldr r1, .L115
|
|
|
1628 0068 0B40 ands r3, r1
|
|
|
1629 006a 9360 str r3, [r2, #8]
|
|
|
1119:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1120:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** tickstart = HAL_GetTick();
|
|
|
1630 .loc 1 1120 0
|
|
|
1631 006c FFF7FEFF bl HAL_GetTick
|
|
|
1632 .LVL117:
|
|
|
1633 0070 0700 movs r7, r0
|
|
|
1634 .LVL118:
|
|
|
1635 .L111:
|
|
|
1121:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1122:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Wait till RTC WUTWF flag is set and if Time out is reached exit */
|
|
|
1123:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** while(__HAL_RTC_WAKEUPTIMER_GET_FLAG(hrtc, RTC_FLAG_WUTWF) == RESET)
|
|
|
1636 .loc 1 1123 0
|
|
|
1637 0072 2368 ldr r3, [r4]
|
|
|
1638 0074 DA68 ldr r2, [r3, #12]
|
|
|
1639 0076 5207 lsls r2, r2, #29
|
|
|
1640 0078 11D4 bmi .L114
|
|
|
1124:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** {
|
|
|
1125:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** if((HAL_GetTick() - tickstart ) > RTC_TIMEOUT_VALUE)
|
|
|
1641 .loc 1 1125 0
|
|
|
1642 007a FFF7FEFF bl HAL_GetTick
|
|
|
1643 .LVL119:
|
|
|
1644 007e C01B subs r0, r0, r7
|
|
|
1645 0080 FA23 movs r3, #250
|
|
|
1646 0082 9B00 lsls r3, r3, #2
|
|
|
1647 0084 9842 cmp r0, r3
|
|
|
1648 0086 F4D9 bls .L111
|
|
|
1126:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** {
|
|
|
1127:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Enable the write protection for RTC registers */
|
|
|
1128:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __HAL_RTC_WRITEPROTECTION_ENABLE(hrtc);
|
|
|
1649 .loc 1 1128 0
|
|
|
1650 0088 2368 ldr r3, [r4]
|
|
|
1651 008a FF22 movs r2, #255
|
|
|
1652 008c 5A62 str r2, [r3, #36]
|
|
|
1129:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1130:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** hrtc->State = HAL_RTC_STATE_TIMEOUT;
|
|
|
1653 .loc 1 1130 0
|
|
|
1654 008e 2123 movs r3, #33
|
|
|
1655 0090 FC3A subs r2, r2, #252
|
|
|
1656 0092 E254 strb r2, [r4, r3]
|
|
|
1131:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
ARM GAS /tmp/ccjDTEau.s page 50
|
|
|
|
|
|
|
|
|
1132:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Process Unlocked */
|
|
|
1133:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __HAL_UNLOCK(hrtc);
|
|
|
1657 .loc 1 1133 0
|
|
|
1658 0094 013B subs r3, r3, #1
|
|
|
1659 0096 0022 movs r2, #0
|
|
|
1660 0098 E254 strb r2, [r4, r3]
|
|
|
1134:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1135:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** return HAL_TIMEOUT;
|
|
|
1661 .loc 1 1135 0
|
|
|
1662 009a 0320 movs r0, #3
|
|
|
1663 009c 19E0 b .L107
|
|
|
1664 .L114:
|
|
|
1136:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
1137:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
1138:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1139:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Clear the Wakeup Timer clock source bits in CR register */
|
|
|
1140:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** hrtc->Instance->CR &= (uint32_t)~RTC_CR_WUCKSEL;
|
|
|
1665 .loc 1 1140 0
|
|
|
1666 009e 9A68 ldr r2, [r3, #8]
|
|
|
1667 00a0 0721 movs r1, #7
|
|
|
1668 00a2 8A43 bics r2, r1
|
|
|
1669 00a4 9A60 str r2, [r3, #8]
|
|
|
1141:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1142:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Configure the clock source */
|
|
|
1143:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** hrtc->Instance->CR |= (uint32_t)WakeUpClock;
|
|
|
1670 .loc 1 1143 0
|
|
|
1671 00a6 2268 ldr r2, [r4]
|
|
|
1672 00a8 9368 ldr r3, [r2, #8]
|
|
|
1673 00aa 1E43 orrs r6, r3
|
|
|
1674 .LVL120:
|
|
|
1675 00ac 9660 str r6, [r2, #8]
|
|
|
1144:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1145:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Configure the Wakeup Timer counter */
|
|
|
1146:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** hrtc->Instance->WUTR = (uint32_t)WakeUpCounter;
|
|
|
1676 .loc 1 1146 0
|
|
|
1677 00ae 2368 ldr r3, [r4]
|
|
|
1678 00b0 5D61 str r5, [r3, #20]
|
|
|
1147:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1148:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Enable the Wakeup Timer */
|
|
|
1149:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __HAL_RTC_WAKEUPTIMER_ENABLE(hrtc);
|
|
|
1679 .loc 1 1149 0
|
|
|
1680 00b2 2268 ldr r2, [r4]
|
|
|
1681 00b4 9168 ldr r1, [r2, #8]
|
|
|
1682 00b6 8023 movs r3, #128
|
|
|
1683 00b8 DB00 lsls r3, r3, #3
|
|
|
1684 00ba 0B43 orrs r3, r1
|
|
|
1685 00bc 9360 str r3, [r2, #8]
|
|
|
1150:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1151:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Enable the write protection for RTC registers */
|
|
|
1152:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __HAL_RTC_WRITEPROTECTION_ENABLE(hrtc);
|
|
|
1686 .loc 1 1152 0
|
|
|
1687 00be 2368 ldr r3, [r4]
|
|
|
1688 00c0 FF22 movs r2, #255
|
|
|
1689 00c2 5A62 str r2, [r3, #36]
|
|
|
1153:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1154:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** hrtc->State = HAL_RTC_STATE_READY;
|
|
|
1690 .loc 1 1154 0
|
|
|
ARM GAS /tmp/ccjDTEau.s page 51
|
|
|
|
|
|
|
|
|
1691 00c4 2123 movs r3, #33
|
|
|
1692 00c6 FE3A subs r2, r2, #254
|
|
|
1693 00c8 E254 strb r2, [r4, r3]
|
|
|
1155:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1156:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Process Unlocked */
|
|
|
1157:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __HAL_UNLOCK(hrtc);
|
|
|
1694 .loc 1 1157 0
|
|
|
1695 00ca 013B subs r3, r3, #1
|
|
|
1696 00cc 0022 movs r2, #0
|
|
|
1697 00ce E254 strb r2, [r4, r3]
|
|
|
1158:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1159:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** return HAL_OK;
|
|
|
1698 .loc 1 1159 0
|
|
|
1699 00d0 0020 movs r0, #0
|
|
|
1700 .LVL121:
|
|
|
1701 .L107:
|
|
|
1160:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
1702 .loc 1 1160 0
|
|
|
1703 @ sp needed
|
|
|
1704 .LVL122:
|
|
|
1705 .LVL123:
|
|
|
1706 00d2 F8BD pop {r3, r4, r5, r6, r7, pc}
|
|
|
1707 .LVL124:
|
|
|
1708 .L113:
|
|
|
1089:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1709 .loc 1 1089 0
|
|
|
1710 00d4 0220 movs r0, #2
|
|
|
1711 .LVL125:
|
|
|
1712 00d6 FCE7 b .L107
|
|
|
1713 .L116:
|
|
|
1714 .align 2
|
|
|
1715 .L115:
|
|
|
1716 00d8 FFFBFFFF .word -1025
|
|
|
1717 .cfi_endproc
|
|
|
1718 .LFE55:
|
|
|
1720 .section .text.HAL_RTCEx_SetWakeUpTimer_IT,"ax",%progbits
|
|
|
1721 .align 1
|
|
|
1722 .global HAL_RTCEx_SetWakeUpTimer_IT
|
|
|
1723 .syntax unified
|
|
|
1724 .code 16
|
|
|
1725 .thumb_func
|
|
|
1726 .fpu softvfp
|
|
|
1728 HAL_RTCEx_SetWakeUpTimer_IT:
|
|
|
1729 .LFB56:
|
|
|
1161:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1162:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /**
|
|
|
1163:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @brief Set wake up timer with interrupt.
|
|
|
1164:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @param hrtc: RTC handle
|
|
|
1165:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @param WakeUpCounter: Wake up counter
|
|
|
1166:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @param WakeUpClock: Wake up clock
|
|
|
1167:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @retval HAL status
|
|
|
1168:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** */
|
|
|
1169:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** HAL_StatusTypeDef HAL_RTCEx_SetWakeUpTimer_IT(RTC_HandleTypeDef *hrtc, uint32_t WakeUpCounter, uint
|
|
|
1170:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** {
|
|
|
1730 .loc 1 1170 0
|
|
|
1731 .cfi_startproc
|
|
|
1732 @ args = 0, pretend = 0, frame = 0
|
|
|
ARM GAS /tmp/ccjDTEau.s page 52
|
|
|
|
|
|
|
|
|
1733 @ frame_needed = 0, uses_anonymous_args = 0
|
|
|
1734 .LVL126:
|
|
|
1735 0000 F8B5 push {r3, r4, r5, r6, r7, lr}
|
|
|
1736 .LCFI14:
|
|
|
1737 .cfi_def_cfa_offset 24
|
|
|
1738 .cfi_offset 3, -24
|
|
|
1739 .cfi_offset 4, -20
|
|
|
1740 .cfi_offset 5, -16
|
|
|
1741 .cfi_offset 6, -12
|
|
|
1742 .cfi_offset 7, -8
|
|
|
1743 .cfi_offset 14, -4
|
|
|
1744 0002 0400 movs r4, r0
|
|
|
1745 0004 0E00 movs r6, r1
|
|
|
1746 0006 1500 movs r5, r2
|
|
|
1747 .LVL127:
|
|
|
1171:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** uint32_t tickstart = 0U;
|
|
|
1172:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1173:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Check the parameters */
|
|
|
1174:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** assert_param(IS_RTC_WAKEUP_CLOCK(WakeUpClock));
|
|
|
1175:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** assert_param(IS_RTC_WAKEUP_COUNTER(WakeUpCounter));
|
|
|
1176:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1177:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Process Locked */
|
|
|
1178:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __HAL_LOCK(hrtc);
|
|
|
1748 .loc 1 1178 0
|
|
|
1749 0008 2023 movs r3, #32
|
|
|
1750 000a C35C ldrb r3, [r0, r3]
|
|
|
1751 000c 012B cmp r3, #1
|
|
|
1752 000e 00D1 bne .LCB1658
|
|
|
1753 0010 77E0 b .L124 @long jump
|
|
|
1754 .LCB1658:
|
|
|
1755 .loc 1 1178 0 is_stmt 0 discriminator 2
|
|
|
1756 0012 2023 movs r3, #32
|
|
|
1757 0014 0122 movs r2, #1
|
|
|
1758 .LVL128:
|
|
|
1759 0016 C254 strb r2, [r0, r3]
|
|
|
1179:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1180:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** hrtc->State = HAL_RTC_STATE_BUSY;
|
|
|
1760 .loc 1 1180 0 is_stmt 1 discriminator 2
|
|
|
1761 0018 0133 adds r3, r3, #1
|
|
|
1762 001a 0132 adds r2, r2, #1
|
|
|
1763 001c C254 strb r2, [r0, r3]
|
|
|
1181:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1182:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Disable the write protection for RTC registers */
|
|
|
1183:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __HAL_RTC_WRITEPROTECTION_DISABLE(hrtc);
|
|
|
1764 .loc 1 1183 0 discriminator 2
|
|
|
1765 001e 0368 ldr r3, [r0]
|
|
|
1766 0020 C832 adds r2, r2, #200
|
|
|
1767 0022 5A62 str r2, [r3, #36]
|
|
|
1768 0024 0368 ldr r3, [r0]
|
|
|
1769 0026 773A subs r2, r2, #119
|
|
|
1770 0028 5A62 str r2, [r3, #36]
|
|
|
1184:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1185:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /*Check RTC WUTWF flag is reset only when wake up timer enabled*/
|
|
|
1186:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** if((hrtc->Instance->CR & RTC_CR_WUTE) != RESET){
|
|
|
1771 .loc 1 1186 0 discriminator 2
|
|
|
1772 002a 0368 ldr r3, [r0]
|
|
|
1773 002c 9B68 ldr r3, [r3, #8]
|
|
|
ARM GAS /tmp/ccjDTEau.s page 53
|
|
|
|
|
|
|
|
|
1774 002e 5B05 lsls r3, r3, #21
|
|
|
1775 0030 18D5 bpl .L119
|
|
|
1187:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** tickstart = HAL_GetTick();
|
|
|
1776 .loc 1 1187 0
|
|
|
1777 0032 FFF7FEFF bl HAL_GetTick
|
|
|
1778 .LVL129:
|
|
|
1779 0036 0700 movs r7, r0
|
|
|
1780 .LVL130:
|
|
|
1781 .L120:
|
|
|
1188:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1189:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Wait till RTC WUTWF flag is reset and if Time out is reached exit */
|
|
|
1190:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** while(__HAL_RTC_WAKEUPTIMER_GET_FLAG(hrtc, RTC_FLAG_WUTWF) == SET)
|
|
|
1782 .loc 1 1190 0
|
|
|
1783 0038 2368 ldr r3, [r4]
|
|
|
1784 003a DB68 ldr r3, [r3, #12]
|
|
|
1785 003c 5B07 lsls r3, r3, #29
|
|
|
1786 003e 11D5 bpl .L119
|
|
|
1191:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** {
|
|
|
1192:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** if((HAL_GetTick() - tickstart ) > RTC_TIMEOUT_VALUE)
|
|
|
1787 .loc 1 1192 0
|
|
|
1788 0040 FFF7FEFF bl HAL_GetTick
|
|
|
1789 .LVL131:
|
|
|
1790 0044 C01B subs r0, r0, r7
|
|
|
1791 0046 FA23 movs r3, #250
|
|
|
1792 0048 9B00 lsls r3, r3, #2
|
|
|
1793 004a 9842 cmp r0, r3
|
|
|
1794 004c F4D9 bls .L120
|
|
|
1193:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** {
|
|
|
1194:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Enable the write protection for RTC registers */
|
|
|
1195:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __HAL_RTC_WRITEPROTECTION_ENABLE(hrtc);
|
|
|
1795 .loc 1 1195 0
|
|
|
1796 004e 2368 ldr r3, [r4]
|
|
|
1797 0050 FF22 movs r2, #255
|
|
|
1798 0052 5A62 str r2, [r3, #36]
|
|
|
1196:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1197:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** hrtc->State = HAL_RTC_STATE_TIMEOUT;
|
|
|
1799 .loc 1 1197 0
|
|
|
1800 0054 2123 movs r3, #33
|
|
|
1801 0056 FC3A subs r2, r2, #252
|
|
|
1802 0058 E254 strb r2, [r4, r3]
|
|
|
1198:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1199:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Process Unlocked */
|
|
|
1200:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __HAL_UNLOCK(hrtc);
|
|
|
1803 .loc 1 1200 0
|
|
|
1804 005a 013B subs r3, r3, #1
|
|
|
1805 005c 0022 movs r2, #0
|
|
|
1806 005e E254 strb r2, [r4, r3]
|
|
|
1201:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1202:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** return HAL_TIMEOUT;
|
|
|
1807 .loc 1 1202 0
|
|
|
1808 0060 0320 movs r0, #3
|
|
|
1809 0062 4DE0 b .L118
|
|
|
1810 .LVL132:
|
|
|
1811 .L119:
|
|
|
1203:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
1204:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
1205:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
ARM GAS /tmp/ccjDTEau.s page 54
|
|
|
|
|
|
|
|
|
1206:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Disable the Wake-Up timer */
|
|
|
1207:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __HAL_RTC_WAKEUPTIMER_DISABLE(hrtc);
|
|
|
1812 .loc 1 1207 0
|
|
|
1813 0064 2268 ldr r2, [r4]
|
|
|
1814 0066 9368 ldr r3, [r2, #8]
|
|
|
1815 0068 2749 ldr r1, .L126
|
|
|
1816 006a 0B40 ands r3, r1
|
|
|
1817 006c 9360 str r3, [r2, #8]
|
|
|
1208:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1209:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Clear flag Wake-Up */
|
|
|
1210:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __HAL_RTC_WAKEUPTIMER_CLEAR_FLAG(hrtc, RTC_FLAG_WUTF);
|
|
|
1818 .loc 1 1210 0
|
|
|
1819 006e 2168 ldr r1, [r4]
|
|
|
1820 0070 CA68 ldr r2, [r1, #12]
|
|
|
1821 0072 FF23 movs r3, #255
|
|
|
1822 0074 1A40 ands r2, r3
|
|
|
1823 0076 254B ldr r3, .L126+4
|
|
|
1824 0078 1343 orrs r3, r2
|
|
|
1825 007a CB60 str r3, [r1, #12]
|
|
|
1211:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1212:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** tickstart = HAL_GetTick();
|
|
|
1826 .loc 1 1212 0
|
|
|
1827 007c FFF7FEFF bl HAL_GetTick
|
|
|
1828 .LVL133:
|
|
|
1829 0080 0700 movs r7, r0
|
|
|
1830 .LVL134:
|
|
|
1831 .L122:
|
|
|
1213:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1214:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Wait till RTC WUTWF flag is set and if Time out is reached exit */
|
|
|
1215:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** while(__HAL_RTC_WAKEUPTIMER_GET_FLAG(hrtc, RTC_FLAG_WUTWF) == RESET)
|
|
|
1832 .loc 1 1215 0
|
|
|
1833 0082 2368 ldr r3, [r4]
|
|
|
1834 0084 DA68 ldr r2, [r3, #12]
|
|
|
1835 0086 5207 lsls r2, r2, #29
|
|
|
1836 0088 11D4 bmi .L125
|
|
|
1216:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** {
|
|
|
1217:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** if((HAL_GetTick() - tickstart ) > RTC_TIMEOUT_VALUE)
|
|
|
1837 .loc 1 1217 0
|
|
|
1838 008a FFF7FEFF bl HAL_GetTick
|
|
|
1839 .LVL135:
|
|
|
1840 008e C01B subs r0, r0, r7
|
|
|
1841 0090 FA23 movs r3, #250
|
|
|
1842 0092 9B00 lsls r3, r3, #2
|
|
|
1843 0094 9842 cmp r0, r3
|
|
|
1844 0096 F4D9 bls .L122
|
|
|
1218:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** {
|
|
|
1219:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Enable the write protection for RTC registers */
|
|
|
1220:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __HAL_RTC_WRITEPROTECTION_ENABLE(hrtc);
|
|
|
1845 .loc 1 1220 0
|
|
|
1846 0098 2368 ldr r3, [r4]
|
|
|
1847 009a FF22 movs r2, #255
|
|
|
1848 009c 5A62 str r2, [r3, #36]
|
|
|
1221:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1222:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** hrtc->State = HAL_RTC_STATE_TIMEOUT;
|
|
|
1849 .loc 1 1222 0
|
|
|
1850 009e 2123 movs r3, #33
|
|
|
1851 00a0 FC3A subs r2, r2, #252
|
|
|
ARM GAS /tmp/ccjDTEau.s page 55
|
|
|
|
|
|
|
|
|
1852 00a2 E254 strb r2, [r4, r3]
|
|
|
1223:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1224:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Process Unlocked */
|
|
|
1225:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __HAL_UNLOCK(hrtc);
|
|
|
1853 .loc 1 1225 0
|
|
|
1854 00a4 013B subs r3, r3, #1
|
|
|
1855 00a6 0022 movs r2, #0
|
|
|
1856 00a8 E254 strb r2, [r4, r3]
|
|
|
1226:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1227:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** return HAL_TIMEOUT;
|
|
|
1857 .loc 1 1227 0
|
|
|
1858 00aa 0320 movs r0, #3
|
|
|
1859 00ac 28E0 b .L118
|
|
|
1860 .L125:
|
|
|
1228:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
1229:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
1230:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1231:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Configure the Wakeup Timer counter */
|
|
|
1232:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** hrtc->Instance->WUTR = (uint32_t)WakeUpCounter;
|
|
|
1861 .loc 1 1232 0
|
|
|
1862 00ae 5E61 str r6, [r3, #20]
|
|
|
1233:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1234:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Clear the Wakeup Timer clock source bits in CR register */
|
|
|
1235:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** hrtc->Instance->CR &= (uint32_t)~RTC_CR_WUCKSEL;
|
|
|
1863 .loc 1 1235 0
|
|
|
1864 00b0 2268 ldr r2, [r4]
|
|
|
1865 00b2 9368 ldr r3, [r2, #8]
|
|
|
1866 00b4 0721 movs r1, #7
|
|
|
1867 00b6 8B43 bics r3, r1
|
|
|
1868 00b8 9360 str r3, [r2, #8]
|
|
|
1236:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1237:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Configure the clock source */
|
|
|
1238:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** hrtc->Instance->CR |= (uint32_t)WakeUpClock;
|
|
|
1869 .loc 1 1238 0
|
|
|
1870 00ba 2268 ldr r2, [r4]
|
|
|
1871 00bc 9368 ldr r3, [r2, #8]
|
|
|
1872 00be 1D43 orrs r5, r3
|
|
|
1873 .LVL136:
|
|
|
1874 00c0 9560 str r5, [r2, #8]
|
|
|
1239:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1240:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* RTC WakeUpTimer Interrupt Configuration: EXTI configuration */
|
|
|
1241:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __HAL_RTC_WAKEUPTIMER_EXTI_ENABLE_IT();
|
|
|
1875 .loc 1 1241 0
|
|
|
1876 00c2 134B ldr r3, .L126+8
|
|
|
1877 00c4 1968 ldr r1, [r3]
|
|
|
1878 00c6 8022 movs r2, #128
|
|
|
1879 00c8 5203 lsls r2, r2, #13
|
|
|
1880 00ca 1143 orrs r1, r2
|
|
|
1881 00cc 1960 str r1, [r3]
|
|
|
1242:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1243:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __HAL_RTC_WAKEUPTIMER_EXTI_ENABLE_RISING_EDGE();
|
|
|
1882 .loc 1 1243 0
|
|
|
1883 00ce 9968 ldr r1, [r3, #8]
|
|
|
1884 00d0 0A43 orrs r2, r1
|
|
|
1885 00d2 9A60 str r2, [r3, #8]
|
|
|
1244:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1245:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Configure the Interrupt in the RTC_CR register */
|
|
|
ARM GAS /tmp/ccjDTEau.s page 56
|
|
|
|
|
|
|
|
|
1246:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __HAL_RTC_WAKEUPTIMER_ENABLE_IT(hrtc,RTC_IT_WUT);
|
|
|
1886 .loc 1 1246 0
|
|
|
1887 00d4 2268 ldr r2, [r4]
|
|
|
1888 00d6 9168 ldr r1, [r2, #8]
|
|
|
1889 00d8 8023 movs r3, #128
|
|
|
1890 00da DB01 lsls r3, r3, #7
|
|
|
1891 00dc 0B43 orrs r3, r1
|
|
|
1892 00de 9360 str r3, [r2, #8]
|
|
|
1247:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1248:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Enable the Wakeup Timer */
|
|
|
1249:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __HAL_RTC_WAKEUPTIMER_ENABLE(hrtc);
|
|
|
1893 .loc 1 1249 0
|
|
|
1894 00e0 2268 ldr r2, [r4]
|
|
|
1895 00e2 9168 ldr r1, [r2, #8]
|
|
|
1896 00e4 8023 movs r3, #128
|
|
|
1897 00e6 DB00 lsls r3, r3, #3
|
|
|
1898 00e8 0B43 orrs r3, r1
|
|
|
1899 00ea 9360 str r3, [r2, #8]
|
|
|
1250:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1251:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Enable the write protection for RTC registers */
|
|
|
1252:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __HAL_RTC_WRITEPROTECTION_ENABLE(hrtc);
|
|
|
1900 .loc 1 1252 0
|
|
|
1901 00ec 2368 ldr r3, [r4]
|
|
|
1902 00ee FF22 movs r2, #255
|
|
|
1903 00f0 5A62 str r2, [r3, #36]
|
|
|
1253:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1254:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** hrtc->State = HAL_RTC_STATE_READY;
|
|
|
1904 .loc 1 1254 0
|
|
|
1905 00f2 2123 movs r3, #33
|
|
|
1906 00f4 FE3A subs r2, r2, #254
|
|
|
1907 00f6 E254 strb r2, [r4, r3]
|
|
|
1255:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1256:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Process Unlocked */
|
|
|
1257:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __HAL_UNLOCK(hrtc);
|
|
|
1908 .loc 1 1257 0
|
|
|
1909 00f8 013B subs r3, r3, #1
|
|
|
1910 00fa 0022 movs r2, #0
|
|
|
1911 00fc E254 strb r2, [r4, r3]
|
|
|
1258:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1259:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** return HAL_OK;
|
|
|
1912 .loc 1 1259 0
|
|
|
1913 00fe 0020 movs r0, #0
|
|
|
1914 .LVL137:
|
|
|
1915 .L118:
|
|
|
1260:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
1916 .loc 1 1260 0
|
|
|
1917 @ sp needed
|
|
|
1918 .LVL138:
|
|
|
1919 .LVL139:
|
|
|
1920 0100 F8BD pop {r3, r4, r5, r6, r7, pc}
|
|
|
1921 .LVL140:
|
|
|
1922 .L124:
|
|
|
1178:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1923 .loc 1 1178 0
|
|
|
1924 0102 0220 movs r0, #2
|
|
|
1925 .LVL141:
|
|
|
1926 0104 FCE7 b .L118
|
|
|
ARM GAS /tmp/ccjDTEau.s page 57
|
|
|
|
|
|
|
|
|
1927 .L127:
|
|
|
1928 0106 C046 .align 2
|
|
|
1929 .L126:
|
|
|
1930 0108 FFFBFFFF .word -1025
|
|
|
1931 010c 7FFBFFFF .word -1153
|
|
|
1932 0110 00040140 .word 1073808384
|
|
|
1933 .cfi_endproc
|
|
|
1934 .LFE56:
|
|
|
1936 .section .text.HAL_RTCEx_DeactivateWakeUpTimer,"ax",%progbits
|
|
|
1937 .align 1
|
|
|
1938 .global HAL_RTCEx_DeactivateWakeUpTimer
|
|
|
1939 .syntax unified
|
|
|
1940 .code 16
|
|
|
1941 .thumb_func
|
|
|
1942 .fpu softvfp
|
|
|
1944 HAL_RTCEx_DeactivateWakeUpTimer:
|
|
|
1945 .LFB57:
|
|
|
1261:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1262:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /**
|
|
|
1263:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @brief Deactivate wake up timer counter.
|
|
|
1264:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @param hrtc: RTC handle
|
|
|
1265:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @retval HAL status
|
|
|
1266:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** */
|
|
|
1267:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** uint32_t HAL_RTCEx_DeactivateWakeUpTimer(RTC_HandleTypeDef *hrtc)
|
|
|
1268:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** {
|
|
|
1946 .loc 1 1268 0
|
|
|
1947 .cfi_startproc
|
|
|
1948 @ args = 0, pretend = 0, frame = 0
|
|
|
1949 @ frame_needed = 0, uses_anonymous_args = 0
|
|
|
1950 .LVL142:
|
|
|
1951 0000 70B5 push {r4, r5, r6, lr}
|
|
|
1952 .LCFI15:
|
|
|
1953 .cfi_def_cfa_offset 16
|
|
|
1954 .cfi_offset 4, -16
|
|
|
1955 .cfi_offset 5, -12
|
|
|
1956 .cfi_offset 6, -8
|
|
|
1957 .cfi_offset 14, -4
|
|
|
1958 0002 0400 movs r4, r0
|
|
|
1959 .LVL143:
|
|
|
1269:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** uint32_t tickstart = 0U;
|
|
|
1270:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1271:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Process Locked */
|
|
|
1272:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __HAL_LOCK(hrtc);
|
|
|
1960 .loc 1 1272 0
|
|
|
1961 0004 2023 movs r3, #32
|
|
|
1962 0006 C35C ldrb r3, [r0, r3]
|
|
|
1963 0008 012B cmp r3, #1
|
|
|
1964 000a 38D0 beq .L132
|
|
|
1965 .loc 1 1272 0 is_stmt 0 discriminator 2
|
|
|
1966 000c 2023 movs r3, #32
|
|
|
1967 000e 0122 movs r2, #1
|
|
|
1968 0010 C254 strb r2, [r0, r3]
|
|
|
1273:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1274:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** hrtc->State = HAL_RTC_STATE_BUSY;
|
|
|
1969 .loc 1 1274 0 is_stmt 1 discriminator 2
|
|
|
1970 0012 0133 adds r3, r3, #1
|
|
|
1971 0014 0132 adds r2, r2, #1
|
|
|
ARM GAS /tmp/ccjDTEau.s page 58
|
|
|
|
|
|
|
|
|
1972 0016 C254 strb r2, [r0, r3]
|
|
|
1275:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1276:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Disable the write protection for RTC registers */
|
|
|
1277:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __HAL_RTC_WRITEPROTECTION_DISABLE(hrtc);
|
|
|
1973 .loc 1 1277 0 discriminator 2
|
|
|
1974 0018 0368 ldr r3, [r0]
|
|
|
1975 001a C832 adds r2, r2, #200
|
|
|
1976 001c 5A62 str r2, [r3, #36]
|
|
|
1977 001e 0368 ldr r3, [r0]
|
|
|
1978 0020 773A subs r2, r2, #119
|
|
|
1979 0022 5A62 str r2, [r3, #36]
|
|
|
1278:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1279:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Disable the Wakeup Timer */
|
|
|
1280:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __HAL_RTC_WAKEUPTIMER_DISABLE(hrtc);
|
|
|
1980 .loc 1 1280 0 discriminator 2
|
|
|
1981 0024 0268 ldr r2, [r0]
|
|
|
1982 0026 9368 ldr r3, [r2, #8]
|
|
|
1983 0028 1649 ldr r1, .L134
|
|
|
1984 002a 0B40 ands r3, r1
|
|
|
1985 002c 9360 str r3, [r2, #8]
|
|
|
1281:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1282:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* In case of interrupt mode is used, the interrupt source must disabled */
|
|
|
1283:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __HAL_RTC_WAKEUPTIMER_DISABLE_IT(hrtc,RTC_IT_WUT);
|
|
|
1986 .loc 1 1283 0 discriminator 2
|
|
|
1987 002e 0268 ldr r2, [r0]
|
|
|
1988 0030 9368 ldr r3, [r2, #8]
|
|
|
1989 0032 1549 ldr r1, .L134+4
|
|
|
1990 0034 0B40 ands r3, r1
|
|
|
1991 0036 9360 str r3, [r2, #8]
|
|
|
1284:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1285:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** tickstart = HAL_GetTick();
|
|
|
1992 .loc 1 1285 0 discriminator 2
|
|
|
1993 0038 FFF7FEFF bl HAL_GetTick
|
|
|
1994 .LVL144:
|
|
|
1995 003c 0500 movs r5, r0
|
|
|
1996 .LVL145:
|
|
|
1997 .L130:
|
|
|
1286:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Wait till RTC WUTWF flag is set and if Time out is reached exit */
|
|
|
1287:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** while(__HAL_RTC_WAKEUPTIMER_GET_FLAG(hrtc, RTC_FLAG_WUTWF) == RESET)
|
|
|
1998 .loc 1 1287 0
|
|
|
1999 003e 2368 ldr r3, [r4]
|
|
|
2000 0040 DA68 ldr r2, [r3, #12]
|
|
|
2001 0042 5207 lsls r2, r2, #29
|
|
|
2002 0044 11D4 bmi .L133
|
|
|
1288:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** {
|
|
|
1289:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** if((HAL_GetTick() - tickstart ) > RTC_TIMEOUT_VALUE)
|
|
|
2003 .loc 1 1289 0
|
|
|
2004 0046 FFF7FEFF bl HAL_GetTick
|
|
|
2005 .LVL146:
|
|
|
2006 004a 401B subs r0, r0, r5
|
|
|
2007 004c FA23 movs r3, #250
|
|
|
2008 004e 9B00 lsls r3, r3, #2
|
|
|
2009 0050 9842 cmp r0, r3
|
|
|
2010 0052 F4D9 bls .L130
|
|
|
1290:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** {
|
|
|
1291:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Enable the write protection for RTC registers */
|
|
|
1292:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __HAL_RTC_WRITEPROTECTION_ENABLE(hrtc);
|
|
|
ARM GAS /tmp/ccjDTEau.s page 59
|
|
|
|
|
|
|
|
|
2011 .loc 1 1292 0
|
|
|
2012 0054 2368 ldr r3, [r4]
|
|
|
2013 0056 FF22 movs r2, #255
|
|
|
2014 0058 5A62 str r2, [r3, #36]
|
|
|
1293:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1294:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** hrtc->State = HAL_RTC_STATE_TIMEOUT;
|
|
|
2015 .loc 1 1294 0
|
|
|
2016 005a 2123 movs r3, #33
|
|
|
2017 005c FC3A subs r2, r2, #252
|
|
|
2018 005e E254 strb r2, [r4, r3]
|
|
|
1295:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1296:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Process Unlocked */
|
|
|
1297:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __HAL_UNLOCK(hrtc);
|
|
|
2019 .loc 1 1297 0
|
|
|
2020 0060 013B subs r3, r3, #1
|
|
|
2021 0062 0022 movs r2, #0
|
|
|
2022 0064 E254 strb r2, [r4, r3]
|
|
|
1298:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1299:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** return HAL_TIMEOUT;
|
|
|
2023 .loc 1 1299 0
|
|
|
2024 0066 0320 movs r0, #3
|
|
|
2025 0068 08E0 b .L128
|
|
|
2026 .L133:
|
|
|
1300:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
1301:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
1302:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1303:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Enable the write protection for RTC registers */
|
|
|
1304:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __HAL_RTC_WRITEPROTECTION_ENABLE(hrtc);
|
|
|
2027 .loc 1 1304 0
|
|
|
2028 006a FF22 movs r2, #255
|
|
|
2029 006c 5A62 str r2, [r3, #36]
|
|
|
1305:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1306:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** hrtc->State = HAL_RTC_STATE_READY;
|
|
|
2030 .loc 1 1306 0
|
|
|
2031 006e 2123 movs r3, #33
|
|
|
2032 0070 FE3A subs r2, r2, #254
|
|
|
2033 0072 E254 strb r2, [r4, r3]
|
|
|
1307:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1308:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Process Unlocked */
|
|
|
1309:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __HAL_UNLOCK(hrtc);
|
|
|
2034 .loc 1 1309 0
|
|
|
2035 0074 013B subs r3, r3, #1
|
|
|
2036 0076 0022 movs r2, #0
|
|
|
2037 0078 E254 strb r2, [r4, r3]
|
|
|
1310:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1311:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** return HAL_OK;
|
|
|
2038 .loc 1 1311 0
|
|
|
2039 007a 0020 movs r0, #0
|
|
|
2040 .LVL147:
|
|
|
2041 .L128:
|
|
|
1312:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
2042 .loc 1 1312 0
|
|
|
2043 @ sp needed
|
|
|
2044 .LVL148:
|
|
|
2045 007c 70BD pop {r4, r5, r6, pc}
|
|
|
2046 .LVL149:
|
|
|
2047 .L132:
|
|
|
ARM GAS /tmp/ccjDTEau.s page 60
|
|
|
|
|
|
|
|
|
1272:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
2048 .loc 1 1272 0
|
|
|
2049 007e 0220 movs r0, #2
|
|
|
2050 .LVL150:
|
|
|
2051 0080 FCE7 b .L128
|
|
|
2052 .L135:
|
|
|
2053 0082 C046 .align 2
|
|
|
2054 .L134:
|
|
|
2055 0084 FFFBFFFF .word -1025
|
|
|
2056 0088 FFBFFFFF .word -16385
|
|
|
2057 .cfi_endproc
|
|
|
2058 .LFE57:
|
|
|
2060 .section .text.HAL_RTCEx_GetWakeUpTimer,"ax",%progbits
|
|
|
2061 .align 1
|
|
|
2062 .global HAL_RTCEx_GetWakeUpTimer
|
|
|
2063 .syntax unified
|
|
|
2064 .code 16
|
|
|
2065 .thumb_func
|
|
|
2066 .fpu softvfp
|
|
|
2068 HAL_RTCEx_GetWakeUpTimer:
|
|
|
2069 .LFB58:
|
|
|
1313:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1314:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /**
|
|
|
1315:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @brief Get wake up timer counter.
|
|
|
1316:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @param hrtc: RTC handle
|
|
|
1317:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @retval Counter value
|
|
|
1318:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** */
|
|
|
1319:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** uint32_t HAL_RTCEx_GetWakeUpTimer(RTC_HandleTypeDef *hrtc)
|
|
|
1320:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** {
|
|
|
2070 .loc 1 1320 0
|
|
|
2071 .cfi_startproc
|
|
|
2072 @ args = 0, pretend = 0, frame = 0
|
|
|
2073 @ frame_needed = 0, uses_anonymous_args = 0
|
|
|
2074 @ link register save eliminated.
|
|
|
2075 .LVL151:
|
|
|
1321:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Get the counter value */
|
|
|
1322:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** return ((uint32_t)(hrtc->Instance->WUTR & RTC_WUTR_WUT));
|
|
|
2076 .loc 1 1322 0
|
|
|
2077 0000 0368 ldr r3, [r0]
|
|
|
2078 0002 5869 ldr r0, [r3, #20]
|
|
|
2079 .LVL152:
|
|
|
2080 0004 0004 lsls r0, r0, #16
|
|
|
2081 0006 000C lsrs r0, r0, #16
|
|
|
1323:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
2082 .loc 1 1323 0
|
|
|
2083 @ sp needed
|
|
|
2084 0008 7047 bx lr
|
|
|
2085 .cfi_endproc
|
|
|
2086 .LFE58:
|
|
|
2088 .section .text.HAL_RTCEx_WakeUpTimerEventCallback,"ax",%progbits
|
|
|
2089 .align 1
|
|
|
2090 .weak HAL_RTCEx_WakeUpTimerEventCallback
|
|
|
2091 .syntax unified
|
|
|
2092 .code 16
|
|
|
2093 .thumb_func
|
|
|
2094 .fpu softvfp
|
|
|
2096 HAL_RTCEx_WakeUpTimerEventCallback:
|
|
|
ARM GAS /tmp/ccjDTEau.s page 61
|
|
|
|
|
|
|
|
|
2097 .LFB60:
|
|
|
1324:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1325:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /**
|
|
|
1326:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @brief Handle Wake Up Timer interrupt request.
|
|
|
1327:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @param hrtc: RTC handle
|
|
|
1328:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @retval None
|
|
|
1329:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** */
|
|
|
1330:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** void HAL_RTCEx_WakeUpTimerIRQHandler(RTC_HandleTypeDef *hrtc)
|
|
|
1331:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** {
|
|
|
1332:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Get the pending status of the WAKEUPTIMER Interrupt */
|
|
|
1333:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** if(__HAL_RTC_WAKEUPTIMER_GET_FLAG(hrtc, RTC_FLAG_WUTF) != RESET)
|
|
|
1334:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** {
|
|
|
1335:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* WAKEUPTIMER callback */
|
|
|
1336:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** HAL_RTCEx_WakeUpTimerEventCallback(hrtc);
|
|
|
1337:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1338:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Clear the WAKEUPTIMER interrupt pending bit */
|
|
|
1339:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __HAL_RTC_WAKEUPTIMER_CLEAR_FLAG(hrtc, RTC_FLAG_WUTF);
|
|
|
1340:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
1341:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1342:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1343:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Clear the EXTI's line Flag for RTC WakeUpTimer */
|
|
|
1344:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __HAL_RTC_WAKEUPTIMER_EXTI_CLEAR_FLAG();
|
|
|
1345:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1346:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Change RTC state */
|
|
|
1347:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** hrtc->State = HAL_RTC_STATE_READY;
|
|
|
1348:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
1349:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1350:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /**
|
|
|
1351:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @brief Wake Up Timer callback.
|
|
|
1352:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @param hrtc: RTC handle
|
|
|
1353:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @retval None
|
|
|
1354:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** */
|
|
|
1355:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __weak void HAL_RTCEx_WakeUpTimerEventCallback(RTC_HandleTypeDef *hrtc)
|
|
|
1356:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** {
|
|
|
2098 .loc 1 1356 0
|
|
|
2099 .cfi_startproc
|
|
|
2100 @ args = 0, pretend = 0, frame = 0
|
|
|
2101 @ frame_needed = 0, uses_anonymous_args = 0
|
|
|
2102 @ link register save eliminated.
|
|
|
2103 .LVL153:
|
|
|
1357:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Prevent unused argument(s) compilation warning */
|
|
|
1358:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** UNUSED(hrtc);
|
|
|
1359:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1360:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* NOTE : This function should not be modified, when the callback is needed,
|
|
|
1361:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** the HAL_RTCEx_WakeUpTimerEventCallback could be implemented in the user file
|
|
|
1362:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** */
|
|
|
1363:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
2104 .loc 1 1363 0
|
|
|
2105 @ sp needed
|
|
|
2106 0000 7047 bx lr
|
|
|
2107 .cfi_endproc
|
|
|
2108 .LFE60:
|
|
|
2110 .section .text.HAL_RTCEx_WakeUpTimerIRQHandler,"ax",%progbits
|
|
|
2111 .align 1
|
|
|
2112 .global HAL_RTCEx_WakeUpTimerIRQHandler
|
|
|
2113 .syntax unified
|
|
|
2114 .code 16
|
|
|
ARM GAS /tmp/ccjDTEau.s page 62
|
|
|
|
|
|
|
|
|
2115 .thumb_func
|
|
|
2116 .fpu softvfp
|
|
|
2118 HAL_RTCEx_WakeUpTimerIRQHandler:
|
|
|
2119 .LFB59:
|
|
|
1331:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Get the pending status of the WAKEUPTIMER Interrupt */
|
|
|
2120 .loc 1 1331 0
|
|
|
2121 .cfi_startproc
|
|
|
2122 @ args = 0, pretend = 0, frame = 0
|
|
|
2123 @ frame_needed = 0, uses_anonymous_args = 0
|
|
|
2124 .LVL154:
|
|
|
2125 0000 10B5 push {r4, lr}
|
|
|
2126 .LCFI16:
|
|
|
2127 .cfi_def_cfa_offset 8
|
|
|
2128 .cfi_offset 4, -8
|
|
|
2129 .cfi_offset 14, -4
|
|
|
2130 0002 0400 movs r4, r0
|
|
|
1333:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** {
|
|
|
2131 .loc 1 1333 0
|
|
|
2132 0004 0368 ldr r3, [r0]
|
|
|
2133 0006 DB68 ldr r3, [r3, #12]
|
|
|
2134 0008 5B05 lsls r3, r3, #21
|
|
|
2135 000a 07D4 bmi .L140
|
|
|
2136 .LVL155:
|
|
|
2137 .L139:
|
|
|
1344:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
2138 .loc 1 1344 0
|
|
|
2139 000c 084B ldr r3, .L141
|
|
|
2140 000e 8022 movs r2, #128
|
|
|
2141 0010 5203 lsls r2, r2, #13
|
|
|
2142 0012 5A61 str r2, [r3, #20]
|
|
|
1347:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
2143 .loc 1 1347 0
|
|
|
2144 0014 2123 movs r3, #33
|
|
|
2145 0016 0122 movs r2, #1
|
|
|
2146 0018 E254 strb r2, [r4, r3]
|
|
|
1348:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
2147 .loc 1 1348 0
|
|
|
2148 @ sp needed
|
|
|
2149 .LVL156:
|
|
|
2150 001a 10BD pop {r4, pc}
|
|
|
2151 .LVL157:
|
|
|
2152 .L140:
|
|
|
1336:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
2153 .loc 1 1336 0
|
|
|
2154 001c FFF7FEFF bl HAL_RTCEx_WakeUpTimerEventCallback
|
|
|
2155 .LVL158:
|
|
|
1339:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
2156 .loc 1 1339 0
|
|
|
2157 0020 2168 ldr r1, [r4]
|
|
|
2158 0022 CA68 ldr r2, [r1, #12]
|
|
|
2159 0024 FF23 movs r3, #255
|
|
|
2160 0026 1A40 ands r2, r3
|
|
|
2161 0028 024B ldr r3, .L141+4
|
|
|
2162 002a 1343 orrs r3, r2
|
|
|
2163 002c CB60 str r3, [r1, #12]
|
|
|
2164 002e EDE7 b .L139
|
|
|
2165 .L142:
|
|
|
ARM GAS /tmp/ccjDTEau.s page 63
|
|
|
|
|
|
|
|
|
2166 .align 2
|
|
|
2167 .L141:
|
|
|
2168 0030 00040140 .word 1073808384
|
|
|
2169 0034 7FFBFFFF .word -1153
|
|
|
2170 .cfi_endproc
|
|
|
2171 .LFE59:
|
|
|
2173 .section .text.HAL_RTCEx_PollForWakeUpTimerEvent,"ax",%progbits
|
|
|
2174 .align 1
|
|
|
2175 .global HAL_RTCEx_PollForWakeUpTimerEvent
|
|
|
2176 .syntax unified
|
|
|
2177 .code 16
|
|
|
2178 .thumb_func
|
|
|
2179 .fpu softvfp
|
|
|
2181 HAL_RTCEx_PollForWakeUpTimerEvent:
|
|
|
2182 .LFB61:
|
|
|
1364:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1365:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1366:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /**
|
|
|
1367:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @brief Handle Wake Up Timer Polling.
|
|
|
1368:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @param hrtc: RTC handle
|
|
|
1369:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @param Timeout: Timeout duration
|
|
|
1370:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @retval HAL status
|
|
|
1371:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** */
|
|
|
1372:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** HAL_StatusTypeDef HAL_RTCEx_PollForWakeUpTimerEvent(RTC_HandleTypeDef *hrtc, uint32_t Timeout)
|
|
|
1373:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** {
|
|
|
2183 .loc 1 1373 0
|
|
|
2184 .cfi_startproc
|
|
|
2185 @ args = 0, pretend = 0, frame = 0
|
|
|
2186 @ frame_needed = 0, uses_anonymous_args = 0
|
|
|
2187 .LVL159:
|
|
|
2188 0000 70B5 push {r4, r5, r6, lr}
|
|
|
2189 .LCFI17:
|
|
|
2190 .cfi_def_cfa_offset 16
|
|
|
2191 .cfi_offset 4, -16
|
|
|
2192 .cfi_offset 5, -12
|
|
|
2193 .cfi_offset 6, -8
|
|
|
2194 .cfi_offset 14, -4
|
|
|
2195 0002 0400 movs r4, r0
|
|
|
2196 0004 0D00 movs r5, r1
|
|
|
1374:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** uint32_t tickstart = HAL_GetTick();
|
|
|
2197 .loc 1 1374 0
|
|
|
2198 0006 FFF7FEFF bl HAL_GetTick
|
|
|
2199 .LVL160:
|
|
|
2200 000a 0600 movs r6, r0
|
|
|
2201 .LVL161:
|
|
|
2202 .L145:
|
|
|
1375:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1376:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** while(__HAL_RTC_WAKEUPTIMER_GET_FLAG(hrtc, RTC_FLAG_WUTF) == RESET)
|
|
|
2203 .loc 1 1376 0
|
|
|
2204 000c 2368 ldr r3, [r4]
|
|
|
2205 000e DA68 ldr r2, [r3, #12]
|
|
|
2206 0010 5205 lsls r2, r2, #21
|
|
|
2207 0012 0DD4 bmi .L149
|
|
|
1377:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** {
|
|
|
1378:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** if(Timeout != HAL_MAX_DELAY)
|
|
|
2208 .loc 1 1378 0
|
|
|
2209 0014 6B1C adds r3, r5, #1
|
|
|
ARM GAS /tmp/ccjDTEau.s page 64
|
|
|
|
|
|
|
|
|
2210 0016 F9D0 beq .L145
|
|
|
1379:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** {
|
|
|
1380:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** if((Timeout == 0U)||((HAL_GetTick() - tickstart ) > Timeout))
|
|
|
2211 .loc 1 1380 0
|
|
|
2212 0018 002D cmp r5, #0
|
|
|
2213 001a 04D0 beq .L146
|
|
|
2214 .loc 1 1380 0 is_stmt 0 discriminator 1
|
|
|
2215 001c FFF7FEFF bl HAL_GetTick
|
|
|
2216 .LVL162:
|
|
|
2217 0020 801B subs r0, r0, r6
|
|
|
2218 0022 A842 cmp r0, r5
|
|
|
2219 0024 F2D9 bls .L145
|
|
|
2220 .L146:
|
|
|
1381:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** {
|
|
|
1382:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** hrtc->State = HAL_RTC_STATE_TIMEOUT;
|
|
|
2221 .loc 1 1382 0 is_stmt 1
|
|
|
2222 0026 2123 movs r3, #33
|
|
|
2223 0028 0322 movs r2, #3
|
|
|
2224 002a E254 strb r2, [r4, r3]
|
|
|
1383:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1384:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** return HAL_TIMEOUT;
|
|
|
2225 .loc 1 1384 0
|
|
|
2226 002c 0320 movs r0, #3
|
|
|
2227 002e 09E0 b .L147
|
|
|
2228 .L149:
|
|
|
1385:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
1386:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
1387:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
1388:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1389:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Clear the WAKEUPTIMER Flag */
|
|
|
1390:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __HAL_RTC_WAKEUPTIMER_CLEAR_FLAG(hrtc, RTC_FLAG_WUTF);
|
|
|
2229 .loc 1 1390 0
|
|
|
2230 0030 D968 ldr r1, [r3, #12]
|
|
|
2231 0032 FF22 movs r2, #255
|
|
|
2232 0034 1140 ands r1, r2
|
|
|
2233 0036 044A ldr r2, .L150
|
|
|
2234 0038 0A43 orrs r2, r1
|
|
|
2235 003a DA60 str r2, [r3, #12]
|
|
|
1391:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1392:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Change RTC state */
|
|
|
1393:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** hrtc->State = HAL_RTC_STATE_READY;
|
|
|
2236 .loc 1 1393 0
|
|
|
2237 003c 2123 movs r3, #33
|
|
|
2238 003e 0122 movs r2, #1
|
|
|
2239 0040 E254 strb r2, [r4, r3]
|
|
|
1394:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1395:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** return HAL_OK;
|
|
|
2240 .loc 1 1395 0
|
|
|
2241 0042 0020 movs r0, #0
|
|
|
2242 .L147:
|
|
|
1396:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
2243 .loc 1 1396 0
|
|
|
2244 @ sp needed
|
|
|
2245 .LVL163:
|
|
|
2246 .LVL164:
|
|
|
2247 .LVL165:
|
|
|
2248 0044 70BD pop {r4, r5, r6, pc}
|
|
|
ARM GAS /tmp/ccjDTEau.s page 65
|
|
|
|
|
|
|
|
|
2249 .L151:
|
|
|
2250 0046 C046 .align 2
|
|
|
2251 .L150:
|
|
|
2252 0048 7FFBFFFF .word -1153
|
|
|
2253 .cfi_endproc
|
|
|
2254 .LFE61:
|
|
|
2256 .section .text.HAL_RTCEx_BKUPWrite,"ax",%progbits
|
|
|
2257 .align 1
|
|
|
2258 .global HAL_RTCEx_BKUPWrite
|
|
|
2259 .syntax unified
|
|
|
2260 .code 16
|
|
|
2261 .thumb_func
|
|
|
2262 .fpu softvfp
|
|
|
2264 HAL_RTCEx_BKUPWrite:
|
|
|
2265 .LFB62:
|
|
|
1397:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1398:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /**
|
|
|
1399:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @}
|
|
|
1400:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** */
|
|
|
1401:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1402:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1403:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /** @addtogroup RTCEx_Exported_Functions_Group3
|
|
|
1404:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @brief Extended Peripheral Control functions
|
|
|
1405:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** *
|
|
|
1406:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** @verbatim
|
|
|
1407:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** ===============================================================================
|
|
|
1408:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** ##### Extended Peripheral Control functions #####
|
|
|
1409:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** ===============================================================================
|
|
|
1410:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** [..]
|
|
|
1411:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** This subsection provides functions allowing to
|
|
|
1412:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** (+) Write a data in a specified RTC Backup data register
|
|
|
1413:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** (+) Read a data in a specified RTC Backup data register
|
|
|
1414:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** (+) Set the Coarse calibration parameters.
|
|
|
1415:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** (+) Deactivate the Coarse calibration parameters
|
|
|
1416:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** (+) Set the Smooth calibration parameters.
|
|
|
1417:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** (+) Configure the Synchronization Shift Control Settings.
|
|
|
1418:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** (+) Configure the Calibration Pinout (RTC_CALIB) Selection (1Hz or 512Hz).
|
|
|
1419:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** (+) Deactivate the Calibration Pinout (RTC_CALIB) Selection (1Hz or 512Hz).
|
|
|
1420:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** (+) Enable the RTC reference clock detection.
|
|
|
1421:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** (+) Disable the RTC reference clock detection.
|
|
|
1422:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** (+) Enable the Bypass Shadow feature.
|
|
|
1423:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** (+) Disable the Bypass Shadow feature.
|
|
|
1424:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1425:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** @endverbatim
|
|
|
1426:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @{
|
|
|
1427:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** */
|
|
|
1428:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1429:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /**
|
|
|
1430:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @brief Write a data in a specified RTC Backup data register.
|
|
|
1431:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @param hrtc: RTC handle
|
|
|
1432:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @param BackupRegister: RTC Backup data Register number.
|
|
|
1433:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * This parameter can be: RTC_BKP_DRx where x can be from 0 to 19 to
|
|
|
1434:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * specify the register.
|
|
|
1435:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @param Data: Data to be written in the specified RTC Backup data register.
|
|
|
1436:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @retval None
|
|
|
1437:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** */
|
|
|
1438:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** void HAL_RTCEx_BKUPWrite(RTC_HandleTypeDef *hrtc, uint32_t BackupRegister, uint32_t Data)
|
|
|
ARM GAS /tmp/ccjDTEau.s page 66
|
|
|
|
|
|
|
|
|
1439:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** {
|
|
|
2266 .loc 1 1439 0
|
|
|
2267 .cfi_startproc
|
|
|
2268 @ args = 0, pretend = 0, frame = 0
|
|
|
2269 @ frame_needed = 0, uses_anonymous_args = 0
|
|
|
2270 @ link register save eliminated.
|
|
|
2271 .LVL166:
|
|
|
1440:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** uint32_t tmp = 0U;
|
|
|
1441:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1442:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Check the parameters */
|
|
|
1443:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** assert_param(IS_RTC_BKP(BackupRegister));
|
|
|
1444:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1445:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** tmp = (uint32_t)&(hrtc->Instance->BKP0R);
|
|
|
2272 .loc 1 1445 0
|
|
|
2273 0000 0368 ldr r3, [r0]
|
|
|
2274 0002 5033 adds r3, r3, #80
|
|
|
2275 .LVL167:
|
|
|
1446:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** tmp += (BackupRegister * 4U);
|
|
|
2276 .loc 1 1446 0
|
|
|
2277 0004 8900 lsls r1, r1, #2
|
|
|
2278 .LVL168:
|
|
|
2279 0006 C918 adds r1, r1, r3
|
|
|
2280 .LVL169:
|
|
|
1447:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1448:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Write the specified register */
|
|
|
1449:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** *(__IO uint32_t *)tmp = (uint32_t)Data;
|
|
|
2281 .loc 1 1449 0
|
|
|
2282 0008 0A60 str r2, [r1]
|
|
|
1450:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
2283 .loc 1 1450 0
|
|
|
2284 @ sp needed
|
|
|
2285 000a 7047 bx lr
|
|
|
2286 .cfi_endproc
|
|
|
2287 .LFE62:
|
|
|
2289 .section .text.HAL_RTCEx_BKUPRead,"ax",%progbits
|
|
|
2290 .align 1
|
|
|
2291 .global HAL_RTCEx_BKUPRead
|
|
|
2292 .syntax unified
|
|
|
2293 .code 16
|
|
|
2294 .thumb_func
|
|
|
2295 .fpu softvfp
|
|
|
2297 HAL_RTCEx_BKUPRead:
|
|
|
2298 .LFB63:
|
|
|
1451:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1452:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /**
|
|
|
1453:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @brief Reads data from the specified RTC Backup data Register.
|
|
|
1454:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @param hrtc: RTC handle
|
|
|
1455:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @param BackupRegister: RTC Backup data Register number.
|
|
|
1456:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * This parameter can be: RTC_BKP_DRx where x can be from 0 to 19 to
|
|
|
1457:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * specify the register.
|
|
|
1458:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @retval Read value
|
|
|
1459:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** */
|
|
|
1460:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** uint32_t HAL_RTCEx_BKUPRead(RTC_HandleTypeDef *hrtc, uint32_t BackupRegister)
|
|
|
1461:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** {
|
|
|
2299 .loc 1 1461 0
|
|
|
2300 .cfi_startproc
|
|
|
2301 @ args = 0, pretend = 0, frame = 0
|
|
|
ARM GAS /tmp/ccjDTEau.s page 67
|
|
|
|
|
|
|
|
|
2302 @ frame_needed = 0, uses_anonymous_args = 0
|
|
|
2303 @ link register save eliminated.
|
|
|
2304 .LVL170:
|
|
|
1462:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** uint32_t tmp = 0U;
|
|
|
1463:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1464:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Check the parameters */
|
|
|
1465:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** assert_param(IS_RTC_BKP(BackupRegister));
|
|
|
1466:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1467:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** tmp = (uint32_t)&(hrtc->Instance->BKP0R);
|
|
|
2305 .loc 1 1467 0
|
|
|
2306 0000 0368 ldr r3, [r0]
|
|
|
2307 0002 5033 adds r3, r3, #80
|
|
|
2308 .LVL171:
|
|
|
1468:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** tmp += (BackupRegister * 4U);
|
|
|
2309 .loc 1 1468 0
|
|
|
2310 0004 8900 lsls r1, r1, #2
|
|
|
2311 .LVL172:
|
|
|
2312 0006 C918 adds r1, r1, r3
|
|
|
2313 .LVL173:
|
|
|
1469:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1470:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Read the specified register */
|
|
|
1471:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** return (*(__IO uint32_t *)tmp);
|
|
|
2314 .loc 1 1471 0
|
|
|
2315 0008 0868 ldr r0, [r1]
|
|
|
2316 .LVL174:
|
|
|
1472:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
2317 .loc 1 1472 0
|
|
|
2318 @ sp needed
|
|
|
2319 000a 7047 bx lr
|
|
|
2320 .cfi_endproc
|
|
|
2321 .LFE63:
|
|
|
2323 .section .text.HAL_RTCEx_SetSmoothCalib,"ax",%progbits
|
|
|
2324 .align 1
|
|
|
2325 .global HAL_RTCEx_SetSmoothCalib
|
|
|
2326 .syntax unified
|
|
|
2327 .code 16
|
|
|
2328 .thumb_func
|
|
|
2329 .fpu softvfp
|
|
|
2331 HAL_RTCEx_SetSmoothCalib:
|
|
|
2332 .LFB64:
|
|
|
1473:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1474:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /**
|
|
|
1475:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @brief Set the Smooth calibration parameters.
|
|
|
1476:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @param hrtc: RTC handle
|
|
|
1477:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @param SmoothCalibPeriod: Select the Smooth Calibration Period.
|
|
|
1478:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * This parameter can be can be one of the following values :
|
|
|
1479:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @arg RTC_SMOOTHCALIB_PERIOD_32SEC: The smooth calibration period is 32s.
|
|
|
1480:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @arg RTC_SMOOTHCALIB_PERIOD_16SEC: The smooth calibration period is 16s.
|
|
|
1481:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @arg RTC_SMOOTHCALIB_PERIOD_8SEC: The smooth calibration period is 8s.
|
|
|
1482:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @param SmoothCalibPlusPulses: Select to Set or reset the CALP bit.
|
|
|
1483:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * This parameter can be one of the following values:
|
|
|
1484:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @arg RTC_SMOOTHCALIB_PLUSPULSES_SET: Add one RTCCLK pulse every 2*11 pulses.
|
|
|
1485:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @arg RTC_SMOOTHCALIB_PLUSPULSES_RESET: No RTCCLK pulses are added.
|
|
|
1486:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @param SmoothCalibMinusPulsesValue: Select the value of CALM[8:0] bits.
|
|
|
1487:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * This parameter can be one any value from 0 to 0x000001FF.
|
|
|
1488:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @note To deactivate the smooth calibration, the field SmoothCalibPlusPulses
|
|
|
1489:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * must be equal to SMOOTHCALIB_PLUSPULSES_RESET and the field
|
|
|
ARM GAS /tmp/ccjDTEau.s page 68
|
|
|
|
|
|
|
|
|
1490:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * SmoothCalibMinusPulsesValue mut be equal to 0.
|
|
|
1491:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @retval HAL status
|
|
|
1492:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** */
|
|
|
1493:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** HAL_StatusTypeDef HAL_RTCEx_SetSmoothCalib(RTC_HandleTypeDef* hrtc, uint32_t SmoothCalibPeriod, uin
|
|
|
1494:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** {
|
|
|
2333 .loc 1 1494 0
|
|
|
2334 .cfi_startproc
|
|
|
2335 @ args = 0, pretend = 0, frame = 8
|
|
|
2336 @ frame_needed = 0, uses_anonymous_args = 0
|
|
|
2337 .LVL175:
|
|
|
2338 0000 F0B5 push {r4, r5, r6, r7, lr}
|
|
|
2339 .LCFI18:
|
|
|
2340 .cfi_def_cfa_offset 20
|
|
|
2341 .cfi_offset 4, -20
|
|
|
2342 .cfi_offset 5, -16
|
|
|
2343 .cfi_offset 6, -12
|
|
|
2344 .cfi_offset 7, -8
|
|
|
2345 .cfi_offset 14, -4
|
|
|
2346 0002 83B0 sub sp, sp, #12
|
|
|
2347 .LCFI19:
|
|
|
2348 .cfi_def_cfa_offset 32
|
|
|
2349 0004 0400 movs r4, r0
|
|
|
2350 0006 0D00 movs r5, r1
|
|
|
2351 0008 0192 str r2, [sp, #4]
|
|
|
2352 000a 1E00 movs r6, r3
|
|
|
2353 .LVL176:
|
|
|
1495:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** uint32_t tickstart = 0U;
|
|
|
1496:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1497:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Check the parameters */
|
|
|
1498:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** assert_param(IS_RTC_SMOOTH_CALIB_PERIOD(SmoothCalibPeriod));
|
|
|
1499:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** assert_param(IS_RTC_SMOOTH_CALIB_PLUS(SmoothCalibPlusPulses));
|
|
|
1500:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** assert_param(IS_RTC_SMOOTH_CALIB_MINUS(SmoothCalibMinusPulsesValue));
|
|
|
1501:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1502:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Process Locked */
|
|
|
1503:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __HAL_LOCK(hrtc);
|
|
|
2354 .loc 1 1503 0
|
|
|
2355 000c 2023 movs r3, #32
|
|
|
2356 .LVL177:
|
|
|
2357 000e C35C ldrb r3, [r0, r3]
|
|
|
2358 0010 012B cmp r3, #1
|
|
|
2359 0012 39D0 beq .L159
|
|
|
2360 .loc 1 1503 0 is_stmt 0 discriminator 2
|
|
|
2361 0014 2023 movs r3, #32
|
|
|
2362 0016 0122 movs r2, #1
|
|
|
2363 .LVL178:
|
|
|
2364 0018 C254 strb r2, [r0, r3]
|
|
|
1504:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1505:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** hrtc->State = HAL_RTC_STATE_BUSY;
|
|
|
2365 .loc 1 1505 0 is_stmt 1 discriminator 2
|
|
|
2366 001a 0133 adds r3, r3, #1
|
|
|
2367 001c 0132 adds r2, r2, #1
|
|
|
2368 001e C254 strb r2, [r0, r3]
|
|
|
1506:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1507:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Disable the write protection for RTC registers */
|
|
|
1508:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __HAL_RTC_WRITEPROTECTION_DISABLE(hrtc);
|
|
|
2369 .loc 1 1508 0 discriminator 2
|
|
|
2370 0020 0368 ldr r3, [r0]
|
|
|
ARM GAS /tmp/ccjDTEau.s page 69
|
|
|
|
|
|
|
|
|
2371 0022 C832 adds r2, r2, #200
|
|
|
2372 0024 5A62 str r2, [r3, #36]
|
|
|
2373 0026 0368 ldr r3, [r0]
|
|
|
2374 0028 773A subs r2, r2, #119
|
|
|
2375 002a 5A62 str r2, [r3, #36]
|
|
|
1509:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1510:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* check if a calibration is pending*/
|
|
|
1511:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** if((hrtc->Instance->ISR & RTC_ISR_RECALPF) != RESET)
|
|
|
2376 .loc 1 1511 0 discriminator 2
|
|
|
2377 002c 0368 ldr r3, [r0]
|
|
|
2378 002e DB68 ldr r3, [r3, #12]
|
|
|
2379 0030 DB03 lsls r3, r3, #15
|
|
|
2380 0032 10D4 bmi .L160
|
|
|
2381 .LVL179:
|
|
|
2382 .L156:
|
|
|
1512:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** {
|
|
|
1513:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** tickstart = HAL_GetTick();
|
|
|
1514:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1515:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* check if a calibration is pending*/
|
|
|
1516:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** while((hrtc->Instance->ISR & RTC_ISR_RECALPF) != RESET)
|
|
|
1517:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** {
|
|
|
1518:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** if((HAL_GetTick() - tickstart ) > RTC_TIMEOUT_VALUE)
|
|
|
1519:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** {
|
|
|
1520:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Enable the write protection for RTC registers */
|
|
|
1521:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __HAL_RTC_WRITEPROTECTION_ENABLE(hrtc);
|
|
|
1522:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1523:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Change RTC state */
|
|
|
1524:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** hrtc->State = HAL_RTC_STATE_TIMEOUT;
|
|
|
1525:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1526:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Process Unlocked */
|
|
|
1527:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __HAL_UNLOCK(hrtc);
|
|
|
1528:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1529:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** return HAL_TIMEOUT;
|
|
|
1530:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
1531:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
1532:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
1533:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1534:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Configure the Smooth calibration settings */
|
|
|
1535:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** hrtc->Instance->CALR = (uint32_t)((uint32_t)SmoothCalibPeriod | (uint32_t)SmoothCalibPlusPulses |
|
|
|
2383 .loc 1 1535 0
|
|
|
2384 0034 019B ldr r3, [sp, #4]
|
|
|
2385 0036 1D43 orrs r5, r3
|
|
|
2386 .LVL180:
|
|
|
2387 0038 2368 ldr r3, [r4]
|
|
|
2388 003a 2E43 orrs r6, r5
|
|
|
2389 .LVL181:
|
|
|
2390 003c DE63 str r6, [r3, #60]
|
|
|
1536:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1537:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Enable the write protection for RTC registers */
|
|
|
1538:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __HAL_RTC_WRITEPROTECTION_ENABLE(hrtc);
|
|
|
2391 .loc 1 1538 0
|
|
|
2392 003e 2368 ldr r3, [r4]
|
|
|
2393 0040 FF22 movs r2, #255
|
|
|
2394 0042 5A62 str r2, [r3, #36]
|
|
|
1539:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1540:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Change RTC state */
|
|
|
1541:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** hrtc->State = HAL_RTC_STATE_READY;
|
|
|
ARM GAS /tmp/ccjDTEau.s page 70
|
|
|
|
|
|
|
|
|
2395 .loc 1 1541 0
|
|
|
2396 0044 2123 movs r3, #33
|
|
|
2397 0046 FE3A subs r2, r2, #254
|
|
|
2398 0048 E254 strb r2, [r4, r3]
|
|
|
1542:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1543:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Process Unlocked */
|
|
|
1544:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __HAL_UNLOCK(hrtc);
|
|
|
2399 .loc 1 1544 0
|
|
|
2400 004a 013B subs r3, r3, #1
|
|
|
2401 004c 0022 movs r2, #0
|
|
|
2402 004e E254 strb r2, [r4, r3]
|
|
|
1545:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1546:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** return HAL_OK;
|
|
|
2403 .loc 1 1546 0
|
|
|
2404 0050 0020 movs r0, #0
|
|
|
2405 .L155:
|
|
|
1547:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
2406 .loc 1 1547 0
|
|
|
2407 0052 03B0 add sp, sp, #12
|
|
|
2408 @ sp needed
|
|
|
2409 .LVL182:
|
|
|
2410 0054 F0BD pop {r4, r5, r6, r7, pc}
|
|
|
2411 .LVL183:
|
|
|
2412 .L160:
|
|
|
1513:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
2413 .loc 1 1513 0
|
|
|
2414 0056 FFF7FEFF bl HAL_GetTick
|
|
|
2415 .LVL184:
|
|
|
2416 005a 0700 movs r7, r0
|
|
|
2417 .LVL185:
|
|
|
2418 .L157:
|
|
|
1516:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** {
|
|
|
2419 .loc 1 1516 0
|
|
|
2420 005c 2368 ldr r3, [r4]
|
|
|
2421 005e DB68 ldr r3, [r3, #12]
|
|
|
2422 0060 DB03 lsls r3, r3, #15
|
|
|
2423 0062 E7D5 bpl .L156
|
|
|
1518:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** {
|
|
|
2424 .loc 1 1518 0
|
|
|
2425 0064 FFF7FEFF bl HAL_GetTick
|
|
|
2426 .LVL186:
|
|
|
2427 0068 C01B subs r0, r0, r7
|
|
|
2428 006a FA23 movs r3, #250
|
|
|
2429 006c 9B00 lsls r3, r3, #2
|
|
|
2430 006e 9842 cmp r0, r3
|
|
|
2431 0070 F4D9 bls .L157
|
|
|
1521:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
2432 .loc 1 1521 0
|
|
|
2433 0072 2368 ldr r3, [r4]
|
|
|
2434 0074 FF22 movs r2, #255
|
|
|
2435 0076 5A62 str r2, [r3, #36]
|
|
|
1524:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
2436 .loc 1 1524 0
|
|
|
2437 0078 2123 movs r3, #33
|
|
|
2438 007a FC3A subs r2, r2, #252
|
|
|
2439 007c E254 strb r2, [r4, r3]
|
|
|
1527:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
ARM GAS /tmp/ccjDTEau.s page 71
|
|
|
|
|
|
|
|
|
2440 .loc 1 1527 0
|
|
|
2441 007e 013B subs r3, r3, #1
|
|
|
2442 0080 0022 movs r2, #0
|
|
|
2443 0082 E254 strb r2, [r4, r3]
|
|
|
1529:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
2444 .loc 1 1529 0
|
|
|
2445 0084 0320 movs r0, #3
|
|
|
2446 0086 E4E7 b .L155
|
|
|
2447 .LVL187:
|
|
|
2448 .L159:
|
|
|
1503:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
2449 .loc 1 1503 0
|
|
|
2450 0088 0220 movs r0, #2
|
|
|
2451 .LVL188:
|
|
|
2452 008a E2E7 b .L155
|
|
|
2453 .cfi_endproc
|
|
|
2454 .LFE64:
|
|
|
2456 .section .text.HAL_RTCEx_SetSynchroShift,"ax",%progbits
|
|
|
2457 .align 1
|
|
|
2458 .global HAL_RTCEx_SetSynchroShift
|
|
|
2459 .syntax unified
|
|
|
2460 .code 16
|
|
|
2461 .thumb_func
|
|
|
2462 .fpu softvfp
|
|
|
2464 HAL_RTCEx_SetSynchroShift:
|
|
|
2465 .LFB65:
|
|
|
1548:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1549:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /**
|
|
|
1550:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @brief Configure the Synchronization Shift Control Settings.
|
|
|
1551:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @note When REFCKON is set, firmware must not write to Shift control register.
|
|
|
1552:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @param hrtc: RTC handle
|
|
|
1553:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @param ShiftAdd1S: Select to add or not 1 second to the time calendar.
|
|
|
1554:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * This parameter can be one of the following values :
|
|
|
1555:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @arg RTC_SHIFTADD1S_SET: Add one second to the clock calendar.
|
|
|
1556:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @arg RTC_SHIFTADD1S_RESET: No effect.
|
|
|
1557:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @param ShiftSubFS: Select the number of Second Fractions to substitute.
|
|
|
1558:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * This parameter can be one any value from 0 to 0x7FFF.
|
|
|
1559:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @retval HAL status
|
|
|
1560:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** */
|
|
|
1561:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** HAL_StatusTypeDef HAL_RTCEx_SetSynchroShift(RTC_HandleTypeDef* hrtc, uint32_t ShiftAdd1S, uint32_t
|
|
|
1562:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** {
|
|
|
2466 .loc 1 1562 0
|
|
|
2467 .cfi_startproc
|
|
|
2468 @ args = 0, pretend = 0, frame = 0
|
|
|
2469 @ frame_needed = 0, uses_anonymous_args = 0
|
|
|
2470 .LVL189:
|
|
|
2471 0000 F8B5 push {r3, r4, r5, r6, r7, lr}
|
|
|
2472 .LCFI20:
|
|
|
2473 .cfi_def_cfa_offset 24
|
|
|
2474 .cfi_offset 3, -24
|
|
|
2475 .cfi_offset 4, -20
|
|
|
2476 .cfi_offset 5, -16
|
|
|
2477 .cfi_offset 6, -12
|
|
|
2478 .cfi_offset 7, -8
|
|
|
2479 .cfi_offset 14, -4
|
|
|
2480 0002 0600 movs r6, r0
|
|
|
2481 0004 0D00 movs r5, r1
|
|
|
ARM GAS /tmp/ccjDTEau.s page 72
|
|
|
|
|
|
|
|
|
2482 0006 1400 movs r4, r2
|
|
|
2483 .LVL190:
|
|
|
1563:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** uint32_t tickstart = 0U;
|
|
|
1564:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1565:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Check the parameters */
|
|
|
1566:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** assert_param(IS_RTC_SHIFT_ADD1S(ShiftAdd1S));
|
|
|
1567:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** assert_param(IS_RTC_SHIFT_SUBFS(ShiftSubFS));
|
|
|
1568:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1569:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Process Locked */
|
|
|
1570:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __HAL_LOCK(hrtc);
|
|
|
2484 .loc 1 1570 0
|
|
|
2485 0008 2023 movs r3, #32
|
|
|
2486 000a C35C ldrb r3, [r0, r3]
|
|
|
2487 000c 012B cmp r3, #1
|
|
|
2488 000e 52D0 beq .L167
|
|
|
2489 .loc 1 1570 0 is_stmt 0 discriminator 2
|
|
|
2490 0010 2023 movs r3, #32
|
|
|
2491 0012 0122 movs r2, #1
|
|
|
2492 .LVL191:
|
|
|
2493 0014 C254 strb r2, [r0, r3]
|
|
|
1571:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1572:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** hrtc->State = HAL_RTC_STATE_BUSY;
|
|
|
2494 .loc 1 1572 0 is_stmt 1 discriminator 2
|
|
|
2495 0016 0133 adds r3, r3, #1
|
|
|
2496 0018 0132 adds r2, r2, #1
|
|
|
2497 001a C254 strb r2, [r0, r3]
|
|
|
1573:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1574:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Disable the write protection for RTC registers */
|
|
|
1575:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __HAL_RTC_WRITEPROTECTION_DISABLE(hrtc);
|
|
|
2498 .loc 1 1575 0 discriminator 2
|
|
|
2499 001c 0368 ldr r3, [r0]
|
|
|
2500 001e C832 adds r2, r2, #200
|
|
|
2501 0020 5A62 str r2, [r3, #36]
|
|
|
2502 0022 0368 ldr r3, [r0]
|
|
|
2503 0024 773A subs r2, r2, #119
|
|
|
2504 0026 5A62 str r2, [r3, #36]
|
|
|
1576:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1577:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** tickstart = HAL_GetTick();
|
|
|
2505 .loc 1 1577 0 discriminator 2
|
|
|
2506 0028 FFF7FEFF bl HAL_GetTick
|
|
|
2507 .LVL192:
|
|
|
2508 002c 0700 movs r7, r0
|
|
|
2509 .LVL193:
|
|
|
2510 .L163:
|
|
|
1578:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1579:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Wait until the shift is completed*/
|
|
|
1580:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** while((hrtc->Instance->ISR & RTC_ISR_SHPF) != RESET)
|
|
|
2511 .loc 1 1580 0
|
|
|
2512 002e 3368 ldr r3, [r6]
|
|
|
2513 0030 DA68 ldr r2, [r3, #12]
|
|
|
2514 0032 1207 lsls r2, r2, #28
|
|
|
2515 0034 11D5 bpl .L168
|
|
|
1581:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** {
|
|
|
1582:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** if((HAL_GetTick() - tickstart ) > RTC_TIMEOUT_VALUE)
|
|
|
2516 .loc 1 1582 0
|
|
|
2517 0036 FFF7FEFF bl HAL_GetTick
|
|
|
2518 .LVL194:
|
|
|
ARM GAS /tmp/ccjDTEau.s page 73
|
|
|
|
|
|
|
|
|
2519 003a C01B subs r0, r0, r7
|
|
|
2520 003c FA23 movs r3, #250
|
|
|
2521 003e 9B00 lsls r3, r3, #2
|
|
|
2522 0040 9842 cmp r0, r3
|
|
|
2523 0042 F4D9 bls .L163
|
|
|
1583:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** {
|
|
|
1584:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Enable the write protection for RTC registers */
|
|
|
1585:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __HAL_RTC_WRITEPROTECTION_ENABLE(hrtc);
|
|
|
2524 .loc 1 1585 0
|
|
|
2525 0044 3368 ldr r3, [r6]
|
|
|
2526 0046 FF22 movs r2, #255
|
|
|
2527 0048 5A62 str r2, [r3, #36]
|
|
|
1586:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1587:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** hrtc->State = HAL_RTC_STATE_TIMEOUT;
|
|
|
2528 .loc 1 1587 0
|
|
|
2529 004a 2123 movs r3, #33
|
|
|
2530 004c FC3A subs r2, r2, #252
|
|
|
2531 004e F254 strb r2, [r6, r3]
|
|
|
1588:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1589:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Process Unlocked */
|
|
|
1590:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __HAL_UNLOCK(hrtc);
|
|
|
2532 .loc 1 1590 0
|
|
|
2533 0050 013B subs r3, r3, #1
|
|
|
2534 0052 0022 movs r2, #0
|
|
|
2535 0054 F254 strb r2, [r6, r3]
|
|
|
1591:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1592:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** return HAL_TIMEOUT;
|
|
|
2536 .loc 1 1592 0
|
|
|
2537 0056 0320 movs r0, #3
|
|
|
2538 .LVL195:
|
|
|
2539 .L162:
|
|
|
1593:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
1594:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
1595:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1596:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Check if the reference clock detection is disabled */
|
|
|
1597:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** if((hrtc->Instance->CR & RTC_CR_REFCKON) == RESET)
|
|
|
1598:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** {
|
|
|
1599:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Configure the Shift settings */
|
|
|
1600:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** hrtc->Instance->SHIFTR = (uint32_t)(uint32_t)(ShiftSubFS) | (uint32_t)(ShiftAdd1S);
|
|
|
1601:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1602:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* If RTC_CR_BYPSHAD bit = 0, wait for synchro else this check is not needed */
|
|
|
1603:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** if((hrtc->Instance->CR & RTC_CR_BYPSHAD) == RESET)
|
|
|
1604:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** {
|
|
|
1605:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** if(HAL_RTC_WaitForSynchro(hrtc) != HAL_OK)
|
|
|
1606:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** {
|
|
|
1607:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Enable the write protection for RTC registers */
|
|
|
1608:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __HAL_RTC_WRITEPROTECTION_ENABLE(hrtc);
|
|
|
1609:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1610:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** hrtc->State = HAL_RTC_STATE_ERROR;
|
|
|
1611:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1612:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Process Unlocked */
|
|
|
1613:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __HAL_UNLOCK(hrtc);
|
|
|
1614:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1615:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** return HAL_ERROR;
|
|
|
1616:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
1617:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
1618:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
ARM GAS /tmp/ccjDTEau.s page 74
|
|
|
|
|
|
|
|
|
1619:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** else
|
|
|
1620:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** {
|
|
|
1621:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Enable the write protection for RTC registers */
|
|
|
1622:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __HAL_RTC_WRITEPROTECTION_ENABLE(hrtc);
|
|
|
1623:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1624:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Change RTC state */
|
|
|
1625:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** hrtc->State = HAL_RTC_STATE_ERROR;
|
|
|
1626:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1627:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Process Unlocked */
|
|
|
1628:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __HAL_UNLOCK(hrtc);
|
|
|
1629:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1630:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** return HAL_ERROR;
|
|
|
1631:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
1632:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1633:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Enable the write protection for RTC registers */
|
|
|
1634:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __HAL_RTC_WRITEPROTECTION_ENABLE(hrtc);
|
|
|
1635:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1636:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Change RTC state */
|
|
|
1637:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** hrtc->State = HAL_RTC_STATE_READY;
|
|
|
1638:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1639:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Process Unlocked */
|
|
|
1640:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __HAL_UNLOCK(hrtc);
|
|
|
1641:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1642:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** return HAL_OK;
|
|
|
1643:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
2540 .loc 1 1643 0
|
|
|
2541 @ sp needed
|
|
|
2542 .LVL196:
|
|
|
2543 .LVL197:
|
|
|
2544 0058 F8BD pop {r3, r4, r5, r6, r7, pc}
|
|
|
2545 .LVL198:
|
|
|
2546 .L168:
|
|
|
1597:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** {
|
|
|
2547 .loc 1 1597 0
|
|
|
2548 005a 9A68 ldr r2, [r3, #8]
|
|
|
2549 005c D206 lsls r2, r2, #27
|
|
|
2550 005e 20D4 bmi .L165
|
|
|
1600:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
2551 .loc 1 1600 0
|
|
|
2552 0060 2C43 orrs r4, r5
|
|
|
2553 .LVL199:
|
|
|
2554 0062 DC62 str r4, [r3, #44]
|
|
|
1603:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** {
|
|
|
2555 .loc 1 1603 0
|
|
|
2556 0064 3368 ldr r3, [r6]
|
|
|
2557 0066 9B68 ldr r3, [r3, #8]
|
|
|
2558 0068 9B06 lsls r3, r3, #26
|
|
|
2559 006a 0AD5 bpl .L169
|
|
|
2560 .L166:
|
|
|
1634:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
2561 .loc 1 1634 0
|
|
|
2562 006c 3368 ldr r3, [r6]
|
|
|
2563 006e FF22 movs r2, #255
|
|
|
2564 0070 5A62 str r2, [r3, #36]
|
|
|
1637:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
2565 .loc 1 1637 0
|
|
|
2566 0072 2123 movs r3, #33
|
|
|
ARM GAS /tmp/ccjDTEau.s page 75
|
|
|
|
|
|
|
|
|
2567 0074 FE3A subs r2, r2, #254
|
|
|
2568 0076 F254 strb r2, [r6, r3]
|
|
|
1640:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
2569 .loc 1 1640 0
|
|
|
2570 0078 013B subs r3, r3, #1
|
|
|
2571 007a 0022 movs r2, #0
|
|
|
2572 007c F254 strb r2, [r6, r3]
|
|
|
1642:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
2573 .loc 1 1642 0
|
|
|
2574 007e 0020 movs r0, #0
|
|
|
2575 0080 EAE7 b .L162
|
|
|
2576 .L169:
|
|
|
1605:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** {
|
|
|
2577 .loc 1 1605 0
|
|
|
2578 0082 3000 movs r0, r6
|
|
|
2579 0084 FFF7FEFF bl HAL_RTC_WaitForSynchro
|
|
|
2580 .LVL200:
|
|
|
2581 0088 0028 cmp r0, #0
|
|
|
2582 008a EFD0 beq .L166
|
|
|
1608:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
2583 .loc 1 1608 0
|
|
|
2584 008c 3368 ldr r3, [r6]
|
|
|
2585 008e FF22 movs r2, #255
|
|
|
2586 0090 5A62 str r2, [r3, #36]
|
|
|
1610:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
2587 .loc 1 1610 0
|
|
|
2588 0092 2123 movs r3, #33
|
|
|
2589 0094 FB3A subs r2, r2, #251
|
|
|
2590 0096 F254 strb r2, [r6, r3]
|
|
|
1613:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
2591 .loc 1 1613 0
|
|
|
2592 0098 013B subs r3, r3, #1
|
|
|
2593 009a 0022 movs r2, #0
|
|
|
2594 009c F254 strb r2, [r6, r3]
|
|
|
1615:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
2595 .loc 1 1615 0
|
|
|
2596 009e 0120 movs r0, #1
|
|
|
2597 00a0 DAE7 b .L162
|
|
|
2598 .LVL201:
|
|
|
2599 .L165:
|
|
|
1622:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
2600 .loc 1 1622 0
|
|
|
2601 00a2 FF22 movs r2, #255
|
|
|
2602 00a4 5A62 str r2, [r3, #36]
|
|
|
1625:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
2603 .loc 1 1625 0
|
|
|
2604 00a6 2123 movs r3, #33
|
|
|
2605 00a8 FB3A subs r2, r2, #251
|
|
|
2606 00aa F254 strb r2, [r6, r3]
|
|
|
1628:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
2607 .loc 1 1628 0
|
|
|
2608 00ac 013B subs r3, r3, #1
|
|
|
2609 00ae 0022 movs r2, #0
|
|
|
2610 00b0 F254 strb r2, [r6, r3]
|
|
|
1630:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
2611 .loc 1 1630 0
|
|
|
2612 00b2 0120 movs r0, #1
|
|
|
ARM GAS /tmp/ccjDTEau.s page 76
|
|
|
|
|
|
|
|
|
2613 00b4 D0E7 b .L162
|
|
|
2614 .LVL202:
|
|
|
2615 .L167:
|
|
|
1570:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
2616 .loc 1 1570 0
|
|
|
2617 00b6 0220 movs r0, #2
|
|
|
2618 .LVL203:
|
|
|
2619 00b8 CEE7 b .L162
|
|
|
2620 .cfi_endproc
|
|
|
2621 .LFE65:
|
|
|
2623 .section .text.HAL_RTCEx_SetCalibrationOutPut,"ax",%progbits
|
|
|
2624 .align 1
|
|
|
2625 .global HAL_RTCEx_SetCalibrationOutPut
|
|
|
2626 .syntax unified
|
|
|
2627 .code 16
|
|
|
2628 .thumb_func
|
|
|
2629 .fpu softvfp
|
|
|
2631 HAL_RTCEx_SetCalibrationOutPut:
|
|
|
2632 .LFB66:
|
|
|
1644:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1645:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /**
|
|
|
1646:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @brief Configure the Calibration Pinout (RTC_CALIB) Selection (1Hz or 512Hz).
|
|
|
1647:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @param hrtc: RTC handle
|
|
|
1648:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @param CalibOutput : Select the Calibration output Selection .
|
|
|
1649:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * This parameter can be one of the following values:
|
|
|
1650:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @arg RTC_CALIBOUTPUT_512HZ: A signal has a regular waveform at 512Hz.
|
|
|
1651:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @arg RTC_CALIBOUTPUT_1HZ: A signal has a regular waveform at 1Hz.
|
|
|
1652:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @retval HAL status
|
|
|
1653:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** */
|
|
|
1654:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** HAL_StatusTypeDef HAL_RTCEx_SetCalibrationOutPut(RTC_HandleTypeDef* hrtc, uint32_t CalibOutput)
|
|
|
1655:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** {
|
|
|
2633 .loc 1 1655 0
|
|
|
2634 .cfi_startproc
|
|
|
2635 @ args = 0, pretend = 0, frame = 0
|
|
|
2636 @ frame_needed = 0, uses_anonymous_args = 0
|
|
|
2637 .LVL204:
|
|
|
2638 0000 F0B5 push {r4, r5, r6, r7, lr}
|
|
|
2639 .LCFI21:
|
|
|
2640 .cfi_def_cfa_offset 20
|
|
|
2641 .cfi_offset 4, -20
|
|
|
2642 .cfi_offset 5, -16
|
|
|
2643 .cfi_offset 6, -12
|
|
|
2644 .cfi_offset 7, -8
|
|
|
2645 .cfi_offset 14, -4
|
|
|
1656:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Check the parameters */
|
|
|
1657:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** assert_param(IS_RTC_CALIB_OUTPUT(CalibOutput));
|
|
|
1658:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1659:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Process Locked */
|
|
|
1660:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __HAL_LOCK(hrtc);
|
|
|
2646 .loc 1 1660 0
|
|
|
2647 0002 2023 movs r3, #32
|
|
|
2648 0004 C35C ldrb r3, [r0, r3]
|
|
|
2649 0006 012B cmp r3, #1
|
|
|
2650 0008 22D0 beq .L172
|
|
|
2651 .loc 1 1660 0 is_stmt 0 discriminator 2
|
|
|
2652 000a 2022 movs r2, #32
|
|
|
2653 000c 0125 movs r5, #1
|
|
|
ARM GAS /tmp/ccjDTEau.s page 77
|
|
|
|
|
|
|
|
|
2654 000e 8554 strb r5, [r0, r2]
|
|
|
1661:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1662:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** hrtc->State = HAL_RTC_STATE_BUSY;
|
|
|
2655 .loc 1 1662 0 is_stmt 1 discriminator 2
|
|
|
2656 0010 2124 movs r4, #33
|
|
|
2657 0012 0223 movs r3, #2
|
|
|
2658 0014 0355 strb r3, [r0, r4]
|
|
|
1663:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1664:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Disable the write protection for RTC registers */
|
|
|
1665:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __HAL_RTC_WRITEPROTECTION_DISABLE(hrtc);
|
|
|
2659 .loc 1 1665 0 discriminator 2
|
|
|
2660 0016 0368 ldr r3, [r0]
|
|
|
2661 0018 CA26 movs r6, #202
|
|
|
2662 001a 5E62 str r6, [r3, #36]
|
|
|
2663 001c 0368 ldr r3, [r0]
|
|
|
2664 001e 773E subs r6, r6, #119
|
|
|
2665 0020 5E62 str r6, [r3, #36]
|
|
|
1666:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1667:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Clear flags before config */
|
|
|
1668:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** hrtc->Instance->CR &= (uint32_t)~RTC_CR_COSEL;
|
|
|
2666 .loc 1 1668 0 discriminator 2
|
|
|
2667 0022 0668 ldr r6, [r0]
|
|
|
2668 0024 B368 ldr r3, [r6, #8]
|
|
|
2669 0026 0B4F ldr r7, .L173
|
|
|
2670 0028 3B40 ands r3, r7
|
|
|
2671 002a B360 str r3, [r6, #8]
|
|
|
1669:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1670:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Configure the RTC_CR register */
|
|
|
1671:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** hrtc->Instance->CR |= (uint32_t)CalibOutput;
|
|
|
2672 .loc 1 1671 0 discriminator 2
|
|
|
2673 002c 0668 ldr r6, [r0]
|
|
|
2674 002e B368 ldr r3, [r6, #8]
|
|
|
2675 0030 1943 orrs r1, r3
|
|
|
2676 .LVL205:
|
|
|
2677 0032 B160 str r1, [r6, #8]
|
|
|
1672:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1673:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __HAL_RTC_CALIBRATION_OUTPUT_ENABLE(hrtc);
|
|
|
2678 .loc 1 1673 0 discriminator 2
|
|
|
2679 0034 0168 ldr r1, [r0]
|
|
|
2680 0036 8E68 ldr r6, [r1, #8]
|
|
|
2681 0038 8023 movs r3, #128
|
|
|
2682 003a 1B04 lsls r3, r3, #16
|
|
|
2683 003c 3343 orrs r3, r6
|
|
|
2684 003e 8B60 str r3, [r1, #8]
|
|
|
1674:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1675:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Enable the write protection for RTC registers */
|
|
|
1676:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __HAL_RTC_WRITEPROTECTION_ENABLE(hrtc);
|
|
|
2685 .loc 1 1676 0 discriminator 2
|
|
|
2686 0040 0368 ldr r3, [r0]
|
|
|
2687 0042 FF21 movs r1, #255
|
|
|
2688 0044 5962 str r1, [r3, #36]
|
|
|
1677:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1678:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Change RTC state */
|
|
|
1679:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** hrtc->State = HAL_RTC_STATE_READY;
|
|
|
2689 .loc 1 1679 0 discriminator 2
|
|
|
2690 0046 0555 strb r5, [r0, r4]
|
|
|
1680:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
ARM GAS /tmp/ccjDTEau.s page 78
|
|
|
|
|
|
|
|
|
1681:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Process Unlocked */
|
|
|
1682:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __HAL_UNLOCK(hrtc);
|
|
|
2691 .loc 1 1682 0 discriminator 2
|
|
|
2692 0048 0023 movs r3, #0
|
|
|
2693 004a 8354 strb r3, [r0, r2]
|
|
|
1683:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1684:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** return HAL_OK;
|
|
|
2694 .loc 1 1684 0 discriminator 2
|
|
|
2695 004c 0020 movs r0, #0
|
|
|
2696 .LVL206:
|
|
|
2697 .L171:
|
|
|
1685:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
2698 .loc 1 1685 0
|
|
|
2699 @ sp needed
|
|
|
2700 004e F0BD pop {r4, r5, r6, r7, pc}
|
|
|
2701 .LVL207:
|
|
|
2702 .L172:
|
|
|
1660:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
2703 .loc 1 1660 0
|
|
|
2704 0050 0220 movs r0, #2
|
|
|
2705 .LVL208:
|
|
|
2706 0052 FCE7 b .L171
|
|
|
2707 .L174:
|
|
|
2708 .align 2
|
|
|
2709 .L173:
|
|
|
2710 0054 FFFFF7FF .word -524289
|
|
|
2711 .cfi_endproc
|
|
|
2712 .LFE66:
|
|
|
2714 .section .text.HAL_RTCEx_DeactivateCalibrationOutPut,"ax",%progbits
|
|
|
2715 .align 1
|
|
|
2716 .global HAL_RTCEx_DeactivateCalibrationOutPut
|
|
|
2717 .syntax unified
|
|
|
2718 .code 16
|
|
|
2719 .thumb_func
|
|
|
2720 .fpu softvfp
|
|
|
2722 HAL_RTCEx_DeactivateCalibrationOutPut:
|
|
|
2723 .LFB67:
|
|
|
1686:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1687:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /**
|
|
|
1688:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @brief Deactivate the Calibration Pinout (RTC_CALIB) Selection (1Hz or 512Hz).
|
|
|
1689:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @param hrtc: RTC handle
|
|
|
1690:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @retval HAL status
|
|
|
1691:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** */
|
|
|
1692:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** HAL_StatusTypeDef HAL_RTCEx_DeactivateCalibrationOutPut(RTC_HandleTypeDef* hrtc)
|
|
|
1693:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** {
|
|
|
2724 .loc 1 1693 0
|
|
|
2725 .cfi_startproc
|
|
|
2726 @ args = 0, pretend = 0, frame = 0
|
|
|
2727 @ frame_needed = 0, uses_anonymous_args = 0
|
|
|
2728 .LVL209:
|
|
|
2729 0000 70B5 push {r4, r5, r6, lr}
|
|
|
2730 .LCFI22:
|
|
|
2731 .cfi_def_cfa_offset 16
|
|
|
2732 .cfi_offset 4, -16
|
|
|
2733 .cfi_offset 5, -12
|
|
|
2734 .cfi_offset 6, -8
|
|
|
2735 .cfi_offset 14, -4
|
|
|
ARM GAS /tmp/ccjDTEau.s page 79
|
|
|
|
|
|
|
|
|
1694:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Process Locked */
|
|
|
1695:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __HAL_LOCK(hrtc);
|
|
|
2736 .loc 1 1695 0
|
|
|
2737 0002 2023 movs r3, #32
|
|
|
2738 0004 C35C ldrb r3, [r0, r3]
|
|
|
2739 0006 012B cmp r3, #1
|
|
|
2740 0008 18D0 beq .L177
|
|
|
2741 .loc 1 1695 0 is_stmt 0 discriminator 2
|
|
|
2742 000a 2022 movs r2, #32
|
|
|
2743 000c 0124 movs r4, #1
|
|
|
2744 000e 8454 strb r4, [r0, r2]
|
|
|
1696:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1697:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** hrtc->State = HAL_RTC_STATE_BUSY;
|
|
|
2745 .loc 1 1697 0 is_stmt 1 discriminator 2
|
|
|
2746 0010 2121 movs r1, #33
|
|
|
2747 0012 0223 movs r3, #2
|
|
|
2748 0014 4354 strb r3, [r0, r1]
|
|
|
1698:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1699:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Disable the write protection for RTC registers */
|
|
|
1700:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __HAL_RTC_WRITEPROTECTION_DISABLE(hrtc);
|
|
|
2749 .loc 1 1700 0 discriminator 2
|
|
|
2750 0016 0368 ldr r3, [r0]
|
|
|
2751 0018 CA25 movs r5, #202
|
|
|
2752 001a 5D62 str r5, [r3, #36]
|
|
|
2753 001c 0368 ldr r3, [r0]
|
|
|
2754 001e 773D subs r5, r5, #119
|
|
|
2755 0020 5D62 str r5, [r3, #36]
|
|
|
1701:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1702:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __HAL_RTC_CALIBRATION_OUTPUT_DISABLE(hrtc);
|
|
|
2756 .loc 1 1702 0 discriminator 2
|
|
|
2757 0022 0568 ldr r5, [r0]
|
|
|
2758 0024 AB68 ldr r3, [r5, #8]
|
|
|
2759 0026 064E ldr r6, .L178
|
|
|
2760 0028 3340 ands r3, r6
|
|
|
2761 002a AB60 str r3, [r5, #8]
|
|
|
1703:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1704:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Enable the write protection for RTC registers */
|
|
|
1705:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __HAL_RTC_WRITEPROTECTION_ENABLE(hrtc);
|
|
|
2762 .loc 1 1705 0 discriminator 2
|
|
|
2763 002c 0368 ldr r3, [r0]
|
|
|
2764 002e FF25 movs r5, #255
|
|
|
2765 0030 5D62 str r5, [r3, #36]
|
|
|
1706:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1707:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Change RTC state */
|
|
|
1708:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** hrtc->State = HAL_RTC_STATE_READY;
|
|
|
2766 .loc 1 1708 0 discriminator 2
|
|
|
2767 0032 4454 strb r4, [r0, r1]
|
|
|
1709:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1710:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Process Unlocked */
|
|
|
1711:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __HAL_UNLOCK(hrtc);
|
|
|
2768 .loc 1 1711 0 discriminator 2
|
|
|
2769 0034 0023 movs r3, #0
|
|
|
2770 0036 8354 strb r3, [r0, r2]
|
|
|
1712:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1713:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** return HAL_OK;
|
|
|
2771 .loc 1 1713 0 discriminator 2
|
|
|
2772 0038 0020 movs r0, #0
|
|
|
ARM GAS /tmp/ccjDTEau.s page 80
|
|
|
|
|
|
|
|
|
2773 .LVL210:
|
|
|
2774 .L176:
|
|
|
1714:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
2775 .loc 1 1714 0
|
|
|
2776 @ sp needed
|
|
|
2777 003a 70BD pop {r4, r5, r6, pc}
|
|
|
2778 .LVL211:
|
|
|
2779 .L177:
|
|
|
1695:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
2780 .loc 1 1695 0
|
|
|
2781 003c 0220 movs r0, #2
|
|
|
2782 .LVL212:
|
|
|
2783 003e FCE7 b .L176
|
|
|
2784 .L179:
|
|
|
2785 .align 2
|
|
|
2786 .L178:
|
|
|
2787 0040 FFFF7FFF .word -8388609
|
|
|
2788 .cfi_endproc
|
|
|
2789 .LFE67:
|
|
|
2791 .section .text.HAL_RTCEx_SetRefClock,"ax",%progbits
|
|
|
2792 .align 1
|
|
|
2793 .global HAL_RTCEx_SetRefClock
|
|
|
2794 .syntax unified
|
|
|
2795 .code 16
|
|
|
2796 .thumb_func
|
|
|
2797 .fpu softvfp
|
|
|
2799 HAL_RTCEx_SetRefClock:
|
|
|
2800 .LFB68:
|
|
|
1715:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1716:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /**
|
|
|
1717:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @brief Enable the RTC reference clock detection.
|
|
|
1718:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @param hrtc: RTC handle
|
|
|
1719:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @retval HAL status
|
|
|
1720:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** */
|
|
|
1721:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** HAL_StatusTypeDef HAL_RTCEx_SetRefClock(RTC_HandleTypeDef* hrtc)
|
|
|
1722:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** {
|
|
|
2801 .loc 1 1722 0
|
|
|
2802 .cfi_startproc
|
|
|
2803 @ args = 0, pretend = 0, frame = 0
|
|
|
2804 @ frame_needed = 0, uses_anonymous_args = 0
|
|
|
2805 .LVL213:
|
|
|
2806 0000 10B5 push {r4, lr}
|
|
|
2807 .LCFI23:
|
|
|
2808 .cfi_def_cfa_offset 8
|
|
|
2809 .cfi_offset 4, -8
|
|
|
2810 .cfi_offset 14, -4
|
|
|
2811 0002 0400 movs r4, r0
|
|
|
1723:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Process Locked */
|
|
|
1724:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __HAL_LOCK(hrtc);
|
|
|
2812 .loc 1 1724 0
|
|
|
2813 0004 2023 movs r3, #32
|
|
|
2814 0006 C35C ldrb r3, [r0, r3]
|
|
|
2815 0008 012B cmp r3, #1
|
|
|
2816 000a 2ED0 beq .L183
|
|
|
2817 .loc 1 1724 0 is_stmt 0 discriminator 2
|
|
|
2818 000c 2023 movs r3, #32
|
|
|
2819 000e 0122 movs r2, #1
|
|
|
ARM GAS /tmp/ccjDTEau.s page 81
|
|
|
|
|
|
|
|
|
2820 0010 C254 strb r2, [r0, r3]
|
|
|
1725:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1726:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** hrtc->State = HAL_RTC_STATE_BUSY;
|
|
|
2821 .loc 1 1726 0 is_stmt 1 discriminator 2
|
|
|
2822 0012 0133 adds r3, r3, #1
|
|
|
2823 0014 0132 adds r2, r2, #1
|
|
|
2824 0016 C254 strb r2, [r0, r3]
|
|
|
1727:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1728:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Disable the write protection for RTC registers */
|
|
|
1729:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __HAL_RTC_WRITEPROTECTION_DISABLE(hrtc);
|
|
|
2825 .loc 1 1729 0 discriminator 2
|
|
|
2826 0018 0368 ldr r3, [r0]
|
|
|
2827 001a C832 adds r2, r2, #200
|
|
|
2828 001c 5A62 str r2, [r3, #36]
|
|
|
2829 001e 0368 ldr r3, [r0]
|
|
|
2830 0020 773A subs r2, r2, #119
|
|
|
2831 0022 5A62 str r2, [r3, #36]
|
|
|
1730:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1731:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Set Initialization mode */
|
|
|
1732:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** if(RTC_EnterInitMode(hrtc) != HAL_OK)
|
|
|
2832 .loc 1 1732 0 discriminator 2
|
|
|
2833 0024 FFF7FEFF bl RTC_EnterInitMode
|
|
|
2834 .LVL214:
|
|
|
2835 0028 0028 cmp r0, #0
|
|
|
2836 002a 13D1 bne .L184
|
|
|
1733:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** {
|
|
|
1734:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Enable the write protection for RTC registers */
|
|
|
1735:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __HAL_RTC_WRITEPROTECTION_ENABLE(hrtc);
|
|
|
1736:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1737:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Set RTC state*/
|
|
|
1738:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** hrtc->State = HAL_RTC_STATE_ERROR;
|
|
|
1739:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1740:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Process Unlocked */
|
|
|
1741:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __HAL_UNLOCK(hrtc);
|
|
|
1742:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1743:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** return HAL_ERROR;
|
|
|
1744:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
1745:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** else
|
|
|
1746:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** {
|
|
|
1747:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __HAL_RTC_CLOCKREF_DETECTION_ENABLE(hrtc);
|
|
|
2837 .loc 1 1747 0
|
|
|
2838 002c 2268 ldr r2, [r4]
|
|
|
2839 002e 9368 ldr r3, [r2, #8]
|
|
|
2840 0030 1021 movs r1, #16
|
|
|
2841 0032 0B43 orrs r3, r1
|
|
|
2842 0034 9360 str r3, [r2, #8]
|
|
|
1748:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1749:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Exit Initialization mode */
|
|
|
1750:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** hrtc->Instance->ISR &= (uint32_t)~RTC_ISR_INIT;
|
|
|
2843 .loc 1 1750 0
|
|
|
2844 0036 2268 ldr r2, [r4]
|
|
|
2845 0038 D368 ldr r3, [r2, #12]
|
|
|
2846 003a 7031 adds r1, r1, #112
|
|
|
2847 003c 8B43 bics r3, r1
|
|
|
2848 003e D360 str r3, [r2, #12]
|
|
|
1751:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
1752:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
ARM GAS /tmp/ccjDTEau.s page 82
|
|
|
|
|
|
|
|
|
1753:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Enable the write protection for RTC registers */
|
|
|
1754:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __HAL_RTC_WRITEPROTECTION_ENABLE(hrtc);
|
|
|
2849 .loc 1 1754 0
|
|
|
2850 0040 2368 ldr r3, [r4]
|
|
|
2851 0042 FF22 movs r2, #255
|
|
|
2852 0044 5A62 str r2, [r3, #36]
|
|
|
1755:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1756:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Change RTC state */
|
|
|
1757:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** hrtc->State = HAL_RTC_STATE_READY;
|
|
|
2853 .loc 1 1757 0
|
|
|
2854 0046 2123 movs r3, #33
|
|
|
2855 0048 FE3A subs r2, r2, #254
|
|
|
2856 004a E254 strb r2, [r4, r3]
|
|
|
1758:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1759:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Process Unlocked */
|
|
|
1760:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __HAL_UNLOCK(hrtc);
|
|
|
2857 .loc 1 1760 0
|
|
|
2858 004c 013B subs r3, r3, #1
|
|
|
2859 004e 0022 movs r2, #0
|
|
|
2860 0050 E254 strb r2, [r4, r3]
|
|
|
2861 .L181:
|
|
|
1761:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1762:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** return HAL_OK;
|
|
|
1763:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
2862 .loc 1 1763 0
|
|
|
2863 @ sp needed
|
|
|
2864 .LVL215:
|
|
|
2865 0052 10BD pop {r4, pc}
|
|
|
2866 .LVL216:
|
|
|
2867 .L184:
|
|
|
1735:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
2868 .loc 1 1735 0
|
|
|
2869 0054 2368 ldr r3, [r4]
|
|
|
2870 0056 FF22 movs r2, #255
|
|
|
2871 0058 5A62 str r2, [r3, #36]
|
|
|
1738:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
2872 .loc 1 1738 0
|
|
|
2873 005a 2123 movs r3, #33
|
|
|
2874 005c FB3A subs r2, r2, #251
|
|
|
2875 005e E254 strb r2, [r4, r3]
|
|
|
1741:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
2876 .loc 1 1741 0
|
|
|
2877 0060 013B subs r3, r3, #1
|
|
|
2878 0062 0022 movs r2, #0
|
|
|
2879 0064 E254 strb r2, [r4, r3]
|
|
|
1743:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
2880 .loc 1 1743 0
|
|
|
2881 0066 0120 movs r0, #1
|
|
|
2882 0068 F3E7 b .L181
|
|
|
2883 .LVL217:
|
|
|
2884 .L183:
|
|
|
1724:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
2885 .loc 1 1724 0
|
|
|
2886 006a 0220 movs r0, #2
|
|
|
2887 .LVL218:
|
|
|
2888 006c F1E7 b .L181
|
|
|
2889 .cfi_endproc
|
|
|
ARM GAS /tmp/ccjDTEau.s page 83
|
|
|
|
|
|
|
|
|
2890 .LFE68:
|
|
|
2892 .section .text.HAL_RTCEx_DeactivateRefClock,"ax",%progbits
|
|
|
2893 .align 1
|
|
|
2894 .global HAL_RTCEx_DeactivateRefClock
|
|
|
2895 .syntax unified
|
|
|
2896 .code 16
|
|
|
2897 .thumb_func
|
|
|
2898 .fpu softvfp
|
|
|
2900 HAL_RTCEx_DeactivateRefClock:
|
|
|
2901 .LFB69:
|
|
|
1764:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1765:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /**
|
|
|
1766:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @brief Disable the RTC reference clock detection.
|
|
|
1767:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @param hrtc: RTC handle
|
|
|
1768:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @retval HAL status
|
|
|
1769:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** */
|
|
|
1770:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** HAL_StatusTypeDef HAL_RTCEx_DeactivateRefClock(RTC_HandleTypeDef* hrtc)
|
|
|
1771:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** {
|
|
|
2902 .loc 1 1771 0
|
|
|
2903 .cfi_startproc
|
|
|
2904 @ args = 0, pretend = 0, frame = 0
|
|
|
2905 @ frame_needed = 0, uses_anonymous_args = 0
|
|
|
2906 .LVL219:
|
|
|
2907 0000 10B5 push {r4, lr}
|
|
|
2908 .LCFI24:
|
|
|
2909 .cfi_def_cfa_offset 8
|
|
|
2910 .cfi_offset 4, -8
|
|
|
2911 .cfi_offset 14, -4
|
|
|
2912 0002 0400 movs r4, r0
|
|
|
1772:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Process Locked */
|
|
|
1773:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __HAL_LOCK(hrtc);
|
|
|
2913 .loc 1 1773 0
|
|
|
2914 0004 2023 movs r3, #32
|
|
|
2915 0006 C35C ldrb r3, [r0, r3]
|
|
|
2916 0008 012B cmp r3, #1
|
|
|
2917 000a 2ED0 beq .L188
|
|
|
2918 .loc 1 1773 0 is_stmt 0 discriminator 2
|
|
|
2919 000c 2023 movs r3, #32
|
|
|
2920 000e 0122 movs r2, #1
|
|
|
2921 0010 C254 strb r2, [r0, r3]
|
|
|
1774:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1775:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** hrtc->State = HAL_RTC_STATE_BUSY;
|
|
|
2922 .loc 1 1775 0 is_stmt 1 discriminator 2
|
|
|
2923 0012 0133 adds r3, r3, #1
|
|
|
2924 0014 0132 adds r2, r2, #1
|
|
|
2925 0016 C254 strb r2, [r0, r3]
|
|
|
1776:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1777:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Disable the write protection for RTC registers */
|
|
|
1778:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __HAL_RTC_WRITEPROTECTION_DISABLE(hrtc);
|
|
|
2926 .loc 1 1778 0 discriminator 2
|
|
|
2927 0018 0368 ldr r3, [r0]
|
|
|
2928 001a C832 adds r2, r2, #200
|
|
|
2929 001c 5A62 str r2, [r3, #36]
|
|
|
2930 001e 0368 ldr r3, [r0]
|
|
|
2931 0020 773A subs r2, r2, #119
|
|
|
2932 0022 5A62 str r2, [r3, #36]
|
|
|
1779:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
ARM GAS /tmp/ccjDTEau.s page 84
|
|
|
|
|
|
|
|
|
1780:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Set Initialization mode */
|
|
|
1781:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** if(RTC_EnterInitMode(hrtc) != HAL_OK)
|
|
|
2933 .loc 1 1781 0 discriminator 2
|
|
|
2934 0024 FFF7FEFF bl RTC_EnterInitMode
|
|
|
2935 .LVL220:
|
|
|
2936 0028 0028 cmp r0, #0
|
|
|
2937 002a 13D1 bne .L189
|
|
|
1782:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** {
|
|
|
1783:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Enable the write protection for RTC registers */
|
|
|
1784:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __HAL_RTC_WRITEPROTECTION_ENABLE(hrtc);
|
|
|
1785:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1786:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Set RTC state*/
|
|
|
1787:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** hrtc->State = HAL_RTC_STATE_ERROR;
|
|
|
1788:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1789:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Process Unlocked */
|
|
|
1790:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __HAL_UNLOCK(hrtc);
|
|
|
1791:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1792:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** return HAL_ERROR;
|
|
|
1793:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
1794:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** else
|
|
|
1795:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** {
|
|
|
1796:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __HAL_RTC_CLOCKREF_DETECTION_DISABLE(hrtc);
|
|
|
2938 .loc 1 1796 0
|
|
|
2939 002c 2268 ldr r2, [r4]
|
|
|
2940 002e 9368 ldr r3, [r2, #8]
|
|
|
2941 0030 1021 movs r1, #16
|
|
|
2942 0032 8B43 bics r3, r1
|
|
|
2943 0034 9360 str r3, [r2, #8]
|
|
|
1797:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1798:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Exit Initialization mode */
|
|
|
1799:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** hrtc->Instance->ISR &= (uint32_t)~RTC_ISR_INIT;
|
|
|
2944 .loc 1 1799 0
|
|
|
2945 0036 2268 ldr r2, [r4]
|
|
|
2946 0038 D368 ldr r3, [r2, #12]
|
|
|
2947 003a 7031 adds r1, r1, #112
|
|
|
2948 003c 8B43 bics r3, r1
|
|
|
2949 003e D360 str r3, [r2, #12]
|
|
|
1800:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
1801:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1802:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Enable the write protection for RTC registers */
|
|
|
1803:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __HAL_RTC_WRITEPROTECTION_ENABLE(hrtc);
|
|
|
2950 .loc 1 1803 0
|
|
|
2951 0040 2368 ldr r3, [r4]
|
|
|
2952 0042 FF22 movs r2, #255
|
|
|
2953 0044 5A62 str r2, [r3, #36]
|
|
|
1804:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1805:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Change RTC state */
|
|
|
1806:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** hrtc->State = HAL_RTC_STATE_READY;
|
|
|
2954 .loc 1 1806 0
|
|
|
2955 0046 2123 movs r3, #33
|
|
|
2956 0048 FE3A subs r2, r2, #254
|
|
|
2957 004a E254 strb r2, [r4, r3]
|
|
|
1807:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1808:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Process Unlocked */
|
|
|
1809:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __HAL_UNLOCK(hrtc);
|
|
|
2958 .loc 1 1809 0
|
|
|
2959 004c 013B subs r3, r3, #1
|
|
|
ARM GAS /tmp/ccjDTEau.s page 85
|
|
|
|
|
|
|
|
|
2960 004e 0022 movs r2, #0
|
|
|
2961 0050 E254 strb r2, [r4, r3]
|
|
|
2962 .L186:
|
|
|
1810:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1811:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** return HAL_OK;
|
|
|
1812:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
2963 .loc 1 1812 0
|
|
|
2964 @ sp needed
|
|
|
2965 .LVL221:
|
|
|
2966 0052 10BD pop {r4, pc}
|
|
|
2967 .LVL222:
|
|
|
2968 .L189:
|
|
|
1784:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
2969 .loc 1 1784 0
|
|
|
2970 0054 2368 ldr r3, [r4]
|
|
|
2971 0056 FF22 movs r2, #255
|
|
|
2972 0058 5A62 str r2, [r3, #36]
|
|
|
1787:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
2973 .loc 1 1787 0
|
|
|
2974 005a 2123 movs r3, #33
|
|
|
2975 005c FB3A subs r2, r2, #251
|
|
|
2976 005e E254 strb r2, [r4, r3]
|
|
|
1790:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
2977 .loc 1 1790 0
|
|
|
2978 0060 013B subs r3, r3, #1
|
|
|
2979 0062 0022 movs r2, #0
|
|
|
2980 0064 E254 strb r2, [r4, r3]
|
|
|
1792:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
2981 .loc 1 1792 0
|
|
|
2982 0066 0120 movs r0, #1
|
|
|
2983 0068 F3E7 b .L186
|
|
|
2984 .LVL223:
|
|
|
2985 .L188:
|
|
|
1773:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
2986 .loc 1 1773 0
|
|
|
2987 006a 0220 movs r0, #2
|
|
|
2988 .LVL224:
|
|
|
2989 006c F1E7 b .L186
|
|
|
2990 .cfi_endproc
|
|
|
2991 .LFE69:
|
|
|
2993 .section .text.HAL_RTCEx_EnableBypassShadow,"ax",%progbits
|
|
|
2994 .align 1
|
|
|
2995 .global HAL_RTCEx_EnableBypassShadow
|
|
|
2996 .syntax unified
|
|
|
2997 .code 16
|
|
|
2998 .thumb_func
|
|
|
2999 .fpu softvfp
|
|
|
3001 HAL_RTCEx_EnableBypassShadow:
|
|
|
3002 .LFB70:
|
|
|
1813:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1814:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /**
|
|
|
1815:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @brief Enable the Bypass Shadow feature.
|
|
|
1816:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @param hrtc: RTC handle
|
|
|
1817:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @note When the Bypass Shadow is enabled the calendar value are taken
|
|
|
1818:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * directly from the Calendar counter.
|
|
|
1819:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @retval HAL status
|
|
|
1820:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** */
|
|
|
ARM GAS /tmp/ccjDTEau.s page 86
|
|
|
|
|
|
|
|
|
1821:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** HAL_StatusTypeDef HAL_RTCEx_EnableBypassShadow(RTC_HandleTypeDef* hrtc)
|
|
|
1822:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** {
|
|
|
3003 .loc 1 1822 0
|
|
|
3004 .cfi_startproc
|
|
|
3005 @ args = 0, pretend = 0, frame = 0
|
|
|
3006 @ frame_needed = 0, uses_anonymous_args = 0
|
|
|
3007 .LVL225:
|
|
|
3008 0000 30B5 push {r4, r5, lr}
|
|
|
3009 .LCFI25:
|
|
|
3010 .cfi_def_cfa_offset 12
|
|
|
3011 .cfi_offset 4, -12
|
|
|
3012 .cfi_offset 5, -8
|
|
|
3013 .cfi_offset 14, -4
|
|
|
1823:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Process Locked */
|
|
|
1824:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __HAL_LOCK(hrtc);
|
|
|
3014 .loc 1 1824 0
|
|
|
3015 0002 2023 movs r3, #32
|
|
|
3016 0004 C35C ldrb r3, [r0, r3]
|
|
|
3017 0006 012B cmp r3, #1
|
|
|
3018 0008 17D0 beq .L192
|
|
|
3019 .loc 1 1824 0 is_stmt 0 discriminator 2
|
|
|
3020 000a 2023 movs r3, #32
|
|
|
3021 000c 0124 movs r4, #1
|
|
|
3022 000e C454 strb r4, [r0, r3]
|
|
|
1825:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1826:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** hrtc->State = HAL_RTC_STATE_BUSY;
|
|
|
3023 .loc 1 1826 0 is_stmt 1 discriminator 2
|
|
|
3024 0010 2121 movs r1, #33
|
|
|
3025 0012 0222 movs r2, #2
|
|
|
3026 0014 4254 strb r2, [r0, r1]
|
|
|
1827:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1828:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Disable the write protection for RTC registers */
|
|
|
1829:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __HAL_RTC_WRITEPROTECTION_DISABLE(hrtc);
|
|
|
3027 .loc 1 1829 0 discriminator 2
|
|
|
3028 0016 0268 ldr r2, [r0]
|
|
|
3029 0018 CA25 movs r5, #202
|
|
|
3030 001a 5562 str r5, [r2, #36]
|
|
|
3031 001c 0268 ldr r2, [r0]
|
|
|
3032 001e 773D subs r5, r5, #119
|
|
|
3033 0020 5562 str r5, [r2, #36]
|
|
|
1830:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1831:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Set the BYPSHAD bit */
|
|
|
1832:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** hrtc->Instance->CR |= (uint8_t)RTC_CR_BYPSHAD;
|
|
|
3034 .loc 1 1832 0 discriminator 2
|
|
|
3035 0022 0568 ldr r5, [r0]
|
|
|
3036 0024 AA68 ldr r2, [r5, #8]
|
|
|
3037 0026 1A43 orrs r2, r3
|
|
|
3038 0028 AA60 str r2, [r5, #8]
|
|
|
1833:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1834:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Enable the write protection for RTC registers */
|
|
|
1835:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __HAL_RTC_WRITEPROTECTION_ENABLE(hrtc);
|
|
|
3039 .loc 1 1835 0 discriminator 2
|
|
|
3040 002a 0268 ldr r2, [r0]
|
|
|
3041 002c FF25 movs r5, #255
|
|
|
3042 002e 5562 str r5, [r2, #36]
|
|
|
1836:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1837:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Change RTC state */
|
|
|
ARM GAS /tmp/ccjDTEau.s page 87
|
|
|
|
|
|
|
|
|
1838:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** hrtc->State = HAL_RTC_STATE_READY;
|
|
|
3043 .loc 1 1838 0 discriminator 2
|
|
|
3044 0030 4454 strb r4, [r0, r1]
|
|
|
1839:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1840:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Process Unlocked */
|
|
|
1841:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __HAL_UNLOCK(hrtc);
|
|
|
3045 .loc 1 1841 0 discriminator 2
|
|
|
3046 0032 0022 movs r2, #0
|
|
|
3047 0034 C254 strb r2, [r0, r3]
|
|
|
1842:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1843:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** return HAL_OK;
|
|
|
3048 .loc 1 1843 0 discriminator 2
|
|
|
3049 0036 0020 movs r0, #0
|
|
|
3050 .LVL226:
|
|
|
3051 .L191:
|
|
|
1844:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
3052 .loc 1 1844 0
|
|
|
3053 @ sp needed
|
|
|
3054 0038 30BD pop {r4, r5, pc}
|
|
|
3055 .LVL227:
|
|
|
3056 .L192:
|
|
|
1824:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
3057 .loc 1 1824 0
|
|
|
3058 003a 0220 movs r0, #2
|
|
|
3059 .LVL228:
|
|
|
3060 003c FCE7 b .L191
|
|
|
3061 .cfi_endproc
|
|
|
3062 .LFE70:
|
|
|
3064 .section .text.HAL_RTCEx_DisableBypassShadow,"ax",%progbits
|
|
|
3065 .align 1
|
|
|
3066 .global HAL_RTCEx_DisableBypassShadow
|
|
|
3067 .syntax unified
|
|
|
3068 .code 16
|
|
|
3069 .thumb_func
|
|
|
3070 .fpu softvfp
|
|
|
3072 HAL_RTCEx_DisableBypassShadow:
|
|
|
3073 .LFB71:
|
|
|
1845:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1846:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /**
|
|
|
1847:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @brief Disable the Bypass Shadow feature.
|
|
|
1848:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @param hrtc: RTC handle
|
|
|
1849:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @note When the Bypass Shadow is enabled the calendar value are taken
|
|
|
1850:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * directly from the Calendar counter.
|
|
|
1851:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @retval HAL status
|
|
|
1852:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** */
|
|
|
1853:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** HAL_StatusTypeDef HAL_RTCEx_DisableBypassShadow(RTC_HandleTypeDef* hrtc)
|
|
|
1854:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** {
|
|
|
3074 .loc 1 1854 0
|
|
|
3075 .cfi_startproc
|
|
|
3076 @ args = 0, pretend = 0, frame = 0
|
|
|
3077 @ frame_needed = 0, uses_anonymous_args = 0
|
|
|
3078 .LVL229:
|
|
|
3079 0000 70B5 push {r4, r5, r6, lr}
|
|
|
3080 .LCFI26:
|
|
|
3081 .cfi_def_cfa_offset 16
|
|
|
3082 .cfi_offset 4, -16
|
|
|
3083 .cfi_offset 5, -12
|
|
|
ARM GAS /tmp/ccjDTEau.s page 88
|
|
|
|
|
|
|
|
|
3084 .cfi_offset 6, -8
|
|
|
3085 .cfi_offset 14, -4
|
|
|
1855:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Process Locked */
|
|
|
1856:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __HAL_LOCK(hrtc);
|
|
|
3086 .loc 1 1856 0
|
|
|
3087 0002 2023 movs r3, #32
|
|
|
3088 0004 C35C ldrb r3, [r0, r3]
|
|
|
3089 0006 012B cmp r3, #1
|
|
|
3090 0008 18D0 beq .L195
|
|
|
3091 .loc 1 1856 0 is_stmt 0 discriminator 2
|
|
|
3092 000a 2022 movs r2, #32
|
|
|
3093 000c 0124 movs r4, #1
|
|
|
3094 000e 8454 strb r4, [r0, r2]
|
|
|
1857:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1858:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** hrtc->State = HAL_RTC_STATE_BUSY;
|
|
|
3095 .loc 1 1858 0 is_stmt 1 discriminator 2
|
|
|
3096 0010 2121 movs r1, #33
|
|
|
3097 0012 0223 movs r3, #2
|
|
|
3098 0014 4354 strb r3, [r0, r1]
|
|
|
1859:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1860:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Disable the write protection for RTC registers */
|
|
|
1861:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __HAL_RTC_WRITEPROTECTION_DISABLE(hrtc);
|
|
|
3099 .loc 1 1861 0 discriminator 2
|
|
|
3100 0016 0368 ldr r3, [r0]
|
|
|
3101 0018 CA25 movs r5, #202
|
|
|
3102 001a 5D62 str r5, [r3, #36]
|
|
|
3103 001c 0368 ldr r3, [r0]
|
|
|
3104 001e 773D subs r5, r5, #119
|
|
|
3105 0020 5D62 str r5, [r3, #36]
|
|
|
1862:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1863:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Reset the BYPSHAD bit */
|
|
|
1864:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** hrtc->Instance->CR &= ((uint8_t)~RTC_CR_BYPSHAD);
|
|
|
3106 .loc 1 1864 0 discriminator 2
|
|
|
3107 0022 0568 ldr r5, [r0]
|
|
|
3108 0024 AE68 ldr r6, [r5, #8]
|
|
|
3109 0026 DF23 movs r3, #223
|
|
|
3110 0028 3340 ands r3, r6
|
|
|
3111 002a AB60 str r3, [r5, #8]
|
|
|
1865:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1866:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Enable the write protection for RTC registers */
|
|
|
1867:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __HAL_RTC_WRITEPROTECTION_ENABLE(hrtc);
|
|
|
3112 .loc 1 1867 0 discriminator 2
|
|
|
3113 002c 0368 ldr r3, [r0]
|
|
|
3114 002e FF25 movs r5, #255
|
|
|
3115 0030 5D62 str r5, [r3, #36]
|
|
|
1868:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1869:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Change RTC state */
|
|
|
1870:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** hrtc->State = HAL_RTC_STATE_READY;
|
|
|
3116 .loc 1 1870 0 discriminator 2
|
|
|
3117 0032 4454 strb r4, [r0, r1]
|
|
|
1871:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1872:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Process Unlocked */
|
|
|
1873:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __HAL_UNLOCK(hrtc);
|
|
|
3118 .loc 1 1873 0 discriminator 2
|
|
|
3119 0034 0023 movs r3, #0
|
|
|
3120 0036 8354 strb r3, [r0, r2]
|
|
|
1874:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
ARM GAS /tmp/ccjDTEau.s page 89
|
|
|
|
|
|
|
|
|
1875:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** return HAL_OK;
|
|
|
3121 .loc 1 1875 0 discriminator 2
|
|
|
3122 0038 0020 movs r0, #0
|
|
|
3123 .LVL230:
|
|
|
3124 .L194:
|
|
|
1876:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
3125 .loc 1 1876 0
|
|
|
3126 @ sp needed
|
|
|
3127 003a 70BD pop {r4, r5, r6, pc}
|
|
|
3128 .LVL231:
|
|
|
3129 .L195:
|
|
|
1856:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
3130 .loc 1 1856 0
|
|
|
3131 003c 0220 movs r0, #2
|
|
|
3132 .LVL232:
|
|
|
3133 003e FCE7 b .L194
|
|
|
3134 .cfi_endproc
|
|
|
3135 .LFE71:
|
|
|
3137 .section .text.HAL_RTCEx_AlarmBEventCallback,"ax",%progbits
|
|
|
3138 .align 1
|
|
|
3139 .weak HAL_RTCEx_AlarmBEventCallback
|
|
|
3140 .syntax unified
|
|
|
3141 .code 16
|
|
|
3142 .thumb_func
|
|
|
3143 .fpu softvfp
|
|
|
3145 HAL_RTCEx_AlarmBEventCallback:
|
|
|
3146 .LFB72:
|
|
|
1877:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1878:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /**
|
|
|
1879:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @}
|
|
|
1880:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** */
|
|
|
1881:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1882:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /** @addtogroup RTCEx_Exported_Functions_Group4
|
|
|
1883:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @brief Extended features functions
|
|
|
1884:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** *
|
|
|
1885:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** @verbatim
|
|
|
1886:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** ===============================================================================
|
|
|
1887:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** ##### Extended features functions #####
|
|
|
1888:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** ===============================================================================
|
|
|
1889:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** [..] This section provides functions allowing to:
|
|
|
1890:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** (+) RTC Alram B callback
|
|
|
1891:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** (+) RTC Poll for Alarm B request
|
|
|
1892:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1893:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** @endverbatim
|
|
|
1894:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @{
|
|
|
1895:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** */
|
|
|
1896:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1897:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /**
|
|
|
1898:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @brief Alarm B callback.
|
|
|
1899:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @param hrtc: RTC handle
|
|
|
1900:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @retval None
|
|
|
1901:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** */
|
|
|
1902:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __weak void HAL_RTCEx_AlarmBEventCallback(RTC_HandleTypeDef *hrtc)
|
|
|
1903:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** {
|
|
|
3147 .loc 1 1903 0
|
|
|
3148 .cfi_startproc
|
|
|
3149 @ args = 0, pretend = 0, frame = 0
|
|
|
ARM GAS /tmp/ccjDTEau.s page 90
|
|
|
|
|
|
|
|
|
3150 @ frame_needed = 0, uses_anonymous_args = 0
|
|
|
3151 @ link register save eliminated.
|
|
|
3152 .LVL233:
|
|
|
1904:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Prevent unused argument(s) compilation warning */
|
|
|
1905:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** UNUSED(hrtc);
|
|
|
1906:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1907:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* NOTE : This function should not be modified, when the callback is needed,
|
|
|
1908:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** the HAL_RTCEx_AlarmBEventCallback could be implemented in the user file
|
|
|
1909:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** */
|
|
|
1910:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
3153 .loc 1 1910 0
|
|
|
3154 @ sp needed
|
|
|
3155 0000 7047 bx lr
|
|
|
3156 .cfi_endproc
|
|
|
3157 .LFE72:
|
|
|
3159 .section .text.HAL_RTCEx_PollForAlarmBEvent,"ax",%progbits
|
|
|
3160 .align 1
|
|
|
3161 .global HAL_RTCEx_PollForAlarmBEvent
|
|
|
3162 .syntax unified
|
|
|
3163 .code 16
|
|
|
3164 .thumb_func
|
|
|
3165 .fpu softvfp
|
|
|
3167 HAL_RTCEx_PollForAlarmBEvent:
|
|
|
3168 .LFB73:
|
|
|
1911:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1912:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /**
|
|
|
1913:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @brief Handle Alarm B Polling request.
|
|
|
1914:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @param hrtc: RTC handle
|
|
|
1915:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @param Timeout: Timeout duration
|
|
|
1916:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** * @retval HAL status
|
|
|
1917:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** */
|
|
|
1918:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** HAL_StatusTypeDef HAL_RTCEx_PollForAlarmBEvent(RTC_HandleTypeDef *hrtc, uint32_t Timeout)
|
|
|
1919:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** {
|
|
|
3169 .loc 1 1919 0
|
|
|
3170 .cfi_startproc
|
|
|
3171 @ args = 0, pretend = 0, frame = 0
|
|
|
3172 @ frame_needed = 0, uses_anonymous_args = 0
|
|
|
3173 .LVL234:
|
|
|
3174 0000 70B5 push {r4, r5, r6, lr}
|
|
|
3175 .LCFI27:
|
|
|
3176 .cfi_def_cfa_offset 16
|
|
|
3177 .cfi_offset 4, -16
|
|
|
3178 .cfi_offset 5, -12
|
|
|
3179 .cfi_offset 6, -8
|
|
|
3180 .cfi_offset 14, -4
|
|
|
3181 0002 0400 movs r4, r0
|
|
|
3182 0004 0D00 movs r5, r1
|
|
|
1920:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** uint32_t tickstart = HAL_GetTick();
|
|
|
3183 .loc 1 1920 0
|
|
|
3184 0006 FFF7FEFF bl HAL_GetTick
|
|
|
3185 .LVL235:
|
|
|
3186 000a 0600 movs r6, r0
|
|
|
3187 .LVL236:
|
|
|
3188 .L199:
|
|
|
1921:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1922:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** while(__HAL_RTC_ALARM_GET_FLAG(hrtc, RTC_FLAG_ALRBF) == RESET)
|
|
|
3189 .loc 1 1922 0
|
|
|
ARM GAS /tmp/ccjDTEau.s page 91
|
|
|
|
|
|
|
|
|
3190 000c 2368 ldr r3, [r4]
|
|
|
3191 000e DA68 ldr r2, [r3, #12]
|
|
|
3192 0010 9205 lsls r2, r2, #22
|
|
|
3193 0012 0DD4 bmi .L203
|
|
|
1923:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** {
|
|
|
1924:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** if(Timeout != HAL_MAX_DELAY)
|
|
|
3194 .loc 1 1924 0
|
|
|
3195 0014 6B1C adds r3, r5, #1
|
|
|
3196 0016 F9D0 beq .L199
|
|
|
1925:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** {
|
|
|
1926:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** if((Timeout == 0U)||((HAL_GetTick() - tickstart ) > Timeout))
|
|
|
3197 .loc 1 1926 0
|
|
|
3198 0018 002D cmp r5, #0
|
|
|
3199 001a 04D0 beq .L200
|
|
|
3200 .loc 1 1926 0 is_stmt 0 discriminator 1
|
|
|
3201 001c FFF7FEFF bl HAL_GetTick
|
|
|
3202 .LVL237:
|
|
|
3203 0020 801B subs r0, r0, r6
|
|
|
3204 0022 A842 cmp r0, r5
|
|
|
3205 0024 F2D9 bls .L199
|
|
|
3206 .L200:
|
|
|
1927:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** {
|
|
|
1928:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** hrtc->State = HAL_RTC_STATE_TIMEOUT;
|
|
|
3207 .loc 1 1928 0 is_stmt 1
|
|
|
3208 0026 2123 movs r3, #33
|
|
|
3209 0028 0322 movs r2, #3
|
|
|
3210 002a E254 strb r2, [r4, r3]
|
|
|
1929:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** return HAL_TIMEOUT;
|
|
|
3211 .loc 1 1929 0
|
|
|
3212 002c 0320 movs r0, #3
|
|
|
3213 002e 09E0 b .L201
|
|
|
3214 .L203:
|
|
|
1930:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
1931:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
1932:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
1933:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1934:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Clear the Alarm Flag */
|
|
|
1935:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** __HAL_RTC_ALARM_CLEAR_FLAG(hrtc, RTC_FLAG_ALRBF);
|
|
|
3215 .loc 1 1935 0
|
|
|
3216 0030 D968 ldr r1, [r3, #12]
|
|
|
3217 0032 FF22 movs r2, #255
|
|
|
3218 0034 1140 ands r1, r2
|
|
|
3219 0036 044A ldr r2, .L204
|
|
|
3220 0038 0A43 orrs r2, r1
|
|
|
3221 003a DA60 str r2, [r3, #12]
|
|
|
1936:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1937:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** /* Change RTC state */
|
|
|
1938:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** hrtc->State = HAL_RTC_STATE_READY;
|
|
|
3222 .loc 1 1938 0
|
|
|
3223 003c 2123 movs r3, #33
|
|
|
3224 003e 0122 movs r2, #1
|
|
|
3225 0040 E254 strb r2, [r4, r3]
|
|
|
1939:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c ****
|
|
|
1940:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** return HAL_OK;
|
|
|
3226 .loc 1 1940 0
|
|
|
3227 0042 0020 movs r0, #0
|
|
|
3228 .L201:
|
|
|
ARM GAS /tmp/ccjDTEau.s page 92
|
|
|
|
|
|
|
|
|
1941:./Drivers/STM32L0xx_HAL_Driver/Src/stm32l0xx_hal_rtc_ex.c **** }
|
|
|
3229 .loc 1 1941 0
|
|
|
3230 @ sp needed
|
|
|
3231 .LVL238:
|
|
|
3232 .LVL239:
|
|
|
3233 .LVL240:
|
|
|
3234 0044 70BD pop {r4, r5, r6, pc}
|
|
|
3235 .L205:
|
|
|
3236 0046 C046 .align 2
|
|
|
3237 .L204:
|
|
|
3238 0048 7FFDFFFF .word -641
|
|
|
3239 .cfi_endproc
|
|
|
3240 .LFE73:
|
|
|
3242 .text
|
|
|
3243 .Letext0:
|
|
|
3244 .file 2 "/usr/arm-none-eabi/include/machine/_default_types.h"
|
|
|
3245 .file 3 "/usr/arm-none-eabi/include/sys/_stdint.h"
|
|
|
3246 .file 4 "Drivers/CMSIS/Device/ST/STM32L0xx/Include/system_stm32l0xx.h"
|
|
|
3247 .file 5 "Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l073xx.h"
|
|
|
3248 .file 6 "/usr/arm-none-eabi/include/sys/lock.h"
|
|
|
3249 .file 7 "/usr/arm-none-eabi/include/sys/_types.h"
|
|
|
3250 .file 8 "/usr/lib/gcc/arm-none-eabi/7.2.0/include/stddef.h"
|
|
|
3251 .file 9 "/usr/arm-none-eabi/include/sys/reent.h"
|
|
|
3252 .file 10 "Drivers/CMSIS/Device/ST/STM32L0xx/Include/stm32l0xx.h"
|
|
|
3253 .file 11 "Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_def.h"
|
|
|
3254 .file 12 "Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rtc.h"
|
|
|
3255 .file 13 "Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal_rtc_ex.h"
|
|
|
3256 .file 14 "Drivers/STM32L0xx_HAL_Driver/Inc/stm32l0xx_hal.h"
|
|
|
ARM GAS /tmp/ccjDTEau.s page 93
|
|
|
|
|
|
|
|
|
DEFINED SYMBOLS
|
|
|
*ABS*:0000000000000000 stm32l0xx_hal_rtc_ex.c
|
|
|
/tmp/ccjDTEau.s:16 .text.HAL_RTCEx_SetTimeStamp:0000000000000000 $t
|
|
|
/tmp/ccjDTEau.s:23 .text.HAL_RTCEx_SetTimeStamp:0000000000000000 HAL_RTCEx_SetTimeStamp
|
|
|
/tmp/ccjDTEau.s:106 .text.HAL_RTCEx_SetTimeStamp:0000000000000050 $d
|
|
|
/tmp/ccjDTEau.s:111 .text.HAL_RTCEx_SetTimeStamp_IT:0000000000000000 $t
|
|
|
/tmp/ccjDTEau.s:118 .text.HAL_RTCEx_SetTimeStamp_IT:0000000000000000 HAL_RTCEx_SetTimeStamp_IT
|
|
|
/tmp/ccjDTEau.s:218 .text.HAL_RTCEx_SetTimeStamp_IT:000000000000006c $d
|
|
|
/tmp/ccjDTEau.s:224 .text.HAL_RTCEx_DeactivateTimeStamp:0000000000000000 $t
|
|
|
/tmp/ccjDTEau.s:231 .text.HAL_RTCEx_DeactivateTimeStamp:0000000000000000 HAL_RTCEx_DeactivateTimeStamp
|
|
|
/tmp/ccjDTEau.s:307 .text.HAL_RTCEx_DeactivateTimeStamp:000000000000004c $d
|
|
|
/tmp/ccjDTEau.s:313 .text.HAL_RTCEx_GetTimeStamp:0000000000000000 $t
|
|
|
/tmp/ccjDTEau.s:320 .text.HAL_RTCEx_GetTimeStamp:0000000000000000 HAL_RTCEx_GetTimeStamp
|
|
|
/tmp/ccjDTEau.s:465 .text.HAL_RTCEx_GetTimeStamp:00000000000000ac $d
|
|
|
/tmp/ccjDTEau.s:472 .text.HAL_RTCEx_SetTamper:0000000000000000 $t
|
|
|
/tmp/ccjDTEau.s:479 .text.HAL_RTCEx_SetTamper:0000000000000000 HAL_RTCEx_SetTamper
|
|
|
/tmp/ccjDTEau.s:651 .text.HAL_RTCEx_SetTamper:00000000000000d4 $d
|
|
|
/tmp/ccjDTEau.s:656 .text.HAL_RTCEx_SetTamper_IT:0000000000000000 $t
|
|
|
/tmp/ccjDTEau.s:663 .text.HAL_RTCEx_SetTamper_IT:0000000000000000 HAL_RTCEx_SetTamper_IT
|
|
|
/tmp/ccjDTEau.s:850 .text.HAL_RTCEx_SetTamper_IT:00000000000000ec $d
|
|
|
/tmp/ccjDTEau.s:856 .text.HAL_RTCEx_DeactivateTamper:0000000000000000 $t
|
|
|
/tmp/ccjDTEau.s:863 .text.HAL_RTCEx_DeactivateTamper:0000000000000000 HAL_RTCEx_DeactivateTamper
|
|
|
/tmp/ccjDTEau.s:948 .text.HAL_RTCEx_DeactivateTamper:000000000000005c $d
|
|
|
/tmp/ccjDTEau.s:955 .text.HAL_RTCEx_TimeStampEventCallback:0000000000000000 $t
|
|
|
/tmp/ccjDTEau.s:962 .text.HAL_RTCEx_TimeStampEventCallback:0000000000000000 HAL_RTCEx_TimeStampEventCallback
|
|
|
/tmp/ccjDTEau.s:977 .text.HAL_RTCEx_Tamper1EventCallback:0000000000000000 $t
|
|
|
/tmp/ccjDTEau.s:984 .text.HAL_RTCEx_Tamper1EventCallback:0000000000000000 HAL_RTCEx_Tamper1EventCallback
|
|
|
/tmp/ccjDTEau.s:999 .text.HAL_RTCEx_Tamper2EventCallback:0000000000000000 $t
|
|
|
/tmp/ccjDTEau.s:1006 .text.HAL_RTCEx_Tamper2EventCallback:0000000000000000 HAL_RTCEx_Tamper2EventCallback
|
|
|
/tmp/ccjDTEau.s:1021 .text.HAL_RTCEx_Tamper3EventCallback:0000000000000000 $t
|
|
|
/tmp/ccjDTEau.s:1028 .text.HAL_RTCEx_Tamper3EventCallback:0000000000000000 HAL_RTCEx_Tamper3EventCallback
|
|
|
/tmp/ccjDTEau.s:1043 .text.HAL_RTCEx_TamperTimeStampIRQHandler:0000000000000000 $t
|
|
|
/tmp/ccjDTEau.s:1050 .text.HAL_RTCEx_TamperTimeStampIRQHandler:0000000000000000 HAL_RTCEx_TamperTimeStampIRQHandler
|
|
|
/tmp/ccjDTEau.s:1179 .text.HAL_RTCEx_TamperTimeStampIRQHandler:00000000000000a8 $d
|
|
|
/tmp/ccjDTEau.s:1191 .text.HAL_RTCEx_PollForTimeStampEvent:0000000000000000 $t
|
|
|
/tmp/ccjDTEau.s:1198 .text.HAL_RTCEx_PollForTimeStampEvent:0000000000000000 HAL_RTCEx_PollForTimeStampEvent
|
|
|
/tmp/ccjDTEau.s:1281 .text.HAL_RTCEx_PollForTimeStampEvent:0000000000000058 $d
|
|
|
/tmp/ccjDTEau.s:1286 .text.HAL_RTCEx_PollForTamper1Event:0000000000000000 $t
|
|
|
/tmp/ccjDTEau.s:1293 .text.HAL_RTCEx_PollForTamper1Event:0000000000000000 HAL_RTCEx_PollForTamper1Event
|
|
|
/tmp/ccjDTEau.s:1364 .text.HAL_RTCEx_PollForTamper1Event:0000000000000048 $d
|
|
|
/tmp/ccjDTEau.s:1369 .text.HAL_RTCEx_PollForTamper2Event:0000000000000000 $t
|
|
|
/tmp/ccjDTEau.s:1376 .text.HAL_RTCEx_PollForTamper2Event:0000000000000000 HAL_RTCEx_PollForTamper2Event
|
|
|
/tmp/ccjDTEau.s:1447 .text.HAL_RTCEx_PollForTamper2Event:0000000000000048 $d
|
|
|
/tmp/ccjDTEau.s:1452 .text.HAL_RTCEx_PollForTamper3Event:0000000000000000 $t
|
|
|
/tmp/ccjDTEau.s:1459 .text.HAL_RTCEx_PollForTamper3Event:0000000000000000 HAL_RTCEx_PollForTamper3Event
|
|
|
/tmp/ccjDTEau.s:1530 .text.HAL_RTCEx_PollForTamper3Event:0000000000000048 $d
|
|
|
/tmp/ccjDTEau.s:1535 .text.HAL_RTCEx_SetWakeUpTimer:0000000000000000 $t
|
|
|
/tmp/ccjDTEau.s:1542 .text.HAL_RTCEx_SetWakeUpTimer:0000000000000000 HAL_RTCEx_SetWakeUpTimer
|
|
|
/tmp/ccjDTEau.s:1716 .text.HAL_RTCEx_SetWakeUpTimer:00000000000000d8 $d
|
|
|
/tmp/ccjDTEau.s:1721 .text.HAL_RTCEx_SetWakeUpTimer_IT:0000000000000000 $t
|
|
|
/tmp/ccjDTEau.s:1728 .text.HAL_RTCEx_SetWakeUpTimer_IT:0000000000000000 HAL_RTCEx_SetWakeUpTimer_IT
|
|
|
/tmp/ccjDTEau.s:1930 .text.HAL_RTCEx_SetWakeUpTimer_IT:0000000000000108 $d
|
|
|
/tmp/ccjDTEau.s:1937 .text.HAL_RTCEx_DeactivateWakeUpTimer:0000000000000000 $t
|
|
|
/tmp/ccjDTEau.s:1944 .text.HAL_RTCEx_DeactivateWakeUpTimer:0000000000000000 HAL_RTCEx_DeactivateWakeUpTimer
|
|
|
/tmp/ccjDTEau.s:2055 .text.HAL_RTCEx_DeactivateWakeUpTimer:0000000000000084 $d
|
|
|
/tmp/ccjDTEau.s:2061 .text.HAL_RTCEx_GetWakeUpTimer:0000000000000000 $t
|
|
|
/tmp/ccjDTEau.s:2068 .text.HAL_RTCEx_GetWakeUpTimer:0000000000000000 HAL_RTCEx_GetWakeUpTimer
|
|
|
ARM GAS /tmp/ccjDTEau.s page 94
|
|
|
|
|
|
|
|
|
/tmp/ccjDTEau.s:2089 .text.HAL_RTCEx_WakeUpTimerEventCallback:0000000000000000 $t
|
|
|
/tmp/ccjDTEau.s:2096 .text.HAL_RTCEx_WakeUpTimerEventCallback:0000000000000000 HAL_RTCEx_WakeUpTimerEventCallback
|
|
|
/tmp/ccjDTEau.s:2111 .text.HAL_RTCEx_WakeUpTimerIRQHandler:0000000000000000 $t
|
|
|
/tmp/ccjDTEau.s:2118 .text.HAL_RTCEx_WakeUpTimerIRQHandler:0000000000000000 HAL_RTCEx_WakeUpTimerIRQHandler
|
|
|
/tmp/ccjDTEau.s:2168 .text.HAL_RTCEx_WakeUpTimerIRQHandler:0000000000000030 $d
|
|
|
/tmp/ccjDTEau.s:2174 .text.HAL_RTCEx_PollForWakeUpTimerEvent:0000000000000000 $t
|
|
|
/tmp/ccjDTEau.s:2181 .text.HAL_RTCEx_PollForWakeUpTimerEvent:0000000000000000 HAL_RTCEx_PollForWakeUpTimerEvent
|
|
|
/tmp/ccjDTEau.s:2252 .text.HAL_RTCEx_PollForWakeUpTimerEvent:0000000000000048 $d
|
|
|
/tmp/ccjDTEau.s:2257 .text.HAL_RTCEx_BKUPWrite:0000000000000000 $t
|
|
|
/tmp/ccjDTEau.s:2264 .text.HAL_RTCEx_BKUPWrite:0000000000000000 HAL_RTCEx_BKUPWrite
|
|
|
/tmp/ccjDTEau.s:2290 .text.HAL_RTCEx_BKUPRead:0000000000000000 $t
|
|
|
/tmp/ccjDTEau.s:2297 .text.HAL_RTCEx_BKUPRead:0000000000000000 HAL_RTCEx_BKUPRead
|
|
|
/tmp/ccjDTEau.s:2324 .text.HAL_RTCEx_SetSmoothCalib:0000000000000000 $t
|
|
|
/tmp/ccjDTEau.s:2331 .text.HAL_RTCEx_SetSmoothCalib:0000000000000000 HAL_RTCEx_SetSmoothCalib
|
|
|
/tmp/ccjDTEau.s:2457 .text.HAL_RTCEx_SetSynchroShift:0000000000000000 $t
|
|
|
/tmp/ccjDTEau.s:2464 .text.HAL_RTCEx_SetSynchroShift:0000000000000000 HAL_RTCEx_SetSynchroShift
|
|
|
/tmp/ccjDTEau.s:2624 .text.HAL_RTCEx_SetCalibrationOutPut:0000000000000000 $t
|
|
|
/tmp/ccjDTEau.s:2631 .text.HAL_RTCEx_SetCalibrationOutPut:0000000000000000 HAL_RTCEx_SetCalibrationOutPut
|
|
|
/tmp/ccjDTEau.s:2710 .text.HAL_RTCEx_SetCalibrationOutPut:0000000000000054 $d
|
|
|
/tmp/ccjDTEau.s:2715 .text.HAL_RTCEx_DeactivateCalibrationOutPut:0000000000000000 $t
|
|
|
/tmp/ccjDTEau.s:2722 .text.HAL_RTCEx_DeactivateCalibrationOutPut:0000000000000000 HAL_RTCEx_DeactivateCalibrationOutPut
|
|
|
/tmp/ccjDTEau.s:2787 .text.HAL_RTCEx_DeactivateCalibrationOutPut:0000000000000040 $d
|
|
|
/tmp/ccjDTEau.s:2792 .text.HAL_RTCEx_SetRefClock:0000000000000000 $t
|
|
|
/tmp/ccjDTEau.s:2799 .text.HAL_RTCEx_SetRefClock:0000000000000000 HAL_RTCEx_SetRefClock
|
|
|
/tmp/ccjDTEau.s:2893 .text.HAL_RTCEx_DeactivateRefClock:0000000000000000 $t
|
|
|
/tmp/ccjDTEau.s:2900 .text.HAL_RTCEx_DeactivateRefClock:0000000000000000 HAL_RTCEx_DeactivateRefClock
|
|
|
/tmp/ccjDTEau.s:2994 .text.HAL_RTCEx_EnableBypassShadow:0000000000000000 $t
|
|
|
/tmp/ccjDTEau.s:3001 .text.HAL_RTCEx_EnableBypassShadow:0000000000000000 HAL_RTCEx_EnableBypassShadow
|
|
|
/tmp/ccjDTEau.s:3065 .text.HAL_RTCEx_DisableBypassShadow:0000000000000000 $t
|
|
|
/tmp/ccjDTEau.s:3072 .text.HAL_RTCEx_DisableBypassShadow:0000000000000000 HAL_RTCEx_DisableBypassShadow
|
|
|
/tmp/ccjDTEau.s:3138 .text.HAL_RTCEx_AlarmBEventCallback:0000000000000000 $t
|
|
|
/tmp/ccjDTEau.s:3145 .text.HAL_RTCEx_AlarmBEventCallback:0000000000000000 HAL_RTCEx_AlarmBEventCallback
|
|
|
/tmp/ccjDTEau.s:3160 .text.HAL_RTCEx_PollForAlarmBEvent:0000000000000000 $t
|
|
|
/tmp/ccjDTEau.s:3167 .text.HAL_RTCEx_PollForAlarmBEvent:0000000000000000 HAL_RTCEx_PollForAlarmBEvent
|
|
|
/tmp/ccjDTEau.s:3238 .text.HAL_RTCEx_PollForAlarmBEvent:0000000000000048 $d
|
|
|
.debug_frame:0000000000000010 $d
|
|
|
|
|
|
UNDEFINED SYMBOLS
|
|
|
RTC_Bcd2ToByte
|
|
|
HAL_GetTick
|
|
|
HAL_RTC_WaitForSynchro
|
|
|
RTC_EnterInitMode
|
|
|
|