PIC10F222-E/MC Microchip Technology, PIC10F222-E/MC Datasheet - Page 51
![no-image](/images/manufacturer_photos/0/4/439/microchip_technology_sml.jpg)
PIC10F222-E/MC
Manufacturer Part Number
PIC10F222-E/MC
Description
768B Flash, 23B RAM, 4 I/O, 8bit ADC 8 DFN 2X3mm TUBE
Manufacturer
Microchip Technology
Series
PIC® 10Fr
Datasheets
1.PIC10F220-IMC.pdf
(6 pages)
2.PIC10F220-IMC.pdf
(86 pages)
3.PIC10F220-IMC.pdf
(6 pages)
4.PIC10F220-IMC.pdf
(18 pages)
Specifications of PIC10F222-E/MC
Core Processor
PIC
Core Size
8-Bit
Speed
8MHz
Peripherals
POR, WDT
Number Of I /o
3
Program Memory Size
768B (512 x 12)
Program Memory Type
FLASH
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 ~ 125°C
Package / Case
8-DFN
Processor Series
PIC10F
Core
PIC
Data Bus Width
8 bit
Data Ram Size
23 B
Interface Type
USB
Maximum Clock Frequency
8 MHz
Number Of Programmable I/os
4
Number Of Timers
1
Maximum Operating Temperature
+ 125 C
Mounting Style
SMD/SMT
3rd Party Development Tools
52715-96, 52716-328, 52717-734
Development Tools By Supplier
PG164130, DV164035, DV244005, DV164005, PG164120
Minimum Operating Temperature
- 40 C
On-chip Adc
8 bit, 2 Channel
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
AC164334 - MODULE SOCKET FOR 8L 2X3MM DFNAC163020-2 - ADAPTER PROGRAM PIC10F 2X3 DFNAC162070 - HEADER INTRFC MPLAB ICD2 8/14P
Eeprom Size
-
Connectivity
-
Lead Free Status / Rohs Status
Details
RETLW
Syntax:
Operands:
Operation:
Status Affected: None
Description:
RLF
Syntax:
Operands:
Operation:
Status Affected: C
Description:
RRF
Syntax:
Operands:
Operation:
Status Affected: C
Description:
© 2007 Microchip Technology Inc.
Return with Literal in W
[ label ]
0 ≤ k ≤ 255
k → (W);
TOS → PC
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.
Rotate Left f through Carry
[ label ]
0 ≤ f ≤ 31
d ∈ [0,1]
See description below
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’.
Rotate Right f through Carry
[ label ]
0 ≤ f ≤ 31
d ∈ [0,1]
See description below
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’.
C
C
RETLW k
RRF f,d
register ‘f’
register ‘f’
RLF
f,d
SLEEP
Syntax:
Operands:
Operation:
Status Affected: TO, PD, RBWUF
Description:
SUBWF
Syntax:
Operands:
Operation:
Status Affected: C, DC, Z
Description:
SWAPF
Syntax:
Operands:
Operation:
Status Affected: None
Description:
PIC10F220/222
Enter SLEEP Mode
[label]
None
00h → WDT;
0 → WDT prescaler;
1 → TO;
0 → PD
Time-out Status bit (TO) is set. The
Power-down Status bit (PD) is
cleared.
RBWUF is unaffected.
The WDT and its prescaler are
cleared.
The processor is put into Sleep
mode with the oscillator stopped.
See section on Sleep for more
details.
Subtract W from f
[label]
0 ≤ f ≤ 31
d ∈ [0,1]
(f) – (W) → (dest)
Subtract (2’s complement method)
the W register from 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’.
Swap Nibbles in f
[label]
0 ≤ f ≤ 31
d ∈ [0,1]
(f<3:0>) → (dest<7:4>);
(f<7:4>) → (dest<3:0>)
The upper and lower nibbles of
register ‘f’ are exchanged. If ‘d’ is
‘0’, the result is placed in W
register. If ‘d’ is ‘1’, the result is
placed in register ‘f’.
SLEEP
SUBWF f,d
SWAPF f,d
DS41270E-page 49