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

PIC18F24J10-I/SO 参数 Datasheet PDF下载

PIC18F24J10-I/SO图片预览
型号: PIC18F24J10-I/SO
PDF下载: 下载PDF文件 查看货源
内容描述: 28 /40/ 44引脚高性能, RISC微控制器 [28/40/44-Pin High-Performance, RISC Microcontrollers]
分类和应用: 微控制器
文件页数/大小: 368 页 / 5652 K
品牌: MICROCHIP [ MICROCHIP ]
 浏览型号PIC18F24J10-I/SO的Datasheet PDF文件第119页浏览型号PIC18F24J10-I/SO的Datasheet PDF文件第120页浏览型号PIC18F24J10-I/SO的Datasheet PDF文件第121页浏览型号PIC18F24J10-I/SO的Datasheet PDF文件第122页浏览型号PIC18F24J10-I/SO的Datasheet PDF文件第124页浏览型号PIC18F24J10-I/SO的Datasheet PDF文件第125页浏览型号PIC18F24J10-I/SO的Datasheet PDF文件第126页浏览型号PIC18F24J10-I/SO的Datasheet PDF文件第127页  
PIC18F45J10 FAMILY  
FIGURE 12-2:  
TIMER1 BLOCK DIAGRAM (16-BIT READ/WRITE MODE)  
Timer1 Oscillator  
Timer1 Clock Input  
1
0
T1OSO/T1CKI  
T1OSI  
1
0
Synchronize  
Detect  
Prescaler  
1, 2, 4, 8  
FOSC/4  
Internal  
Clock  
2
Sleep Input  
T1OSCEN(1)  
T1CKPS<1:0>  
T1SYNC  
Timer1  
On/Off  
TMR1CS  
TMR1ON  
Set  
TMR1IF  
on Overflow  
TMR1  
High Byte  
Clear TMR1  
(CCP Special Event Trigger)  
TMR1L  
8
Read TMR1L  
Write TMR1L  
8
8
TMR1H  
8
8
Internal Data Bus  
Note 1: When enable bit, T1OSCEN, is cleared, the inverter and feedback resistor are turned off to eliminate power drain.  
12.2 Timer1 16-Bit Read/Write Mode  
12.3 Timer1 Oscillator  
Timer1 can be configured for 16-bit reads and writes  
(see Figure 12-2). When the RD16 control bit  
(T1CON<7>) is set, the address for TMR1H is mapped  
to a buffer register for the high byte of Timer1. A read  
from TMR1L will load the contents of the high byte of  
Timer1 into the Timer1 High Byte Buffer register. This  
provides the user with the ability to accurately read all  
16 bits of Timer1 without having to determine whether a  
read of the high byte, followed by a read of the low byte,  
has become invalid due to a rollover between reads.  
An on-chip crystal oscillator circuit is incorporated  
between pins T1OSI (input) and T1OSO (amplifier  
output). It is enabled by setting the Timer1 Oscillator  
Enable bit, T1OSCEN (T1CON<3>). The oscillator is a  
low-power circuit rated for 32 kHz crystals. It will continue  
to run during all power-managed modes. The circuit for a  
typical oscillator is shown in Figure 12-3. Table 12-1  
shows the capacitor selection for the Timer1 oscillator.  
The user must provide a software time delay to ensure  
proper start-up of the Timer1 oscillator.  
A write to the high byte of Timer1 must also take place  
through the TMR1H Buffer register. The Timer1 high  
byte is updated with the contents of TMR1H when a  
write occurs to TMR1L. This allows a user to write all  
16 bits to both the high and low bytes of Timer1 at once.  
FIGURE 12-3:  
EXTERNAL  
COMPONENTS FOR THE  
TIMER1 OSCILLATOR  
C1  
27 pF  
PIC18F45J10  
The high byte of Timer1 is not directly readable or  
writable in this mode. All reads and writes must take  
place through the Timer1 High Byte Buffer register.  
Writes to TMR1H do not clear the Timer1 prescaler.  
The prescaler is only cleared on writes to TMR1L.  
T1OSI  
XTAL  
32.768 kHz  
T1OSO  
C2  
27 pF  
Note:  
See the Notes with Table 12-1 for additional  
information about capacitor selection.  
© 2009 Microchip Technology Inc.  
DS39682E-page 121  
 复制成功!