Hi,
If a timer is running and driving an output, what would the associated output IO pin be when timer stops?
1. For example if at 50% of the timer period one stops the timer by setting MCx to 0x00 (stop), apply new settings and reset MCx to 0x01(start), the instructions might take some cycles to complete. In this interval would the output IO pin be high or low?
If we need to keep timer’s output IO pins DEFINITEly high or low during the setting switch, should we: enable PxREN pulling → change PxSEL to IO pins → MCx stop, change setting, MCx start → change PxSEL to timer output?
2. There is a TACLR bits in the TACTL register which resets TAR, clock divider and timer count direction. Is this relevant to the above question?
John