stm8l15x_irtim.h 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. /**
  2. ******************************************************************************
  3. * @file stm8l15x_irtim.h
  4. * @author MCD Application Team
  5. * @version V1.6.1
  6. * @date 30-September-2014
  7. * @brief This file contains all the functions prototypes for the IRTIM firmware
  8. * library.
  9. ******************************************************************************
  10. * @attention
  11. *
  12. * <h2><center>&copy; COPYRIGHT 2014 STMicroelectronics</center></h2>
  13. *
  14. * Licensed under MCD-ST Liberty SW License Agreement V2, (the "License");
  15. * You may not use this file except in compliance with the License.
  16. * You may obtain a copy of the License at:
  17. *
  18. * http://www.st.com/software_license_agreement_liberty_v2
  19. *
  20. * Unless required by applicable law or agreed to in writing, software
  21. * distributed under the License is distributed on an "AS IS" BASIS,
  22. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  23. * See the License for the specific language governing permissions and
  24. * limitations under the License.
  25. *
  26. ******************************************************************************
  27. */
  28. /* Define to prevent recursive inclusion -------------------------------------*/
  29. #ifndef __STM8L15x_IRTIM_H
  30. #define __STM8L15x_IRTIM_H
  31. /* Includes ------------------------------------------------------------------*/
  32. #include "stm8l15x.h"
  33. /** @addtogroup STM8L15x_StdPeriph_Driver
  34. * @{
  35. */
  36. /** @addtogroup IRTIM
  37. * @{
  38. */
  39. /* Exported types ------------------------------------------------------------*/
  40. /* Exported constants --------------------------------------------------------*/
  41. /* Exported macros -----------------------------------------------------------*/
  42. /* Exported functions --------------------------------------------------------*/
  43. /* IRTIM configuration ********************************************************/
  44. void IRTIM_DeInit(void);
  45. void IRTIM_Cmd(FunctionalState NewState);
  46. void IRTIM_HighSinkODCmd(FunctionalState NewState);
  47. /* IRITM status management ****************************************************/
  48. FunctionalState IRTIM_GetStatus(void);
  49. FunctionalState IRTIM_GetHighSinkODStatus(void);
  50. /**
  51. * @}
  52. */
  53. #endif /* __STM8L15x_IRTIM_H */
  54. /**
  55. * @}
  56. */
  57. /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/