Fujitsu MB90390 Series Hardware Manual page 256

Table of Contents

Advertisement

CHAPTER 14 16-BIT RELOAD TIMER (WITH EVENT COUNT FUNCTION)
[bit9, bit8, bit7] MOD2, MOD1, MOD0
These bits set the operation mode and I/O pin functions.
The MOD2 bit selects the I/O functions. When MOD2 = 0, the input pin functions as a trigger input. In
this case, the reload register contents is loaded to the counter when an active edge is input to the input
pin and count operation proceeds. When MOD2 = 1, the timer operates in gate counter mode and the
input pin functions as a gate input. In this mode, the counter only counts while an active level is input to
the input pin.
The MOD1 and MOD0 bits set the pin functions for each mode. Table 14.2-2 and Table 14.2-3 list the
MOD2, MOD1 and MOD0 bit settings.
Table 14.2-2 MOD2, MOD1, MOD0 Bit Settings (1)
MOD2
0
0
0
0
1
1
Internal clock mode (CSL0, CSL1 = 00
Table 14.2-3 MOD2, MOD1, MOD0 Bit Settings (2)
MOD2
x
Event counter mode (CSL0,CSL1 = 11
Bits marked as
228
MOD1
MOD0
0
0
0
1
1
0
1
1
x
0
x
1
, 01
B
MOD1
MOD0
0
0
0
1
1
0
1
1
)
B
x
in the table can be set to any value.
Input Pin Function
Trigger disabled
Trigger input
Gate input
, or 10
)
B
B
Input Pin Function
-
Trigger input
Active Edge or Level
-
Rising edge
Falling edge
Both edges
"L" level
"H" level
Active Edge or Level
-
Rising edge
Falling edge
Both edges

Advertisement

Table of Contents
loading

Table of Contents