STM32标准库文件使用
来源:互联网 发布:淘宝刷直通车是黑车 编辑:程序博客网 时间:2024/04/29 13:03
1. stm32fxx.h
main.c 开头包含
#include "stm32f2xx.h"
#include "stm322xg_eval.h"
#include "stm322xg_eval_lcd.h"
#include <stdio.h>
stm32f2xx.h开头有
#if !defined (USE_STDPERIPH_DRIVER)
/**
* @brief Comment the line below if you will not use the peripherals drivers.
In this case, these drivers will not be included and the application code will
be based on direct access to peripherals registers
*/
/*#define USE_STDPERIPH_DRIVER*/
#endif /* USE_STDPERIPH_DRIVER */
stm32f2xx.h结尾有
#ifdef USE_STDPERIPH_DRIVER
#include "stm32f2xx_conf.h"
#endif /* USE_STDPERIPH_DRIVER */
如果想使用标准库只需要去掉 /*#define USE_STDPERIPH_DRIVER*/前后的注释
stm32f2xx_conf.h中包含了各个外设标准库的头文件
#include "stm32f2xx_adc.h"
#include "stm32f2xx_can.h"
#include "stm32f2xx_crc.h"
#include "stm32f2xx_cryp.h"
#include "stm32f2xx_dac.h"
。。。
- STM32标准库文件使用
- stm32标准库文件下载
- stm32标准外设库使用详解
- stm32标准外设库使用详解 .
- stm32标准外设库使用详解
- stm32标准外设库使用详解
- stm32标准外设库使用详解
- stm32标准外设库使用详解
- stm32标准外设库使用详解
- STM32标准外设库
- 使用Keil MDK以及标准外设库创建STM32工程
- 使用Keil MDK以及标准外设库创建STM32工程
- 将STM32的标准库编译成lib使用【图文】
- 将STM32的标准库编译成lib使用【图文】
- 将STM32的标准库编译成lib使用【图文】
- 使用Keil MDK以及标准外设库创建STM32工程
- 将STM32的标准库编译成lib使用【图文】
- (2)stm32开发之使用Keil MDK以及标准外设库创建STM32工程
- git学习总结(2)基本操作
- TCP/IP详解卷1 读书笔记:第二十六章 Telnet协议
- POJ-3158
- ios内存管理&1之常见的内存管理
- poj2406 Power Strings
- STM32标准库文件使用
- PHP Ajax 跨域问题最佳解决方案
- 我的delphi笔记-来自为知笔记
- mysql中的定义条件和处理程序
- StringBuilder源码分析
- 链表结点的逆置
- 口袋西游背包数组分析
- 利用模板巧妙实现二级接口
- 我的delphi笔记(二)