Zener diode current limiting resistor calculator
Mode 0 is a 13-bit timing counting mode, Mode 1 is a 16-bit timing counting mode (the most commonly used mode), Mode 2 is an 8-bit automatic reload initial value counting mode, and Mode 3 is only applicable to T0, dividing the 16-bit T0 into two 8-bit timing counters