Accessing the WDT_CONTROL registers' WDT_ENABLE0 bit in code

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

cross mob
Anonymous
Not applicable

I know this  is pretty basic but I have searched the architecture TRM, the register TRM and the forms and can not figure out the syntax to do this 🙂

   

Thanks

   

Dale

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

What for? Why not using the provided functions? Look into "System Reference Guide" (From Creator's Help menu) and choose the PSoC4 low frequency clocks, there is written about WDT.

   

 

   

Bob

0 Likes
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

I looked at ref guide, nada on WDT ? Other than this in change table -

   

 

   

 

   

PSoC 4000: Update WDT API description to clar
that CySysWdtEnable() and CySysWdtDisable()
correspondingly enables and disables the watchd
timer reset generation.

   


PSoC 4000: Fixed the implementation of the
CySysWdtReadIgnoreBits() to return correct
number of the ignored bits in the WDT counter.

   

 

   

Found some more info in

   

PSoC 4100/4200 Family PSoC 4 Architecture TRM, Document No. 001-85634 Rev. *C

   


https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=2&ved=0CCQQFjABahUKEwjW9oqf-7fHAhXMWz4...

   

 

   

Regards, Dana.
 

0 Likes
Anonymous
Not applicable

Thanks, that worked!

   

I can't get used to having to look way beyond my devices datasheet for answers.

   

And I will have to figure out what this whole product tree is and how they interrelate, PRoC/PSoC 1-5 and 4000, 4100,4200 etc.

   

The cy_ components look like a good intermediate layer to use and will come handy.

   

BUT now I am really curious, I have this 1500 page Register TRM and no syntax to change these registers directly in code, there has to be a way without using the cy_ routines.

   

Dale

0 Likes
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

I think you will have to file a CASE to get answer, maybe the reg TRM still undergoing

   

write.

   

 

   

To create a technical or issue case at Cypress -

   

 

   

www.cypress.com

   

“Support”

   

“Technical Support”

   

“Create a Case”

   

 

   

You have to be registered on Cypress web site first.

   

 

   

Regards, Dana.

0 Likes