PIC10F222-I/OT Microchip Technology, PIC10F222-I/OT Datasheet - Page 49

768B Flash, 23B RAM, 4 I/O, 8bit ADC 6 SOT-23 BAG

PIC10F222-I/OT

Manufacturer Part Number
PIC10F222-I/OT
Description
768B Flash, 23B RAM, 4 I/O, 8bit ADC 6 SOT-23 BAG
Manufacturer
Microchip Technology
Series
PIC® 10Fr
Datasheet

Specifications of PIC10F222-I/OT

Processor Series
PIC10F
Core
RISC
Data Bus Width
8 bit
Program Memory Type
Flash
Program Memory Size
512 B
Data Ram Size
23 B
Interface Type
RS-232, USB
Maximum Clock Frequency
8 MHZ
Number Of Programmable I/os
4
Number Of Timers
1
Maximum Operating Temperature
+ 85 C
Mounting Style
SMD/SMT
Package / Case
SOT-23-6
Operating Temperature Range
- 40 C to + 85 C
Processor To Be Evaluated
PIC10F222
Supply Current (max)
100 nA
Core Processor
PIC
Core Size
8-Bit
Speed
8MHz
Connectivity
-
Peripherals
POR, WDT
Number Of I /o
4
Eeprom Size
-
Ram Size
23 x 8
Voltage - Supply (vcc/vdd)
2 V ~ 5.5 V
Data Converters
A/D 2x8b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Lead Free Status / Rohs Status
 Details
DECF
Syntax:
Operands:
Operation:
Status Affected: Z
Description:
DECFSZ
Syntax:
Operands:
Operation:
Status Affected: None
Description:
GOTO
Syntax:
Operands:
Operation:
Status Affected: None
Description:
© 2007 Microchip Technology Inc.
Decrement f
[ label ] DECF f,d
0 ≤ f ≤ 31
d ∈ [0,1]
(f) – 1 → (dest)
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’.
Decrement f, Skip if 0
[ label ] DECFSZ f,d
0 ≤ f ≤ 31
d ∈ [0,1]
(f) – 1 → d;
The contents of register ‘f’ are dec-
remented. 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 ‘0’, the next instruc-
tion, which is already fetched, is
discarded and a NOP is executed
instead making it a two-cycle
instruction.
Unconditional Branch
[ label ]
0 ≤ k ≤ 511
k → PC<8:0>;
STATUS<6:5> → PC<10:9>
GOTO is an unconditional branch.
The 9-bit immediate value is
loaded into PC bits <8:0>. The
upper bits of PC are loaded from
STATUS<6:5>. GOTO is a two-
cycle instruction.
GOTO k
skip if result = 0
INCF
Syntax:
Operands:
Operation:
Status Affected: Z
Description:
INCFSZ
Syntax:
Operands:
Operation:
Status Affected: None
Description:
IORLW
Syntax:
Operands:
Operation:
Status Affected: Z
Description:
PIC10F220/222
Increment f
[ label ]
0 ≤ f ≤ 31
d ∈ [0,1]
(f) + 1 → (dest)
The contents of register ‘f’ are
incremented. If ‘d’ is ‘0’, the result
is placed in the W register. If ‘d’ is
‘1’, the result is placed back in
register ‘f’.
Increment f, Skip if 0
[ label ]
0 ≤ f ≤ 31
d ∈ [0,1]
(f) + 1 → (dest), skip if result = 0
The contents of register ‘f’ are
incremented. 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 ‘0’, then the next
instruction, which is already
fetched, is discarded and a NOP is
executed instead making it a two-
cycle instruction.
Inclusive OR literal with W
[ label ]
0 ≤ k ≤ 255
(W) .OR. (k) → (W)
The contents of the W register are
OR’ed with the eight-bit literal ‘k’.
The result is placed in the W
register.
INCF f,d
INCFSZ f,d
IORLW k
DS41270E-page 47

Related parts for PIC10F222-I/OT