Aaron Moore

MC9S08GT16A Interrupts?

Discussion created by Aaron Moore on Dec 2, 2007
Latest reply on Dec 12, 2007 by bigmac
Hello, I am trying to use a MC9S08GT16A to measure a PPM signal from an RC receiver.
 
As such I need to measrue the duration of a train of pulses. This is easily done with an interrupt and a timer, but I am wondering which pins can trigger an rising/falling edge interrupt?
 
The documentation says there are several user defined interrupt vectors, but I am not sure how those work.
 
I would like to be able to measure 4 different pulse trains so it looks like PTD0-PTD4 would all work, but can I also get it to trigger an interrupt on any general purpose I/O pin as well?
 
Appreciate any information.

Outcomes