Input Capture and Output Compare for MC9S12DP256
Can I know where I can get the detail information on the basic steps
to write program for the interrupt in C? Any sample code as a reference?
Basically, I will use Output Compare function to generate a step pulse
train to a stepper motor driver. Meanwhile, Input Capture function
will be used to detect the quadrature encoder input as a feedback. Any
reference or sample code on this? What are the specific registers that
needed in this Enhanced Capture Timer module?
Any help is highly appreciated.