I haven't found a complete example of code for the use of TCC PPW/PWP
In Fig. 31-10 http://ww1.microchip.com/downloads/en/DeviceDoc/40001882A.pdf#page=545 it shows "external signal/event"
If we use an external signal, which input pins can one use, and how do we associate the TCC with the pin?
If we use events, what events generators are used, and which TCC users? How does the TCC know that one event is from the leading flank, and which from the trailing edge?
The same method can also used for TC
Could someone point me in the right direction
Thanks, Jerry