AnsweredAssumed Answered

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

Question asked by on Sep 7, 2011
Latest reply on Sep 7, 2011 by brazov.ajeje
    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?
    Best Regards!