Using TMR0 in 8-bit Mode and to Generate an Output Signal

This example describes how to configure TMR0 in 8-bit mode, using LFINTOSC as clock source. A GPIO pin will be configured as output and a 125 Hz signal will be generated on the GPIO pin using the Peripheral Pin Select (PPS).

To achieve the functionality described by this use case, the following actions will have to be performed: