XRES

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

Hi,

   

    Can you tell whether the CySysGetResetReason function returns the XRes pin as the reset source?

   

 

   

Thank You

0 Likes
1 Reply
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

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

0 Likes