PIC16LF627A-I/SO Microchip Technology, PIC16LF627A-I/SO Datasheet - Page 128

IC MCU FLASH 1KX14 EEPROM 18SOIC

PIC16LF627A-I/SO

Manufacturer Part Number
PIC16LF627A-I/SO
Description
IC MCU FLASH 1KX14 EEPROM 18SOIC
Manufacturer
Microchip Technology
Series
PIC® 16Fr

Specifications of PIC16LF627A-I/SO

Core Size
8-Bit
Program Memory Size
1.75KB (1K x 14)
Core Processor
PIC
Speed
20MHz
Connectivity
UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
16
Program Memory Type
FLASH
Eeprom Size
128 x 8
Ram Size
224 x 8
Voltage - Supply (vcc/vdd)
2 V ~ 5.5 V
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
18-SOIC (7.5mm Width)
Controller Family/series
PIC16LF
No. Of I/o's
16
Eeprom Memory Size
128Byte
Ram Memory Size
224Byte
Cpu Speed
20MHz
No. Of Timers
3
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Data Converters
-
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Lead free / RoHS Compliant
PIC16F627A/628A/648A
DS40044G-page 128
RRF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
SLEEP
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example:
Rotate Right f through Carry
[ label ]
0 ≤ f ≤ 127
d ∈ [0,1]
See description below
C
00
The contents of register ‘f’ are
rotated one bit to the right
through the Carry Flag. If ‘d’ is
‘0’, the result is placed in the W
register. If ‘d’ is ‘1’, the result is
placed back in register ‘f’.
1
1
RRF
Before Instruction
After Instruction
[ label ] SLEEP
None
00h → WDT,
0 → WDT prescaler,
1 → TO,
0 → PD
TO, PD
00
The power-down Status bit, PD
is cleared. Time out Status bit,
TO is set. Watchdog Timer and
its prescaler are cleared.
The processor is put into Sleep
mode with the oscillator
stopped. See Section 14.8
“Power-Down Mode (Sleep)”
for more details.
1
1
SLEEP
REG1 = 1110 0110
C
REG1 = 1110 0110
W
C
C
1100
REG1, 0
0000
RRF f,d
= 0
= 0111 0011
= 0
REGISTER F
dfff
0110
0011
ffff
SUBLW
Syntax:
Operands:
Operation:
Status
Affected:
Encoding:
Description:
Words:
Cycles:
Example 1:
Example 2:
Example 3:
Subtract W from Literal
[ label ]
0 ≤ k ≤ 255
k - (W) → (W)
C, DC, Z
11
The W register is subtracted (2’s
complement method) from the eight-
bit literal ‘k’. The result is placed in
the W register.
1
1
SUBLW
Before Instruction
After Instruction
Before Instruction
After Instruction
Before Instruction
After Instruction
© 2009 Microchip Technology Inc.
W = 1
C = ?
W = 1
C = 1; result is positive
W = 3
C = ?
W = 0xFF
C = 0; result is negative
W = 2
C = ?
W = 0
C = 1; result is zero
SUBLW k
110x
0x02
kkkk
kkkk

Related parts for PIC16LF627A-I/SO