Registers; Register List; Detail Of Registers; Ampctla] (Opamp Control Register A) - Toshiba TXZ Series Reference Manual

32-bit risc microcontroller
Hide thumbs Also See for TXZ Series:
Table of Contents

Advertisement

4. Registers

4.1. Register List

The following table lists the control registers and their addresses:
Peripheral function
Operational Amplifire
Note: The base address type and channel/unit number vary according to a product. Please refer to
"Product Information" of the reference manual for the details.
OPAMP control register A
OPAMP control register B
OPAMP control register C

4.2. Detail of Registers

4.2.1. [AMPCTLA] (OPAMP control register A)

An example of [AMPCTLA]. [AMPCTLB], [AMPCTLC] has the same configuration.
Bit
Bit Symbol
31:5
-
4:1
AMPGAIN[3:0]
0
AMPEN
Note1: To change the gain setting, please do with <AMPEN>=0.
Note2: When the amplifier is enabled, it takes about 10 μs until the circuit stabilizes.
Note3: Refer to "5.1. Example of use during motor control (shunt resistor voltage measurement operation)" for
motor control examples.
2018-05-08
Channel/Unit
OPAMP
Register Name
After reset Type
0
R
Read as "0".
Gain setting(Note3)
0000: 2.0x
0001: 2.5x
0010: 3.0x
0000
R/W
0011: 3.5x
0100: 4.0x
Please do not set other than above.
Enables/disables the Amp function
0
R/W
1: Enabled
0: Disabled (Note1)(Note2)
12 / 17
Base address
TYPE1
-
0x400BC000
0x400BD000
[AMPCTLA]
[AMPCTLB]
[AMPCTLC]
Function
0101:4.5x
1010:12.0x
0110:6.0x
1011:15.0x
0111:7.0x
1000:8.0x
1001:10.0x
TXZ Family
Operational Amplifier
TYPE2
TYPE3
0x4005D000
Address(Base+)
0x0000
0x0004
0x0008
Rev. 2.0

Advertisement

Table of Contents
loading

Table of Contents