glenjoy
Banned

- Joined
- Jan 1, 2004
- Messages
- 962
- Helped
- 72
- Reputation
- 146
- Reaction score
- 20
- Trophy points
- 1,298
- Location
- Philippines
- Activity points
- 0
ccs rs232 interrupt
I want to implement a serial routine in my program; it is getting a character from the serial port, now while waiting for the incoming serial data, I still want to monitor some important event outside my microcontroller, how to implement this w/o this:
main
{
char x;
while(1)
x = getc();
...........
..........
}
Because as far as I know the program will stop at at getc() and will wait for an input before it will got to the next line.
I want to implement a serial routine in my program; it is getting a character from the serial port, now while waiting for the incoming serial data, I still want to monitor some important event outside my microcontroller, how to implement this w/o this:
main
{
char x;
while(1)
x = getc();
...........
..........
}
Because as far as I know the program will stop at at getc() and will wait for an input before it will got to the next line.