|
TM STM32Fxxx HAL Libraries
v1.0.0
Libraries for STM32Fxxx (F0, F4 and F7 series) devices based on HAL drivers from ST from Tilen Majerle
|
I2C library for STM32Fxxx - http://stm32f4-discovery.com/2015/07/hal-library-16-i2c-for-stm32fxxx-devices/. More...
Modules | |
| TM_I2C_Macros | |
| Library defines. | |
| TM_I2C_Typedefs | |
| Library Typedefs. | |
| TM_I2C_Functions | |
| Library Functions. | |
I2C library for STM32Fxxx - http://stm32f4-discovery.com/2015/07/hal-library-16-i2c-for-stm32fxxx-devices/.
|PINSPACK 1 |PINSPACK 2 |PINSPACK 3 |PINSPACK 4
I2CX |SCL SDA |SCL SDA |SCL SDA |SCL SDA
| | | |
I2C1 |PB6 PB7 |PB8 PB9 |PB6 PB9 |
I2C2 |PB10 PB11 |PF1 PF0 |PH4 PH5 |
I2C3 |PA8 PC9 |PH7 PH8 |- - |
I2C4 |PD12 PD13 |PF1 PF0 |PF14 PF15 |PH11 PH12
I2C4 is not available on all devices. Please check if it is available for your device before using it!
In case these pins are not good for you, you can use TM_I2C_PinsPack_Custom in TM_I2C_Init() function and callback function will be called, where you can initialize your custom pinout for your I2C peripheral
Version 1.0 - First release
- STM32Fxxx HAL - defines.h - attributes.h - TM GPIO