TIFR1=0x00;//Timer1 INT Flag Reg: Clear Timer Overflow Flag
TCCR1A=0x00;//Timer1 Control Reg A: Wave Gen Mode normal (Simply counts up from 0 to 65535 (16-bit int)
TCCR1B=(1<<CS12);//Timer1 Control Reg B: Timer Prescaler set to 256. 1 tick = 16uS. Refer to http://www.instructables.com/files/orig/F3T/TIKL/H3WSA4V7/F3TTIKLH3WSA4V7.jpg
boost_pwm_max_count=1000000L/(16*configPage6.boostFreq*2);//Converts the frequency in Hz to the number of ticks (at 16uS) it takes to complete 1 cycle. The x2 is there because the frequency is stored at half value (in a byte) to allow freqneucies up to 511Hz
vvt_pwm_max_count=1000000L/(16*configPage6.vvtFreq*2);//Converts the frequency in Hz to the number of ticks (at 16uS) it takes to complete 1 cycle