AnsweredAssumed Answered

Event handler for external pin interrupt on MKL03 with PE and Designstudio?

Question asked by Roland Zitzke on Oct 25, 2014
Latest reply on Jan 21, 2015 by Jorge_Gonzalez

Hi,

I am trying to set up a project for a MKL03Z32 MCU using Design Studio.

I selected processor expert in the project wizard which "automatically" also enabled the SDK somehow.

The only part i am currently struggling with is to configure an external interrupt on an LLWU pin.

I would expect that processor expert creates an OnInterrupt stub function (or simmilar) in the events.c file once I configure the corresponding pin to create an interrupt on "either edge" like it is done - for example - for ADC completion.

However, I can not find any stub or hint on where to put code for the interrupt service. There is an IntMan1 component in the project but it does not offer anything on the "events" tab either.

I found an "ExtInt" component which appears to be what I would need but adding this component to the project is disabled.

So my question is:

How to setup a processor expert project for the MKL03Z32 which executes application code upon occurrence of an external interrupt on an LLWU input pin?

TIA, Roland

Outcomes