PIC17C42A-25/P Microchip Technology, PIC17C42A-25/P Datasheet - Page 27

IC MCU OTP 2KX16 PWM 40DIP

PIC17C42A-25/P

Manufacturer Part Number
PIC17C42A-25/P
Description
IC MCU OTP 2KX16 PWM 40DIP
Manufacturer
Microchip Technology
Series
PIC® 17Cr

Specifications of PIC17C42A-25/P

Core Processor
PIC
Core Size
8-Bit
Speed
25MHz
Connectivity
UART/USART
Peripherals
POR, PWM, WDT
Number Of I /o
33
Program Memory Size
4KB (2K x 16)
Program Memory Type
OTP
Ram Size
232 x 8
Voltage - Supply (vcc/vdd)
4.5 V ~ 6 V
Oscillator Type
External
Operating Temperature
0°C ~ 70°C
Package / Case
40-DIP (0.600", 15.24mm)
Processor Series
PIC17C
Core
PIC
Data Bus Width
8 bit
Data Ram Size
232 B
Interface Type
SCI, USART
Maximum Clock Frequency
25 MHz
Number Of Programmable I/os
33
Number Of Timers
8
Operating Supply Voltage
2.5 V to 6 V
Maximum Operating Temperature
+ 70 C
Mounting Style
Through Hole
Development Tools By Supplier
ICE2000
Minimum Operating Temperature
0 C
For Use With
DVA17XP401 - DEVICE ADAPTER FOR PIC17C42AAC174001 - MODULE SKT PROMATEII 40DIP
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Data Converters
-
Lead Free Status / Rohs Status
 Details

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC17C42A-25/P
Manufacturer:
MICROCLOCK
Quantity:
20 000
Part Number:
PIC17C42A-25/PQ
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC17C42A-25/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
5.9
During an interrupt, only the returned PC value is saved
on the stack. Typically, users may wish to save key reg-
isters during an interrupt; e.g. WREG, ALUSTA and the
BSR registers. This requires implementation in soft-
ware.
EXAMPLE 5-1:
;
; The addresses that are used to store the CPUSTA and WREG values
; must be in the data memory address range of 18h - 1Fh. Up to
; 8 locations can be saved and restored using
; the MOVFP instruction. This instruction neither affects the status
; bits, nor corrupts the WREG register.
;
;
PUSH
ISR
POP
1996 Microchip Technology Inc.
Context Saving During Interrupts
MOVFP
MOVFP
MOVFP
:
:
MOVFP
MOVFP
MOVFP
RETFIE
WREG, TEMP_W
ALUSTA, TEMP_STATUS
BSR, TEMP_BSR
TEMP_W, WREG
TEMP_STATUS, ALUSTA
TEMP_BSR, BSR
SAVING STATUS AND WREG IN RAM
; Save WREG
; Save ALUSTA
; Save BSR
; This is the interrupt service routine
; Restore WREG
; Restore ALUSTA
; Restore BSR
; Return from Interrupts enabled
Example 5-1 shows the saving and restoring of infor-
mation for an interrupt service routine. The PUSH and
POP routines could either be in each interrupt service
routine or could be subroutines that were called.
Depending on the application, other registers may also
need to be saved, such as PCLATH.
PIC17C4X
DS30412C-page 27

Related parts for PIC17C42A-25/P