EasyManuals Logo

ZiLOG Z8 User Manual

ZiLOG Z8
220 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #72 background imageLoading...
Page #72 background image
Z8 Microcontrollers
I/O Ports ZiLOG
5-26 UM001601-0803
5.8.2 Comparator Programming
Example of enabling analog comparator mode.
Note: X = Any Binary Number
Example of enabling analog comparator output.
Figure 5-33. Port 3 Configuration
PIN
P37
0 P34, P37 Standard Output
1 P34, P37 Comparator Output
D0
P37 OUT
PCON
P32
REF (P33)
+
-
PIN
P34
P34 OUT
P31
REF (P33)
+
-
LD P3M, #XXXX XX1XB
LD RP, #%0FH ;Sets register pointer to
;working register group 0
;and Expanded Register
;File Bank F.
LD R0, #XXXX
XXX1B
;Enables comparator
;outputs using PCON
;Register programming.

Table of Contents

Other manuals for ZiLOG Z8

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the ZiLOG Z8 and is the answer not in the manual?

ZiLOG Z8 Specifications

General IconGeneral
BrandZiLOG
ModelZ8
CategoryDesktop
LanguageEnglish

Related product manuals