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

PIC17LC42-16I/JW 参数 Datasheet PDF下载

PIC17LC42-16I/JW图片预览
型号: PIC17LC42-16I/JW
PDF下载: 下载PDF文件 查看货源
内容描述: 高性能8位CMOS EPROM / ROM微控制器 [High-Performance 8-Bit CMOS EPROM/ROM Microcontroller]
分类和应用: 微控制器可编程只读存储器电动程控只读存储器
文件页数/大小: 240 页 / 1141 K
品牌: MICROCHIP [ MICROCHIP ]
 浏览型号PIC17LC42-16I/JW的Datasheet PDF文件第34页浏览型号PIC17LC42-16I/JW的Datasheet PDF文件第35页浏览型号PIC17LC42-16I/JW的Datasheet PDF文件第36页浏览型号PIC17LC42-16I/JW的Datasheet PDF文件第37页浏览型号PIC17LC42-16I/JW的Datasheet PDF文件第39页浏览型号PIC17LC42-16I/JW的Datasheet PDF文件第40页浏览型号PIC17LC42-16I/JW的Datasheet PDF文件第41页浏览型号PIC17LC42-16I/JW的Datasheet PDF文件第42页  
PIC17C4X  
6.2.2.3  
TMR0 STATUS/CONTROL REGISTER  
(T0STA)  
This register contains various control bits. Bit7  
(INTEDG) is used to control the edge upon which a sig-  
nal on the RA0/INT pin will set the RB0/INT interrupt  
flag. The other bits configure the Timer0 prescaler and  
clock source. (Figure 11-1).  
FIGURE 6-9: T0STA REGISTER (ADDRESS: 05h, UNBANKED)  
R/W - 0 R/W - 0 R/W - 0 R/W - 0 R/W - 0 R/W - 0 R/W - 0  
U - 0  
R = Readable bit  
W = Writable bit  
U = Unimplemented,  
reads as ‘0’  
INTEDG  
T0SE  
T0CS  
PS3  
PS2  
PS1  
PS0  
bit7  
bit0  
-n = Value at POR reset  
bit 7:  
bit 6:  
INTEDG: RA0/INT Pin Interrupt Edge Select bit  
This bit selects the edge upon which the interrupt is detected.  
1 = Rising edge of RA0/INT pin generates interrupt  
0 = Falling edge of RA0/INT pin generates interrupt  
T0SE: Timer0 Clock Input Edge Select bit  
This bit selects the edge upon which TMR0 will increment.  
When T0CS = 0  
1 = Rising edge of RA1/T0CKI pin increments TMR0 and/or generates a T0CKIF interrupt  
0 = Falling edge of RA1/T0CKI pin increments TMR0 and/or generates a T0CKIF interrupt  
When T0CS = 1  
Don’t care  
bit 5:  
T0CS: Timer0 Clock Source Select bit  
This bit selects the clock source for Timer0.  
1 = Internal instruction clock cycle (TCY)  
0 = T0CKI pin  
bit 4-1: PS3:PS0: Timer0 Prescale Selection bits  
These bits select the prescale value for Timer0.  
PS3:PS0  
Prescale Value  
0000  
0001  
0010  
0011  
0100  
0101  
0110  
0111  
1xxx  
1:1  
1:2  
1:4  
1:8  
1:16  
1:32  
1:64  
1:128  
1:256  
bit 0:  
Unimplemented: Read as '0'  
DS30412C-page 38  
1996 Microchip Technology Inc.  
 复制成功!