iLLD_TC29x  1.0
IfxI2c.c File Reference

I2C basic functionality. More...

#include "IfxI2c.h"

Go to the source code of this file.

Functions

void IfxI2c_configureAsMaster (Ifx_I2C *i2c)
 Configures the Module as Master. More...
 
void IfxI2c_disableModule (Ifx_I2C *i2c)
 Disables the I2c Module. More...
 
void IfxI2c_enableBurstDataTransferInterrupt (Ifx_I2C *i2c, IfxSrc_Tos typeOfService, uint16 priority)
 Enables the Burst data transfer interrupt. More...
 
void IfxI2c_enableErrorInterrupt (Ifx_I2C *i2c, IfxSrc_Tos typeOfService, uint16 priority)
 Enables the Error interrupt. More...
 
void IfxI2c_enableLastBurstDataTransferInterrupt (Ifx_I2C *i2c, IfxSrc_Tos typeOfService, uint16 priority)
 enables the last burst data transfer interrupt More...
 
void IfxI2c_enableLastSingleDataTransferInterrupt (Ifx_I2C *i2c, IfxSrc_Tos typeOfService, uint16 priority)
 enables the last single data transfer interrupt More...
 
void IfxI2c_enableModule (Ifx_I2C *i2c)
 Enables the I2c Module. More...
 
void IfxI2c_enableProtocolInterrupt (void *i2c, IfxSrc_Tos typeOfService, uint16 priority)
 Enables the protocol interrupt. More...
 
void IfxI2c_enableSingleDataTransferInterrupt (Ifx_I2C *i2c, IfxSrc_Tos typeOfService, uint16 priority)
 enables the single data transfer interrupt More...
 
float32 IfxI2c_getBaudrate (Ifx_I2C *i2c)
 Returns the real Baudrate. More...
 
void IfxI2c_initSclSdaPin (const IfxI2c_Scl_InOut *scl, const IfxI2c_Sda_InOut *sda, IfxPort_PadDriver padDriver)
 
void IfxI2c_releaseBus (Ifx_I2C *i2c)
 Releases the bus, i.e puts a stop condition on the bus. More...
 
void IfxI2c_resetFifo (Ifx_I2C *i2c)
 
void IfxI2c_resetModule (Ifx_I2C *i2c)
 resets the I2c kernel More...
 
void IfxI2c_setBaudrate (Ifx_I2C *i2c, float32 baudrate)
 Calculates the desired baudrate. More...
 

Detailed Description

I2C basic functionality.

Version
iLLD_1_0_0_11_0
                            IMPORTANT NOTICE

Infineon Technologies AG (Infineon) is supplying this file for use exclusively with Infineon's microcontroller products. This file can be freely distributed within development tools that are supporting such microcontroller products.

THIS SOFTWARE IS PROVIDED "AS IS". NO WARRANTIES, WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE. INFINEON SHALL NOT, IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER.

Definition in file IfxI2c.c.