This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

swrc117 more and more mistakes?

Other Parts Discussed in Thread: Z-STACK

question18

swrc117


in the: io_multi_in_out.c
description section said:"...When a rising edge is detected on the P1_6, the ISR for that pin will be executed."

the soft continues..
 // Generate interrupt on falling edge from port 1
    PICTL |= PICTL_P1ICON;

so really is a falling edge detection interrup because PICTL_P1ICON=0x02 

 

1)the P1_6 is configured as input,and the soft comments said as output
2)the interrupt detection as falling edge and the descrip said rising edge

--------------------
P1_1 but where??

on setup test stuff said:
* Setup test stuff
     *
     */

    // Initialize P1_1/3 for SRF04EB LED1/3
    P1SEL &= ~(BIT3 | BIT0);
    P1_0 = 1; P1_3 = 1;
    P1DIR |= (BIT3 | BIT0);

there are only two leds or pins configured,P1_0,and P1_3
so where is the mentioned P1_1???