Fujitsu FR81S User Manual

Page of 2342
CHAPTER 40: MULTI-FUNCTION SERIAL INTERFACE 
 
 
6. Operation of CSIO 
 
FUJITSU SEMICONDUCTOR LIMITED 
CHAPTER : MULTI-FUNCTION SERIAL INTERFACE 
FUJITSU SEMICONDUCTOR CONFIDENTIAL 
223 
6.2.5. 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 6-16 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 6-17 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
 
 
 
Note: 
When the external trigger enable bit (SAGSR:TRGE) is "1" and the serial timer enable bit (SAGSR:TMRE) 
is "0", the serial timer does not operate even if the edge of the external trigger set by the trigger selection bit 
(SAGSR:TRG1, 0) is detected. 
 
MB91520 Series
MN705-00010-1v0-E
1536