|
ICARUS OS (Intelligent Cooperative Architecture for Real-time Unified Systems) 0.1.0
Preemptive Real-Time Operating System for ARM Cortex-M7
|
This file provides code for the configuration of the I2C instances. More...
Go to the source code of this file.
Functions | |
| void | MX_I2C2_Init (void) |
| void | HAL_I2C_MspInit (I2C_HandleTypeDef *i2cHandle) |
| void | HAL_I2C_MspDeInit (I2C_HandleTypeDef *i2cHandle) |
Variables | |
| I2C_HandleTypeDef | hi2c2 |
This file provides code for the configuration of the I2C instances.
Copyright (c) 2025 STMicroelectronics. All rights reserved.
This software is licensed under terms that can be found in the LICENSE file in the root directory of this software component. If no LICENSE file comes with this software, it is provided AS-IS.
Definition in file i2c.c.
| void HAL_I2C_MspDeInit | ( | I2C_HandleTypeDef * | i2cHandle | ) |
| void HAL_I2C_MspInit | ( | I2C_HandleTypeDef * | i2cHandle | ) |
Initializes the peripherals clock
I2C2 GPIO Configuration PB10 ---—> I2C2_SCL PB11 ---—> I2C2_SDA
< Alternate Function Open Drain Mode
< No Pull-up or Pull-down activation
< Low speed
Definition at line 74 of file i2c.c.
References Error_Handler().
| void MX_I2C2_Init | ( | void | ) |
Configure Analogue filter
Configure Digital filter
Definition at line 31 of file i2c.c.
References Error_Handler(), and hi2c2.
Referenced by hal_init().
| I2C_HandleTypeDef hi2c2 |
Definition at line 28 of file i2c.c.
Referenced by MX_I2C2_Init().