I'd like to set up TCC4 and TCC5 as a cascaded 32 bit timer, with pin-based capture. Where I'm getting stuck is how to configure the event system to both handle the 16 bit overflow *and* propagate the capture. I've preliminarily set up channel 0 as the capture channel (triggered by a rising edge on C0) and channel 1 as the overflow from TCC4. I can't grok how to set up TCC5 to perform an UPDOWN on event 1 and a CAPTURE on event 0.
I'm writing the software in advance of the arrival of the hardware, so all of this is theoretical at the moment.
EDIT: Never mind... I am supposed to set up TCC5 to *clock* from event channel 1 and use channel 0 as the capture trigger for both.