Web Analytics
Datasheet 搜索 > Microchip(微芯) > PIC24FJ64GA705-I/M4 数据手册 > PIC24FJ64GA705-I/M4 数据手册 159/412 页
PIC24FJ64GA705-I/M4
器件3D模型
3.857
导航目录
PIC24FJ64GA705-I/M4数据手册
Page:
of 412 Go
若手册格式错乱,请下载阅览PDF原文件
2016 Microchip Technology Inc. DS30010118B-page 159
PIC24FJ256GA705 FAMILY
12.0 TIMER1
The Timer1 module is a 16-bit timer, which can serve
as the time counter for the Real-Time Clock (RTC) or
operate as a free-running, interval timer/counter.
Timer1 can operate in three modes:
•16-Bit Timer
16-Bit Synchronous Counter
16-Bit Asynchronous Counter
Timer1 also supports these features:
Timer Gate Operation
Selectable Prescaler Settings
Timer Operation during CPU Idle and Sleep modes
Interrupt on 16-Bit Period Register Match or
Falling Edge of External Gate Signal
Figure 12-1 presents a block diagram of the 16-bit
timer module.
To configure Timer1 for operation:
1. Set the TON bit (= 1).
2. Select the timer prescaler ratio using the
TCKPS<1:0> bits.
3. Set the Clock and Gating modes using the TCS,
TECS<1:0> and TGATE bits.
4. Set or clear the TSYNC bit to configure
synchronous or asynchronous operation.
5. Load the timer period value into the PR1
register.
6. If interrupts are required, set the interrupt enable
bit, T1IE. Use the priority bits, T1IP<2:0>, to set
the interrupt priority.
FIGURE 12-1: 16-BIT TIMER1 MODULE BLOCK DIAGRAM
Note: This data sheet summarizes the features of
this group of PIC24F devices. It is not
intended to be a comprehensive reference
source. For more information, refer to
the “dsPIC33/PIC24 Family Reference
Manual”, “Timers” (DS39704), which is
available from the Microchip web site
(www.microchip.com). The information in
this data sheet supersedes the
information in the FRM.
TON
Sync
SOSCI
SOSCO
PR1
Set T1IF
Equal
Comparator
Reset
SOSCEN
1
0
TSYNC
Q
QD
CK
TCKPS<1:0>
2
TGATE
T
CY
1
0
TCS
TGATE
SOSC
Input
Gate
Output
Clock Input Select Detail
LPRC Input
2
TECS <1 :0>
T1CK Input
SOSCSEL
LPRC
Clock
Input Select
Prescaler
1, 8, 64, 256
TxCK Input
TMR1
Gate
Sync
Clock
Output
to TMR1

PIC24FJ64GA705-I/M4 数据手册

Microchip(微芯)
412 页 / 2.8 MByte
Microchip(微芯)
10 页 / 0.09 MByte

PIC24FJ64GA705 数据手册

Microchip(微芯)
Microchip(微芯)
16位微控制器 - MCU 16-bit, 16 MIPS, 64KB Flash, 16KB RAM
Microchip(微芯)
器件 Datasheet 文档搜索
器件加载中...
AiEMA 数据库涵盖高达 72,405,303 个元件的数据手册,每天更新 5,000 多个 PDF 文件