Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

PIC18LF4331 Datasheet(PDF) 127 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) 127 Page - Microchip Technology

Back Button PIC18LF4331 Datasheet HTML 123Page - Microchip Technology PIC18LF4331 Datasheet HTML 124Page - Microchip Technology PIC18LF4331 Datasheet HTML 125Page - Microchip Technology PIC18LF4331 Datasheet HTML 126Page - Microchip Technology PIC18LF4331 Datasheet HTML 127Page - Microchip Technology PIC18LF4331 Datasheet HTML 128Page - Microchip Technology PIC18LF4331 Datasheet HTML 129Page - Microchip Technology PIC18LF4331 Datasheet HTML 130Page - Microchip Technology PIC18LF4331 Datasheet HTML 131Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 127 / 392 page
background image
 2010 Microchip Technology Inc.
DS39616D-page 127
PIC18F2331/2431/4331/4431
12.0
TIMER0 MODULE
The Timer0 module has the following features:
• Software selectable as an 8-bit or
16-bit timer/counter
• Readable and writable
• Dedicated 8-bit software programmable prescaler
• Clock source selectable to be external or internal
• Interrupt-on-overflow from FFh to 00h in 8-bit
mode and FFFFh to 0000h in 16-bit mode
• Edge select for external clock
Figure 12-1 shows a simplified block diagram of the
Timer0 module in 8-bit mode and Figure 12-2 shows a
simplified block diagram of the Timer0 module in 16-bit
mode.
The T0CON register (Register 12-1) is a readable and
writable register that controls all the aspects of Timer0,
including the prescale selection.
REGISTER 12-1:
T0CON: TIMER0 CONTROL REGISTER
R/W-1
R/W-1
R/W-1
R/W-1
R/W-1
R/W-1
R/W-1
R/W-1
TMR0ON
T016BIT
T0CS
T0SE
PSA
T0PS2
T0PS1
T0PS0
bit 7
bit 0
Legend:
R = Readable bit
W = Writable bit
U = Unimplemented bit, read as ‘0’
-n = Value at POR
‘1’ = Bit is set
‘0’ = Bit is cleared
x = Bit is unknown
bit 7
TMR0ON:
Timer0 On/Off Control bit
1
= Enables Timer0
0
= Stops Timer0
bit 6
T016BIT:
Timer0 16-Bit Control bit
1
= Timer0 is configured as an 8-bit timer/counter
0
= Timer0 is configured as a 16-bit timer/counter
bit 5
T0CS:
Timer0 Clock Source Select bit
1
= Transition on T0CKI pin input edge
0
= Internal clock (FOSC/4)
bit 4
T0SE:
Timer0 Source Edge Select bit
1
= Increment on high-to-low transition on T0CKI pin
0
= Increment on low-to-high transition on T0CKI pin
bit 3
PSA:
Timer0 Prescaler Assignment bit
1
= TImer0 prescaler is not assigned. Timer0 clock input bypasses prescaler.
0
= Timer0 prescaler is assigned. Timer0 clock input comes from prescaler output.
bit 2-0
T0PS<2:0>:
Timer0 Prescaler Select bits
111
= 1:256 Prescale value
110
= 1:128 Prescale value
101
= 1:64 Prescale value
100
= 1:32 Prescale value
011
= 1:16 Prescale value
010
= 1:8
Prescale value
001
= 1:4
Prescale value
000
= 1:2
Prescale value



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