2008-05-21 08:49 PM
2011-05-17 12:53 AM
2011-05-17 12:53 AM
I am not sure, but you stated P6.0 Vic1.12
so shouldn't VIC1->INTER |= 0x0800; //interrupt11 be VIC1->INTER |= 0x1000; //interrupt12 may want to use their function VIC_ITCmd(EXTIT2_ITLine, ENABLE);2011-05-17 12:53 AM
tnk,
I have resolved the problem trought the function of WIU and VIC library. Port 6.0 ---->interrupt16 (see manual and the Wic' example) Port 6.4 ---->interrupt20 Using thus functions ( taken advantage from the structure of the Wic' example ) the initial problem was how to run the interrupt software, and where write it. I saw that in the file 91x_IT there was declared function that are utilizable for thus, and one function of the example call it. So if you use port6, have to use EXINT2_ function and write your interrupt software. In this way is very simple. (for port5 EXINT1, for 7 EXINT3, ...) I hope that thus can be util for someone to handler in easy way the interrupt. alla regards