Overview - Fujitsu 8FX Hardware Manual

8-bit microcontroller new 8fx family
Table of Contents

Advertisement

CHAPTER 20 16-BIT RELOAD TIMER

20.1 Overview

20.1
Overview
The 16-bit reload timer has two counter operating modes in each of the two
clock modes.
The 16-bit reload timer can be used as an interval timer by generating an
interrupt when an underflow occurs in the timer.
■ Operation Modes of 16-bit Reload Timer
Table 20.1-1 shows the operation modes of the 16-bit reload timer.
Table 20.1-1 Operation Modes of 16-bit Reload Timer
Internal clock mode
Event count mode
(external clock mode)
■ Internal Clock Mode
Internal clock mode is selected when any value other than "0b111" is set to the count clock
setting bits (CSL[2:0]) in the 16-bit reload timer control status register (upper) ch. n
(TMCSRHn).
In internal clock mode, the following three trigger operation modes are available.
● Software trigger operation
With the count enable bit (CNTE) in the 16-bit reload timer control status register (lower) ch. n
(TMCSRLn) set to "1", the counter starts when the software trigger bit (TRG) in the
TMCSRLn register is set to "1".
● External trigger input operation
When the count enable bit (CNTE) in the 16-bit reload timer control status register (lower)
ch. n (TMCSRLn) is set to "1", the count will start if a valid edge (rising, falling, or both
selectable) specified by the operating mode select bits (MOD[2:0]) is input to the TIn pin.
● External gate input operation
When the count enable bit (CNTE) in the 16-bit reload timer control status register (lower)
ch. n (TMCSRLn) is set to "1", the count will start if a valid trigger input level ("L" or "H"
selectable) specified by the operating mode select bits (MOD[2:0]) is input to the TIn pin.
■ Event Count Mode (External Clock Mode)
When the count clock setting bits (CSL[2:0]) in the 16-bit reload timer control status register
(upper) ch. n (TMCSRHn) are set to "0b111", the count will start if a valid edge of trigger
input (rising, falling, or both) specified by the operating mode select bits (MOD[2:0]) is input
to the TIn pin. When an external clock is input in regular cycles, the reload timer can also be
used as an interval timer.
354
Clock mode
Counter operating mode
FUJITSU SEMICONDUCTOR LIMITED
Reload mode
External trigger input operation
One-shot mode
Reload mode
One-shot mode
MB95630H Series
Trigger operation mode
Software trigger operation
External gate input operation
Software trigger operation
MN702-00009-2v0-E

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mb95630h series

Table of Contents