STR71x firmware library

源代码在线查看: 71x_conf.h

软件大小: 1506 K
上传用户: yjpynnpl
关键词: firmware library STR 71x
下载地址: 免注册下载 普通下载 VIP

相关代码

				/******************** (C) COPYRIGHT 2007 STMicroelectronics ********************
				* File Name          : 71x_conf.h
				* Author             : MCD Application Team
				* Version            : V4.0
				* Date               : 10/09/2007
				* Description        : Library configuration file.
				********************************************************************************
				* THE PRESENT SOFTWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS
				* WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE TIME.
				* AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY DIRECT,
				* INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING FROM THE
				* CONTENT OF SUCH SOFTWARE AND/OR THE USE MADE BY CUSTOMERS OF THE CODING
				* INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.
				*******************************************************************************/
				
				/* Define to prevent recursive inclusion -------------------------------------*/
				#ifndef __71x_CONF_H
				#define __71x_CONF_H
				
				/* Includes ------------------------------------------------------------------*/
				/* Exported types ------------------------------------------------------------*/
				/* Exported constants --------------------------------------------------------*/
				/* Uncomment the line below to compile the library in DEBUG mode */
				/* #define DEBUG    1  */
				
				/* Comment the line below to disable the specific peripheral inclusion */
				/************************************* ADC ************************************/
				//#define _ADC12
				
				/************************************* APB ************************************/
				#define _APB 
				//#define _APB1 
				#define _APB2 
				
				/************************************* BSPI ***********************************/
				//#define _BSPI 
				//#define _BSPI0 
				//#define _BSPI1 
				
				/************************************* CAN ************************************/
				//#define _CAN 
				
				/************************************* EIC ************************************/
				//#define _EIC 
				
				/************************************* EMI ************************************/
				//#define _EMI 
				
				/************************************* GPIO ***********************************/
				#define _GPIO
				//#define _GPIO0 
				#define _GPIO1
				//#define _GPIO2
				
				/************************************* I2C ************************************/
				//#define _I2C 
				//#define _I2C0 
				//#define _I2C1
				
				/************************************* PCU ************************************/
				//#define _PCU
				
				/************************************* RCCU ***********************************/
				//#define _RCCU
				
				/************************************* RTC ************************************/
				//#define _RTC
				
				/************************************* TIM ************************************/
				#define _TIM
				//#define _TIM0
				//#define _TIM1
				//#define _TIM2 
				#define _TIM3 
				
				/************************************* UART ***********************************/
				//#define _UART 
				//#define _UART0 
				//#define _UART1 
				//#define _UART2 
				//#define _UART3
				
				/************************************* Serial Port ****************************/
				/* Uncomment only one line*/
				//#define USE_SERIAL_PORT  
				//#define USE_UART0 
				//#define USE_UART1 
				//#define USE_UART2 
				//#define USE_UART3 
				
				/************************************* WDG ************************************/
				//#define _WDG 
				
				/************************************* XTI ************************************/
				//#define _XTI
				
				/*  Main Oscillator Frequency value = 16 MHz */
				#define RCCU_Main_Osc 16000000
				
				//#define _IRQVectors
				
				/* Exported macro ------------------------------------------------------------*/
				/* Exported functions ------------------------------------------------------- */
				
				#endif /* __71x_CONF_H */
				
				/******************* (C) COPYRIGHT 2007 STMicroelectronics *****END OF FILE****/
							

相关资源