Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

PIC18LF4331 Datasheet(PDF) 140 Page - Microchip Technology

Part # PIC18LF4331
Description  28/40/44-Pin Enhanced Flash Microcontrollers with nanoWatt Technology, High-Performance PWM and A/D
PDF  392 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

PIC18LF4331 Datasheet(HTML) 140 Page - Microchip Technology

Back Button PIC18LF4331 Datasheet HTML 136Page - Microchip Technology PIC18LF4331 Datasheet HTML 137Page - Microchip Technology PIC18LF4331 Datasheet HTML 138Page - Microchip Technology PIC18LF4331 Datasheet HTML 139Page - Microchip Technology PIC18LF4331 Datasheet HTML 140Page - Microchip Technology PIC18LF4331 Datasheet HTML 141Page - Microchip Technology PIC18LF4331 Datasheet HTML 142Page - Microchip Technology PIC18LF4331 Datasheet HTML 143Page - Microchip Technology PIC18LF4331 Datasheet HTML 144Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 140 / 392 page
background image
PIC18F2331/2431/4331/4431
DS39616D-page 140
 2010 Microchip Technology Inc.
FIGURE 15-1:
TIMER5 BLOCK DIAGRAM (16-BIT READ/WRITE MODE SHOWN)
15.1
Timer5 Operation
Timer5 combines two 8-bit registers to function as a
16-bit timer. The TMR5L register is the actual low byte
of the timer; it can be read and written to directly. The
high byte is contained in an unmapped register; it is
read and written to through TMR5H, which serves as
a buffer. Each register increments from 00h to FFh.
A second register pair, PR5H and PR5L, serves as the
Period register; it sets the maximum count for the
TMR5 register pair. When TMR5 reaches the value of
PR5, the timer rolls over to 00h and sets the TMR5IF
interrupt flag. A simplified block diagram of the Timer5
module is shown in Figure 2-1.
Timer5 supports three configurations:
• 16-Bit Synchronous Timer
• 16-Bit Synchronous Counter
• 16-Bit Asynchronous Counter
In Synchronous Timer configuration, the timer is
clocked by the internal device clock. The optional
Timer5 prescaler divides the input by 2, 4, 8 or not at all
(1:1). The TMR5 register pair increments on Q1.
Clearing TMR5CS (= 0) selects the internal device
clock as the timer sampling clock.
T5SYNC
TMR5CS
T5PS<1:0>
Sleep Input
FOSC/4
Internal
Clock
1
0
2
T5CKI
1
0
TMR5L
Internal Data Bus
TMR5
TMR5H
High Byte
8
8
Write TMR5L
Read TMR5L
8
TMR5ON
On/Off
Timer5
PR5L
16
PR5H
8
8
Comparator
16
8
1
0
TMR5
PR5
Reset
Logic
Special
Event
Logic
Timer5 Reset
Set TMR5IF
Timer5 Reset
(external)
Special Event
Trigger Output
Special Event
Trigger Input
from IC1
Noise
Filter
Prescaler
1, 2, 4, 8
Synchronize
Detect
Note:
The Timer5 may be used as a general pur-
pose timer and as the time base resource to
the Motion Feedback Module (Input
Capture or Quadrature Encoder Interface).



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