STM32F10x Standard Peripherals Library  3.5.0
/opt/STM32F10x_StdPeriph_Lib_V3.5.0/Libraries/STM32F10x_StdPeriph_Driver/inc/stm32f10x_dbgmcu.h
Go to the documentation of this file.
00001 
00023 /* Define to prevent recursive inclusion -------------------------------------*/
00024 #ifndef __STM32F10x_DBGMCU_H
00025 #define __STM32F10x_DBGMCU_H
00026 
00027 #ifdef __cplusplus
00028  extern "C" {
00029 #endif
00030 
00031 /* Includes ------------------------------------------------------------------*/
00032 #include "stm32f10x.h"
00033 
00054 #define DBGMCU_SLEEP                 ((uint32_t)0x00000001)
00055 #define DBGMCU_STOP                  ((uint32_t)0x00000002)
00056 #define DBGMCU_STANDBY               ((uint32_t)0x00000004)
00057 #define DBGMCU_IWDG_STOP             ((uint32_t)0x00000100)
00058 #define DBGMCU_WWDG_STOP             ((uint32_t)0x00000200)
00059 #define DBGMCU_TIM1_STOP             ((uint32_t)0x00000400)
00060 #define DBGMCU_TIM2_STOP             ((uint32_t)0x00000800)
00061 #define DBGMCU_TIM3_STOP             ((uint32_t)0x00001000)
00062 #define DBGMCU_TIM4_STOP             ((uint32_t)0x00002000)
00063 #define DBGMCU_CAN1_STOP             ((uint32_t)0x00004000)
00064 #define DBGMCU_I2C1_SMBUS_TIMEOUT    ((uint32_t)0x00008000)
00065 #define DBGMCU_I2C2_SMBUS_TIMEOUT    ((uint32_t)0x00010000)
00066 #define DBGMCU_TIM8_STOP             ((uint32_t)0x00020000)
00067 #define DBGMCU_TIM5_STOP             ((uint32_t)0x00040000)
00068 #define DBGMCU_TIM6_STOP             ((uint32_t)0x00080000)
00069 #define DBGMCU_TIM7_STOP             ((uint32_t)0x00100000)
00070 #define DBGMCU_CAN2_STOP             ((uint32_t)0x00200000)
00071 #define DBGMCU_TIM15_STOP            ((uint32_t)0x00400000)
00072 #define DBGMCU_TIM16_STOP            ((uint32_t)0x00800000)
00073 #define DBGMCU_TIM17_STOP            ((uint32_t)0x01000000)
00074 #define DBGMCU_TIM12_STOP            ((uint32_t)0x02000000)
00075 #define DBGMCU_TIM13_STOP            ((uint32_t)0x04000000)
00076 #define DBGMCU_TIM14_STOP            ((uint32_t)0x08000000)
00077 #define DBGMCU_TIM9_STOP             ((uint32_t)0x10000000)
00078 #define DBGMCU_TIM10_STOP            ((uint32_t)0x20000000)
00079 #define DBGMCU_TIM11_STOP            ((uint32_t)0x40000000)
00080                                               
00081 #define IS_DBGMCU_PERIPH(PERIPH) ((((PERIPH) & 0x800000F8) == 0x00) && ((PERIPH) != 0x00))
00082 
00098 uint32_t DBGMCU_GetREVID(void);
00099 uint32_t DBGMCU_GetDEVID(void);
00100 void DBGMCU_Config(uint32_t DBGMCU_Periph, FunctionalState NewState);
00101 
00102 #ifdef __cplusplus
00103 }
00104 #endif
00105 
00106 #endif /* __STM32F10x_DBGMCU_H */
00107 
00119 /******************* (C) COPYRIGHT 2011 STMicroelectronics *****END OF FILE****/