Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

PIC24HJ12GP201E/ML Datasheet(PDF) 111 Page - Microchip Technology

Part # PIC24HJ12GP201E/ML
Description  High-Performance, 16-Bit Microcontrollers
PDF  234 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

PIC24HJ12GP201E/ML Datasheet(HTML) 111 Page - Microchip Technology

Back Button PIC24HJ12GP201E/ML Datasheet HTML 107Page - Microchip Technology PIC24HJ12GP201E/ML Datasheet HTML 108Page - Microchip Technology PIC24HJ12GP201E/ML Datasheet HTML 109Page - Microchip Technology PIC24HJ12GP201E/ML Datasheet HTML 110Page - Microchip Technology PIC24HJ12GP201E/ML Datasheet HTML 111Page - Microchip Technology PIC24HJ12GP201E/ML Datasheet HTML 112Page - Microchip Technology PIC24HJ12GP201E/ML Datasheet HTML 113Page - Microchip Technology PIC24HJ12GP201E/ML Datasheet HTML 114Page - Microchip Technology PIC24HJ12GP201E/ML Datasheet HTML 115Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 111 / 234 page
background image
© 2007 Microchip Technology Inc.
Preliminary
DS70282B-page 109
PIC24HJ12GP201/202
10.0 TIMER1
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
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 10-1 presents a block diagram of the 16-bit
timer module.
To configure Timer1 for operation:
1.
Set the TON bit (= 1) in the T1CON register.
2.
Select the timer prescaler ratio using the
TCKPS<1:0> bits in the T1CON register.
3.
Set the Clock and Gating modes using the TCS
and TGATE bits in the T1CON register.
4.
Set or clear the TSYNC bit in T1CON to select
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 10-1:
16-BIT TIMER1 MODULE BLOCK DIAGRAM
Note:
This data sheet summarizes the features
of the PIC24HJ12GP201/202 devices. It is
not intended to be a comprehensive
reference source. To complement the
information in this data sheet, refer to the
“PIC24H Family Reference Manual”.
Please see the Microchip web site
(www.microchip.com)
for
the
latest
PIC24H
Family
Reference
Manual
chapters.
TON
SOSCI
SOSCO/
PR1
Set T1IF
Equal
Comparator
TMR1
Reset
SOSCEN
1
0
TSYNC
Q
QD
CK
TCKPS<1:0>
Prescaler
1, 8, 64, 256
2
TGATE
TCY
1
0
T1CK
TCS
1x
01
TGATE
00
Sync
Gate
Sync



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com