Fujitsu FR81S User Manual

Page of 2342
CHAPTER 19: BASE TIMER 
 
 
5. Operation 
 
FUJITSU SEMICONDUCTOR LIMITED 
CHAPTER
 : BASE TIMER 
FUJITSU SEMICONDUCTOR CONFIDENTIAL 
62 
 
If reactivation is not permitted (RTGEN = 0): Any activation trigger is ignored when it is entered during 
counting. 
 
If reactivation is permitted (RTGEN = 1): The TGIR bit of the base timer x status control register 
(BTxSTC) changes to "1". In addition, the value set in the 
base timer x cycle setting register (BTxPCSR) is reloaded to 
the 16-bit down counter, which begins counting. 
 
These operations are shown below. 
Figure 5-13 Counting Operation 
 
Note: 
If the count timing of the 16-bit down counter and the load timing occur at the same time, the load operation is 
given precedence. 
 
m
 
n
 
0
 
(1)
 
=
 
T
 
(
 
n
 
+
 
1
 
)
 
ms
 
(2)
 
=
 
T
 
(
 
m
 
+
 
1
 
)
 
ms
 
m
 
:
 
Value of base timer x cycle setting register (BTxPCSR)
 
n
 
:
 
Value of base timer x duty setting register (BTxPDUT)
 
T
 
:
 
Cycle of count clock
 
m
 
n
 
0
 
Counting operation when reactivation is not enabled
 
Rising edge detection
 
Activation trigger is ignored
 
(1)
 
(2)
 
Activation trigger
 
PWM output waveform
 
Counting operation when reactivation is enabled
 
Rising edge detection
 
Reactivate with trigger
 
PWM output waveform
 
(1)
 
(2)
 
(1)
 
=
 
T
 
(
 
n
 
+
 
1
 
)
 
ms
 
(2)
 
=
 
T
 
(
 
m
 
+
 
1
 
)
 
ms
 
m
 
:
 
Value of base timer x cycle setting register (BTxPCSR)
 
n
 
:
 
Value of base timer x duty setting register (BTxPDUT)
 
T
 
:
 
Cycle of count clock
 
Activation trigger
 
MB91520 Series
MN705-00010-1v0-E
695