Datasheet

© 2007 Microchip Technology Inc. DS41239D-page 27
PIC10F200/202/204/206
FIGURE 5-2: SUCCESSIVE I/O OPERATION (PIC10F200/202/204/206)
PC PC + 1 PC + 2
PC + 3
Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4
Instruction
Fetched
GP<2:0>
MOVWF GPIO NOP
Port pin
sampled here
NOPMOVF GPIO, W
Instruction
Executed
MOVWF GPIO
(Write to GPIO)
NOPMOVF GPIO,W
This example shows a write to GPIO followed
by a read from GPIO.
Data setup time = (0.25 T
CY – TPD)
where: T
CY = instruction cycle
T
PD = propagation delay
Therefore, at higher clock frequencies, a
write followed by a read may be problematic.
(Read GPIO)
Port pin
written here