Operation Of The Pwc Timer - Fujitsu MB90460 Series Hardware Manual

F2mc-16lx 16-bit microcontroller
Table of Contents

Advertisement

16.6

Operation of the PWC Timer

The PWC timer is the multi-functional timer based on the 16-bit up-count timer and
contains the count input pin and 8-bit input divider. The block has two main functions:
timer function and pulse-width count function. Both the timer function and the pulse-
width count function enable the selection of two types of count clocks.
■ Timer Function
The timer function is the up-count timer that enables selection of the operation in single mode or reload
mode.
When the timer is started, a timer count is performed at each count clock.
When an overflow occurs in the range from FFFF
If an overflow occurs, the following occurs:
During single mode, count is discontinued (see Figure 16.6-1).
During reload mode, the reload register contents are reloaded to the timer and the count is restarted (see
Figure 16.6-2).
Timer count value
FFFF
H
0000
H
Timer starts
Figure 16.6-1 Timer Operation (Single Mode)
Overflow
Write to
PWC
OVIR flag setting, Timer stops
to 0000
, an interrupt request is issued.
H
H
Overflow
Timer starts
OVIR flag setting, Timer stops
CHAPTER 16 PWC Timer
(Restart is invalid)
Time
447

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mb90465 series

Table of Contents