单片机
返回首页

【干货】老外的GitHub整理的stm32f4驱动库

2019-12-14 来源:eefocus

昨晚在github发现了一个老外自己整理的封装库,有很多,比如一些通讯啊啥的,一些显示屏驱动等等


目录

STM32F4


Libraries and projects


Here are listed all libraries for STM32F4 devices.Libraries are designed to work with STM32F4xx series of MCU. Every project hereis created with Keil uVision, but tested with GCC compiler too (Coocox). Eachproject includes 4 targets:


STM32F429-Discovery board (STM32F429ZI, 180MHz)


STM32F4-Discovery board (STM32F407VG, 168MHz)


STM32F401-Discovery (STM32F401, 84MHz)


STM32F411C-Discovery (STM32F411, 100MHz)


Nucleo F411-RE (STM32F411RE, 100MHz)


Nucleo F401-RE (STM32F401RE, 84MHz)


STM32F446xx (180MHz)


STM32439-Eval (STM32F439NI, 180MHz)


When you download repository and open project, you haveto set correct your target, for device you use. If you use other device in yourproject, then set your project and copy settings there from target options.


More information below http://stm32f4-discovery.com


First time with Discovery board? http://stm32f4-discovery.com


Current librarires:


All libraries listed at one place for easy editing them from one     place and use them for all projects


Two default projects are included


Default Keil project, with CMSIS files v.1.5.0      included


Default Keil project, with CMSIS files v.1.5.0      included and clock for STM32F429-Discovery/STM32F446 slowed down to      168MHz and for Nucleo F411 down to 96MHz for USB communication


LED_BUTTON - Project example for STM32F4/29 Discovery


DELAY - Delay library for STM32F4/29 


 USART - USART library for     STM32F4/29 


SPI - SPI library for STM32F4/29 


ADC - ADC library for STM32F4/29


DAC - DAC library for STM32F4/29 


ILI9341 LCD - STM32F429 Discovery ILI9341 LCD library


I2C - I2C library for STM32F4/29


STMPE811 touch driver for STM32F4/29 Discovery board 


ILI9341 Button - Button library for ILI9341 LCD and STMPE811 Touch     driver on STM32F429 


ONEWIRE - OneWire library for STM32F4/29


DS18B20 - DS18B20 OneWire temperature sensor library for STM32F4/29


SDRAM - ISSI 8MByte SDRAM on STM32F429 Discovery board 


DS1307 - DS1307 RTC modeule for STM32F429 Discovery 


HD44780 - HD44780 Alpha numeric LCD driver for STM32F429 discovery


NRF24L01+ - NRF24L01+ 2.4 GHz transceiver library


ILI8341 LTDC - ILI9341 LCD with LTDC hardware only for STM32F429


Internal RTC - Library for internal RTC on STM32F4xx devices 


Independent watchdog - Library for watchdog on STM32F4xx     devices 


FATFS - Read SDcard with STM32F4xx using SDIO or SPI     communication 


RNG - Use of True random number generator peripheral on STM32F4xx     devices 


MFRC522 - Read RFID Cards with STM32F4xx devices 


USB VCP - Use STM32F4xx as USB VCP device (Virtual COM Port) 


AM2301 - AM2301 (DHT21) temperature and humidity sensor 


ROTARY ENCODER - Connect Rotary Encoder to STM32F4xx device 


GPS - Read GPS data on STM32F4xx devices


L3GD20 - Measure rotation of all 3 axis with L3GD20 gyro sensor 


USB MSC HOST - Read USB flash drive with STM32F4xx 


HC-SR04 - Measure distance with ultrasonic sensor on STM32F4xx 


USB HID HOST - Read USB mouse and keyboard on STM32F4xx


4x4 KEYPAD - Read matrix keypad up to 4x4 with STM32F4xx


PWM - Use PWM on all possible timers for STM32F4xx device


USB HID Device - Turn STM32F4 into USB HID Device 


LIS302DL/LIS3DSH - Accelerometers on STM32F4-Discovery board. Also     can be used with any STM32F4 device


DAC SIGNAL - Output predefined signals with STM32F4 using DAC, DMA     and TIM 


BMP180 - Read atmosferic pressure on STM32F4 device


EXTI - Use external interrupts with STM32F4


LOW POWER - Power consumption modes for STM32F4 


MCO OUTPUT - Output different clocks from STM32F4 


STDIO - Use printf and fprintf/vfprintf on STM32F4 


SERVO - Control RC servo with STM32F4 


MPU-6050 - Read accelerometer and gyroscope data with STM32F4


Identification - Read identification bytes and 96-bits long UNIQUE ID     from STM32F4 


BKPSRAM - Interface backup SRAM on STM32F4 


SWO DEBUG - Debug STM32F4 using SWO output 


CRC - STM32F4 CRC Hardware module


PWM IN - Measure input PWM signal on STM32F4 


OTP - One-time programmable memory on STM32F4 


STemWin - STemWin implementation for STM32F429-Discovery


DMA2D GRAPHIC- Chrom-ART Accelerator on STM32F429-Discovery     board 


ETHERNET - Connect ethernet to STM32F4xx


GPIO - GPIO pins on STM32F4 


GENERAL - General library for STM32F4 


USART DMA - Extend USART with DMA TX functionality


SPI DMA - Extend SPI with DMA functionality


BUTTON - Use buttons with STM32F4xx 


STRING - Dynamic string allocation for STM32F4xx 


RCC - Dynamic PLL settings for STM32F4xx 


CPU LOAD - CPU load monitoring for STM32F4xx


SSD1306 - Use OLED LCD with STM32F4


FFT - FFT Library for STM32F4xx devices 


DMA - DMA library for STM32F4xx


PCD8544 LCD (Nokia 5110/3310) - Library for LCD


来看看真正的东西吧~~~激动

随意show两个代码:

(IIC)

(GPIO)


老外写的很是完善,英文的注释就连小编这种英语渣渣都能简单易懂,能直接用,不用怎么配置了,当然可以改装成为我们自己习惯的库。


虽然st的库很完善,但是以后我们写代码都可以有自己的库,拿来即用,很是方便。

进入单片机查看更多内容>>
相关视频
  • RISC-V嵌入式系统开发

  • SOC系统级芯片设计实验

  • 云龙51单片机实训视频教程(王云,字幕版)

  • 2022 Digi-Key KOL 系列: 你见过1GHz主频的单片机吗?Teensy 4.1开发板介绍

  • TI 新一代 C2000™ 微控制器:全方位助力伺服及马达驱动应用

  • MSP430电容触摸技术 - 防水Demo演示

精选电路图
  • 红外线探测报警器

  • 短波AM发射器电路设计图

  • RS-485基础知识:处理空闲总线条件的两种常见方法

  • 如何调制IC555振荡器

  • 基于ICL296的大电流开关稳压器电源电路

  • 基于TDA2003的简单低功耗汽车立体声放大器电路

    相关电子头条文章