Subversion Repositories DashDisplay

Rev

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.h
3
  * @file    stm32f1xx.h
4
  * @author  MCD Application Team
4
  * @author  MCD Application Team
5
  * @version V4.0.1
5
  * @version V4.1.0
6
  * @date    31-July-2015
6
  * @date    29-April-2016
7
  * @brief   CMSIS STM32F1xx Device Peripheral Access Layer Header File.
7
  * @brief   CMSIS STM32F1xx Device Peripheral Access Layer Header File.
8
  *
8
  *
9
  *          The file is the unique include file that the application programmer
9
  *          The file is the unique include file that the application programmer
10
  *          is using in the C source code, usually in main.c. This file contains:
10
  *          is using in the C source code, usually in main.c. This file contains:
11
  *            - Configuration section that allows to select:
11
  *            - Configuration section that allows to select:
Line 16... Line 16...
16
  *                "#define USE_HAL_DRIVER"
16
  *                "#define USE_HAL_DRIVER"
17
  *  
17
  *  
18
  ******************************************************************************
18
  ******************************************************************************
19
  * @attention
19
  * @attention
20
  *
20
  *
21
  * <h2><center>&copy; COPYRIGHT(c) 2015 STMicroelectronics</center></h2>
21
  * <h2><center>&copy; COPYRIGHT(c) 2016 STMicroelectronics</center></h2>
22
  *
22
  *
23
  * Redistribution and use in source and binary forms, with or without modification,
23
  * Redistribution and use in source and binary forms, with or without modification,
24
  * are permitted provided that the following conditions are met:
24
  * are permitted provided that the following conditions are met:
25
  *   1. Redistributions of source code must retain the above copyright notice,
25
  *   1. Redistributions of source code must retain the above copyright notice,
26
  *      this list of conditions and the following disclaimer.
26
  *      this list of conditions and the following disclaimer.
Line 106... Line 106...
106
   */
106
   */
107
  /*#define USE_HAL_DRIVER */
107
  /*#define USE_HAL_DRIVER */
108
#endif /* USE_HAL_DRIVER */
108
#endif /* USE_HAL_DRIVER */
109
 
109
 
110
/**
110
/**
111
  * @brief CMSIS Device version number V4.0.1
111
  * @brief CMSIS Device version number
112
  */
112
  */
113
#define __STM32F1xx_CMSIS_DEVICE_VERSION_MAIN   (0x04) /*!< [31:24] main version */                                  
113
#define __STM32F1_CMSIS_VERSION_MAIN   (0x04) /*!< [31:24] main version */                                  
114
#define __STM32F1xx_CMSIS_DEVICE_VERSION_SUB1   (0x00) /*!< [23:16] sub1 version */
114
#define __STM32F1_CMSIS_VERSION_SUB1   (0x01) /*!< [23:16] sub1 version */
115
#define __STM32F1xx_CMSIS_DEVICE_VERSION_SUB2   (0x01) /*!< [15:8]  sub2 version */
115
#define __STM32F1_CMSIS_VERSION_SUB2   (0x00) /*!< [15:8]  sub2 version */
116
#define __STM32F1xx_CMSIS_DEVICE_VERSION_RC     (0x00) /*!< [7:0]  release candidate */ 
116
#define __STM32F1_CMSIS_VERSION_RC     (0x00) /*!< [7:0]  release candidate */ 
117
#define __STM32F1xx_CMSIS_DEVICE_VERSION        ((__CMSIS_DEVICE_VERSION_MAIN     << 24)\
117
#define __STM32F1_CMSIS_VERSION        ((__STM32F1_CMSIS_VERSION_MAIN << 24)\
118
                                      |(__CMSIS_DEVICE_HAL_VERSION_SUB1 << 16)\
118
                                       |(__STM32F1_CMSIS_VERSION_SUB1 << 16)\
119
                                      |(__CMSIS_DEVICE_HAL_VERSION_SUB2 << 8 )\
119
                                       |(__STM32F1_CMSIS_VERSION_SUB2 << 8 )\
120
                                      |(__CMSIS_DEVICE_HAL_VERSION_RC))
120
                                       |(__STM32F1_CMSIS_VERSION_RC))
121
 
121
 
122
/**
122
/**
123
  * @}
123
  * @}
124
  */
124
  */
125
 
125