-
u_reg H”。
u_reg.h"
void Delay_MS(unsigned int ms)
void main()
{
asm(" STM #0000h,CLKMD ")
while(*CLKMD & 0x01 )
asm(" STM #40C7h,CLKMD ") //设置CPU运行频率=100M
/* 40C7h:5*clkin =100M
30c7h:4*clkin =80M
20c7h:3*clkin =60M
10C7h:2*clkin =40M
*/
asm(" stm #4240h, SWWSR ")
//2 wait except for on-chip program 1
asm(" stm #00a0h, PMST ") //MP/MC = 0, IPTR = 001,ovly=0
asm(" stm #0802h, BSCR ")
asm(" STM #0h,IMR ")
while(1)
{
Delay_MS(500)
asm(" RSBX XF ")
Delay_MS(500)
asm(" SSBX XF ")
}
-sdqwd
- 2022-02-04 22:56:44下载
- 积分:1
-
Matlab neighbors function based on the law of the value of clustering algorithm.
matlab下基于近邻函数值法则的聚类算法.-Matlab neighbors function based on the law of the value of clustering algorithm.
- 2022-02-05 17:19:24下载
- 积分:1
-
基于qt技术的动态时钟的设计与实现
该程序使用Qt做为开发工具 使用C++开发语言,应用了QT中2D绘图、坐标操作、定时器等技术,实现与电脑系统时间同步显示,可作为电脑小插件使用,适合QT初学者的练习使用,可以促进初学者对QT的热爱。
- 2022-01-26 06:35:12下载
- 积分:1
-
非常好的介绍编译和链接的资料,讲解详细而透彻。
非常好的介绍编译和链接的资料,讲解详细而透彻。-A very good document describe load and link.
- 2023-01-29 15:35:03下载
- 积分:1
-
使用Delphi读 RFID 码
请参阅如何捕获 RFID 读码,每卡、 RFID 标签和滴。
- 2023-06-15 07:46:03下载
- 积分:1
-
一个电子书的delphi源码
一个电子书的delphi源码 -a source-book delphi
- 2022-02-13 00:47:35下载
- 积分:1
-
迷你电子表源代码
迷你电子表源代码-mini electronic watches source code
- 2022-06-29 10:18:01下载
- 积分:1
-
边界标识法:系统将所有的空闲块链接在一个双重循环链表结构的可利用空间表中,无须从头到尾扫描链表也能确定一个释放块的相邻块是否为空闲。...
边界标识法:系统将所有的空闲块链接在一个双重循环链表结构的可利用空间表中,无须从头到尾扫描链表也能确定一个释放块的相邻块是否为空闲。
-Boundary marking method: the system will link all of the free block list in a double cycle structure of the table to the use of space, there is no need to scan list from start to finish can also set a block adjacent to block release for free.
- 2023-03-10 21:20:04下载
- 积分:1
-
献给C++初学者,如何在MFC中使用OPENTXT函数打开文本文档.
献给C++初学者,如何在MFC中使用OPENTXT函数打开文本文档.-Dedicated C++ Beginners how to use MFC to open a text document OPENTXT function.
- 2022-05-28 12:48:27下载
- 积分:1
-
Exe file name in accordance with the corresponding return to the process ID, the...
根据exe文件名返回进程对应的ID,主要利用CreateToolhelp32Snapshot,完美版,支持哦UNICODE-Exe file name in accordance with the corresponding return to the process ID, the main use of CreateToolhelp32Snapshot, perfect version, support for UNICODE Oh
- 2022-06-16 03:00:43下载
- 积分:1