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.
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
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.
I think you will have to file a CASE to get answer, maybe the reg TRM still undergoing
To create a technical or issue case at Cypress -
“Create a Case”
You have to be registered on Cypress web site first.