欢迎访问ic37.com |
会员登录 免费注册
发布采购

PIC10F204-I/P 参数 Datasheet PDF下载

PIC10F204-I/P图片预览
型号: PIC10F204-I/P
PDF下载: 下载PDF文件 查看货源
内容描述: 6引脚8位闪存微控制器 [6-Pin, 8-Bit Flash Microcontrollers]
分类和应用: 闪存微控制器和处理器外围集成电路光电二极管PC时钟
文件页数/大小: 96 页 / 1447 K
品牌: MICROCHIP [ MICROCHIP TECHNOLOGY ]
 浏览型号PIC10F204-I/P的Datasheet PDF文件第28页浏览型号PIC10F204-I/P的Datasheet PDF文件第29页浏览型号PIC10F204-I/P的Datasheet PDF文件第30页浏览型号PIC10F204-I/P的Datasheet PDF文件第31页浏览型号PIC10F204-I/P的Datasheet PDF文件第33页浏览型号PIC10F204-I/P的Datasheet PDF文件第34页浏览型号PIC10F204-I/P的Datasheet PDF文件第35页浏览型号PIC10F204-I/P的Datasheet PDF文件第36页  
PIC10F200/202/204/206
FIGURE 6-3:
PC
(Program
Counter)
Instruction
Fetch
Timer0
Instruction
Executed
T0
TIMER0 TIMING: INTERNAL CLOCK/PRESCALE 1:2
Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4
PC – 1
PC
PC + 1
PC + 2
PC + 3
PC + 4
PC + 5
PC + 6
MOVWF TMR0 MOVF TMR0,W MOVF TMR0,W MOVF TMR0,W MOVF TMR0,W MOVF TMR0,W
T0 + 1
NT0
NT0 + 1
Write TMR0
executed
Read TMR0
reads NT0
Read TMR0
reads NT0
Read TMR0
reads NT0
Read TMR0
Read TMR0
reads NT0 + 1 reads NT0 + 2
TABLE 6-1:
Address
01h
N/A
N/A
REGISTERS ASSOCIATED WITH TIMER0
Name
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Value on
Power-On
Reset
xxxx xxxx
PS2
PS1
PS0
1111 1111
---- 1111
Value on
All Other
Resets
TMR0
OPTION
TRISGPIO
(1)
Timer0 – 8-bit Real-Time Clock/Counter
GPWU
GPPU
T0CS
T0SE
PSA
uuuu uuuu
1111 1111
---- 1111
I/O Control Register
Legend:
Shaded cells not used by Timer0. – = unimplemented,
x
= unknown,
u
= unchanged.
Note 1:
The TRIS of the T0CKI pin is overridden when T0CS =
1.
6.1
Using Timer0 with an External
Clock (PIC10F200/202)
6.1.1
EXTERNAL CLOCK
SYNCHRONIZATION
When an external clock input is used for Timer0, it must
meet certain requirements. The external clock require-
ment is due to internal phase clock (T
OSC
) synchroniza-
tion. Also, there is a delay in the actual incrementing of
Timer0 after synchronization.
When no prescaler is used, the external clock input is
the same as the prescaler output. The synchronization
of T0CKI with the internal phase clocks is accom-
plished by sampling the prescaler output on the Q2 and
Q4 cycles of the internal phase clocks (Figure 6-4).
Therefore, it is necessary for T0CKI to be high for at
least 2 T
OSC
(and a small RC delay of 2 Tt0H) and low
for at least 2 T
OSC
(and a small RC delay of 2 Tt0H).
Refer to the electrical specification of the desired
device.
When a prescaler is used, the external clock input is
divided by the asynchronous ripple counter-type
prescaler, so that the prescaler output is symmetrical.
For the external clock to meet the sampling require-
ment, the ripple counter must be taken into account.
Therefore, it is necessary for T0CKI to have a period of
at least 4 T
OSC
(and a small RC delay of 4 Tt0H) divided
by the prescaler value. The only requirement on T0CKI
high and low time is that they do not violate the
minimum pulse width requirement of Tt0H. Refer to
parameters 40, 41 and 42 in the electrical specification
of the desired device.
DS41239D-page 30
©
2007 Microchip Technology Inc.