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

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
PICmicro MID-RANGE MCU FAMILY
6.4
DS31006A-page 6-14
Initialization
Example 6-3
shows some code to do initialization (clearing) of General Purpose RAM.
Example 6-3: Bank Switching
CLRF
:
BSF
:
BCF
:
MOVLW
XORWF
:
BCF
:
BCF
shows how the bank switching occurs for Direct addressing, while
STATUS
STATUS, RP0
STATUS, RP0
0x60
STATUS, F
STATUS, RP0
STATUS, RP1
; Clear STATUS register (Bank0)
;
; Bank1
;
; Bank0
;
; Set RP0 and RP1 in STATUS register, other
;
;
; Bank2
;
; Bank0
bits unchanged (Bank3)
1997 Microchip Technology Inc.
Example 6-4

Related parts for PIC16F818-I/SSTSL