Skip to main content
ajicea
Associate
January 17, 2010
Question

USB Wakeup

  • January 17, 2010
  • 3 replies
  • 842 views
Posted on January 17, 2010 at 02:34

USB Wakeup

    This topic has been closed for replies.

    3 replies

    16-32micros
    Associate III
    May 17, 2011
    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
    ajiceaAuthor
    Associate
    May 17, 2011
    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.

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

    Thanks a lot STOne-32...