??? 08/11/06 08:13 Read: times |
#122028 - Where should i CPL p0.5 then? Responding to: ???'s previous message |
Yes, timer 0 mode 2 autoreload will work regardless what does rest of the software. But the problem is i need to poll the timer flag TF0 to check when it overflows and then only i can CPL P0.5, to generate the square wave.
This will result in endless loop. I know that there are ports that timer automatically pulse a square wave when set to mode 2 autoreload but the physical hardware of my microcontroller has connected to P0.5, which is not the respective port that timer will pulse automatically. Am i right? Ivan |