STM8L15x Standard Peripherals Drivers
|
stm8l15x_irtim.h
Go to the documentation of this file.
00001 /** 00002 ****************************************************************************** 00003 * @file stm8l15x_irtim.h 00004 * @author MCD Application Team 00005 * @version V1.5.0 00006 * @date 13-May-2011 00007 * @brief This file contains all the functions prototypes for the IRTIM firmware 00008 * library. 00009 ****************************************************************************** 00010 * @attention 00011 * 00012 * THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS 00013 * WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE 00014 * TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY 00015 * DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING 00016 * FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE 00017 * CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS. 00018 * 00019 * <h2><center>© COPYRIGHT 2011 STMicroelectronics</center></h2> 00020 ****************************************************************************** 00021 */ 00022 00023 /* Define to prevent recursive inclusion -------------------------------------*/ 00024 #ifndef __STM8L15x_IRTIM_H 00025 #define __STM8L15x_IRTIM_H 00026 00027 /* Includes ------------------------------------------------------------------*/ 00028 #include "stm8l15x.h" 00029 00030 /** @addtogroup STM8L15x_StdPeriph_Driver 00031 * @{ 00032 */ 00033 00034 /** @addtogroup IRTIM 00035 * @{ 00036 */ 00037 00038 /* Exported types ------------------------------------------------------------*/ 00039 /* Exported constants --------------------------------------------------------*/ 00040 /* Exported macros -----------------------------------------------------------*/ 00041 /* Exported functions --------------------------------------------------------*/ 00042 00043 /* IRTIM configuration ********************************************************/ 00044 void IRTIM_DeInit(void); 00045 void IRTIM_Cmd(FunctionalState NewState); 00046 void IRTIM_HighSinkODCmd(FunctionalState NewState); 00047 00048 /* IRITM status management ****************************************************/ 00049 FunctionalState IRTIM_GetStatus(void); 00050 FunctionalState IRTIM_GetHighSinkODStatus(void); 00051 00052 /** 00053 * @} 00054 */ 00055 00056 #endif /* __STM8L15x_IRTIM_H */ 00057 00058 /** 00059 * @} 00060 */ 00061 00062 /******************* (C) COPYRIGHT 2011 STMicroelectronics *****END OF FILE****/