How to distinguish between POR and BOR in reset interrupt processing.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2011-09-07 6:14 AM
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 discussion is locked. Please start a new topic to ask your question.
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2011-09-07 7:10 AM
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