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.
|
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 |
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.
HAL_StatusTypeDef I2C2_DisableAcknowledge | ( | void | ) |
Disables the I2C slave module.
RTOS Info: Any
HAL_StatusTypeDef I2C2_EnableAcknowledge | ( | void | ) |
Enables the I2C slave module.
RTOS Info: Any
HAL_StatusTypeDef I2CS_DeInit | ( | void | ) |
Deinitializes the I2C slave module.
RTOS Info: Any
HAL_StatusTypeDef I2CS_InitStart | ( | void | ) |
Initializes the I2C slave module.
RTOS Info: Any