DV164136 Microchip Technology, DV164136 Datasheet - Page 151

DEVELOPMENT KIT FOR PIC18

DV164136

Manufacturer Part Number
DV164136
Description
DEVELOPMENT KIT FOR PIC18
Manufacturer
Microchip Technology
Series
PIC®r
Type
MCUr
Datasheets

Specifications of DV164136

Contents
Board, Cables, CDs, PICkit™ 3 Programmer, Power Supply
Processor To Be Evaluated
PIC18F8722, PIC18F87J11
Interface Type
RS-232, USB
Operating Supply Voltage
3.3 V, 5 V
Silicon Manufacturer
Microchip
Core Architecture
PIC
Core Sub-architecture
PIC18
Silicon Core Number
PIC18F
Silicon Family Name
PIC18F8xxx
Kit Contents
PIC18 Exp Brd PICkit 3 Cable CD PSU
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With/related Products
PIC18F8722, PIC18F87J11
Lead Free Status / Rohs Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
DV164136
Manufacturer:
MICROCHIP
Quantity:
12 000
11.6
PORTF is an 8-bit wide, bidirectional port. The corre-
sponding Data Direction register is TRISF. Setting a
TRISF bit (= 1) will make the corresponding PORTF pin
an input (i.e., put the corresponding output driver in a
high-impedance mode). Clearing a TRISF bit (= 0) will
make the corresponding PORTF pin an output (i.e., put
the contents of the output latch on the selected pin).
The Data Latch register (LATF) is also memory
mapped. Read-modify-write operations on the LATF
register read and write the latched output value for
PORTF.
All pins on PORTF are implemented with Schmitt
Trigger input buffers. Each pin is individually
configurable as an input or output.
PORTF is multiplexed with several analog peripheral
functions, including the A/D converter and comparator
inputs, as well as the comparator outputs. Pins RF1
through RF2 may be used as comparator inputs or
outputs by setting the appropriate bits in the CMCON
register. To use RF<6:0:> as digital inputs, it is
necessary to turn off the A/D inputs.
© 2008 Microchip Technology Inc.
PORTF, LATF and TRISF Registers
EXAMPLE 11-6:
PIC18F8722 FAMILY
CLRF
CLRF
MOVLW
MOVWF
MOVLW
MOVWF
Note 1: On a Power-on Reset, the RF<6:0> pins
2: To configure PORTF as digital I/O, set the
PORTF
LATF
0x0F
ADCON1 ; Set PORTF as digital I/O
0xCF
TRISF
are configured as analog inputs and read
as ‘0’.
ADCON1 register.
; Initialize PORTF by
; clearing output
; data latches
; Alternate method
; to clear output
; data latches
;
; Value used to
; initialize data
; direction
; Set RF3:RF0 as inputs
; RF5:RF4 as outputs
; RF7:RF6 as inputs
INITIALIZING PORTF
DS39646C-page 149

Related parts for DV164136