no-OS
All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
stm32_i2c.h
Go to the documentation of this file.
1/***************************************************************************/
33#ifndef STM32_I2C_H_
34#define STM32_I2C_H_
35
36#include <stdint.h>
37#include "no_os_i2c.h"
38#include "stm32_hal.h"
39
46 I2C_HandleTypeDef hi2c;
47};
48
56 uint32_t i2c_timing;
57};
58
62extern const struct no_os_i2c_platform_ops stm32_i2c_ops;
63
64#endif // STM32_I2C_H_
Header file of I2C Interface.
const struct no_os_i2c_platform_ops stm32_i2c_ops
stm32 platform specific I2C platform ops structure
Definition stm32_i2c.c:222
Structure holding I2C function pointers that point to the platform specific function.
Definition no_os_i2c.h:109
stm32 platform specific I2C descriptor
Definition stm32_i2c.h:44
I2C_HandleTypeDef hi2c
Definition stm32_i2c.h:46
Structure holding the initialization parameters for stm32 platform specific I2C parameters.
Definition stm32_i2c.h:54
uint32_t i2c_timing
Definition stm32_i2c.h:56