BME280 Driver 2.0.x
Driver for BME280 sensor
Loading...
Searching...
No Matches
i2c.c File Reference

This file provides code for the configuration of the I2C instances. More...

#include "i2c.h"
Include dependency graph for i2c.c:

Functions

void MX_I2C1_Init (void)
 
void HAL_I2C_MspInit (I2C_HandleTypeDef *i2cHandle)
 
void HAL_I2C_MspDeInit (I2C_HandleTypeDef *i2cHandle)
 

Variables

I2C_HandleTypeDef hi2c1
 

Detailed Description

This file provides code for the configuration of the I2C instances.

Attention

Copyright (c) 2023 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.

Function Documentation

◆ HAL_I2C_MspDeInit()

void HAL_I2C_MspDeInit ( I2C_HandleTypeDef *  i2cHandle)

I2C1 GPIO Configuration PB8 ---—> I2C1_SCL PB9 ---—> I2C1_SDA

◆ HAL_I2C_MspInit()

void HAL_I2C_MspInit ( I2C_HandleTypeDef *  i2cHandle)

Initializes the peripherals clock

I2C1 GPIO Configuration PB8 ---—> I2C1_SCL PB9 ---—> I2C1_SDA

Here is the call graph for this function:

◆ MX_I2C1_Init()

void MX_I2C1_Init ( void  )

Configure Analogue filter

Configure Digital filter