Fujitsu FR81S User Manual

Page of 2342
CHAPTER 40: MULTI-FUNCTION SERIAL INTERFACE 
 
 
5. Operation of UART 
 
FUJITSU SEMICONDUCTOR LIMITED 
CHAPTER : MULTI-FUNCTION SERIAL INTERFACE 
FUJITSU SEMICONDUCTOR CONFIDENTIAL 
161 
5.2.11. 
Operation of Serial Timer 
The serial timer can be used for either of the timer function or the synchronous transmission function. 
 How to Start Serial Timer 
There are two ways to start the serial timer: setting "1" to the serial timer enable bit (SACSR:TMRE) or 
starting by the external trigger. 
  Start by using the serial timer enable bit (SACSR:TMRE) 
When the external trigger enable bit (SACSR:TRGE) is set to "0" and the serial timer enable bit 
(SACSR:TMRE) is set to "1", the serial timer starts and the serial timer register (STMR) starts counting 
from 0. 
Figure 5-13 Start by Using Serial Timer Enable Bit   
(STMCR="10", SACSR:TRGE=TSYNE="0") 
 
10
   0
1
2
・・・
9
10
1
0
STMR
STMCR
TINT
TMRE
Serial timer activation
 
 
  Start by External Trigger 
When the external trigger enable bit (SACSR:TRGE) is set to "1", the serial timer starts and the serial 
timer register (STMR) starts counting from 0 if an edge of the external trigger set by the trigger 
selection bit (TRG1, 0) is detected while the serial timer enable bit (SACSR:TMRE) is "1". 
Figure 5-14 Start by External Trigger   
(STMCR="10", SACSR:TRGE="1", TSYNE=TRG1="0") 
10
  0
1
2
・・・
9
10
1
0
STMR
STMCR
TINT
TMRE
External trigger
Serial timer activation
 
 
 
 
 
 
 
 
MB91520 Series
MN705-00010-1v0-E
1474