Detail Of Comparator Register - Toshiba TXZ Family Reference Manual

32-bit risc microcontroller txz family reference manual comparator (comp-b)
Table of Contents

Advertisement

4.2. Detail of Comparator Register

4.2.1.
[CMPCR] (Comparator Control Register)
Bit
Bit Symbol
31:2
-
1
CMPISEL
0
CMPEN
4.3. Detail of Digital to Analog Converter Registers
4.3.1.
[DA0CR] (Control Register)
Bit
Bit Symbol
31:1
-
0
EN
4.3.2.
[DA0REG] (Converted Value Setting Register)
Bit
Bit Symbol
31:8
-
7:0
DAC[7:0]
2017-10-11
After reset
Type
0
R
Read as "0"
Selection of analog input
0
R/W
0: AIN00
1: AIN01
COMP operation
0
R/W
0: Stop
1: Operating
After Reset
Type
0
R
Read as "0"
DAC operation
0
R/W
0: Stop
1: Operating
After Reset
Type
0
R
Read as "0"
Converted value setting:
Digital value corresponding to the analog output voltage value is
0x00
R/W
set. The output voltage is calculated with the following formula.
DAC0 = <DAC> × (VREFH - VREFL) / 256
12 / 14
Function
Function
Function
TXZ Family
Comparator
Rev. 1.0

Advertisement

Table of Contents
loading

Table of Contents