PIC16F716 Microchip Technology, PIC16F716 Datasheet - Page 30

no-image

PIC16F716

Manufacturer Part Number
PIC16F716
Description
8-bit Flash-based Microcontroller with A/D Converter and Enhanced Capture/Compare/PWM
Manufacturer
Microchip Technology
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16F716
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC16F716-1/P4AP
Manufacturer:
a
Quantity:
4
Part Number:
PIC16F716-E/ML
0
Part Number:
PIC16F716-E/SO
Manufacturer:
PIC
Quantity:
5 510
Part Number:
PIC16F716-E/SO
Manufacturer:
AMD
Quantity:
5 510
Part Number:
PIC16F716-E/SS
Manufacturer:
BCD
Quantity:
10
Part Number:
PIC16F716-I/P
Manufacturer:
MICROCHIP
Quantity:
5 373
Part Number:
PIC16F716-I/P
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Company:
Part Number:
PIC16F716-I/P
Quantity:
6 994
Company:
Part Number:
PIC16F716-I/P
Quantity:
3 900
Part Number:
PIC16F716-I/SO
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC16F716-I/SO
0
Company:
Part Number:
PIC16F716-I/SO
Quantity:
2 000
Company:
Part Number:
PIC16F716-I/SO
Quantity:
1 680
Part Number:
PIC16F716-I/SS
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
PIC16F716
4.2.1
The prescaler assignment is fully under software
control (i.e., it can be changed “on-the-fly” during
program execution).
FIGURE 4-2:
TABLE 4-1:
DS41206A-page 28
01h
0Bh,8Bh
81h
85h
Legend:
Note 1:
Address
Note:
RA4/T0CKI
CLKOUT (=F
WDT Enable bit
Note:
Watchdog
pin
Timer
x = unknown, u = unchanged, - = unimplemented locations read as ‘0’. Shaded cells are not used by Timer0
Reserved bits, do not use.
SWITCHING PRESCALER
ASSIGNMENT
To avoid an unintended device Reset, a
specific instruction sequence (shown in
the PICmicro
Manual, DS33023) must be executed
when changing the prescaler assignment
from Timer0 to the WDT. This sequence
must be followed even if the WDT is
disabled.
TMR0
INTCON
OPTION_REG
TRISA
T0CS, T0SE, PSA, PS2:PS0 are (OPTION_REG<5:0>).
OSC
Name
REGISTERS ASSOCIATED WITH TIMER0
/4)
T0SE
BLOCK DIAGRAM OF THE TIMER0/WDT PRESCALER
®
0
1
Timer0 module’s register
RBPU INTEDG T0CS
Bit 7
GIE
PSA
Mid-Range Reference
M
U
X
0
1
PEIE
Bit 6
T0CS
M
U
X
Bit 5
T0IE
0
8-bit Prescaler
8 - to - 1MUX
(1)
Time-out
8
M U X
WDT
Preliminary
T0SE
Bit 4
INTE
Bit 4
1
0
1
PSA
PORTA Data Direction Register
M
U
X
RBIE
Bit 3
PSA
4.3
The TMR0 interrupt is generated when the TMR0
register 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
service 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
Bit 1
INTF
PS1
RBIF
Bit 0
PS0
 2003 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 PIC16F716