Files
bassofono/codice/build/tx.lst

1428 lines
100 KiB
Plaintext
Raw Normal View History

2021-07-03 18:17:05 +02:00
ARM GAS /tmp/ccZOe1qm.s page 1
2021-07-02 22:19:04 +02:00
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 "tx.c"
12 .text
13 .Ltext0:
14 .cfi_sections .debug_frame
15 .section .text.tx_mixer,"ax",%progbits
16 .align 1
17 .p2align 2,,3
18 .global tx_mixer
19 .syntax unified
20 .thumb
21 .thumb_func
22 .fpu fpv4-sp-d16
24 tx_mixer:
25 .LFB404:
26 .file 1 "Core/Src/tx.c"
1:Core/Src/tx.c **** #include <stdint.h>
2:Core/Src/tx.c **** #include <arm_math.h>
3:Core/Src/tx.c **** #include <stm32g4xx_ll_cordic.h>
4:Core/Src/tx.c ****
5:Core/Src/tx.c **** #include "bassofono.h"
6:Core/Src/tx.c **** #include "tx.h"
7:Core/Src/tx.c ****
8:Core/Src/tx.c **** volatile uint8_t half_tx_dac_buffer_empty, tx_dac_buffer_toggle;
9:Core/Src/tx.c **** volatile uint8_t tx_adc_buffer_ready;
10:Core/Src/tx.c ****
11:Core/Src/tx.c **** // FILTRO
12:Core/Src/tx.c **** arm_fir_instance_q31 tx_audio_filter_I_struct, tx_audio_filter_Q_struct;
13:Core/Src/tx.c **** q31_t tx_audio_filter_I_state[TX_AUDIO_FILTER_BLOCK_SIZE + TX_AUDIO_FILTER_TAP_NUM - 1];
14:Core/Src/tx.c **** q31_t tx_audio_filter_Q_state[TX_AUDIO_FILTER_BLOCK_SIZE + TX_AUDIO_FILTER_TAP_NUM - 1];
15:Core/Src/tx.c **** int32_t tx_audio_filter_coeffs[TX_AUDIO_FILTER_TAP_NUM];
16:Core/Src/tx.c ****
17:Core/Src/tx.c ****
18:Core/Src/tx.c **** void tx_mixer(uint16_t *out, uint16_t size, q31_t *I_in, q31_t *Q_in, int32_t nco_freq){
27 .loc 1 18 0
28 .cfi_startproc
29 @ args = 4, pretend = 0, frame = 0
30 @ frame_needed = 0, uses_anonymous_args = 0
31 @ link register save eliminated.
32 .LVL0:
19:Core/Src/tx.c **** uint16_t i = 0;
20:Core/Src/tx.c **** int32_t sin, cos, tmp;
21:Core/Src/tx.c **** static int32_t phase_accu;
22:Core/Src/tx.c **** // perche?
23:Core/Src/tx.c **** nco_freq = nco_freq>>2;
24:Core/Src/tx.c **** LL_CORDIC_WriteData(CORDIC, phase_accu);
33 .loc 1 24 0
34 0000 DFF83CC0 ldr ip, .L10+4
2021-07-03 18:17:05 +02:00
ARM GAS /tmp/ccZOe1qm.s page 2
2021-07-02 22:19:04 +02:00
18:Core/Src/tx.c **** uint16_t i = 0;
35 .loc 1 18 0
36 0004 F0B4 push {r4, r5, r6, r7}
37 .LCFI0:
38 .cfi_def_cfa_offset 16
39 .cfi_offset 4, -16
40 .cfi_offset 5, -12
41 .cfi_offset 6, -8
42 .cfi_offset 7, -4
43 .LBB18:
44 .LBB19:
45 .file 2 "Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h"
1:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** /**
2:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** ******************************************************************************
3:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @file stm32g4xx_ll_cordic.h
4:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @author MCD Application Team
5:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @brief Header file of CORDIC LL module.
6:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** ******************************************************************************
7:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @attention
8:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** *
9:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * <h2><center>&copy; Copyright (c) 2019 STMicroelectronics.
10:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * All rights reserved.</center></h2>
11:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** *
12:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * This software component is licensed by ST under BSD 3-Clause license,
13:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * the "License"; You may not use this file except in compliance with the
14:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * License. You may obtain a copy of the License at:
15:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * opensource.org/licenses/BSD-3-Clause
16:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** *
17:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** ******************************************************************************
18:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** */
19:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h ****
20:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** /* Define to prevent recursive inclusion -------------------------------------*/
21:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** #ifndef STM32G4xx_LL_CORDIC_H
22:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** #define STM32G4xx_LL_CORDIC_H
23:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h ****
24:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** #ifdef __cplusplus
25:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** extern "C" {
26:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** #endif
27:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h ****
28:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** /* Includes ------------------------------------------------------------------*/
29:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** #include "stm32g4xx.h"
30:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h ****
31:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** /** @addtogroup STM32G4xx_LL_Driver
32:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @{
33:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** */
34:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h ****
35:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** #if defined(CORDIC)
36:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h ****
37:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** /** @defgroup CORDIC_LL CORDIC
38:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @{
39:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** */
40:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h ****
41:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** /* Private variables ---------------------------------------------------------*/
42:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h ****
43:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** /* Private constants ---------------------------------------------------------*/
44:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h ****
45:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** /* Private macros ------------------------------------------------------------*/
2021-07-03 18:17:05 +02:00
ARM GAS /tmp/ccZOe1qm.s page 3
2021-07-02 22:19:04 +02:00
46:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h ****
47:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** /* Exported types ------------------------------------------------------------*/
48:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h ****
49:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** /* Exported constants --------------------------------------------------------*/
50:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** /** @defgroup CORDIC_LL_Exported_Constants CORDIC Exported Constants
51:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @{
52:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** */
53:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h ****
54:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** /** @defgroup CORDIC_LL_EC_GET_FLAG Get Flags Defines
55:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @brief Flags defines which can be used with LL_CORDIC_ReadReg function.
56:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @{
57:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** */
58:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** #define LL_CORDIC_FLAG_RRDY CORDIC_CSR_RRDY
59:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** /**
60:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @}
61:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** */
62:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h ****
63:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** /** @defgroup CORDIC_LL_EC_IT IT Defines
64:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @brief IT defines which can be used with LL_CORDIC_ReadReg and LL_CORDIC_WriteReg functions.
65:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @{
66:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** */
67:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** #define LL_CORDIC_IT_IEN CORDIC_CSR_IEN /*!< Result Ready interrupt en
68:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** /**
69:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @}
70:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** */
71:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h ****
72:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** /** @defgroup CORDIC_LL_EC_FUNCTION FUNCTION
73:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @{
74:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** */
75:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** #define LL_CORDIC_FUNCTION_COSINE (0x00000000U)
76:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** #define LL_CORDIC_FUNCTION_SINE ((uint32_t)(CORDIC_CSR_FUNC_0))
77:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** #define LL_CORDIC_FUNCTION_PHASE ((uint32_t)(CORDIC_CSR_FUNC_1))
78:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** #define LL_CORDIC_FUNCTION_MODULUS ((uint32_t)(CORDIC_CSR_FUNC_1 | CORDIC_CSR_FUNC_0))
79:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** #define LL_CORDIC_FUNCTION_ARCTANGENT ((uint32_t)(CORDIC_CSR_FUNC_2))
80:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** #define LL_CORDIC_FUNCTION_HCOSINE ((uint32_t)(CORDIC_CSR_FUNC_2 | CORDIC_CSR_FUNC_0))
81:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** #define LL_CORDIC_FUNCTION_HSINE ((uint32_t)(CORDIC_CSR_FUNC_2 | CORDIC_CSR_FUNC_1))
82:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** #define LL_CORDIC_FUNCTION_HARCTANGENT ((uint32_t)(CORDIC_CSR_FUNC_2 | CORDIC_CSR_FUNC_1 | CORD
83:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** #define LL_CORDIC_FUNCTION_NATURALLOG ((uint32_t)(CORDIC_CSR_FUNC_3))
84:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** #define LL_CORDIC_FUNCTION_SQUAREROOT ((uint32_t)(CORDIC_CSR_FUNC_3 | CORDIC_CSR_FUNC_0))
85:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** /**
86:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @}
87:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** */
88:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h ****
89:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** /** @defgroup CORDIC_LL_EC_PRECISION PRECISION
90:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @{
91:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** */
92:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** #define LL_CORDIC_PRECISION_1CYCLE ((uint32_t)(CORDIC_CSR_PRECISION_0))
93:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** #define LL_CORDIC_PRECISION_2CYCLES ((uint32_t)(CORDIC_CSR_PRECISION_1))
94:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** #define LL_CORDIC_PRECISION_3CYCLES ((uint32_t)(CORDIC_CSR_PRECISION_1 | CORDIC_CSR_PRECISIO
95:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** #define LL_CORDIC_PRECISION_4CYCLES ((uint32_t)(CORDIC_CSR_PRECISION_2))
96:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** #define LL_CORDIC_PRECISION_5CYCLES ((uint32_t)(CORDIC_CSR_PRECISION_2 | CORDIC_CSR_PRECISIO
97:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** #define LL_CORDIC_PRECISION_6CYCLES ((uint32_t)(CORDIC_CSR_PRECISION_2 | CORDIC_CSR_PRECISIO
98:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** #define LL_CORDIC_PRECISION_7CYCLES ((uint32_t)(CORDIC_CSR_PRECISION_2\
99:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** | CORDIC_CSR_PRECISION_1 | CORDIC_CSR_PRECIS
100:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** #define LL_CORDIC_PRECISION_8CYCLES ((uint32_t)(CORDIC_CSR_PRECISION_3))
101:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** #define LL_CORDIC_PRECISION_9CYCLES ((uint32_t)(CORDIC_CSR_PRECISION_3 | CORDIC_CSR_PRECISIO
102:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** #define LL_CORDIC_PRECISION_10CYCLES ((uint32_t)(CORDIC_CSR_PRECISION_3 | CORDIC_CSR_PRECISIO
2021-07-03 18:17:05 +02:00
ARM GAS /tmp/ccZOe1qm.s page 4
2021-07-02 22:19:04 +02:00
103:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** #define LL_CORDIC_PRECISION_11CYCLES ((uint32_t)(CORDIC_CSR_PRECISION_3\
104:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** | CORDIC_CSR_PRECISION_1 | CORDIC_CSR_PRECIS
105:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** #define LL_CORDIC_PRECISION_12CYCLES ((uint32_t)(CORDIC_CSR_PRECISION_3 | CORDIC_CSR_PRECISIO
106:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** #define LL_CORDIC_PRECISION_13CYCLES ((uint32_t)(CORDIC_CSR_PRECISION_3\
107:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** | CORDIC_CSR_PRECISION_2 | CORDIC_CSR_PRECIS
108:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** #define LL_CORDIC_PRECISION_14CYCLES ((uint32_t)(CORDIC_CSR_PRECISION_3\
109:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** | CORDIC_CSR_PRECISION_2 | CORDIC_CSR_PRECIS
110:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** #define LL_CORDIC_PRECISION_15CYCLES ((uint32_t)(CORDIC_CSR_PRECISION_3\
111:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** | CORDIC_CSR_PRECISION_2 | CORDIC_CSR_PRECIS
112:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** | CORDIC_CSR_PRECISION_0))
113:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** /**
114:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @}
115:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** */
116:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h ****
117:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** /** @defgroup CORDIC_LL_EC_SCALE SCALE
118:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @{
119:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** */
120:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** #define LL_CORDIC_SCALE_0 (0x00000000U)
121:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** #define LL_CORDIC_SCALE_1 ((uint32_t)(CORDIC_CSR_SCALE_0))
122:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** #define LL_CORDIC_SCALE_2 ((uint32_t)(CORDIC_CSR_SCALE_1))
123:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** #define LL_CORDIC_SCALE_3 ((uint32_t)(CORDIC_CSR_SCALE_1 | CORDIC_CSR_SCALE_0))
124:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** #define LL_CORDIC_SCALE_4 ((uint32_t)(CORDIC_CSR_SCALE_2))
125:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** #define LL_CORDIC_SCALE_5 ((uint32_t)(CORDIC_CSR_SCALE_2 | CORDIC_CSR_SCALE_0))
126:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** #define LL_CORDIC_SCALE_6 ((uint32_t)(CORDIC_CSR_SCALE_2 | CORDIC_CSR_SCALE_1))
127:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** #define LL_CORDIC_SCALE_7 ((uint32_t)(CORDIC_CSR_SCALE_2 | CORDIC_CSR_SCALE_1 | CO
128:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** /**
129:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @}
130:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** */
131:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h ****
132:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** /** @defgroup CORDIC_LL_EC_NBWRITE NBWRITE
133:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @{
134:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** */
135:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** #define LL_CORDIC_NBWRITE_1 (0x00000000U) /*!< One 32-bits write contain
136:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** 32-bit data input (Q1.31
137:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** 16-bit data input (Q1.15
138:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** in one 32 bits Data */
139:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** #define LL_CORDIC_NBWRITE_2 CORDIC_CSR_NARGS /*!< Two 32-bit write containi
140:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** (Q1.31 format) */
141:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** /**
142:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @}
143:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** */
144:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h ****
145:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** /** @defgroup CORDIC_LL_EC_NBREAD NBREAD
146:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @{
147:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** */
148:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** #define LL_CORDIC_NBREAD_1 (0x00000000U) /*!< One 32-bits read containi
149:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** 32-bit data output (Q1.31
150:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** 16-bit data output (Q1.15
151:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** in one 32 bits Data */
152:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** #define LL_CORDIC_NBREAD_2 CORDIC_CSR_NRES /*!< Two 32-bit Data containin
153:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** (Q1.31 format) */
154:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** /**
155:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @}
156:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** */
157:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h ****
158:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** /** @defgroup CORDIC_LL_EC_INSIZE INSIZE
159:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @{
2021-07-03 18:17:05 +02:00
ARM GAS /tmp/ccZOe1qm.s page 5
2021-07-02 22:19:04 +02:00
160:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** */
161:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** #define LL_CORDIC_INSIZE_32BITS (0x00000000U) /*!< 32 bits input data size (
162:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** #define LL_CORDIC_INSIZE_16BITS CORDIC_CSR_ARGSIZE /*!< 16 bits input data size (
163:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** /**
164:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @}
165:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** */
166:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h ****
167:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** /** @defgroup CORDIC_LL_EC_OUTSIZE OUTSIZE
168:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @{
169:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** */
170:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** #define LL_CORDIC_OUTSIZE_32BITS (0x00000000U) /*!< 32 bits output data size
171:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** #define LL_CORDIC_OUTSIZE_16BITS CORDIC_CSR_RESSIZE /*!< 16 bits output data size
172:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** /**
173:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @}
174:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** */
175:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h ****
176:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** /** @defgroup CORDIC_LL_EC_DMA_REG_DATA DMA register data
177:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @{
178:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** */
179:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** #define LL_CORDIC_DMA_REG_DATA_IN (0x00000000U) /*!< Get address of input data
180:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** #define LL_CORDIC_DMA_REG_DATA_OUT (0x00000001U) /*!< Get address of output dat
181:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** /**
182:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @}
183:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** */
184:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h ****
185:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** /**
186:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @}
187:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** */
188:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h ****
189:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** /* Exported macro ------------------------------------------------------------*/
190:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** /** @defgroup CORDIC_LL_Exported_Macros CORDIC Exported Macros
191:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @{
192:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** */
193:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h ****
194:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** /** @defgroup CORDIC_LL_EM_WRITE_READ Common Write and read registers Macros
195:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @{
196:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** */
197:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h ****
198:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** /**
199:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @brief Write a value in CORDIC register.
200:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @param __INSTANCE__ CORDIC Instance
201:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @param __REG__ Register to be written
202:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @param __VALUE__ Value to be written in the register
203:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @retval None
204:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** */
205:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** #define LL_CORDIC_WriteReg(__INSTANCE__, __REG__, __VALUE__) WRITE_REG(__INSTANCE__->__REG__, (__VA
206:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h ****
207:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** /**
208:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @brief Read a value in CORDIC register.
209:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @param __INSTANCE__ CORDIC Instance
210:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @param __REG__ Register to be read
211:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @retval Register value
212:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** */
213:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** #define LL_CORDIC_ReadReg(__INSTANCE__, __REG__) READ_REG(__INSTANCE__->__REG__)
214:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** /**
215:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @}
216:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** */
2021-07-03 18:17:05 +02:00
ARM GAS /tmp/ccZOe1qm.s page 6
2021-07-02 22:19:04 +02:00
217:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h ****
218:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** /**
219:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @}
220:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** */
221:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h ****
222:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h ****
223:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** /* Exported functions --------------------------------------------------------*/
224:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h ****
225:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** /** @defgroup CORDIC_LL_Exported_Functions CORDIC Exported Functions
226:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @{
227:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** */
228:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h ****
229:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** /** @defgroup CORDIC_LL_EF_Configuration CORDIC Configuration functions
230:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @{
231:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** */
232:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h ****
233:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** /**
234:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @brief Configure the CORDIC processing.
235:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @note This function set all parameters of CORDIC processing.
236:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * These parameters can also be set individually using
237:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * dedicated functions:
238:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * - @ref LL_CORDIC_SetFunction()
239:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * - @ref LL_CORDIC_SetPrecision()
240:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * - @ref LL_CORDIC_SetScale()
241:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * - @ref LL_CORDIC_SetNbWrite()
242:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * - @ref LL_CORDIC_SetNbRead()
243:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * - @ref LL_CORDIC_SetInSize()
244:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * - @ref LL_CORDIC_SetOutSize()
245:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @rmtoll CSR FUNC LL_CORDIC_Configure\n
246:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * CSR PRECISION LL_CORDIC_Configure\n
247:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * CSR SCALE LL_CORDIC_Configure\n
248:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * CSR NARGS LL_CORDIC_Configure\n
249:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * CSR NRES LL_CORDIC_Configure\n
250:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * CSR ARGSIZE LL_CORDIC_Configure\n
251:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * CSR RESIZE LL_CORDIC_Configure
252:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @param CORDICx CORDIC instance
253:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @param Function parameter can be one of the following values:
254:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_FUNCTION_COSINE
255:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_FUNCTION_SINE
256:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_FUNCTION_PHASE
257:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_FUNCTION_MODULUS
258:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_FUNCTION_ARCTANGENT
259:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_FUNCTION_HCOSINE
260:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_FUNCTION_HSINE
261:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_FUNCTION_HARCTANGENT
262:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_FUNCTION_NATURALLOG
263:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_FUNCTION_SQUAREROOT
264:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @param Precision parameter can be one of the following values:
265:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_PRECISION_1CYCLE
266:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_PRECISION_2CYCLES
267:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_PRECISION_3CYCLES
268:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_PRECISION_4CYCLES
269:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_PRECISION_5CYCLES
270:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_PRECISION_6CYCLES
271:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_PRECISION_7CYCLES
272:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_PRECISION_8CYCLES
273:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_PRECISION_9CYCLES
2021-07-03 18:17:05 +02:00
ARM GAS /tmp/ccZOe1qm.s page 7
2021-07-02 22:19:04 +02:00
274:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_PRECISION_10CYCLES
275:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_PRECISION_11CYCLES
276:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_PRECISION_12CYCLES
277:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_PRECISION_13CYCLES
278:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_PRECISION_14CYCLES
279:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_PRECISION_15CYCLES
280:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @param Scale parameter can be one of the following values:
281:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_SCALE_0
282:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_SCALE_1
283:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_SCALE_2
284:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_SCALE_3
285:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_SCALE_4
286:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_SCALE_5
287:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_SCALE_6
288:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_SCALE_7
289:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @param NbWrite parameter can be one of the following values:
290:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_NBWRITE_1
291:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_NBWRITE_2
292:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @param NbRead parameter can be one of the following values:
293:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_NBREAD_1
294:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_NBREAD_2
295:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @param InSize parameter can be one of the following values:
296:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_INSIZE_32BITS
297:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_INSIZE_16BITS
298:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @param OutSize parameter can be one of the following values:
299:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_OUTSIZE_32BITS
300:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_OUTSIZE_16BITS
301:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @retval None
302:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** */
303:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** __STATIC_INLINE void LL_CORDIC_Config(CORDIC_TypeDef *CORDICx, uint32_t Function, uint32_t Precisio
304:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** uint32_t NbWrite, uint32_t NbRead, uint32_t InSize, uint32_t
305:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** {
306:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** MODIFY_REG(CORDICx->CSR,
307:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** CORDIC_CSR_FUNC | CORDIC_CSR_PRECISION | CORDIC_CSR_SCALE |
308:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** CORDIC_CSR_NARGS | CORDIC_CSR_NRES | CORDIC_CSR_ARGSIZE | CORDIC_CSR_RESSIZE,
309:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** Function | Precision | Scale |
310:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** NbWrite | NbRead | InSize | OutSize);
311:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** }
312:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h ****
313:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** /**
314:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @brief Configure function.
315:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @rmtoll CSR FUNC LL_CORDIC_SetFunction
316:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @param CORDICx CORDIC Instance
317:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @param Function parameter can be one of the following values:
318:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_FUNCTION_COSINE
319:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_FUNCTION_SINE
320:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_FUNCTION_PHASE
321:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_FUNCTION_MODULUS
322:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_FUNCTION_ARCTANGENT
323:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_FUNCTION_HCOSINE
324:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_FUNCTION_HSINE
325:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_FUNCTION_HARCTANGENT
326:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_FUNCTION_NATURALLOG
327:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_FUNCTION_SQUAREROOT
328:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @retval None
329:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** */
330:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** __STATIC_INLINE void LL_CORDIC_SetFunction(CORDIC_TypeDef *CORDICx, uint32_t Function)
2021-07-03 18:17:05 +02:00
ARM GAS /tmp/ccZOe1qm.s page 8
2021-07-02 22:19:04 +02:00
331:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** {
332:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** MODIFY_REG(CORDICx->CSR, CORDIC_CSR_FUNC, Function);
333:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** }
334:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h ****
335:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** /**
336:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @brief Return function.
337:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @rmtoll CSR FUNC LL_CORDIC_GetFunction
338:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @param CORDICx CORDIC Instance
339:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @retval Returned value can be one of the following values:
340:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_FUNCTION_COSINE
341:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_FUNCTION_SINE
342:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_FUNCTION_PHASE
343:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_FUNCTION_MODULUS
344:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_FUNCTION_ARCTANGENT
345:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_FUNCTION_HCOSINE
346:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_FUNCTION_HSINE
347:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_FUNCTION_HARCTANGENT
348:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_FUNCTION_NATURALLOG
349:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_FUNCTION_SQUAREROOT
350:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** */
351:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** __STATIC_INLINE uint32_t LL_CORDIC_GetFunction(CORDIC_TypeDef *CORDICx)
352:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** {
353:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** return (uint32_t)(READ_BIT(CORDICx->CSR, CORDIC_CSR_FUNC));
354:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** }
355:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h ****
356:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** /**
357:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @brief Configure precision in cycles number.
358:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @rmtoll CSR PRECISION LL_CORDIC_SetPrecision
359:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @param CORDICx CORDIC Instance
360:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @param Precision parameter can be one of the following values:
361:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_PRECISION_1CYCLE
362:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_PRECISION_2CYCLES
363:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_PRECISION_3CYCLES
364:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_PRECISION_4CYCLES
365:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_PRECISION_5CYCLES
366:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_PRECISION_6CYCLES
367:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_PRECISION_7CYCLES
368:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_PRECISION_8CYCLES
369:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_PRECISION_9CYCLES
370:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_PRECISION_10CYCLES
371:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_PRECISION_11CYCLES
372:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_PRECISION_12CYCLES
373:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_PRECISION_13CYCLES
374:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_PRECISION_14CYCLES
375:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_PRECISION_15CYCLES
376:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @retval None
377:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** */
378:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** __STATIC_INLINE void LL_CORDIC_SetPrecision(CORDIC_TypeDef *CORDICx, uint32_t Precision)
379:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** {
380:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** MODIFY_REG(CORDICx->CSR, CORDIC_CSR_PRECISION, Precision);
381:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** }
382:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h ****
383:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** /**
384:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @brief Return precision in cycles number.
385:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @rmtoll CSR PRECISION LL_CORDIC_GetPrecision
386:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @param CORDICx CORDIC Instance
387:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @retval Returned value can be one of the following values:
2021-07-03 18:17:05 +02:00
ARM GAS /tmp/ccZOe1qm.s page 9
2021-07-02 22:19:04 +02:00
388:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_PRECISION_1CYCLE
389:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_PRECISION_2CYCLES
390:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_PRECISION_3CYCLES
391:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_PRECISION_4CYCLES
392:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_PRECISION_5CYCLES
393:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_PRECISION_6CYCLES
394:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_PRECISION_7CYCLES
395:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_PRECISION_8CYCLES
396:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_PRECISION_9CYCLES
397:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_PRECISION_10CYCLES
398:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_PRECISION_11CYCLES
399:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_PRECISION_12CYCLES
400:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_PRECISION_13CYCLES
401:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_PRECISION_14CYCLES
402:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_PRECISION_15CYCLES
403:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** */
404:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** __STATIC_INLINE uint32_t LL_CORDIC_GetPrecision(CORDIC_TypeDef *CORDICx)
405:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** {
406:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** return (uint32_t)(READ_BIT(CORDICx->CSR, CORDIC_CSR_PRECISION));
407:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** }
408:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h ****
409:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** /**
410:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @brief Configure scaling factor.
411:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @rmtoll CSR SCALE LL_CORDIC_SetScale
412:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @param CORDICx CORDIC Instance
413:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @param Scale parameter can be one of the following values:
414:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_SCALE_0
415:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_SCALE_1
416:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_SCALE_2
417:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_SCALE_3
418:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_SCALE_4
419:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_SCALE_5
420:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_SCALE_6
421:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_SCALE_7
422:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @retval None
423:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** */
424:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** __STATIC_INLINE void LL_CORDIC_SetScale(CORDIC_TypeDef *CORDICx, uint32_t Scale)
425:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** {
426:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** MODIFY_REG(CORDICx->CSR, CORDIC_CSR_SCALE, Scale);
427:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** }
428:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h ****
429:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** /**
430:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @brief Return scaling factor.
431:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @rmtoll CSR SCALE LL_CORDIC_GetScale
432:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @param CORDICx CORDIC Instance
433:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @retval Returned value can be one of the following values:
434:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_SCALE_0
435:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_SCALE_1
436:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_SCALE_2
437:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_SCALE_3
438:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_SCALE_4
439:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_SCALE_5
440:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_SCALE_6
441:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_SCALE_7
442:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** */
443:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** __STATIC_INLINE uint32_t LL_CORDIC_GetScale(CORDIC_TypeDef *CORDICx)
444:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** {
2021-07-03 18:17:05 +02:00
ARM GAS /tmp/ccZOe1qm.s page 10
2021-07-02 22:19:04 +02:00
445:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** return (uint32_t)(READ_BIT(CORDICx->CSR, CORDIC_CSR_SCALE));
446:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** }
447:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h ****
448:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** /**
449:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @brief Configure number of 32-bit write expected for one calculation.
450:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @rmtoll CSR NARGS LL_CORDIC_SetNbWrite
451:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @param CORDICx CORDIC Instance
452:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @param NbWrite parameter can be one of the following values:
453:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_NBWRITE_1
454:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_NBWRITE_2
455:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @retval None
456:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** */
457:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** __STATIC_INLINE void LL_CORDIC_SetNbWrite(CORDIC_TypeDef *CORDICx, uint32_t NbWrite)
458:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** {
459:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** MODIFY_REG(CORDICx->CSR, CORDIC_CSR_NARGS, NbWrite);
460:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** }
461:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h ****
462:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** /**
463:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @brief Return number of 32-bit write expected for one calculation.
464:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @rmtoll CSR NARGS LL_CORDIC_GetNbWrite
465:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @param CORDICx CORDIC Instance
466:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @retval Returned value can be one of the following values:
467:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_NBWRITE_1
468:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_NBWRITE_2
469:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** */
470:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** __STATIC_INLINE uint32_t LL_CORDIC_GetNbWrite(CORDIC_TypeDef *CORDICx)
471:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** {
472:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** return (uint32_t)(READ_BIT(CORDICx->CSR, CORDIC_CSR_NARGS));
473:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** }
474:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h ****
475:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** /**
476:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @brief Configure number of 32-bit read expected after one calculation.
477:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @rmtoll CSR NRES LL_CORDIC_SetNbRead
478:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @param CORDICx CORDIC Instance
479:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @param NbRead parameter can be one of the following values:
480:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_NBREAD_1
481:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_NBREAD_2
482:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @retval None
483:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** */
484:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** __STATIC_INLINE void LL_CORDIC_SetNbRead(CORDIC_TypeDef *CORDICx, uint32_t NbRead)
485:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** {
486:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** MODIFY_REG(CORDICx->CSR, CORDIC_CSR_NRES, NbRead);
487:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** }
488:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h ****
489:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** /**
490:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @brief Return number of 32-bit read expected after one calculation.
491:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @rmtoll CSR NRES LL_CORDIC_GetNbRead
492:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @param CORDICx CORDIC Instance
493:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @retval Returned value can be one of the following values:
494:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_NBREAD_1
495:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_NBREAD_2
496:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** */
497:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** __STATIC_INLINE uint32_t LL_CORDIC_GetNbRead(CORDIC_TypeDef *CORDICx)
498:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** {
499:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** return (uint32_t)(READ_BIT(CORDICx->CSR, CORDIC_CSR_NRES));
500:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** }
501:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h ****
2021-07-03 18:17:05 +02:00
ARM GAS /tmp/ccZOe1qm.s page 11
2021-07-02 22:19:04 +02:00
502:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** /**
503:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @brief Configure width of input data.
504:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @rmtoll CSR ARGSIZE LL_CORDIC_SetInSize
505:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @param CORDICx CORDIC Instance
506:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @param InSize parameter can be one of the following values:
507:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_INSIZE_32BITS
508:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_INSIZE_16BITS
509:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @retval None
510:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** */
511:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** __STATIC_INLINE void LL_CORDIC_SetInSize(CORDIC_TypeDef *CORDICx, uint32_t InSize)
512:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** {
513:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** MODIFY_REG(CORDICx->CSR, CORDIC_CSR_ARGSIZE, InSize);
514:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** }
515:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h ****
516:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** /**
517:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @brief Return width of input data.
518:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @rmtoll CSR ARGSIZE LL_CORDIC_GetInSize
519:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @param CORDICx CORDIC Instance
520:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @retval Returned value can be one of the following values:
521:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_INSIZE_32BITS
522:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_INSIZE_16BITS
523:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** */
524:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** __STATIC_INLINE uint32_t LL_CORDIC_GetInSize(CORDIC_TypeDef *CORDICx)
525:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** {
526:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** return (uint32_t)(READ_BIT(CORDICx->CSR, CORDIC_CSR_ARGSIZE));
527:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** }
528:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h ****
529:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** /**
530:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @brief Configure width of output data.
531:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @rmtoll CSR RESIZE LL_CORDIC_SetOutSize
532:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @param CORDICx CORDIC Instance
533:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @param OutSize parameter can be one of the following values:
534:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_OUTSIZE_32BITS
535:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_OUTSIZE_16BITS
536:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @retval None
537:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** */
538:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** __STATIC_INLINE void LL_CORDIC_SetOutSize(CORDIC_TypeDef *CORDICx, uint32_t OutSize)
539:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** {
540:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** MODIFY_REG(CORDICx->CSR, CORDIC_CSR_RESSIZE, OutSize);
541:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** }
542:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h ****
543:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** /**
544:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @brief Return width of output data.
545:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @rmtoll CSR RESIZE LL_CORDIC_GetOutSize
546:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @param CORDICx CORDIC Instance
547:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @retval Returned value can be one of the following values:
548:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_OUTSIZE_32BITS
549:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_OUTSIZE_16BITS
550:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** */
551:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** __STATIC_INLINE uint32_t LL_CORDIC_GetOutSize(CORDIC_TypeDef *CORDICx)
552:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** {
553:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** return (uint32_t)(READ_BIT(CORDICx->CSR, CORDIC_CSR_RESSIZE));
554:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** }
555:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h ****
556:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** /**
557:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @}
558:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** */
2021-07-03 18:17:05 +02:00
ARM GAS /tmp/ccZOe1qm.s page 12
2021-07-02 22:19:04 +02:00
559:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h ****
560:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** /** @defgroup CORDIC_LL_EF_IT_Management IT_Management
561:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @{
562:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** */
563:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h ****
564:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** /**
565:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @brief Enable CORDIC result ready interrupt
566:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @rmtoll CSR IEN LL_CORDIC_EnableIT
567:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @param CORDICx CORDIC Instance
568:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @retval None
569:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** */
570:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** __STATIC_INLINE void LL_CORDIC_EnableIT(CORDIC_TypeDef *CORDICx)
571:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** {
572:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** SET_BIT(CORDICx->CSR, CORDIC_CSR_IEN);
573:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** }
574:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h ****
575:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** /**
576:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @brief Disable CORDIC result ready interrupt
577:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @rmtoll CSR IEN LL_CORDIC_DisableIT
578:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @param CORDICx CORDIC Instance
579:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @retval None
580:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** */
581:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** __STATIC_INLINE void LL_CORDIC_DisableIT(CORDIC_TypeDef *CORDICx)
582:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** {
583:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** CLEAR_BIT(CORDICx->CSR, CORDIC_CSR_IEN);
584:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** }
585:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h ****
586:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** /**
587:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @brief Check CORDIC result ready interrupt state.
588:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @rmtoll CSR IEN LL_CORDIC_IsEnabledIT
589:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @param CORDICx CORDIC Instance
590:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @retval State of bit (1 or 0).
591:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** */
592:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** __STATIC_INLINE uint32_t LL_CORDIC_IsEnabledIT(CORDIC_TypeDef *CORDICx)
593:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** {
594:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** return ((READ_BIT(CORDICx->CSR, CORDIC_CSR_IEN) == (CORDIC_CSR_IEN)) ? 1U : 0U);
595:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** }
596:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h ****
597:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** /**
598:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @}
599:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** */
600:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h ****
601:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** /** @defgroup CORDIC_LL_EF_DMA_Management DMA_Management
602:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @{
603:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** */
604:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h ****
605:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** /**
606:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @brief Enable CORDIC DMA read channel request.
607:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @rmtoll CSR DMAREN LL_CORDIC_EnableDMAReq_RD
608:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @param CORDICx CORDIC Instance
609:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @retval None
610:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** */
611:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** __STATIC_INLINE void LL_CORDIC_EnableDMAReq_RD(CORDIC_TypeDef *CORDICx)
612:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** {
613:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** SET_BIT(CORDICx->CSR, CORDIC_CSR_DMAREN);
614:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** }
615:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h ****
2021-07-03 18:17:05 +02:00
ARM GAS /tmp/ccZOe1qm.s page 13
2021-07-02 22:19:04 +02:00
616:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** /**
617:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @brief Disable CORDIC DMA read channel request.
618:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @rmtoll CSR DMAREN LL_CORDIC_DisableDMAReq_RD
619:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @param CORDICx CORDIC Instance
620:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @retval None
621:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** */
622:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** __STATIC_INLINE void LL_CORDIC_DisableDMAReq_RD(CORDIC_TypeDef *CORDICx)
623:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** {
624:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** CLEAR_BIT(CORDICx->CSR, CORDIC_CSR_DMAREN);
625:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** }
626:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h ****
627:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** /**
628:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @brief Check CORDIC DMA read channel request state.
629:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @rmtoll CSR DMAREN LL_CORDIC_IsEnabledDMAReq_RD
630:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @param CORDICx CORDIC Instance
631:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @retval State of bit (1 or 0).
632:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** */
633:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** __STATIC_INLINE uint32_t LL_CORDIC_IsEnabledDMAReq_RD(CORDIC_TypeDef *CORDICx)
634:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** {
635:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** return ((READ_BIT(CORDICx->CSR, CORDIC_CSR_DMAREN) == (CORDIC_CSR_DMAREN)) ? 1U : 0U);
636:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** }
637:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h ****
638:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** /**
639:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @brief Enable CORDIC DMA write channel request.
640:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @rmtoll CSR DMAWEN LL_CORDIC_EnableDMAReq_WR
641:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @param CORDICx CORDIC Instance
642:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @retval None
643:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** */
644:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** __STATIC_INLINE void LL_CORDIC_EnableDMAReq_WR(CORDIC_TypeDef *CORDICx)
645:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** {
646:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** SET_BIT(CORDICx->CSR, CORDIC_CSR_DMAWEN);
647:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** }
648:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h ****
649:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** /**
650:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @brief Disable CORDIC DMA write channel request.
651:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @rmtoll CSR DMAWEN LL_CORDIC_DisableDMAReq_WR
652:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @param CORDICx CORDIC Instance
653:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @retval None
654:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** */
655:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** __STATIC_INLINE void LL_CORDIC_DisableDMAReq_WR(CORDIC_TypeDef *CORDICx)
656:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** {
657:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** CLEAR_BIT(CORDICx->CSR, CORDIC_CSR_DMAWEN);
658:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** }
659:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h ****
660:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** /**
661:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @brief Check CORDIC DMA write channel request state.
662:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @rmtoll CSR DMAWEN LL_CORDIC_IsEnabledDMAReq_WR
663:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @param CORDICx CORDIC Instance
664:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @retval State of bit (1 or 0).
665:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** */
666:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** __STATIC_INLINE uint32_t LL_CORDIC_IsEnabledDMAReq_WR(CORDIC_TypeDef *CORDICx)
667:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** {
668:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** return ((READ_BIT(CORDICx->CSR, CORDIC_CSR_DMAWEN) == (CORDIC_CSR_DMAWEN)) ? 1U : 0U);
669:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** }
670:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h ****
671:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** /**
672:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @brief Get the CORDIC data register address used for DMA transfer.
2021-07-03 18:17:05 +02:00
ARM GAS /tmp/ccZOe1qm.s page 14
2021-07-02 22:19:04 +02:00
673:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @rmtoll RDATA RES LL_CORDIC_DMA_GetRegAddr\n
674:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @rmtoll WDATA ARG LL_CORDIC_DMA_GetRegAddr
675:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @param CORDICx CORDIC Instance
676:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @param Direction parameter can be one of the following values:
677:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_DMA_REG_DATA_IN
678:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @arg @ref LL_CORDIC_DMA_REG_DATA_OUT
679:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @retval Address of data register
680:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** */
681:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** __STATIC_INLINE uint32_t LL_CORDIC_DMA_GetRegAddr(CORDIC_TypeDef *CORDICx, uint32_t Direction)
682:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** {
683:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** uint32_t data_reg_addr;
684:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h ****
685:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** if (Direction == LL_CORDIC_DMA_REG_DATA_OUT)
686:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** {
687:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** /* return address of RDATA register */
688:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** data_reg_addr = (uint32_t) &(CORDICx->RDATA);
689:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** }
690:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** else
691:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** {
692:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** /* return address of WDATA register */
693:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** data_reg_addr = (uint32_t) &(CORDICx->WDATA);
694:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** }
695:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h ****
696:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** return data_reg_addr;
697:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** }
698:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h ****
699:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** /**
700:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @}
701:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** */
702:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h ****
703:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** /** @defgroup CORDIC_LL_EF_FLAG_Management FLAG_Management
704:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @{
705:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** */
706:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h ****
707:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** /**
708:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @brief Check CORDIC result ready flag state.
709:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @rmtoll CSR RRDY LL_CORDIC_IsActiveFlag_RRDY
710:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @param CORDICx CORDIC Instance
711:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @retval State of bit (1 or 0).
712:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** */
713:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** __STATIC_INLINE uint32_t LL_CORDIC_IsActiveFlag_RRDY(CORDIC_TypeDef *CORDICx)
714:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** {
715:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** return ((READ_BIT(CORDICx->CSR, CORDIC_CSR_RRDY) == (CORDIC_CSR_RRDY)) ? 1U : 0U);
716:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** }
717:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h ****
718:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** /**
719:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @}
720:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** */
721:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h ****
722:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** /** @defgroup CORDIC_LL_EF_Data_Management Data_Management
723:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @{
724:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** */
725:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h ****
726:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** /**
727:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @brief Write 32-bit input data for the CORDIC processing.
728:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @rmtoll WDATA ARG LL_CORDIC_WriteData
729:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @param CORDICx CORDIC Instance
2021-07-03 18:17:05 +02:00
ARM GAS /tmp/ccZOe1qm.s page 15
2021-07-02 22:19:04 +02:00
730:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @param InData 0 .. 0xFFFFFFFF : 32-bit value to be provided as input data for CORDIC processin
731:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @retval None
732:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** */
733:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** __STATIC_INLINE void LL_CORDIC_WriteData(CORDIC_TypeDef *CORDICx, uint32_t InData)
734:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** {
735:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** WRITE_REG(CORDICx->WDATA, InData);
46 .loc 2 735 0
47 0006 0D4C ldr r4, .L10
48 .LBE19:
49 .LBE18:
50 .loc 1 24 0
51 0008 DCF80030 ldr r3, [ip]
52 .LVL1:
18:Core/Src/tx.c **** uint16_t i = 0;
53 .loc 1 18 0
54 000c 049E ldr r6, [sp, #16]
55 .LBB21:
56 .LBB20:
57 .loc 2 735 0
58 000e 6360 str r3, [r4, #4]
59 .LVL2:
60 .LBE20:
61 .LBE21:
25:Core/Src/tx.c **** while(i < (size * 2)){
62 .loc 1 25 0
63 0010 81B1 cbz r1, .L2
64 0012 B610 asrs r6, r6, #2
65 .LVL3:
66 0014 4F00 lsls r7, r1, #1
67 0016 3344 add r3, r3, r6
68 .LVL4:
19:Core/Src/tx.c **** int32_t sin, cos, tmp;
69 .loc 1 19 0
70 0018 0022 movs r2, #0
71 .LVL5:
72 .L3:
73 .LBB22:
74 .LBB23:
736:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** }
737:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h ****
738:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** /**
739:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @brief Return 32-bit output data of CORDIC processing.
740:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @rmtoll RDATA RES LL_CORDIC_ReadData
741:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @param CORDICx CORDIC Instance
742:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** * @retval 32-bit output data of CORDIC processing.
743:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** */
744:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** __STATIC_INLINE uint32_t LL_CORDIC_ReadData(CORDIC_TypeDef *CORDICx)
745:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** {
746:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** return (uint32_t)(READ_REG(CORDICx->RDATA));
75 .loc 2 746 0
76 001a A168 ldr r1, [r4, #8]
77 .LVL6:
78 .LBE23:
79 .LBE22:
80 .LBB24:
81 .LBB25:
735:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** }
2021-07-03 18:17:05 +02:00
ARM GAS /tmp/ccZOe1qm.s page 16
2021-07-02 22:19:04 +02:00
82 .loc 2 735 0
83 001c 6360 str r3, [r4, #4]
84 .LBE25:
85 .LBE24:
26:Core/Src/tx.c **** tmp = LL_CORDIC_ReadData(CORDIC);
27:Core/Src/tx.c **** phase_accu += nco_freq;
28:Core/Src/tx.c **** LL_CORDIC_WriteData(CORDIC, phase_accu);
29:Core/Src/tx.c **** sin = (int16_t)tmp;
30:Core/Src/tx.c **** cos = tmp>>16;
31:Core/Src/tx.c **** // out[i] = (int32_t)cos;
32:Core/Src/tx.c **** // out[i] = 2000;
33:Core/Src/tx.c **** out[i] = cos>>4;
86 .loc 1 33 0
87 001e 0915 asrs r1, r1, #20
88 .LVL7:
34:Core/Src/tx.c **** // out[i] = (I_in[i] * sin) + (Q_in[i] * cos);
35:Core/Src/tx.c **** i++;
89 .loc 1 35 0
90 0020 551C adds r5, r2, #1
33:Core/Src/tx.c **** // out[i] = (I_in[i] * sin) + (Q_in[i] * cos);
91 .loc 1 33 0
92 0022 20F81210 strh r1, [r0, r2, lsl #1] @ movhi
93 .loc 1 35 0
94 0026 AAB2 uxth r2, r5
95 .LVL8:
25:Core/Src/tx.c **** tmp = LL_CORDIC_ReadData(CORDIC);
96 .loc 1 25 0
97 0028 BA42 cmp r2, r7
27:Core/Src/tx.c **** LL_CORDIC_WriteData(CORDIC, phase_accu);
98 .loc 1 27 0
99 002a 1946 mov r1, r3
100 .LVL9:
101 002c 3344 add r3, r3, r6
25:Core/Src/tx.c **** tmp = LL_CORDIC_ReadData(CORDIC);
102 .loc 1 25 0
103 002e F4DB blt .L3
104 0030 CCF80010 str r1, [ip]
105 .LVL10:
106 .L2:
107 .LBB26:
108 .LBB27:
109 .loc 2 746 0
110 0034 014B ldr r3, .L10
111 .LBE27:
112 .LBE26:
36:Core/Src/tx.c **** }
37:Core/Src/tx.c **** tmp = LL_CORDIC_ReadData(CORDIC);
38:Core/Src/tx.c **** }
113 .loc 1 38 0
114 0036 F0BC pop {r4, r5, r6, r7}
115 .LCFI1:
116 .cfi_restore 7
117 .cfi_restore 6
118 .cfi_restore 5
119 .cfi_restore 4
120 .cfi_def_cfa_offset 0
121 .LBB29:
2021-07-03 18:17:05 +02:00
ARM GAS /tmp/ccZOe1qm.s page 17
2021-07-02 22:19:04 +02:00
122 .LBB28:
123 .loc 2 746 0
124 0038 9B68 ldr r3, [r3, #8]
125 .LVL11:
126 .LBE28:
127 .LBE29:
128 .loc 1 38 0
129 003a 7047 bx lr
130 .L11:
131 .align 2
132 .L10:
133 003c 000C0240 .word 1073875968
134 0040 00000000 .word .LANCHOR0
135 .cfi_endproc
136 .LFE404:
138 .section .text.ssb_modulator,"ax",%progbits
139 .align 1
140 .p2align 2,,3
141 .global ssb_modulator
142 .syntax unified
143 .thumb
144 .thumb_func
145 .fpu fpv4-sp-d16
147 ssb_modulator:
148 .LFB405:
39:Core/Src/tx.c ****
40:Core/Src/tx.c **** // modulatori
41:Core/Src/tx.c ****
42:Core/Src/tx.c **** void ssb_modulator(q31_t *out_I, q31_t *out_Q, uint16_t size, q31_t *in, q31_t nco_freq){
149 .loc 1 42 0
150 .cfi_startproc
151 @ args = 4, pretend = 0, frame = 0
152 @ frame_needed = 0, uses_anonymous_args = 0
153 .LVL12:
154 0000 2DE9F843 push {r3, r4, r5, r6, r7, r8, r9, lr}
155 .LCFI2:
156 .cfi_def_cfa_offset 32
157 .cfi_offset 3, -32
158 .cfi_offset 4, -28
159 .cfi_offset 5, -24
160 .cfi_offset 6, -20
161 .cfi_offset 7, -16
162 .cfi_offset 8, -12
163 .cfi_offset 9, -8
164 .cfi_offset 14, -4
43:Core/Src/tx.c **** uint16_t i;
44:Core/Src/tx.c **** static int32_t phase_accu;
45:Core/Src/tx.c **** int32_t sin, cos, tmp;
46:Core/Src/tx.c **** LL_CORDIC_WriteData(CORDIC, phase_accu);
165 .loc 1 46 0
166 0004 124E ldr r6, .L20
167 .LBB30:
168 .LBB31:
735:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** }
169 .loc 2 735 0
170 0006 1348 ldr r0, .L20+4
171 .LVL13:
2021-07-03 18:17:05 +02:00
ARM GAS /tmp/ccZOe1qm.s page 18
2021-07-02 22:19:04 +02:00
172 .LBE31:
173 .LBE30:
174 .loc 1 46 0
175 0008 3168 ldr r1, [r6]
176 .LVL14:
42:Core/Src/tx.c **** uint16_t i;
177 .loc 1 42 0
178 000a 089F ldr r7, [sp, #32]
179 .LBB33:
180 .LBB32:
735:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** }
181 .loc 2 735 0
182 000c 4160 str r1, [r0, #4]
183 .LVL15:
184 .LBE32:
185 .LBE33:
47:Core/Src/tx.c **** i = 0;
48:Core/Src/tx.c **** while(i < size){
186 .loc 1 48 0
187 000e D2B1 cbz r2, .L13
188 0010 02F1FF38 add r8, r2, #-1
189 0014 1FFA88F8 uxth r8, r8
190 0018 03EB8808 add r8, r3, r8, lsl #2
191 001c 1C1F subs r4, r3, #4
192 .LBB34:
193 .LBB35:
194 .loc 2 746 0
195 001e 8146 mov r9, r0
196 0020 00E0 b .L14
197 .LVL16:
198 .L19:
199 0022 3168 ldr r1, [r6]
200 .LVL17:
201 .L14:
202 0024 D9F80850 ldr r5, [r9, #8]
203 .LVL18:
204 .LBE35:
205 .LBE34:
49:Core/Src/tx.c **** tmp = LL_CORDIC_ReadData(CORDIC);
50:Core/Src/tx.c **** phase_accu += nco_freq;
206 .loc 1 50 0
207 0028 3944 add r1, r1, r7
208 002a 3160 str r1, [r6]
209 .LVL19:
210 .LBB36:
211 .LBB37:
735:Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_ll_cordic.h **** }
212 .loc 2 735 0
213 002c C9F80410 str r1, [r9, #4]
214 .LVL20:
215 .LBE37:
216 .LBE36:
51:Core/Src/tx.c **** LL_CORDIC_WriteData(CORDIC, phase_accu);
52:Core/Src/tx.c **** sin = (int16_t)tmp;
53:Core/Src/tx.c **** cos = tmp>>16;
54:Core/Src/tx.c **** out_I = sat_mult_q31(sin, in[i]);
217 .loc 1 54 0
2021-07-03 18:17:05 +02:00
ARM GAS /tmp/ccZOe1qm.s page 19
2021-07-02 22:19:04 +02:00
218 0030 54F8041F ldr r1, [r4, #4]!
219 0034 28B2 sxth r0, r5
220 .LVL21:
221 0036 FFF7FEFF bl sat_mult_q31
222 .LVL22:
55:Core/Src/tx.c **** out_Q = sat_mult_q31(cos, in[i]);
223 .loc 1 55 0
224 003a 2814 asrs r0, r5, #16
225 .LVL23:
226 003c 2168 ldr r1, [r4]
227 003e FFF7FEFF bl sat_mult_q31
228 .LVL24:
48:Core/Src/tx.c **** tmp = LL_CORDIC_ReadData(CORDIC);
229 .loc 1 48 0
230 0042 A045 cmp r8, r4
231 0044 EDD1 bne .L19
232 .LVL25:
233 .L13:
234 .LBB38:
235 .LBB39:
236 .loc 2 746 0
237 0046 034B ldr r3, .L20+4
238 0048 9B68 ldr r3, [r3, #8]
239 .LVL26:
240 .LBE39:
241 .LBE38:
56:Core/Src/tx.c **** i++;
57:Core/Src/tx.c **** }
58:Core/Src/tx.c **** tmp = LL_CORDIC_ReadData(CORDIC);
59:Core/Src/tx.c ****
60:Core/Src/tx.c **** }
242 .loc 1 60 0
243 004a BDE8F883 pop {r3, r4, r5, r6, r7, r8, r9, pc}
244 .L21:
245 004e 00BF .align 2
246 .L20:
247 0050 00000000 .word .LANCHOR1
248 0054 000C0240 .word 1073875968
249 .cfi_endproc
250 .LFE405:
252 .section .text.dc_modulator,"ax",%progbits
253 .align 1
254 .p2align 2,,3
255 .global dc_modulator
256 .syntax unified
257 .thumb
258 .thumb_func
259 .fpu fpv4-sp-d16
261 dc_modulator:
262 .LFB406:
61:Core/Src/tx.c ****
62:Core/Src/tx.c **** void dc_modulator(q31_t *in, uint16_t size, q31_t *out){
263 .loc 1 62 0
264 .cfi_startproc
265 @ args = 0, pretend = 0, frame = 0
266 @ frame_needed = 0, uses_anonymous_args = 0
267 @ link register save eliminated.
2021-07-03 18:17:05 +02:00
ARM GAS /tmp/ccZOe1qm.s page 20
2021-07-02 22:19:04 +02:00
268 .LVL27:
269 0000 30B4 push {r4, r5}
270 .LCFI3:
271 .cfi_def_cfa_offset 8
272 .cfi_offset 4, -8
273 .cfi_offset 5, -4
274 0002 0A4D ldr r5, .L27
275 0004 043A subs r2, r2, #4
276 .LVL28:
277 0006 011F subs r1, r0, #4
278 .LVL29:
279 0008 00F1FC04 add r4, r0, #252
280 .LVL30:
281 .L24:
63:Core/Src/tx.c **** uint16_t i;
64:Core/Src/tx.c **** i = 0;
65:Core/Src/tx.c **** while(i < LF_BUFFER_SIZE){
66:Core/Src/tx.c **** out[i] = ((in[i]*(int32_t)mic_gain))/4096;
282 .loc 1 66 0
283 000c 51F8040F ldr r0, [r1, #4]!
284 0010 2B68 ldr r3, [r5]
285 0012 03FB00F3 mul r3, r3, r0
286 0016 002B cmp r3, #0
287 0018 B8BF it lt
288 001a 03F6FF73 addwlt r3, r3, #4095
289 001e 0432 adds r2, r2, #4
290 0020 1B13 asrs r3, r3, #12
65:Core/Src/tx.c **** out[i] = ((in[i]*(int32_t)mic_gain))/4096;
291 .loc 1 65 0
292 0022 A142 cmp r1, r4
293 .loc 1 66 0
294 0024 1360 str r3, [r2]
65:Core/Src/tx.c **** out[i] = ((in[i]*(int32_t)mic_gain))/4096;
295 .loc 1 65 0
296 0026 F1D1 bne .L24
67:Core/Src/tx.c **** i++;
68:Core/Src/tx.c **** }
69:Core/Src/tx.c **** }
297 .loc 1 69 0
298 0028 30BC pop {r4, r5}
299 .LCFI4:
300 .cfi_restore 5
301 .cfi_restore 4
302 .cfi_def_cfa_offset 0
303 .LVL31:
304 002a 7047 bx lr
305 .L28:
306 .align 2
307 .L27:
308 002c 00000000 .word mic_gain
309 .cfi_endproc
310 .LFE406:
312 .section .text.am_modulator,"ax",%progbits
313 .align 1
314 .p2align 2,,3
315 .global am_modulator
316 .syntax unified
2021-07-03 18:17:05 +02:00
ARM GAS /tmp/ccZOe1qm.s page 21
2021-07-02 22:19:04 +02:00
317 .thumb
318 .thumb_func
319 .fpu fpv4-sp-d16
321 am_modulator:
322 .LFB407:
70:Core/Src/tx.c ****
71:Core/Src/tx.c **** void am_modulator(q31_t *out_I, q31_t *out_Q, uint16_t size, q31_t *in){
323 .loc 1 71 0
324 .cfi_startproc
325 @ args = 0, pretend = 0, frame = 0
326 @ frame_needed = 0, uses_anonymous_args = 0
327 @ link register save eliminated.
328 .LVL32:
72:Core/Src/tx.c **** // SQRT (I * I + Q * Q)
73:Core/Src/tx.c **** uint16_t i;
74:Core/Src/tx.c **** q31_t acc0, acc1;
75:Core/Src/tx.c **** i = 0;
76:Core/Src/tx.c **** while(i < size){
329 .loc 1 76 0
330 0000 92B1 cbz r2, .L37
331 0002 013A subs r2, r2, #1
332 .LVL33:
333 0004 92B2 uxth r2, r2
71:Core/Src/tx.c **** // SQRT (I * I + Q * Q)
334 .loc 1 71 0
335 0006 30B4 push {r4, r5}
336 .LCFI5:
337 .cfi_def_cfa_offset 8
338 .cfi_offset 4, -8
339 .cfi_offset 5, -4
340 0008 03EB8202 add r2, r3, r2, lsl #2
341 000c 0438 subs r0, r0, #4
342 .LVL34:
343 000e 043B subs r3, r3, #4
344 .LVL35:
345 0010 0439 subs r1, r1, #4
346 .LVL36:
77:Core/Src/tx.c **** out_I[i] = in[i];
78:Core/Src/tx.c **** out_Q[i] = 0;
347 .loc 1 78 0
348 0012 0025 movs r5, #0
349 .LVL37:
350 .L31:
77:Core/Src/tx.c **** out_I[i] = in[i];
351 .loc 1 77 0
352 0014 53F8044F ldr r4, [r3, #4]!
353 0018 40F8044F str r4, [r0, #4]!
76:Core/Src/tx.c **** out_I[i] = in[i];
354 .loc 1 76 0
355 001c 9342 cmp r3, r2
356 .loc 1 78 0
357 001e 41F8045F str r5, [r1, #4]!
76:Core/Src/tx.c **** out_I[i] = in[i];
358 .loc 1 76 0
359 0022 F7D1 bne .L31
79:Core/Src/tx.c **** i++;
80:Core/Src/tx.c **** }
2021-07-03 18:17:05 +02:00
ARM GAS /tmp/ccZOe1qm.s page 22
2021-07-02 22:19:04 +02:00
81:Core/Src/tx.c **** }
360 .loc 1 81 0
361 0024 30BC pop {r4, r5}
362 .LCFI6:
363 .cfi_restore 5
364 .cfi_restore 4
365 .cfi_def_cfa_offset 0
366 0026 7047 bx lr
367 .LVL38:
368 .L37:
369 0028 7047 bx lr
370 .cfi_endproc
371 .LFE407:
373 002a 00BF .section .text.tx_audio_filter_init,"ax",%progbits
374 .align 1
375 .p2align 2,,3
376 .global tx_audio_filter_init
377 .syntax unified
378 .thumb
379 .thumb_func
380 .fpu fpv4-sp-d16
382 tx_audio_filter_init:
383 .LFB408:
82:Core/Src/tx.c ****
83:Core/Src/tx.c **** void tx_audio_filter_init(void){
384 .loc 1 83 0
385 .cfi_startproc
386 @ args = 0, pretend = 0, frame = 0
387 @ frame_needed = 0, uses_anonymous_args = 0
388 0000 30B5 push {r4, r5, lr}
389 .LCFI7:
390 .cfi_def_cfa_offset 12
391 .cfi_offset 4, -12
392 .cfi_offset 5, -8
393 .cfi_offset 14, -4
84:Core/Src/tx.c **** arm_fir_interpolate_init_q15 (&tx_audio_filter_I_struct, TX_AUDIO_FILTER_INTERPOLATION_FACTOR, TX_
394 .loc 1 84 0
395 0002 0C4C ldr r4, .L42
396 0004 0C4B ldr r3, .L42+4
397 0006 0D48 ldr r0, .L42+8
83:Core/Src/tx.c **** arm_fir_interpolate_init_q15 (&tx_audio_filter_I_struct, TX_AUDIO_FILTER_INTERPOLATION_FACTOR, TX_
398 .loc 1 83 0
399 0008 83B0 sub sp, sp, #12
400 .LCFI8:
401 .cfi_def_cfa_offset 24
402 .loc 1 84 0
403 000a 4FF48065 mov r5, #1024
404 000e 0093 str r3, [sp]
405 0010 0195 str r5, [sp, #4]
406 0012 2346 mov r3, r4
407 0014 8022 movs r2, #128
408 0016 1021 movs r1, #16
409 0018 FFF7FEFF bl arm_fir_interpolate_init_q15
410 .LVL39:
85:Core/Src/tx.c **** arm_fir_interpolate_init_q15 (&tx_audio_filter_Q_struct, TX_AUDIO_FILTER_INTERPOLATION_FACTOR, TX_
411 .loc 1 85 0
412 001c 084A ldr r2, .L42+12
2021-07-03 18:17:05 +02:00
ARM GAS /tmp/ccZOe1qm.s page 23
2021-07-02 22:19:04 +02:00
413 001e 0092 str r2, [sp]
414 0020 0195 str r5, [sp, #4]
415 0022 2346 mov r3, r4
416 0024 8022 movs r2, #128
417 0026 1021 movs r1, #16
418 0028 0648 ldr r0, .L42+16
419 002a FFF7FEFF bl arm_fir_interpolate_init_q15
420 .LVL40:
86:Core/Src/tx.c **** }
421 .loc 1 86 0
422 002e 03B0 add sp, sp, #12
423 .LCFI9:
424 .cfi_def_cfa_offset 12
425 @ sp needed
426 0030 30BD pop {r4, r5, pc}
427 .L43:
428 0032 00BF .align 2
429 .L42:
430 0034 00000000 .word tx_audio_filter_coeffs
431 0038 00000000 .word tx_audio_filter_I_state
432 003c 00000000 .word tx_audio_filter_I_struct
433 0040 00000000 .word tx_audio_filter_Q_state
434 0044 00000000 .word tx_audio_filter_Q_struct
435 .cfi_endproc
436 .LFE408:
438 .comm tx_audio_filter_coeffs,512,4
439 .comm tx_audio_filter_Q_state,4604,4
440 .comm tx_audio_filter_I_state,4604,4
441 .comm tx_audio_filter_Q_struct,12,4
442 .comm tx_audio_filter_I_struct,12,4
443 .comm tx_adc_buffer_ready,1,1
444 .comm tx_dac_buffer_toggle,1,1
445 .comm half_tx_dac_buffer_empty,1,1
2021-07-03 18:17:05 +02:00
446 .section .bss.phase_accu.14162,"aw",%nobits
2021-07-02 22:19:04 +02:00
447 .align 2
448 .set .LANCHOR0,. + 0
2021-07-03 18:17:05 +02:00
451 phase_accu.14162:
2021-07-02 22:19:04 +02:00
452 0000 00000000 .space 4
2021-07-03 18:17:05 +02:00
453 .section .bss.phase_accu.14174,"aw",%nobits
2021-07-02 22:19:04 +02:00
454 .align 2
455 .set .LANCHOR1,. + 0
2021-07-03 18:17:05 +02:00
458 phase_accu.14174:
2021-07-02 22:19:04 +02:00
459 0000 00000000 .space 4
460 .text
461 .Letext0:
462 .file 3 "/usr/include/newlib/machine/_default_types.h"
463 .file 4 "/usr/include/newlib/sys/_stdint.h"
464 .file 5 "/usr/include/newlib/sys/lock.h"
465 .file 6 "/usr/include/newlib/sys/_types.h"
466 .file 7 "/usr/lib/gcc/arm-none-eabi/7.3.1/include/stddef.h"
467 .file 8 "/usr/include/newlib/sys/reent.h"
468 .file 9 "/usr/include/newlib/math.h"
469 .file 10 "Middlewares/Third_Party/ARM_CMSIS/CMSIS/DSP/Include/arm_math.h"
470 .file 11 "Drivers/CMSIS/Include/core_cm4.h"
471 .file 12 "Drivers/CMSIS/Device/ST/STM32G4xx/Include/system_stm32g4xx.h"
472 .file 13 "Drivers/CMSIS/Device/ST/STM32G4xx/Include/stm32g431xx.h"
473 .file 14 "Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_hal_def.h"
2021-07-03 18:17:05 +02:00
ARM GAS /tmp/ccZOe1qm.s page 24
2021-07-02 22:19:04 +02:00
474 .file 15 "Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_hal_dma.h"
475 .file 16 "Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_hal_cordic.h"
476 .file 17 "Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_hal_flash.h"
477 .file 18 "Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_hal_uart.h"
478 .file 19 "Drivers/STM32G4xx_HAL_Driver/Inc/stm32g4xx_hal.h"
479 .file 20 "Core/Inc/rx.h"
480 .file 21 "Core/Inc/tx.h"
481 .file 22 "Core/Inc/bassofono.h"
2021-07-03 18:17:05 +02:00
ARM GAS /tmp/ccZOe1qm.s page 25
2021-07-02 22:19:04 +02:00
DEFINED SYMBOLS
*ABS*:0000000000000000 tx.c
2021-07-03 18:17:05 +02:00
/tmp/ccZOe1qm.s:16 .text.tx_mixer:0000000000000000 $t
/tmp/ccZOe1qm.s:24 .text.tx_mixer:0000000000000000 tx_mixer
/tmp/ccZOe1qm.s:133 .text.tx_mixer:000000000000003c $d
/tmp/ccZOe1qm.s:139 .text.ssb_modulator:0000000000000000 $t
/tmp/ccZOe1qm.s:147 .text.ssb_modulator:0000000000000000 ssb_modulator
/tmp/ccZOe1qm.s:247 .text.ssb_modulator:0000000000000050 $d
/tmp/ccZOe1qm.s:253 .text.dc_modulator:0000000000000000 $t
/tmp/ccZOe1qm.s:261 .text.dc_modulator:0000000000000000 dc_modulator
/tmp/ccZOe1qm.s:308 .text.dc_modulator:000000000000002c $d
/tmp/ccZOe1qm.s:313 .text.am_modulator:0000000000000000 $t
/tmp/ccZOe1qm.s:321 .text.am_modulator:0000000000000000 am_modulator
/tmp/ccZOe1qm.s:374 .text.tx_audio_filter_init:0000000000000000 $t
/tmp/ccZOe1qm.s:382 .text.tx_audio_filter_init:0000000000000000 tx_audio_filter_init
/tmp/ccZOe1qm.s:430 .text.tx_audio_filter_init:0000000000000034 $d
2021-07-02 22:19:04 +02:00
*COM*:0000000000000200 tx_audio_filter_coeffs
*COM*:00000000000011fc tx_audio_filter_I_state
*COM*:000000000000000c tx_audio_filter_I_struct
*COM*:00000000000011fc tx_audio_filter_Q_state
*COM*:000000000000000c tx_audio_filter_Q_struct
*COM*:0000000000000001 tx_adc_buffer_ready
*COM*:0000000000000001 tx_dac_buffer_toggle
*COM*:0000000000000001 half_tx_dac_buffer_empty
2021-07-03 18:17:05 +02:00
/tmp/ccZOe1qm.s:447 .bss.phase_accu.14162:0000000000000000 $d
/tmp/ccZOe1qm.s:451 .bss.phase_accu.14162:0000000000000000 phase_accu.14162
/tmp/ccZOe1qm.s:454 .bss.phase_accu.14174:0000000000000000 $d
/tmp/ccZOe1qm.s:458 .bss.phase_accu.14174:0000000000000000 phase_accu.14174
2021-07-02 22:19:04 +02:00
UNDEFINED SYMBOLS
sat_mult_q31
mic_gain
arm_fir_interpolate_init_q15