MB95630H Series
MN702-00009-2v0-E
FUJITSU SEMICONDUCTOR LIMITED
365
CHAPTER 20 16-BIT RELOAD TIMER
20.6 Operations and Setting Procedure Example
Figure 20.6-5 Count Operation in Reload Mode (External Gate Input Operation)
■
Operation of Internal Clock Mode (One-shot Mode)
When the count enable bit (CNTE) is set to "1" and the software trigger bit (TRG) is set to "1"
or the valid edge (rising, falling or both edges selectable) specified by the operating mode
select bits (MOD[2:0]) is input to the TIn pin, the value set in the 16-bit reload timer reload
register is reloaded to the 16-bit downcounter and down-counting starts. When the count enable
bit (CNTE) and software trigger bit (TRG) are set to "1" at the same time and then counting is
enabled, the count is started simultaneously.
If the reload select bit (RELD) is "0", the 16-bit counter halts at "0xFFFF" when the 16-bit
counter underflows ("0x0000"
→
"0xFFFF"). In this case, the underflow interrupt request flag
bit (UF) is set to "1" and if the underflow interrupt request enable bit (INTE) is "1", an
interrupt request is output.
A square waveform can be output from the TOn pin to indicate that the count is in progress.
●
Software trigger operation
The count starts when the count enable bit (CNTE) is "1" and the software trigger bit (TRG) is
set to "1".
Figure 20.6-6 shows the software trigger operation in one-shot mode.
Figure 20.6-6 Count Operation in One-shot Mode (Software Trigger Operation)
Count clock
Counter
-1
0000
-1
Data load signal
UF bit
CNTE bit
TIn pin
TOn pin
Reload data
Reload data
TRG bit
-1
-1
-1
Count clock
Counter
-1
0000
-1
0000
Data load signal
UF bit
CNTE bit
TRG bit
TOn pin
Reload data
Reload data
FFFF
FFFF
Wait for start trigger input
Summary of Contents for 8FX
Page 2: ......
Page 4: ......
Page 8: ...iv ...
Page 18: ...xiv ...
Page 22: ...xviii ...
Page 650: ......