1 Reply Latest reply on Jul 10, 2014 6:07 AM by anuradha.nanayakkara

    Wakeup src none vs CTW

    anuradha.nanayakkara

      Hello all,

         

      Can somebody kindly expalin me the difference of following two Sleep mode invocations?

         

       

         

      CyPmSleep(PM_SLEEP_TIME_CTW_4MS, PM_SLEEP_SRC_CTW);

         

      CyPmSleep(PM_SLEEP_TIME_CTW_4MS, PM_SLEEP_SRC_NONE);

      Thanks.
      -Anuradha

         

       

       

        • 1. Re: Wakeup src none vs CTW
          anuradha.nanayakkara

          Hello,

             

          Further inflrmation on this, which seems important is as follows. Application note AN77900 says,

             

           

             

           

             

           

             

          Here is the format of the CyPmSleep()

             

                 CyPmSleep(

              uint8    wakeupTime,     uint16    wakeupSource)    

           Thnaks.
          -Anuradha

             

           

             

          CyPmSleep() function has two parameters, wakeupTime and wakeupSource.The wakeupTime parameter is used to set the frequency of a timer and unmask it as a wakeup source. The wakeupSource parameter is used to unmask the asynchronous and component-based wakeup sources.