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