Fujitsu FR81S User Manual

Page of 2342
CHAPTER 24: 16-BIT FREE-RUN TIMER 
 
 
4. Registers 
 
FUJITSU SEMICONDUCTOR LIMITED 
CHAPTER : 16-BIT FREE-RUN TIMER 
FUJITSU SEMICONDUCTOR CONFIDENTIAL 
13 
  CPCLR0, 1, 2: Address 1204
H
, 120C
H
, 1214
H
 (Access: Half-word, Word) 
 
bit15 
bit14 
bit13 
bit12 
bit11 
bit10 
bit9 
bit8 
 
CL15 
CL14 
CL13 
CL12 
CL11 
CL10 
CL09 
CL08 
Initial value 
Attribute 
 
 
 
 
 
 
 
 
 
 
bit7 
bit6 
bit5 
bit4 
bit3 
bit2 
bit1 
bit0 
 
CL07 
CL06 
CL05 
CL04 
CL03 
CL02 
CL01 
CL00 
Initial value 
Attribute 
 
[bit15 to bit0] CL15 to CL00: Compare clear value bits 
CL15 to CL00 
Function 
Compare clear value 
 
 
The compare clear register is used for comparison with the count value of the 16-bit free-run timer. 
 
In the up-count mode, if this register matches the count value of the 16-bit free-run timer, the 16-bit 
free-run timer will be reset to "0000
H
". 
 
In the up/down count mode, if this register matches the count value of the 16-bit free-run timer, the 16-bit 
free-run timer will be converted from up count to down count or it will be converted from down count to up 
count when "0" is detected. 
 
Notes: 
When accessing this register, use a half-word or word access instruction.   
Do not use a read-modify-write instruction when accessing this register. 
 
 
MB91520 Series
MN705-00010-1v0-E
920