PIC16F818-E/ML Microchip Technology, PIC16F818-E/ML Datasheet - Page 57

IC PIC MCU FLASH 1KX14 20QFN

PIC16F818-E/ML

Manufacturer Part Number
PIC16F818-E/ML
Description
IC PIC MCU FLASH 1KX14 20QFN
Manufacturer
Microchip Technology
Series
PIC® 16Fr

Specifications of PIC16F818-E/ML

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 ~ 125°C
Package / Case
28-VQFN Exposed Pad, 28-HVQFN, 28-SQFN, 28-DHVQFN
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
1 x 16 bit
Operating Supply Voltage
2 V to 5.5 V
Maximum Operating Temperature
+ 125 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 bit
For Use With
XLT28QFN3 - SOCKET TRAN ICE 18DIP/28QFNAC164033 - ADAPTER 28QFN TO 18DIPDV007003 - PROGRAMMER UNIVERSAL PROMATE II
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
EXAMPLE 6-1:
EXAMPLE 6-2:
TABLE 6-1:
 2004 Microchip Technology Inc.
01h,101h
0Bh,8Bh,
10Bh,18Bh
81h,181h
Legend:
CLRWDT
BANKSEL OPTION_REG
MOVLW
MOVWF
Address
BANKSEL
MOVLW
MOVWF
BANKSEL
CLRF
BANKSEL
MOVLW
MOVWF
CLRWDT
MOVLW
MOVWF
x = unknown, u = unchanged, - = unimplemented locations read as ‘0’. Shaded cells are not used by Timer0.
b'xxxx0xxx'
OPTION_REG
TMR0
INTCON
OPTION_REG
Name
OPTION_REG
b'xx0x0xxx'
OPTION_REG
TMR0
TMR0
OPTION_REG
b'xxxx1xxx'
OPTION_REG
b'xxxx1xxx'
OPTION_REG
REGISTERS ASSOCIATED WITH TIMER0
CHANGING THE PRESCALER ASSIGNMENT FROM TIMER0 TO WDT
CHANGING THE PRESCALER ASSIGNMENT FROM WDT TO TIMER0
Timer0 Module Register
RBPU
Bit 7
GIE
; Clear WDT and prescaler
; Select Bank of OPTION_REG
; Select TMR0, new prescale
; value and clock source
; Select Bank of OPTION_REG
; Select clock source and prescale value of
; other than 1:1
; Select Bank of TMR0
; Clear TMR0 and prescaler
; Select Bank of OPTION_REG
; Select WDT, do not change prescale value
; Clears WDT and prescaler
; Select new prescale value and WDT
INTEDG
PEIE
Bit 6
TMR0IE
T0CS
Bit 5
T0SE
INTE
Bit 4
RBIE TMR0IF
Bit 3
PSA
Bit 2
PS2
PIC16F818/819
Bit 1
INTF
PS1
Bit 0
RBIF 0000 000x 0000 000u
PS0
xxxx xxxx uuuu uuuu
1111 1111 1111 1111
POR, BOR
Value on
DS39598E-page 55
Value on
all other
Resets

Related parts for PIC16F818-E/ML