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