程序说明.txt

来自「ISR-Driven Serial I/O V2」· 文本 代码 · 共 10 行

TXT
10
字号
ISR-Driven Serial I/O V2

This example program provides you with easily configurable interrupt-driven serial I/O routines. The buffer sizes for receive and transmit may be independently configured to 2,4,8,16,32,64, or 128 bytes in length. The memory space used for each buffer and for the control indexes is also easily configured.

Routines to send and receive characters are included along with routines that return the number of characters in either buffer.

Included are putchar and _getkey routines that interface printf and scanf to the interrupt-driven serial I/O routines.

Serial I/O is handled in a separate file (SIO.C) that you can use in your own programs. This example works with any 8051-compatible device.

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?