PIC10F206-I/OT Microchip Technology, PIC10F206-I/OT Datasheet - Page 33
![no-image](/images/manufacturer_photos/0/4/439/microchip_technology_sml.jpg)
PIC10F206-I/OT
Manufacturer Part Number
PIC10F206-I/OT
Description
MCU 8-Bit PIC10 PIC RISC 768Byte Flash 2.5V/3.3V/5V 6-Pin SOT-23 Bag
Manufacturer
Microchip Technology
Datasheet
1.PIC10F200T-IOT.pdf
(96 pages)
Specifications of PIC10F206-I/OT
Package
6SOT-23
Device Core
PIC
Family Name
PIC10
Maximum Speed
4 MHz
Ram Size
24 Byte
Program Memory Size
768 Byte
Operating Supply Voltage
2.5|3.3|5 V
Data Bus Width
8 Bit
Program Memory Type
Flash
Number Of Programmable I/os
3
Operating Temperature
-40 to 85 °C
Number Of Timers
1
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
PIC10F206-I/OT
Manufacturer:
MICROC
Quantity:
28 000
Part Number:
PIC10F206-I/OT
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
6.1.2
Since the prescaler output is synchronized with the
internal clocks, there is a small delay from the time the
external clock edge occurs to the time the Timer0
module is actually incremented. Figure 6-4 shows the
delay from the external clock edge to the timer
incrementing.
FIGURE 6-4:
6.2
An 8-bit counter is available as a prescaler for the
Timer0 module or as a postscaler for the Watchdog
Timer (WDT), respectively (see Section 9.6 “Watch-
dog Timer (WDT)”). For simplicity, this counter is
being referred to as “prescaler” throughout this data
sheet.
The PSA and PS<2:0> bits (OPTION<3:0>) determine
prescaler assignment and prescale ratio.
When assigned to the Timer0 module, all instructions
writing to the TMR0 register (e.g., CLRF 1, MOVWF 1,
BSF 1,x, etc.) will clear the prescaler. When assigned
to WDT, a CLRWDT instruction will clear the prescaler
along with the WDT. The prescaler is neither readable
nor writable. On a Reset, the prescaler contains all ‘0’s.
© 2007 Microchip Technology Inc.
Note:
Note 1: Delay from clock input change to Timer0 increment is 3 T
External Clock/Prescaler
External Clock Input or
Increment Timer0 (Q4)
Prescaler
Output After Sampling
2: External clock if no prescaler selected; prescaler output otherwise.
3: The arrows indicate the points in time where sampling occurs.
TIMER0 INCREMENT DELAY
The prescaler may be used by either the
Timer0 module or the WDT, but not both.
Thus, a prescaler assignment for the
Timer0 module means that there is no
prescaler for the WDT and vice versa.
Prescaler Output
in measuring the interval between two edges on Timer0 input = ±4 T
TIMER0 TIMING WITH EXTERNAL CLOCK
Timer0
(2)
(3)
Q1 Q2 Q3 Q4
(1)
Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4
T0
PIC10F200/202/204/206
6.2.1
The prescaler assignment is fully under software
control (i.e., it can be changed “on-the-fly” during pro-
gram execution). To avoid an unintended device Reset,
the following instruction sequence (Example 6-1) must
be executed when changing the prescaler assignment
from Timer0 to the WDT.
EXAMPLE 6-1:
CLRWDT
CLRF
MOVLW
OPTION
CLRWDT
MOVLW
OPTION
OSC
to 7 T
TMR0
‘00xx1111’b ;These 3 lines (5, 6, 7)
‘00xx1xxx’b ;Set Postscaler to
OSC
T0 + 1
OSC
SWITCHING PRESCALER
ASSIGNMENT
(Duration of Q = T
max.
CHANGING PRESCALER
(TIMER0 → WDT)
;Clear WDT
;Clear TMR0 & Prescaler
;are required only if
;desired
;PS<2:0> are 000 or 001
;desired WDT rate
OSC
T0 + 2
Small pulse
misses sampling
). Therefore, the error
DS41239D-page 31