iLLD_TC27xD
1.0
|
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... | |
IFX_EXTERN void IfxI2c_I2c_initConfig | ( | IfxI2c_I2c_Config * | config, |
Ifx_I2C * | i2c | ||
) |
Fills the config structure with default values.
config | Structure to configure the Module |
i2c | Module address |
Definition at line 35 of file IfxI2c_I2c.c.
IFX_EXTERN void IfxI2c_I2c_initDevice | ( | IfxI2c_I2c_Device * | i2cDevice, |
const IfxI2c_I2c_deviceConfig * | i2cDeviceConfig | ||
) |
Initializes the device Handler.
i2cDevice | I2c device Handler |
i2cDeviceConfig | Structure to configure the device's data structure |
A coding example can be found in How to use the I2c driver?
Definition at line 43 of file IfxI2c_I2c.c.
IFX_EXTERN void IfxI2c_I2c_initDeviceConfig | ( | IfxI2c_I2c_deviceConfig * | i2cDeviceConfig, |
IfxI2c_I2c * | i2c | ||
) |
Fills the config structure of the slave device with default values.
i2cDeviceConfig | Structure to configure the device's data structure |
i2c | Handler |
Definition at line 50 of file IfxI2c_I2c.c.
IFX_EXTERN void IfxI2c_I2c_initModule | ( | IfxI2c_I2c * | i2c, |
const IfxI2c_I2c_Config * | config | ||
) |
Initializes the Module.
i2c | Handler |
config | Configuration structure |
A coding example can be found in How to use the I2c driver?
Definition at line 57 of file IfxI2c_I2c.c.
IFX_EXTERN IfxI2c_I2c_Status IfxI2c_I2c_read | ( | IfxI2c_I2c_Device * | i2cDevice, |
volatile uint8 * | data, | ||
Ifx_SizeT | size | ||
) |
reads the I2c device
A coding example can be found in How to use the I2c driver?
Definition at line 74 of file IfxI2c_I2c.c.
IFX_EXTERN IfxI2c_I2c_Status IfxI2c_I2c_write | ( | IfxI2c_I2c_Device * | i2cDevice, |
volatile uint8 * | data, | ||
Ifx_SizeT | size | ||
) |
writes to the I2c device
A coding example can be found in How to use the I2c driver?
Definition at line 277 of file IfxI2c_I2c.c.