Timer_writePeriod() API call not working | Cypress Semiconductor
Timer_writePeriod() API call not working
I built a simple timer example with terminal count ISR enabled.
I tried setting the Peroid through Timer_writePeriod() API call. but it always takes period from the configuration window.
Tried manually forcing counter to zero through Timer_writeCounter(0) API call but this triggers tc interrupt immediately.
I have attached my code.
Thanks in advance.