Skip to main content
danieljohansson9
Associate
May 16, 2011
Question

List of STM32 Firmware Library control defines

  • May 16, 2011
  • 2 replies
  • 531 views
Posted on May 16, 2011 at 11:37

List of STM32 Firmware Library control defines

    This topic has been closed for replies.

    2 replies

    Andrew Neil
    Super User
    May 17, 2011
    Posted on May 17, 2011 at 14:35

    ''I can't find it in the windows helpfile accompanying the fwlib''

     

    Unfortunately, I think that's all there is.

    :(
    A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
    danieljohansson9
    Associate
    May 17, 2011
    Posted on May 17, 2011 at 14:35

    That's my conclusion as well.

    The specific watchdog debug (stall WWDG in debug) I was looking for wasn't a define anyway. It's a function in the DBGMCU.c that needs to be called from user code similar to that of setting the APB clocks.

    For STM32F2X Series:

     DBGMCU_APB1PeriphConfig(DBGMCU_WWDG_STOP,ENABLE); //Turn off when debugging

    For STM32F1X Series:

     DBGMCU_Config(DBGMCU_WWDG_STOP, ENABLE); //Turn off when debugging