zener tube current limiting resistor calculator

enter a value:
maximum input voltage: V
minimum input voltage: V
output voltage: V
load current: MA
result:
current limiting resistor: ω power: W
zener diode: v power: W

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, mode 3 is only applicable to t0, and the 16-bit t0 is divided into two 8-bit timer counters