microchip-pic-avr-examples/avr128da48-tcb-frequency-dutycycle-measurement-mplab
This example demonstrates frequency and duty cycle measurement of a pulse signal using Timer/Counter type B (TCB), Event system and RTC (PIT) modules of AVR128DA48 microcontroller. This example is generated with MPLAB Code Configurator (MCC) and MPLAB X IDE.
C