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

12C509 参数 Datasheet PDF下载

12C509图片预览
型号: 12C509
PDF下载: 下载PDF文件 查看货源
内容描述: 8引脚, 8位CMOS微控制器 [8-Pin, 8-Bit CMOS Microcontrollers]
分类和应用: 微控制器
文件页数/大小: 113 页 / 1509 K
品牌: MICROCHIP [ MICROCHIP ]
 浏览型号12C509的Datasheet PDF文件第13页浏览型号12C509的Datasheet PDF文件第14页浏览型号12C509的Datasheet PDF文件第15页浏览型号12C509的Datasheet PDF文件第16页浏览型号12C509的Datasheet PDF文件第18页浏览型号12C509的Datasheet PDF文件第19页浏览型号12C509的Datasheet PDF文件第20页浏览型号12C509的Datasheet PDF文件第21页  
PIC12C5XX  
4.4  
OPTION Register  
Note: If TRIS bit is set to ‘0’, the wake-up on  
change and pull-up functions are disabled  
for that pin; i.e., note that TRIS overrides  
OPTION control of GPPU and GPWU.  
The OPTION register is  
register which contains various control bits to  
configure the Timer0/WDT prescaler and Timer0.  
a
8-bit wide, write-only  
Note: If the T0CS bit is set to ‘1’, GP2 is forced to  
By executing the OPTION instruction, the contents of  
the W register will be transferred to the OPTION  
register. A RESET sets the OPTION<7:0> bits.  
be an input even if TRIS GP2 = ‘0’.  
FIGURE 4-5: OPTION REGISTER  
W-1  
W-1  
GPPU  
6
W-1  
T0CS  
5
W-1  
T0SE  
4
W-1  
PSA  
3
W-1  
PS2  
2
W-1  
PS1  
1
W-1  
PS0  
GPWU  
W
U
= Writable bit  
= Unimplemented bit  
bit7  
bit0  
- n = Value at POR reset  
Reference Table 4-1 for  
other resets.  
bit 7:  
bit 6:  
bit 5:  
bit 4:  
bit 3:  
GPWU: Enable wake-up on pin change (GP0, GP1, GP3)  
1 = Disabled  
0 = Enabled  
GPPU: Enable weak pull-ups (GP0, GP1, GP3)  
1 = Disabled  
0 = Enabled  
T0CS: Timer0 clock source select bit  
1 = Transition on T0CKI pin  
0 = Transition on internal instruction cycle clock, Fosc/4  
T0SE: Timer0 source edge select bit  
1 = Increment on high to low transition on the T0CKI pin  
0 = Increment on low to high transition on the T0CKI pin  
PSA: Prescaler assignment bit  
1 = Prescaler assigned to the WDT  
0 = Prescaler assigned to Timer0  
bit 2-0: PS2:PS0: Prescaler rate select bits  
Bit Value  
Timer0 Rate WDT Rate  
000  
001  
010  
011  
100  
101  
110  
111  
1 : 2  
1 : 4  
1 : 8  
1 : 16  
1 : 32  
1 : 64  
1 : 128  
1 : 256  
1 : 1  
1 : 2  
1 : 4  
1 : 8  
1 : 16  
1 : 32  
1 : 64  
1 : 128  
1999 Microchip Technology Inc.  
DS40139E-page 17  
 复制成功!