2011-09-07 06:14 AM
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! Fred2011-09-07 07:10 AM
As I know there is no flag in the reset source register to discriminate between these two kind of reset sources.
brazov2