Skip to main content
Visitor II
March 12, 2007
Question

external interrupts

  • March 12, 2007
  • 3 replies
  • 775 views
Posted on March 12, 2007 at 08:00

external interrupts

    This topic has been closed for replies.

    3 replies

    mtramanAuthor
    Visitor II
    May 17, 2011
    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 :-[ :-[

    Visitor II
    May 17, 2011
    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 ]

    mtramanAuthor
    Visitor II
    May 17, 2011
    Posted on May 17, 2011 at 09:39

    Thank u for the clarification,

    Vikram