Robert Bailey

9S08AW60 Output Compare, using the toggle output.  Can I preset the state of the FlipFlop?

Discussion created by Robert Bailey on Nov 26, 2007
Latest reply on Nov 26, 2007 by David Payne
If I want to use the toggle on compare (or the set/clear on compare) to run the output pin, how do I preset the flipflop?

i.e. when I enable the function, I want the output to be a certain, known state.  How do I preset it?

Is there a way to read the state of the flipflop and let the TPM channel execute a cycle or 2 to ensure its preset properly?


Bob Bailey
Bailey Engineering Inc