PIC16C73B-04E/SP Microchip Technology, PIC16C73B-04E/SP Datasheet - Page 95
![IC MCU OTP 4KX14 A/D PWM 28DIP](/photos/6/59/65908/150-28-dip_sml.jpg)
PIC16C73B-04E/SP
Manufacturer Part Number
PIC16C73B-04E/SP
Description
IC MCU OTP 4KX14 A/D PWM 28DIP
Manufacturer
Microchip Technology
Series
PIC® 16Cr
Datasheets
1.PIC16F616T-ISL.pdf
(8 pages)
2.PIC16F818-ISO.pdf
(6 pages)
3.PIC16C63A-04SP.pdf
(184 pages)
4.PIC16C63A-04SP.pdf
(10 pages)
5.PIC16C63A-04SP.pdf
(10 pages)
Specifications of PIC16C73B-04E/SP
Core Processor
PIC
Core Size
8-Bit
Speed
4MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
22
Program Memory Size
7KB (4K x 14)
Program Memory Type
OTP
Ram Size
192 x 8
Voltage - Supply (vcc/vdd)
4 V ~ 5.5 V
Data Converters
A/D 5x8b
Oscillator Type
External
Operating Temperature
-40°C ~ 125°C
Package / Case
28-DIP (0.300", 7.62mm)
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
- PIC16F616T-ISL PDF datasheet
- PIC16F818-ISO PDF datasheet #2
- PIC16C63A-04SP PDF datasheet #3
- PIC16C63A-04SP PDF datasheet #4
- PIC16C63A-04SP PDF datasheet #5
- Current page: 95 of 184
- Download datasheet (3Mb)
13.6
During an interrupt, only the return PC value is saved
on the stack. Users may wish to save key registers dur-
ing an interrupt i.e., W register and STATUS register.
This will have to be implemented in software.
Example 13-1 stores and restores the STATUS, W, and
PCLATH registers. The register W_TEMP must be
defined in each bank and must be defined at the same
offset from the bank base address (i.e., if W_TEMP is
defined at 0x20 in bank 0, it must also be defined at
0xA0 in bank 1).
EXAMPLE 13-1:
13.7
The Watchdog Timer is a free running on-chip RC oscil-
lator, which does not require any external components.
This RC oscillator is separate from the RC oscillator of
the OSC1/CLKIN pin. The WDT will run, even if the
clock on the OSC1/CLKIN and OSC2/CLKOUT pins of
the device has been stopped, for example, by execu-
tion of a SLEEP instruction.
During normal operation, a WDT time-out generates a
device RESET (Watchdog Timer Reset). If the device is
in SLEEP mode, a WDT time-out causes the device to
wake-up and resume normal operation (Watchdog
Timer Wake-up).
The WDT can be permanently disabled by clearing
configuration bit WDTE (Section 13.1).
2000 Microchip Technology Inc.
MOVWF
SWAPF
CLRF
MOVWF
MOVF
MOVWF
:
(ISR)
:
MOVF
MOVWF
SWAPF
MOVWF
SWAPF
SWAPF
Context Saving During Interrupts
Watchdog Timer (WDT)
W_TEMP
STATUS,W
STATUS
STATUS_TEMP
PCLATH, W
PCLATH_TEMP
PCLATH_TEMP, W
PCLATH
STATUS_TEMP, W
STATUS
W_TEMP,F
W_TEMP,W
SAVING STATUS, W, AND PCLATH REGISTERS IN RAM
;Copy W to TEMP register, could be bank one or zero
;Swap status to be saved into W
;bank 0, regardless of current bank, Clears IRP,RP1,RP0
;Save status to bank zero STATUS_TEMP register
;Only required if using pages 1, 2 and/or 3
;Save PCLATH into W
;Restore PCLATH
;Move W into PCLATH
;Swap STATUS_TEMP register into W
;(sets bank to original state)
;Move W into STATUS register
;Swap W_TEMP
;Swap W_TEMP into W
;User ISR code goes here
PIC16C63A/65B/73B/74B
The example:
a)
b)
c)
d)
e)
f)
13.7.1
The WDT has a nominal time-out period of 18 ms
(parameter #31, T
temperature, V
time-out periods are desired, a prescaler with a division
ratio of up to 1:128 can be assigned to the WDT under
software control, by writing to the OPTION register.
Time-out periods up to 128 T
The CLRWDT and SLEEP instructions clear the WDT
and the postscaler, if assigned to the WDT. In addition,
the SLEEP instruction prevents the WDT from generat-
ing a RESET, but will allow the WDT to wake the device
from SLEEP mode.
The TO bit in the STATUS register will be cleared upon
a WDT time-out.
Stores the W register.
Stores the STATUS register in bank 0.
Stores the PCLATH register.
Executes the ISR code.
Restores the STATUS register
(and bank select bit).
Restores the W and PCLATH registers.
WDT PERIOD
DD
WDT
, and process variations. If longer
). The time-out periods vary with
WDT
can be realized.
DS30605C-page 95
Related parts for PIC16C73B-04E/SP
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![PIC16C73B-04/SP](/photos/6/59/65908/150-28-dip_tmb.jpg)
Part Number:
Description:
IC MCU OTP 4KX14 A/D PWM 28DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C73B-04/SO](/photos/6/59/65909/150-28-soic_tmb.jpg)
Part Number:
Description:
IC MCU OTP 4KX14 A/D PWM 28SOIC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C73B-20/SO](/photos/6/59/65909/150-28-soic_tmb.jpg)
Part Number:
Description:
IC MCU OTP 4KX14 A/D PWM 28SOIC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C73B-04I/SO](/photos/6/59/65909/150-28-soic_tmb.jpg)
Part Number:
Description:
IC MCU OTP 4KX14 A/D PWM 28SOIC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C73B-20I/SS](/photos/6/81/68119/150-28-ssop_tmb.jpg)
Part Number:
Description:
IC MCU OTP 4KX14 A/D PWM 28SSOP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C73B-20E/SO](/photos/6/59/65909/150-28-soic_tmb.jpg)
Part Number:
Description:
IC MCU OTP 4KX14 A/D PWM 28SOIC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C73B-20I/SO](/photos/6/59/65909/150-28-soic_tmb.jpg)
Part Number:
Description:
IC MCU OTP 4KX14 A/D PWM 28SOIC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C73B/JW](/photos/7/29/72984/150-28-cdip_tmb.jpg)
Part Number:
Description:
IC MCU EPROM4KX14 A/D PWM 28CDIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C73B-04/SS](/photos/6/81/68119/150-28-ssop_tmb.jpg)
Part Number:
Description:
IC MCU OTP 4KX14 A/D PWM 28SSOP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C73B-20/SP](/photos/6/59/65908/150-28-dip_tmb.jpg)
Part Number:
Description:
IC MCU OTP 4KX14 A/D PWM 28DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C73B-04I/SP](/photos/6/59/65908/150-28-dip_tmb.jpg)
Part Number:
Description:
IC MCU OTP 4KX14 A/D PWM 28DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C73B-20/SS](/photos/6/81/68119/150-28-ssop_tmb.jpg)
Part Number:
Description:
IC MCU OTP 4KX14 A/D PWM 28SSOP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C73B-20I/SP](/photos/6/59/65908/150-28-dip_tmb.jpg)
Part Number:
Description:
IC MCU OTP 4KX14 A/D PWM 28DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C73B-04I/SS](/photos/6/81/68119/150-28-ssop_tmb.jpg)
Part Number:
Description:
IC MCU OTP 4KX14 A/D PWM 28SSOP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16C73B-04E/SO](/photos/6/59/65909/150-28-soic_tmb.jpg)
Part Number:
Description:
IC MCU OTP 4KX14 A/D PWM 28SOIC
Manufacturer:
Microchip Technology
Datasheet: