WDT counter clear | Cypress Semiconductor
WDT counter clear
I used PSoC4.
I want to use WDT for reset when Abnormal working is occured.
My code is like this
/* Setup first WDT counter to generate interrupt on match 0x4FFF */
CY_SYS_WDT_CTRLOW_REG = 0;
CY_SYS_WDT_CTRHIGH_REG = 0;
I thought that 'CY_SYS_WDT_CTRLOW_REG = 0' makes WDT counter clear.
I don't want to occured WDT reset, so I tried to clear WDT counter.
but it is not. WDT reset is occured.
How can I clear WDT counter?
Thanks for read my question