Keil Logo

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 File Description
PUTCHAR.C Used 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.C Used 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.
  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.