STM32 Traffic Control
Loading...
Searching...
No Matches
main.c File Reference

Application Entry point for the Traffic Control System. More...

#include <stdio.h>
#include <stdint.h>
#include "stm32f446xx.h"
#include "uart.h"
#include "exti.h"
#include "queue.h"
#include "lights.h"
#include "systick.h"

Functions

int main ()
 Main application entry point.

Detailed Description

Application Entry point for the Traffic Control System.

This file contains the system initialization sequence and the main execution loop.

Function Documentation

◆ main()

int main ( )

Main application entry point.

This function initializes the system, sets the initial traffic light states, and enters an infinite low-power loop.

All runtime behavior is interrupt-driven. Application control flow transitions to the external interrupt handler EXTI15_10_IRQHandler().