-
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
-
旅游业管理系统
此源代码是关于旅游管理体制,引导游客为旅游景点的网站。
- 2022-09-24 04:35:03下载
- 积分:1
-
短信收发程序,能从一个目录中固定格式的文本文件中读取出相应的信息,发送出去。...
短信收发程序,能从一个目录中固定格式的文本文件中读取出相应的信息,发送出去。-SMS transceiver procedures, from a directory fixed format text file to read out the corresponding information sent.
- 2022-12-05 18:35:03下载
- 积分:1
-
Source packages microwindows
microwindows-0.98.tar.gz源码包-Source packages microwindows-0.98.tar.gz
- 2023-07-04 10:05:04下载
- 积分:1
-
FDC2214电容测量
利用STM32控制器,F1CRT6型号,控制FDC2214,来测量电容值,并通过OLED显示出来。
- 2022-03-09 17:24:55下载
- 积分:1
-
ADF和asdfdsdf SDF SDF
adf adsf asdfdsdf sdf sdf- adf adsf asdfdsdf sdf sdf sdf
- 2022-07-19 10:33:25下载
- 积分:1
-
use Directx produced by the Earth 3D
使用Directx 制作的3D地球-use Directx produced by the Earth 3D
- 2022-06-13 03:15:03下载
- 积分:1
-
sharp 640* 480 display driver for windows ce
sharp 640*480 display driver for windows ce -sharp 640* 480 display driver for windows ce
- 2022-01-26 02:32:20下载
- 积分:1
-
基于 Java 的大市政水计费系统
为我的城市开发的水计费系统,以减少在计费中心的市政水手动完成的工作。每一步是做系统的帮助下,员工注册登记,登记的水量为每个客户、 查询,以及处理顾客投诉的服务。自动的水计费系统将有助于减少大量的论文工作和档案工作在其中会使简单的金融体系。它还将提供所有最新的信息 tocustomers。此系统可以适应其他计费的活动。
- 2022-03-24 09:53:18下载
- 积分:1
-
BCB6_Thread.zip是教你如何写多线程的例子
BCB6_Thread.zip是教你如何写多线程的例子-BCB6_Thread.zip is to teach you how to write multithreaded example
- 2022-03-18 09:11:46下载
- 积分:1