STM32 Maze Solver v1.0
Proyecto de robot autónomo que resuelve un laberinto mediante un algoritmo de llenado (*Flood Fill*), desarrollado sobre STM32.
Cargando...
Buscando...
Nada coincide
Referencia del archivo main.c

: Main program body Más...

#include "main.h"
#include "usb_host.h"
#include "control_motor.h"
#include "antirebote.h"

Funciones

void SystemClock_Config (void)
 System Clock Configuration.
void MX_USB_HOST_Process (void)
int main (void)
 The application entry point.
void Error_Handler (void)
 This function is executed in case of error occurrence.

Variables

ADC_HandleTypeDef hadc1
DMA_HandleTypeDef hdma_adc1
I2C_HandleTypeDef hi2c1
I2S_HandleTypeDef hi2s3
SPI_HandleTypeDef hspi1
TIM_HandleTypeDef htim3

Descripción detallada

: Main program body

Autor
demianmozo
Fecha
2025-06-07 Este archivo contiene la función main y la lógica principal del robot.
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

◆ Error_Handler()

void Error_Handler ( void )

This function is executed in case of error occurrence.

Valores devueltos
None

◆ main()

int main ( void )

The application entry point.

Valores devueltos
int

◆ MX_USB_HOST_Process()

void MX_USB_HOST_Process ( void )

◆ SystemClock_Config()

void SystemClock_Config ( void )

System Clock Configuration.

Valores devueltos
None

Configure the main internal regulator output voltage

Initializes the RCC Oscillators according to the specified parameters in the RCC_OscInitTypeDef structure.

Initializes the CPU, AHB and APB buses clocks

Documentación de variables

◆ hadc1

ADC_HandleTypeDef hadc1

◆ hdma_adc1

DMA_HandleTypeDef hdma_adc1

◆ hi2c1

I2C_HandleTypeDef hi2c1

◆ hi2s3

I2S_HandleTypeDef hi2s3

◆ hspi1

SPI_HandleTypeDef hspi1

◆ htim3

TIM_HandleTypeDef htim3