PIC16C73A-04/SP Microchip Technology Inc., PIC16C73A-04/SP Datasheet - Page 152

no-image

PIC16C73A-04/SP

Manufacturer Part Number
PIC16C73A-04/SP
Description
28 PIN, 7 KB OTP, 192 RAM, 22 I/O
Manufacturer
Microchip Technology Inc.
Datasheet

Specifications of PIC16C73A-04/SP

A/d Inputs
5-Channel, 8-Bit
Cpu Speed
5 MIPS
Eeprom Memory
0 Bytes
Input Output
22
Interface
I2C/SPI/USART
Memory Type
OTP
Number Of Bits
8
Package Type
28-pin SPDIP
Programmable Memory
7K Bytes
Ram Size
192 Bytes
Speed
4 MHz
Timers
2-8-bit, 1-16-bit
Voltage, Range
2.5-5.5 V
Lead Free Status / Rohs Status
RoHS Compliant part Electrostatic Device
PIC16C7X
CLRF
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Q Cycle Activity:
Example
DS30390E-page 152
Clear f
[ label ] CLRF
0
00h
1
Z
The contents of register 'f' are cleared
and the Z bit is set.
1
1
Before Instruction
After Instruction
Decode
CLRF
Q1
00
f
Z
127
(f)
FLAG_REG
FLAG_REG
Z
register
0001
Read
Q2
'f'
FLAG_REG
f
Process
1fff
data
Q3
=
=
=
0x5A
0x00
1
register 'f'
ffff
Write
Q4
CLRW
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Q Cycle Activity:
Example
CLRWDT
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Q Cycle Activity:
Example
Clear W
[ label ] CLRW
None
00h
1
Z
W register is cleared. Zero bit (Z) is
set.
1
1
Before Instruction
After Instruction
Clear Watchdog Timer
[ label ] CLRWDT
None
00h
0
1
1
TO, PD
CLRWDT instruction resets the Watch-
dog Timer. It also resets the prescaler
of the WDT. Status bits TO and PD are
set.
1
1
Before Instruction
After Instruction
CLRW
CLRWDT
Decode
Decode
Q1
Q1
00
00
TO
Z
WDT prescaler,
PD
1997 Microchip Technology Inc.
WDT
(W)
W
W
Z
WDT counter =
WDT counter =
WDT prescaler=
TO
PD
Operation
Operation
0001
0000
Q2
No-
Q2
No-
=
=
=
0x5A
0x00
1
0xxx
Process
0110
Process
data
data
Q3
Q3
=
=
?
0x00
0
1
1
Write to
Counter
xxxx
0100
Clear
WDT
Q4
Q4
W

Related parts for PIC16C73A-04/SP