English
Language : 

Z8FMC16100 Datasheet, PDF (218/402 Pages) Zilog, Inc. – Z8 Encore-R Motor Control Flash MCUs
Z8 Encore!® Motor Control Flash MCUs
Product Specification
196
Operational Amplifier Operation
To operate, the operational amplifier must be enabled by setting the OPEN bit in the Com-
parator and Op Amp Register to 1. In addition, the OPINP, OPINN, and OPOUT alternate
functions must be enabled on their respective general-purpose I/O pins. Refer to the GPIO
Alternate Functions section on page 36 for more information.
The logical value of the operational amplifier output (OPOUT) can be read from the Port 3
data input register if both the operational amplifier and input pin Schmitt trigger are
enabled. Refer to the GPIO Alternate Functions section on page 36 for more information.
The operational amplifier can also generate an interrupt via the GPIO Port B3 input inter-
rupt, if enabled.
The output of the operational amplifier is also connected to an analog input (ANA3) of the
Analog-to-Digital Converter (ADC) multiplexer.
The operational amplifier does not automatically power-down. To reduce operating cur-
rent when not in use, the operational amplifier may be disabled by clearing the OPEN bit in
the Comparator and Op Amp Register to 0.
When the operational amplifier is disabled, the output is high impedance.
Interrupts
The comparator will generate an interrupt on any change in the logic output value (from 0
to 1 and from 1 to 0). Refer to the Interrupt Controller chapter on page 51 for information
about enabling and prioritization of the comparator interrupt.
Comparator and Operational Amplifier
PRELIMINARY
PS024604-1005