Datasheet

PIC16C71X
DS30390D-page 166 1997 Microchip Technology Inc.
TO bit ................................................................................. 17
TOSE bit ............................................................................. 18
TRISA Register ...................................................... 14, 16, 25
TRISB Register ...................................................... 14, 16, 27
Two’s Complement .............................................................. 7
U
Upward Compatibility ........................................................... 3
UV Erasable Devices ........................................................... 5
W
W Register
ALU ..............................................................................7
Wake-up from SLEEP ........................................................ 66
Watchdog Timer (WDT) ................................... 47, 52, 56, 65
WDT ................................................................................... 56
Block Diagram ............................................................ 65
Programming Considerations ....................................65
Timeout ................................................................57, 58
WDT Period ........................................................................ 65
WDTE bit ......................................................................47, 48
Z
Z bit .................................................................................... 17
Zero bit ................................................................................. 7
LIST OF EXAMPLES
Example 3-1: Instruction Pipeline Flow........................... 10
Example 4-1: Call of a Subroutine in Page 1 from
Page 0 ...................................................... 24
Example 4-2: Indirect Addressing ................................... 24
Example 5-1: Initializing PORTA..................................... 25
Example 5-2: Initializing PORTB..................................... 27
Example 5-3: Read-Modify-Write Instructions
on an I/O Port ........................................... 30
Example 6-1: Changing Prescaler (Timer0WDT)........ 35
Example 6-2: Changing Prescaler (WDTTimer0)........ 35
Equation 7-1: A/D Minimum Charging Time.................... 40
Example 7-1: Calculating the Minimum Required
Aquisition Time ......................................... 40
Example 7-2: A/D Conversion......................................... 42
Example 7-3: 4-bit vs. 8-bit Conversion Times ............... 43
Example 8-1: Saving STATUS and W Registers
in RAM ...................................................... 64
LIST OF FIGURES
Figure 3-1: PIC16C71X Block Diagram ........................ 8
Figure 3-2: Clock/Instruction Cycle ............................. 10
Figure 4-1: PIC16C710 Program Memory Map
and Stack.................................................. 11
Figure 4-2: PIC16C71/711 Program Memory Map
and Stack.................................................. 11
Figure 4-3: PIC16C715 Program Memory Map
and Stack.................................................. 11
Figure 4-4: PIC16C710/71 Register File Map ............. 12
Figure 4-5: PIC16C711 Register File Map .................. 13
Figure 4-6: PIC16C715 Register File Map .................. 13
Figure 4-7: Status Register (Address 03h, 83h).......... 17
Figure 4-8: OPTION Register (Address 81h, 181h) .... 18
Figure 4-9: INTCON Register (Address 0Bh, 8Bh) ..... 19
Figure 4-10: PIE1 Register (Address 8Ch) ................... 20
Figure 4-11: PIR1 Register (Address 0Ch) ................... 21
Figure 4-12: PCON Register (Address 8Eh),
PIC16C710/711 ........................................ 22
Figure 4-13: PCON Register (Address 8Eh),
PIC16C715 ............................................... 22
Figure 4-14: Loading of PC In Different Situations........ 23
Figure 4-15: Direct/Indirect Addressing......................... 24
Figure 5-1: Block Diagram of RA3:RA0 Pins .............. 25
Figure 5-2: Block Diagram of RA4/T0CKI Pin ............. 25
Figure 5-3: Block Diagram of RB3:RB0 Pins .............. 27
Figure 5-4: Block Diagram of RB7:RB4 Pins
(PIC16C71)............................................... 28
Figure 5-5: Block Diagram of RB7:RB4 Pins
(PIC16C710/711/715)............................... 28
Figure 5-6: Successive I/O Operation ......................... 30
Figure 6-1: Timer0 Block Diagram .............................. 31
Figure 6-2: Timer0 Timing: Internal Clock/
No Prescale .............................................. 31
Figure 6-3: Timer0 Timing: Internal Clock/
Prescale 1:2.............................................. 32
Figure 6-4: Timer0 Interrupt Timing ............................ 32
Figure 6-5: Timer0 Timing with External Clock ........... 33
Figure 6-6: Block Diagram of the Timer0/
WDT Prescaler ......................................... 34
Figure 7-1: ADCON0 Register (Address 08h),
PIC16C710/71/711 ................................... 37
Figure 7-2: ADCON0 Register (Address 1Fh),
PIC16C715 ............................................... 38