AnsweredAssumed Answered


Question asked by Sasha Hurovitz on Feb 10, 2015
Latest reply on Feb 11, 2015 by Alice_Yang


I used to use the HCS12 microcontroller and now I'm starting to use my new FRDM-K22F.

I'd like to use the Input Capture feature. I have the code that worked perfect on the HCS12 and I'm trying to pass it to the new environment.

I'm currently using the CodeWarrior 10.6 Special Edition software.

The problem is that I can't find the registers that make the equivalent.

I just want to make the driver. I mean, the initializer to define the pin as input capture, define the cases that activate the interrupt and where to define the interrupt (the function to call when the condition occurs).

Thank you in advance for your time.