View previous topic :: View next topic |
Author |
Message |
Eugene Guest
|
Simple printf and interrupt question |
Posted: Mon Nov 26, 2001 11:18 am |
|
|
If the processor is in the middle of running a printf command and an interrupt has been called, what happens if that interrupt uses the printf command. When the program returns to the main printf, will it continue with it correctly?
___________________________
This message was ported from CCS's old forum
Original Post ID: 1319 |
|
 |
Tomi Guest
|
Re: Simple printf and interrupt question |
Posted: Mon Nov 26, 2001 11:52 am |
|
|
It is regarding from the usage. Do you have a simple printf() to use the UART as output or using it with an output function (as LCD_Write_data() or same) as the first parameter?
Do you have delay_ms() calls in your IT handler (including subroutines e.g. LCD handling)?
:=If the processor is in the middle of running a printf command and an interrupt has been called, what happens if that interrupt uses the printf command. When the program returns to the main printf, will it continue with it correctly?
___________________________
This message was ported from CCS's old forum
Original Post ID: 1322 |
|
 |
|