ps/2 at89s52 开机自检 程序

上传者: qq303137475 | 上传时间: 2019-12-21 18:52:43 | 文件大小: 59KB | 文件类型: rar
//******************************************************************** #include "ps2.h" //******************************************************************** #define clr_ps2_clk() (ps2_clk = 0) #define set_ps2_clk() (ps2_clk = 1) #define clr_ps2_data() (ps2_data = 0) #define set_ps2_data() (ps2_data = 1) #define db (1<<3) #define cmp_db() (P2^=db) #define set_db() (P2 &= ~db) #define clr_db() (P2|= db) //******************************************************************** #define delay_5us nop;nop;nop;nop;nop;nop;nop;nop;nop;nop; #define delay_10us delay_5us;delay_5us #define delay_15us delay_5us;delay_10us #define delay_20us delay_10us;delay_5us #define delay_40us delay_20us;delay_15us #define delay_50us delay_40us;delay_10us //************************************************************************

文件下载

资源详情

[{"title":"( 29 个子文件 59KB ) ps/2 at89s52 开机自检 程序","children":[{"title":"键盘my_ps2","children":[{"title":"main.lst <span style='color:#111;'> 18.52KB </span>","children":null,"spread":false},{"title":"ps2.obj <span style='color:#111;'> 33.03KB </span>","children":null,"spread":false},{"title":"my_ps2_Opt.Bak <span style='color:#111;'> 2.40KB </span>","children":null,"spread":false},{"title":"STARTUP.OBJ <span style='color:#111;'> 749B </span>","children":null,"spread":false},{"title":"my_ps2.Opt <span style='color:#111;'> 2.41KB </span>","children":null,"spread":false},{"title":"uart.obj <span style='color:#111;'> 10.73KB </span>","children":null,"spread":false},{"title":"src","children":[{"title":"config.c <span style='color:#111;'> 888B </span>","children":null,"spread":false},{"title":"uart.h <span style='color:#111;'> 908B </span>","children":null,"spread":false},{"title":"ps2.c <span style='color:#111;'> 6.36KB </span>","children":null,"spread":false},{"title":"uart.c <span style='color:#111;'> 2.66KB </span>","children":null,"spread":false},{"title":"config.h <span style='color:#111;'> 3.02KB </span>","children":null,"spread":false},{"title":"ps2.h <span style='color:#111;'> 836B </span>","children":null,"spread":false},{"title":"ps2.c.bak <span style='color:#111;'> 6.47KB </span>","children":null,"spread":false},{"title":"main.c <span style='color:#111;'> 4.76KB </span>","children":null,"spread":false}],"spread":true},{"title":"my_ps2.hex <span style='color:#111;'> 8.71KB </span>","children":null,"spread":false},{"title":"ps2.lst <span style='color:#111;'> 16.25KB </span>","children":null,"spread":false},{"title":"STARTUP.A51 <span style='color:#111;'> 5.00KB </span>","children":null,"spread":false},{"title":"main.obj <span style='color:#111;'> 15.60KB </span>","children":null,"spread":false},{"title":"uart.lst <span style='color:#111;'> 6.34KB </span>","children":null,"spread":false},{"title":"asm.h <span style='color:#111;'> 145B </span>","children":null,"spread":false},{"title":"my_ps2.lnp <span style='color:#111;'> 83B </span>","children":null,"spread":false},{"title":"my_ps2 <span style='color:#111;'> 62.93KB </span>","children":null,"spread":false},{"title":"STARTUP.LST <span style='color:#111;'> 11.39KB </span>","children":null,"spread":false},{"title":"my_ps2.plg <span style='color:#111;'> 10.45KB </span>","children":null,"spread":false},{"title":"config.lst <span style='color:#111;'> 2.40KB </span>","children":null,"spread":false},{"title":"my_ps2.Uv2 <span style='color:#111;'> 2.20KB </span>","children":null,"spread":false},{"title":"config.obj <span style='color:#111;'> 7.67KB </span>","children":null,"spread":false},{"title":"my_ps2.M51 <span style='color:#111;'> 31.90KB </span>","children":null,"spread":false},{"title":"my_ps2_Uv2.Bak <span style='color:#111;'> 2.09KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

  • syp秋雨无痕 :
    看了下,应该有用,写的很详细。
    2015-05-13
  • herobboy :
    还可以,挺适合初学者的!
    2014-06-30
  • tltym_tp :
    还行,可以给初学者提供参考。
    2013-04-17

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明