DUE Timer Counter in capture mode.

Hi,

I found for the CPCS flag today, but I'm not online every day.
For the CPCTRG it's an idea. and with that I have less code.

Sorry for your lib. It's a really nice job, but for this project I start without any aditional lib and I want to see all what I'm doing.
Perhaps when I make a better code and when I'm more familiate with the DUE and the C++.

Thanks !