PIC16F818-I/SO Microchip Technology, PIC16F818-I/SO Datasheet - Page 136
![IC MCU FLASH 1KX14 18-SOIC](/photos/6/76/67656/150-18-soic_sml.jpg)
PIC16F818-I/SO
Manufacturer Part Number
PIC16F818-I/SO
Description
IC MCU FLASH 1KX14 18-SOIC
Manufacturer
Microchip Technology
Series
PIC® 16Fr
Datasheets
1.PIC16F616T-ISL.pdf
(8 pages)
2.PIC16F688T-ISL.pdf
(688 pages)
3.PIC16F818-ISO.pdf
(176 pages)
4.PIC16F818-ISO.pdf
(6 pages)
5.PIC16F818-ISO.pdf
(8 pages)
6.PIC16F818-ISO.pdf
(8 pages)
Specifications of PIC16F818-I/SO
Program Memory Type
FLASH
Program Memory Size
1.75KB (1K x 14)
Package / Case
18-SOIC (7.5mm Width)
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
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
Processor Series
PIC16F
Core
PIC
Data Bus Width
8 bit
Data Ram Size
128 B
Interface Type
I2C/SPI/SSP
Maximum Clock Frequency
20 MHz
Number Of Programmable I/os
16
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
Minimum Operating Temperature
- 40 C
On-chip Adc
5-ch x 10-bit
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
AC164010 - MODULE SKT PROMATEII DIP/SOIC
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
PIC16F818-I/SO
Manufacturer:
MICROCHIP
Quantity:
3 290
Part Number:
PIC16F818-I/SO
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
- PIC16F616T-ISL PDF datasheet
- PIC16F688T-ISL PDF datasheet #2
- PIC16F818-ISO PDF datasheet #3
- PIC16F818-ISO PDF datasheet #4
- PIC16F818-ISO PDF datasheet #5
- PIC16F818-ISO PDF datasheet #6
- Current page: 136 of 688
- Download datasheet (3Mb)
PICmicro MID-RANGE MCU FAMILY
8.6
DS31008A-page 8-14
Initialization
Example 8-4
is the value to write into the interrupt enable register.
Example 8-5
before they are used. For debugging ease, it may help if macros are placed in other files that are
included at assembly time. This allows the source to be viewed without all the clutter of the
required macros. These files must be included before the macro is used, but it simplifies debug-
ging, if all include files are done at the top of the source file.
Example 8-7
saving and restoring of registers before the execution of the interrupt code.
Example 8-4: Initialization and Enabling of Interrupts
Example 8-5: Register Saving / Restoring as Macros
PIE1_MASK1
PUSH_MACRO
;
POP_MACRO
MOVWF
SWAPF
MOVWF
ENDM
SWAPF
MOVWF
SWAPF
SWAPF
ENDM
:
:
CLRF
CLRF
CLRF
BSF
MOVLW
MOVWF
BCF
BSF
shows the initialization and enabling of device interrupts, where PIE1_MASK1 value
shows a typical Interrupt Service Routine structure. This ISR uses macros for the
shows how to create macro definitions for functions. Macros must be defined
EQU B‘01101010’
STATUS
INTCON
PIR1
STATUS, RP0
PIE1_MASK1
PIE1
STATUS, RP0
INTCON, GIE
MACRO
W_TEMP
STATUS,W
STATUS_TEMP
MACRO
STATUS_TEMP,W
STATUS
W_TEMP,F
W_TEMP,W
; Bank0
; Disable interrupts and clear some flags
; Clear all flag bits
; Bank1
; This is the initial masking for PIE1
;
; Bank0
; Enable Interrupts
; This Macro Saves register contents
; Copy W to a Temporary Register
;
; Swap STATUS nibbles and place
;
; Save STATUS to a Temporary register
;
; End this Macro
; This Macro Restores register contents
; Swap original STATUS register value
;
; Restore STATUS register from
;
; Swap W_Temp nibbles and return
;
; Swap W_Temp to W to restore original
;
; End this Macro
; This is the Interrupt Enable
;
regardless of current bank
into W register
in Bank0
into W (restores original bank)
W register
value to W_Temp
W value without affecting STATUS
Register mask value
Example 8-6
1997 Microchip Technology Inc.
shows this structure.
Related parts for PIC16F818-I/SO
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![PIC16F818-I/P](/photos/6/76/67657/18-dip_300mil__tmb.jpg)
Part Number:
Description:
IC MCU FLASH 1KX14 18-DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F818-I/SS](/photos/6/58/65895/150-20-ssop_tmb.jpg)
Part Number:
Description:
IC MCU FLASH 1KX14 20-SSOP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F818-E/SO](/photos/6/76/67656/150-18-soic_tmb.jpg)
Part Number:
Description:
IC,MICROCONTROLLER,8-BIT,PIC CPU,CMOS,SOP,18PIN,PLASTIC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F818-I/ML](/photos/6/81/68120/150-28-qfn_tmb.jpg)
Part Number:
Description:
IC MCU FLASH 1KX14 EEPROM 28QFN
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F818-E/SS](/photos/6/58/65895/150-20-ssop_tmb.jpg)
Part Number:
Description:
IC PIC MCU FLASH 1KX14 20SSOP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F818-I/SSTSL](/photos/6/58/65895/150-20-ssop_tmb.jpg)
Part Number:
Description:
IC PIC MCU FLASH 1KX14 20SSOP
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F818-E/ML](/photos/6/81/68120/150-28-qfn_tmb.jpg)
Part Number:
Description:
IC PIC MCU FLASH 1KX14 20QFN
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F818-I/MLTSL](/photos/6/81/68120/150-28-qfn_tmb.jpg)
Part Number:
Description:
IC PIC MCU FLASH 1KX14 28QFN
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F818-E/P](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
IC,MICROCONTROLLER,8-BIT,PIC CPU,CMOS,DIP,18PIN,PLASTIC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F818-I/PTSL](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
IC,MICROCONTROLLER,8-BIT,PIC CPU,CMOS,DIP,18PIN,PLASTIC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F818-I/SOTSL](/photos/6/76/67656/150-18-soic_tmb.jpg)
Part Number:
Description:
IC,MICROCONTROLLER,8-BIT,PIC CPU,CMOS,SOP,18PIN,PLASTIC
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F1826-I/SO](/photos/6/76/67656/150-18-soic_tmb.jpg)
Part Number:
Description:
IC, 8BIT MCU, PIC16F, 32MHZ, SOIC-18
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F1826-I/SS](/photos/6/81/68119/150-28-ssop_tmb.jpg)
Part Number:
Description:
IC, 8BIT MCU, PIC16F, 32MHZ, SSOP-20
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F1826-I/P](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
IC, 8BIT MCU, PIC16F, 32MHZ, DIP-18
Manufacturer:
Microchip Technology
Datasheet:
![PIC16F1827-I/ML](/photos/6/81/68120/150-28-qfn_tmb.jpg)
Part Number:
Description:
IC, 8BIT MCU, PIC16F, 32MHZ, QFN-28
Manufacturer:
Microchip Technology
Datasheet: