PIC18F25K80 MICROCHIP [Microchip Technology], PIC18F25K80 Datasheet - Page 187

no-image

PIC18F25K80

Manufacturer Part Number
PIC18F25K80
Description
Manufacturer
MICROCHIP [Microchip Technology]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC18F25K80-E/MM
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Company:
Part Number:
PIC18F25K80-E/SO
Quantity:
149
Part Number:
PIC18F25K80-E/SS
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC18F25K80-H/MM
Manufacturer:
MITSUBISHI
Quantity:
56
Company:
Part Number:
PIC18F25K80-H/MM
Quantity:
12 600
Part Number:
PIC18F25K80-I/MM
Manufacturer:
MICROCHIP
Quantity:
2 400
Part Number:
PIC18F25K80-I/MM
0
Part Number:
PIC18F25K80-I/SO
Manufacturer:
MICROCHIP
Quantity:
3 000
Part Number:
PIC18F25K80-I/SP
Manufacturer:
MICROCHIP
Quantity:
147
Part Number:
PIC18F25K80-I/SP
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC18F25K80-I/SS
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC18F25K80-I/SS
0
Company:
Part Number:
PIC18F25K80-I/SS
Quantity:
5
Company:
Part Number:
PIC18F25K80T-H/MM
Quantity:
12 600
Part Number:
PIC18F25K80T-I/MM
Manufacturer:
MICROCHIP
Quantity:
3 000
Part Number:
PIC18F25K80T-I/SS
Manufacturer:
MICROCHIT
Quantity:
20 000
Part Number:
PIC18F25K80T-I/SS
0
Company:
Part Number:
PIC18F25K80T-I/SS
Quantity:
4 200
11.4
PORTC is an eight-bit wide, bidirectional port. The
corresponding Data Direction and Output Latch registers
are TRISC and LATC. Only PORTC pins, RC2 through
RC7, are digital only pins.
PORTC is multiplexed with CCP, MSSP and EUSART
peripheral functions
Schmitt Trigger input buffers. The pins for CCP, SPI
and EUSART are also configurable for open-drain out-
put whenever these functions are active. Open-drain
configuration is selected by setting the SSPOD,
CCPxOD and U1OD control bits in the ODCON
register.
RC1 is configurable for open-drain output when CCP2
is active on this pin. Open-drain configuration is
selected
(ODCON<3>).
 2011 Microchip Technology Inc.
PORTC, TRISC and
LATC Registers
by
setting
(Table
the
11-5). The pins have
CCP2OD
control
Preliminary
bit
PIC18F66K80 FAMILY
When enabling peripheral functions, use care in defin-
ing TRIS bits for each PORTC pin. Some peripherals
can override the TRIS bit to make a pin an output or
input. Consult the corresponding peripheral section for
the correct TRIS bit settings.
The contents of the TRISC register are affected by
peripheral overrides. Reading TRISC always returns
the current contents, even though a peripheral device
may be overriding one or more of the pins.
EXAMPLE 11-3:
CLRF
CLRF
MOVLW
MOVWF
Note:
PORTC
LATC
0CFh
TRISC
These pins are configured as digital inputs
on any device Reset.
; Initialize PORTC by
; clearing output
; data latches
; Alternate method
; to clear output
; data latches
; Value used to
; initialize data
; direction
; Set RC<3:0> as inputs
; RC<5:4> as outputs
; RC<7:6> as inputs
INITIALIZING PORTC
DS39977C-page 187

Related parts for PIC18F25K80