PIC12CE519-04I/SM Microchip Technology, PIC12CE519-04I/SM Datasheet - Page 153

no-image

PIC12CE519-04I/SM

Manufacturer Part Number
PIC12CE519-04I/SM
Description
IC MCU OTP 1KX12 W/EE 8-SOIJ
Manufacturer
Microchip Technology
Series
PIC® 12Cr

Specifications of PIC12CE519-04I/SM

Core Size
8-Bit
Program Memory Size
1.5KB (1K x 12)
Core Processor
PIC
Speed
4MHz
Peripherals
POR, WDT
Number Of I /o
5
Program Memory Type
OTP
Eeprom Size
16 x 8
Ram Size
41 x 8
Voltage - Supply (vcc/vdd)
3 V ~ 5.5 V
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
8-SOIC (5.3mm Width), 8-SOP, 8-SOEIAJ
Controller Family/series
PIC12
No. Of I/o's
6
Eeprom Memory Size
16Byte
Ram Memory Size
41Byte
Cpu Speed
4MHz
No. Of Timers
1
Processor Series
PIC12C
Core
PIC
Data Bus Width
8 bit
Data Ram Size
41 B
Maximum Clock Frequency
4 MHz
Number Of Programmable I/os
5
Number Of Timers
8
Operating Supply Voltage
3 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
ICE2000
Minimum Operating Temperature
- 40 C
On-chip Adc
8 bit
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
XLT08SO-1 - SOCKET TRANSITION 8SOIC 150/208AC164312 - MODULE SKT FOR PM3 16SOICISPICR1 - ADAPTER IN-CIRCUIT PROGRAMMING309-1048 - ADAPTER 8-SOIC TO 8-DIP309-1047 - ADAPTER 8-SOIC TO 8-DIPAC124001 - MODULE SKT PROMATEII 8DIP/SOIC
Data Converters
-
Connectivity
-
Lead Free Status / Rohs Status
 Details

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC12CE519-04I/SM
Manufacturer:
Microchip Technology
Quantity:
135
Part Number:
PIC12CE519-04I/SM
Manufacturer:
MICROCHIP
Quantity:
12 000
9.9
1997 Microchip Technology Inc.
GPIO and the TRISGP Register
GPIO is an 8-bit I/O register. Only the low order six bits are implemented (GP5:GP0). Bits 7 and
6 are unimplemented and read as ‘0’s. Any GPIO pin (except GP3) can be programmed
individually as input or output. The GP3 pin is an input only pin.
The TRISGP register controls the data direction for GPIO pins. A ‘1’ in a TRISGP register bit
puts the corresponding output driver in a hi-impedance mode. A ‘0’ puts the contents of the
output data latch on the selected pins, enabling the output buffer. The exceptions are GP3 which
is input only and its TRIS bit will always read as '1'. Upon reset, the TRISGP register is all ‘1’s,
making all pins inputs.
A read of the GPIO port, reads the pins not the output data latches. Any input must be present
until read by an input instruction (e.g., MOVF GPIO,W). The outputs are latched and remain
unchanged until the output latch is rewritten.
Example 9-8: Initializing GPIO
Figure 9-11: Block Diagram of GP5:GP0 Pins
The configuration word can set several I/O’s to alternate functions. When acting as alternate
functions the pins will read as ‘0’ during port read. The GP0, GP1, and GP3 pins can be config-
ured with weak pull-ups and also with interrupt on change. The interrupt on change and weak
pull-up functions are not pin selectable. Interrupt on change is enabled by setting INTCON<3>.
If the device configuration bits select one of the external oscillator modes, the GP4 and GP5 pin’s
GPIO functions are overridden and these pins are used for the oscillator.
CLRF
CLRF
BSF
MOVLW
MOVWF
Note 1: I/O pins have protection diodes to V
GP3 is input only with no data latch and no output drivers.
STATUS
GPIO
STATUS, RP0
0xCF
TRISGP
Data
Bus
WR
Port
W
Reg
TRIS ‘f’
; Bank0
; Initialize GPIO by clearing output
;
; Select Bank1
; Value used to initialize data direction
; GP<3:0> = inputs GP<5:4> = outputs
;
D
D
CK
CK
Reset
TRIS
Latch
Data
Latch
data latches
TRISGP<7:6> always read as '0'
Q
Q
Q
Q
RD Port
Section 9. I/O Ports
DD
and V
SS
.
V
V
P
N
SS
DD
I/O
pin
(1)
DS31009A-page 9-13
9

Related parts for PIC12CE519-04I/SM