-
1. 本程序使用一个定时器和任意 2 个 I/O 口模拟一个串行口。
2. 1位起始位,8位数据位,1位停止位。发数据位时先发低位。
3. 支持半双...
1. 本程序使用一个定时器和任意 2 个 I/O 口模拟一个串行口。
2. 1位起始位,8位数据位,1位停止位。发数据位时先发低位。
3. 支持半双工通讯。收、发波特率相同。
4. 应把定时器中断优先级设置为最高级。
5. 本程序每接收一个字节后就把它放到一个队列缓冲区中(也可使用环行缓冲区),
待缓冲区满后,将缓冲区中的内容原样发回。这是为了测试多字节连续收发的
能力和简化程序。实际应用中应防止缓冲区溢出。
6. 由接收转换到发送时要先调用 soft_send_enable ();
由发送转换到接收时要先调用 soft_receive_enable ()。
7. 发送最后一个字节后如果要立刻转为接收,必须等待最后一个字节后发送完毕
while ( rs_f_TI == 0) // 等待最后一个字节发送完毕-err
- 2022-06-19 08:35:11下载
- 积分:1
-
SCM keyboard depiction sweep procedures. Have been used in the procedure.
单片机键盘描扫程序. 一直在用的程序.-SCM keyboard depiction sweep procedures. Have been used in the procedure.
- 2022-09-25 14:45:03下载
- 积分:1
-
这个程序是在单片机上实现拼音输入法,采用了KeilC编译。
这个程序是在单片机上实现拼音输入法,采用了KeilC编译。-This process is achieved in single-chip Pinyin input method, using a compiler KeilC.
- 2022-03-22 05:50:34下载
- 积分:1
-
Sunplus 061A MCU interrupt routine use. Including external interrupt example
凌阳061a单片机的中断使用例程。包括外部中断例子-Sunplus 061A MCU interrupt routine use. Including external interrupt example
- 2022-04-19 06:44:29下载
- 积分:1
-
基于Keil C平台的源程序,是针对AT89ls52的4×4键盘扫描程序,采用查询方式进行...
基于Keil C平台的源程序,是针对AT89ls52的4×4键盘扫描程序,采用查询方式进行-Keil C based on the source platform is AT89ls52 for the 4 × 4 keyboard scanning procedures, the use of inquiries conducted
- 2023-01-02 22:45:04下载
- 积分:1
-
qiangdaqi
抢答器,可以实现很大的功能,比如,计时、抢答,锁定-qiangdaqi
- 2022-09-13 02:15:02下载
- 积分:1
-
max197采样程序,采用STC89C52RC单片机
max197采样程序,采用STC89C52RC单片机-MAX197 sampling procedures STC89C52RC Singlechip
- 2022-08-08 20:31:52下载
- 积分:1
-
64输入32输出单片机程序
64输入32输出单片机程序-64 input 32 output SCM procedures
- 2022-11-11 08:30:03下载
- 积分:1
-
这是DSP2407的RAM测试程序,含全部源码,调试通过,可运行.
这是DSP2407的RAM测试程序,含全部源码,调试通过,可运行.-This is the DSP2407 the RAM test procedures, including all source code, debugging is passed, can be run.
- 2023-08-06 12:40:03下载
- 积分:1
-
used for IAR compiler. This is ATMEGA128 SCM BOOTLOADER source. And the use of A...
采用IAR进行编译。
这是ATMEGA128单片机的BOOTLOADER的源码。
和AVRSTUDIO配合使用。
具体请参考bootloader.c的注释说明。
如有任何问题请邮件联系。-used for IAR compiler. This is ATMEGA128 SCM BOOTLOADER source. And the use of AVRSTUDIO tie. Please refer to specific bootloader.c note of the Notes. If you have any questions please contact mail.
- 2022-03-23 08:25:05下载
- 积分:1