Fujitsu FR81S User Manual

Page of 2342
CHAPTER 20: RELOAD TIMER 
 
 
6. Application Note 
 
FUJITSU SEMICONDUCTOR LIMITED 
CHAPTER : RELOAD TIMER 
FUJITSU SEMICONDUCTOR CONFIDENTIAL 
61 
[Configuration] To use the timer as PPG, configure as follows. 
1.  When TIN input is not used   
TMCSR 
TMRLRA  TMRLRB 
MOD 
[1:0] 
TRGM 
[1:0] 
CSL 
[2:0] 
GATE  EF  OUTL RELD  INTE 
UF  CNTE  TRG 
(A) 
(B) 
01 
00 
*1 
*2 
*3 
*4 
(A):
 The count initial value at an activation trigger/The reload value at an underflow caused by the count from the 
TMRLRB value (when RELD=1)
 
(B):
 The reload value at an underflow caused by the count from the TMRLRA value
 
S :Use at timer activation 
-:Does not influence operation 
* 1:Count clock division setting 
 
CSL[2:0]= 000------Division of peripheral clock (PCLK) by 2 
 
CSL[2:0]= 010------Division of peripheral clock (PCLK) by 8 
 
CSL[2:0]= 011------Division of peripheral clock (PCLK) by 16 
 
CSL[2:0]= 100------Division of peripheral clock (PCLK) by 32 
 
CSL[2:0]= 101------Division of peripheral clock (PCLK) by 64 
* 2:TOUT output polarity setting 
 
OUTL= 0------ 
 
 
Initial value L => Count L from TMRLRA => H when an underflow occurs => 
 
 
Count H from TMRLRB => L when an underflow occurs 
 
OUTL= 1------ 
 
 
Initial value H => Count H from TMRLRA => L when an underflow occurs => 
 
 
Count L from TMRLRB => H when an underflow occurs 
*3:Reload setting when an underflow occurs 
 
RELD= 0------One-shot mode 
 
RELD= 1------Reload mode 
*4:Interrupt request enable setting 
 
INTE= 0------Interrupt disabled 
 
INTE= 1------Interrupt enabled 
2.  When using TIN input as a gate input   
TMCSR 
TMRLRA  TMRLRB 
MOD 
[1:0] 
TRGM 
[1:0] 
CSL 
[2:0] 
GATE  EF  OUTL RELD  INTE 
UF  CNTE  TRG 
(A) 
(B) 
01 
*1 
*2 
*3 
*4 
*5 
(A): The count initial value at an activation trigger/The reload value at an underflow caused by the count 
from the TMRLRB value (when RELD=1)   
(B): The reload value at an underflow caused by the count from the TMRLRA value   
S :Use at timer activation 
-:Does not influence operation 
MB91520 Series
MN705-00010-1v0-E
788