PIC16HV540-04I/SS Microchip Technology, PIC16HV540-04I/SS Datasheet - Page 47

IC MCU OTP 512X12 20SSOP

PIC16HV540-04I/SS

Manufacturer Part Number
PIC16HV540-04I/SS
Description
IC MCU OTP 512X12 20SSOP
Manufacturer
Microchip Technology
Series
PIC® 16Cr

Specifications of PIC16HV540-04I/SS

Core Processor
PIC
Core Size
8-Bit
Speed
4MHz
Peripherals
Brown-out Detect/Reset, POR, WDT
Number Of I /o
12
Program Memory Size
768B (512 x 12)
Program Memory Type
OTP
Ram Size
25 x 8
Voltage - Supply (vcc/vdd)
3.5 V ~ 15 V
Oscillator Type
External
Operating Temperature
-40°C ~ 85°C
Package / Case
20-SSOP
Processor Series
PIC16H
Core
PIC
Data Bus Width
8 bit
Data Ram Size
25 B
Maximum Clock Frequency
4 MHz
Number Of Programmable I/os
12
Number Of Timers
8
Operating Supply Voltage
3.5 V to 15 V
Maximum Operating Temperature
+ 85 C
Mounting Style
SMD/SMT
Minimum Operating Temperature
- 40 C
For Use With
309-1016 - ADAPTER 20-SSOP TO 18-DIP
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Data Converters
-
Connectivity
-
Lead Free Status / Rohs Status
 Details
CALL
Syntax:
Operands:
Operation:
Status Affected: None
Encoding:
Description:
Words:
Cycles:
Example:
CLRF
Syntax:
Operands:
Operation:
Status Affected: Z
Encoding:
Description:
Words:
Cycles:
Example:
2000 Microchip Technology Inc.
Before Instruction
After Instruction
Before Instruction
After Instruction
PC =
PC =
TOS =
FLAG_REG
FLAG_REG
Z
Subroutine Call
[ label ] CALL k
0
(PC) + 1
k
(STATUS<6:5>)
0
1001
Subroutine call. First, return address
(PC+1) is pushed onto the stack. The
eight bit immediate address is loaded
into PC bits <7:0>. The upper bits
PC<10:9> are loaded from STA-
TUS<6:5>, PC<8> is cleared. CALL is
a two cycle instruction.
1
2
HERE
address (HERE)
address (THERE)
address (HERE + 1)
Clear f
[ label ] CLRF
0
00h
1
0000
The contents of register ’f’ are cleared
and the Z bit is set.
1
1
CLRF
k
f
=
=
=
PC<7:0>;
PC<8>
Z
31
255
(f);
kkkk
CALL
011f
FLAG_REG
0x5A
0x00
1
Top of Stack;
f
kkkk
THERE
ffff
PC<10:9>;
Preliminary
CLRW
Syntax:
Operands:
Operation:
Status Affected: Z
Encoding:
Description:
Words:
Cycles:
Example:
CLRWDT
Syntax:
Operands:
Operation:
Status Affected: TO, PD
Encoding:
Description:
Words:
Cycles:
Example:
Before Instruction
After Instruction
Before Instruction
After Instruction
W
W
Z
WDT counter =
WDT counter =
WDT prescale =
TO
PD
=
=
=
Clear W
[ label ] CLRW
None
00h
1
0000
The W register is cleared. Zero bit (Z)
is set.
1
1
CLRW
0x5A
0x00
1
Clear Watchdog Timer
[ label ] CLRWDT
None
00h
0
1
1
0000
The CLRWDT instruction resets the
WDT. It also resets the prescaler, if the
prescaler is assigned to the WDT and
not Timer0. Status bits TO and PD are
set.
1
1
CLRWDT
PIC16HV540
=
=
Z
WDT prescaler (if assigned);
TO;
PD
(W);
WDT;
0100
0000
?
0x00
0
1
1
0000
0100
DS40197B-page 47

Related parts for PIC16HV540-04I/SS