1 Reply Latest reply on Dec 16, 2016 6:31 AM by user_1377889

    XRES

    hugo.oliveira

      Hi,

         

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

         

       

         

      Thank You

        • 1. Re: XRES
          user_1377889

          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