-
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
-
windows ce下的usb鼠标驱动原代码,
windows ce下的usb鼠标驱动原代码,-Source code for USB mouse driver for WinCE.
- 2022-10-04 20:00:02下载
- 积分:1
-
数据挖掘关联分析的最新研究进展和未来趋向 《Frequent pattern mining: current status and future directi...
数据挖掘关联分析的最新研究进展和未来趋向 《Frequent pattern mining: current status and future directions》 由权威科学家韩家炜等著-Correlation Analysis of Data Mining the latest research progress and future trends
- 2023-02-14 06:00:04下载
- 积分:1
-
linear programming solution using the multiplier Simplex Method
解线性规划的用乘数的单纯形法-linear programming solution using the multiplier Simplex Method
- 2022-07-03 03:14:21下载
- 积分:1
-
Console back words and supports multi
Console背单词程序,支持多用户,艾宾浩斯遗忘曲线-Console back words and supports multi-user, Ebbinghaus curve forgotten
- 2022-04-25 14:49:39下载
- 积分:1
-
创建Delphi按钮组件
创建分量 Delphi.This 示例中的按钮教你如何快速创建一个 Delphi 组件。简而言之,您可以开发组件在 objetc pascal 语言中最小的工作量。
- 2023-07-28 14:55:03下载
- 积分:1
-
windows下的自动关机程序
windows下的自动关机程序-an auto shut down program in the windows environment
- 2022-11-06 13:50:03下载
- 积分:1
-
At the same time abreast, every three months exports calendar condition , import...
每三个月同时并排输出日历情况,输入年月即可。-At the same time abreast, every three months exports calendar condition , imports days being OK.
- 2022-07-02 11:36:25下载
- 积分:1
-
c# written in a simulated Tetris source code, colored box, the logic correctly....
c#编写的一个模拟俄罗斯方块源代码,方块有颜色,逻辑正确。速度快。-c# written in a simulated Tetris source code, colored box, the logic correctly. Speed.
- 2022-11-10 01:25:03下载
- 积分:1
-
获得网卡ID号,这个号是一个唯一的号。
获得网卡ID号,这个号是一个唯一的号。-access ID card, this was the only No. 1.
- 2022-03-19 16:24:38下载
- 积分:1