Skip to main content
mpj
Associate
August 10, 2006
Question

button interrupt?

  • August 10, 2006
  • 5 replies
  • 1517 views
Posted on August 10, 2006 at 07:03

button interrupt?

This topic has been closed for replies.

5 replies

anis
Visitor II
May 17, 2011
Posted on May 17, 2011 at 09:31

Hi Michael,

There is an example of button interrupt in the WIU folder in the examples provided with the standard library.

Best regards,

STARM

mpj
mpjAuthor
Associate
May 17, 2011
Posted on May 17, 2011 at 09:31

Hi,

Can someone point me to a button interrupt example for the STR910-EVAL board.

Thanks

Michael

stefano239955_stm1_stmicro
Associate III
May 17, 2011
Posted on May 17, 2011 at 09:31

Hi,

I'm trying to use the WIU demo.

If I contine to press the button the IRQ is always asserted.

Could you let me know if is possible to assert the irq only

with a rising or falling edge?

mpj
mpjAuthor
Associate
May 17, 2011
Posted on May 17, 2011 at 09:31

Thank you.

Michael

stefano239955_stm1_stmicro
Associate III
May 17, 2011
Posted on May 17, 2011 at 09:31

hi,

I found the problem in WIU example

I need to detect a usb cable removal so I'm trying to use pin P75

as USB voltage detecting.

In the example I changed the output pin to P70 and

when I change the output state the WIU_PR bit related to this

pin is set.

The GPIO7OUT is configured as 0x0001

I'd like to know if this is a normal behavior.