mbed library sources

Fork of mbed-src by mbed official

Committer:
mbed_official
Date:
Mon Dec 02 11:30:05 2013 +0000
Revision:
52:a51c77007319
Child:
70:c1fbde68b492
Synchronized with git revision 49df530ae72ce97ccc773d1f2c13b38e868e6abd

Full URL: https://github.com/mbedmicro/mbed/commit/49df530ae72ce97ccc773d1f2c13b38e868e6abd/

Add STMicroelectronics NUCLEO_F103RB target

Who changed what in which revision?

UserRevisionLine numberNew contents of line
mbed_official 52:a51c77007319 1 /**
mbed_official 52:a51c77007319 2 ******************************************************************************
mbed_official 52:a51c77007319 3 * @file stm32f10x_dbgmcu.h
mbed_official 52:a51c77007319 4 * @author MCD Application Team
mbed_official 52:a51c77007319 5 * @version V3.5.0
mbed_official 52:a51c77007319 6 * @date 11-March-2011
mbed_official 52:a51c77007319 7 * @brief This file contains all the functions prototypes for the DBGMCU
mbed_official 52:a51c77007319 8 * firmware library.
mbed_official 52:a51c77007319 9 ******************************************************************************
mbed_official 52:a51c77007319 10 * @attention
mbed_official 52:a51c77007319 11 *
mbed_official 52:a51c77007319 12 * THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS
mbed_official 52:a51c77007319 13 * WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE
mbed_official 52:a51c77007319 14 * TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY
mbed_official 52:a51c77007319 15 * DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING
mbed_official 52:a51c77007319 16 * FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE
mbed_official 52:a51c77007319 17 * CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.
mbed_official 52:a51c77007319 18 *
mbed_official 52:a51c77007319 19 * <h2><center>&copy; COPYRIGHT 2011 STMicroelectronics</center></h2>
mbed_official 52:a51c77007319 20 ******************************************************************************
mbed_official 52:a51c77007319 21 */
mbed_official 52:a51c77007319 22
mbed_official 52:a51c77007319 23 /* Define to prevent recursive inclusion -------------------------------------*/
mbed_official 52:a51c77007319 24 #ifndef __STM32F10x_DBGMCU_H
mbed_official 52:a51c77007319 25 #define __STM32F10x_DBGMCU_H
mbed_official 52:a51c77007319 26
mbed_official 52:a51c77007319 27 #ifdef __cplusplus
mbed_official 52:a51c77007319 28 extern "C" {
mbed_official 52:a51c77007319 29 #endif
mbed_official 52:a51c77007319 30
mbed_official 52:a51c77007319 31 /* Includes ------------------------------------------------------------------*/
mbed_official 52:a51c77007319 32 #include "stm32f10x.h"
mbed_official 52:a51c77007319 33
mbed_official 52:a51c77007319 34 /** @addtogroup STM32F10x_StdPeriph_Driver
mbed_official 52:a51c77007319 35 * @{
mbed_official 52:a51c77007319 36 */
mbed_official 52:a51c77007319 37
mbed_official 52:a51c77007319 38 /** @addtogroup DBGMCU
mbed_official 52:a51c77007319 39 * @{
mbed_official 52:a51c77007319 40 */
mbed_official 52:a51c77007319 41
mbed_official 52:a51c77007319 42 /** @defgroup DBGMCU_Exported_Types
mbed_official 52:a51c77007319 43 * @{
mbed_official 52:a51c77007319 44 */
mbed_official 52:a51c77007319 45
mbed_official 52:a51c77007319 46 /**
mbed_official 52:a51c77007319 47 * @}
mbed_official 52:a51c77007319 48 */
mbed_official 52:a51c77007319 49
mbed_official 52:a51c77007319 50 /** @defgroup DBGMCU_Exported_Constants
mbed_official 52:a51c77007319 51 * @{
mbed_official 52:a51c77007319 52 */
mbed_official 52:a51c77007319 53
mbed_official 52:a51c77007319 54 #define DBGMCU_SLEEP ((uint32_t)0x00000001)
mbed_official 52:a51c77007319 55 #define DBGMCU_STOP ((uint32_t)0x00000002)
mbed_official 52:a51c77007319 56 #define DBGMCU_STANDBY ((uint32_t)0x00000004)
mbed_official 52:a51c77007319 57 #define DBGMCU_IWDG_STOP ((uint32_t)0x00000100)
mbed_official 52:a51c77007319 58 #define DBGMCU_WWDG_STOP ((uint32_t)0x00000200)
mbed_official 52:a51c77007319 59 #define DBGMCU_TIM1_STOP ((uint32_t)0x00000400)
mbed_official 52:a51c77007319 60 #define DBGMCU_TIM2_STOP ((uint32_t)0x00000800)
mbed_official 52:a51c77007319 61 #define DBGMCU_TIM3_STOP ((uint32_t)0x00001000)
mbed_official 52:a51c77007319 62 #define DBGMCU_TIM4_STOP ((uint32_t)0x00002000)
mbed_official 52:a51c77007319 63 #define DBGMCU_CAN1_STOP ((uint32_t)0x00004000)
mbed_official 52:a51c77007319 64 #define DBGMCU_I2C1_SMBUS_TIMEOUT ((uint32_t)0x00008000)
mbed_official 52:a51c77007319 65 #define DBGMCU_I2C2_SMBUS_TIMEOUT ((uint32_t)0x00010000)
mbed_official 52:a51c77007319 66 #define DBGMCU_TIM8_STOP ((uint32_t)0x00020000)
mbed_official 52:a51c77007319 67 #define DBGMCU_TIM5_STOP ((uint32_t)0x00040000)
mbed_official 52:a51c77007319 68 #define DBGMCU_TIM6_STOP ((uint32_t)0x00080000)
mbed_official 52:a51c77007319 69 #define DBGMCU_TIM7_STOP ((uint32_t)0x00100000)
mbed_official 52:a51c77007319 70 #define DBGMCU_CAN2_STOP ((uint32_t)0x00200000)
mbed_official 52:a51c77007319 71 #define DBGMCU_TIM15_STOP ((uint32_t)0x00400000)
mbed_official 52:a51c77007319 72 #define DBGMCU_TIM16_STOP ((uint32_t)0x00800000)
mbed_official 52:a51c77007319 73 #define DBGMCU_TIM17_STOP ((uint32_t)0x01000000)
mbed_official 52:a51c77007319 74 #define DBGMCU_TIM12_STOP ((uint32_t)0x02000000)
mbed_official 52:a51c77007319 75 #define DBGMCU_TIM13_STOP ((uint32_t)0x04000000)
mbed_official 52:a51c77007319 76 #define DBGMCU_TIM14_STOP ((uint32_t)0x08000000)
mbed_official 52:a51c77007319 77 #define DBGMCU_TIM9_STOP ((uint32_t)0x10000000)
mbed_official 52:a51c77007319 78 #define DBGMCU_TIM10_STOP ((uint32_t)0x20000000)
mbed_official 52:a51c77007319 79 #define DBGMCU_TIM11_STOP ((uint32_t)0x40000000)
mbed_official 52:a51c77007319 80
mbed_official 52:a51c77007319 81 #define IS_DBGMCU_PERIPH(PERIPH) ((((PERIPH) & 0x800000F8) == 0x00) && ((PERIPH) != 0x00))
mbed_official 52:a51c77007319 82 /**
mbed_official 52:a51c77007319 83 * @}
mbed_official 52:a51c77007319 84 */
mbed_official 52:a51c77007319 85
mbed_official 52:a51c77007319 86 /** @defgroup DBGMCU_Exported_Macros
mbed_official 52:a51c77007319 87 * @{
mbed_official 52:a51c77007319 88 */
mbed_official 52:a51c77007319 89
mbed_official 52:a51c77007319 90 /**
mbed_official 52:a51c77007319 91 * @}
mbed_official 52:a51c77007319 92 */
mbed_official 52:a51c77007319 93
mbed_official 52:a51c77007319 94 /** @defgroup DBGMCU_Exported_Functions
mbed_official 52:a51c77007319 95 * @{
mbed_official 52:a51c77007319 96 */
mbed_official 52:a51c77007319 97
mbed_official 52:a51c77007319 98 uint32_t DBGMCU_GetREVID(void);
mbed_official 52:a51c77007319 99 uint32_t DBGMCU_GetDEVID(void);
mbed_official 52:a51c77007319 100 void DBGMCU_Config(uint32_t DBGMCU_Periph, FunctionalState NewState);
mbed_official 52:a51c77007319 101
mbed_official 52:a51c77007319 102 #ifdef __cplusplus
mbed_official 52:a51c77007319 103 }
mbed_official 52:a51c77007319 104 #endif
mbed_official 52:a51c77007319 105
mbed_official 52:a51c77007319 106 #endif /* __STM32F10x_DBGMCU_H */
mbed_official 52:a51c77007319 107 /**
mbed_official 52:a51c77007319 108 * @}
mbed_official 52:a51c77007319 109 */
mbed_official 52:a51c77007319 110
mbed_official 52:a51c77007319 111 /**
mbed_official 52:a51c77007319 112 * @}
mbed_official 52:a51c77007319 113 */
mbed_official 52:a51c77007319 114
mbed_official 52:a51c77007319 115 /**
mbed_official 52:a51c77007319 116 * @}
mbed_official 52:a51c77007319 117 */
mbed_official 52:a51c77007319 118
mbed_official 52:a51c77007319 119 /******************* (C) COPYRIGHT 2011 STMicroelectronics *****END OF FILE****/