Fujitsu FR81S User Manual
CHAPTER 20: RELOAD TIMER
6. Application Note
FUJITSU SEMICONDUCTOR LIMITED
CHAPTER : RELOAD TIMER
FUJITSU SEMICONDUCTOR CONFIDENTIAL
FUJITSU SEMICONDUCTOR CONFIDENTIAL
65
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)
10
*1
*2
1
-
*3
*4
*5
-
1
S
(A): The count initial value when activation trigger occurs/The reload value at an underflow (when
RELD=1)
(B): Set the value to compare to the counter value(TMRLRB < TMRLRA)
RELD=1)
(B): Set the value to compare to the counter value(TMRLRB < TMRLRA)
*6
S :Use at timer activation
-:Does not influence operation
*1: TIN effective level setting
-:Does not influence operation
*1: TIN effective level setting
TRGM[1:0]= x0------Count only for TRGM=L input interval
TRGM[1:0]= x1------Count only for TRGM=H input interval
*2: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
*3:TOUT output polarity setting
OUTL= 0------Initial value L=> Count L from TMRLRA => H, the counter value is smaller than
TMRLRB
OUTL= 1------Initial value H=> Count H from TMRLRA => L, the counter value is smaller than
TMRLRB
*4:Reload setting when an underflow occurs
*4:Reload setting when an underflow occurs
RELD=0------One-shot mode
RELD=1------Reload mode
*5:Interrupt request enable setting
INTE=0------Interrupt disabled
INTE=1------Interrupt enabled
*6:To use TOUT output with L clip output, set to TMRLRB = 0.
To use TOUT output with H clip output, set to TMRLRB = "TMRLRA + 1".
To use TOUT output with H clip output, set to TMRLRB = "TMRLRA + 1".
MB91520 Series
MN705-00010-1v0-E
792