Home |
RTTarget-32 Programming Manual Running Win32 Programs without Win32 Running a Program on the Target Running Demos with Command Line Tools Running Demos in Microsoft Visual Studio Running Demos in the Borland Delphi IDE Using a Standard PC as a Target Using a Standard PC as a Target for GUI Demos Using the AMD Élan SC400 Evaluation Board Using the AMD Élan SC520 Evaluation Board Using the RTOS32Win Virtual Target Using the Real-Time Hypervisor Target Program SerInt Compiling and Linking with On Time RTOS-32 |
Program SerIntProgram SerInt demonstrates how to install a hardware interrupt handler with RTTarget-32. As an example, this program installs a very simple interrupt handler to receive data on serial port COM2. The handler will read the byte received from the UART chip and place it in a buffer. The main program continually checks whether the user has requested program termination by pressing Escape on the keyboard, or whether data has been received on COM2. The program is kept very simple and lacks many features of high-performance serial I/O applications. However, it is a good example of interrupt processing under RTTarget-32.
|