2007-03-12 12:00 AM
2011-05-17 12:39 AM
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 :-[ :-[2011-05-17 12:39 AM
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 ]2011-05-17 12:39 AM
Thank u for the clarification,
Vikram