PIC16F1507-E/ML Microchip Technology, PIC16F1507-E/ML Datasheet - Page 218

3.5KB Flash, 128B RAM, 18 I/O, CLC, CWG, DDS, 10-bit ADC 20 QFN 4x4mm TUBE

PIC16F1507-E/ML

Manufacturer Part Number
PIC16F1507-E/ML
Description
3.5KB Flash, 128B RAM, 18 I/O, CLC, CWG, DDS, 10-bit ADC 20 QFN 4x4mm TUBE
Manufacturer
Microchip Technology
Series
PIC® 16Fr

Specifications of PIC16F1507-E/ML

Processor Series
PIC16
Core
PIC16F
Data Bus Width
8 bit
Program Memory Type
Flash
Program Memory Size
3.5 KB
Data Ram Size
128 B
Interface Type
ICSP
Maximum Clock Frequency
20 MHz
Number Of Programmable I/os
18
Number Of Timers
3
Operating Supply Voltage
2.3 V to 5.5 V
Maximum Operating Temperature
+ 125 C
Mounting Style
SMD/SMT
Package / Case
QFN-20
Minimum Operating Temperature
- 40 C
Operating Temperature Range
- 40 C to + 125 C
Supply Current (max)
30 uA
Core Processor
PIC
Core Size
8-Bit
Speed
20MHz
Connectivity
-
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
17
Eeprom Size
-
Ram Size
128 x 8
Voltage - Supply (vcc/vdd)
2.3 V ~ 5.5 V
Data Converters
A/D 12x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 125°C
Lead Free Status / Rohs Status
 Details
RETFIE
Syntax:
Operands:
Operation:
Status Affected:
Description:
Words:
Cycles:
Example:
RETLW
Syntax:
Operands:
Operation:
Status Affected:
Description:
Words:
Cycles:
Example:
TABLE
 2011 Microchip Technology Inc.
Return from Interrupt
[ label ]
None
TOS  PC,
1  GIE
None
Return from Interrupt. Stack is POPed
and Top-of-Stack (TOS) is loaded in
the PC. Interrupts are enabled by
setting Global
Interrupt Enable bit, GIE
(INTCON<7>). This is a two-cycle
instruction.
1
2
After Interrupt
Return with literal in W
[ label ]
0  k  255
k  (W);
TOS  PC
None
The W register is loaded with the eight
bit literal ‘k’. The program counter is
loaded from the top of the stack (the
return address). This is a two-cycle
instruction.
1
2
Before Instruction
After Instruction
RETFIE
CALL TABLE;W contains table
ADDWF PC ;W = offset
RETLW k1 ;Begin table
RETLW k2 ;
RETLW kn ; End of table
;offset value
;W now has table value
RETFIE
RETLW k
PC =
GIE =
W
W
=
=
TOS
1
0x07
value of k8
Preliminary
RETURN
Syntax:
Operands:
Operation:
Status Affected:
Description:
RLF
Syntax:
Operands:
Operation:
Status Affected:
Description:
Words:
Cycles:
Example:
PIC16(L)F1507
Return from Subroutine
[ label ]
None
TOS  PC
None
Return from subroutine. The stack is
POPed and the top of the stack (TOS)
is loaded into the program counter.
This is a two-cycle instruction.
Rotate Left f through Carry
[ label ]
0  f  127
d  [ 0 , 1 ]
See description below
C
The contents of register ‘f’ are rotated
one bit to the left through the Carry
flag. If ‘d’ is ‘ 0 ’, the result is placed in
the W register. If ‘d’ is ‘ 1 ’, the result is
stored back in register ‘f’.
1
1
Before Instruction
After Instruction
RLF
RETURN
C
REG1
C
REG1
W
C
RLF
REG1,0
DS41586A-page 218
Register f
f,d
=
=
=
=
=
1110 0110
0
1110 0110
1100 1100
1

Related parts for PIC16F1507-E/ML