Anonymous
Not applicable
Dec 16, 2016
04:11 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dec 16, 2016
04:11 AM
Hi,
Can you tell whether the CySysGetResetReason function returns the XRes pin as the reset source?
Thank You
Labels
- Labels:
-
BLE
1 Reply
Dec 16, 2016
06:31 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dec 16, 2016
06:31 AM
System reference guide says
All bits in the RES_CAUSE register assert when the corresponding reset cause occurs and must be cleared by firmware. These bits are cleared by hardware only during XRES, POR, or a detected brown-out.
So when reset reason returns zero (0) it will be XRES, POR, or a detected brown-out.
Bob