PIC17C42 Microchip Technology, PIC17C42 Datasheet - Page 229

no-image

PIC17C42

Manufacturer Part Number
PIC17C42
Description
High-Performance 8-Bit CMOS EPROM/ROM Microcontroller
Manufacturer
Microchip Technology
Datasheets

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC17C42-16/JW
Manufacturer:
AD
Quantity:
12
Part Number:
PIC17C42A-16/L
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC17C42A-16/PQ
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC17C42A-16/PQ
Manufacturer:
MICROCH
Quantity:
20 000
Part Number:
PIC17C42A-16/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC17C42A-16E/L
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC17C42A-16E/PQ
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC17C42A-25/P
Manufacturer:
MICROCLOCK
Quantity:
20 000
Receive Status and Control Register ................................. 83
Register File Map ............................................................... 33
Registers
Reset
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
STKAL ................................................................................ 39
STKAV ............................................................................... 37
SUBLW ............................................................................ 135
SUBWF ............................................................................ 136
SUBWFB .......................................................................... 136
1996 Microchip Technology Inc.
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
Section ....................................................................... 15
Status Bits and Their Significance ............................. 16
Time-Out in Various Situations .................................. 16
Time-Out Sequence ................................................... 16
Operation ................................................................... 39
Pointer ........................................................................ 39
Stack .......................................................................... 29
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
Table Write
TABLRD .............................................................44, 137, 138
TABLWT .............................................................43, 138, 139
TBLATH ..............................................................................40
TBLATL ..............................................................................40
TBLPTRH .....................................................................34, 40
TBLPTRL ......................................................................34, 40
TCLK12 ..............................................................................71
TCLK3 ................................................................................71
TCON1 .........................................................................20, 35
TCON2 .........................................................................20, 35
Terminating Long Writes ....................................................45
Time-Out Sequence ...........................................................16
Timer Resources ................................................................65
Timer0 ................................................................................67
Timer1
Timer2
Timer3
Example ......................................................................48
Section ........................................................................43
Table Reads Section ..................................................48
TABLRD Operation .....................................................44
Timing .........................................................................48
TLRD ..........................................................................48
TLRD Operation .........................................................44
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
16-bit Mode .................................................................74
Clock Source Select ...................................................71
On bit ..........................................................................72
Section ..................................................................71, 73
16-bit Mode .................................................................74
Clock Source Select ...................................................71
On bit ..........................................................................72
Section ..................................................................71, 73
Clock Source Select ...................................................71
On bit ..........................................................................72
Section ..................................................................71, 77
PIC17C4X
DS30412C-page 229

Related parts for PIC17C42