Fujitsu FR81S Manual Do Utilizador
CHAPTER 44: 12-BIT A/D CONVERTER
4. Registers
FUJITSU SEMICONDUCTOR LIMITED
CHAPTER
: 12-BIT A/D CONVERTER
FUJITSU SEMICONDUCTOR CONFIDENTIAL
28
4.2.3. Compare Buffer Register / Compare Register :
ADCOMPB0 to ADCOMPB47 / ADCOMP0 to
ADCOMP47
ADCOMP47
The bit configuration of the compare buffer register / compare register is shown.
The compare buffer register (ADCOMPB) is a 16-bit buffer register for the compare register (ADCOMP).
When the value of compare register (ADCOMP) and the free-run timer is matched, the A/D converter is
activated. Both the ADCOMPB register and the ADCOMP register exist at the same address.
ADCOMPB0 to ADCOMPB31: Address 130C
H
to 134A
H
(Access: Half-word,
Word)
ADCOMPB32 to ADCOMPB47: Address 1478
H
to 1496
H
(Access: Half-word,
Word)
bit15
bit14
bit13
bit12
bit11
bit10
bit9
bit8
CMP15
CMP14
CMP13
CMP12
CMP11
CMP10
CMP09
CMP08
Initial value
0
0
0
0
0
0
0
0
Attribute
W
W
W
W
W
W
W
W
bit7
bit6
bit5
bit4
bit3
bit2
bit1
bit0
CMP07
CMP06
CMP05
CMP04
CMP03
CMP02
CMP01
CMP00
Initial value
0
0
0
0
0
0
0
0
Attribute
W
W
W
W
W
W
W
W
[bit15 to bit0] CMP15 to CMP00 : Compare value buffer bits
CMP15 to CMP00
Function
Compare value buffer
The compare buffer register is the buffer register for the A/D activation compare register (ADCOMP). If
the buffer function is disabled (BUFX=1 in the A/D activation trigger control status register (ADTCS))
or when the free-run timer is stopped, the value in the compare buffer is immediately transferred to the
compare register.
If the buffer function is enabled (BUFX=0 in the A/D activation trigger control status register (ADTCS),
the compare buffer value will be transferred to the compare register when it matches the compare clear
register of the 16-bit free-run timer or when 0 is detected.
Note:
When accessing this register, use a half-word or word access instruction.
MB91520 Series
MN705-00010-1v0-E
1831