PIC12F683-I/MD Microchip Technology Inc., PIC12F683-I/MD Datasheet - Page 36

no-image

PIC12F683-I/MD

Manufacturer Part Number
PIC12F683-I/MD
Description
8 PIN, 3.5KB FLASH, 128 RAM, 6 I/O
Manufacturer
Microchip Technology Inc.
Datasheet

Specifications of PIC12F683-I/MD

A/d Inputs
4-Channel, 10-Bit
Comparators
1
Cpu Speed
5 MIPS
Eeprom Memory
256 Bytes
Frequency
20 MHz
Input Output
6
Memory Type
Flash
Number Of Bits
8
Package Type
8-Pin PDIP
Programmable Memory
3.5K Bytes
Ram Size
128 Bytes
Serial Interface
None
Speed
20 MHz
Timers
2-8-bit, 1-16-bit
Voltage, Range
2-5.5 V
Lead Free Status / Rohs Status
RoHS Compliant part Electrostatic Device

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC12F683-I/MD
Manufacturer:
Cirrus
Quantity:
234
PIC12F683
EXAMPLE 4-2:
FIGURE 4-1:
DS41211B-page 34
BCF
BSF
MOVLW
MOVWF
BSF
BCF
BCF
CALL
BSF
BSF
BSF
MOVLW
MOVWF
SLEEP
STATUS,RP0
GPIO,0
H’7’
CMCON0
STATUS,RP0
ANSEL,0
TRISIO,0
CapDelay
PCON,ULPWUE
IOC,0
TRISIO,0
B’10001000’
INTCON
Note 1:
Data Bus
TRISIO
TRISIO
GPIO
GPIO
WPU
WPU
Interrupt-on-
IOC
IOC
WR
WR
WR
WR
RD
RD
RD
RD
Change
ULTRA LOW-POWER
WAKE-UP INITIALIZATION
BLOCK DIAGRAM OF GP0
Comparator mode and ANSEL determines Analog Input mode.
D
D
D
D
To Comparator
To A/D Converter
CK
CK
CK
CK
;Bank 0
;Set GP0 data latch
;Turn off
; comparator
;Bank 1
;GP0 to digital I/O
;Output high to
; charge capacitor
;Enable ULP Wake-up
;Select GP0 IOC
;GP0 to input
;Enable interrupt
; and clear flag
;Wait for IOC
Q
Q
Q
Q
Q
Q
Q
Q
Preliminary
Input Mode
RD GPIO
Analog
Q
Q
Input Mode
(1)
EN
EN
Analog
D
D
4.2.4
Each GPIO pin is multiplexed with other functions. The
pins and their combined functions are briefly described
here. For specific information about individual functions
such as the comparator or the A/D, refer to the
appropriate section in this data sheet.
4.2.4.1
Figure 4-1 shows the diagram for this pin. The GP0 pin
is configurable to function as one of the following:
• a general purpose I/O
• an analog input for the A/D
• an analog input to the comparator
• an analog input to the Ultra Low-Power Wake-up
• In-Circuit Serial Programming data
0
GPPU
(1)
1
Q3
+
-
PIN DESCRIPTIONS AND DIAGRAMS
ULPWUE
GP0/AN0/CIN+/ICSPDAT/ULPWU
V
V
Weak
DD
SS
I
ULP
V
 2004 Microchip Technology Inc.
T
V
V
DD
SS
I/O pin

Related parts for PIC12F683-I/MD