Fujitsu MB90335 Series Hardware Manual page 345

16-bit microcontroller
Table of Contents

Advertisement

CHAPTER 14 16-BIT RELOAD TIMER
14.2 Registers of 16-bit Reload Timer
[bit9 to bit7] MOD2, MOD1, MOD0
This bit is used to set the operation mode and the I/O pin functions. The input pin functions as a trigger
at MOD2=0. When the active edge is input to the input pin and the count operation proceeds, the
content of the reload register is loaded to the counter. When the MOD2 value is "1", the timer operates
in the gate counter mode and the input pin functions as the gate input. In this mode, the counter operates
only while the active level is being input to the input pin.
The internal clock mode and the event counter mode are selected from the modes shown in Table 14.2-1
and Table 14.2-2 by combining the bits from MOD2 to MOD0.
Table 14.2-1 Internal Clock Mode (CSL1, CSL0 = 00, 01 or 10)
MOD2
0
0
0
0
1
1
Table 14.2-2 Event Counter Mode (CSL1, CSL0 = 11)
MOD2
X
X
X
X
[bit6] OUTE (power output permission)
The power output permission is controlled.
The TOT0 pin functions as the general-purpose port and the timer output pin when "0" and "1" are
provided, respectively. The output waveform becomes a toggle waveform in the reload mode. In the
one-shot mode, the TOT0 pin outputs a short-shape wave which indicates the proceeding count
operation.
OUTE
0
1
324
MOD1
MOD0
0
0
0
1
1
0
1
1
X
0
X
1
MOD1
MOD0
0
0
0
1
1
0
1
1
General-purpose port [Initial value]
Timer output
FUJITSU MICROELECTRONICS LIMITED
Input Pin function
Trigger invalidity
Trigger input
Gate Input
Input Pin function
Trigger invalidity
Trigger input
Function
MB90335 Series
Active edge or level
- [Initial value]
Rising edge
Falling edge
Both edges
"L" level
"H" level
Active edge or level
- [Initial value]
Rising edge
Falling edge
Both edges
CM44-10137-6E

Advertisement

Table of Contents
loading

This manual is also suitable for:

F2mc-16lxMb90v330aMb90f337Mb90337

Table of Contents