]> git.sur5r.net Git - freertos/blob - FreeRTOS/Demo/CORTEX_STM32F103_GCC_Rowley/ST Library/inc/stm32f10x_dbgmcu.h
Add FreeRTOS-Plus directory.
[freertos] / FreeRTOS / Demo / CORTEX_STM32F103_GCC_Rowley / ST Library / inc / stm32f10x_dbgmcu.h
1 /******************** (C) COPYRIGHT 2008 STMicroelectronics ********************\r
2 * File Name          : stm32f10x_dbgmcu.h\r
3 * Author             : MCD Application Team\r
4 * Version            : V2.0.1\r
5 * Date               : 06/13/2008\r
6 * Description        : This file contains all the functions prototypes for the\r
7 *                      DBGMCU firmware library.\r
8 ********************************************************************************\r
9 * THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS\r
10 * WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE TIME.\r
11 * AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY DIRECT,\r
12 * INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING FROM THE\r
13 * CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE CODING\r
14 * INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.\r
15 *******************************************************************************/\r
16 \r
17 /* Define to prevent recursive inclusion -------------------------------------*/\r
18 #ifndef __STM32F10x_DBGMCU_H\r
19 #define __STM32F10x_DBGMCU_H\r
20 \r
21 /* Includes ------------------------------------------------------------------*/\r
22 #include "stm32f10x_map.h"\r
23 \r
24 /* Exported types ------------------------------------------------------------*/\r
25 /* Exported constants --------------------------------------------------------*/\r
26 #define DBGMCU_SLEEP                 ((u32)0x00000001)\r
27 #define DBGMCU_STOP                  ((u32)0x00000002)\r
28 #define DBGMCU_STANDBY               ((u32)0x00000004)\r
29 #define DBGMCU_IWDG_STOP             ((u32)0x00000100)\r
30 #define DBGMCU_WWDG_STOP             ((u32)0x00000200)\r
31 #define DBGMCU_TIM1_STOP             ((u32)0x00000400)\r
32 #define DBGMCU_TIM2_STOP             ((u32)0x00000800)\r
33 #define DBGMCU_TIM3_STOP             ((u32)0x00001000)\r
34 #define DBGMCU_TIM4_STOP             ((u32)0x00002000)\r
35 #define DBGMCU_CAN_STOP              ((u32)0x00004000)\r
36 #define DBGMCU_I2C1_SMBUS_TIMEOUT    ((u32)0x00008000)\r
37 #define DBGMCU_I2C2_SMBUS_TIMEOUT    ((u32)0x00010000)\r
38 #define DBGMCU_TIM5_STOP             ((u32)0x00020000)\r
39 #define DBGMCU_TIM6_STOP             ((u32)0x00040000)\r
40 #define DBGMCU_TIM7_STOP             ((u32)0x00080000)\r
41 #define DBGMCU_TIM8_STOP             ((u32)0x00100000)\r
42                                            \r
43 #define IS_DBGMCU_PERIPH(PERIPH) ((((PERIPH) & 0xFFE000F8) == 0x00) && ((PERIPH) != 0x00))\r
44 \r
45 /* Exported macro ------------------------------------------------------------*/\r
46 /* Exported functions ------------------------------------------------------- */\r
47 u32 DBGMCU_GetREVID(void);\r
48 u32 DBGMCU_GetDEVID(void);\r
49 void DBGMCU_Config(u32 DBGMCU_Periph, FunctionalState NewState);\r
50 \r
51 #endif /* __STM32F10x_DBGMCU_H */\r
52 \r
53 /******************* (C) COPYRIGHT 2008 STMicroelectronics *****END OF FILE****/\r
54 \r
55 \r