iLLD_TC29x
1.0
|
I2C I2C details. More...
Go to the source code of this file.
Data Structures | |
struct | IfxI2c_I2c |
Handler. More... | |
struct | IfxI2c_I2c_Config |
Structure to configure the Module. More... | |
struct | IfxI2c_I2c_Device |
Structure with slave device data. More... | |
struct | IfxI2c_I2c_deviceConfig |
Structure to configure the device's data structure. More... | |
Enumerations | |
enum | IfxI2c_I2c_Status { IfxI2c_I2c_Status_ok = 0, IfxI2c_I2c_Status_nak = 1, IfxI2c_I2c_Status_al = 2, IfxI2c_I2c_Status_busNotFree = 3, IfxI2c_I2c_Status_error = 4 } |
Functions | |
IFX_EXTERN void | IfxI2c_I2c_initConfig (IfxI2c_I2c_Config *config, Ifx_I2C *i2c) |
Fills the config structure with default values. More... | |
IFX_EXTERN void | IfxI2c_I2c_initDevice (IfxI2c_I2c_Device *i2cDevice, const IfxI2c_I2c_deviceConfig *i2cDeviceConfig) |
Initializes the device Handler. More... | |
IFX_EXTERN void | IfxI2c_I2c_initDeviceConfig (IfxI2c_I2c_deviceConfig *i2cDeviceConfig, IfxI2c_I2c *i2c) |
Fills the config structure of the slave device with default values. More... | |
IFX_EXTERN void | IfxI2c_I2c_initModule (IfxI2c_I2c *i2c, const IfxI2c_I2c_Config *config) |
Initializes the Module. More... | |
IFX_EXTERN IfxI2c_I2c_Status | IfxI2c_I2c_read (IfxI2c_I2c_Device *i2cDevice, volatile uint8 *data, Ifx_SizeT size) |
reads the I2c device More... | |
IFX_EXTERN IfxI2c_I2c_Status | IfxI2c_I2c_write (IfxI2c_I2c_Device *i2cDevice, volatile uint8 *data, Ifx_SizeT size) |
writes to the I2c device More... | |
I2C I2C details.
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_I2c.h.