Electronic Components Datasheet Search
  British  ▼
ALLDATASHEET.CO.UK

X  

PIC12F1822-I/MF Datasheet(PDF) 169 Page - Microchip Technology

Part # PIC12F1822-I/MF
Description  8/14-Pin Flash Microcontrollers with nanoWatt XLP Technology
PDF  398 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

PIC12F1822-I/MF Datasheet(HTML) 169 Page - Microchip Technology

Back Button PIC12F1822-I/MF Datasheet HTML 165Page - Microchip Technology PIC12F1822-I/MF Datasheet HTML 166Page - Microchip Technology PIC12F1822-I/MF Datasheet HTML 167Page - Microchip Technology PIC12F1822-I/MF Datasheet HTML 168Page - Microchip Technology PIC12F1822-I/MF Datasheet HTML 169Page - Microchip Technology PIC12F1822-I/MF Datasheet HTML 170Page - Microchip Technology PIC12F1822-I/MF Datasheet HTML 171Page - Microchip Technology PIC12F1822-I/MF Datasheet HTML 172Page - Microchip Technology PIC12F1822-I/MF Datasheet HTML 173Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 169 / 398 page
background image
 2010 Microchip Technology Inc.
Preliminary
DS41413A-page 169
PIC12F/LF1822/16F/LF1823
19.0 TIMER0 MODULE
The Timer0 module is an 8-bit timer/counter with the
following features:
• 8-bit timer/counter register (TMR0)
• 8-bit prescaler (independent of Watchdog Timer)
• Programmable internal or external clock source
• Programmable external clock edge selection
• Interrupt on overflow
• TMR0 can be used to gate Timer1
Figure 19-1 is a block diagram of the Timer0 module.
19.1
Timer0 Operation
The Timer0 module can be used as either an 8-bit timer
or an 8-bit counter.
19.1.1
8-BIT TIMER MODE
The Timer0 module will increment every instruction
cycle, if used without a prescaler. 8-Bit Timer mode is
selected by clearing the TMR0CS bit of the OPTION
register.
When TMR0 is written, the increment is inhibited for
two instruction cycles immediately following the write.
19.1.2
8-BIT COUNTER MODE
In 8-bit Counter mode, the Timer0 module will increment
on every rising or falling edge of the T0CKI pin or the
Capacitive Sensing Oscillator (CPSCLK) signal.
8-Bit Counter mode using the T0CKI pin is selected by
setting the TMR0CS bit in the OPTION register to ‘1’
and resetting the T0XCS bit in the CPSCON0 register to
‘0’.
8-Bit Counter mode using the Capacitive Sensing
Oscillator (CPSCLK) signal is selected by setting the
TMR0CS bit in the OPTION register to ‘1’ and setting
the T0XCS bit in the CPSCON0 register to ‘1’.
The rising or falling transition of the incrementing edge
for either input source is determined by the TMR0SE bit
in the OPTION register.
FIGURE 19-1:
BLOCK DIAGRAM OF THE TIMER0
Note:
The value written to the TMR0 register can
be adjusted, in order to account for the two
instruction cycle delay when TMR0 is
written.
T0CKI
TMR0SE
TMR0
PS<2:0>
Data Bus
Set Flag bit TMR0IF
on Overflow
TMR0CS
0
1
0
1
8
8
8-bit
Prescaler
FOSC/4
PSA
Sync
2 TCY
Overflow to Timer1
1
0
From CPSCLK
T0XCS



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