
PIC14000
DS40122B-page 144
Preliminary
1996 Microchip Technology Inc.
PCON................................................................................. 22
PD...................................................................................... 79
PICDEM-1 Low-Cost PIC16/17 Demo Board........... 103, 104
PICDEM-2 Low-Cost PIC16CXX Demo Board........ 103, 104
PICDEM-3 Low-Cost PIC16C9XXX Demo Board............ 104
PICMASTER
RT In-Circuit Emulator............................. 103
PICSTART
Low-Cost Development System................. 103
PIE1 ................................................................................... 20
Pin Compatible Devices................................................... 141
PIR1................................................................................... 21
POR
Oscillator Start-up Timer (OST) ................................. 80
Power-on Reset (POR).............................................. 80
Power-up Timer (PWRT) ........................................... 80
TO ..............................................................................79
Prescaler ............................................................................39
PRO MATE
Universal Programmer............................... 103
R
RCV_MODE....................................................................... 54
Read Modify Write.............................................................. 35
Register File....................................................................... 14
Reset.................................................................................. 79
RETFIE Instruction............................................................. 99
RETLW Instruction............................................................. 99
RETURN Instruction......................................................... 100
RLF Instruction................................................................. 100
RRF Instruction................................................................ 100
S
Saving W register and STATUS in RAM............................ 85
SLEEP................................................................................ 79
SLEEP Instruction............................................................ 100
Software Simulator (MPSIM)............................................ 105
Special FUNCTION Registers............................................ 15
SSP
SSPCON.................................................................... 43
SSPSTAT................................................................... 42
Stack.................................................................................. 23
overflows.................................................................... 23
underflow ................................................................... 23
SUBLW Instruction........................................................... 101
SUBWF Instruction ...........................................................101
SWAPF Instruction........................................................... 102
T
Timer0
TMR0 with External Clock.......................................... 39
Timer1
Switching Prescaler Assignment................................ 40
Timing Diagrams and Specifications................................ 111
TRIS Instruction ............................................................... 102
W
Watchdog Timer (WDT)..................................................... 79
X
XMIT_MODE...................................................................... 54
XORLW Instruction .......................................................... 102
XORWF Instruction.......................................................... 102
Z
Zero bit................................................................................. 7
LIST OF EXAMPLES
Example 3-1: Instruction Pipeline Flow ........................... 11
Example 4-1: Call Of A Subroutine In Page 1
from Page 0............................................... 23
Example 4-2: Indirect Addressing .................................... 24
Example 5-1: Initializing PORTA ..................................... 25
Example 5-2: Initializing PORTC ..................................... 27
Example 5-3: Initializing PORTD ..................................... 35
Example 5-4: Read Modify Write Instructions
On An I/O Port ........................................... 35
Example 6-1: Changing Prescaler (TIMER0
Example 6-2: Changing Prescaler (WDT
Example 10-1: Saving STATUS and W Registers
in RAM........................................................ 84
→
TIMER0) ....... 40
WDT) ....... 40
→
LIST OF FIGURES
Figure 3-1:
Figure 3-2:
Figure 4-1:
PIC14000 Block Diagram ............................ 8
Clock/Instruction Cycle .............................. 11
PIC14000 Program Memory Map
and Stack .................................................. 13
Register File Map ...................................... 14
Status Register .......................................... 17
Option Register ......................................... 18
INTCON Register ...................................... 19
PIE1 Register ............................................ 20
PIR1 Register ............................................ 21
PCON Register .......................................... 22
Loading of PC In Different Situations ........ 23
Indirect/indirect Addressing ....................... 24
PORTA Block Diagram .............................. 25
PORTA Data Register ............................... 26
Block Diagram of PORTC<7:6> Pins ........ 27
Block Diagram of PORTC<5:4> Pins ........ 28
Block Diagram of PORTC<3:0> Pins ........ 29
PORTC Data Register ............................... 30
TRISC Register ......................................... 31
Block Diagram of PORTD<7:4> Pins ........ 32
Block Diagram oF PORTD<3:2> Pins ....... 32
Block Diagram of PORTD<1:0> Pins ........ 33
PORTD Data Register ............................... 33
TRISD Register ......................................... 34
Successive I/O OperatioN ......................... 36
TIMER0 and Watchdog Timer
Block Diagram ........................................... 37
TIMER0 Timing: Internal Clock/
No Prescale ............................................... 38
TIMER0 Timing: Internal Clock/
Prescale 1:2 .............................................. 38
TIMER0 Interrupt Timing ........................... 38
TIMER0 Timing with External Clock .......... 39
I
C Start And Stop Conditions ................... 41
I
CSTAT: I
C Port Status Register ............ 42
I
CCON: I
C Port Control Register ........... 43
I
C 7-bit Address Format ........................... 44
I
C 10-bit Address Format ......................... 44
I
C Slave-Receiver Acknowledge ............. 45
Sample I
C Data Transfer ......................... 45
Master - Transmitter Sequence ................. 46
Master - Receiver Sequence ..................... 46
Combined Format ...................................... 46
Multi-master Arbitration (2 Masters) .......... 47
I
C Clock Synchronization ......................... 47
I
C Block Diagram ..................................... 48
I
C Waveforms For Reception
(7-bit Address) ........................................... 50
Figure 4-2:
Figure 4-3:
Figure 4-4:
Figure 4-5:
Figure 4-6:
Figure 4-7:
Figure 4-8:
Figure 4-9:
Figure 4-10:
Figure 5-1:
Figure 5-2:
Figure 5-3:
Figure 5-4:
Figure 5-5:
Figure 5-6:
Figure 5-7:
Figure 5-8:
Figure 5-9:
Figure 5-10:
Figure 5-11:
Figure 5-12:
Figure 5-13:
Figure 6-1:
Figure 6-2:
Figure 6-3:
Figure 6-4:
Figure 6-5:
Figure 7-1:
Figure 7-2:
Figure 7-3:
Figure 7-4:
Figure 7-5:
Figure 7-6:
Figure 7-7:
Figure 7-8:
Figure 7-9:
Figure 7-10:
Figure 7-11:
Figure 7-12:
Figure 7-13:
Figure 7-14:
2
2
2
2
2
2
2
2
2
2
2
2