PIC18F46K80-I/P Microchip Technology Inc., PIC18F46K80-I/P Datasheet - Page 275

no-image

PIC18F46K80-I/P

Manufacturer Part Number
PIC18F46K80-I/P
Description
40 PDIP .600IN TUBE, ECAN, 64KB FLASH, 4KB RAM, 16 MIPS, 12-BIT ADC, CTMU
Manufacturer
Microchip Technology Inc.
Datasheet

Specifications of PIC18F46K80-I/P

A/d Inputs
11-Channel, 12-Bit
Comparators
2
Cpu Speed
16 MIPS
Eeprom Memory
1K Bytes
Input Output
35
Interface
I2C/SPI/UART/USART
Memory Type
Flash
Number Of Bits
8
Package Type
44-pin PDIP
Programmable Memory
64K Bytes
Ram Size
3.6K Bytes
Speed
64 MHz
Temperature Range
–40 to 125 °C
Timers
2-8-bit, 3-16-bit
Voltage, Range
1.8-5.5 V
Lead Free Status / Rohs Status
RoHS Compliant part

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC18F46K80-I/PT
Manufacturer:
BROADCOM
Quantity:
101
Part Number:
PIC18F46K80-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC18F46K80-I/PT
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC18F46K80-I/PT
0
20.2.2
The timers that are to be used with the capture feature
(Timer1 2, 3 or 4) must be running in Timer mode or
Synchronized
Counter mode, the capture operation may not work.
The timer to be used with each ECCP module is
selected in the CCPTMRS register
20.2.3
When the Capture mode is changed, a false capture
interrupt may be generated. The user should keep the
CCP1IE interrupt enable bit clear to avoid false inter-
rupts. The interrupt flag bit, CCP1IF, should also be
cleared following any such change in operating mode.
FIGURE 20-1:
 2011 Microchip Technology Inc.
ECCP1 Pin
TIMER1/2/3/4 MODE SELECTION
SOFTWARE INTERRUPT
Counter
CCP1CON<3:0>
Prescaler
 1, 4, 16
CAPTURE MODE OPERATION BLOCK DIAGRAM
mode.
Q1:Q4
4
(Register
In
Edge Detect
4
and
Asynchronous
20-2).
Set CCP1IF
Preliminary
C1TSEL0
C1TSEL1
C1TSEL2
C1TSEL0
C1TSEL1
C1TSEL2
PIC18F66K80 FAMILY
20.2.4
There are four prescaler settings in Capture mode; they
are specified as part of the operating mode selected by
the mode select bits (CCP1M<3:0>). Whenever the
ECCP module is turned off, or Capture mode is dis-
abled, the prescaler counter is cleared. This means
that any Reset will clear the prescaler counter.
Switching from one capture prescaler to another may
generate an interrupt. Also, the prescaler counter will
not be cleared; therefore, the first capture may be from
a non-zero prescaler.
recommended method for switching between capture
prescalers. This example also clears the prescaler
counter and will not generate the “false” interrupt.
EXAMPLE 20-1:
CLRF
MOVLW
MOVWF
CCP1CON
NEW_CAPT_PS ; Load WREG with the
CCP1CON
ECCP PRESCALER
CHANGING BETWEEN
CAPTURE PRESCALERS
; Turn ECCP module off
; new prescaler mode
; value and ECCP ON
; Load ECCP1CON with
; this value
Example 20-1
TMR3
Enable
TMR1
Enable
CCPR1H
TMR3H
TMR1H
DS39977C-page 275
CCPR1L
TMR1L
TMR3L
provides the

Related parts for PIC18F46K80-I/P