I want to build up a 32bit hardware timer, so I let TC2 by clocked by PWM2 with frequency of PBA/2/65536, and TC0 by clocked by PBA/2.
But now I don't know if there is way to sync PWM output to PBA clocks.
I checked the peripheral clock masking, but if the TC or PWM's input clocked are masked, then it's not possible to enable their counters.
Anyone knows the way???