DSPIC33FJ64MC508 Microchip Technology Inc., DSPIC33FJ64MC508 Datasheet - Page 151

no-image

DSPIC33FJ64MC508

Manufacturer Part Number
DSPIC33FJ64MC508
Description
High-performance, 16-bit Digital Signal Controllers
Manufacturer
Microchip Technology Inc.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
DSPIC33FJ64MC508-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
DSPIC33FJ64MC508-I/PT
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
DSPIC33FJ64MC508A-E/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
DSPIC33FJ64MC508A-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
DSPIC33FJ64MC508A-I/PT
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Company:
Part Number:
DSPIC33FJ64MC508A-I/PT
Quantity:
17
Part Number:
DSPIC33FJ64MC508AT-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
DSPIC33FJ64MC508AT-I/PT
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
DSPIC33FJ64MC508T-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
DSPIC33FJ64MC508T-I/PT
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
11.0
The Timer1 module is a 16-bit timer, which can serve
as the time counter for the real-time clock or operate as
a free-running interval timer/counter. Timer1 can oper-
ate in three modes:
• 16-bit Timer
• 16-bit Synchronous Counter
• 16-bit Asynchronous Counter
Timer1 also supports the following features:
• Timer gate operation
• Selectable prescaler settings
• Timer operation during CPU Idle and Sleep
FIGURE 11-1:
© 2007 Microchip Technology Inc.
Note:
modes
TIMER1
This data sheet summarizes the features
of this group of dsPIC33FJXXXMCX06/
X08/X10 Motor Control Family devices. It
is not intended to be a comprehensive
reference source. To complement the
information in this data sheet, refer to the
“dsPIC33F Family Reference Manual”.
Refer
(www.microchip.com)
dsPIC33F
chapters.
SOSCO/
SOSCI
Set T1IF
T1CK
dsPIC33FJXXXMCX06/X08/X10 MOTOR CONTROL FAMILY
to
16-BIT TIMER1 MODULE BLOCK DIAGRAM
the
family
TGATE
0
1
Microchip
reference
Reset
Equal
for
SOSCEN
the
web
Comparator
manual
TMR1
PR1
latest
site
Q
Q
Gate
Sync
CK
T
CY
D
• Interrupt on 16-bit Period register match or falling
Figure 11-1 presents a block diagram of the 16-bit timer
module.
To configure Timer1 for operation, do the following:
1.
2.
3.
4.
5.
6.
edge of external gate signal
Set the TON bit (= 1) in the T1CON register.
Select the timer prescaler ratio using the
TCKPS<1:0> bits in the T1CON register.
Set the Clock and Gating modes using the TCS
and TGATE bits in the T1CON register.
Set or clear the TSYNC bit in T1CON to select
synchronous or asynchronous operation.
Load the timer period value into the PR1
register.
If interrupts are required, set the interrupt enable
bit, T1IE. Use the priority bits, T1IP<2:0>, to set
the interrupt priority.
TSYNC
1x
01
00
0
1
TON
TGATE
TCS
Sync
TCKPS<1:0>
1, 8, 64, 256
Prescaler
2
DS70287A-page 149

Related parts for DSPIC33FJ64MC508