cancel
Showing results for 
Search instead for 
Did you mean: 

external interrupts

mtraman
Associate II
Posted on March 12, 2007 at 08:00

external interrupts

3 REPLIES 3
mtraman
Associate II
Posted on May 17, 2011 at 09:39

i hav connected p7.0 to p7.3 to 4 row lines of a matrix keypad. p7.0-3 have been configured as external interrupts.

if i select all the lines as external interrupts like:

// Select WIU line 24,25,26 and 27 as VIC1.13 interrupt source

SCU_WakeUpLineConfig(24);

SCU_WakeUpLineConfig(25);

SCU_WakeUpLineConfig(26);

SCU_WakeUpLineConfig(27);

then only line 27 got configured as ext. int.

when i saw the SCU_WKUPSEL register it looks as if only one line in a group (in my case, group 3) can be configured as external interrupt.

Please, tell me how i can use all the lines as interrupt lines. Otherwise i hav to poll the lines, wasting precious CPU time.

Thanks,

Vikram :-[ :-[

amira1
Associate II
Posted on May 17, 2011 at 09:39

Hi tvikram,

Yes you are right. You can use only one line as external interrupt in the same group (please refer to reference manuel p80).

Hence, to use more then one line you have to choose them with different groups.

with best regards

mirou

[ This message was edited by: mirou on 05-03-2007 18:19 ]

mtraman
Associate II
Posted on May 17, 2011 at 09:39

Thank u for the clarification,

Vikram