Harlen Chen

Use Device Initialization To generate CODE, How to avoid the code lose?

Discussion created by Harlen Chen on Jul 25, 2007
Latest reply on Jul 26, 2007 by CrasyCat
Hello,
I use the Devide Initialization to configure MCU and generate Code. MCUinit.c is created.
Because MCUinit.c have Interrupt function.  Need to tranfer the value between MCUinit.c and  main.c.
So I define the extern arguement.  But  once I  re-generate code, all the definations are lose.
How to cover this problem?
Best regards
harlen
 

Outcomes