In this, the device acts as a divide-by-n counter, commonly which is used to generate a real-time clock interrupt. Like other modes, counting procedure will start the next clock cycle after COUNT is sent. Then OUT will remain high until the counter reaches 1, and will go low for one clock pulse. Then OUT will go high again, and the overall process repeats itself. The time among the high pulses based on the preset count in the counter's register, and is calculated by using the following formula: Value to be loaded into counter = input frequency/output frequency. Note down that the values in the COUNT register range from n to 1. The register never attain zero.