| ??? 02/10/04 17:07 Read: times |
#64416 - RE: Circular buffers Responding to: ???'s previous message |
Erik,
If you use this method, you must also program the serial port to be a high priority via the interrupt priority register. Otherwise you could be interrupted by a higher interrupt priority such as IE0,TF0, IE1, TF1. The IP register must set to be 0x10H, so that the serial port will have the highest priority, otherwise, you will lose characters due to a higher priority interrupt. Jacob |



