欢迎访问ic37.com |
会员登录 免费注册
发布采购

Z8F021APH020SC 参数 Datasheet PDF下载

Z8F021APH020SC图片预览
型号: Z8F021APH020SC
PDF下载: 下载PDF文件 查看货源
内容描述: Z8喝采! XP -R 4K系列高性能8位微控制器 [Z8 Encore! XP-R 4K Series High-Performance 8-Bit Microcontrollers]
分类和应用: 微控制器和处理器外围集成电路光电二极管时钟
文件页数/大小: 276 页 / 3422 K
品牌: ZILOG [ ZILOG, INC. ]
 浏览型号Z8F021APH020SC的Datasheet PDF文件第146页浏览型号Z8F021APH020SC的Datasheet PDF文件第147页浏览型号Z8F021APH020SC的Datasheet PDF文件第148页浏览型号Z8F021APH020SC的Datasheet PDF文件第149页浏览型号Z8F021APH020SC的Datasheet PDF文件第151页浏览型号Z8F021APH020SC的Datasheet PDF文件第152页浏览型号Z8F021APH020SC的Datasheet PDF文件第153页浏览型号Z8F021APH020SC的Datasheet PDF文件第154页  
Z8 Encore! XP
®
4K Series
Product Specification
131
The comparator may be powered down to reduce supply current. See the
on
for details.
Caution:
Because of the propagation delay of the comparator, it is not recommended to enable or
reconfigure the comparator without first disabling interrupts and waiting for the com-
parator output to settle. Doing so can result in spurious interrupts. The following exam-
ple shows how to safely enable the comparator:
di
ld cmp0, r0 ; load some new configutation
nop
nop
; wait for output to settle
clr irq0 ; clear any spurious interrupts pending
ei
Comparator Control Register Definitions
Comparator Control Register
The Comparator Control Register (CMP0) configures the comparator inputs and sets the
value of the internal voltage reference.
Table 78. Comparator Control Register (CMP0)
BITS
FIELD
RESET
R/W
ADDR
0
R/W
0
R/W
0
R/W
1
R/W
F90H
0
R/W
1
R/W
7
INPSEL
6
INNSEL
5
4
REFLVL
3
2
1
0
Reserved (20-/28-pin)
REFLVL (8-pin)
0
R/W
0
R/W
INPSEL—Signal Select for Positive Input
0 = GPIO pin used as positive comparator input
1 = temperature sensor used as positive comparator input
INNSEL—Signal Select for Negative Input
0 = internal reference disabled, GPIO pin used as negative comparator input
1 = internal reference enabled as negative comparator input
REFLVL—Internal Reference Voltage Level (this reference is independent of the ADC
voltage reference). Note that the 8-pin devices contain two additional LSBs for increased
resolution.
For 20-/28-pin devices:
PS022815-0206
Comparator