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

PIC18F4431-I/P 参数 Datasheet PDF下载

PIC18F4431-I/P图片预览
型号: PIC18F4431-I/P
PDF下载: 下载PDF文件 查看货源
内容描述: 28 /40/ 44引脚增强型闪存微控制器采用纳瓦技术,高性能PWM和A / D [28/40/44-Pin Enhanced Flash Microcontrollers with nanoWatt Technology, High-Performance PWM and A/D]
分类和应用: 闪存微控制器
文件页数/大小: 392 页 / 3127 K
品牌: MICROCHIP [ MICROCHIP ]
 浏览型号PIC18F4431-I/P的Datasheet PDF文件第123页浏览型号PIC18F4431-I/P的Datasheet PDF文件第124页浏览型号PIC18F4431-I/P的Datasheet PDF文件第125页浏览型号PIC18F4431-I/P的Datasheet PDF文件第126页浏览型号PIC18F4431-I/P的Datasheet PDF文件第128页浏览型号PIC18F4431-I/P的Datasheet PDF文件第129页浏览型号PIC18F4431-I/P的Datasheet PDF文件第130页浏览型号PIC18F4431-I/P的Datasheet PDF文件第131页  
PIC18F2331/2431/4331/4431  
Figure 12-1 shows a simplified block diagram of the  
Timer0 module in 8-bit mode and Figure 12-2 shows a  
simplified block diagram of the Timer0 module in 16-bit  
mode.  
12.0 TIMER0 MODULE  
The Timer0 module has the following features:  
• Software selectable as an 8-bit or  
16-bit timer/counter  
The T0CON register (Register 12-1) is a readable and  
writable register that controls all the aspects of Timer0,  
• Readable and writable  
including the prescale selection.  
• Dedicated 8-bit software programmable prescaler  
• Clock source selectable to be external or internal  
• Interrupt-on-overflow from FFh to 00h in 8-bit  
mode and FFFFh to 0000h in 16-bit mode  
• Edge select for external clock  
REGISTER 12-1: T0CON: TIMER0 CONTROL REGISTER  
R/W-1  
R/W-1  
R/W-1  
T0CS  
R/W-1  
T0SE  
R/W-1  
PSA  
R/W-1  
T0PS2  
R/W-1  
T0PS1  
R/W-1  
T0PS0  
TMR0ON  
T016BIT  
bit 7  
bit 0  
Legend:  
R = Readable bit  
W = Writable bit  
‘1’ = Bit is set  
U = Unimplemented bit, read as ‘0’  
‘0’ = Bit is cleared x = Bit is unknown  
-n = Value at POR  
bit 7  
bit 6  
bit 5  
bit 4  
bit 3  
bit 2-0  
TMR0ON: Timer0 On/Off Control bit  
1= Enables Timer0  
0= Stops Timer0  
T016BIT: Timer0 16-Bit Control bit  
1= Timer0 is configured as an 8-bit timer/counter  
0= Timer0 is configured as a 16-bit timer/counter  
T0CS: Timer0 Clock Source Select bit  
1= Transition on T0CKI pin input edge  
0= Internal clock (FOSC/4)  
T0SE: Timer0 Source Edge Select bit  
1= Increment on high-to-low transition on T0CKI pin  
0= Increment on low-to-high transition on T0CKI pin  
PSA: Timer0 Prescaler Assignment bit  
1= TImer0 prescaler is not assigned. Timer0 clock input bypasses prescaler.  
0= Timer0 prescaler is assigned. Timer0 clock input comes from prescaler output.  
T0PS<2:0>: Timer0 Prescaler Select bits  
111= 1:256 Prescale value  
110= 1:128 Prescale value  
101= 1:64 Prescale value  
100= 1:32 Prescale value  
011= 1:16 Prescale value  
010= 1:8 Prescale value  
001= 1:4 Prescale value  
000= 1:2 Prescale value  
2010 Microchip Technology Inc.  
DS39616D-page 127  
 复制成功!