PIC16LC715-04I/SS Microchip Technology, PIC16LC715-04I/SS Datasheet - Page 75

IC MCU OTP 2KX14 A/D PWM 20SSOP

PIC16LC715-04I/SS

Manufacturer Part Number
PIC16LC715-04I/SS
Description
IC MCU OTP 2KX14 A/D PWM 20SSOP
Manufacturer
Microchip Technology
Series
PIC® 16Cr
Datasheets

Specifications of PIC16LC715-04I/SS

Core Processor
PIC
Core Size
8-Bit
Speed
4MHz
Peripherals
Brown-out Detect/Reset, PWM, WDT
Number Of I /o
13
Program Memory Size
3.5KB (2K x 14)
Program Memory Type
OTP
Ram Size
128 x 8
Voltage - Supply (vcc/vdd)
2.5 V ~ 5.5 V
Data Converters
A/D 4x8b
Oscillator Type
External
Operating Temperature
-40°C ~ 85°C
Package / Case
20-SSOP
Core
PIC
Processor Series
PIC16LC
Data Bus Width
8 bit
Maximum Clock Frequency
20 MHz
Data Ram Size
128 B
Data Rom Size
128 B
On-chip Adc
4 bit
Number Of Programmable I/os
13
Number Of Timers
1
Operating Supply Voltage
2.5 V to 6 V
Mounting Style
SMD/SMT
Height
1.75 mm
Length
7.2 mm
Maximum Operating Temperature
+ 85 C
Minimum Operating Temperature
- 40 C
Supply Voltage (max)
6 V
Supply Voltage (min)
4 V
Width
5.3 mm
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Connectivity
-
Lead Free Status / Rohs Status
 Details
COMF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Q Cycle Activity:
Example
DECF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Q Cycle Activity:
Example
1997 Microchip Technology Inc.
Complement f
[ label ] COMF
0
d
(f)
Z
The contents of register 'f' are comple-
mented. If 'd' is 0 the result is stored in
W. If 'd' is 1 the result is stored back in
register 'f'.
1
1
Before Instruction
After Instruction
Decrement f
[ label ] DECF f,d
0
d
(f) - 1
Z
Decrement register 'f'. If 'd' is 0 the
result is stored in the W register. If 'd'
is 1 the result is stored back in register
'f'
1
1
Before Instruction
After Instruction
.
Decode
COMF
Decode
DECF
Q1
Q1
00
00
f
f
[0,1]
[0,1]
(dest)
127
127
(dest)
REG1
REG1
W
CNT
Z
CNT
Z
register
register
1001
0011
CNT, 1
Read
Read
Q2
Q2
'f'
'f'
REG1,0
=
=
=
=
=
=
=
f,d
Process
Process
dfff
dfff
data
data
Q3
Q3
0x13
0x13
0xEC
0x01
0
0x00
1
Write to
Write to
ffff
ffff
dest
dest
Q4
Q4
DECFSZ
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Q Cycle Activity:
Example
If Skip:
Decrement f, Skip if 0
[ label ] DECFSZ f,d
0
d
(f) - 1
None
The contents of register 'f' are decre-
mented. If 'd' is 0 the result is placed in
the W register. If 'd' is 1 the result is
placed back in register 'f'.
If the result is 1, the next instruction, is
executed. If the result is 0, then a NOP is
executed instead making it a 2T
instruction.
1
1(2)
Before Instruction
After Instruction
(2nd Cycle)
HERE
CONTINUE •
Decode
NOP
Q1
Q1
00
f
PC
CNT
if CNT =
PC
if CNT
PC
[0,1]
PIC16C71X
127
(dest);
=
=
=
=
register
1011
Read
NOP
Q2
Q2
DECFSZ
GOTO
'f'
address
CNT - 1
0,
address CONTINUE
0,
address HERE+1
DS30272A-page 75
skip if result = 0
dfff
Process
NOP
data
Q3
Q3
HERE
CNT, 1
LOOP
CY
Write to
ffff
NOP
dest
Q4
Q4

Related parts for PIC16LC715-04I/SS