I want to use FTM0 on the K70 to generate a 60Hz pulse. My code is in the attachment. The issue is nothing comes out on the PTD6 pin. I've checked the register values using a debugger and they all show correct except FTM0_C6V and C7V which show all zeros. Any ideas as to what is wrong?
Original Attachment has been moved to: FTM-Handler.c.txt.zip