PERIOD_VALUE

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

This is a macro for Period value written to TMR0 to achieve overflow time