STM8L15x Standard Peripherals Drivers: stm8l15x_irtim.c File Reference

STM8L15x/16x Standard Peripherals Drivers

STM8L15x Standard Peripherals Drivers

stm8l15x_irtim.c File Reference

This file provides firmware functions to configure the IRTIM peripheral. More...

#include "stm8l15x_irtim.h"

Go to the source code of this file.

Functions

void IRTIM_Cmd (FunctionalState NewState)
 Enables or disables the IRTIM peripheral.
void IRTIM_DeInit (void)
 Deinitializes the IRTIM peripheral registers to their default reset values.
FunctionalState IRTIM_GetHighSinkODStatus (void)
 Checks whether the IRTIM High Sink Open Drain buffer is Enabled or not.
FunctionalState IRTIM_GetStatus (void)
 Checks whether the IRTIM device is enabled or not.
void IRTIM_HighSinkODCmd (FunctionalState NewState)
 Enables or disables the High sink open drain buffer of the IRTIM peripheral.

Detailed Description

This file provides firmware functions to configure the IRTIM peripheral.

Author:
MCD Application Team
Version:
V1.5.0
Date:
13-May-2011
  *  
  *          ===================================================================
  *                                 How to use this driver
  *          ===================================================================
  *          This driver provides functions to:
  *             1. Enable the IRTIM peripheral
  *             2. Enable the high sink mode on the IRTIM pin 
  *               
  *  
Attention:

THE PRESENT FIRMWARE 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 FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.

© COPYRIGHT 2011 STMicroelectronics

Definition in file stm8l15x_irtim.c.

STM8S Firmware Library: Overview

 

 

 

For complete documentation on STM8L15x 8-bit microcontrollers platform visit www.st.com