Datasheet
PIC16HV540
DS40197B-page 4 Preliminary 2000 Microchip Technology Inc.
1.2.6 INCREASED STACK DEPTH
The stack depth is 4 levels to allow modular program
implementation by using functions and subroutines.
1.2.7 ENHANCED WATCHDOG TIMER (WDT)
OPERATION
The WDT is enabled by setting FUSE 2 in the configuration
word. The WDT setting is latched and the fuse disabled
during SLEEP mode to reduce current consumption.
If the WDT is disabled by FUSE 2, it can be enabled/dis-
abled under program control using bit 4 in OPTION2 Reg-
ister (SWDTEN
). The software WDT control is disabled at
power-up.
The current consumption of the on-chip oscillator (used
for the watchdog, oscillator startup timer and sleep
timer) is less than 1µA (typical) at 3 Volt operation.
1.2.8 REDUCED EXTERNAL RC OSCILLATOR
STARTUP TIME
If the RC oscillator option is selected in the Configura-
tion word (FOSC1=1 and FOSCO=1), the oscillator
startup time is 1.0 ms nominal instead of 18 ms nomi-
nal. This is applicable after power-up (POR), either
WDT interrupt or wake-up, external reset on MCLR
,
PCWU
(wake on pin change) and Brown-out.
1.2.9 LOW-VOLTAGE OPERATION OF THE
ENTIRE CPU DURING SLEEP
The voltage regulator can automatically lower the volt-
age to the core from 5 Volt to 3 Volt during sleep, result-
ing in reduced current consumption. This is an option
bit (SL) in the OPTION2 register.
1.2.10 GLITCH FILTERS ON WAKE-UP PINS AND
MCLR
Glitch sensitive inputs for wake-up on pin change are
filtered to reduce susceptibility to interference. A similar
filter reduces false reset on MCLR.
1.2.11 PROGRAMMABLE CLOCK GENERATOR
When used in RC mode, the CLKOUT pin can be used
as a programmable clock output. The output is con-
nected to TMR0, bit 0 and by setting the prescaler,
clock out frequencies of CLKIN/8 to CLKIN/1024 can
be generated. The CLKOUT pin can also be used as a
general purpose output by modifying TMR0, bit 0.
TABLE 1-1: PIC16HV540 DEVICE
PIC16HV540
Clock Maximum Frequency (MHz) 20
Memory EPROM Program Memory 512
RAM Data Memory (bytes) 25
Peripherals Timer Module(s) TMR0
Packages I/O Pins 12
Voltage Range (Volts) 3.5V-15V
Number of Instructions 33
Packages 18-pin DIP
SOIC
20-pin SSOP
All PICmicro
devices have Power-on Reset, selectable
WDT, selectable code protect and high I/O current capability.