I have some troubles about GPIO Interrupt on Piccolo F28027F in Simulink.
I am working on a project for a controller of elevator. I chose F28027 with Embedded Coder Support Package for Texas Instruments C2000 Processors, so I want to model-based development.
The GPIO 18 is bounded with an interrupt signal from an I2C-Slave. That is, if GPIO18 an interrupt signal received, it will do something.
However I do not know, how to configure the GPIO Interrupt in Simulink.
There is an example about I2C Interrupt from Mathworks. ‘Using the I2C Bus to Access Sensors’
In this example I can’t understand, how can I define the ‘Source code Symbol’ in the block Memory Copy.
In my case, for example, I want to configure GPIO18 as Interrupt, then I must configure the Register of GPIOXINT3SEL and XINT3CR. But how and where?
I hope someone can help me. Thank you very much.