IRPyro Micro controller template only
Routines to enable the MCU to use the USART and the I2C
|
Initializes the I2C structure. More...
Functions | |
static void | i2c_Init (I2C_Config_Type *External_Config) |
Initializes the I2C Hardware (I2C1). More... | |
Initializes the I2C structure.
* The I2C implementation on the STM32F3 micro controllers * provides architecture independence to the IRPyro API *
|
static |
Initializes the I2C Hardware (I2C1).
[in] | External_Config | Data structure with the I2C definition according to STM |
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. * |
Definition at line 613 of file Micro_controller_template.c.