cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC 4 MCU

Anonymous
Not applicable

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

0 Likes
3 Replies
JoMe_264151
Expert II

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
JoMe_264151
Expert II

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

   

 

   

Bob

0 Likes