1996 Microchip Technology Inc.
DS30412B-page 227
PIC17C4X
Frequency vs. Resolution ..........................................76
Interrupts ....................................................................76
Max Resolution/Frequency for External
Clock Input .................................................77
Output ........................................................................75
Periods .......................................................................76
PWM1 ................................................................................72
PWM1ON .....................................................................72, 75
PWM2 ................................................................................72
PWM2ON .....................................................................72, 75
PWRT ..........................................................................15, 99
R
RA1/T0CKI pin ...................................................................67
RBIE ...................................................................................23
RBIF ...................................................................................24
RBPU .................................................................................55
RC Oscillator ....................................................................102
RC Oscillator Frequencies .......................................165, 195
RCIE ..................................................................................23
RCIF ...................................................................................24
RCREG ................................................19, 34, 91, 92, 96, 97
RCSTA .......................................................19, 34, 92, 96, 98
Reading 16-bit Value .........................................................69
Receive Status and Control Register .................................83
Register File Map ...............................................................33
Registers
ALUSTA ...............................................................27, 36
BRG ...........................................................................86
BSR ............................................................................27
CPUSTA ....................................................................37
File Map .....................................................................33
FSR0 ..........................................................................40
FSR1 ..........................................................................40
INDF0 .........................................................................40
INDF1 .........................................................................40
INTSTA ......................................................................22
PIE .............................................................................23
PIR .............................................................................24
RCSTA .......................................................................84
Special Function Table ..............................................34
T0STA ..................................................................38, 67
TCON1 .......................................................................71
TCON2 .......................................................................72
TMR1 .........................................................................81
TMR2 .........................................................................81
TMR3 .........................................................................81
TXSTA .......................................................................83
WREG ........................................................................27
Reset
Section .......................................................................15
Status Bits and Their Significance .............................16
Time-Out in Various Situations ..................................16
Time-Out Sequence ...................................................16
RETFIE ............................................................................131
RETLW ............................................................................131
RETURN ..........................................................................132
RLCF ................................................................................132
RLNCF .............................................................................133
RRCF ...............................................................................133
RRNCF ............................................................................134
RX Pin Sampling Scheme ..................................................91
RX9 ....................................................................................84
RX9D .................................................................................84
S
Sampling .............................................................................91
Saving STATUS and WREG in RAM .................................27
SETF ................................................................................134
SFR ..................................................................................108
SFR (Special Function Registers) ................................29, 32
SFR As Source/Destination ..............................................108
Signed Math .........................................................................9
SLEEP ................................................................99, 105, 135
Software Simulator (MPSIM) ............................................145
SPBRG .......................................................19, 34, 92, 96, 98
Special Features of the CPU ..............................................99
Special Function Registers .............................29, 32, 34, 108
SPEN ..................................................................................84
SREN ..................................................................................84
Stack
Operation ....................................................................39
Pointer ........................................................................39
Stack ...........................................................................29
STKAL ................................................................................39
STKAV ................................................................................37
SUBLW .............................................................................135
SUBWF .............................................................................136
SUBWFB ..........................................................................136
SWAPF .............................................................................137
SYNC ..................................................................................83
Synchronous Master Mode .................................................93
Synchronous Master Reception .........................................95
Synchronous Master Transmission ....................................93
Synchronous Slave Mode ...................................................97
T
T0CKI Pin ...........................................................................26
T0CKIE ...............................................................................22
T0CKIF ...............................................................................22
T0CS ............................................................................38, 67
T0IE ....................................................................................22
T0IF ....................................................................................22
T0SE .............................................................................38, 67
T0STA ..........................................................................34, 38
T16 .....................................................................................71
Table Latch .........................................................................40
Table Pointer ......................................................................40
Table Read
Example ......................................................................48
Section ........................................................................43
Table Reads Section ..................................................48
TABLRD Operation .....................................................44
Timing .........................................................................48
TLRD ..........................................................................48
TLRD Operation .........................................................44
Table Write
Code ...........................................................................46
Interaction ...................................................................45
Section ........................................................................43
TABLWT Operation ....................................................43
Terminating Long Writes ............................................45
Timing .........................................................................46
TLWT Operation .........................................................43
To External Memory ...................................................46
To Internal Memory ....................................................45
TABLRD .............................................................44, 137, 138
TABLWT .............................................................43, 138, 139
TBLATH ..............................................................................40