Interval Mode Operation; Toggle Mode Operation - Samsung S3C2501X User Manual

32-bit risc microprocessor
Table of Contents

Advertisement

32-BIT TIMERS
S3C2501X

14.3 INTERVAL MODE OPERATION

In interval mode, a timer generates one-shot pulse of preset timer clock duration whenever a time-out occurs.
This pulse generates a time-out interrupt that is directly output at the timer's configured output pin (TOUTn). In
this case, the timer frequency monitored at the TOUTn pin is calculated as:
f
= f
/ Timer data value, where f
is the system bus clock frequency.
TOUT
SYSCLK
SYSCLK

14.4 TOGGLE MODE OPERATION

In toggle mode, the timer pulse continues to toggle whenever a time-out occurs. An interrupt request is generated
whenever the level of the timer output signal is inverted (that is, when the level toggles). The toggle pulse is
output directly at the configured output pin. Using toggle mode, you can achieve a flexible timer clock range with
50% duty. In toggle mode, the timer frequency monitored at the TOUTn pin is calculated as follows:
/ (2 × Timer data value)
f
= f
TOUT
SYSCLK
f
TOUT
Interval Mode
Time-out
Time-out
Time-out
f
TOUT
Toggle Mode
(Initial TOUTn is 0)
Time-out
Time-out
Time-out
Figure 14-1. Timer Output Signal Timing
14-2

Advertisement

Table of Contents
loading

Table of Contents