ARM GAS  C:\Users\lenex\AppData\Local\Temp\cc18ePse.s 			page 1


   1              		.cpu cortex-m7
   2              		.arch armv7e-m
   3              		.fpu fpv5-d16
   4              		.eabi_attribute 28, 1
   5              		.eabi_attribute 20, 1
   6              		.eabi_attribute 21, 1
   7              		.eabi_attribute 23, 3
   8              		.eabi_attribute 24, 1
   9              		.eabi_attribute 25, 1
  10              		.eabi_attribute 26, 1
  11              		.eabi_attribute 30, 1
  12              		.eabi_attribute 34, 1
  13              		.eabi_attribute 18, 4
  14              		.file	"stm32h7xx_hal_spi_ex.c"
  15              		.text
  16              	.Ltext0:
  17              		.cfi_sections	.debug_frame
  18              		.file 1 "Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c"
  19              		.section	.text.HAL_SPIEx_FlushRxFifo,"ax",%progbits
  20              		.align	1
  21              		.global	HAL_SPIEx_FlushRxFifo
  22              		.syntax unified
  23              		.thumb
  24              		.thumb_func
  26              	HAL_SPIEx_FlushRxFifo:
  27              	.LVL0:
  28              	.LFB335:
   1:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c **** /**
   2:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****   ******************************************************************************
   3:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****   * @file    stm32h7xx_hal_spi_ex.c
   4:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****   * @author  MCD Application Team
   5:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****   * @brief   Extended SPI HAL module driver.
   6:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****   *          This file provides firmware functions to manage the following
   7:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****   *          SPI peripheral extended functionalities :
   8:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****   *           + IO operation functions
   9:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****   *           + Peripheral Control functions
  10:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****   *
  11:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****   ******************************************************************************
  12:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****   * @attention
  13:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****   *
  14:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****   * Copyright (c) 2017 STMicroelectronics.
  15:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****   * All rights reserved.
  16:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****   *
  17:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****   * This software is licensed under terms that can be found in the LICENSE file
  18:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****   * in the root directory of this software component.
  19:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****   * If no LICENSE file comes with this software, it is provided AS-IS.
  20:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****   *
  21:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****   ******************************************************************************
  22:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****   */
  23:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c **** 
  24:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c **** /* Includes ------------------------------------------------------------------*/
  25:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c **** #include "stm32h7xx_hal.h"
  26:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c **** 
  27:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c **** /** @addtogroup STM32H7xx_HAL_Driver
  28:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****   * @{
  29:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****   */
  30:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c **** 
