Fujitsu FR81S User Manual
CHAPTER 44: 12-BIT A/D CONVERTER
5. Operation
FUJITSU SEMICONDUCTOR LIMITED
CHAPTER
: 12-BIT A/D CONVERTER
FUJITSU SEMICONDUCTOR CONFIDENTIAL
82
Compare register buffer function of compare match activation
If "0" is written in the BUFX bit of A/D activation trigger control status register (ADTCS), the buffer
function of compare register becomes effective.
The buffer timing can be selected by the BTS bit of the ADTCS register. The value written in the compare
buffer register is transferred to the compare register when compare is cleared at BTS="1" or 0 detection at
BTS="0".
Table 5-5 Transferring condition from compare buffer register to compare register
Transferring condition from compare buffer register
(ADCOMPB) to compare register (ADCOMP)
BUFX
BTS
0
0
When 0 detection of the 16-bit free-run timer
or
The 16-bit free-run timer is stopping
0
1
When the compare of the 16-bit free-run timer is cleared
or
The 16-bit free-run timer is stopping
1
X
Buffer function unused
(Transferring immediately)
Figure 5-7 Compare register 0: Buffer function is valid, Compare register 1: Buffer function is
invalid
FFFF
H
BFFF
H
7FFF
H
3FFF
H
0000
H
Count value
time
Compare buffer register 0
(ADCOMPB0)
Compare register 0
(ADCOMP0)
BFFF
H
BFFF
H
7FFF
H
7FFF
H
ADTCS0.BTS
ADTCS0.BUFX
0 detect
Compare buffer register 1
(ADCOMPB1)
Compare register 1
(ADCOMP1)
BFFF
H
BFFF
H
7FFF
H
7FFF
H
ADTCS1.BTS
ADTCS1.BUFX
Compare clear
MB91520 Series
MN705-00010-1v0-E
1885