-
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
-
聊天工具服务器端,winsock编程,对初学者来说应该很有用
聊天工具服务器端,winsock编程,对初学者来说应该很有用-Chat server-side tools and protocols of programming for beginners should be a very useful
- 2022-09-02 02:35:03下载
- 积分:1
-
XML解析器 MarkUp7.3版本源码
XML解析器 MarkUp7.3版本源码-XML parser version MarkUp7.3 source
- 2022-12-06 03:45:02下载
- 积分:1
-
VB环境一款扫描端口的软件很适合新手学习使用的
VB环境一款扫描端口的软件很适合新手学习使用的 -VB environment, a port scanning software is studying the use of suitable new
- 2023-05-29 11:40:04下载
- 积分:1
-
这是一套用VB开发的数据库管理系统,用来对库存商品进行管理...
这是一套用VB开发的数据库管理系统,用来对库存商品进行管理-This is a set of VB development of the database management system used for the management of stock right
- 2022-03-25 23:15:14下载
- 积分:1
-
access to the information packet sent
获取发送包的信息-access to the information packet sent
- 2023-04-10 03:15:03下载
- 积分:1
-
MX27 LITEKIT板的启动引导代码,功能比较强大
MX27 LITEKIT板的启动引导代码,功能比较强大-logicloader for mx27 litekit board
- 2022-10-16 00:35:05下载
- 积分:1
-
Using c language realize electrical simulation
用c语言实现电机仿真-基于恒定磁链的转子磁链控制。-Using c language realize electrical simulation- based on a constant flux of the rotor flux control.
- 2023-08-10 22:45:03下载
- 积分:1
-
the sample best file for C or C++
the sample best file for C or C-the sample best file for C or C++
- 2022-08-05 12:55:29下载
- 积分:1
-
中国象棋_window电话
用C语言编写的中国象棋人工智能。
- 2022-06-29 13:34:39下载
- 积分:1