Keil Logo Arm Logo

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.

INTSIO2.ZIP (27K)
Monday, December 9, 2002

Keil logo

Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

ARM’s Privacy Policy has been updated. By continuing to use our site, you consent to ARM’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.

Acquisition of ARM Holdings plc. by SoftBank Group Corp.

We are pleased to inform you that on 5 September 2016, SoftBank Group Corp. acquired ARM Holdings Plc. ARM will continue to operate as an independent business within the SoftBank group.

Any current agreements between ARM Ltd (or other ARM group companies, as applicable) you / your company remain in effect as between the parties, and the parties will continue to be bound by and perform the obligations in such agreements. If you have any queries please direct these to ARMSoftbank-Notifications@arm.com.