PIC16C642-04I/SP Microchip Technology, PIC16C642-04I/SP Datasheet - Page 77
PIC16C642-04I/SP
Manufacturer Part Number
PIC16C642-04I/SP
Description
IC MCU OTP 4KX14 COMP 28DIP
Manufacturer
Microchip Technology
Series
PIC® 16Cr
Specifications of PIC16C642-04I/SP
Core Processor
PIC
Core Size
8-Bit
Speed
4MHz
Peripherals
Brown-out Detect/Reset, LED, POR, WDT
Number Of I /o
22
Program Memory Size
7KB (4K x 14)
Program Memory Type
OTP
Ram Size
176 x 8
Voltage - Supply (vcc/vdd)
4 V ~ 6 V
Oscillator Type
External
Operating Temperature
-40°C ~ 85°C
Package / Case
28-DIP (0.300", 7.62mm)
Processor Series
PIC16C
Core
PIC
Data Bus Width
8 bit
Data Ram Size
176 B
Interface Type
RS- 232
Maximum Clock Frequency
4 MHz
Number Of Programmable I/os
33
Number Of Timers
8
Operating Supply Voltage
3 V to 6 V
Maximum Operating Temperature
+ 85 C
Mounting Style
Through Hole
3rd Party Development Tools
52715-96, 52716-328, 52717-734
Development Tools By Supplier
ICE2000, DM163022
Minimum Operating Temperature
- 40 C
On-chip Adc
10 bit
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Data Converters
-
Connectivity
-
Lead Free Status / Rohs Status
Details
- Current page: 77 of 137
- Download datasheet (633Kb)
BCF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
BSF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
1996 Microchip Technology Inc.
Bit Clear f
[ label ] BCF
0
0
0
None
Bit 'b' in register 'f' is cleared
1
1
Before Instruction
After Instruction
Bit Set f
[ label ] BSF
0
0
1
None
Bit 'b' in register 'f' is set.
1
1
Before Instruction
After Instruction
BCF
BSF
01
01
f
b
f
b
(f<b>)
(f<b>)
127
127
7
7
FLAG_REG = 0xC7
FLAG_REG = 0x47
FLAG_REG = 0x0A
FLAG_REG = 0x8A
00bb
01bb
FLAG_REG,
FLAG_REG, 7
f,b
f,b
bfff
bfff
.
7
ffff
ffff
PIC16C64X & PIC16C66X
BTFSC
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Example
Bit Test, Skip if Clear
[ label ] BTFSC f,b
0
0
skip if (f<b>) = 0
None
If bit 'b' in register 'f' is '0' then the next
instruction is skipped.
If bit 'b' is '0' then the next instruction
fetched during the current instruction
execution is discarded, and a NOP is
executed instead, making this a 2 cycle
instruction
1
1(2)
Before Instruction
After Instruction
HERE
FALSE
TRUE
01
f
b
127
7
PC =
if FLAG<1> = 0,
PC =
if FLAG<1>=1,
PC =
.
10bb
BTFSC
GOTO
•
•
•
DS30559A-page 77
address HERE
address TRUE
address FALSE
FLAG,1
PROCESS_CODE
bfff
ffff
Related parts for PIC16C642-04I/SP
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
IC MCU OTP 4KX14 COMP 28SOIC
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
IC MCU OTP 4KX14 28SOIC
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
IC MCU OTP 4KX14 COMP 28DIP
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
IC MCU OTP 4KX14 COMP 28SOIC
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
IC MCU OTP 4KX14 COMP 28DIP
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
IC MCU OTP 4KX14 COMP 28SOIC
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
IC MCU OTP 4KX14 COMP 28SOIC
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
IC MCU OTP 4KX14 COMP 28DIP
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
IC MCU OTP 4KX14 COMP 28SOIC
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
IC MCU OTP 4KX14 COMP 28DIP
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
IC MCU OTP 4KX14 COMP 28SOIC
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
IC MCU OTP 4KX14 COMP 28DIP
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
IC MCU OTP 4KX14 COMP 28SOIC
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
IC MCU OTP 4KX14 COMP 28DIP
Manufacturer:
Microchip Technology
Datasheet:
Part Number:
Description:
IC MCU OTP 4KX14 COMP 28DIP
Manufacturer:
Microchip Technology
Datasheet: