dsPIC30F
9.2
General Purpose Timer Modules
Further, the following operational characteristics are
The General Purpose (GP) Timer modules provide the
time base elements for Input Capture and Output
Compare/PWM. They can be configured for real-time
clock operation as well as various timer/counter
modes. The timer modes count pulses of the internal
time base, whereas counter modes count external
pulses that appear on the Timer Clock pin.
The dsPIC30F device supports up to five 16-bit timers
(Timer1 through Timer5). Four of the 16-bit timers can
be configured as two 32-bit timers (Timer2/3 and 4/5).
supported:
? Timer gated by external pulse
? 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
Timer1, when operating in Real-Time Clock (RTC)
mode, provides time of day and event time-stamping
capabilities. Key operational features of the RTC are:
Each timer has several selectable operating modes.
?
Operation from 32 kHz LP oscillator
9.2.1
TIMER1
?
8-bit prescaler
The Timer1 module (Figure 9-1) is a 16-bit timer that
can serve as the time counter for an asynchronous
real-time clock, or operate as a free-running interval
timer/counter. The 16-bit timer has the following
modes:
? 16-bit Timer
? 16-bit Synchronous Counter
? 16-bit Asynchronous Counter
?
?
Low power
Real-Time Clock interrupts
FIGURE 9-1:
16-BIT TIMER1 MODULE BLOCK DIAGRAM
PR1
T1IF
0
Equal
Reset
Comparator x 16
TMR1
TSYNC
1
0
Sync
Event Flag
1
Q
D
TGATE
Q
CK
TGATE
TCKPS<1:0>
SOSCO/
T1CK
1x
TON
2
SOSCI
? 2005 Microchip Technology Inc.
LPOSCEN
Gate
Sync
T CY
01
00
Prescaler
1, 8, 64, 256
DS70043F-page 25
相关PDF资料
MA320002 MODULE PLUG-IN PIC32 USB OTG
MA320011 MODULE PLUG-IN PIC32MX220F32D
MA330024 MODULE PLUG-IN DSPIC33F 100TQFP
MA330027 MODULE PLUG-IN DSPIC33F 100TQFP
MA330029 MODULE PLUG-IN DSPIC33FJ16GP102
MA9D00-42 DSUB CONN W/DIAGNOSTIC PORT STRT
MAI ADAPTER PUSH-ON/M-SWTCH ATTCHMNT
MAV0020RP VARISTOR ARRY 2ELEMENT 120V 0405
相关代理商/技术参数
MA300013 制造商:Microchip Technology Inc 功能描述:Tools Development kit Kit Con
MA300014 功能描述:子卡和OEM板 dsPIC30F 80L Plug In Sample (6014A) RoHS:否 制造商:BeagleBoard by CircuitCo 产品:BeagleBone LCD4 Boards 用于:BeagleBone - BB-Bone - Open Source Development Kit
MA300015 功能描述:子卡和OEM板 dsPIC30F 80L Plug In Sample (6010A). RoHS:否 制造商:BeagleBoard by CircuitCo 产品:BeagleBone LCD4 Boards 用于:BeagleBone - BB-Bone - Open Source Development Kit
MA300016 功能描述:子卡和OEM板 dsPICDEM 80-PIN PIM RoHS:否 制造商:BeagleBoard by CircuitCo 产品:BeagleBone LCD4 Boards 用于:BeagleBone - BB-Bone - Open Source Development Kit
MA300118 功能描述:子卡和OEM板 _ RoHS:否 制造商:BeagleBoard by CircuitCo 产品:BeagleBone LCD4 Boards 用于:BeagleBone - BB-Bone - Open Source Development Kit
MA300128 功能描述:子卡和OEM板 _ RoHS:否 制造商:BeagleBoard by CircuitCo 产品:BeagleBone LCD4 Boards 用于:BeagleBone - BB-Bone - Open Source Development Kit
MA300140 功能描述:子卡和OEM板 _ RoHS:否 制造商:BeagleBoard by CircuitCo 产品:BeagleBone LCD4 Boards 用于:BeagleBone - BB-Bone - Open Source Development Kit
MA300228 功能描述:子卡和OEM板 _ RoHS:否 制造商:BeagleBoard by CircuitCo 产品:BeagleBone LCD4 Boards 用于:BeagleBone - BB-Bone - Open Source Development Kit