Wakeup src none vs CTW

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

cross mob
Anonymous
Not applicable

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

   

 

 

0 Likes
1 Reply
Anonymous
Not applicable

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.

0 Likes