PIC16F819 Microchip Technology Inc., PIC16F819 Datasheet - Page 57
![no-image](/images/manufacturer_photos/0/4/440/microchip_technology_inc__sml.jpg)
PIC16F819
Manufacturer Part Number
PIC16F819
Description
18/20-pin Enhanced Flash Microcontrollers With Nanowatt Technology
Manufacturer
Microchip Technology Inc.
Datasheet
1.PIC16F819.pdf
(176 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
PIC16F819
Manufacturer:
MIC
Quantity:
699
Part Number:
PIC16F819-1/P
Manufacturer:
MIC
Quantity:
20 000
Company:
Part Number:
PIC16F819-E/SO
Manufacturer:
ZETTLER
Quantity:
201
Company:
Part Number:
PIC16F819-E/SS
Manufacturer:
MICROCHIP
Quantity:
12 000
Company:
Part Number:
PIC16F819-E/SS
Manufacturer:
Microchip Technology
Quantity:
135
Company:
Part Number:
PIC16F819-I/P
Manufacturer:
MICROCHIP
Quantity:
1 000
Part Number:
PIC16F819-I/SS
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
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