Sign in

username:

password:



Not a member?

Search 68hc12



Search tips

Subscribe to 68hc12



68hc12 by Keywords

68HC1 | 812A4 | 9S12DP256 | Bootloader | CodeWarrior | D60A | Debugger | DP256 | ECT | EEPROM | EVB | Flash | HC1 | HCS12 | I2C | IAR | ICC1 | Interrupts | LCD | M68KIT912DP256 | MC9S12DP256 | MC9S12DP256B | Metrowerks | Motor | MSCAN | Multilink | PLL | Quadrature | SDI | SPI | Transceiver | XFC

Ads

Discussion Groups

Discussion Groups | 68HC12 | Input Capture and Output Compare for MC9S12DP256

Join our technical discussions about Freescale Microcontrollers: M68HC12. (Freescale Semiconductor is a Subsidiary of Motorola).

Input Capture and Output Compare for MC9S12DP256 - yawjiun_84 - Nov 18 6:16:07 2007

Hi,

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.

Best Regards,
yj



(You need to be a member of 68hc12 -- send a blank email to 68hc12-subscribe@yahoogroups.com )