Keil Logo

C51: REDIRECTING SERIAL I/O TO OTHER UARTS


Information in this article applies to:

  • C51 All Versions

QUESTION

How can I redirect serial I/O from the internal 8051 UART to a memory mapped external UART?

ANSWER

  • Copy PUTCHAR.C and GETKEY.C from \KEIL\C51\LIB to your project folder.
  • Include these files in your µVision project.
  • Modify both functions to use your external hardware.

Last Reviewed: Tuesday, April 27, 2004


Did this article provide the answer you needed?
 
Yes
No
Not Sure
 
  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.