Keil™, An ARM® Company

CARM User's Guide

Discontinued

Basic I/O

The following files contain the source code for the low-level stream I/O routines. When you use µVision IDE, you can simply add the modified versions to the project.

C Source FileDescription
PUTCHAR.CUsed by all stream routines that output characters. You may adapt this routine to your individual hardware (for example, LCD or LED displays).
The default version outputs characters via the serial interface. An XON/XOFF protocol is used for flow control. Line feed characters ('\n') are converted into carriage return/line feed sequences ('\r\n').
GETKEY.CUsed by all stream routines that input characters. You may adapt this routine to your individual hardware (for example, matrix keyboards). The default version reads a character via the serial interface. No data conversions are performed.