Arduino Zero TCC Capture

Thanks MartinL

Just three comments :

1 / Has AttachInterrupt with NULL being repaired in the IDE 1.8.5 ? If not I need to put a callback routine as previously isn't it ?

2/ How can I know that a new period has been measured in your sketch, since there is no more "void TCC0_Handler()" ?

3/ I also need "Count" data for my application. Can I declare isrCount variable and put isrCount++; in the void loop, but as said in 2/ above, how can I increment it at the end of each period measurement ?

Thanks again,

Kind Regards,

Daniel