Skip to main content
Visitor II
November 24, 2009
Question

STM8S103F2 TIMER EXAMPLE(needed please)

  • November 24, 2009
  • 11 replies
  • 1831 views
Posted on November 24, 2009 at 06:49

STM8S103F2 TIMER EXAMPLE(needed please)

    This topic has been closed for replies.

    11 replies

    Visitor II
    May 17, 2011
    Posted on May 17, 2011 at 15:05

    Hi,

    Sorry for the late answer,

    The FWLib is common for all STM8S family and by default the STM8S208 product is selected.

    The user can configure the target STM8S device used in his application in the stm8s, in your case you should make this configuration without updating any peripheral struct.

    #if !defined (STM8S208) && !defined (STM8S207) && !defined (STM8S105) && !defined (STM8S103) && !defined (STM8S903)

    /* #define STM8S208 */

    /* #define STM8S207 */

    /* #define STM8S105 */

    #define STM8S103

    /* #define STM8S903 */

    #endif

    Regards

    mozra