Although it mentions "Event counting" the datasheet for SAM4E16E doesn't mention how to setup this case for Timer Counter peripheral. Would it be possible to count pulses on TIOA1 using timer capture? Unfortunately TCKL0 cannot be used as it was assigned to other peripherals and our schematic cannot be changed at the moment. I could setup an interrupt as input GPIO pin for the counting but I would like to avoid it if possible.
Thank you in advance,