cancel
Showing results for 
Search instead for 
Did you mean: 

interupts & events

trevor3
Associate II
Posted on August 07, 2009 at 11:54

interupts & events

2 REPLIES 2
trevor3
Associate II
Posted on May 17, 2011 at 13:19

Can any one explain what the difference is between an 'interupt' and an 'event' in regards to EXTI. I cannot seem to find an explanation in the docs.

joseph239955
Associate II
Posted on May 17, 2011 at 13:19

Cortex-M3 can enter sleep by

- WFI instruction

- WFE instruction

- Sleep-on-exit feature

If the processor enter sleep mode via WFE (Wait for Event) instruction,

it can be wake up by events including

- interrupt

- event signal (e.g. EXTI)

- debug

For WFI (Wait for Interrupt), it can only be wakup by

- interrupt

- debug

Please refers to section 2.5.1 and 2.5.3 in PM0056 Programming manual for more information.

http://www.st.com/stonline/products/literature/pm/15491.pdf