PIC16F707-E/P Microchip Technology, PIC16F707-E/P Datasheet - Page 104

no-image

PIC16F707-E/P

Manufacturer Part Number
PIC16F707-E/P
Description
14KB Flash Program, MTouch, 32ch CSM, 1.8V-5.5V, 16MHz Internal Oscillator, 8b A
Manufacturer
Microchip Technology
Series
PIC® XLP™ 16Fr
Datasheets

Specifications of PIC16F707-E/P

Core Processor
PIC
Core Size
8-Bit
Speed
20MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
36
Program Memory Size
14KB (8K x 14)
Program Memory Type
FLASH
Ram Size
363 x 8
Voltage - Supply (vcc/vdd)
1.8 V ~ 5.5 V
Data Converters
A/D 14x8b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 125°C
Package / Case
40-DIP (0.600", 15.24mm)
Processor Series
PIC16F
Core
PIC
3rd Party Development Tools
52715-96, 52716-328, 52717-734
Development Tools By Supplier
PG164130, DV164035, DV244005, DV164005, PG164120, ICE2000
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Lead Free Status / Rohs Status
 Details

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16F707-E/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
PIC16F707/PIC16LF707
13.6.7
When Timer1/3 Gate Toggle mode is enabled, it is
possible to measure the full-cycle length of a Timer1/3
gate signal, as opposed to the duration of a single level
pulse.
The Timer1/3 gate source is routed through a flip-flop
that changes state on every incrementing edge of the
signal. See Figure 13-4 for timing details.
Timer1/3 Gate Toggle mode is enabled by setting the
TxGTM bit of the TxGCON register. When the TxGTM
bit is cleared, the flip-flop is cleared and held clear. This
is necessary in order to control which edge is
measured.
13.6.8
When Timer1/3 Gate Single-Pulse mode is enabled, it
is possible to capture a single pulse gate event.
Timer1/3 Gate Single-Pulse mode is first enabled by
setting the TxGSPM bit in the TxGCON register. Next,
the TxGGO/DONE bit in the TxGCON register must be
set. The Timer1/3 will be fully enabled on the next
incrementing edge. On the next trailing edge of the
pulse, the TxGGO/DONE bit will automatically be
cleared. No other gate events will be allowed to incre-
ment Timer1/3 until the TxGGO/DONE bit is once
again set in software.
TABLE 13-7:
13.7
The
increments to FFFFh and rolls over to 0000h. When
Timer1/3 rolls over, the Timer1/3 interrupt flag bit of the
PIRx register is set. See Table 13-7 for interrupt bit
locations.
To enable the interrupt on rollover, you must set these
bits:
• TMRxON bit of the TxCON register
• TMRxIE bit of the PIEx register
• PEIE bit of the INTCON register
• GIE bit of the INTCON register
The interrupt is cleared by clearing the TMRxIF bit in
the Interrupt Service Routine.
DS41418A-page 104
Interrupt Flag
Interrupt Enable
Gate Interrupt Flag
Gate Interrupt Enable
Note:
Timer1/3
Timer1/3 Interrupt
TIMER1/3 GATE TOGGLE MODE
Enabling Toggle mode at the same time
as changing the gate polarity may result in
indeterminate operation.
TIMER1/3 GATE SINGLE-PULSE
MODE
TIMER1/3 INTERRUPT BIT LOCATIONS
register
pair
TMR1IF bit in PIR1 register
TMR1IE bit in PIE1 register
TMR1GIF bit in PIR1 register
TMR1GIE bit in PIE1 register
(TMRxH:TMRxL)
Preliminary
Timer1
Clearing the TxGSPM bit of the TxGCON register will
also clear the TxGGO/DONE bit. See Figure 13-5 for
timing details.
Enabling the Toggle mode and the Single-Pulse mode
simultaneously will permit both sections to work
together. This allows the cycle times on the Timer1/3
gate source to be measured. See Figure 13-6 for timing
details.
13.6.9
When Timer1/3 gate value status is utilized, it is
possible to read the most current level of the gate
control value. The value is stored in the TxGVAL bit in
the TxGCON register. The TxGVAL bit is valid even
when the Timer1/3 gate is not enabled (TMRxGE bit is
cleared).
13.6.10
When Timer1/3 gate event interrupt is enabled, it is
possible to generate an interrupt upon the completion
of a gate event. When the falling edge of TxGVAL
occurs, the TMRxGIF flag bit in the PIRx register will be
set. If the TMRxGIE bit in the PIEx register is set, then
an interrupt will be recognized. See Table 13-7 for
interrupt bit locations.
The TMRxGIF flag bit operates even when the
Timer1/3 gate is not enabled (TMRxGE bit is cleared).
Note:
TIMER1/3 GATE VALUE STATUS
TIMER1/3 GATE EVENT
INTERRUPT
The TMRxH:TMRxL register pair and the
TMRxIF bit should be cleared before
enabling interrupts.
TMR3IF bit in PIR2 register
TMR3IE bit in PIE2 register
TMR3GIF bit in PIR2 register
TMR3GIE bit in PIE2 register
 2010 Microchip Technology Inc.
Timer3

Related parts for PIC16F707-E/P