IRPyro API  (sKEMLIB1)
Collection of routines and data structures covering the functionality of the IRPyro sensor
I2C Initialization Function

Initializes the I2C structure. More...

Collaboration diagram for I2C Initialization Function:

Functions

static void i2c_Init (I2C_Config_Type *External_Config)
 Initializes the I2C Hardware (I2C1). More...
 

Detailed Description

Initializes the I2C structure.

*    The I2C implementation on the STM32F3 micro controllers
*    provides architecture independence to the IRPyro API
* 
Note
Modify accordingly depending on architecture

Function Documentation

◆ i2c_Init()

void i2c_Init ( I2C_Config_Type External_Config)
static

Initializes the I2C Hardware (I2C1).

Parameters
[in]External_ConfigData structure with the I2C definition according to STM
Return values
None
*            This function uses the ST hardware libraries to configure the
*            registers responsible for the I2C hardware. This function sets
*            the bus mode (master/slave), clock speed, master address, etc.
*            This function also sets which pins should be used for the I2C bus.
* 
Attention
Modify this function to allow the chosen MCU access to the I2C bus as a master

Definition at line 613 of file Micro_controller_template.c.

Here is the caller graph for this function: