Rev 2 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2 | Rev 5 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | /** |
1 | /** |
2 | ****************************************************************************** |
2 | ****************************************************************************** |
3 | * @file stm32f1xx_hal.c |
3 | * @file stm32f1xx_hal.c |
4 | * @author MCD Application Team |
4 | * @author MCD Application Team |
5 | * @version V1.0.1 |
5 | * @version V1.0.4 |
6 | * @date 31-July-2015 |
6 | * @date 29-April-2016 |
7 | * @brief HAL module driver. |
7 | * @brief HAL module driver. |
8 | * This is the common part of the HAL initialization |
8 | * This is the common part of the HAL initialization |
9 | * |
9 | * |
10 | @verbatim |
10 | @verbatim |
11 | ============================================================================== |
11 | ============================================================================== |
Line 21... | Line 21... | ||
21 | 21 | ||
22 | @endverbatim |
22 | @endverbatim |
23 | ****************************************************************************** |
23 | ****************************************************************************** |
24 | * @attention |
24 | * @attention |
25 | * |
25 | * |
26 | * <h2><center>© COPYRIGHT(c) 2015 STMicroelectronics</center></h2> |
26 | * <h2><center>© COPYRIGHT(c) 2016 STMicroelectronics</center></h2> |
27 | * |
27 | * |
28 | * Redistribution and use in source and binary forms, with or without modification, |
28 | * Redistribution and use in source and binary forms, with or without modification, |
29 | * are permitted provided that the following conditions are met: |
29 | * are permitted provided that the following conditions are met: |
30 | * 1. Redistributions of source code must retain the above copyright notice, |
30 | * 1. Redistributions of source code must retain the above copyright notice, |
31 | * this list of conditions and the following disclaimer. |
31 | * this list of conditions and the following disclaimer. |
Line 70... | Line 70... | ||
70 | /** @defgroup HAL_Private_Constants HAL Private Constants |
70 | /** @defgroup HAL_Private_Constants HAL Private Constants |
71 | * @{ |
71 | * @{ |
72 | */ |
72 | */ |
73 | 73 | ||
74 | /** |
74 | /** |
75 | * @brief STM32F1xx HAL Driver version number V1.0.1 |
75 | * @brief STM32F1xx HAL Driver version number |
76 | */ |
76 | */ |
77 | #define __STM32F1xx_HAL_VERSION_MAIN (0x01) /*!< [31:24] main version */ |
77 | #define __STM32F1xx_HAL_VERSION_MAIN (0x01) /*!< [31:24] main version */ |
78 | #define __STM32F1xx_HAL_VERSION_SUB1 (0x00) /*!< [23:16] sub1 version */ |
78 | #define __STM32F1xx_HAL_VERSION_SUB1 (0x00) /*!< [23:16] sub1 version */ |
79 | #define __STM32F1xx_HAL_VERSION_SUB2 (0x01) /*!< [15:8] sub2 version */ |
79 | #define __STM32F1xx_HAL_VERSION_SUB2 (0x04) /*!< [15:8] sub2 version */ |
80 | #define __STM32F1xx_HAL_VERSION_RC (0x00) /*!< [7:0] release candidate */ |
80 | #define __STM32F1xx_HAL_VERSION_RC (0x00) /*!< [7:0] release candidate */ |
81 | #define __STM32F1xx_HAL_VERSION ((__STM32F1xx_HAL_VERSION_MAIN << 24)\ |
81 | #define __STM32F1xx_HAL_VERSION ((__STM32F1xx_HAL_VERSION_MAIN << 24)\ |
82 | |(__STM32F1xx_HAL_VERSION_SUB1 << 16)\ |
82 | |(__STM32F1xx_HAL_VERSION_SUB1 << 16)\ |
83 | |(__STM32F1xx_HAL_VERSION_SUB2 << 8 )\ |
83 | |(__STM32F1xx_HAL_VERSION_SUB2 << 8 )\ |
84 | |(__STM32F1xx_HAL_VERSION_RC)) |
84 | |(__STM32F1xx_HAL_VERSION_RC)) |