cancel
Showing results for 
Search instead for 
Did you mean: 

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

wpj1018
Associate II
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
1 REPLY 1
brazov22
Associate II
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