Proyecto Final – Medición de Inclinación 0.0.1
Este proyecto utiliza la placa NUCLEO-STM32F446RE y permite detectar y visualizar en tiempo real la inclinación mediante el sensor MPU-6050.
Cargando...
Buscando...
Nada coincide
Referencia del archivo dev_i2cs.c

This file provides code for the configuration of the I2C instances. Más...

#include "api.h"
#include "dev_i2cs_api.h"
#include "stm32f4xx_ll_i2c.h"
#include "stm32f4xx.h"
#include "sys_dbg_api.h"

Funciones

HAL_StatusTypeDef I2C2_EnableAcknowledge (void)
HAL_StatusTypeDef I2C2_DisableAcknowledge (void)
HAL_StatusTypeDef I2CS_InitStart (void)
HAL_StatusTypeDef I2CS_DeInit (void)
void I2C2_EV_IRQHandler (void)
void I2C2_ER_IRQHandler (void)

Variables

volatile uint8_t state = I2CS_STATE_READY

Descripción detallada

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

Atención

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.

Documentación de funciones

◆ I2C2_DisableAcknowledge()

HAL_StatusTypeDef I2C2_DisableAcknowledge ( void )

Disables the I2C slave module.

Devuelve
HAL_StatusTypeDef

RTOS Info: Any

◆ I2C2_EnableAcknowledge()

HAL_StatusTypeDef I2C2_EnableAcknowledge ( void )

Enables the I2C slave module.

Devuelve
HAL_StatusTypeDef

RTOS Info: Any

◆ I2CS_DeInit()

HAL_StatusTypeDef I2CS_DeInit ( void )

Deinitializes the I2C slave module.

Devuelve
HAL_StatusTypeDef

RTOS Info: Any

◆ I2CS_InitStart()

HAL_StatusTypeDef I2CS_InitStart ( void )

Initializes the I2C slave module.

Devuelve
HAL_StatusTypeDef

RTOS Info: Any