A/D Activation Compare Register (Adcomp0, Adcomp1, Adcomp2, Adcompc) - Fujitsu MB91260B Series Hardware Manual

32-bit microcontroller
Table of Contents

Advertisement

CHAPTER 11 MULTIFUNCTIONAL TIMER
11.4.13
A/D Activation Compare Register
(ADCOMP0, ADCOMP1, ADCOMP2, ADCOMPC)
Compare registers 0, 1, and 2 activate A/D converters 0, 1, and 2 when their values
match that of the free-run timer. The compare register is used to write compare values.
The control register enables or disables the activation request to the A/D converter
when a compare match occurs.
■ Compare Register 0, 1, 2 (ADCOMP0, ADCOMP1, ADCOMP2)
Compare register 0,1,2 (Upper)
Bit7
Bit6
CMP15
CMP14
R/W
R/W
Compare register 1,2 (Lower)
Bit7
Bit6
CMP07
CMP06
R/W
R/W
R/W: Read/Write
The compare register is used to write data for comparison with the 16-bit free-run timer count value. It is
possible to activate A/D when the free-run timer and compare values match.
The value written to the compare register is used for a comparison immediately.
Write to the compare register in word or half-word units.
254
Bit5
Bit4
Bit3
CMP13
CMP12
CMP11
R/W
R/W
R/W
Bit5
Bit4
Bit3
CMP05
CMP04
CMP03
R/W
R/W
R/W
Bit2
Bit1
Bit0
CMP10
CMP09
CMP08
R/W
R/W
R/W
Bit2
Bit1
Bit0
CMP02
CMP01
CMP00
R/W
R/W
R/W
ADCOMP0/ADCOMP1/
ADCOMP2
Address:
ch0:0000CC
H
ch1:0000CE
H
ch2:0000D0
H
Initial value: 00000000
B
Initial value: 00000000
B

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fr60lite

Table of Contents