PIC16F818-I/SSTSL Microchip Technology, PIC16F818-I/SSTSL Datasheet - Page 149

IC PIC MCU FLASH 1KX14 20SSOP

PIC16F818-I/SSTSL

Manufacturer Part Number
PIC16F818-I/SSTSL
Description
IC PIC MCU FLASH 1KX14 20SSOP
Manufacturer
Microchip Technology
Series
PIC® 16Fr

Specifications of PIC16F818-I/SSTSL

Core Processor
PIC
Core Size
8-Bit
Speed
20MHz
Connectivity
I²C, SPI
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
16
Program Memory Size
1.75KB (1K x 14)
Program Memory Type
FLASH
Eeprom Size
128 x 8
Ram Size
128 x 8
Voltage - Supply (vcc/vdd)
4 V ~ 5.5 V
Data Converters
A/D 5x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
20-SSOP
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
9.5
1997 Microchip Technology Inc.
PORTD and the TRISD Register
PORTD is an 8-bit port with Schmitt Trigger input buffers. Each pin is individually configurable as
an input or output.
Example 9-4: Initializing PORTD
Figure 9-7: Typical PORTD Block Diagram (in I/O Port Mode)
Data Bus
WR PORT
WR TRIS
Note: I/O pins have protection diodes to V
RD PORT
CLRF
CLRF
BSF
MOVLW
MOVWF
STATUS
PORTD
STATUS, RP0
0xCF
TRISD
TRIS Latch
Data Latch
D
D
CK
CK
; Bank0
; Initialize PORTD by clearing output
;
; Select Bank1
; Value used to initialize data direction
; PORTD<3:0> = inputs, PORTD<5:4> = outputs
;
Q
Q
Q
Q
RD TRIS
data latches
PORTD<7:6> = inputs
DD
and V
Section 9. I/O Ports
SS
.
Q
EN
D
DS31009A-page 9-9
Schmitt
Trigger
input
buffer
I/O pin
9

Related parts for PIC16F818-I/SSTSL