3118 lines
188 KiB
Plaintext
3118 lines
188 KiB
Plaintext
ARM GAS /tmp/cc8TEl12.s page 1
|
||
|
||
|
||
1 .cpu cortex-m4
|
||
2 .eabi_attribute 27, 1
|
||
3 .eabi_attribute 28, 1
|
||
4 .eabi_attribute 23, 1
|
||
5 .eabi_attribute 24, 1
|
||
6 .eabi_attribute 25, 1
|
||
7 .eabi_attribute 26, 1
|
||
8 .eabi_attribute 30, 2
|
||
9 .eabi_attribute 34, 1
|
||
10 .eabi_attribute 18, 4
|
||
11 .file "stm32g4xx_hal_uart_ex.c"
|
||
12 .text
|
||
13 .Ltext0:
|
||
14 .cfi_sections .debug_frame
|
||
15 .section .text.HAL_RS485Ex_Init,"ax",%progbits
|
||
16 .align 1
|
||
17 .p2align 2,,3
|
||
18 .global HAL_RS485Ex_Init
|
||
19 .syntax unified
|
||
20 .thumb
|
||
21 .thumb_func
|
||
22 .fpu fpv4-sp-d16
|
||
24 HAL_RS485Ex_Init:
|
||
25 .LFB329:
|
||
26 .file 1 "Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c"
|
||
1:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /**
|
||
2:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** ******************************************************************************
|
||
3:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * @file stm32g4xx_hal_uart_ex.c
|
||
4:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * @author MCD Application Team
|
||
5:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * @brief Extended UART HAL module driver.
|
||
6:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * This file provides firmware functions to manage the following extended
|
||
7:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * functionalities of the Universal Asynchronous Receiver Transmitter Peripheral (UART).
|
||
8:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * + Initialization and de-initialization functions
|
||
9:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * + Peripheral Control functions
|
||
10:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** *
|
||
11:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** *
|
||
12:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** @verbatim
|
||
13:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** ==============================================================================
|
||
14:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** ##### UART peripheral extended features #####
|
||
15:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** ==============================================================================
|
||
16:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
17:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** (#) Declare a UART_HandleTypeDef handle structure.
|
||
18:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
19:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** (#) For the UART RS485 Driver Enable mode, initialize the UART registers
|
||
20:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** by calling the HAL_RS485Ex_Init() API.
|
||
21:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
22:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** (#) FIFO mode enabling/disabling and RX/TX FIFO threshold programming.
|
||
23:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
24:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** -@- When UART operates in FIFO mode, FIFO mode must be enabled prior
|
||
25:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** starting RX/TX transfers. Also RX/TX FIFO thresholds must be
|
||
26:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** configured prior starting RX/TX transfers.
|
||
27:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
28:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** @endverbatim
|
||
29:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** ******************************************************************************
|
||
30:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * @attention
|
||
31:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** *
|
||
32:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * <h2><center>© Copyright (c) 2019 STMicroelectronics.
|
||
ARM GAS /tmp/cc8TEl12.s page 2
|
||
|
||
|
||
33:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * All rights reserved.</center></h2>
|
||
34:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** *
|
||
35:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * This software component is licensed by ST under BSD 3-Clause license,
|
||
36:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * the "License"; You may not use this file except in compliance with the
|
||
37:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * License. You may obtain a copy of the License at:
|
||
38:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * opensource.org/licenses/BSD-3-Clause
|
||
39:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** *
|
||
40:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** ******************************************************************************
|
||
41:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** */
|
||
42:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
43:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /* Includes ------------------------------------------------------------------*/
|
||
44:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** #include "stm32g4xx_hal.h"
|
||
45:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
46:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /** @addtogroup STM32G4xx_HAL_Driver
|
||
47:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * @{
|
||
48:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** */
|
||
49:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
50:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /** @defgroup UARTEx UARTEx
|
||
51:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * @brief UART Extended HAL module driver
|
||
52:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * @{
|
||
53:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** */
|
||
54:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
55:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** #ifdef HAL_UART_MODULE_ENABLED
|
||
56:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
57:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /* Private typedef -----------------------------------------------------------*/
|
||
58:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /* Private define ------------------------------------------------------------*/
|
||
59:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /** @defgroup UARTEX_Private_Constants UARTEx Private Constants
|
||
60:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * @{
|
||
61:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** */
|
||
62:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /* UART RX FIFO depth */
|
||
63:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** #define RX_FIFO_DEPTH 8U
|
||
64:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
65:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /* UART TX FIFO depth */
|
||
66:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** #define TX_FIFO_DEPTH 8U
|
||
67:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /**
|
||
68:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * @}
|
||
69:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** */
|
||
70:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
71:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /* Private macros ------------------------------------------------------------*/
|
||
72:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /* Private variables ---------------------------------------------------------*/
|
||
73:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /* Private function prototypes -----------------------------------------------*/
|
||
74:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /** @defgroup UARTEx_Private_Functions UARTEx Private Functions
|
||
75:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * @{
|
||
76:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** */
|
||
77:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** static void UARTEx_Wakeup_AddressConfig(UART_HandleTypeDef *huart, UART_WakeUpTypeDef WakeUpSelecti
|
||
78:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** static void UARTEx_SetNbDataToProcess(UART_HandleTypeDef *huart);
|
||
79:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /**
|
||
80:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * @}
|
||
81:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** */
|
||
82:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
83:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /* Exported functions --------------------------------------------------------*/
|
||
84:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
85:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /** @defgroup UARTEx_Exported_Functions UARTEx Exported Functions
|
||
86:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * @{
|
||
87:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** */
|
||
88:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
89:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /** @defgroup UARTEx_Exported_Functions_Group1 Initialization and de-initialization functions
|
||
ARM GAS /tmp/cc8TEl12.s page 3
|
||
|
||
|
||
90:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * @brief Extended Initialization and Configuration Functions
|
||
91:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** *
|
||
92:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** @verbatim
|
||
93:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** ===============================================================================
|
||
94:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** ##### Initialization and Configuration functions #####
|
||
95:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** ===============================================================================
|
||
96:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** [..]
|
||
97:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** This subsection provides a set of functions allowing to initialize the USARTx or the UARTy
|
||
98:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** in asynchronous mode.
|
||
99:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** (+) For the asynchronous mode the parameters below can be configured:
|
||
100:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** (++) Baud Rate
|
||
101:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** (++) Word Length
|
||
102:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** (++) Stop Bit
|
||
103:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** (++) Parity: If the parity is enabled, then the MSB bit of the data written
|
||
104:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** in the data register is transmitted but is changed by the parity bit.
|
||
105:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** (++) Hardware flow control
|
||
106:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** (++) Receiver/transmitter modes
|
||
107:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** (++) Over Sampling Method
|
||
108:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** (++) One-Bit Sampling Method
|
||
109:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** (+) For the asynchronous mode, the following advanced features can be configured as well:
|
||
110:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** (++) TX and/or RX pin level inversion
|
||
111:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** (++) data logical level inversion
|
||
112:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** (++) RX and TX pins swap
|
||
113:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** (++) RX overrun detection disabling
|
||
114:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** (++) DMA disabling on RX error
|
||
115:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** (++) MSB first on communication line
|
||
116:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** (++) auto Baud rate detection
|
||
117:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** [..]
|
||
118:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** The HAL_RS485Ex_Init() API follows the UART RS485 mode configuration
|
||
119:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** procedures (details for the procedures are available in reference manual).
|
||
120:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
121:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** @endverbatim
|
||
122:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
123:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** Depending on the frame length defined by the M1 and M0 bits (7-bit,
|
||
124:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** 8-bit or 9-bit), the possible UART formats are listed in the
|
||
125:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** following table.
|
||
126:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
127:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** Table 1. UART frame format.
|
||
128:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** +-----------------------------------------------------------------------+
|
||
129:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** | M1 bit | M0 bit | PCE bit | UART frame |
|
||
130:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** |---------|---------|-----------|---------------------------------------|
|
||
131:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** | 0 | 0 | 0 | | SB | 8 bit data | STB | |
|
||
132:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** |---------|---------|-----------|---------------------------------------|
|
||
133:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** | 0 | 0 | 1 | | SB | 7 bit data | PB | STB | |
|
||
134:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** |---------|---------|-----------|---------------------------------------|
|
||
135:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** | 0 | 1 | 0 | | SB | 9 bit data | STB | |
|
||
136:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** |---------|---------|-----------|---------------------------------------|
|
||
137:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** | 0 | 1 | 1 | | SB | 8 bit data | PB | STB | |
|
||
138:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** |---------|---------|-----------|---------------------------------------|
|
||
139:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** | 1 | 0 | 0 | | SB | 7 bit data | STB | |
|
||
140:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** |---------|---------|-----------|---------------------------------------|
|
||
141:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** | 1 | 0 | 1 | | SB | 6 bit data | PB | STB | |
|
||
142:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** +-----------------------------------------------------------------------+
|
||
143:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
144:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * @{
|
||
145:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** */
|
||
146:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
ARM GAS /tmp/cc8TEl12.s page 4
|
||
|
||
|
||
147:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /**
|
||
148:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * @brief Initialize the RS485 Driver enable feature according to the specified
|
||
149:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * parameters in the UART_InitTypeDef and creates the associated handle.
|
||
150:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * @param huart UART handle.
|
||
151:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * @param Polarity Select the driver enable polarity.
|
||
152:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * This parameter can be one of the following values:
|
||
153:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * @arg @ref UART_DE_POLARITY_HIGH DE signal is active high
|
||
154:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * @arg @ref UART_DE_POLARITY_LOW DE signal is active low
|
||
155:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * @param AssertionTime Driver Enable assertion time:
|
||
156:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * 5-bit value defining the time between the activation of the DE (Driver Enable)
|
||
157:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * signal and the beginning of the start bit. It is expressed in sample time
|
||
158:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * units (1/8 or 1/16 bit time, depending on the oversampling rate)
|
||
159:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * @param DeassertionTime Driver Enable deassertion time:
|
||
160:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * 5-bit value defining the time between the end of the last stop bit, in a
|
||
161:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * transmitted message, and the de-activation of the DE (Driver Enable) signal.
|
||
162:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * It is expressed in sample time units (1/8 or 1/16 bit time, depending on the
|
||
163:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * oversampling rate).
|
||
164:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * @retval HAL status
|
||
165:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** */
|
||
166:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** HAL_StatusTypeDef HAL_RS485Ex_Init(UART_HandleTypeDef *huart, uint32_t Polarity, uint32_t Assertion
|
||
167:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** uint32_t DeassertionTime)
|
||
168:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** {
|
||
27 .loc 1 168 0
|
||
28 .cfi_startproc
|
||
29 @ args = 0, pretend = 0, frame = 0
|
||
30 @ frame_needed = 0, uses_anonymous_args = 0
|
||
31 .LVL0:
|
||
169:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** uint32_t temp;
|
||
170:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
171:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /* Check the UART handle allocation */
|
||
172:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** if (huart == NULL)
|
||
32 .loc 1 172 0
|
||
33 0000 0028 cmp r0, #0
|
||
34 0002 41D0 beq .L14
|
||
168:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** uint32_t temp;
|
||
35 .loc 1 168 0
|
||
36 0004 2DE9F041 push {r4, r5, r6, r7, r8, lr}
|
||
37 .LCFI0:
|
||
38 .cfi_def_cfa_offset 24
|
||
39 .cfi_offset 4, -24
|
||
40 .cfi_offset 5, -20
|
||
41 .cfi_offset 6, -16
|
||
42 .cfi_offset 7, -12
|
||
43 .cfi_offset 8, -8
|
||
44 .cfi_offset 14, -4
|
||
45 0008 1D46 mov r5, r3
|
||
173:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** {
|
||
174:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** return HAL_ERROR;
|
||
175:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** }
|
||
176:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /* Check the Driver Enable UART instance */
|
||
177:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** assert_param(IS_UART_DRIVER_ENABLE_INSTANCE(huart->Instance));
|
||
178:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
179:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /* Check the Driver Enable polarity */
|
||
180:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** assert_param(IS_UART_DE_POLARITY(Polarity));
|
||
181:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
182:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /* Check the Driver Enable assertion time */
|
||
183:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** assert_param(IS_UART_ASSERTIONTIME(AssertionTime));
|
||
ARM GAS /tmp/cc8TEl12.s page 5
|
||
|
||
|
||
184:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
185:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /* Check the Driver Enable deassertion time */
|
||
186:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** assert_param(IS_UART_DEASSERTIONTIME(DeassertionTime));
|
||
187:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
188:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** if (huart->gState == HAL_UART_STATE_RESET)
|
||
46 .loc 1 188 0
|
||
47 000a D0F88430 ldr r3, [r0, #132]
|
||
48 .LVL1:
|
||
49 000e 0446 mov r4, r0
|
||
50 0010 1746 mov r7, r2
|
||
51 0012 8846 mov r8, r1
|
||
52 0014 63B3 cbz r3, .L18
|
||
53 .LVL2:
|
||
54 .L4:
|
||
189:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** {
|
||
190:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /* Allocate lock resource and initialize it */
|
||
191:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** huart->Lock = HAL_UNLOCKED;
|
||
192:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
193:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** #if (USE_HAL_UART_REGISTER_CALLBACKS == 1)
|
||
194:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** UART_InitCallbacksToDefault(huart);
|
||
195:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
196:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** if (huart->MspInitCallback == NULL)
|
||
197:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** {
|
||
198:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** huart->MspInitCallback = HAL_UART_MspInit;
|
||
199:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** }
|
||
200:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
201:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /* Init the low level hardware */
|
||
202:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** huart->MspInitCallback(huart);
|
||
203:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** #else
|
||
204:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /* Init the low level hardware : GPIO, CLOCK, CORTEX */
|
||
205:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** HAL_UART_MspInit(huart);
|
||
206:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** #endif /* (USE_HAL_UART_REGISTER_CALLBACKS) */
|
||
207:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** }
|
||
208:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
209:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** huart->gState = HAL_UART_STATE_BUSY;
|
||
210:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
211:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /* Disable the Peripheral */
|
||
212:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** __HAL_UART_DISABLE(huart);
|
||
55 .loc 1 212 0
|
||
56 0016 2268 ldr r2, [r4]
|
||
209:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
57 .loc 1 209 0
|
||
58 0018 2423 movs r3, #36
|
||
59 001a C4F88430 str r3, [r4, #132]
|
||
60 .loc 1 212 0
|
||
61 001e 1368 ldr r3, [r2]
|
||
62 0020 23F00103 bic r3, r3, #1
|
||
63 0024 1360 str r3, [r2]
|
||
213:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
214:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /* Set the UART Communication parameters */
|
||
215:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** if (UART_SetConfig(huart) == HAL_ERROR)
|
||
64 .loc 1 215 0
|
||
65 0026 2046 mov r0, r4
|
||
66 0028 FFF7FEFF bl UART_SetConfig
|
||
67 .LVL3:
|
||
68 002c 0128 cmp r0, #1
|
||
69 002e 24D0 beq .L3
|
||
ARM GAS /tmp/cc8TEl12.s page 6
|
||
|
||
|
||
216:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** {
|
||
217:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** return HAL_ERROR;
|
||
218:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** }
|
||
219:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
220:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** if (huart->AdvancedInit.AdvFeatureInit != UART_ADVFEATURE_NO_INIT)
|
||
70 .loc 1 220 0
|
||
71 0030 A36A ldr r3, [r4, #40]
|
||
72 0032 2BBB cbnz r3, .L19
|
||
73 .L6:
|
||
74 .LVL4:
|
||
221:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** {
|
||
222:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** UART_AdvFeatureConfig(huart);
|
||
223:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** }
|
||
224:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
225:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /* Enable the Driver Enable mode by setting the DEM bit in the CR3 register */
|
||
226:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** SET_BIT(huart->Instance->CR3, USART_CR3_DEM);
|
||
75 .loc 1 226 0
|
||
76 0034 2668 ldr r6, [r4]
|
||
77 0036 B368 ldr r3, [r6, #8]
|
||
78 0038 43F48043 orr r3, r3, #16384
|
||
79 003c B360 str r3, [r6, #8]
|
||
227:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
228:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /* Set the Driver Enable polarity */
|
||
229:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** MODIFY_REG(huart->Instance->CR3, USART_CR3_DEP, Polarity);
|
||
80 .loc 1 229 0
|
||
81 003e B368 ldr r3, [r6, #8]
|
||
82 0040 23F40043 bic r3, r3, #32768
|
||
83 0044 43EA0803 orr r3, r3, r8
|
||
84 0048 B360 str r3, [r6, #8]
|
||
230:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
231:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /* Set the Driver Enable assertion and deassertion times */
|
||
232:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** temp = (AssertionTime << UART_CR1_DEAT_ADDRESS_LSB_POS);
|
||
233:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** temp |= (DeassertionTime << UART_CR1_DEDT_ADDRESS_LSB_POS);
|
||
234:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** MODIFY_REG(huart->Instance->CR1, (USART_CR1_DEDT | USART_CR1_DEAT), temp);
|
||
85 .loc 1 234 0
|
||
86 004a 3368 ldr r3, [r6]
|
||
233:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** MODIFY_REG(huart->Instance->CR1, (USART_CR1_DEDT | USART_CR1_DEAT), temp);
|
||
87 .loc 1 233 0
|
||
88 004c 2D04 lsls r5, r5, #16
|
||
89 .LVL5:
|
||
90 .loc 1 234 0
|
||
91 004e 23F07F73 bic r3, r3, #66846720
|
||
233:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** MODIFY_REG(huart->Instance->CR1, (USART_CR1_DEDT | USART_CR1_DEAT), temp);
|
||
92 .loc 1 233 0
|
||
93 0052 45EA4755 orr r5, r5, r7, lsl #21
|
||
94 .LVL6:
|
||
95 .loc 1 234 0
|
||
96 0056 23F44033 bic r3, r3, #196608
|
||
97 005a 1D43 orrs r5, r5, r3
|
||
98 .LVL7:
|
||
99 005c 3560 str r5, [r6]
|
||
235:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
236:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /* Enable the Peripheral */
|
||
237:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** __HAL_UART_ENABLE(huart);
|
||
100 .loc 1 237 0
|
||
101 005e 3368 ldr r3, [r6]
|
||
102 0060 43F00103 orr r3, r3, #1
|
||
ARM GAS /tmp/cc8TEl12.s page 7
|
||
|
||
|
||
238:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
239:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /* TEACK and/or REACK to check before moving huart->gState and huart->RxState to Ready */
|
||
240:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** return (UART_CheckIdleState(huart));
|
||
103 .loc 1 240 0
|
||
104 0064 2046 mov r0, r4
|
||
237:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
105 .loc 1 237 0
|
||
106 0066 3360 str r3, [r6]
|
||
241:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** }
|
||
107 .loc 1 241 0
|
||
108 0068 BDE8F041 pop {r4, r5, r6, r7, r8, lr}
|
||
109 .LCFI1:
|
||
110 .cfi_remember_state
|
||
111 .cfi_restore 14
|
||
112 .cfi_restore 8
|
||
113 .cfi_restore 7
|
||
114 .cfi_restore 6
|
||
115 .cfi_restore 5
|
||
116 .cfi_restore 4
|
||
117 .cfi_def_cfa_offset 0
|
||
118 .LVL8:
|
||
240:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** }
|
||
119 .loc 1 240 0
|
||
120 006c FFF7FEBF b UART_CheckIdleState
|
||
121 .LVL9:
|
||
122 .L18:
|
||
123 .LCFI2:
|
||
124 .cfi_restore_state
|
||
191:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
125 .loc 1 191 0
|
||
126 0070 80F88030 strb r3, [r0, #128]
|
||
205:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** #endif /* (USE_HAL_UART_REGISTER_CALLBACKS) */
|
||
127 .loc 1 205 0
|
||
128 0074 FFF7FEFF bl HAL_UART_MspInit
|
||
129 .LVL10:
|
||
130 0078 CDE7 b .L4
|
||
131 .L3:
|
||
132 .loc 1 241 0
|
||
133 007a 0120 movs r0, #1
|
||
134 007c BDE8F081 pop {r4, r5, r6, r7, r8, pc}
|
||
135 .LVL11:
|
||
136 .L19:
|
||
222:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** }
|
||
137 .loc 1 222 0
|
||
138 0080 2046 mov r0, r4
|
||
139 0082 FFF7FEFF bl UART_AdvFeatureConfig
|
||
140 .LVL12:
|
||
141 0086 D5E7 b .L6
|
||
142 .LVL13:
|
||
143 .L14:
|
||
144 .LCFI3:
|
||
145 .cfi_def_cfa_offset 0
|
||
146 .cfi_restore 4
|
||
147 .cfi_restore 5
|
||
148 .cfi_restore 6
|
||
149 .cfi_restore 7
|
||
150 .cfi_restore 8
|
||
ARM GAS /tmp/cc8TEl12.s page 8
|
||
|
||
|
||
151 .cfi_restore 14
|
||
152 .loc 1 241 0
|
||
153 0088 0120 movs r0, #1
|
||
154 .LVL14:
|
||
155 008a 7047 bx lr
|
||
156 .cfi_endproc
|
||
157 .LFE329:
|
||
159 .section .text.HAL_UARTEx_WakeupCallback,"ax",%progbits
|
||
160 .align 1
|
||
161 .p2align 2,,3
|
||
162 .weak HAL_UARTEx_WakeupCallback
|
||
163 .syntax unified
|
||
164 .thumb
|
||
165 .thumb_func
|
||
166 .fpu fpv4-sp-d16
|
||
168 HAL_UARTEx_WakeupCallback:
|
||
169 .LFB330:
|
||
242:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
243:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /**
|
||
244:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * @}
|
||
245:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** */
|
||
246:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
247:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /** @defgroup UARTEx_Exported_Functions_Group2 IO operation functions
|
||
248:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * @brief Extended functions
|
||
249:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** *
|
||
250:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** @verbatim
|
||
251:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** ===============================================================================
|
||
252:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** ##### IO operation functions #####
|
||
253:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** ===============================================================================
|
||
254:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** This subsection provides a set of Wakeup and FIFO mode related callback functions.
|
||
255:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
256:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** (#) Wakeup from Stop mode Callback:
|
||
257:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** (+) HAL_UARTEx_WakeupCallback()
|
||
258:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
259:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** (#) TX/RX Fifos Callbacks:
|
||
260:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** (+) HAL_UARTEx_RxFifoFullCallback()
|
||
261:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** (+) HAL_UARTEx_TxFifoEmptyCallback()
|
||
262:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
263:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** @endverbatim
|
||
264:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * @{
|
||
265:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** */
|
||
266:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
267:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /**
|
||
268:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * @brief UART wakeup from Stop mode callback.
|
||
269:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * @param huart UART handle.
|
||
270:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * @retval None
|
||
271:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** */
|
||
272:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** __weak void HAL_UARTEx_WakeupCallback(UART_HandleTypeDef *huart)
|
||
273:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** {
|
||
170 .loc 1 273 0
|
||
171 .cfi_startproc
|
||
172 @ args = 0, pretend = 0, frame = 0
|
||
173 @ frame_needed = 0, uses_anonymous_args = 0
|
||
174 @ link register save eliminated.
|
||
175 .LVL15:
|
||
274:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /* Prevent unused argument(s) compilation warning */
|
||
275:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** UNUSED(huart);
|
||
ARM GAS /tmp/cc8TEl12.s page 9
|
||
|
||
|
||
276:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
277:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /* NOTE : This function should not be modified, when the callback is needed,
|
||
278:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** the HAL_UARTEx_WakeupCallback can be implemented in the user file.
|
||
279:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** */
|
||
280:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** }
|
||
176 .loc 1 280 0
|
||
177 0000 7047 bx lr
|
||
178 .cfi_endproc
|
||
179 .LFE330:
|
||
181 0002 00BF .section .text.HAL_UARTEx_RxFifoFullCallback,"ax",%progbits
|
||
182 .align 1
|
||
183 .p2align 2,,3
|
||
184 .weak HAL_UARTEx_RxFifoFullCallback
|
||
185 .syntax unified
|
||
186 .thumb
|
||
187 .thumb_func
|
||
188 .fpu fpv4-sp-d16
|
||
190 HAL_UARTEx_RxFifoFullCallback:
|
||
191 .LFB349:
|
||
192 .cfi_startproc
|
||
193 @ args = 0, pretend = 0, frame = 0
|
||
194 @ frame_needed = 0, uses_anonymous_args = 0
|
||
195 @ link register save eliminated.
|
||
196 0000 7047 bx lr
|
||
197 .cfi_endproc
|
||
198 .LFE349:
|
||
200 0002 00BF .section .text.HAL_UARTEx_TxFifoEmptyCallback,"ax",%progbits
|
||
201 .align 1
|
||
202 .p2align 2,,3
|
||
203 .weak HAL_UARTEx_TxFifoEmptyCallback
|
||
204 .syntax unified
|
||
205 .thumb
|
||
206 .thumb_func
|
||
207 .fpu fpv4-sp-d16
|
||
209 HAL_UARTEx_TxFifoEmptyCallback:
|
||
210 .LFB351:
|
||
211 .cfi_startproc
|
||
212 @ args = 0, pretend = 0, frame = 0
|
||
213 @ frame_needed = 0, uses_anonymous_args = 0
|
||
214 @ link register save eliminated.
|
||
215 0000 7047 bx lr
|
||
216 .cfi_endproc
|
||
217 .LFE351:
|
||
219 0002 00BF .section .text.HAL_MultiProcessorEx_AddressLength_Set,"ax",%progbits
|
||
220 .align 1
|
||
221 .p2align 2,,3
|
||
222 .global HAL_MultiProcessorEx_AddressLength_Set
|
||
223 .syntax unified
|
||
224 .thumb
|
||
225 .thumb_func
|
||
226 .fpu fpv4-sp-d16
|
||
228 HAL_MultiProcessorEx_AddressLength_Set:
|
||
229 .LFB333:
|
||
281:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
282:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /**
|
||
283:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * @brief UART RX Fifo full callback.
|
||
284:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * @param huart UART handle.
|
||
ARM GAS /tmp/cc8TEl12.s page 10
|
||
|
||
|
||
285:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * @retval None
|
||
286:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** */
|
||
287:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** __weak void HAL_UARTEx_RxFifoFullCallback(UART_HandleTypeDef *huart)
|
||
288:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** {
|
||
289:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /* Prevent unused argument(s) compilation warning */
|
||
290:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** UNUSED(huart);
|
||
291:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
292:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /* NOTE : This function should not be modified, when the callback is needed,
|
||
293:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** the HAL_UARTEx_RxFifoFullCallback can be implemented in the user file.
|
||
294:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** */
|
||
295:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** }
|
||
296:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
297:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /**
|
||
298:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * @brief UART TX Fifo empty callback.
|
||
299:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * @param huart UART handle.
|
||
300:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * @retval None
|
||
301:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** */
|
||
302:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** __weak void HAL_UARTEx_TxFifoEmptyCallback(UART_HandleTypeDef *huart)
|
||
303:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** {
|
||
304:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /* Prevent unused argument(s) compilation warning */
|
||
305:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** UNUSED(huart);
|
||
306:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
307:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /* NOTE : This function should not be modified, when the callback is needed,
|
||
308:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** the HAL_UARTEx_TxFifoEmptyCallback can be implemented in the user file.
|
||
309:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** */
|
||
310:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** }
|
||
311:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
312:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /**
|
||
313:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * @}
|
||
314:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** */
|
||
315:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
316:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /** @defgroup UARTEx_Exported_Functions_Group3 Peripheral Control functions
|
||
317:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * @brief Extended Peripheral Control functions
|
||
318:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** *
|
||
319:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** @verbatim
|
||
320:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** ===============================================================================
|
||
321:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** ##### Peripheral Control functions #####
|
||
322:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** ===============================================================================
|
||
323:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** [..] This section provides the following functions:
|
||
324:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** (+) HAL_MultiProcessorEx_AddressLength_Set() API optionally sets the UART node address
|
||
325:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** detection length to more than 4 bits for multiprocessor address mark wake up.
|
||
326:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** (+) HAL_UARTEx_StopModeWakeUpSourceConfig() API defines the wake-up from stop mode
|
||
327:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** trigger: address match, Start Bit detection or RXNE bit status.
|
||
328:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** (+) HAL_UARTEx_EnableStopMode() API enables the UART to wake up the MCU from stop mode
|
||
329:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** (+) HAL_UARTEx_DisableStopMode() API disables the above functionality
|
||
330:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** (+) HAL_UARTEx_EnableFifoMode() API enables the FIFO mode
|
||
331:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** (+) HAL_UARTEx_DisableFifoMode() API disables the FIFO mode
|
||
332:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** (+) HAL_UARTEx_SetTxFifoThreshold() API sets the TX FIFO threshold
|
||
333:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** (+) HAL_UARTEx_SetRxFifoThreshold() API sets the RX FIFO threshold
|
||
334:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
335:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** [..] This subsection also provides a set of additional functions providing enhanced reception
|
||
336:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** services to user. (For example, these functions allow application to handle use cases
|
||
337:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** where number of data to be received is unknown).
|
||
338:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
339:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** (#) Compared to standard reception services which only consider number of received
|
||
340:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** data elements as reception completion criteria, these functions also consider additional ev
|
||
341:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** as triggers for updating reception status to caller :
|
||
ARM GAS /tmp/cc8TEl12.s page 11
|
||
|
||
|
||
342:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** (+) Detection of inactivity period (RX line has not been active for a given period).
|
||
343:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** (++) RX inactivity detected by IDLE event, i.e. RX line has been in idle state (normally
|
||
344:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** for 1 frame time, after last received byte.
|
||
345:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** (++) RX inactivity detected by RTO, i.e. line has been in idle state
|
||
346:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** for a programmable time, after last received byte.
|
||
347:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** (+) Detection that a specific character has been received.
|
||
348:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
349:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** (#) There are two mode of transfer:
|
||
350:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** (+) Blocking mode: The reception is performed in polling mode, until either expected number
|
||
351:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** or till IDLE event occurs. Reception is handled only during function execution.
|
||
352:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** When function exits, no data reception could occur. HAL status and number of actually re
|
||
353:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** are returned by function after finishing transfer.
|
||
354:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** (+) Non-Blocking mode: The reception is performed using Interrupts or DMA.
|
||
355:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** These API's return the HAL status.
|
||
356:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** The end of the data processing will be indicated through the
|
||
357:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** dedicated UART IRQ when using Interrupt mode or the DMA IRQ when using DMA mode.
|
||
358:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** The HAL_UARTEx_RxEventCallback() user callback will be executed during Receive process
|
||
359:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** The HAL_UART_ErrorCallback()user callback will be executed when a reception error is det
|
||
360:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
361:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** (#) Blocking mode API:
|
||
362:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** (+) HAL_UARTEx_ReceiveToIdle()
|
||
363:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
364:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** (#) Non-Blocking mode API with Interrupt:
|
||
365:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** (+) HAL_UARTEx_ReceiveToIdle_IT()
|
||
366:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
367:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** (#) Non-Blocking mode API with DMA:
|
||
368:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** (+) HAL_UARTEx_ReceiveToIdle_DMA()
|
||
369:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
370:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** @endverbatim
|
||
371:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * @{
|
||
372:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** */
|
||
373:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
374:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /**
|
||
375:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * @brief By default in multiprocessor mode, when the wake up method is set
|
||
376:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * to address mark, the UART handles only 4-bit long addresses detection;
|
||
377:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * this API allows to enable longer addresses detection (6-, 7- or 8-bit
|
||
378:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * long).
|
||
379:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * @note Addresses detection lengths are: 6-bit address detection in 7-bit data mode,
|
||
380:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * 7-bit address detection in 8-bit data mode, 8-bit address detection in 9-bit data mode.
|
||
381:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * @param huart UART handle.
|
||
382:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * @param AddressLength This parameter can be one of the following values:
|
||
383:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * @arg @ref UART_ADDRESS_DETECT_4B 4-bit long address
|
||
384:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * @arg @ref UART_ADDRESS_DETECT_7B 6-, 7- or 8-bit long address
|
||
385:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * @retval HAL status
|
||
386:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** */
|
||
387:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** HAL_StatusTypeDef HAL_MultiProcessorEx_AddressLength_Set(UART_HandleTypeDef *huart, uint32_t Addres
|
||
388:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** {
|
||
230 .loc 1 388 0
|
||
231 .cfi_startproc
|
||
232 @ args = 0, pretend = 0, frame = 0
|
||
233 @ frame_needed = 0, uses_anonymous_args = 0
|
||
234 @ link register save eliminated.
|
||
235 .LVL16:
|
||
389:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /* Check the UART handle allocation */
|
||
390:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** if (huart == NULL)
|
||
236 .loc 1 390 0
|
||
237 0000 A8B1 cbz r0, .L24
|
||
ARM GAS /tmp/cc8TEl12.s page 12
|
||
|
||
|
||
388:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /* Check the UART handle allocation */
|
||
238 .loc 1 388 0
|
||
239 0002 10B4 push {r4}
|
||
240 .LCFI4:
|
||
241 .cfi_def_cfa_offset 4
|
||
242 .cfi_offset 4, -4
|
||
391:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** {
|
||
392:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** return HAL_ERROR;
|
||
393:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** }
|
||
394:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
395:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /* Check the address length parameter */
|
||
396:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** assert_param(IS_UART_ADDRESSLENGTH_DETECT(AddressLength));
|
||
397:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
398:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** huart->gState = HAL_UART_STATE_BUSY;
|
||
399:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
400:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /* Disable the Peripheral */
|
||
401:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** __HAL_UART_DISABLE(huart);
|
||
243 .loc 1 401 0
|
||
244 0004 0368 ldr r3, [r0]
|
||
398:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
245 .loc 1 398 0
|
||
246 0006 2424 movs r4, #36
|
||
247 0008 C0F88440 str r4, [r0, #132]
|
||
248 .loc 1 401 0
|
||
249 000c 1A68 ldr r2, [r3]
|
||
402:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
403:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /* Set the address length */
|
||
404:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** MODIFY_REG(huart->Instance->CR2, USART_CR2_ADDM7, AddressLength);
|
||
405:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
406:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /* Enable the Peripheral */
|
||
407:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** __HAL_UART_ENABLE(huart);
|
||
408:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
409:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /* TEACK and/or REACK to check before moving huart->gState to Ready */
|
||
410:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** return (UART_CheckIdleState(huart));
|
||
411:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** }
|
||
250 .loc 1 411 0
|
||
251 000e 5DF8044B ldr r4, [sp], #4
|
||
252 .LCFI5:
|
||
253 .cfi_restore 4
|
||
254 .cfi_def_cfa_offset 0
|
||
401:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
255 .loc 1 401 0
|
||
256 0012 22F00102 bic r2, r2, #1
|
||
257 0016 1A60 str r2, [r3]
|
||
404:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
258 .loc 1 404 0
|
||
259 0018 5A68 ldr r2, [r3, #4]
|
||
260 001a 22F01002 bic r2, r2, #16
|
||
261 001e 1143 orrs r1, r1, r2
|
||
262 .LVL17:
|
||
263 0020 5960 str r1, [r3, #4]
|
||
407:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
264 .loc 1 407 0
|
||
265 0022 1A68 ldr r2, [r3]
|
||
266 0024 42F00102 orr r2, r2, #1
|
||
267 0028 1A60 str r2, [r3]
|
||
410:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** }
|
||
ARM GAS /tmp/cc8TEl12.s page 13
|
||
|
||
|
||
268 .loc 1 410 0
|
||
269 002a FFF7FEBF b UART_CheckIdleState
|
||
270 .LVL18:
|
||
271 .L24:
|
||
272 .loc 1 411 0
|
||
273 002e 0120 movs r0, #1
|
||
274 .LVL19:
|
||
275 0030 7047 bx lr
|
||
276 .cfi_endproc
|
||
277 .LFE333:
|
||
279 0032 00BF .section .text.HAL_UARTEx_StopModeWakeUpSourceConfig,"ax",%progbits
|
||
280 .align 1
|
||
281 .p2align 2,,3
|
||
282 .global HAL_UARTEx_StopModeWakeUpSourceConfig
|
||
283 .syntax unified
|
||
284 .thumb
|
||
285 .thumb_func
|
||
286 .fpu fpv4-sp-d16
|
||
288 HAL_UARTEx_StopModeWakeUpSourceConfig:
|
||
289 .LFB334:
|
||
412:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
413:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /**
|
||
414:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * @brief Set Wakeup from Stop mode interrupt flag selection.
|
||
415:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * @note It is the application responsibility to enable the interrupt used as
|
||
416:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * usart_wkup interrupt source before entering low-power mode.
|
||
417:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * @param huart UART handle.
|
||
418:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * @param WakeUpSelection Address match, Start Bit detection or RXNE/RXFNE bit status.
|
||
419:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * This parameter can be one of the following values:
|
||
420:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * @arg @ref UART_WAKEUP_ON_ADDRESS
|
||
421:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * @arg @ref UART_WAKEUP_ON_STARTBIT
|
||
422:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * @arg @ref UART_WAKEUP_ON_READDATA_NONEMPTY
|
||
423:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * @retval HAL status
|
||
424:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** */
|
||
425:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** HAL_StatusTypeDef HAL_UARTEx_StopModeWakeUpSourceConfig(UART_HandleTypeDef *huart, UART_WakeUpTypeD
|
||
426:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** {
|
||
290 .loc 1 426 0
|
||
291 .cfi_startproc
|
||
292 @ args = 0, pretend = 0, frame = 8
|
||
293 @ frame_needed = 0, uses_anonymous_args = 0
|
||
294 .LVL20:
|
||
295 0000 10B5 push {r4, lr}
|
||
296 .LCFI6:
|
||
297 .cfi_def_cfa_offset 8
|
||
298 .cfi_offset 4, -8
|
||
299 .cfi_offset 14, -4
|
||
300 0002 84B0 sub sp, sp, #16
|
||
301 .LCFI7:
|
||
302 .cfi_def_cfa_offset 24
|
||
303 .LVL21:
|
||
304 .loc 1 426 0
|
||
305 0004 04AB add r3, sp, #16
|
||
306 0006 03E90600 stmdb r3, {r1, r2}
|
||
307 .LVL22:
|
||
427:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** HAL_StatusTypeDef status = HAL_OK;
|
||
428:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** uint32_t tickstart;
|
||
429:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
430:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /* check the wake-up from stop mode UART instance */
|
||
ARM GAS /tmp/cc8TEl12.s page 14
|
||
|
||
|
||
431:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** assert_param(IS_UART_WAKEUP_FROMSTOP_INSTANCE(huart->Instance));
|
||
432:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /* check the wake-up selection parameter */
|
||
433:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** assert_param(IS_UART_WAKEUP_SELECTION(WakeUpSelection.WakeUpEvent));
|
||
434:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
435:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /* Process Locked */
|
||
436:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** __HAL_LOCK(huart);
|
||
308 .loc 1 436 0
|
||
309 000a 90F88030 ldrb r3, [r0, #128] @ zero_extendqisi2
|
||
310 000e 012B cmp r3, #1
|
||
311 0010 3CD0 beq .L32
|
||
437:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
438:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** huart->gState = HAL_UART_STATE_BUSY;
|
||
439:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
440:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /* Disable the Peripheral */
|
||
441:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** __HAL_UART_DISABLE(huart);
|
||
312 .loc 1 441 0 discriminator 2
|
||
313 0012 0368 ldr r3, [r0]
|
||
314 0014 0299 ldr r1, [sp, #8]
|
||
438:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
315 .loc 1 438 0 discriminator 2
|
||
316 0016 2422 movs r2, #36
|
||
317 0018 C0F88420 str r2, [r0, #132]
|
||
318 .loc 1 441 0 discriminator 2
|
||
319 001c 1A68 ldr r2, [r3]
|
||
436:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
320 .loc 1 436 0 discriminator 2
|
||
321 001e 0124 movs r4, #1
|
||
322 .loc 1 441 0 discriminator 2
|
||
323 0020 22F00102 bic r2, r2, #1
|
||
436:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
324 .loc 1 436 0 discriminator 2
|
||
325 0024 80F88040 strb r4, [r0, #128]
|
||
326 .loc 1 441 0 discriminator 2
|
||
327 0028 1A60 str r2, [r3]
|
||
442:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
443:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /* Set the wake-up selection scheme */
|
||
444:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** MODIFY_REG(huart->Instance->CR3, USART_CR3_WUS, WakeUpSelection.WakeUpEvent);
|
||
328 .loc 1 444 0 discriminator 2
|
||
329 002a 9A68 ldr r2, [r3, #8]
|
||
330 002c 22F44012 bic r2, r2, #3145728
|
||
331 0030 0A43 orrs r2, r2, r1
|
||
332 0032 9A60 str r2, [r3, #8]
|
||
445:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
446:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** if (WakeUpSelection.WakeUpEvent == UART_WAKEUP_ON_ADDRESS)
|
||
333 .loc 1 446 0 discriminator 2
|
||
334 0034 71B9 cbnz r1, .L30
|
||
335 .LBB10:
|
||
336 .LBB11:
|
||
447:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** {
|
||
448:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** UARTEx_Wakeup_AddressConfig(huart, WakeUpSelection);
|
||
449:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** }
|
||
450:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
451:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /* Enable the Peripheral */
|
||
452:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** __HAL_UART_ENABLE(huart);
|
||
453:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
454:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /* Init tickstart for timeout management */
|
||
455:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** tickstart = HAL_GetTick();
|
||
ARM GAS /tmp/cc8TEl12.s page 15
|
||
|
||
|
||
456:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
457:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /* Wait until REACK flag is set */
|
||
458:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** if (UART_WaitOnFlagUntilTimeout(huart, USART_ISR_REACK, RESET, tickstart, HAL_UART_TIMEOUT_VALUE)
|
||
459:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** {
|
||
460:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** status = HAL_TIMEOUT;
|
||
461:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** }
|
||
462:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** else
|
||
463:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** {
|
||
464:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /* Initialize the UART State */
|
||
465:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** huart->gState = HAL_UART_STATE_READY;
|
||
466:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** }
|
||
467:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
468:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /* Process Unlocked */
|
||
469:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** __HAL_UNLOCK(huart);
|
||
470:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
471:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** return status;
|
||
472:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** }
|
||
473:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
474:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /**
|
||
475:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * @brief Enable UART Stop Mode.
|
||
476:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * @note The UART is able to wake up the MCU from Stop 1 mode as long as UART clock is HSI or LSE.
|
||
477:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * @param huart UART handle.
|
||
478:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * @retval HAL status
|
||
479:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** */
|
||
480:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** HAL_StatusTypeDef HAL_UARTEx_EnableStopMode(UART_HandleTypeDef *huart)
|
||
481:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** {
|
||
482:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /* Process Locked */
|
||
483:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** __HAL_LOCK(huart);
|
||
484:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
485:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /* Set UESM bit */
|
||
486:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** SET_BIT(huart->Instance->CR1, USART_CR1_UESM);
|
||
487:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
488:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /* Process Unlocked */
|
||
489:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** __HAL_UNLOCK(huart);
|
||
490:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
491:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** return HAL_OK;
|
||
492:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** }
|
||
493:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
494:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /**
|
||
495:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * @brief Disable UART Stop Mode.
|
||
496:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * @param huart UART handle.
|
||
497:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * @retval HAL status
|
||
498:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** */
|
||
499:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** HAL_StatusTypeDef HAL_UARTEx_DisableStopMode(UART_HandleTypeDef *huart)
|
||
500:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** {
|
||
501:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /* Process Locked */
|
||
502:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** __HAL_LOCK(huart);
|
||
503:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
504:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /* Clear UESM bit */
|
||
505:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** CLEAR_BIT(huart->Instance->CR1, USART_CR1_UESM);
|
||
506:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
507:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /* Process Unlocked */
|
||
508:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** __HAL_UNLOCK(huart);
|
||
509:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
510:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** return HAL_OK;
|
||
511:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** }
|
||
512:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
ARM GAS /tmp/cc8TEl12.s page 16
|
||
|
||
|
||
513:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /**
|
||
514:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * @brief Enable the FIFO mode.
|
||
515:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * @param huart UART handle.
|
||
516:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * @retval HAL status
|
||
517:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** */
|
||
518:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** HAL_StatusTypeDef HAL_UARTEx_EnableFifoMode(UART_HandleTypeDef *huart)
|
||
519:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** {
|
||
520:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** uint32_t tmpcr1;
|
||
521:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
522:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /* Check parameters */
|
||
523:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** assert_param(IS_UART_FIFO_INSTANCE(huart->Instance));
|
||
524:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
525:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /* Process Locked */
|
||
526:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** __HAL_LOCK(huart);
|
||
527:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
528:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** huart->gState = HAL_UART_STATE_BUSY;
|
||
529:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
530:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /* Save actual UART configuration */
|
||
531:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** tmpcr1 = READ_REG(huart->Instance->CR1);
|
||
532:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
533:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /* Disable UART */
|
||
534:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** __HAL_UART_DISABLE(huart);
|
||
535:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
536:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /* Enable FIFO mode */
|
||
537:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** SET_BIT(tmpcr1, USART_CR1_FIFOEN);
|
||
538:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** huart->FifoMode = UART_FIFOMODE_ENABLE;
|
||
539:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
540:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /* Restore UART configuration */
|
||
541:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** WRITE_REG(huart->Instance->CR1, tmpcr1);
|
||
542:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
543:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /* Determine the number of data to process during RX/TX ISR execution */
|
||
544:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** UARTEx_SetNbDataToProcess(huart);
|
||
545:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
546:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** huart->gState = HAL_UART_STATE_READY;
|
||
547:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
548:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /* Process Unlocked */
|
||
549:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** __HAL_UNLOCK(huart);
|
||
550:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
551:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** return HAL_OK;
|
||
552:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** }
|
||
553:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
554:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /**
|
||
555:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * @brief Disable the FIFO mode.
|
||
556:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * @param huart UART handle.
|
||
557:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * @retval HAL status
|
||
558:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** */
|
||
559:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** HAL_StatusTypeDef HAL_UARTEx_DisableFifoMode(UART_HandleTypeDef *huart)
|
||
560:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** {
|
||
561:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** uint32_t tmpcr1;
|
||
562:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
563:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /* Check parameters */
|
||
564:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** assert_param(IS_UART_FIFO_INSTANCE(huart->Instance));
|
||
565:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
566:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /* Process Locked */
|
||
567:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** __HAL_LOCK(huart);
|
||
568:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
569:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** huart->gState = HAL_UART_STATE_BUSY;
|
||
ARM GAS /tmp/cc8TEl12.s page 17
|
||
|
||
|
||
570:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
571:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /* Save actual UART configuration */
|
||
572:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** tmpcr1 = READ_REG(huart->Instance->CR1);
|
||
573:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
574:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /* Disable UART */
|
||
575:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** __HAL_UART_DISABLE(huart);
|
||
576:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
577:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /* Enable FIFO mode */
|
||
578:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** CLEAR_BIT(tmpcr1, USART_CR1_FIFOEN);
|
||
579:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** huart->FifoMode = UART_FIFOMODE_DISABLE;
|
||
580:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
581:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /* Restore UART configuration */
|
||
582:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** WRITE_REG(huart->Instance->CR1, tmpcr1);
|
||
583:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
584:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** huart->gState = HAL_UART_STATE_READY;
|
||
585:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
586:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /* Process Unlocked */
|
||
587:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** __HAL_UNLOCK(huart);
|
||
588:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
589:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** return HAL_OK;
|
||
590:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** }
|
||
591:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
592:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /**
|
||
593:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * @brief Set the TXFIFO threshold.
|
||
594:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * @param huart UART handle.
|
||
595:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * @param Threshold TX FIFO threshold value
|
||
596:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * This parameter can be one of the following values:
|
||
597:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * @arg @ref UART_TXFIFO_THRESHOLD_1_8
|
||
598:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * @arg @ref UART_TXFIFO_THRESHOLD_1_4
|
||
599:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * @arg @ref UART_TXFIFO_THRESHOLD_1_2
|
||
600:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * @arg @ref UART_TXFIFO_THRESHOLD_3_4
|
||
601:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * @arg @ref UART_TXFIFO_THRESHOLD_7_8
|
||
602:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * @arg @ref UART_TXFIFO_THRESHOLD_8_8
|
||
603:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * @retval HAL status
|
||
604:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** */
|
||
605:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** HAL_StatusTypeDef HAL_UARTEx_SetTxFifoThreshold(UART_HandleTypeDef *huart, uint32_t Threshold)
|
||
606:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** {
|
||
607:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** uint32_t tmpcr1;
|
||
608:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
609:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /* Check parameters */
|
||
610:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** assert_param(IS_UART_FIFO_INSTANCE(huart->Instance));
|
||
611:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** assert_param(IS_UART_TXFIFO_THRESHOLD(Threshold));
|
||
612:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
613:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /* Process Locked */
|
||
614:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** __HAL_LOCK(huart);
|
||
615:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
616:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** huart->gState = HAL_UART_STATE_BUSY;
|
||
617:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
618:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /* Save actual UART configuration */
|
||
619:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** tmpcr1 = READ_REG(huart->Instance->CR1);
|
||
620:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
621:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /* Disable UART */
|
||
622:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** __HAL_UART_DISABLE(huart);
|
||
623:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
624:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /* Update TX threshold configuration */
|
||
625:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** MODIFY_REG(huart->Instance->CR3, USART_CR3_TXFTCFG, Threshold);
|
||
626:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
ARM GAS /tmp/cc8TEl12.s page 18
|
||
|
||
|
||
627:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /* Determine the number of data to process during RX/TX ISR execution */
|
||
628:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** UARTEx_SetNbDataToProcess(huart);
|
||
629:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
630:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /* Restore UART configuration */
|
||
631:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** WRITE_REG(huart->Instance->CR1, tmpcr1);
|
||
632:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
633:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** huart->gState = HAL_UART_STATE_READY;
|
||
634:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
635:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /* Process Unlocked */
|
||
636:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** __HAL_UNLOCK(huart);
|
||
637:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
638:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** return HAL_OK;
|
||
639:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** }
|
||
640:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
641:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /**
|
||
642:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * @brief Set the RXFIFO threshold.
|
||
643:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * @param huart UART handle.
|
||
644:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * @param Threshold RX FIFO threshold value
|
||
645:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * This parameter can be one of the following values:
|
||
646:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * @arg @ref UART_RXFIFO_THRESHOLD_1_8
|
||
647:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * @arg @ref UART_RXFIFO_THRESHOLD_1_4
|
||
648:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * @arg @ref UART_RXFIFO_THRESHOLD_1_2
|
||
649:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * @arg @ref UART_RXFIFO_THRESHOLD_3_4
|
||
650:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * @arg @ref UART_RXFIFO_THRESHOLD_7_8
|
||
651:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * @arg @ref UART_RXFIFO_THRESHOLD_8_8
|
||
652:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * @retval HAL status
|
||
653:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** */
|
||
654:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** HAL_StatusTypeDef HAL_UARTEx_SetRxFifoThreshold(UART_HandleTypeDef *huart, uint32_t Threshold)
|
||
655:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** {
|
||
656:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** uint32_t tmpcr1;
|
||
657:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
658:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /* Check the parameters */
|
||
659:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** assert_param(IS_UART_FIFO_INSTANCE(huart->Instance));
|
||
660:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** assert_param(IS_UART_RXFIFO_THRESHOLD(Threshold));
|
||
661:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
662:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /* Process Locked */
|
||
663:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** __HAL_LOCK(huart);
|
||
664:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
665:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** huart->gState = HAL_UART_STATE_BUSY;
|
||
666:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
667:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /* Save actual UART configuration */
|
||
668:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** tmpcr1 = READ_REG(huart->Instance->CR1);
|
||
669:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
670:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /* Disable UART */
|
||
671:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** __HAL_UART_DISABLE(huart);
|
||
672:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
673:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /* Update RX threshold configuration */
|
||
674:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** MODIFY_REG(huart->Instance->CR3, USART_CR3_RXFTCFG, Threshold);
|
||
675:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
676:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /* Determine the number of data to process during RX/TX ISR execution */
|
||
677:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** UARTEx_SetNbDataToProcess(huart);
|
||
678:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
679:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /* Restore UART configuration */
|
||
680:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** WRITE_REG(huart->Instance->CR1, tmpcr1);
|
||
681:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
682:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** huart->gState = HAL_UART_STATE_READY;
|
||
683:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
ARM GAS /tmp/cc8TEl12.s page 19
|
||
|
||
|
||
684:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /* Process Unlocked */
|
||
685:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** __HAL_UNLOCK(huart);
|
||
686:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
687:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** return HAL_OK;
|
||
688:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** }
|
||
689:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
690:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /**
|
||
691:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * @brief Receive an amount of data in blocking mode till either the expected number of data
|
||
692:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * is received or an IDLE event occurs.
|
||
693:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * @note HAL_OK is returned if reception is completed (expected number of data has been received)
|
||
694:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * or if reception is stopped after IDLE event (less than the expected number of data has b
|
||
695:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * In this case, RxLen output parameter indicates number of data available in reception buf
|
||
696:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * @note When UART parity is not enabled (PCE = 0), and Word Length is configured to 9 bits (M1-M
|
||
697:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * the received data is handled as a set of uint16_t. In this case, Size must indicate the
|
||
698:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * of uint16_t available through pData.
|
||
699:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * @note When FIFO mode is enabled, the RXFNE flag is set as long as the RXFIFO
|
||
700:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * is not empty. Read operations from the RDR register are performed when
|
||
701:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * RXFNE flag is set. From hardware perspective, RXFNE flag and
|
||
702:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * RXNE are mapped on the same bit-field.
|
||
703:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * @param huart UART handle.
|
||
704:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * @param pData Pointer to data buffer (uint8_t or uint16_t data elements).
|
||
705:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * @param Size Amount of data elements (uint8_t or uint16_t) to be received.
|
||
706:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * @param RxLen Number of data elements finally received
|
||
707:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * (could be lower than Size, in case reception ends on IDLE event)
|
||
708:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * @param Timeout Timeout duration expressed in ms (covers the whole reception sequence).
|
||
709:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * @retval HAL status
|
||
710:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** */
|
||
711:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** HAL_StatusTypeDef HAL_UARTEx_ReceiveToIdle(UART_HandleTypeDef *huart, uint8_t *pData, uint16_t Size
|
||
712:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** uint32_t Timeout)
|
||
713:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** {
|
||
714:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** uint8_t *pdata8bits;
|
||
715:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** uint16_t *pdata16bits;
|
||
716:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** uint16_t uhMask;
|
||
717:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** uint32_t tickstart;
|
||
718:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
719:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /* Check that a Rx process is not already ongoing */
|
||
720:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** if (huart->RxState == HAL_UART_STATE_READY)
|
||
721:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** {
|
||
722:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** if ((pData == NULL) || (Size == 0U))
|
||
723:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** {
|
||
724:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** return HAL_ERROR;
|
||
725:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** }
|
||
726:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
727:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** __HAL_LOCK(huart);
|
||
728:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
729:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** huart->ErrorCode = HAL_UART_ERROR_NONE;
|
||
730:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** huart->RxState = HAL_UART_STATE_BUSY_RX;
|
||
731:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** huart->ReceptionType = HAL_UART_RECEPTION_TOIDLE;
|
||
732:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
733:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /* Init tickstart for timeout management */
|
||
734:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** tickstart = HAL_GetTick();
|
||
735:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
736:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** huart->RxXferSize = Size;
|
||
737:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** huart->RxXferCount = Size;
|
||
738:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
739:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /* Computation of UART mask to apply to RDR register */
|
||
740:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** UART_MASK_COMPUTATION(huart);
|
||
ARM GAS /tmp/cc8TEl12.s page 20
|
||
|
||
|
||
741:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** uhMask = huart->Mask;
|
||
742:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
743:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /* In case of 9bits/No Parity transfer, pRxData needs to be handled as a uint16_t pointer */
|
||
744:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** if ((huart->Init.WordLength == UART_WORDLENGTH_9B) && (huart->Init.Parity == UART_PARITY_NONE))
|
||
745:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** {
|
||
746:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** pdata8bits = NULL;
|
||
747:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** pdata16bits = (uint16_t *) pData;
|
||
748:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** }
|
||
749:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** else
|
||
750:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** {
|
||
751:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** pdata8bits = pData;
|
||
752:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** pdata16bits = NULL;
|
||
753:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** }
|
||
754:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
755:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** __HAL_UNLOCK(huart);
|
||
756:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
757:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /* Initialize output number of received elements */
|
||
758:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** *RxLen = 0U;
|
||
759:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
760:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /* as long as data have to be received */
|
||
761:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** while (huart->RxXferCount > 0U)
|
||
762:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** {
|
||
763:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /* Check if IDLE flag is set */
|
||
764:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** if (__HAL_UART_GET_FLAG(huart, UART_FLAG_IDLE))
|
||
765:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** {
|
||
766:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /* Clear IDLE flag in ISR */
|
||
767:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** __HAL_UART_CLEAR_FLAG(huart, UART_CLEAR_IDLEF);
|
||
768:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
769:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /* If Set, but no data ever received, clear flag without exiting loop */
|
||
770:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /* If Set, and data has already been received, this means Idle Event is valid : End recepti
|
||
771:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** if (*RxLen > 0U)
|
||
772:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** {
|
||
773:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** huart->RxState = HAL_UART_STATE_READY;
|
||
774:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
775:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** return HAL_OK;
|
||
776:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** }
|
||
777:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** }
|
||
778:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
779:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /* Check if RXNE flag is set */
|
||
780:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** if (__HAL_UART_GET_FLAG(huart, UART_FLAG_RXNE))
|
||
781:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** {
|
||
782:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** if (pdata8bits == NULL)
|
||
783:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** {
|
||
784:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** *pdata16bits = (uint16_t)(huart->Instance->RDR & uhMask);
|
||
785:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** pdata16bits++;
|
||
786:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** }
|
||
787:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** else
|
||
788:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** {
|
||
789:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** *pdata8bits = (uint8_t)(huart->Instance->RDR & (uint8_t)uhMask);
|
||
790:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** pdata8bits++;
|
||
791:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** }
|
||
792:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /* Increment number of received elements */
|
||
793:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** *RxLen += 1U;
|
||
794:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** huart->RxXferCount--;
|
||
795:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** }
|
||
796:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
797:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /* Check for the Timeout */
|
||
ARM GAS /tmp/cc8TEl12.s page 21
|
||
|
||
|
||
798:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** if (Timeout != HAL_MAX_DELAY)
|
||
799:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** {
|
||
800:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** if (((HAL_GetTick() - tickstart) > Timeout) || (Timeout == 0U))
|
||
801:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** {
|
||
802:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** huart->RxState = HAL_UART_STATE_READY;
|
||
803:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
804:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** return HAL_TIMEOUT;
|
||
805:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** }
|
||
806:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** }
|
||
807:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** }
|
||
808:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
809:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /* Set number of received elements in output parameter : RxLen */
|
||
810:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** *RxLen = huart->RxXferSize - huart->RxXferCount;
|
||
811:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /* At end of Rx process, restore huart->RxState to Ready */
|
||
812:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** huart->RxState = HAL_UART_STATE_READY;
|
||
813:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
814:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** return HAL_OK;
|
||
815:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** }
|
||
816:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** else
|
||
817:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** {
|
||
818:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** return HAL_BUSY;
|
||
819:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** }
|
||
820:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** }
|
||
821:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
822:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /**
|
||
823:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * @brief Receive an amount of data in interrupt mode till either the expected number of data
|
||
824:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * is received or an IDLE event occurs.
|
||
825:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * @note Reception is initiated by this function call. Further progress of reception is achieved
|
||
826:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * to UART interrupts raised by RXNE and IDLE events. Callback is called at end of receptio
|
||
827:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * number of received data elements.
|
||
828:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * @note When UART parity is not enabled (PCE = 0), and Word Length is configured to 9 bits (M1-M
|
||
829:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * the received data is handled as a set of uint16_t. In this case, Size must indicate the
|
||
830:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * of uint16_t available through pData.
|
||
831:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * @param huart UART handle.
|
||
832:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * @param pData Pointer to data buffer (uint8_t or uint16_t data elements).
|
||
833:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * @param Size Amount of data elements (uint8_t or uint16_t) to be received.
|
||
834:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * @retval HAL status
|
||
835:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** */
|
||
836:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** HAL_StatusTypeDef HAL_UARTEx_ReceiveToIdle_IT(UART_HandleTypeDef *huart, uint8_t *pData, uint16_t S
|
||
837:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** {
|
||
838:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** HAL_StatusTypeDef status;
|
||
839:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
840:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /* Check that a Rx process is not already ongoing */
|
||
841:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** if (huart->RxState == HAL_UART_STATE_READY)
|
||
842:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** {
|
||
843:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** if ((pData == NULL) || (Size == 0U))
|
||
844:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** {
|
||
845:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** return HAL_ERROR;
|
||
846:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** }
|
||
847:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
848:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** __HAL_LOCK(huart);
|
||
849:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
850:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /* Set Reception type to reception till IDLE Event*/
|
||
851:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** huart->ReceptionType = HAL_UART_RECEPTION_TOIDLE;
|
||
852:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
853:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** status = UART_Start_Receive_IT(huart, pData, Size);
|
||
854:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
ARM GAS /tmp/cc8TEl12.s page 22
|
||
|
||
|
||
855:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /* Check Rx process has been successfully started */
|
||
856:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** if (status == HAL_OK)
|
||
857:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** {
|
||
858:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** if (huart->ReceptionType == HAL_UART_RECEPTION_TOIDLE)
|
||
859:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** {
|
||
860:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** __HAL_UART_CLEAR_FLAG(huart, UART_CLEAR_IDLEF);
|
||
861:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** SET_BIT(huart->Instance->CR1, USART_CR1_IDLEIE);
|
||
862:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** }
|
||
863:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** else
|
||
864:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** {
|
||
865:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /* In case of errors already pending when reception is started,
|
||
866:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** Interrupts may have already been raised and lead to reception abortion.
|
||
867:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** (Overrun error for instance).
|
||
868:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** In such case Reception Type has been reset to HAL_UART_RECEPTION_STANDARD. */
|
||
869:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** status = HAL_ERROR;
|
||
870:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** }
|
||
871:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** }
|
||
872:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
873:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** return status;
|
||
874:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** }
|
||
875:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** else
|
||
876:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** {
|
||
877:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** return HAL_BUSY;
|
||
878:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** }
|
||
879:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** }
|
||
880:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
881:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /**
|
||
882:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * @brief Receive an amount of data in DMA mode till either the expected number
|
||
883:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * of data is received or an IDLE event occurs.
|
||
884:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * @note Reception is initiated by this function call. Further progress of reception is achieved
|
||
885:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * to DMA services, transferring automatically received data elements in user reception buf
|
||
886:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * calling registered callbacks at half/end of reception. UART IDLE events are also used to
|
||
887:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * reception phase as ended. In all cases, callback execution will indicate number of recei
|
||
888:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * @note When the UART parity is enabled (PCE = 1), the received data contain
|
||
889:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * the parity bit (MSB position).
|
||
890:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * @note When UART parity is not enabled (PCE = 0), and Word Length is configured to 9 bits (M1-M
|
||
891:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * the received data is handled as a set of uint16_t. In this case, Size must indicate the
|
||
892:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * of uint16_t available through pData.
|
||
893:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * @param huart UART handle.
|
||
894:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * @param pData Pointer to data buffer (uint8_t or uint16_t data elements).
|
||
895:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * @param Size Amount of data elements (uint8_t or uint16_t) to be received.
|
||
896:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * @retval HAL status
|
||
897:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** */
|
||
898:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** HAL_StatusTypeDef HAL_UARTEx_ReceiveToIdle_DMA(UART_HandleTypeDef *huart, uint8_t *pData, uint16_t
|
||
899:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** {
|
||
900:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** HAL_StatusTypeDef status;
|
||
901:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
902:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /* Check that a Rx process is not already ongoing */
|
||
903:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** if (huart->RxState == HAL_UART_STATE_READY)
|
||
904:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** {
|
||
905:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** if ((pData == NULL) || (Size == 0U))
|
||
906:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** {
|
||
907:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** return HAL_ERROR;
|
||
908:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** }
|
||
909:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
910:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** __HAL_LOCK(huart);
|
||
911:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
ARM GAS /tmp/cc8TEl12.s page 23
|
||
|
||
|
||
912:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /* Set Reception type to reception till IDLE Event*/
|
||
913:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** huart->ReceptionType = HAL_UART_RECEPTION_TOIDLE;
|
||
914:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
915:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** status = UART_Start_Receive_DMA(huart, pData, Size);
|
||
916:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
917:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /* Check Rx process has been successfully started */
|
||
918:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** if (status == HAL_OK)
|
||
919:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** {
|
||
920:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** if (huart->ReceptionType == HAL_UART_RECEPTION_TOIDLE)
|
||
921:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** {
|
||
922:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** __HAL_UART_CLEAR_FLAG(huart, UART_CLEAR_IDLEF);
|
||
923:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** SET_BIT(huart->Instance->CR1, USART_CR1_IDLEIE);
|
||
924:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** }
|
||
925:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** else
|
||
926:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** {
|
||
927:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /* In case of errors already pending when reception is started,
|
||
928:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** Interrupts may have already been raised and lead to reception abortion.
|
||
929:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** (Overrun error for instance).
|
||
930:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** In such case Reception Type has been reset to HAL_UART_RECEPTION_STANDARD. */
|
||
931:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** status = HAL_ERROR;
|
||
932:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** }
|
||
933:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** }
|
||
934:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
935:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** return status;
|
||
936:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** }
|
||
937:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** else
|
||
938:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** {
|
||
939:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** return HAL_BUSY;
|
||
940:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** }
|
||
941:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** }
|
||
942:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
943:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /**
|
||
944:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * @}
|
||
945:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** */
|
||
946:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
947:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /**
|
||
948:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * @}
|
||
949:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** */
|
||
950:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
951:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /** @addtogroup UARTEx_Private_Functions
|
||
952:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * @{
|
||
953:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** */
|
||
954:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
955:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /**
|
||
956:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * @brief Initialize the UART wake-up from stop mode parameters when triggered by address detectio
|
||
957:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * @param huart UART handle.
|
||
958:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * @param WakeUpSelection UART wake up from stop mode parameters.
|
||
959:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * @retval None
|
||
960:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** */
|
||
961:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** static void UARTEx_Wakeup_AddressConfig(UART_HandleTypeDef *huart, UART_WakeUpTypeDef WakeUpSelecti
|
||
962:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** {
|
||
963:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** assert_param(IS_UART_ADDRESSLENGTH_DETECT(WakeUpSelection.AddressLength));
|
||
964:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
965:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /* Set the USART address length */
|
||
966:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** MODIFY_REG(huart->Instance->CR2, USART_CR2_ADDM7, WakeUpSelection.AddressLength);
|
||
337 .loc 1 966 0
|
||
338 0036 5968 ldr r1, [r3, #4]
|
||
ARM GAS /tmp/cc8TEl12.s page 24
|
||
|
||
|
||
339 0038 BDF80C20 ldrh r2, [sp, #12]
|
||
340 .LBE11:
|
||
341 .LBE10:
|
||
448:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** }
|
||
342 .loc 1 448 0
|
||
343 003c 9DF80E40 ldrb r4, [sp, #14] @ zero_extendqisi2
|
||
344 .LVL23:
|
||
345 .LBB13:
|
||
346 .LBB12:
|
||
347 .loc 1 966 0
|
||
348 0040 21F01001 bic r1, r1, #16
|
||
349 0044 1143 orrs r1, r1, r2
|
||
350 0046 5960 str r1, [r3, #4]
|
||
967:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
968:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /* Set the USART address node */
|
||
969:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** MODIFY_REG(huart->Instance->CR2, USART_CR2_ADD, ((uint32_t)WakeUpSelection.Address << UART_CR2_AD
|
||
351 .loc 1 969 0
|
||
352 0048 5A68 ldr r2, [r3, #4]
|
||
353 004a 22F07F42 bic r2, r2, #-16777216
|
||
354 004e 42EA0462 orr r2, r2, r4, lsl #24
|
||
355 0052 5A60 str r2, [r3, #4]
|
||
356 .LVL24:
|
||
357 .L30:
|
||
358 .LBE12:
|
||
359 .LBE13:
|
||
452:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
360 .loc 1 452 0
|
||
361 0054 1A68 ldr r2, [r3]
|
||
362 0056 42F00102 orr r2, r2, #1
|
||
363 005a 1A60 str r2, [r3]
|
||
364 005c 0446 mov r4, r0
|
||
455:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
365 .loc 1 455 0
|
||
366 005e FFF7FEFF bl HAL_GetTick
|
||
367 .LVL25:
|
||
458:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** {
|
||
368 .loc 1 458 0
|
||
369 0062 6FF07E42 mvn r2, #-33554432
|
||
370 0066 0346 mov r3, r0
|
||
371 0068 0092 str r2, [sp]
|
||
372 006a 4FF48001 mov r1, #4194304
|
||
373 006e 0022 movs r2, #0
|
||
374 0070 2046 mov r0, r4
|
||
375 .LVL26:
|
||
376 0072 FFF7FEFF bl UART_WaitOnFlagUntilTimeout
|
||
377 .LVL27:
|
||
378 0076 28B1 cbz r0, .L35
|
||
460:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** }
|
||
379 .loc 1 460 0
|
||
380 0078 0320 movs r0, #3
|
||
381 .L31:
|
||
382 .LVL28:
|
||
469:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
383 .loc 1 469 0
|
||
384 007a 0023 movs r3, #0
|
||
385 007c 84F88030 strb r3, [r4, #128]
|
||
472:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
ARM GAS /tmp/cc8TEl12.s page 25
|
||
|
||
|
||
386 .loc 1 472 0
|
||
387 0080 04B0 add sp, sp, #16
|
||
388 .LCFI8:
|
||
389 .cfi_remember_state
|
||
390 .cfi_def_cfa_offset 8
|
||
391 @ sp needed
|
||
392 0082 10BD pop {r4, pc}
|
||
393 .LVL29:
|
||
394 .L35:
|
||
395 .LCFI9:
|
||
396 .cfi_restore_state
|
||
465:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** }
|
||
397 .loc 1 465 0
|
||
398 0084 2023 movs r3, #32
|
||
399 0086 C4F88430 str r3, [r4, #132]
|
||
400 008a F6E7 b .L31
|
||
401 .LVL30:
|
||
402 .L32:
|
||
436:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
403 .loc 1 436 0
|
||
404 008c 0220 movs r0, #2
|
||
405 .LVL31:
|
||
472:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
406 .loc 1 472 0
|
||
407 008e 04B0 add sp, sp, #16
|
||
408 .LCFI10:
|
||
409 .cfi_def_cfa_offset 8
|
||
410 @ sp needed
|
||
411 0090 10BD pop {r4, pc}
|
||
412 .cfi_endproc
|
||
413 .LFE334:
|
||
415 0092 00BF .section .text.HAL_UARTEx_EnableStopMode,"ax",%progbits
|
||
416 .align 1
|
||
417 .p2align 2,,3
|
||
418 .global HAL_UARTEx_EnableStopMode
|
||
419 .syntax unified
|
||
420 .thumb
|
||
421 .thumb_func
|
||
422 .fpu fpv4-sp-d16
|
||
424 HAL_UARTEx_EnableStopMode:
|
||
425 .LFB335:
|
||
481:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /* Process Locked */
|
||
426 .loc 1 481 0
|
||
427 .cfi_startproc
|
||
428 @ args = 0, pretend = 0, frame = 0
|
||
429 @ frame_needed = 0, uses_anonymous_args = 0
|
||
430 @ link register save eliminated.
|
||
431 .LVL32:
|
||
483:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
432 .loc 1 483 0
|
||
433 0000 90F88020 ldrb r2, [r0, #128] @ zero_extendqisi2
|
||
434 0004 012A cmp r2, #1
|
||
481:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /* Process Locked */
|
||
435 .loc 1 481 0
|
||
436 0006 0346 mov r3, r0
|
||
483:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
437 .loc 1 483 0
|
||
ARM GAS /tmp/cc8TEl12.s page 26
|
||
|
||
|
||
438 0008 09D0 beq .L38
|
||
486:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
439 .loc 1 486 0 discriminator 2
|
||
440 000a 0068 ldr r0, [r0]
|
||
441 .LVL33:
|
||
442 000c 0268 ldr r2, [r0]
|
||
489:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
443 .loc 1 489 0 discriminator 2
|
||
444 000e 0021 movs r1, #0
|
||
486:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
445 .loc 1 486 0 discriminator 2
|
||
446 0010 42F00202 orr r2, r2, #2
|
||
447 0014 0260 str r2, [r0]
|
||
491:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** }
|
||
448 .loc 1 491 0 discriminator 2
|
||
449 0016 0846 mov r0, r1
|
||
489:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
450 .loc 1 489 0 discriminator 2
|
||
451 0018 83F88010 strb r1, [r3, #128]
|
||
491:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** }
|
||
452 .loc 1 491 0 discriminator 2
|
||
453 001c 7047 bx lr
|
||
454 .LVL34:
|
||
455 .L38:
|
||
483:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
456 .loc 1 483 0
|
||
457 001e 0220 movs r0, #2
|
||
458 .LVL35:
|
||
492:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
459 .loc 1 492 0
|
||
460 0020 7047 bx lr
|
||
461 .cfi_endproc
|
||
462 .LFE335:
|
||
464 0022 00BF .section .text.HAL_UARTEx_DisableStopMode,"ax",%progbits
|
||
465 .align 1
|
||
466 .p2align 2,,3
|
||
467 .global HAL_UARTEx_DisableStopMode
|
||
468 .syntax unified
|
||
469 .thumb
|
||
470 .thumb_func
|
||
471 .fpu fpv4-sp-d16
|
||
473 HAL_UARTEx_DisableStopMode:
|
||
474 .LFB336:
|
||
500:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /* Process Locked */
|
||
475 .loc 1 500 0
|
||
476 .cfi_startproc
|
||
477 @ args = 0, pretend = 0, frame = 0
|
||
478 @ frame_needed = 0, uses_anonymous_args = 0
|
||
479 @ link register save eliminated.
|
||
480 .LVL36:
|
||
502:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
481 .loc 1 502 0
|
||
482 0000 90F88020 ldrb r2, [r0, #128] @ zero_extendqisi2
|
||
483 0004 012A cmp r2, #1
|
||
500:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /* Process Locked */
|
||
484 .loc 1 500 0
|
||
485 0006 0346 mov r3, r0
|
||
ARM GAS /tmp/cc8TEl12.s page 27
|
||
|
||
|
||
502:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
486 .loc 1 502 0
|
||
487 0008 09D0 beq .L41
|
||
505:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
488 .loc 1 505 0 discriminator 2
|
||
489 000a 0068 ldr r0, [r0]
|
||
490 .LVL37:
|
||
491 000c 0268 ldr r2, [r0]
|
||
508:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
492 .loc 1 508 0 discriminator 2
|
||
493 000e 0021 movs r1, #0
|
||
505:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
494 .loc 1 505 0 discriminator 2
|
||
495 0010 22F00202 bic r2, r2, #2
|
||
496 0014 0260 str r2, [r0]
|
||
510:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** }
|
||
497 .loc 1 510 0 discriminator 2
|
||
498 0016 0846 mov r0, r1
|
||
508:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
499 .loc 1 508 0 discriminator 2
|
||
500 0018 83F88010 strb r1, [r3, #128]
|
||
510:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** }
|
||
501 .loc 1 510 0 discriminator 2
|
||
502 001c 7047 bx lr
|
||
503 .LVL38:
|
||
504 .L41:
|
||
502:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
505 .loc 1 502 0
|
||
506 001e 0220 movs r0, #2
|
||
507 .LVL39:
|
||
511:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
508 .loc 1 511 0
|
||
509 0020 7047 bx lr
|
||
510 .cfi_endproc
|
||
511 .LFE336:
|
||
513 0022 00BF .section .text.HAL_UARTEx_EnableFifoMode,"ax",%progbits
|
||
514 .align 1
|
||
515 .p2align 2,,3
|
||
516 .global HAL_UARTEx_EnableFifoMode
|
||
517 .syntax unified
|
||
518 .thumb
|
||
519 .thumb_func
|
||
520 .fpu fpv4-sp-d16
|
||
522 HAL_UARTEx_EnableFifoMode:
|
||
523 .LFB337:
|
||
519:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** uint32_t tmpcr1;
|
||
524 .loc 1 519 0
|
||
525 .cfi_startproc
|
||
526 @ args = 0, pretend = 0, frame = 0
|
||
527 @ frame_needed = 0, uses_anonymous_args = 0
|
||
528 @ link register save eliminated.
|
||
529 .LVL40:
|
||
526:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
530 .loc 1 526 0
|
||
531 0000 90F88030 ldrb r3, [r0, #128] @ zero_extendqisi2
|
||
532 0004 012B cmp r3, #1
|
||
533 0006 2DD0 beq .L44
|
||
ARM GAS /tmp/cc8TEl12.s page 28
|
||
|
||
|
||
531:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
534 .loc 1 531 0 discriminator 2
|
||
535 0008 0368 ldr r3, [r0]
|
||
528:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
536 .loc 1 528 0 discriminator 2
|
||
537 000a 2422 movs r2, #36
|
||
519:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** uint32_t tmpcr1;
|
||
538 .loc 1 519 0 discriminator 2
|
||
539 000c 70B4 push {r4, r5, r6}
|
||
540 .LCFI11:
|
||
541 .cfi_def_cfa_offset 12
|
||
542 .cfi_offset 4, -12
|
||
543 .cfi_offset 5, -8
|
||
544 .cfi_offset 6, -4
|
||
528:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
545 .loc 1 528 0 discriminator 2
|
||
546 000e C0F88420 str r2, [r0, #132]
|
||
531:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
547 .loc 1 531 0 discriminator 2
|
||
548 0012 1A68 ldr r2, [r3]
|
||
549 .LVL41:
|
||
534:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
550 .loc 1 534 0 discriminator 2
|
||
551 0014 1968 ldr r1, [r3]
|
||
552 .LBB18:
|
||
553 .LBB19:
|
||
554 .LBB20:
|
||
555 .LBB21:
|
||
970:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** }
|
||
971:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
972:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /**
|
||
973:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * @brief Calculate the number of data to process in RX/TX ISR.
|
||
974:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * @note The RX FIFO depth and the TX FIFO depth is extracted from
|
||
975:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * the UART configuration registers.
|
||
976:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * @param huart UART handle.
|
||
977:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** * @retval None
|
||
978:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** */
|
||
979:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** static void UARTEx_SetNbDataToProcess(UART_HandleTypeDef *huart)
|
||
980:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** {
|
||
981:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** uint8_t rx_fifo_depth;
|
||
982:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** uint8_t tx_fifo_depth;
|
||
983:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** uint8_t rx_fifo_threshold;
|
||
984:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** uint8_t tx_fifo_threshold;
|
||
985:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** static const uint8_t numerator[] = {1U, 1U, 1U, 3U, 7U, 1U, 0U, 0U};
|
||
986:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** static const uint8_t denominator[] = {8U, 4U, 2U, 4U, 8U, 1U, 1U, 1U};
|
||
987:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
988:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** if (huart->FifoMode == UART_FIFOMODE_DISABLE)
|
||
989:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** {
|
||
990:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** huart->NbTxDataToProcess = 1U;
|
||
991:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** huart->NbRxDataToProcess = 1U;
|
||
992:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** }
|
||
993:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** else
|
||
994:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** {
|
||
995:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** rx_fifo_depth = RX_FIFO_DEPTH;
|
||
996:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** tx_fifo_depth = TX_FIFO_DEPTH;
|
||
997:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** rx_fifo_threshold = (uint8_t)(READ_BIT(huart->Instance->CR3, USART_CR3_RXFTCFG) >> USART_CR3_RX
|
||
998:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** tx_fifo_threshold = (uint8_t)(READ_BIT(huart->Instance->CR3, USART_CR3_TXFTCFG) >> USART_CR3_TX
|
||
ARM GAS /tmp/cc8TEl12.s page 29
|
||
|
||
|
||
999:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** huart->NbTxDataToProcess = ((uint16_t)tx_fifo_depth * numerator[tx_fifo_threshold]) /
|
||
556 .loc 1 999 0 discriminator 2
|
||
557 0016 144E ldr r6, .L49
|
||
1000:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** (uint16_t)denominator[tx_fifo_threshold];
|
||
558 .loc 1 1000 0 discriminator 2
|
||
559 0018 144D ldr r5, .L49+4
|
||
560 .LBE21:
|
||
561 .LBE20:
|
||
562 .LBE19:
|
||
563 .LBE18:
|
||
537:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** huart->FifoMode = UART_FIFOMODE_ENABLE;
|
||
564 .loc 1 537 0 discriminator 2
|
||
565 001a 42F00052 orr r2, r2, #536870912
|
||
566 .LVL42:
|
||
534:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
567 .loc 1 534 0 discriminator 2
|
||
568 001e 21F00101 bic r1, r1, #1
|
||
538:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
569 .loc 1 538 0 discriminator 2
|
||
570 0022 4FF00054 mov r4, #536870912
|
||
534:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
571 .loc 1 534 0 discriminator 2
|
||
572 0026 1960 str r1, [r3]
|
||
538:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
573 .loc 1 538 0 discriminator 2
|
||
574 0028 4466 str r4, [r0, #100]
|
||
541:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
575 .loc 1 541 0 discriminator 2
|
||
576 002a 1A60 str r2, [r3]
|
||
577 .LVL43:
|
||
578 .LBB28:
|
||
579 .LBB26:
|
||
580 .LBB24:
|
||
581 .LBB22:
|
||
997:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** tx_fifo_threshold = (uint8_t)(READ_BIT(huart->Instance->CR3, USART_CR3_TXFTCFG) >> USART_CR3_TX
|
||
582 .loc 1 997 0 discriminator 2
|
||
583 002c 9968 ldr r1, [r3, #8]
|
||
584 .LVL44:
|
||
998:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** huart->NbTxDataToProcess = ((uint16_t)tx_fifo_depth * numerator[tx_fifo_threshold]) /
|
||
585 .loc 1 998 0 discriminator 2
|
||
586 002e 9C68 ldr r4, [r3, #8]
|
||
587 .LVL45:
|
||
1001:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** huart->NbRxDataToProcess = ((uint16_t)rx_fifo_depth * numerator[rx_fifo_threshold]) /
|
||
588 .loc 1 1001 0 discriminator 2
|
||
589 0030 C1F34261 ubfx r1, r1, #25, #3
|
||
590 .LVL46:
|
||
998:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** huart->NbTxDataToProcess = ((uint16_t)tx_fifo_depth * numerator[tx_fifo_threshold]) /
|
||
591 .loc 1 998 0 discriminator 2
|
||
592 0034 640F lsrs r4, r4, #29
|
||
593 .LVL47:
|
||
594 .loc 1 1001 0 discriminator 2
|
||
595 0036 735C ldrb r3, [r6, r1] @ zero_extendqisi2
|
||
999:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** (uint16_t)denominator[tx_fifo_threshold];
|
||
596 .loc 1 999 0 discriminator 2
|
||
597 0038 325D ldrb r2, [r6, r4] @ zero_extendqisi2
|
||
598 .LVL48:
|
||
1000:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** huart->NbRxDataToProcess = ((uint16_t)rx_fifo_depth * numerator[rx_fifo_threshold]) /
|
||
ARM GAS /tmp/cc8TEl12.s page 30
|
||
|
||
|
||
599 .loc 1 1000 0 discriminator 2
|
||
600 003a 2E5D ldrb r6, [r5, r4] @ zero_extendqisi2
|
||
1002:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** (uint16_t)denominator[rx_fifo_threshold];
|
||
601 .loc 1 1002 0 discriminator 2
|
||
602 003c 6D5C ldrb r5, [r5, r1] @ zero_extendqisi2
|
||
603 .LBE22:
|
||
604 .LBE24:
|
||
605 .LBE26:
|
||
606 .LBE28:
|
||
546:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
607 .loc 1 546 0 discriminator 2
|
||
608 003e 2024 movs r4, #32
|
||
549:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
609 .loc 1 549 0 discriminator 2
|
||
610 0040 0021 movs r1, #0
|
||
546:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
611 .loc 1 546 0 discriminator 2
|
||
612 0042 C0F88440 str r4, [r0, #132]
|
||
613 .LVL49:
|
||
614 .LBB29:
|
||
615 .LBB27:
|
||
616 .LBB25:
|
||
617 .LBB23:
|
||
999:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** (uint16_t)denominator[tx_fifo_threshold];
|
||
618 .loc 1 999 0 discriminator 2
|
||
619 0046 D200 lsls r2, r2, #3
|
||
1001:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** (uint16_t)denominator[rx_fifo_threshold];
|
||
620 .loc 1 1001 0 discriminator 2
|
||
621 0048 DB00 lsls r3, r3, #3
|
||
999:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** (uint16_t)denominator[tx_fifo_threshold];
|
||
622 .loc 1 999 0 discriminator 2
|
||
623 004a 92FBF6F2 sdiv r2, r2, r6
|
||
1001:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** (uint16_t)denominator[rx_fifo_threshold];
|
||
624 .loc 1 1001 0 discriminator 2
|
||
625 004e 93FBF5F3 sdiv r3, r3, r5
|
||
999:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** (uint16_t)denominator[tx_fifo_threshold];
|
||
626 .loc 1 999 0 discriminator 2
|
||
627 0052 A0F86A20 strh r2, [r0, #106] @ movhi
|
||
1001:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** (uint16_t)denominator[rx_fifo_threshold];
|
||
628 .loc 1 1001 0 discriminator 2
|
||
629 0056 A0F86830 strh r3, [r0, #104] @ movhi
|
||
630 .LVL50:
|
||
631 .LBE23:
|
||
632 .LBE25:
|
||
633 .LBE27:
|
||
634 .LBE29:
|
||
549:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
635 .loc 1 549 0 discriminator 2
|
||
636 005a 80F88010 strb r1, [r0, #128]
|
||
552:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
637 .loc 1 552 0 discriminator 2
|
||
638 005e 70BC pop {r4, r5, r6}
|
||
639 .LCFI12:
|
||
640 .cfi_restore 6
|
||
641 .cfi_restore 5
|
||
642 .cfi_restore 4
|
||
643 .cfi_def_cfa_offset 0
|
||
ARM GAS /tmp/cc8TEl12.s page 31
|
||
|
||
|
||
551:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** }
|
||
644 .loc 1 551 0 discriminator 2
|
||
645 0060 0846 mov r0, r1
|
||
646 .LVL51:
|
||
552:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
647 .loc 1 552 0 discriminator 2
|
||
648 0062 7047 bx lr
|
||
649 .LVL52:
|
||
650 .L44:
|
||
526:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
651 .loc 1 526 0
|
||
652 0064 0220 movs r0, #2
|
||
653 .LVL53:
|
||
552:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
654 .loc 1 552 0
|
||
655 0066 7047 bx lr
|
||
656 .L50:
|
||
657 .align 2
|
||
658 .L49:
|
||
659 0068 00000000 .word .LANCHOR0
|
||
660 006c 00000000 .word .LANCHOR1
|
||
661 .cfi_endproc
|
||
662 .LFE337:
|
||
664 .section .text.HAL_UARTEx_DisableFifoMode,"ax",%progbits
|
||
665 .align 1
|
||
666 .p2align 2,,3
|
||
667 .global HAL_UARTEx_DisableFifoMode
|
||
668 .syntax unified
|
||
669 .thumb
|
||
670 .thumb_func
|
||
671 .fpu fpv4-sp-d16
|
||
673 HAL_UARTEx_DisableFifoMode:
|
||
674 .LFB338:
|
||
560:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** uint32_t tmpcr1;
|
||
675 .loc 1 560 0
|
||
676 .cfi_startproc
|
||
677 @ args = 0, pretend = 0, frame = 0
|
||
678 @ frame_needed = 0, uses_anonymous_args = 0
|
||
679 @ link register save eliminated.
|
||
680 .LVL54:
|
||
567:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
681 .loc 1 567 0
|
||
682 0000 90F88020 ldrb r2, [r0, #128] @ zero_extendqisi2
|
||
683 0004 012A cmp r2, #1
|
||
684 0006 17D0 beq .L53
|
||
560:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** uint32_t tmpcr1;
|
||
685 .loc 1 560 0 discriminator 2
|
||
686 0008 30B4 push {r4, r5}
|
||
687 .LCFI13:
|
||
688 .cfi_def_cfa_offset 8
|
||
689 .cfi_offset 4, -8
|
||
690 .cfi_offset 5, -4
|
||
572:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
691 .loc 1 572 0 discriminator 2
|
||
692 000a 0268 ldr r2, [r0]
|
||
569:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
693 .loc 1 569 0 discriminator 2
|
||
ARM GAS /tmp/cc8TEl12.s page 32
|
||
|
||
|
||
694 000c 2421 movs r1, #36
|
||
695 000e C0F88410 str r1, [r0, #132]
|
||
696 0012 0346 mov r3, r0
|
||
572:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
697 .loc 1 572 0 discriminator 2
|
||
698 0014 1068 ldr r0, [r2]
|
||
699 .LVL55:
|
||
575:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
700 .loc 1 575 0 discriminator 2
|
||
701 0016 1468 ldr r4, [r2]
|
||
579:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
702 .loc 1 579 0 discriminator 2
|
||
703 0018 0021 movs r1, #0
|
||
578:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** huart->FifoMode = UART_FIFOMODE_DISABLE;
|
||
704 .loc 1 578 0 discriminator 2
|
||
705 001a 20F00050 bic r0, r0, #536870912
|
||
706 .LVL56:
|
||
575:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
707 .loc 1 575 0 discriminator 2
|
||
708 001e 24F00104 bic r4, r4, #1
|
||
584:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
709 .loc 1 584 0 discriminator 2
|
||
710 0022 2025 movs r5, #32
|
||
575:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
711 .loc 1 575 0 discriminator 2
|
||
712 0024 1460 str r4, [r2]
|
||
579:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
713 .loc 1 579 0 discriminator 2
|
||
714 0026 5966 str r1, [r3, #100]
|
||
582:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
715 .loc 1 582 0 discriminator 2
|
||
716 0028 1060 str r0, [r2]
|
||
589:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** }
|
||
717 .loc 1 589 0 discriminator 2
|
||
718 002a 0846 mov r0, r1
|
||
719 .LVL57:
|
||
584:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
720 .loc 1 584 0 discriminator 2
|
||
721 002c C3F88450 str r5, [r3, #132]
|
||
722 .LVL58:
|
||
587:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
723 .loc 1 587 0 discriminator 2
|
||
724 0030 83F88010 strb r1, [r3, #128]
|
||
590:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
725 .loc 1 590 0 discriminator 2
|
||
726 0034 30BC pop {r4, r5}
|
||
727 .LCFI14:
|
||
728 .cfi_restore 5
|
||
729 .cfi_restore 4
|
||
730 .cfi_def_cfa_offset 0
|
||
731 0036 7047 bx lr
|
||
732 .LVL59:
|
||
733 .L53:
|
||
567:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
734 .loc 1 567 0
|
||
735 0038 0220 movs r0, #2
|
||
736 .LVL60:
|
||
ARM GAS /tmp/cc8TEl12.s page 33
|
||
|
||
|
||
590:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
737 .loc 1 590 0
|
||
738 003a 7047 bx lr
|
||
739 .cfi_endproc
|
||
740 .LFE338:
|
||
742 .section .text.HAL_UARTEx_SetTxFifoThreshold,"ax",%progbits
|
||
743 .align 1
|
||
744 .p2align 2,,3
|
||
745 .global HAL_UARTEx_SetTxFifoThreshold
|
||
746 .syntax unified
|
||
747 .thumb
|
||
748 .thumb_func
|
||
749 .fpu fpv4-sp-d16
|
||
751 HAL_UARTEx_SetTxFifoThreshold:
|
||
752 .LFB339:
|
||
606:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** uint32_t tmpcr1;
|
||
753 .loc 1 606 0
|
||
754 .cfi_startproc
|
||
755 @ args = 0, pretend = 0, frame = 0
|
||
756 @ frame_needed = 0, uses_anonymous_args = 0
|
||
757 @ link register save eliminated.
|
||
758 .LVL61:
|
||
614:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
759 .loc 1 614 0
|
||
760 0000 90F88020 ldrb r2, [r0, #128] @ zero_extendqisi2
|
||
761 0004 012A cmp r2, #1
|
||
762 0006 33D0 beq .L61
|
||
763 0008 0346 mov r3, r0
|
||
616:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
764 .loc 1 616 0 discriminator 2
|
||
765 000a 2420 movs r0, #36
|
||
766 .LVL62:
|
||
619:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
767 .loc 1 619 0 discriminator 2
|
||
768 000c 1A68 ldr r2, [r3]
|
||
606:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** uint32_t tmpcr1;
|
||
769 .loc 1 606 0 discriminator 2
|
||
770 000e F0B4 push {r4, r5, r6, r7}
|
||
771 .LCFI15:
|
||
772 .cfi_def_cfa_offset 16
|
||
773 .cfi_offset 4, -16
|
||
774 .cfi_offset 5, -12
|
||
775 .cfi_offset 6, -8
|
||
776 .cfi_offset 7, -4
|
||
616:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
777 .loc 1 616 0 discriminator 2
|
||
778 0010 C3F88400 str r0, [r3, #132]
|
||
619:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
779 .loc 1 619 0 discriminator 2
|
||
780 0014 1468 ldr r4, [r2]
|
||
781 .LVL63:
|
||
622:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
782 .loc 1 622 0 discriminator 2
|
||
783 0016 1068 ldr r0, [r2]
|
||
784 .LBB34:
|
||
785 .LBB35:
|
||
988:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** {
|
||
ARM GAS /tmp/cc8TEl12.s page 34
|
||
|
||
|
||
786 .loc 1 988 0 discriminator 2
|
||
787 0018 5D6E ldr r5, [r3, #100]
|
||
788 .LBE35:
|
||
789 .LBE34:
|
||
622:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
790 .loc 1 622 0 discriminator 2
|
||
791 001a 20F00100 bic r0, r0, #1
|
||
792 001e 1060 str r0, [r2]
|
||
625:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
793 .loc 1 625 0 discriminator 2
|
||
794 0020 9068 ldr r0, [r2, #8]
|
||
795 0022 20F06040 bic r0, r0, #-536870912
|
||
796 0026 0143 orrs r1, r1, r0
|
||
797 .LVL64:
|
||
798 0028 9160 str r1, [r2, #8]
|
||
799 .LVL65:
|
||
800 .LBB40:
|
||
801 .LBB38:
|
||
988:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** {
|
||
802 .loc 1 988 0 discriminator 2
|
||
803 002a 7DB9 cbnz r5, .L67
|
||
991:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** }
|
||
804 .loc 1 991 0
|
||
805 002c 0121 movs r1, #1
|
||
990:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** huart->NbRxDataToProcess = 1U;
|
||
806 .loc 1 990 0
|
||
807 002e 0846 mov r0, r1
|
||
808 .L60:
|
||
809 .LBE38:
|
||
810 .LBE40:
|
||
633:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
811 .loc 1 633 0 discriminator 2
|
||
812 0030 2025 movs r5, #32
|
||
813 0032 A3F86810 strh r1, [r3, #104] @ movhi
|
||
636:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
814 .loc 1 636 0 discriminator 2
|
||
815 0036 0021 movs r1, #0
|
||
816 0038 A3F86A00 strh r0, [r3, #106] @ movhi
|
||
817 .LVL66:
|
||
631:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
818 .loc 1 631 0 discriminator 2
|
||
819 003c 1460 str r4, [r2]
|
||
638:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** }
|
||
820 .loc 1 638 0 discriminator 2
|
||
821 003e 0846 mov r0, r1
|
||
633:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
822 .loc 1 633 0 discriminator 2
|
||
823 0040 C3F88450 str r5, [r3, #132]
|
||
636:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
824 .loc 1 636 0 discriminator 2
|
||
825 0044 83F88010 strb r1, [r3, #128]
|
||
639:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
826 .loc 1 639 0 discriminator 2
|
||
827 0048 F0BC pop {r4, r5, r6, r7}
|
||
828 .LCFI16:
|
||
829 .cfi_remember_state
|
||
830 .cfi_restore 7
|
||
ARM GAS /tmp/cc8TEl12.s page 35
|
||
|
||
|
||
831 .cfi_restore 6
|
||
832 .cfi_restore 5
|
||
833 .cfi_restore 4
|
||
834 .cfi_def_cfa_offset 0
|
||
835 .LVL67:
|
||
836 004a 7047 bx lr
|
||
837 .LVL68:
|
||
838 .L67:
|
||
839 .LCFI17:
|
||
840 .cfi_restore_state
|
||
841 .LBB41:
|
||
842 .LBB39:
|
||
843 .LBB36:
|
||
844 .LBB37:
|
||
997:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** tx_fifo_threshold = (uint8_t)(READ_BIT(huart->Instance->CR3, USART_CR3_TXFTCFG) >> USART_CR3_TX
|
||
845 .loc 1 997 0
|
||
846 004c 9668 ldr r6, [r2, #8]
|
||
847 .LVL69:
|
||
998:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** huart->NbTxDataToProcess = ((uint16_t)tx_fifo_depth * numerator[tx_fifo_threshold]) /
|
||
848 .loc 1 998 0
|
||
849 004e 9568 ldr r5, [r2, #8]
|
||
850 .LVL70:
|
||
999:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** (uint16_t)denominator[tx_fifo_threshold];
|
||
851 .loc 1 999 0
|
||
852 0050 0848 ldr r0, .L68
|
||
1000:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** huart->NbRxDataToProcess = ((uint16_t)rx_fifo_depth * numerator[rx_fifo_threshold]) /
|
||
853 .loc 1 1000 0
|
||
854 0052 094F ldr r7, .L68+4
|
||
1001:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** (uint16_t)denominator[rx_fifo_threshold];
|
||
855 .loc 1 1001 0
|
||
856 0054 C6F34266 ubfx r6, r6, #25, #3
|
||
857 .LVL71:
|
||
998:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** huart->NbTxDataToProcess = ((uint16_t)tx_fifo_depth * numerator[tx_fifo_threshold]) /
|
||
858 .loc 1 998 0
|
||
859 0058 6D0F lsrs r5, r5, #29
|
||
860 .LVL72:
|
||
1001:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** (uint16_t)denominator[rx_fifo_threshold];
|
||
861 .loc 1 1001 0
|
||
862 005a 815D ldrb r1, [r0, r6] @ zero_extendqisi2
|
||
999:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** (uint16_t)denominator[tx_fifo_threshold];
|
||
863 .loc 1 999 0
|
||
864 005c 405D ldrb r0, [r0, r5] @ zero_extendqisi2
|
||
865 .loc 1 1002 0
|
||
866 005e BE5D ldrb r6, [r7, r6] @ zero_extendqisi2
|
||
1000:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** huart->NbRxDataToProcess = ((uint16_t)rx_fifo_depth * numerator[rx_fifo_threshold]) /
|
||
867 .loc 1 1000 0
|
||
868 0060 7D5D ldrb r5, [r7, r5] @ zero_extendqisi2
|
||
1001:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** (uint16_t)denominator[rx_fifo_threshold];
|
||
869 .loc 1 1001 0
|
||
870 0062 C900 lsls r1, r1, #3
|
||
999:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** (uint16_t)denominator[tx_fifo_threshold];
|
||
871 .loc 1 999 0
|
||
872 0064 C000 lsls r0, r0, #3
|
||
1001:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** (uint16_t)denominator[rx_fifo_threshold];
|
||
873 .loc 1 1001 0
|
||
874 0066 91FBF6F1 sdiv r1, r1, r6
|
||
999:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** (uint16_t)denominator[tx_fifo_threshold];
|
||
ARM GAS /tmp/cc8TEl12.s page 36
|
||
|
||
|
||
875 .loc 1 999 0
|
||
876 006a 90FBF5F0 sdiv r0, r0, r5
|
||
877 006e DFE7 b .L60
|
||
878 .LVL73:
|
||
879 .L61:
|
||
880 .LCFI18:
|
||
881 .cfi_def_cfa_offset 0
|
||
882 .cfi_restore 4
|
||
883 .cfi_restore 5
|
||
884 .cfi_restore 6
|
||
885 .cfi_restore 7
|
||
886 .LBE37:
|
||
887 .LBE36:
|
||
888 .LBE39:
|
||
889 .LBE41:
|
||
614:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
890 .loc 1 614 0
|
||
891 0070 0220 movs r0, #2
|
||
892 .LVL74:
|
||
639:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
893 .loc 1 639 0
|
||
894 0072 7047 bx lr
|
||
895 .L69:
|
||
896 .align 2
|
||
897 .L68:
|
||
898 0074 00000000 .word .LANCHOR0
|
||
899 0078 00000000 .word .LANCHOR1
|
||
900 .cfi_endproc
|
||
901 .LFE339:
|
||
903 .section .text.HAL_UARTEx_SetRxFifoThreshold,"ax",%progbits
|
||
904 .align 1
|
||
905 .p2align 2,,3
|
||
906 .global HAL_UARTEx_SetRxFifoThreshold
|
||
907 .syntax unified
|
||
908 .thumb
|
||
909 .thumb_func
|
||
910 .fpu fpv4-sp-d16
|
||
912 HAL_UARTEx_SetRxFifoThreshold:
|
||
913 .LFB340:
|
||
655:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** uint32_t tmpcr1;
|
||
914 .loc 1 655 0
|
||
915 .cfi_startproc
|
||
916 @ args = 0, pretend = 0, frame = 0
|
||
917 @ frame_needed = 0, uses_anonymous_args = 0
|
||
918 @ link register save eliminated.
|
||
919 .LVL75:
|
||
663:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
920 .loc 1 663 0
|
||
921 0000 90F88020 ldrb r2, [r0, #128] @ zero_extendqisi2
|
||
922 0004 012A cmp r2, #1
|
||
923 0006 33D0 beq .L73
|
||
924 0008 0346 mov r3, r0
|
||
665:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
925 .loc 1 665 0 discriminator 2
|
||
926 000a 2420 movs r0, #36
|
||
927 .LVL76:
|
||
668:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
ARM GAS /tmp/cc8TEl12.s page 37
|
||
|
||
|
||
928 .loc 1 668 0 discriminator 2
|
||
929 000c 1A68 ldr r2, [r3]
|
||
655:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** uint32_t tmpcr1;
|
||
930 .loc 1 655 0 discriminator 2
|
||
931 000e F0B4 push {r4, r5, r6, r7}
|
||
932 .LCFI19:
|
||
933 .cfi_def_cfa_offset 16
|
||
934 .cfi_offset 4, -16
|
||
935 .cfi_offset 5, -12
|
||
936 .cfi_offset 6, -8
|
||
937 .cfi_offset 7, -4
|
||
665:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
938 .loc 1 665 0 discriminator 2
|
||
939 0010 C3F88400 str r0, [r3, #132]
|
||
668:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
940 .loc 1 668 0 discriminator 2
|
||
941 0014 1468 ldr r4, [r2]
|
||
942 .LVL77:
|
||
671:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
943 .loc 1 671 0 discriminator 2
|
||
944 0016 1068 ldr r0, [r2]
|
||
945 .LBB46:
|
||
946 .LBB47:
|
||
988:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** {
|
||
947 .loc 1 988 0 discriminator 2
|
||
948 0018 5D6E ldr r5, [r3, #100]
|
||
949 .LBE47:
|
||
950 .LBE46:
|
||
671:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
951 .loc 1 671 0 discriminator 2
|
||
952 001a 20F00100 bic r0, r0, #1
|
||
953 001e 1060 str r0, [r2]
|
||
674:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
954 .loc 1 674 0 discriminator 2
|
||
955 0020 9068 ldr r0, [r2, #8]
|
||
956 0022 20F06060 bic r0, r0, #234881024
|
||
957 0026 0143 orrs r1, r1, r0
|
||
958 .LVL78:
|
||
959 0028 9160 str r1, [r2, #8]
|
||
960 .LVL79:
|
||
961 .LBB52:
|
||
962 .LBB50:
|
||
988:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** {
|
||
963 .loc 1 988 0 discriminator 2
|
||
964 002a 7DB9 cbnz r5, .L79
|
||
991:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** }
|
||
965 .loc 1 991 0
|
||
966 002c 0121 movs r1, #1
|
||
990:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** huart->NbRxDataToProcess = 1U;
|
||
967 .loc 1 990 0
|
||
968 002e 0846 mov r0, r1
|
||
969 .L72:
|
||
970 .LBE50:
|
||
971 .LBE52:
|
||
682:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
972 .loc 1 682 0 discriminator 2
|
||
973 0030 2025 movs r5, #32
|
||
ARM GAS /tmp/cc8TEl12.s page 38
|
||
|
||
|
||
974 0032 A3F86810 strh r1, [r3, #104] @ movhi
|
||
685:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
975 .loc 1 685 0 discriminator 2
|
||
976 0036 0021 movs r1, #0
|
||
977 0038 A3F86A00 strh r0, [r3, #106] @ movhi
|
||
978 .LVL80:
|
||
680:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
979 .loc 1 680 0 discriminator 2
|
||
980 003c 1460 str r4, [r2]
|
||
687:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** }
|
||
981 .loc 1 687 0 discriminator 2
|
||
982 003e 0846 mov r0, r1
|
||
682:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
983 .loc 1 682 0 discriminator 2
|
||
984 0040 C3F88450 str r5, [r3, #132]
|
||
685:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
985 .loc 1 685 0 discriminator 2
|
||
986 0044 83F88010 strb r1, [r3, #128]
|
||
688:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
987 .loc 1 688 0 discriminator 2
|
||
988 0048 F0BC pop {r4, r5, r6, r7}
|
||
989 .LCFI20:
|
||
990 .cfi_remember_state
|
||
991 .cfi_restore 7
|
||
992 .cfi_restore 6
|
||
993 .cfi_restore 5
|
||
994 .cfi_restore 4
|
||
995 .cfi_def_cfa_offset 0
|
||
996 .LVL81:
|
||
997 004a 7047 bx lr
|
||
998 .LVL82:
|
||
999 .L79:
|
||
1000 .LCFI21:
|
||
1001 .cfi_restore_state
|
||
1002 .LBB53:
|
||
1003 .LBB51:
|
||
1004 .LBB48:
|
||
1005 .LBB49:
|
||
997:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** tx_fifo_threshold = (uint8_t)(READ_BIT(huart->Instance->CR3, USART_CR3_TXFTCFG) >> USART_CR3_TX
|
||
1006 .loc 1 997 0
|
||
1007 004c 9668 ldr r6, [r2, #8]
|
||
1008 .LVL83:
|
||
998:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** huart->NbTxDataToProcess = ((uint16_t)tx_fifo_depth * numerator[tx_fifo_threshold]) /
|
||
1009 .loc 1 998 0
|
||
1010 004e 9568 ldr r5, [r2, #8]
|
||
1011 .LVL84:
|
||
999:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** (uint16_t)denominator[tx_fifo_threshold];
|
||
1012 .loc 1 999 0
|
||
1013 0050 0848 ldr r0, .L80
|
||
1000:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** huart->NbRxDataToProcess = ((uint16_t)rx_fifo_depth * numerator[rx_fifo_threshold]) /
|
||
1014 .loc 1 1000 0
|
||
1015 0052 094F ldr r7, .L80+4
|
||
1001:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** (uint16_t)denominator[rx_fifo_threshold];
|
||
1016 .loc 1 1001 0
|
||
1017 0054 C6F34266 ubfx r6, r6, #25, #3
|
||
1018 .LVL85:
|
||
998:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** huart->NbTxDataToProcess = ((uint16_t)tx_fifo_depth * numerator[tx_fifo_threshold]) /
|
||
ARM GAS /tmp/cc8TEl12.s page 39
|
||
|
||
|
||
1019 .loc 1 998 0
|
||
1020 0058 6D0F lsrs r5, r5, #29
|
||
1021 .LVL86:
|
||
1001:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** (uint16_t)denominator[rx_fifo_threshold];
|
||
1022 .loc 1 1001 0
|
||
1023 005a 815D ldrb r1, [r0, r6] @ zero_extendqisi2
|
||
999:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** (uint16_t)denominator[tx_fifo_threshold];
|
||
1024 .loc 1 999 0
|
||
1025 005c 405D ldrb r0, [r0, r5] @ zero_extendqisi2
|
||
1026 .loc 1 1002 0
|
||
1027 005e BE5D ldrb r6, [r7, r6] @ zero_extendqisi2
|
||
1000:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** huart->NbRxDataToProcess = ((uint16_t)rx_fifo_depth * numerator[rx_fifo_threshold]) /
|
||
1028 .loc 1 1000 0
|
||
1029 0060 7D5D ldrb r5, [r7, r5] @ zero_extendqisi2
|
||
1001:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** (uint16_t)denominator[rx_fifo_threshold];
|
||
1030 .loc 1 1001 0
|
||
1031 0062 C900 lsls r1, r1, #3
|
||
999:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** (uint16_t)denominator[tx_fifo_threshold];
|
||
1032 .loc 1 999 0
|
||
1033 0064 C000 lsls r0, r0, #3
|
||
1001:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** (uint16_t)denominator[rx_fifo_threshold];
|
||
1034 .loc 1 1001 0
|
||
1035 0066 91FBF6F1 sdiv r1, r1, r6
|
||
999:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** (uint16_t)denominator[tx_fifo_threshold];
|
||
1036 .loc 1 999 0
|
||
1037 006a 90FBF5F0 sdiv r0, r0, r5
|
||
1038 006e DFE7 b .L72
|
||
1039 .LVL87:
|
||
1040 .L73:
|
||
1041 .LCFI22:
|
||
1042 .cfi_def_cfa_offset 0
|
||
1043 .cfi_restore 4
|
||
1044 .cfi_restore 5
|
||
1045 .cfi_restore 6
|
||
1046 .cfi_restore 7
|
||
1047 .LBE49:
|
||
1048 .LBE48:
|
||
1049 .LBE51:
|
||
1050 .LBE53:
|
||
663:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
1051 .loc 1 663 0
|
||
1052 0070 0220 movs r0, #2
|
||
1053 .LVL88:
|
||
688:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
1054 .loc 1 688 0
|
||
1055 0072 7047 bx lr
|
||
1056 .L81:
|
||
1057 .align 2
|
||
1058 .L80:
|
||
1059 0074 00000000 .word .LANCHOR0
|
||
1060 0078 00000000 .word .LANCHOR1
|
||
1061 .cfi_endproc
|
||
1062 .LFE340:
|
||
1064 .section .text.HAL_UARTEx_ReceiveToIdle,"ax",%progbits
|
||
1065 .align 1
|
||
1066 .p2align 2,,3
|
||
1067 .global HAL_UARTEx_ReceiveToIdle
|
||
ARM GAS /tmp/cc8TEl12.s page 40
|
||
|
||
|
||
1068 .syntax unified
|
||
1069 .thumb
|
||
1070 .thumb_func
|
||
1071 .fpu fpv4-sp-d16
|
||
1073 HAL_UARTEx_ReceiveToIdle:
|
||
1074 .LFB341:
|
||
713:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** uint8_t *pdata8bits;
|
||
1075 .loc 1 713 0
|
||
1076 .cfi_startproc
|
||
1077 @ args = 4, pretend = 0, frame = 8
|
||
1078 @ frame_needed = 0, uses_anonymous_args = 0
|
||
1079 .LVL89:
|
||
1080 0000 2DE9F047 push {r4, r5, r6, r7, r8, r9, r10, lr}
|
||
1081 .LCFI23:
|
||
1082 .cfi_def_cfa_offset 32
|
||
1083 .cfi_offset 4, -32
|
||
1084 .cfi_offset 5, -28
|
||
1085 .cfi_offset 6, -24
|
||
1086 .cfi_offset 7, -20
|
||
1087 .cfi_offset 8, -16
|
||
1088 .cfi_offset 9, -12
|
||
1089 .cfi_offset 10, -8
|
||
1090 .cfi_offset 14, -4
|
||
1091 0004 0E46 mov r6, r1
|
||
720:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** {
|
||
1092 .loc 1 720 0
|
||
1093 0006 D0F88810 ldr r1, [r0, #136]
|
||
1094 .LVL90:
|
||
1095 000a 2029 cmp r1, #32
|
||
713:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** uint8_t *pdata8bits;
|
||
1096 .loc 1 713 0
|
||
1097 000c 82B0 sub sp, sp, #8
|
||
1098 .LCFI24:
|
||
1099 .cfi_def_cfa_offset 40
|
||
720:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** {
|
||
1100 .loc 1 720 0
|
||
1101 000e 63D1 bne .L115
|
||
722:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** {
|
||
1102 .loc 1 722 0
|
||
1103 0010 002E cmp r6, #0
|
||
1104 0012 65D0 beq .L114
|
||
722:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** {
|
||
1105 .loc 1 722 0 is_stmt 0 discriminator 1
|
||
1106 0014 0192 str r2, [sp, #4]
|
||
1107 0016 002A cmp r2, #0
|
||
1108 0018 62D0 beq .L114
|
||
1109 001a 1D46 mov r5, r3
|
||
727:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
1110 .loc 1 727 0 is_stmt 1
|
||
1111 001c 90F88030 ldrb r3, [r0, #128] @ zero_extendqisi2
|
||
1112 .LVL91:
|
||
1113 0020 012B cmp r3, #1
|
||
1114 0022 0446 mov r4, r0
|
||
1115 0024 58D0 beq .L115
|
||
727:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
1116 .loc 1 727 0 is_stmt 0 discriminator 2
|
||
1117 0026 0123 movs r3, #1
|
||
ARM GAS /tmp/cc8TEl12.s page 41
|
||
|
||
|
||
730:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** huart->ReceptionType = HAL_UART_RECEPTION_TOIDLE;
|
||
1118 .loc 1 730 0 is_stmt 1 discriminator 2
|
||
1119 0028 2221 movs r1, #34
|
||
729:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** huart->RxState = HAL_UART_STATE_BUSY_RX;
|
||
1120 .loc 1 729 0 discriminator 2
|
||
1121 002a 0027 movs r7, #0
|
||
1122 002c C0F88C70 str r7, [r0, #140]
|
||
727:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
1123 .loc 1 727 0 discriminator 2
|
||
1124 0030 80F88030 strb r3, [r0, #128]
|
||
730:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** huart->ReceptionType = HAL_UART_RECEPTION_TOIDLE;
|
||
1125 .loc 1 730 0 discriminator 2
|
||
1126 0034 C0F88810 str r1, [r0, #136]
|
||
731:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
1127 .loc 1 731 0 discriminator 2
|
||
1128 0038 C366 str r3, [r0, #108]
|
||
734:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
1129 .loc 1 734 0 discriminator 2
|
||
1130 003a FFF7FEFF bl HAL_GetTick
|
||
1131 .LVL92:
|
||
740:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** uhMask = huart->Mask;
|
||
1132 .loc 1 740 0 discriminator 2
|
||
1133 003e A368 ldr r3, [r4, #8]
|
||
736:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** huart->RxXferCount = Size;
|
||
1134 .loc 1 736 0 discriminator 2
|
||
1135 0040 019A ldr r2, [sp, #4]
|
||
1136 0042 A4F85C20 strh r2, [r4, #92] @ movhi
|
||
740:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** uhMask = huart->Mask;
|
||
1137 .loc 1 740 0 discriminator 2
|
||
1138 0046 B3F5805F cmp r3, #4096
|
||
734:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
1139 .loc 1 734 0 discriminator 2
|
||
1140 004a 8146 mov r9, r0
|
||
1141 .LVL93:
|
||
737:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
1142 .loc 1 737 0 discriminator 2
|
||
1143 004c A4F85E20 strh r2, [r4, #94] @ movhi
|
||
740:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** uhMask = huart->Mask;
|
||
1144 .loc 1 740 0 discriminator 2
|
||
1145 0050 00F0A480 beq .L149
|
||
1146 0054 002B cmp r3, #0
|
||
1147 0056 47D0 beq .L150
|
||
740:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** uhMask = huart->Mask;
|
||
1148 .loc 1 740 0 is_stmt 0 discriminator 6
|
||
1149 0058 B3F1805F cmp r3, #268435456
|
||
1150 005c 00F0B680 beq .L151
|
||
740:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** uhMask = huart->Mask;
|
||
1151 .loc 1 740 0 discriminator 10
|
||
1152 0060 A4F86070 strh r7, [r4, #96] @ movhi
|
||
1153 .L89:
|
||
1154 .LVL94:
|
||
752:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** }
|
||
1155 .loc 1 752 0 is_stmt 1
|
||
1156 0064 4FF00008 mov r8, #0
|
||
1157 .LVL95:
|
||
1158 .L111:
|
||
755:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
ARM GAS /tmp/cc8TEl12.s page 42
|
||
|
||
|
||
1159 .loc 1 755 0
|
||
1160 0068 0023 movs r3, #0
|
||
1161 006a 84F88030 strb r3, [r4, #128]
|
||
758:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
1162 .loc 1 758 0
|
||
1163 006e 2B80 strh r3, [r5] @ movhi
|
||
1164 0070 0A9B ldr r3, [sp, #40]
|
||
1165 0072 002B cmp r3, #0
|
||
1166 0074 70D0 beq .L91
|
||
1167 0076 0133 adds r3, r3, #1
|
||
1168 0078 3DD0 beq .L145
|
||
767:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
1169 .loc 1 767 0
|
||
1170 007a 4FF0100A mov r10, #16
|
||
1171 007e 13E0 b .L92
|
||
1172 .LVL96:
|
||
1173 .L146:
|
||
789:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** pdata8bits++;
|
||
1174 .loc 1 789 0
|
||
1175 0080 5B6A ldr r3, [r3, #36]
|
||
1176 0082 3B40 ands r3, r3, r7
|
||
1177 0084 06F8013B strb r3, [r6], #1
|
||
1178 .LVL97:
|
||
1179 .L104:
|
||
793:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** huart->RxXferCount--;
|
||
1180 .loc 1 793 0
|
||
1181 0088 2B88 ldrh r3, [r5]
|
||
1182 008a 0133 adds r3, r3, #1
|
||
1183 008c 2B80 strh r3, [r5] @ movhi
|
||
794:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** }
|
||
1184 .loc 1 794 0
|
||
1185 008e B4F85E30 ldrh r3, [r4, #94]
|
||
1186 0092 013B subs r3, r3, #1
|
||
1187 0094 9BB2 uxth r3, r3
|
||
1188 0096 A4F85E30 strh r3, [r4, #94] @ movhi
|
||
1189 .L101:
|
||
800:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** {
|
||
1190 .loc 1 800 0
|
||
1191 009a FFF7FEFF bl HAL_GetTick
|
||
1192 .LVL98:
|
||
1193 009e 0A9B ldr r3, [sp, #40]
|
||
1194 00a0 A0EB0900 sub r0, r0, r9
|
||
1195 00a4 8342 cmp r3, r0
|
||
1196 00a6 74D3 bcc .L105
|
||
1197 .L92:
|
||
761:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** {
|
||
1198 .loc 1 761 0
|
||
1199 00a8 B4F85E30 ldrh r3, [r4, #94]
|
||
1200 00ac 9BB2 uxth r3, r3
|
||
1201 00ae 002B cmp r3, #0
|
||
1202 00b0 44D0 beq .L93
|
||
764:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** {
|
||
1203 .loc 1 764 0
|
||
1204 00b2 2368 ldr r3, [r4]
|
||
1205 00b4 DA69 ldr r2, [r3, #28]
|
||
1206 00b6 D206 lsls r2, r2, #27
|
||
1207 00b8 04D5 bpl .L100
|
||
ARM GAS /tmp/cc8TEl12.s page 43
|
||
|
||
|
||
771:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** {
|
||
1208 .loc 1 771 0
|
||
1209 00ba 2A88 ldrh r2, [r5]
|
||
767:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
1210 .loc 1 767 0
|
||
1211 00bc C3F820A0 str r10, [r3, #32]
|
||
771:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** {
|
||
1212 .loc 1 771 0
|
||
1213 00c0 002A cmp r2, #0
|
||
1214 00c2 78D1 bne .L95
|
||
1215 .L100:
|
||
780:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** {
|
||
1216 .loc 1 780 0
|
||
1217 00c4 DA69 ldr r2, [r3, #28]
|
||
1218 00c6 9006 lsls r0, r2, #26
|
||
1219 00c8 E7D5 bpl .L101
|
||
782:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** {
|
||
1220 .loc 1 782 0
|
||
1221 00ca 002E cmp r6, #0
|
||
1222 00cc D8D1 bne .L146
|
||
784:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** pdata16bits++;
|
||
1223 .loc 1 784 0
|
||
1224 00ce 5B6A ldr r3, [r3, #36]
|
||
1225 00d0 3B40 ands r3, r3, r7
|
||
1226 00d2 28F8023B strh r3, [r8], #2 @ movhi
|
||
1227 .LVL99:
|
||
1228 00d6 D7E7 b .L104
|
||
1229 .LVL100:
|
||
1230 .L115:
|
||
818:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** }
|
||
1231 .loc 1 818 0
|
||
1232 00d8 0220 movs r0, #2
|
||
1233 .LVL101:
|
||
1234 .L147:
|
||
820:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
1235 .loc 1 820 0
|
||
1236 00da 02B0 add sp, sp, #8
|
||
1237 .LCFI25:
|
||
1238 .cfi_remember_state
|
||
1239 .cfi_def_cfa_offset 32
|
||
1240 @ sp needed
|
||
1241 00dc BDE8F087 pop {r4, r5, r6, r7, r8, r9, r10, pc}
|
||
1242 .LVL102:
|
||
1243 .L114:
|
||
1244 .LCFI26:
|
||
1245 .cfi_restore_state
|
||
724:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** }
|
||
1246 .loc 1 724 0
|
||
1247 00e0 0120 movs r0, #1
|
||
1248 .LVL103:
|
||
820:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
1249 .loc 1 820 0
|
||
1250 00e2 02B0 add sp, sp, #8
|
||
1251 .LCFI27:
|
||
1252 .cfi_remember_state
|
||
1253 .cfi_def_cfa_offset 32
|
||
1254 @ sp needed
|
||
ARM GAS /tmp/cc8TEl12.s page 44
|
||
|
||
|
||
1255 00e4 BDE8F087 pop {r4, r5, r6, r7, r8, r9, r10, pc}
|
||
1256 .LVL104:
|
||
1257 .L150:
|
||
1258 .LCFI28:
|
||
1259 .cfi_restore_state
|
||
740:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** uhMask = huart->Mask;
|
||
1260 .loc 1 740 0 discriminator 5
|
||
1261 00e8 2369 ldr r3, [r4, #16]
|
||
1262 00ea 002B cmp r3, #0
|
||
1263 00ec 5FD1 bne .L88
|
||
740:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** uhMask = huart->Mask;
|
||
1264 .loc 1 740 0 is_stmt 0 discriminator 7
|
||
1265 00ee FF27 movs r7, #255
|
||
1266 00f0 A4F86070 strh r7, [r4, #96] @ movhi
|
||
1267 00f4 B6E7 b .L89
|
||
1268 .LVL105:
|
||
1269 .L145:
|
||
767:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
1270 .loc 1 767 0 is_stmt 1
|
||
1271 00f6 1021 movs r1, #16
|
||
1272 .LVL106:
|
||
1273 .L99:
|
||
761:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** {
|
||
1274 .loc 1 761 0
|
||
1275 00f8 B4F85E30 ldrh r3, [r4, #94]
|
||
1276 00fc 9BB2 uxth r3, r3
|
||
1277 00fe EBB1 cbz r3, .L93
|
||
1278 .L153:
|
||
764:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** {
|
||
1279 .loc 1 764 0
|
||
1280 0100 2368 ldr r3, [r4]
|
||
1281 0102 DA69 ldr r2, [r3, #28]
|
||
1282 0104 D206 lsls r2, r2, #27
|
||
1283 0106 03D5 bpl .L94
|
||
771:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** {
|
||
1284 .loc 1 771 0
|
||
1285 0108 2A88 ldrh r2, [r5]
|
||
767:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
1286 .loc 1 767 0
|
||
1287 010a 1962 str r1, [r3, #32]
|
||
771:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** {
|
||
1288 .loc 1 771 0
|
||
1289 010c 002A cmp r2, #0
|
||
1290 010e 52D1 bne .L95
|
||
1291 .L94:
|
||
780:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** {
|
||
1292 .loc 1 780 0
|
||
1293 0110 DA69 ldr r2, [r3, #28]
|
||
1294 0112 9006 lsls r0, r2, #26
|
||
1295 0114 F0D5 bpl .L99
|
||
784:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** pdata16bits++;
|
||
1296 .loc 1 784 0
|
||
1297 0116 5B6A ldr r3, [r3, #36]
|
||
1298 0118 3B40 ands r3, r3, r7
|
||
782:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** {
|
||
1299 .loc 1 782 0
|
||
1300 011a D6B1 cbz r6, .L152
|
||
ARM GAS /tmp/cc8TEl12.s page 45
|
||
|
||
|
||
789:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** pdata8bits++;
|
||
1301 .loc 1 789 0
|
||
1302 011c 06F8013B strb r3, [r6], #1
|
||
1303 .LVL107:
|
||
1304 .L98:
|
||
793:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** huart->RxXferCount--;
|
||
1305 .loc 1 793 0
|
||
1306 0120 2B88 ldrh r3, [r5]
|
||
1307 0122 0133 adds r3, r3, #1
|
||
1308 0124 2B80 strh r3, [r5] @ movhi
|
||
794:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** }
|
||
1309 .loc 1 794 0
|
||
1310 0126 B4F85E30 ldrh r3, [r4, #94]
|
||
1311 012a 013B subs r3, r3, #1
|
||
1312 012c 9BB2 uxth r3, r3
|
||
1313 012e A4F85E30 strh r3, [r4, #94] @ movhi
|
||
761:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** {
|
||
1314 .loc 1 761 0
|
||
1315 0132 B4F85E30 ldrh r3, [r4, #94]
|
||
1316 0136 9BB2 uxth r3, r3
|
||
1317 0138 002B cmp r3, #0
|
||
1318 013a E1D1 bne .L153
|
||
1319 .L93:
|
||
810:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /* At end of Rx process, restore huart->RxState to Ready */
|
||
1320 .loc 1 810 0
|
||
1321 013c B4F85E10 ldrh r1, [r4, #94]
|
||
1322 0140 B4F85C30 ldrh r3, [r4, #92]
|
||
812:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
1323 .loc 1 812 0
|
||
1324 0144 2022 movs r2, #32
|
||
810:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** /* At end of Rx process, restore huart->RxState to Ready */
|
||
1325 .loc 1 810 0
|
||
1326 0146 5B1A subs r3, r3, r1
|
||
1327 0148 2B80 strh r3, [r5] @ movhi
|
||
814:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** }
|
||
1328 .loc 1 814 0
|
||
1329 014a 0020 movs r0, #0
|
||
812:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
1330 .loc 1 812 0
|
||
1331 014c C4F88820 str r2, [r4, #136]
|
||
814:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** }
|
||
1332 .loc 1 814 0
|
||
1333 0150 C3E7 b .L147
|
||
1334 .L152:
|
||
784:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** pdata16bits++;
|
||
1335 .loc 1 784 0
|
||
1336 0152 28F8023B strh r3, [r8], #2 @ movhi
|
||
1337 .LVL108:
|
||
1338 0156 E3E7 b .L98
|
||
1339 .LVL109:
|
||
1340 .L91:
|
||
761:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** {
|
||
1341 .loc 1 761 0
|
||
1342 0158 B4F85E30 ldrh r3, [r4, #94]
|
||
1343 015c 9BB2 uxth r3, r3
|
||
1344 015e 002B cmp r3, #0
|
||
1345 0160 ECD0 beq .L93
|
||
ARM GAS /tmp/cc8TEl12.s page 46
|
||
|
||
|
||
764:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** {
|
||
1346 .loc 1 764 0
|
||
1347 0162 2368 ldr r3, [r4]
|
||
1348 0164 DA69 ldr r2, [r3, #28]
|
||
1349 0166 D106 lsls r1, r2, #27
|
||
1350 0168 01D5 bpl .L106
|
||
767:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
1351 .loc 1 767 0
|
||
1352 016a 1022 movs r2, #16
|
||
1353 016c 1A62 str r2, [r3, #32]
|
||
1354 .L106:
|
||
780:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** {
|
||
1355 .loc 1 780 0
|
||
1356 016e DA69 ldr r2, [r3, #28]
|
||
1357 0170 9206 lsls r2, r2, #26
|
||
1358 0172 0CD5 bpl .L107
|
||
784:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** pdata16bits++;
|
||
1359 .loc 1 784 0
|
||
1360 0174 5B6A ldr r3, [r3, #36]
|
||
1361 0176 1F40 ands r7, r7, r3
|
||
782:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** {
|
||
1362 .loc 1 782 0
|
||
1363 0178 7EB3 cbz r6, .L154
|
||
789:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** pdata8bits++;
|
||
1364 .loc 1 789 0
|
||
1365 017a 3770 strb r7, [r6]
|
||
1366 .L109:
|
||
793:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** huart->RxXferCount--;
|
||
1367 .loc 1 793 0
|
||
1368 017c 2B88 ldrh r3, [r5]
|
||
1369 017e 0133 adds r3, r3, #1
|
||
1370 0180 2B80 strh r3, [r5] @ movhi
|
||
794:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** }
|
||
1371 .loc 1 794 0
|
||
1372 0182 B4F85E30 ldrh r3, [r4, #94]
|
||
1373 0186 013B subs r3, r3, #1
|
||
1374 0188 9BB2 uxth r3, r3
|
||
1375 018a A4F85E30 strh r3, [r4, #94] @ movhi
|
||
1376 .L107:
|
||
800:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** {
|
||
1377 .loc 1 800 0
|
||
1378 018e FFF7FEFF bl HAL_GetTick
|
||
1379 .LVL110:
|
||
1380 .L105:
|
||
802:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
1381 .loc 1 802 0
|
||
1382 0192 2023 movs r3, #32
|
||
1383 0194 C4F88830 str r3, [r4, #136]
|
||
804:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** }
|
||
1384 .loc 1 804 0
|
||
1385 0198 0320 movs r0, #3
|
||
1386 019a 9EE7 b .L147
|
||
1387 .LVL111:
|
||
1388 .L149:
|
||
740:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** uhMask = huart->Mask;
|
||
1389 .loc 1 740 0 discriminator 1
|
||
1390 019c 2369 ldr r3, [r4, #16]
|
||
ARM GAS /tmp/cc8TEl12.s page 47
|
||
|
||
|
||
1391 019e 7BB9 cbnz r3, .L155
|
||
1392 01a0 40F2FF17 movw r7, #511
|
||
740:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** uhMask = huart->Mask;
|
||
1393 .loc 1 740 0 is_stmt 0
|
||
1394 01a4 B046 mov r8, r6
|
||
1395 01a6 A4F86070 strh r7, [r4, #96] @ movhi
|
||
1396 .LVL112:
|
||
746:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** pdata16bits = (uint16_t *) pData;
|
||
1397 .loc 1 746 0 is_stmt 1
|
||
1398 01aa 1E46 mov r6, r3
|
||
1399 .LVL113:
|
||
1400 01ac 5CE7 b .L111
|
||
1401 .LVL114:
|
||
1402 .L88:
|
||
740:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** uhMask = huart->Mask;
|
||
1403 .loc 1 740 0 discriminator 8
|
||
1404 01ae 7F27 movs r7, #127
|
||
1405 01b0 A4F86070 strh r7, [r4, #96] @ movhi
|
||
1406 01b4 56E7 b .L89
|
||
1407 .LVL115:
|
||
1408 .L95:
|
||
773:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
1409 .loc 1 773 0
|
||
1410 01b6 2023 movs r3, #32
|
||
1411 01b8 C4F88830 str r3, [r4, #136]
|
||
775:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** }
|
||
1412 .loc 1 775 0
|
||
1413 01bc 0020 movs r0, #0
|
||
1414 01be 8CE7 b .L147
|
||
1415 .LVL116:
|
||
1416 .L155:
|
||
1417 01c0 FF23 movs r3, #255
|
||
752:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** }
|
||
1418 .loc 1 752 0
|
||
1419 01c2 B846 mov r8, r7
|
||
1420 01c4 A4F86030 strh r3, [r4, #96] @ movhi
|
||
1421 .LVL117:
|
||
740:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** uhMask = huart->Mask;
|
||
1422 .loc 1 740 0
|
||
1423 01c8 1F46 mov r7, r3
|
||
1424 01ca 4DE7 b .L111
|
||
1425 .LVL118:
|
||
1426 .L151:
|
||
740:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** uhMask = huart->Mask;
|
||
1427 .loc 1 740 0 is_stmt 0 discriminator 9
|
||
1428 01cc 2369 ldr r3, [r4, #16]
|
||
1429 01ce 002B cmp r3, #0
|
||
1430 01d0 EDD0 beq .L88
|
||
740:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** uhMask = huart->Mask;
|
||
1431 .loc 1 740 0 discriminator 12
|
||
1432 01d2 3F27 movs r7, #63
|
||
1433 01d4 A4F86070 strh r7, [r4, #96] @ movhi
|
||
1434 01d8 44E7 b .L89
|
||
1435 .LVL119:
|
||
1436 .L154:
|
||
784:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** pdata16bits++;
|
||
1437 .loc 1 784 0 is_stmt 1
|
||
ARM GAS /tmp/cc8TEl12.s page 48
|
||
|
||
|
||
1438 01da A8F80070 strh r7, [r8] @ movhi
|
||
1439 01de CDE7 b .L109
|
||
1440 .cfi_endproc
|
||
1441 .LFE341:
|
||
1443 .section .text.HAL_UARTEx_ReceiveToIdle_IT,"ax",%progbits
|
||
1444 .align 1
|
||
1445 .p2align 2,,3
|
||
1446 .global HAL_UARTEx_ReceiveToIdle_IT
|
||
1447 .syntax unified
|
||
1448 .thumb
|
||
1449 .thumb_func
|
||
1450 .fpu fpv4-sp-d16
|
||
1452 HAL_UARTEx_ReceiveToIdle_IT:
|
||
1453 .LFB342:
|
||
837:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** HAL_StatusTypeDef status;
|
||
1454 .loc 1 837 0
|
||
1455 .cfi_startproc
|
||
1456 @ args = 0, pretend = 0, frame = 0
|
||
1457 @ frame_needed = 0, uses_anonymous_args = 0
|
||
1458 .LVL120:
|
||
1459 0000 70B5 push {r4, r5, r6, lr}
|
||
1460 .LCFI29:
|
||
1461 .cfi_def_cfa_offset 16
|
||
1462 .cfi_offset 4, -16
|
||
1463 .cfi_offset 5, -12
|
||
1464 .cfi_offset 6, -8
|
||
1465 .cfi_offset 14, -4
|
||
841:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** {
|
||
1466 .loc 1 841 0
|
||
1467 0002 D0F88840 ldr r4, [r0, #136]
|
||
1468 0006 202C cmp r4, #32
|
||
1469 0008 12D1 bne .L161
|
||
843:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** {
|
||
1470 .loc 1 843 0
|
||
1471 000a 79B1 cbz r1, .L159
|
||
843:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** {
|
||
1472 .loc 1 843 0 is_stmt 0 discriminator 1
|
||
1473 000c 72B1 cbz r2, .L159
|
||
848:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
1474 .loc 1 848 0 is_stmt 1
|
||
1475 000e 90F88040 ldrb r4, [r0, #128] @ zero_extendqisi2
|
||
1476 0012 012C cmp r4, #1
|
||
1477 0014 0CD0 beq .L161
|
||
848:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
1478 .loc 1 848 0 is_stmt 0 discriminator 2
|
||
1479 0016 0123 movs r3, #1
|
||
1480 0018 80F88030 strb r3, [r0, #128]
|
||
851:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
1481 .loc 1 851 0 is_stmt 1 discriminator 2
|
||
1482 001c C366 str r3, [r0, #108]
|
||
1483 001e 0446 mov r4, r0
|
||
853:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
1484 .loc 1 853 0 discriminator 2
|
||
1485 0020 FFF7FEFF bl UART_Start_Receive_IT
|
||
1486 .LVL121:
|
||
856:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** {
|
||
1487 .loc 1 856 0 discriminator 2
|
||
ARM GAS /tmp/cc8TEl12.s page 49
|
||
|
||
|
||
1488 0024 18B9 cbnz r0, .L157
|
||
858:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** {
|
||
1489 .loc 1 858 0
|
||
1490 0026 E36E ldr r3, [r4, #108]
|
||
1491 0028 012B cmp r3, #1
|
||
1492 002a 03D0 beq .L166
|
||
1493 .LVL122:
|
||
1494 .L159:
|
||
845:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** }
|
||
1495 .loc 1 845 0
|
||
1496 002c 0120 movs r0, #1
|
||
1497 .L157:
|
||
879:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
1498 .loc 1 879 0
|
||
1499 002e 70BD pop {r4, r5, r6, pc}
|
||
1500 .LVL123:
|
||
1501 .L161:
|
||
877:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** }
|
||
1502 .loc 1 877 0
|
||
1503 0030 0220 movs r0, #2
|
||
1504 .LVL124:
|
||
879:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
1505 .loc 1 879 0
|
||
1506 0032 70BD pop {r4, r5, r6, pc}
|
||
1507 .LVL125:
|
||
1508 .L166:
|
||
860:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** SET_BIT(huart->Instance->CR1, USART_CR1_IDLEIE);
|
||
1509 .loc 1 860 0
|
||
1510 0034 2368 ldr r3, [r4]
|
||
1511 0036 1022 movs r2, #16
|
||
1512 0038 1A62 str r2, [r3, #32]
|
||
861:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** }
|
||
1513 .loc 1 861 0
|
||
1514 003a 1A68 ldr r2, [r3]
|
||
1515 003c 42F01002 orr r2, r2, #16
|
||
1516 0040 1A60 str r2, [r3]
|
||
879:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
1517 .loc 1 879 0
|
||
1518 0042 70BD pop {r4, r5, r6, pc}
|
||
1519 .cfi_endproc
|
||
1520 .LFE342:
|
||
1522 .section .text.HAL_UARTEx_ReceiveToIdle_DMA,"ax",%progbits
|
||
1523 .align 1
|
||
1524 .p2align 2,,3
|
||
1525 .global HAL_UARTEx_ReceiveToIdle_DMA
|
||
1526 .syntax unified
|
||
1527 .thumb
|
||
1528 .thumb_func
|
||
1529 .fpu fpv4-sp-d16
|
||
1531 HAL_UARTEx_ReceiveToIdle_DMA:
|
||
1532 .LFB343:
|
||
899:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** HAL_StatusTypeDef status;
|
||
1533 .loc 1 899 0
|
||
1534 .cfi_startproc
|
||
1535 @ args = 0, pretend = 0, frame = 0
|
||
1536 @ frame_needed = 0, uses_anonymous_args = 0
|
||
1537 .LVL126:
|
||
ARM GAS /tmp/cc8TEl12.s page 50
|
||
|
||
|
||
1538 0000 70B5 push {r4, r5, r6, lr}
|
||
1539 .LCFI30:
|
||
1540 .cfi_def_cfa_offset 16
|
||
1541 .cfi_offset 4, -16
|
||
1542 .cfi_offset 5, -12
|
||
1543 .cfi_offset 6, -8
|
||
1544 .cfi_offset 14, -4
|
||
903:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** {
|
||
1545 .loc 1 903 0
|
||
1546 0002 D0F88840 ldr r4, [r0, #136]
|
||
1547 0006 202C cmp r4, #32
|
||
1548 0008 12D1 bne .L172
|
||
905:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** {
|
||
1549 .loc 1 905 0
|
||
1550 000a 79B1 cbz r1, .L170
|
||
905:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** {
|
||
1551 .loc 1 905 0 is_stmt 0 discriminator 1
|
||
1552 000c 72B1 cbz r2, .L170
|
||
910:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
1553 .loc 1 910 0 is_stmt 1
|
||
1554 000e 90F88040 ldrb r4, [r0, #128] @ zero_extendqisi2
|
||
1555 0012 012C cmp r4, #1
|
||
1556 0014 0CD0 beq .L172
|
||
910:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
1557 .loc 1 910 0 is_stmt 0 discriminator 2
|
||
1558 0016 0123 movs r3, #1
|
||
1559 0018 80F88030 strb r3, [r0, #128]
|
||
913:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
1560 .loc 1 913 0 is_stmt 1 discriminator 2
|
||
1561 001c C366 str r3, [r0, #108]
|
||
1562 001e 0446 mov r4, r0
|
||
915:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
1563 .loc 1 915 0 discriminator 2
|
||
1564 0020 FFF7FEFF bl UART_Start_Receive_DMA
|
||
1565 .LVL127:
|
||
918:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** {
|
||
1566 .loc 1 918 0 discriminator 2
|
||
1567 0024 18B9 cbnz r0, .L168
|
||
920:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** {
|
||
1568 .loc 1 920 0
|
||
1569 0026 E36E ldr r3, [r4, #108]
|
||
1570 0028 012B cmp r3, #1
|
||
1571 002a 03D0 beq .L177
|
||
1572 .LVL128:
|
||
1573 .L170:
|
||
907:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** }
|
||
1574 .loc 1 907 0
|
||
1575 002c 0120 movs r0, #1
|
||
1576 .L168:
|
||
941:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
1577 .loc 1 941 0
|
||
1578 002e 70BD pop {r4, r5, r6, pc}
|
||
1579 .LVL129:
|
||
1580 .L172:
|
||
939:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** }
|
||
1581 .loc 1 939 0
|
||
1582 0030 0220 movs r0, #2
|
||
ARM GAS /tmp/cc8TEl12.s page 51
|
||
|
||
|
||
1583 .LVL130:
|
||
941:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
1584 .loc 1 941 0
|
||
1585 0032 70BD pop {r4, r5, r6, pc}
|
||
1586 .LVL131:
|
||
1587 .L177:
|
||
922:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** SET_BIT(huart->Instance->CR1, USART_CR1_IDLEIE);
|
||
1588 .loc 1 922 0
|
||
1589 0034 2368 ldr r3, [r4]
|
||
1590 0036 1022 movs r2, #16
|
||
1591 0038 1A62 str r2, [r3, #32]
|
||
923:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c **** }
|
||
1592 .loc 1 923 0
|
||
1593 003a 1A68 ldr r2, [r3]
|
||
1594 003c 42F01002 orr r2, r2, #16
|
||
1595 0040 1A60 str r2, [r3]
|
||
941:Drivers/STM32G4xx_HAL_Driver/Src/stm32g4xx_hal_uart_ex.c ****
|
||
1596 .loc 1 941 0
|
||
1597 0042 70BD pop {r4, r5, r6, pc}
|
||
1598 .cfi_endproc
|
||
1599 .LFE343:
|
||
1601 .section .rodata.denominator.9742,"a",%progbits
|
||
1602 .align 2
|
||
1603 .set .LANCHOR1,. + 0
|
||
1606 denominator.9742:
|
||
1607 0000 08 .byte 8
|
||
1608 0001 04 .byte 4
|
||
1609 0002 02 .byte 2
|
||
1610 0003 04 .byte 4
|
||
1611 0004 08 .byte 8
|
||
1612 0005 01 .byte 1
|
||
1613 0006 01 .byte 1
|
||
1614 0007 01 .byte 1
|
||
1615 .section .rodata.numerator.9741,"a",%progbits
|
||
1616 .align 2
|
||
1617 .set .LANCHOR0,. + 0
|
||
1620 numerator.9741:
|
||
1621 0000 01 .byte 1
|
||
1622 0001 01 .byte 1
|
||
1623 0002 01 .byte 1
|
||
1624 0003 03 .byte 3
|
||
1625 0004 07 .byte 7
|
||
1626 0005 01 .byte 1
|
||
1627 0006 00 .byte 0
|
||
1628 0007 00 .byte 0
|
||
1629 .text
|
||
1630 .Letext0:
|
||
1631 .file 2 "/usr/include/newlib/machine/_default_types.h"
|
||
1632 .file 3 "/usr/include/newlib/sys/_stdint.h"
|
||
1633 .file 4 "Drivers/CMSIS/Include/core_cm4.h"
|
||
1634 .file 5 "Drivers/CMSIS/Device/ST/STM32G4xx/Include/system_stm32g4xx.h"
|
||
1635 .file 6 "Drivers/CMSIS/Device/ST/STM32G4xx/Include/stm32g431xx.h"
|
||
1636 .file 7 "Drivers/CMSIS/Device/ST/STM32G4xx/Include/stm32g4xx.h"
|
||
1637 .file 8 "Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_hal_def.h"
|
||
1638 .file 9 "Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_hal_dma.h"
|
||
1639 .file 10 "Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_hal_flash.h"
|
||
1640 .file 11 "Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_hal_uart.h"
|
||
ARM GAS /tmp/cc8TEl12.s page 52
|
||
|
||
|
||
1641 .file 12 "Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_hal_uart_ex.h"
|
||
1642 .file 13 "Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_hal.h"
|
||
ARM GAS /tmp/cc8TEl12.s page 53
|
||
|
||
|
||
DEFINED SYMBOLS
|
||
*ABS*:0000000000000000 stm32g4xx_hal_uart_ex.c
|
||
/tmp/cc8TEl12.s:16 .text.HAL_RS485Ex_Init:0000000000000000 $t
|
||
/tmp/cc8TEl12.s:24 .text.HAL_RS485Ex_Init:0000000000000000 HAL_RS485Ex_Init
|
||
/tmp/cc8TEl12.s:160 .text.HAL_UARTEx_WakeupCallback:0000000000000000 $t
|
||
/tmp/cc8TEl12.s:168 .text.HAL_UARTEx_WakeupCallback:0000000000000000 HAL_UARTEx_WakeupCallback
|
||
/tmp/cc8TEl12.s:182 .text.HAL_UARTEx_RxFifoFullCallback:0000000000000000 $t
|
||
/tmp/cc8TEl12.s:190 .text.HAL_UARTEx_RxFifoFullCallback:0000000000000000 HAL_UARTEx_RxFifoFullCallback
|
||
/tmp/cc8TEl12.s:201 .text.HAL_UARTEx_TxFifoEmptyCallback:0000000000000000 $t
|
||
/tmp/cc8TEl12.s:209 .text.HAL_UARTEx_TxFifoEmptyCallback:0000000000000000 HAL_UARTEx_TxFifoEmptyCallback
|
||
/tmp/cc8TEl12.s:220 .text.HAL_MultiProcessorEx_AddressLength_Set:0000000000000000 $t
|
||
/tmp/cc8TEl12.s:228 .text.HAL_MultiProcessorEx_AddressLength_Set:0000000000000000 HAL_MultiProcessorEx_AddressLength_Set
|
||
/tmp/cc8TEl12.s:280 .text.HAL_UARTEx_StopModeWakeUpSourceConfig:0000000000000000 $t
|
||
/tmp/cc8TEl12.s:288 .text.HAL_UARTEx_StopModeWakeUpSourceConfig:0000000000000000 HAL_UARTEx_StopModeWakeUpSourceConfig
|
||
/tmp/cc8TEl12.s:416 .text.HAL_UARTEx_EnableStopMode:0000000000000000 $t
|
||
/tmp/cc8TEl12.s:424 .text.HAL_UARTEx_EnableStopMode:0000000000000000 HAL_UARTEx_EnableStopMode
|
||
/tmp/cc8TEl12.s:465 .text.HAL_UARTEx_DisableStopMode:0000000000000000 $t
|
||
/tmp/cc8TEl12.s:473 .text.HAL_UARTEx_DisableStopMode:0000000000000000 HAL_UARTEx_DisableStopMode
|
||
/tmp/cc8TEl12.s:514 .text.HAL_UARTEx_EnableFifoMode:0000000000000000 $t
|
||
/tmp/cc8TEl12.s:522 .text.HAL_UARTEx_EnableFifoMode:0000000000000000 HAL_UARTEx_EnableFifoMode
|
||
/tmp/cc8TEl12.s:659 .text.HAL_UARTEx_EnableFifoMode:0000000000000068 $d
|
||
/tmp/cc8TEl12.s:665 .text.HAL_UARTEx_DisableFifoMode:0000000000000000 $t
|
||
/tmp/cc8TEl12.s:673 .text.HAL_UARTEx_DisableFifoMode:0000000000000000 HAL_UARTEx_DisableFifoMode
|
||
/tmp/cc8TEl12.s:743 .text.HAL_UARTEx_SetTxFifoThreshold:0000000000000000 $t
|
||
/tmp/cc8TEl12.s:751 .text.HAL_UARTEx_SetTxFifoThreshold:0000000000000000 HAL_UARTEx_SetTxFifoThreshold
|
||
/tmp/cc8TEl12.s:898 .text.HAL_UARTEx_SetTxFifoThreshold:0000000000000074 $d
|
||
/tmp/cc8TEl12.s:904 .text.HAL_UARTEx_SetRxFifoThreshold:0000000000000000 $t
|
||
/tmp/cc8TEl12.s:912 .text.HAL_UARTEx_SetRxFifoThreshold:0000000000000000 HAL_UARTEx_SetRxFifoThreshold
|
||
/tmp/cc8TEl12.s:1059 .text.HAL_UARTEx_SetRxFifoThreshold:0000000000000074 $d
|
||
/tmp/cc8TEl12.s:1065 .text.HAL_UARTEx_ReceiveToIdle:0000000000000000 $t
|
||
/tmp/cc8TEl12.s:1073 .text.HAL_UARTEx_ReceiveToIdle:0000000000000000 HAL_UARTEx_ReceiveToIdle
|
||
/tmp/cc8TEl12.s:1444 .text.HAL_UARTEx_ReceiveToIdle_IT:0000000000000000 $t
|
||
/tmp/cc8TEl12.s:1452 .text.HAL_UARTEx_ReceiveToIdle_IT:0000000000000000 HAL_UARTEx_ReceiveToIdle_IT
|
||
/tmp/cc8TEl12.s:1523 .text.HAL_UARTEx_ReceiveToIdle_DMA:0000000000000000 $t
|
||
/tmp/cc8TEl12.s:1531 .text.HAL_UARTEx_ReceiveToIdle_DMA:0000000000000000 HAL_UARTEx_ReceiveToIdle_DMA
|
||
/tmp/cc8TEl12.s:1602 .rodata.denominator.9742:0000000000000000 $d
|
||
/tmp/cc8TEl12.s:1606 .rodata.denominator.9742:0000000000000000 denominator.9742
|
||
/tmp/cc8TEl12.s:1616 .rodata.numerator.9741:0000000000000000 $d
|
||
/tmp/cc8TEl12.s:1620 .rodata.numerator.9741:0000000000000000 numerator.9741
|
||
|
||
UNDEFINED SYMBOLS
|
||
UART_SetConfig
|
||
UART_CheckIdleState
|
||
HAL_UART_MspInit
|
||
UART_AdvFeatureConfig
|
||
HAL_GetTick
|
||
UART_WaitOnFlagUntilTimeout
|
||
UART_Start_Receive_IT
|
||
UART_Start_Receive_DMA
|