Due External Trigger for Timers

I'm trying to set up an external trigger (using a Toggle Switch connected to D26) for the TC0 timer on my Due board. I read through the datasheet's section on Timer Counters, but I don't get how to set up the external trigger - as in which register should be updated depending upon the toggle switch state. I can see how to set up the software triggers, etc., but not an external trigger.

Can anyone help with a sample sketch?

Thanks.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.