I2C/IOExpander/main.h

Go to the documentation of this file.
00001 /**
00002   ******************************************************************************
00003   * @file    I2C/IOExpander/main.h 
00004   * @author  MCD Application Team
00005   * @version V3.4.0
00006   * @date    10/15/2010
00007   * @brief   Header for main.c module
00008   ******************************************************************************
00009   * @copy
00010   *
00011   * THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS
00012   * WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE
00013   * TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY
00014   * DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING
00015   * FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE
00016   * CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.
00017   *
00018   * <h2><center>&copy; COPYRIGHT 2010 STMicroelectronics</center></h2>
00019   */ 
00020 
00021 /* Define to prevent recursive inclusion -------------------------------------*/
00022 #ifndef __MAIN_H
00023 #define __MAIN_H
00024 
00025 /* Includes ------------------------------------------------------------------*/
00026 
00027 #if !(defined USE_STM32100E_EVAL) && !(defined USE_STM3210C_EVAL)
00028  #error "Please select STM3210C_EVAL or STM32100E_EVAL board For this example"
00029 #endif
00030 
00031 #include "stm32f10x.h"
00032 #include "stm32_eval.h"
00033 #include <stdio.h>
00034  
00035 #ifdef USE_STM3210C_EVAL
00036  #include "stm3210c_eval_lcd.h"
00037  #include "stm3210c_eval_ioe.h"
00038  
00039 #elif defined USE_STM32100E_EVAL
00040  #include "stm32100e_eval_lcd.h"
00041  #include "stm32100e_eval_ioe.h"
00042 #endif
00043 
00044 /* Exported types ------------------------------------------------------------*/
00045 /* Exported constants --------------------------------------------------------*/
00046 
00047 // #define IOE_POLLING_MODE
00048 #define IOE_INTERRUPT_MODE
00049 
00050 /* Exported macro ------------------------------------------------------------*/
00051 /* Exported functions ------------------------------------------------------- */
00052 
00053 
00054 #endif /* __MAIN_H */
00055 
00056 /******************* (C) COPYRIGHT 2010 STMicroelectronics *****END OF FILE****/
STM32F10x Standard Peripherals Library: Footer

 

 

 

      For complete documentation on STM32(CORTEX M3) 32-bit Microcontrollers platform visit  www.st.com/STM32