beautypg.com

4 mode 2, Figure 13-1. timer/counter mode 0 and 1 operation, Figure 13-1 – Maxim Integrated Secure Microcontroller User Manual

Page 112

background image

Secure Microcontroller User’s Guide

112 of 187

Figure 13-1. Timer/Counter Mode 0 and 1 Operation


13.4 Mode 2

The selection of Mode 2 configures an 8-bit timer/counter with automatic reload of a value preset by
software.

Figure 13-2

illustrates a functional block diagram of this operational mode. When Timer 0 is

used in Mode 2, TL0 is incremented as each count is received. When the value of 0FFH (all 1s) is
reached, TF0 will be set on the next count and the reload value held in TH0 will be transferred into TL0.
TH0 remains unchanged until it is modified by the application software.

Timer 1 operates in an identical fashion when it is set for operation in Mode 2.