PIC16F684-I/SL Microchip Technology, PIC16F684-I/SL Datasheet - Page 42

IC PIC MCU FLASH 2KX14 14SOIC

PIC16F684-I/SL

Manufacturer Part Number
PIC16F684-I/SL
Description
IC PIC MCU FLASH 2KX14 14SOIC
Manufacturer
Microchip Technology
Series
PIC® 16Fr

Specifications of PIC16F684-I/SL

Program Memory Type
FLASH
Program Memory Size
3.5KB (2K x 14)
Package / Case
14-SOIC (3.9mm Width), 14-SOL
Core Processor
PIC
Core Size
8-Bit
Speed
20MHz
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
12
Eeprom Size
256 x 8
Ram Size
128 x 8
Voltage - Supply (vcc/vdd)
2 V ~ 5.5 V
Data Converters
A/D 8x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Processor Series
PIC16F
Core
PIC
Data Bus Width
8 bit
Data Ram Size
128 B
Maximum Clock Frequency
20 MHz
Number Of Programmable I/os
12
Number Of Timers
3
Operating Supply Voltage
2 V to 5.5 V
Maximum Operating Temperature
+ 85 C
Mounting Style
SMD/SMT
3rd Party Development Tools
52715-96, 52716-328, 52717-734
Development Tools By Supplier
PG164130, DV164035, DV244005, DV164005, PG164120, ICE2000, DM163014, DM164120-4
Minimum Operating Temperature
- 40 C
On-chip Adc
8-ch x 10-bit
Package
14SOIC N
Device Core
PIC
Family Name
PIC16
Maximum Speed
20 MHz
Data Rom Size
256 B
Height
1.25 mm
Length
8.65 mm
Supply Voltage (max)
5.5 V
Supply Voltage (min)
2 V
Width
3.9 mm
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Connectivity
-
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Other names
PIC16F684-I/SLG

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16F684-I/SL
Manufacturer:
MXIC
Quantity:
1 500
Part Number:
PIC16F684-I/SL
Manufacturer:
Microchip Technology
Quantity:
32 570
Part Number:
PIC16F684-I/SL
Manufacturer:
MICROCHIP
Quantity:
1 000
Part Number:
PIC16F684-I/SL
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC16F684-I/SL
0
PIC16F684
4.3
PORTC is a general purpose I/O port consisting of 6
bidirectional pins. The pins can be configured for either
digital I/O or analog input to A/D converter or compara-
tor. For specific information about individual functions
such as the Enhanced CCP or the A/D, refer to the
appropriate section in this data sheet.
EXAMPLE 4-3:
4.3.1
The RC0 is configurable to function as one of the
following:
• a general purpose I/O
• an analog input for the A/D Converter
• an analog input to the comparator
4.3.2
The RC1 is configurable to function as one of the
following:
• a general purpose I/O
• an analog input for the A/D Converter
• an analog input to the comparator
DS41202C-page 40
BCF
CLRF
MOVLW
MOVWF
BSF
CLRF
MOVLW
MOVWF
BCF
Note:
PORTC
STATUS,RP0
PORTC
07h
CMCON0
STATUS,RP0
ANSEL
0Ch
TRISC
STATUS,RP0
The ANSEL (91h) and CMCON0 (19h)
registers must be initialized to configure
an analog channel as a digital input. Pins
configured as analog inputs will read ‘0’.
RC0/AN4/C2IN+
RC1/AN5/C2IN-
INITIALIZING PORTC
;Bank 0
;Init PORTC
;Set RC<4,1:0> to
;digital I/O
;Bank 1
;digital I/O
;Set RC<3:2> as inputs
;and set RC<5:4,1:0>
;as outputs
;Bank 0
Preliminary
FIGURE 4-7:
PORTC
PORTC
TRISC
TRISC
Data Bus
WR
WR
RD
RD
Note 1:
D
D
To Comparators
To A/D Converter
CK
CK
Analog Input mode comes from ANSEL or
Comparator mode.
Q
Q
Q
Q
BLOCK DIAGRAM OF RC0
AND RC1
 2004 Microchip Technology Inc.
Analog Input
Mode
(1)
V
V
DD
SS
I/O PIN

Related parts for PIC16F684-I/SL