16F84A Microchip Technology, 16F84A Datasheet - Page 18
16F84A
Manufacturer Part Number
16F84A
Description
18-pin Enhanced Flash/EEPROM 8-Bit Microcontroller
Manufacturer
Microchip Technology
Datasheet
1.16F84A.pdf
(68 pages)
- Current page: 18 of 68
- Download datasheet (495Kb)
PIC16F84A
4.2.1
The prescaler assignment is fully under software con-
trol, i.e., it can be changed “on the fly” during program
execution.
FIGURE 4-2:
TABLE 4-1
DS35007A-page 18
Address
01h
0Bh,8Bh
81h
85h
Legend: x = unknown, u = unchanged, - = unimplemented locations read as '0'. Shaded cells are not used by Timer0.
Note:
RA4/T0CKI
CLKOUT (=Fosc/4)
WDT Enable bit
Watchdog
pin
Timer
SWITCHING PRESCALER ASSIGNMENT
Note: T0CS, T0SE, PSA, PS2:PS0 are (OPTION_REG<5:0>).
To avoid an unintended device RESET, a
specific instruction sequence (shown in the
PICmicro™ Mid-Range Reference Man-
ual, DS3023) must be executed when
changing the prescaler assignment from
Timer0 to the WDT. This sequence must be
followed even if the WDT is disabled.
Name
TMR0
INTCON
OPTION_REG
TRISA
BLOCK DIAGRAM OF THE TIMER0/WDT PRESCALER
REGISTERS ASSOCIATED WITH TIMER0
T0SE
0
1
Timer0 module’s register
RBPU INTEDG T0CS
Bit 7
GIE
PSA
—
M
U
X
0
1
PEIE
Bit 6
T0CS
—
M
U
X
PORTA Data Direction Register
Bit 5
T0IE
0
8-bit Prescaler
8 - to - 1MUX
Time-out
8
M U X
WDT
Preliminary
T0SE
Bit 4
INTE
1
0
1
PSA
M
U
X
RBIE
Bit 3
PSA
4.3
The TMR0 interrupt is generated when the TMR0 reg-
ister overflows from FFh to 00h. This overflow sets bit
T0IF (INTCON<2>). The interrupt can be masked by
clearing bit T0IE (INTCON<5>). Bit T0IF must be
cleared in software by the Timer0 module interrupt ser-
vice routine before re-enabling this interrupt. The
TMR0 interrupt cannot awaken the processor from
SLEEP since the timer is shut off during SLEEP.
PSA
Bit 2
T0IF
PS2
PS2:PS0
Timer0 Interrupt
Cycles
SYNC
2
INTF
Bit 1
PS1
RBIF
Bit 0
PS0
1998 Microchip Technology Inc.
TMR0 reg
Data Bus
xxxx xxxx
0000 000x
1111 1111
--11 1111
Value on
POR,
BOR
8
Set flag bit T0IF
on Overflow
other resets
Value on all
uuuu uuuu
0000 000u
1111 1111
--11 1111
Related parts for 16F84A
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
18-pin Flash/EEPROM 8-Bit Microcontrollers
Manufacturer:
MICROCHIP [Microchip Technology]
Datasheet:
Part Number:
Description:
16-Bit to 32-Bit Multiplexer-Demultiplexer Bus Switch with -2V Undershoot Protection
Manufacturer:
Fairchild Semiconductor
Datasheet:
Part Number:
Description:
16 x 8 x 1 BiMOS-E Crosspoint Switch
Manufacturer:
Intersil Corporation
Part Number:
Description:
16-BIT HIGH-INTEGRATION EMBEDDED PROCESSORS
Manufacturer:
Intel Corporation
Datasheet:
Part Number:
Description:
16 Mbit / 32 Mbit / 64 Mbit X16 Multi-purpose Flash Plus
Manufacturer:
Silicon Storage Technology, Inc.
Datasheet:
Part Number:
Description:
16-BIT SYNCHRONOUS 2:1 MUX/DEMUX SWITCH
Manufacturer:
IDT [Integrated Device Technology]
Datasheet:
Part Number:
Description:
16-Bit Grid Driver with 4 to 16-Decoder
Manufacturer:
OKI Electronic Components
Part Number:
Description:
16-bit grid driver with 4 to 16-decoder
Manufacturer:
OKI Electronic Components
Part Number:
Description:
16-bit grid driver with 4 to 16-decoder
Manufacturer:
OKI Electronic Components
Part Number:
Description:
16-Bit Grid Driver With 4 to 16-Decoder
Manufacturer:
Oki Semiconductor
Datasheet:
Part Number:
Description:
16-channel Led Driver With 16-bit Pwm, 8-bit Gain And Full Led Error Detection
Manufacturer:
STMicroelectronics
Datasheet:
Part Number:
Description:
16 Megabit (1M x 16-Bit) Multi-Purpose Flash
Manufacturer:
Silicon Storage Technology
Datasheet:
Part Number:
Description:
16 X 16 Parallel Cmos Multipliers
Manufacturer:
Integrated Device Technology
Datasheet:
Part Number:
Description:
16-mbit ( 1 Mbit X 16, 2 Mbit X 8 ) Flashfile Memory
Manufacturer:
Intel Corporation