how to feed watchdog with cy8c4014sxi

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

cross mob
Anonymous
Not applicable

       as subject, there is no function in CY8C4014SXI' API, how to feed watchdog?

0 Likes
3 Replies
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

Welcome in the forum.

   

The settings for the WDT are made in Creator using the clocks view. Under "Edit Clocks" you find the "Low Frequency Clocks" where the setting for WDT are made.

   

 

   

Bob

0 Likes
Anonymous
Not applicable

as required, i need a double click judgment and programmed in main loop as following, and TmCounter counts in a timer interrupt , but it is stable, how can i realize this function for double click checking?

   

curr = KeyScan();

   

if(RISING_EDGE_DET(curr, prev) )

   

{

   

     while(TmCounter < ClickInterval)

   

      {

   

          curr = KeyScan();

   

          if(RISING_EDGE_DET(curr, prev) )

   

          {

   

             DoubleClickFlag =TRUE;

   

            break;

   

          }

   

       pre =curr;

   

      }

   

}

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

See Creator -> Help -> System reference Guide -> Cy_lfclk. In the PDF at pg 21 you see your  CySysWatchdogFeed ()

   

 

   

Bob

0 Likes