cancel
Showing results for 
Search instead for 
Did you mean: 

USB Wakeup

ajicea
Associate II
Posted on January 17, 2010 at 02:34

USB Wakeup

3 REPLIES 3
ajicea
Associate II
Posted on May 17, 2011 at 13:36

Anyone knows, if I should be using EXTI_Trigger_Rising or EXTI_Trigger_Falling or EXTI_Trigger_Rising_Falling to wakeup from stop mode in USB.

There is no mention about this in the reference manual.

16-32micros
Associate III
Posted on May 17, 2011 at 13:36

Hi,

Here is the code from Joystick demo in file ''hw_config.c''

/* Configure the EXTI line 18 connected internally to the USB IP */

EXTI_ClearITPendingBit(EXTI_Line18);

EXTI_InitStructure.EXTI_Line = EXTI_Line18; //USB resume from suspend mode

EXTI_InitStructure.EXTI_Trigger = EXTI_Trigger_Rising;

EXTI_InitStructure.EXTI_LineCmd = ENABLE;

EXTI_Init(&EXTI_InitStructure);

Cheers,

STOne-32.

ajicea
Associate II
Posted on May 17, 2011 at 13:36

Thanks a lot STOne-32...