I used CY8C4014SXI
I want to use unconfigured tcpwm for timer capture and pwm.
I will use these separately.
first of all I set the capture config like this. (my tcpwm component name is timer)
/* Enable the global interrupt */
but it is not working.
What am I missing the config for timer capure?
As I understand the Timer_Init() will initialize the component with the configuration from design-time. Use that as the first call. Timer_Start() will call Timer_Init(), you should use Timer_Enable().