-
wancheng
多功能数字电表,能实现量程自动切换,液晶显示(Multi-function digital meter, to achieve automatic range switching, LCD)
- 2014-02-22 15:19:44下载
- 积分:1
-
CC1110-FDMA
cc1110 FDMA算法源代码 IAR环境(cc110 FDMA)
- 2009-06-23 14:37:15下载
- 积分:1
-
proteus32-bit
32位LED烧录程序 流水灯用 89S51 单片机C语言(32 LED lamp burning process water 89S51 microcontroller C language)
- 2011-10-27 12:18:09下载
- 积分:1
-
Stm8s003-voltmeter
stm8s003写的电压表程序,压缩包包含原理图与源代码,IAR环境编译(Stm8s003 write the voltmeter program, compressed package contains the schematic and source code, IAR environment compiler)
- 2017-04-26 08:48:08下载
- 积分:1
-
200532394751
汇编语言,滑动平均滤波程序,实际应用中。(Assembly language, the moving average filter program, the practical application.)
- 2013-04-18 12:55:19下载
- 积分:1
-
【19】DMA PWM WS2812 GPIO输出16组
STM32作为主控芯片,72Mhz,利用DMA+PWM实现驱动WS2812,创建16个并行800kBit / s数据流的想法如下:
使用定时器每1.25us创建一个800kHz的时基和一个DMA请求。
使用2个比较模块在低位时间(350ns)和高位时间(700ns)下创建DMA请求
1.25us DMA请求将GPIO端口的所有位设置为高电平
350ns DMA请求将数据从帧缓冲区传输到GPIO端口。如果该位为0,GPIO引脚将变为低电平,否则将保持高电平。
700ns DMA请求将所有GPIO引脚设置为低电平。
重复步骤1到3,直到发送所有位。
这产生脉冲周期为1.25us,脉冲宽度为350ns或700ns的脉冲流,具体取决于脉冲表示的位值,通过DMA将数据传输到GPIO端口意味着每16个LED每位需要一个字(两个字节)。每个LED 24位,每16个LED 24个字(48个字节)。(The idea to create 16 parallel 800kBit/s data streams is the following:
Use a Timer to create an 800kHz time base and a DMA request every 1.25us.
Use 2 compare modules to create DMA requests at the low bit time (350ns) and the high bit time (700ns)
The 1.25us DMA request sets all bits of the GPIO port high
The 350ns DMA request transfers the data from the frame buffer to the GPIO port. If the bit is a 0, the GPIO pin will go low, otherwise it will stay high.
The 700ns DMA request sets all GPIO pins low.
Repeat steps 1 to 3 until all bits have been transmitted.
This creates a stream of pulses with a pulse period of 1.25us and a pulse width of either 350ns or 700ns depending on the bit value the pulse represents.
Transferring the data via DMA to the GPIO port means that per 16 LEDs one half word (two bytes) is needed per bit. At 24 bits per LED that makes 24 half words (48 bytes) per 16 LEDs.)
- 2020-12-15 10:49:13下载
- 积分:1
-
KEY
自己写的一个带有松手检测和长按识别,短按识别,长短按区分的键盘扫描程序(Write your own keyboard scanner with a loosely detection and long-identification, press recognition, length according to the distinction)
- 2012-07-19 15:25:28下载
- 积分:1
-
chaoshengbo
郭天祥tx-1c单片机驱动超声波完整程序
超声波为hc-sr04(Debates tx-1c MCU-driven ultrasonic ultrasonic complete program for the hc-sr04)
- 2013-07-23 12:09:53下载
- 积分:1
-
full_bridge_rectifier
基于PSCAD平台搭建的全桥整流电路,易于进行扩展和模块化处理(PSCAD based platform to build a full bridge rectifier circuit, easy to expand and modular processing)
- 2015-09-16 22:52:29下载
- 积分:1
-
1
说明: it`s a examples about Keil
- 2019-06-12 01:33:51下载
- 积分:1