Timing counter T0 based on AT89S51 single-chip design for timing application technology (1)