Keil Logo

Interrupt-Driven UART I/O for STMicroelectronics STR91x

This example program provides easily configurable interrupt-driven UART I/O routines. The buffer sizes for receive and transmit may be independently configured to 2,4,8,16,32,64,128,... bytes long.

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

Included are fputc and fgetc routines that interface printf and scanf to the interrupt-driven UART I/O routines.

UART I/O is handled in a separate file (SIO.C) that you can use in your own programs. This example works with STMicroelectronics STR91x devices and uses the vectored interrupt controller and software interrupt functions.

Targets for Simulation and Board Keil MCBSTR9 are preset.

This example programm is precompiled for Simulation.
To run this example on Board Keil MCBSTR9 you must rebuild all targetfiles, connect the Evaluation Board via ULINK and download the application using Flash - Download.

STR91X_UARTIRQ.ZIP (27K)
Tuesday, January 23, 2007
  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.