2.1.2.3 PERIOD_VALUE

#define PERIOD_VALUE (uint16_t)(0xFFFFU-(TMR0_OVERFLOW_TIME * F_TIMER))

Makes TMR0 achieve the overflow time.