Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: hello SerialTestv11 SerialTestv12 Sierpinski ... more
Diff: TARGET_NUCLEO_F303K8/stm32f3xx_hal_spi.h
- Revision:
- 123:b0220dba8be7
- Parent:
- 122:f9eeca106725
--- a/TARGET_NUCLEO_F303K8/stm32f3xx_hal_spi.h Thu Jul 07 14:34:11 2016 +0100
+++ b/TARGET_NUCLEO_F303K8/stm32f3xx_hal_spi.h Fri Aug 12 13:04:35 2016 +0200
@@ -2,8 +2,8 @@
******************************************************************************
* @file stm32f3xx_hal_spi.h
* @author MCD Application Team
- * @version V1.2.1
- * @date 29-April-2015
+ * @version V1.3.0
+ * @date 01-July-2016
* @brief Header file of SPI HAL module.
******************************************************************************
* @attention
@@ -140,13 +140,13 @@
uint16_t TxXferSize; /*!< SPI Tx Transfer size */
- uint16_t TxXferCount; /*!< SPI Tx Transfer Counter */
+ __IO uint16_t TxXferCount; /*!< SPI Tx Transfer Counter */
uint8_t *pRxBuffPtr; /*!< Pointer to SPI Rx transfer Buffer */
uint16_t RxXferSize; /*!< SPI Rx Transfer size */
- uint16_t RxXferCount; /*!< SPI Rx Transfer Counter */
+ __IO uint16_t RxXferCount; /*!< SPI Rx Transfer Counter */
uint32_t CRCSize; /*!< SPI CRC size used for the transfer */
@@ -470,10 +470,10 @@
*/
#define __HAL_SPI_CLEAR_MODFFLAG(__HANDLE__) \
do{ \
- __IO uint32_t tmpreg; \
- tmpreg = (__HANDLE__)->Instance->SR; \
+ __IO uint32_t tmpreg_modf; \
+ tmpreg_modf = (__HANDLE__)->Instance->SR; \
(__HANDLE__)->Instance->CR1 &= (~SPI_CR1_SPE); \
- UNUSED(tmpreg); \
+ UNUSED(tmpreg_modf); \
} while(0)
/** @brief Clear the SPI OVR pending flag.
@@ -484,10 +484,10 @@
*/
#define __HAL_SPI_CLEAR_OVRFLAG(__HANDLE__) \
do{ \
- __IO uint32_t tmpreg; \
- tmpreg = (__HANDLE__)->Instance->DR; \
- tmpreg = (__HANDLE__)->Instance->SR; \
- UNUSED(tmpreg); \
+ __IO uint32_t tmpreg_ovr; \
+ tmpreg_ovr = (__HANDLE__)->Instance->DR; \
+ tmpreg_ovr = (__HANDLE__)->Instance->SR; \
+ UNUSED(tmpreg_ovr); \
} while(0)
/** @brief Clear the SPI FRE pending flag.
@@ -498,9 +498,9 @@
*/
#define __HAL_SPI_CLEAR_FREFLAG(__HANDLE__) \
do{ \
- __IO uint32_t tmpreg; \
- tmpreg = (__HANDLE__)->Instance->SR; \
- UNUSED(tmpreg); \
+ __IO uint32_t tmpreg_fre; \
+ tmpreg_fre = (__HANDLE__)->Instance->SR; \
+ UNUSED(tmpreg_fre); \
} while(0)
/** @brief Enable the SPI peripheral.