ARM GAS  C:\Users\lenex\AppData\Local\Temp\cc18ePse.s 			page 2


  31:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c **** /** @defgroup SPIEx SPIEx
  32:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****   * @brief SPI Extended HAL module driver
  33:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****   * @{
  34:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****   */
  35:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c **** #ifdef HAL_SPI_MODULE_ENABLED
  36:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c **** 
  37:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c **** /* Private typedef -----------------------------------------------------------*/
  38:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c **** /* Private defines -----------------------------------------------------------*/
  39:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c **** /* Private macros ------------------------------------------------------------*/
  40:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c **** /* Private variables ---------------------------------------------------------*/
  41:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c **** /* Private function prototypes -----------------------------------------------*/
  42:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c **** /* Exported functions --------------------------------------------------------*/
  43:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c **** 
  44:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c **** /** @defgroup SPIEx_Exported_Functions SPIEx Exported Functions
  45:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****   * @{
  46:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****   */
  47:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c **** 
  48:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c **** /** @defgroup SPIEx_Exported_Functions_Group1 IO operation functions
  49:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****   *  @brief   Data transfers functions
  50:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****   *
  51:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c **** @verbatim
  52:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****   ==============================================================================
  53:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****                       ##### IO operation functions #####
  54:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****  ===============================================================================
  55:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****  [..]
  56:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****     This subsection provides a set of extended functions to manage the SPI
  57:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****     data transfers.
  58:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c **** 
  59:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****     (#) SPIEx function:
  60:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****         (++) HAL_SPIEx_FlushRxFifo()
  61:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****         (++) HAL_SPIEx_FlushRxFifo()
  62:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****         (++) HAL_SPIEx_EnableLockConfiguration()
  63:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****         (++) HAL_SPIEx_ConfigureUnderrun()
  64:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c **** 
  65:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c **** @endverbatim
  66:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****   * @{
  67:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****   */
  68:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c **** 
  69:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c **** /**
  70:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****   * @brief Flush the RX fifo.
  71:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****   * @param  hspi: pointer to a SPI_HandleTypeDef structure that contains
  72:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****   *               the configuration information for the specified SPI module.
  73:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****   * @retval HAL status
  74:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****   */
  75:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c **** HAL_StatusTypeDef HAL_SPIEx_FlushRxFifo(const SPI_HandleTypeDef *hspi)
  76:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c **** {
  29              		.loc 1 76 1 view -0
  30              		.cfi_startproc
  31              		@ args = 0, pretend = 0, frame = 8
  32              		@ frame_needed = 0, uses_anonymous_args = 0
  33              		@ link register save eliminated.
  34              		.loc 1 76 1 is_stmt 0 view .LVU1
  35 0000 10B4     		push	{r4}
  36              		.cfi_def_cfa_offset 4
  37              		.cfi_offset 4, -4
  38 0002 83B0     		sub	sp, sp, #12
  39              		.cfi_def_cfa_offset 16
ARM GAS  C:\Users\lenex\AppData\Local\Temp\cc18ePse.s 			page 3


  77:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****   uint8_t  count  = 0;
  40              		.loc 1 77 3 is_stmt 1 view .LVU2
  41              	.LVL1:
  78:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****   uint32_t itflag = hspi->Instance->SR;
  42              		.loc 1 78 3 view .LVU3
  43              		.loc 1 78 25 is_stmt 0 view .LVU4
  44 0004 0268     		ldr	r2, [r0]
  45              		.loc 1 78 12 view .LVU5
  46 0006 5469     		ldr	r4, [r2, #20]
  47              	.LVL2:
  79:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****   __IO uint32_t tmpreg;
  48              		.loc 1 79 3 is_stmt 1 view .LVU6
  80:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c **** 
  81:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****   while (((hspi->Instance->SR & SPI_FLAG_FRLVL) !=  SPI_RX_FIFO_0PACKET) || ((itflag & SPI_FLAG_RXW
  49              		.loc 1 81 3 view .LVU7
  77:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****   uint32_t itflag = hspi->Instance->SR;
  50              		.loc 1 77 12 is_stmt 0 view .LVU8
  51 0008 0023     		movs	r3, #0
  52              		.loc 1 81 9 view .LVU9
  53 000a 01E0     		b	.L2
  54              	.LVL3:
  55              	.L3:
  82:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****   {
  83:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****     count += (uint8_t)4UL;
  84:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****     tmpreg = hspi->Instance->RXDR;
  85:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****     UNUSED(tmpreg); /* To avoid GCC warning */
  86:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c **** 
  87:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****     if (IS_SPI_HIGHEND_INSTANCE(hspi->Instance))
  88:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****     {
  89:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****       if (count > SPI_HIGHEND_FIFO_SIZE)
  56              		.loc 1 89 7 is_stmt 1 view .LVU10
  57              		.loc 1 89 10 is_stmt 0 view .LVU11
  58 000c 102B     		cmp	r3, #16
  59 000e 1BD8     		bhi	.L10
  60              	.LVL4:
  61              	.L2:
  81:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****   {
  62              		.loc 1 81 74 is_stmt 1 view .LVU12
  81:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****   {
  63              		.loc 1 81 26 is_stmt 0 view .LVU13
  64 0010 5169     		ldr	r1, [r2, #20]
  81:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****   {
  65              		.loc 1 81 74 view .LVU14
  66 0012 11F4C04F 		tst	r1, #24576
  67 0016 02D1     		bne	.L6
  81:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****   {
  68              		.loc 1 81 74 discriminator 1 view .LVU15
  69 0018 14F4004F 		tst	r4, #32768
  70 001c 12D0     		beq	.L11
  71              	.L6:
  83:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****     tmpreg = hspi->Instance->RXDR;
  72              		.loc 1 83 5 is_stmt 1 view .LVU16
  83:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****     tmpreg = hspi->Instance->RXDR;
  73              		.loc 1 83 11 is_stmt 0 view .LVU17
  74 001e 0433     		adds	r3, r3, #4
  75              	.LVL5:
  83:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****     tmpreg = hspi->Instance->RXDR;
ARM GAS  C:\Users\lenex\AppData\Local\Temp\cc18ePse.s 			page 4


  76              		.loc 1 83 11 view .LVU18
  77 0020 DBB2     		uxtb	r3, r3
  78              	.LVL6:
  84:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****     UNUSED(tmpreg); /* To avoid GCC warning */
  79              		.loc 1 84 5 is_stmt 1 view .LVU19
  84:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****     UNUSED(tmpreg); /* To avoid GCC warning */
  80              		.loc 1 84 28 is_stmt 0 view .LVU20
  81 0022 116B     		ldr	r1, [r2, #48]
  84:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****     UNUSED(tmpreg); /* To avoid GCC warning */
  82              		.loc 1 84 12 view .LVU21
  83 0024 0191     		str	r1, [sp, #4]
  85:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c **** 
  84              		.loc 1 85 5 is_stmt 1 view .LVU22
  85 0026 0199     		ldr	r1, [sp, #4]
  87:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****     {
  86              		.loc 1 87 5 view .LVU23
  87:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****     {
  87              		.loc 1 87 8 is_stmt 0 view .LVU24
  88 0028 0A48     		ldr	r0, .L12
  89 002a 0B49     		ldr	r1, .L12+4
  90 002c 8A42     		cmp	r2, r1
  91 002e 18BF     		it	ne
  92 0030 8242     		cmpne	r2, r0
  93 0032 EBD0     		beq	.L3
  87:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****     {
  94              		.loc 1 87 9 discriminator 1 view .LVU25
  95 0034 01F58061 		add	r1, r1, #1024
  96 0038 8A42     		cmp	r2, r1
  97 003a E7D0     		beq	.L3
  90:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****       {
  91:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****         return HAL_TIMEOUT;
  92:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****       }
  93:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****     }
  94:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****     else
  95:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****     {
  96:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****       if (count > SPI_LOWEND_FIFO_SIZE)
  98              		.loc 1 96 7 is_stmt 1 view .LVU26
  99              		.loc 1 96 10 is_stmt 0 view .LVU27
 100 003c 082B     		cmp	r3, #8
 101 003e E7D9     		bls	.L2
  97:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****       {
  98:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****         return HAL_TIMEOUT;
 102              		.loc 1 98 16 view .LVU28
 103 0040 0320     		movs	r0, #3
 104 0042 02E0     		b	.L5
 105              	.L11:
  99:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****       }
 100:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****     }
 101:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****   }
 102:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****   return HAL_OK;
 106              		.loc 1 102 10 view .LVU29
 107 0044 0020     		movs	r0, #0
 108 0046 00E0     		b	.L5
 109              	.L10:
  91:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****       }
 110              		.loc 1 91 16 view .LVU30
 111 0048 0320     		movs	r0, #3
ARM GAS  C:\Users\lenex\AppData\Local\Temp\cc18ePse.s 			page 5


 112              	.L5:
 103:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c **** }
 113              		.loc 1 103 1 view .LVU31
 114 004a 03B0     		add	sp, sp, #12
 115              		.cfi_def_cfa_offset 4
 116              		@ sp needed
 117 004c 5DF8044B 		ldr	r4, [sp], #4
 118              		.cfi_restore 4
 119              		.cfi_def_cfa_offset 0
 120              	.LVL7:
 121              		.loc 1 103 1 view .LVU32
 122 0050 7047     		bx	lr
 123              	.L13:
 124 0052 00BF     		.align	2
 125              	.L12:
 126 0054 00300140 		.word	1073819648
 127 0058 00380040 		.word	1073756160
 128              		.cfi_endproc
 129              	.LFE335:
 131              		.section	.text.HAL_SPIEx_EnableLockConfiguration,"ax",%progbits
 132              		.align	1
 133              		.global	HAL_SPIEx_EnableLockConfiguration
 134              		.syntax unified
 135              		.thumb
 136              		.thumb_func
 138              	HAL_SPIEx_EnableLockConfiguration:
 139              	.LVL8:
 140              	.LFB336:
 104:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c **** 
 105:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c **** 
 106:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c **** /**
 107:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****   * @brief  Enable the Lock for the AF configuration of associated IOs
 108:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****   *         and write protect the Content of Configuration register 2
 109:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****   *         when SPI is enabled
 110:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****   * @param  hspi: pointer to a SPI_HandleTypeDef structure that contains
 111:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****   *               the configuration information for SPI module.
 112:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****   * @retval None
 113:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****   */
 114:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c **** HAL_StatusTypeDef HAL_SPIEx_EnableLockConfiguration(SPI_HandleTypeDef *hspi)
 115:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c **** {
 141              		.loc 1 115 1 is_stmt 1 view -0
 142              		.cfi_startproc
 143              		@ args = 0, pretend = 0, frame = 0
 144              		@ frame_needed = 0, uses_anonymous_args = 0
 145              		@ link register save eliminated.
 146              		.loc 1 115 1 is_stmt 0 view .LVU34
 147 0000 0346     		mov	r3, r0
 116:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****   HAL_StatusTypeDef errorcode = HAL_OK;
 148              		.loc 1 116 3 is_stmt 1 view .LVU35
 149              	.LVL9:
 117:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c **** 
 118:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****   /* Process Locked */
 119:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****   __HAL_LOCK(hspi);
 150              		.loc 1 119 3 view .LVU36
 151              		.loc 1 119 3 view .LVU37
 152 0002 90F88020 		ldrb	r2, [r0, #128]	@ zero_extendqisi2
 153 0006 012A     		cmp	r2, #1
ARM GAS  C:\Users\lenex\AppData\Local\Temp\cc18ePse.s 			page 6


 154 0008 2DD0     		beq	.L19
 155              		.loc 1 119 3 discriminator 2 view .LVU38
 156 000a 0122     		movs	r2, #1
 157 000c 80F88020 		strb	r2, [r0, #128]
 158              		.loc 1 119 3 view .LVU39
 120:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c **** 
 121:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****   if (hspi->State != HAL_SPI_STATE_READY)
 159              		.loc 1 121 3 view .LVU40
 160              		.loc 1 121 11 is_stmt 0 view .LVU41
 161 0010 90F88120 		ldrb	r2, [r0, #129]	@ zero_extendqisi2
 162              		.loc 1 121 6 view .LVU42
 163 0014 012A     		cmp	r2, #1
 164 0016 0FD1     		bne	.L20
 122:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****   {
 123:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****     errorcode = HAL_BUSY;
 124:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****     hspi->State = HAL_SPI_STATE_READY;
 125:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****     /* Process Unlocked */
 126:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****     __HAL_UNLOCK(hspi);
 127:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****     return errorcode;
 128:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****   }
 129:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c **** 
 130:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****   /* Check if the SPI is disabled to edit IOLOCK bit */
 131:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****   if ((hspi->Instance->CR1 & SPI_CR1_SPE) != SPI_CR1_SPE)
 165              		.loc 1 131 3 is_stmt 1 view .LVU43
 166              		.loc 1 131 12 is_stmt 0 view .LVU44
 167 0018 0268     		ldr	r2, [r0]
 168              		.loc 1 131 22 view .LVU45
 169 001a 1168     		ldr	r1, [r2]
 170              		.loc 1 131 6 view .LVU46
 171 001c 11F0010F 		tst	r1, #1
 172 0020 12D1     		bne	.L17
 132:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****   {
 133:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****     SET_BIT(hspi->Instance->CR1, SPI_CR1_IOLOCK);
 173              		.loc 1 133 5 is_stmt 1 view .LVU47
 174 0022 1168     		ldr	r1, [r2]
 175 0024 41F48031 		orr	r1, r1, #65536
 176 0028 1160     		str	r1, [r2]
 177              	.L18:
 134:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****   }
 135:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****   else
 136:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****   {
 137:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****     /* Disable SPI peripheral */
 138:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****     __HAL_SPI_DISABLE(hspi);
 139:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c **** 
 140:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****     SET_BIT(hspi->Instance->CR1, SPI_CR1_IOLOCK);
 141:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c **** 
 142:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****     /* Enable SPI peripheral */
 143:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****     __HAL_SPI_ENABLE(hspi);
 144:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****   }
 145:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c **** 
 146:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****   hspi->State = HAL_SPI_STATE_READY;
 178              		.loc 1 146 3 view .LVU48
 179              		.loc 1 146 15 is_stmt 0 view .LVU49
 180 002a 0122     		movs	r2, #1
 181 002c 83F88120 		strb	r2, [r3, #129]
 147:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****   /* Process Unlocked */
 148:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****   __HAL_UNLOCK(hspi);
ARM GAS  C:\Users\lenex\AppData\Local\Temp\cc18ePse.s 			page 7


 182              		.loc 1 148 3 is_stmt 1 view .LVU50
 183              		.loc 1 148 3 view .LVU51
 184 0030 0020     		movs	r0, #0
 185              	.LVL10:
 186              		.loc 1 148 3 is_stmt 0 view .LVU52
 187 0032 83F88000 		strb	r0, [r3, #128]
 188              		.loc 1 148 3 is_stmt 1 view .LVU53
 149:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****   return errorcode;
 189              		.loc 1 149 3 view .LVU54
 190              		.loc 1 149 10 is_stmt 0 view .LVU55
 191 0036 7047     		bx	lr
 192              	.LVL11:
 193              	.L20:
 123:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****     hspi->State = HAL_SPI_STATE_READY;
 194              		.loc 1 123 5 is_stmt 1 view .LVU56
 124:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****     /* Process Unlocked */
 195              		.loc 1 124 5 view .LVU57
 124:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****     /* Process Unlocked */
 196              		.loc 1 124 17 is_stmt 0 view .LVU58
 197 0038 0122     		movs	r2, #1
 198 003a 80F88120 		strb	r2, [r0, #129]
 126:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****     return errorcode;
 199              		.loc 1 126 5 is_stmt 1 view .LVU59
 126:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****     return errorcode;
 200              		.loc 1 126 5 view .LVU60
 201 003e 0022     		movs	r2, #0
 202 0040 80F88020 		strb	r2, [r0, #128]
 126:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****     return errorcode;
 203              		.loc 1 126 5 view .LVU61
 127:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****   }
 204              		.loc 1 127 5 view .LVU62
 127:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****   }
 205              		.loc 1 127 12 is_stmt 0 view .LVU63
 206 0044 0220     		movs	r0, #2
 207              	.LVL12:
 127:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****   }
 208              		.loc 1 127 12 view .LVU64
 209 0046 7047     		bx	lr
 210              	.LVL13:
 211              	.L17:
 138:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c **** 
 212              		.loc 1 138 5 is_stmt 1 view .LVU65
 213 0048 1168     		ldr	r1, [r2]
 214 004a 21F00101 		bic	r1, r1, #1
 215 004e 1160     		str	r1, [r2]
 140:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c **** 
 216              		.loc 1 140 5 view .LVU66
 217 0050 0168     		ldr	r1, [r0]
 218 0052 0A68     		ldr	r2, [r1]
 219 0054 42F48032 		orr	r2, r2, #65536
 220 0058 0A60     		str	r2, [r1]
 143:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****   }
 221              		.loc 1 143 5 view .LVU67
 222 005a 0168     		ldr	r1, [r0]
 223 005c 0A68     		ldr	r2, [r1]
 224 005e 42F00102 		orr	r2, r2, #1
 225 0062 0A60     		str	r2, [r1]
ARM GAS  C:\Users\lenex\AppData\Local\Temp\cc18ePse.s 			page 8


 226 0064 E1E7     		b	.L18
 227              	.L19:
 119:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c **** 
 228              		.loc 1 119 3 is_stmt 0 discriminator 1 view .LVU68
 229 0066 0220     		movs	r0, #2
 230              	.LVL14:
 150:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c **** }
 231              		.loc 1 150 1 view .LVU69
 232 0068 7047     		bx	lr
 233              		.cfi_endproc
 234              	.LFE336:
 236              		.section	.text.HAL_SPIEx_ConfigureUnderrun,"ax",%progbits
 237              		.align	1
 238              		.global	HAL_SPIEx_ConfigureUnderrun
 239              		.syntax unified
 240              		.thumb
 241              		.thumb_func
 243              	HAL_SPIEx_ConfigureUnderrun:
 244              	.LVL15:
 245              	.LFB337:
 151:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c **** 
 152:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c **** /**
 153:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****   * @brief  Configure the UNDERRUN condition and behavior of slave transmitter.
 154:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****   * @param  hspi: pointer to a SPI_HandleTypeDef structure that contains
 155:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****   *               the configuration information for SPI module.
 156:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****   * @param  UnderrunDetection : Detection of underrun condition at slave transmitter
 157:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****   *                             This parameter can be a value of @ref SPI_Underrun_Detection.
 158:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****   * @param  UnderrunBehaviour : Behavior of slave transmitter at underrun condition
 159:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****   *                             This parameter can be a value of @ref SPI_Underrun_Behaviour.
 160:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****   * @retval None
 161:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****   */
 162:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c **** HAL_StatusTypeDef HAL_SPIEx_ConfigureUnderrun(SPI_HandleTypeDef *hspi, uint32_t UnderrunDetection,
 163:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****                                               uint32_t UnderrunBehaviour)
 164:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c **** {
 246              		.loc 1 164 1 is_stmt 1 view -0
 247              		.cfi_startproc
 248              		@ args = 0, pretend = 0, frame = 0
 249              		@ frame_needed = 0, uses_anonymous_args = 0
 250              		@ link register save eliminated.
 165:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****   HAL_StatusTypeDef errorcode = HAL_OK;
 251              		.loc 1 165 3 view .LVU71
 166:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c **** 
 167:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****   /* Process Locked */
 168:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****   __HAL_LOCK(hspi);
 252              		.loc 1 168 3 view .LVU72
 253              		.loc 1 168 3 view .LVU73
 254 0000 90F88030 		ldrb	r3, [r0, #128]	@ zero_extendqisi2
 255 0004 012B     		cmp	r3, #1
 256 0006 42D0     		beq	.L27
 257              		.loc 1 168 3 discriminator 2 view .LVU74
 258 0008 0123     		movs	r3, #1
 259 000a 80F88030 		strb	r3, [r0, #128]
 260              		.loc 1 168 3 view .LVU75
 169:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c **** 
 170:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****   /* Check State and Insure that Underrun configuration is managed only by Salve */
 171:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****   if ((hspi->State != HAL_SPI_STATE_READY) || (hspi->Init.Mode != SPI_MODE_SLAVE))
 261              		.loc 1 171 3 view .LVU76
ARM GAS  C:\Users\lenex\AppData\Local\Temp\cc18ePse.s 			page 9


 262              		.loc 1 171 12 is_stmt 0 view .LVU77
 263 000e 90F88130 		ldrb	r3, [r0, #129]	@ zero_extendqisi2
 264              		.loc 1 171 6 view .LVU78
 265 0012 012B     		cmp	r3, #1
 266 0014 1DD1     		bne	.L23
 267              		.loc 1 171 58 discriminator 1 view .LVU79
 268 0016 4368     		ldr	r3, [r0, #4]
 269              		.loc 1 171 44 discriminator 1 view .LVU80
 270 0018 DBB9     		cbnz	r3, .L23
 164:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****   HAL_StatusTypeDef errorcode = HAL_OK;
 271              		.loc 1 164 1 view .LVU81
 272 001a 10B4     		push	{r4}
 273              		.cfi_def_cfa_offset 4
 274              		.cfi_offset 4, -4
 172:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****   {
 173:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****     errorcode = HAL_BUSY;
 174:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****     hspi->State = HAL_SPI_STATE_READY;
 175:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****     /* Process Unlocked */
 176:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****     __HAL_UNLOCK(hspi);
 177:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****     return errorcode;
 178:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****   }
 179:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c **** 
 180:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****   /* Check the parameters */
 181:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****   assert_param(IS_SPI_UNDERRUN_DETECTION(UnderrunDetection));
 275              		.loc 1 181 3 is_stmt 1 view .LVU82
 182:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****   assert_param(IS_SPI_UNDERRUN_BEHAVIOUR(UnderrunBehaviour));
 276              		.loc 1 182 3 view .LVU83
 183:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c **** 
 184:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****   /* Check if the SPI is disabled to edit CFG1 register */
 185:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****   if ((hspi->Instance->CR1 & SPI_CR1_SPE) != SPI_CR1_SPE)
 277              		.loc 1 185 3 view .LVU84
 278              		.loc 1 185 12 is_stmt 0 view .LVU85
 279 001c 0368     		ldr	r3, [r0]
 280              		.loc 1 185 22 view .LVU86
 281 001e 1C68     		ldr	r4, [r3]
 282              		.loc 1 185 6 view .LVU87
 283 0020 14F0010F 		tst	r4, #1
 284 0024 1DD1     		bne	.L25
 186:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****   {
 187:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****     /* Configure Underrun fields */
 188:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****     MODIFY_REG(hspi->Instance->CFG1, SPI_CFG1_UDRDET, UnderrunDetection);
 285              		.loc 1 188 5 is_stmt 1 view .LVU88
 286 0026 9C68     		ldr	r4, [r3, #8]
 287 0028 24F4C05C 		bic	ip, r4, #6144
 288 002c 4CEA0101 		orr	r1, ip, r1
 289              	.LVL16:
 290              		.loc 1 188 5 is_stmt 0 view .LVU89
 291 0030 9960     		str	r1, [r3, #8]
 189:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****     MODIFY_REG(hspi->Instance->CFG1, SPI_CFG1_UDRCFG, UnderrunBehaviour);
 292              		.loc 1 189 5 is_stmt 1 view .LVU90
 293 0032 0168     		ldr	r1, [r0]
 294 0034 8B68     		ldr	r3, [r1, #8]
 295 0036 23F4C063 		bic	r3, r3, #1536
 296 003a 1343     		orrs	r3, r3, r2
 297 003c 8B60     		str	r3, [r1, #8]
 298              	.LVL17:
 299              	.L26:
ARM GAS  C:\Users\lenex\AppData\Local\Temp\cc18ePse.s 			page 10


 190:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****   }
 191:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****   else
 192:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****   {
 193:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****     /* Disable SPI peripheral */
 194:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****     __HAL_SPI_DISABLE(hspi);
 195:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c **** 
 196:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****     /* Configure Underrun fields */
 197:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****     MODIFY_REG(hspi->Instance->CFG1, SPI_CFG1_UDRDET, UnderrunDetection);
 198:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****     MODIFY_REG(hspi->Instance->CFG1, SPI_CFG1_UDRCFG, UnderrunBehaviour);
 199:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c **** 
 200:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****     /* Enable SPI peripheral */
 201:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****     __HAL_SPI_ENABLE(hspi);
 202:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****   }
 203:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c **** 
 204:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c **** 
 205:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****   hspi->State = HAL_SPI_STATE_READY;
 300              		.loc 1 205 3 view .LVU91
 301              		.loc 1 205 15 is_stmt 0 view .LVU92
 302 003e 0123     		movs	r3, #1
 303 0040 80F88130 		strb	r3, [r0, #129]
 206:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****   /* Process Unlocked */
 207:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****   __HAL_UNLOCK(hspi);
 304              		.loc 1 207 3 is_stmt 1 view .LVU93
 305              		.loc 1 207 3 view .LVU94
 306 0044 0023     		movs	r3, #0
 307 0046 80F88030 		strb	r3, [r0, #128]
 308              		.loc 1 207 3 view .LVU95
 208:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****   return errorcode;
 309              		.loc 1 208 3 view .LVU96
 310              		.loc 1 208 10 is_stmt 0 view .LVU97
 311 004a 1846     		mov	r0, r3
 312              	.LVL18:
 209:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c **** }
 313              		.loc 1 209 1 view .LVU98
 314 004c 5DF8044B 		ldr	r4, [sp], #4
 315              		.cfi_restore 4
 316              		.cfi_def_cfa_offset 0
 317 0050 7047     		bx	lr
 318              	.LVL19:
 319              	.L23:
 173:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****     hspi->State = HAL_SPI_STATE_READY;
 320              		.loc 1 173 5 is_stmt 1 view .LVU99
 174:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****     /* Process Unlocked */
 321              		.loc 1 174 5 view .LVU100
 174:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****     /* Process Unlocked */
 322              		.loc 1 174 17 is_stmt 0 view .LVU101
 323 0052 0123     		movs	r3, #1
 324 0054 80F88130 		strb	r3, [r0, #129]
 176:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****     return errorcode;
 325              		.loc 1 176 5 is_stmt 1 view .LVU102
 176:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****     return errorcode;
 326              		.loc 1 176 5 view .LVU103
 327 0058 0023     		movs	r3, #0
 328 005a 80F88030 		strb	r3, [r0, #128]
 176:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****     return errorcode;
 329              		.loc 1 176 5 view .LVU104
 177:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****   }
ARM GAS  C:\Users\lenex\AppData\Local\Temp\cc18ePse.s 			page 11


 330              		.loc 1 177 5 view .LVU105
 177:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****   }
 331              		.loc 1 177 12 is_stmt 0 view .LVU106
 332 005e 0220     		movs	r0, #2
 333              	.LVL20:
 177:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****   }
 334              		.loc 1 177 12 view .LVU107
 335 0060 7047     		bx	lr
 336              	.LVL21:
 337              	.L25:
 338              		.cfi_def_cfa_offset 4
 339              		.cfi_offset 4, -4
 194:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c **** 
 340              		.loc 1 194 5 is_stmt 1 view .LVU108
 341 0062 1C68     		ldr	r4, [r3]
 342 0064 24F00104 		bic	r4, r4, #1
 343 0068 1C60     		str	r4, [r3]
 197:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****     MODIFY_REG(hspi->Instance->CFG1, SPI_CFG1_UDRCFG, UnderrunBehaviour);
 344              		.loc 1 197 5 view .LVU109
 345 006a 0468     		ldr	r4, [r0]
 346 006c A368     		ldr	r3, [r4, #8]
 347 006e 23F4C053 		bic	r3, r3, #6144
 348 0072 0B43     		orrs	r3, r3, r1
 349 0074 A360     		str	r3, [r4, #8]
 198:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c **** 
 350              		.loc 1 198 5 view .LVU110
 351 0076 0168     		ldr	r1, [r0]
 352              	.LVL22:
 198:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c **** 
 353              		.loc 1 198 5 is_stmt 0 view .LVU111
 354 0078 8B68     		ldr	r3, [r1, #8]
 355 007a 23F4C063 		bic	r3, r3, #1536
 356 007e 1343     		orrs	r3, r3, r2
 357 0080 8B60     		str	r3, [r1, #8]
 201:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****   }
 358              		.loc 1 201 5 is_stmt 1 view .LVU112
 359 0082 0268     		ldr	r2, [r0]
 360              	.LVL23:
 201:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c ****   }
 361              		.loc 1 201 5 is_stmt 0 view .LVU113
 362 0084 1368     		ldr	r3, [r2]
 363 0086 43F00103 		orr	r3, r3, #1
 364 008a 1360     		str	r3, [r2]
 365 008c D7E7     		b	.L26
 366              	.LVL24:
 367              	.L27:
 368              		.cfi_def_cfa_offset 0
 369              		.cfi_restore 4
 168:Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal_spi_ex.c **** 
 370              		.loc 1 168 3 discriminator 1 view .LVU114
 371 008e 0220     		movs	r0, #2
 372              	.LVL25:
 373              		.loc 1 209 1 view .LVU115
 374 0090 7047     		bx	lr
 375              		.cfi_endproc
 376              	.LFE337:
 378              		.text
ARM GAS  C:\Users\lenex\AppData\Local\Temp\cc18ePse.s 			page 12


 379              	.Letext0:
 380              		.file 2 "C:/Users/lenex/AppData/Roaming/Code/User/globalStorage/bmd.stm32-for-vscode/@xpack-dev-to
 381              		.file 3 "C:/Users/lenex/AppData/Roaming/Code/User/globalStorage/bmd.stm32-for-vscode/@xpack-dev-to
 382              		.file 4 "Drivers/CMSIS/Device/ST/STM32H7xx/Include/stm32h7a3xx.h"
 383              		.file 5 "Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_def.h"
 384              		.file 6 "Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_dma.h"
 385              		.file 7 "Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_spi.h"
ARM GAS  C:\Users\lenex\AppData\Local\Temp\cc18ePse.s 			page 13


DEFINED SYMBOLS
                            *ABS*:00000000 stm32h7xx_hal_spi_ex.c
C:\Users\lenex\AppData\Local\Temp\cc18ePse.s:20     .text.HAL_SPIEx_FlushRxFifo:00000000 $t
C:\Users\lenex\AppData\Local\Temp\cc18ePse.s:26     .text.HAL_SPIEx_FlushRxFifo:00000000 HAL_SPIEx_FlushRxFifo
C:\Users\lenex\AppData\Local\Temp\cc18ePse.s:126    .text.HAL_SPIEx_FlushRxFifo:00000054 $d
C:\Users\lenex\AppData\Local\Temp\cc18ePse.s:132    .text.HAL_SPIEx_EnableLockConfiguration:00000000 $t
C:\Users\lenex\AppData\Local\Temp\cc18ePse.s:138    .text.HAL_SPIEx_EnableLockConfiguration:00000000 HAL_SPIEx_EnableLockConfiguration
C:\Users\lenex\AppData\Local\Temp\cc18ePse.s:237    .text.HAL_SPIEx_ConfigureUnderrun:00000000 $t
C:\Users\lenex\AppData\Local\Temp\cc18ePse.s:243    .text.HAL_SPIEx_ConfigureUnderrun:00000000 HAL_SPIEx_ConfigureUnderrun

NO UNDEFINED SYMBOLS
