设置 | 登录 | 注册

【程序】STM32通过DMA自动接收串口数据到数组中

#include <stm32f10x.h>
#define _BV(n) (1 << (n))
uint8_t num[2] = {0, 0}; // 数码管两侧...
巨大八爪鱼 1-16 巨大八爪鱼 (点击/回复: 553/1)

OV2640摄像头的DCMI驱动dcmi_ov2640.h/.c位于STM32F4的固件库里面

所在的文件夹是STM32F4xx_DSP_StdPeriph_Lib_V1.8.0/Project/STM32F4xx_StdPeriph_Examples/DCMI/DCMI_CameraExamp...
巨大八爪鱼 1-16 巨大八爪鱼 (点击/回复: 529/0)

【C++程序】用C++编写STM32F103串口通讯程序 [图片]

【程序运行效果】
巨大八爪鱼 1-16 巨大八爪鱼 (点击/回复: 799/3)

【示例程序】NVIC中断优先级的配置

【示例1:高优先级中断屏蔽并清除低优先级中断】
#include <stm32f10x.h>
#define _BV(n) (1 << (n))
uint16...
巨大八爪鱼 1-15 巨大八爪鱼 (点击/回复: 672/6)

GPIO_CRH/CRL配置方法

每1位16进制数表示一个I/O端口。
1为10MHz推挽输出(推挽输出适合直接驱动)(复用为9)
2为2MHz推挽输出(复用为a)
3为50MHz推挽输出(复用为b)
5为10...
巨大八爪鱼 1-15 巨大八爪鱼 (点击/回复: 715/4)

【程序】STM32定时器1的使用

#include <stm32f10x.h>
#define _BV(n) (1 << (n))
uint8_t seg8[] = {0xc0, 0xf9, 0xa...
巨大八爪鱼 1-14 巨大八爪鱼 (点击/回复: 665/5)

【程序】STM32软件模拟I2C协议读写24C04存储器

#include <stm32f10x.h>
#define _BV(n) (1 << (n))
#define SCL_1 GPIOB->BSRR = _B...
巨大八爪鱼 1-13 巨大八爪鱼 (点击/回复: 665/8)

现在我终于把STM32F1手册的第14章——TIM1看完了

RT
巨大八爪鱼 1-13 巨大八爪鱼 (点击/回复: 533/1)

【程序】STM32单脉冲模式的使用

#include <stm32f10x.h>
#define _BV(n) (1 << (n))
uint8_t n = 0;
uint8_t seg8[]...
巨大八爪鱼 1-11 巨大八爪鱼 (点击/回复: 707/4)

【方法】硬件触发定时器TIM1的COM事件的方法

#include <stm32f10x.h>
#define _BV(n) (1 << (n))
uint8_t n = 0;
uint8_t seg8[]...
巨大八爪鱼 1-11 巨大八爪鱼 (点击/回复: 747/5)

【验证性实验】TIM1定时器死区时间(dead-time)的加入及检测

【程序】
#include <stm32f10x.h>
#define _BV(n) (1 << (n))
uint8_t i = 0;
uint8_t...
巨大八爪鱼 1-10 巨大八爪鱼 (点击/回复: 603/3)

【程序】STM32定时器1的强置输出模式(Forced output mode)

#include <stm32f10x.h>
#define _BV(n) (1 << (n))
void delay(void)
{...
巨大八爪鱼 1-10 巨大八爪鱼 (点击/回复: 732/9)

【程序】STM32定时器1的输出比较模式(Output compare mode)

#include <stm32f10x.h>
#define _BV(n) (1 << (n))
uint8_t cnt = 0; // 匹配计数
uint8...
巨大八爪鱼 1-9 巨大八爪鱼 (点击/回复: 447/0)

今天成都下雨了

下小雨
巨大八爪鱼 1-9 巨大八爪鱼 (点击/回复: 518/0)

【程序】STM32 CRC32校验值计算模块的使用

#include <stm32f10x.h>
#define _BV(n) (1 << (n))
uint32_t data;
uint8_t seg8[]...
巨大八爪鱼 1-8 巨大八爪鱼 (点击/回复: 372/1)
全站共有主题数30095个,帖子数134799篇。

内容转换:

©2010-2025 Purasbar Ver3.0 [手机版] [桌面版]
除非另有声明,本站采用知识共享署名-相同方式共享 3.0 Unported许可协议进行许可。