PIC14000-04I/SS Microchip Technology, PIC14000-04I/SS Datasheet - Page 84

IC, 8BIT MCU, PIC14, 4MHZ, SSOP-28

PIC14000-04I/SS

Manufacturer Part Number
PIC14000-04I/SS
Description
IC, 8BIT MCU, PIC14, 4MHZ, SSOP-28
Manufacturer
Microchip Technology
Datasheet

Specifications of PIC14000-04I/SS

Controller Family/series
PIC14
No. Of I/o's
22
Ram Memory Size
192Byte
Cpu Speed
4MHz
No. Of Timers
2
Interface
I2C
Digital Ic Case Style
SSOP
Core Size
8 Bit
Program Memory Size
4096 X 14
Embedded Interface Type
I2C
Rohs Compliant
Yes
Processor Series
PIC14000
Core
PIC
Data Bus Width
8 bit
Program Memory Type
EPROM
Data Ram Size
192 B
Interface Type
SPI, UART
Maximum Clock Frequency
20 MHz
Number Of Programmable I/os
22
Number Of Timers
1
Operating Supply Voltage
2.7 V to 6 V
Maximum Operating Temperature
+ 85 C
Mounting Style
SMD/SMT
Package / Case
SSOP-28
Development Tools By Supplier
ICE2000
Minimum Operating Temperature
- 40 C
On-chip Adc
14 bit
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
PIC14000
10.6.2
An overflow (FFh
(INTCON<2>)
enables the interrupt.
10.6.3
An input change on PORTC<7:4> sets RCIF
(PIR1<2>). Setting RCIE (PIE1<2>) enables the inter-
rupt. For operation of PORTC, refer to Section 5.2.
EXAMPLE 10-1: SAVING STATUS AND W REGISTERS IN RAM
DS40122B-page 84
Note:
MOVWF
SWAPF
BCF
BCF
MOVWF
:
:(ISR)
:
SWAPF
MOVWF
SWAPF
SWAPF
TIMER0 INTERRUPT
PORTC INTERRUPT ON CHANGE
If a change on the I/O pin should occur
when the read operation is being executed
(start of the Q2 cycle), then the RCIF
interrupt flag may not be set.
flag.
W_TEMP
STATUS,W
STATUS,RP1
STATUS,RP0
STATUS_TEMP
STATUS_TEMP,W
STATUS
W_TEMP,F
W_TEMP,W
00h) in Timer0 will set the T0IF
Setting
T0IE
;Copy W to TEMP register, could be any bank
;Swap status to be saved into W
;Change to bank zero, regardless of current bank
;
;Save status to bank zero STATUS_TEMP register
;Swap STATUS_TEMP register into W
;(sets bank to original state)
;Move W into STATUS register
;Swap W_TEMP
;Swap W_TEMP into W
(INTCON<5>)
Preliminary
10.6.4
During an interrupt, only the return PC value is saved
on the stack. Typically, users may wish to save key
registers during an interrupt, for example, W register
and Status register. Example 10-1 is an example that
shows saving registers in RAM.
CONTEXT SWITCHING DURING
INTERRUPTS
1996 Microchip Technology Inc.

Related parts for PIC14000-04I/SS