Skip to main content
wpj1018
Associate
Sep 7, 2011 1:14 PM UTC
Question

How to distinguish between POR and BOR in reset interrupt processing.

Posted on September 07, 2011 at 15:14

Hi:

    STM8S105 is used, there have more reset sources according to manual.

    1,When power on, if reset interrupt is enable, first enter into POR, then enter BOR,POR is off.

    2,When power down, if reset interrupt is enable,enter into BOR.

    RESET interrupt vector is only one, so enter into BOR interrupt, how to distinguish what is caused by POR or BOR?

    Thanks!

    Best Regards!

Fred
    This topic has been closed for replies.

    1 reply

    brazov22
    Associate III
    Sep 7, 2011 2:10 PM UTC
    Posted on September 07, 2011 at 16:10

    As I know there is no flag in the reset source register to discriminate between these two kind of reset sources.

    brazov2