Device drivers implementation for STM32F407x-based processors.
- The project is developed in STM32Cube IDE.
- The code and examples are developed for the STM32F407G-DISC1 board.
- Drivers are developed for GPIO, SPI, I2C, and USART peripherals.
General description of developed source and header files
-
Drivers-related header and source files are located in the 'drivers' folder.
stm32f407xx_drivers > drivers
-
The
'drivers'
folder contains two sub-folders: Inc and Src. -
The Inc folder contains the following:
stm32f407xx.h
(Device-specific header file)stm32f407xx_gpio_drivers.h
(for GPIO-specific APIs and structures)stm32f407xx_spi_drivers.h
(for SPI-specific APIs and structures)stm32f407xx_i2c_drivers.h
(for I2C-specific APIs and structures)
-
The Src folder contains the following:
stm32f407xx_gpio_drivers.c
(GPIP drivers implementation)stm32f407xx_spi_drivers.c
(SPI drivers implementation)stm32f407xx_i2c_drivers.c
(I2C drivers implementation)
-
Example applications for each peripheral are located in the 'Src' folder
stm32f407xx_drivers > Src