Skip to content

Commit a68d97d

Browse files
committed
Update STM32F3xx HAL Drivers to v1.5.2
Included in STM32CubeF3 FW V1.10.0 Signed-off-by: Frederic.Pillon <[email protected]>
1 parent 8854222 commit a68d97d

29 files changed

+5977
-2923
lines changed

system/Drivers/STM32F3xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h

+446-248
Large diffs are not rendered by default.

system/Drivers/STM32F3xx_HAL_Driver/Inc/Legacy/stm32f3xx_hal_can_legacy.h

+819
Large diffs are not rendered by default.

system/Drivers/STM32F3xx_HAL_Driver/Inc/stm32f3xx_hal.h

+11
Original file line numberDiff line numberDiff line change
@@ -900,6 +900,17 @@ HAL_StatusTypeDef HAL_InitTick (uint32_t TickPriority);
900900
* @}
901901
*/
902902

903+
/* Exported variables ---------------------------------------------------------*/
904+
/** @addtogroup HAL_Exported_Variables
905+
* @{
906+
*/
907+
extern __IO uint32_t uwTick;
908+
extern uint32_t uwTickPrio;
909+
extern HAL_TickFreqTypeDef uwTickFreq;
910+
/**
911+
* @}
912+
*/
913+
903914
/** @addtogroup HAL_Exported_Functions_Group2 HAL Control functions
904915
* @brief HAL Control functions
905916
* @{

system/Drivers/STM32F3xx_HAL_Driver/Inc/stm32f3xx_hal_can.h

+380-407
Large diffs are not rendered by default.

system/Drivers/STM32F3xx_HAL_Driver/Inc/stm32f3xx_hal_comp.h

+13-13
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,15 @@
3030
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
3131
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3232
*
33-
******************************************************************************
33+
******************************************************************************
3434
*/
3535

3636
/* Define to prevent recursive inclusion -------------------------------------*/
3737
#ifndef __STM32F3xx_HAL_COMP_H
3838
#define __STM32F3xx_HAL_COMP_H
3939

4040
#ifdef __cplusplus
41-
extern "C" {
41+
extern "C" {
4242
#endif
4343

4444
/* Includes ------------------------------------------------------------------*/
@@ -52,12 +52,12 @@
5252
* @{
5353
*/
5454

55-
/* Exported types ------------------------------------------------------------*/
55+
/* Exported types ------------------------------------------------------------*/
5656
/** @defgroup COMP_Exported_Types COMP Exported Types
5757
* @{
5858
*/
59-
/**
60-
* @brief COMP Init structure definition
59+
/**
60+
* @brief COMP Init structure definition
6161
*/
6262
typedef struct
6363
{
@@ -90,13 +90,13 @@ typedef struct
9090

9191
uint32_t WindowMode; /*!< Selects the window mode of the comparator X (X=2U, 4 or 6 if available).
9292
This parameter can be a value of @ref COMPEx_WindowMode */
93-
93+
9494
uint32_t TriggerMode; /*!< Selects the trigger mode of the comparator (interrupt mode).
9595
This parameter can be a value of @ref COMP_TriggerMode */
9696

97-
}COMP_InitTypeDef;
97+
} COMP_InitTypeDef;
9898

99-
/**
99+
/**
100100
* @brief HAL State structures definition
101101
*/
102102
typedef enum
@@ -106,9 +106,9 @@ typedef enum
106106
HAL_COMP_STATE_READY_LOCKED = 0x11U, /*!< COMP initialized but the configuration is locked */
107107
HAL_COMP_STATE_BUSY = 0x02U, /*!< COMP is running */
108108
HAL_COMP_STATE_BUSY_LOCKED = 0x12 /*!< COMP is running and the configuration is locked */
109-
}HAL_COMP_StateTypeDef;
109+
} HAL_COMP_StateTypeDef;
110110

111-
/**
111+
/**
112112
* @brief COMP Handle Structure definition
113113
*/
114114
typedef struct
@@ -117,7 +117,7 @@ typedef struct
117117
COMP_InitTypeDef Init; /*!< COMP required parameters */
118118
HAL_LockTypeDef Lock; /*!< Locking object */
119119
__IO HAL_COMP_StateTypeDef State; /*!< COMP communication state */
120-
}COMP_HandleTypeDef;
120+
} COMP_HandleTypeDef;
121121

122122
/**
123123
* @}
@@ -139,7 +139,7 @@ typedef struct
139139

140140
/** @defgroup COMP_OutputLevel COMP Output Level
141141
* @{
142-
*/
142+
*/
143143
/* When output polarity is not inverted, comparator output is low when
144144
the non-inverting input is at a lower voltage than the inverting input*/
145145
#define COMP_OUTPUTLEVEL_LOW (0x00000000U)
@@ -202,7 +202,7 @@ typedef struct
202202
*/
203203
/* Initialization and de-initialization functions ****************************/
204204
HAL_StatusTypeDef HAL_COMP_Init(COMP_HandleTypeDef *hcomp);
205-
HAL_StatusTypeDef HAL_COMP_DeInit (COMP_HandleTypeDef *hcomp);
205+
HAL_StatusTypeDef HAL_COMP_DeInit(COMP_HandleTypeDef *hcomp);
206206
void HAL_COMP_MspInit(COMP_HandleTypeDef *hcomp);
207207
void HAL_COMP_MspDeInit(COMP_HandleTypeDef *hcomp);
208208
/**

0 commit comments

Comments
 (0)