How hnainiamohamedamine29/stm32-drivers works
This is a small STM32 bare-metal driver example. On startup, the firmware configures an LED GPIO and USART2, then repeatedly blinks the LED and echoes received UART characters. The GPIO and UART drivers access STM32 registers directly; UART also configures its TX/RX pins. The graph reflects the sampled implementation and README description, without assuming additional peripherals or behavior.
Main entry points: main.c Firmware loop · gpio.c GPIO operations · uart.c UART operations
Components 4
Firmware
- Firmware loop
main.c
GPIO driver
- GPIO operations
gpio.c
UART driver
- UART operations
uart.c
Other components
- STM32 peripherals
Connections 5
- Firmware loop → GPIO operations: initializes and toggles
main.c - Firmware loop → UART operations: initializes and exchanges
main.c - Firmware loop → STM32 peripherals: checks USART status
main.c - GPIO operations → STM32 peripherals: accesses GPIO registers
gpio.c - UART operations → STM32 peripherals: configures and accesses
uart.c