PIC18F65K90-E/MR Microchip Technology, PIC18F65K90-E/MR Datasheet - Page 172

no-image

PIC18F65K90-E/MR

Manufacturer Part Number
PIC18F65K90-E/MR
Description
32kB Flash, 2kB RAM, 1kB EE, NanoWatt XLP, LCD 64 QFN 9x9x0.9mm TUBE
Manufacturer
Microchip Technology
Series
PIC® XLP™ 18Fr
Datasheet

Specifications of PIC18F65K90-E/MR

Core Processor
PIC
Core Size
8-Bit
Speed
64MHz
Connectivity
I²C, LIN, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, LCD, POR, PWM, WDT
Number Of I /o
53
Program Memory Size
32KB (16K x 16)
Program Memory Type
FLASH
Eeprom Size
1K x 8
Ram Size
2K x 8
Voltage - Supply (vcc/vdd)
1.8 V ~ 5.5 V
Data Converters
A/D 16x12b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 125°C
Package / Case
64-VFQFN Exposed Pad
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
corresponding Data Direction and Output Latch registers
implemented with Schmitt Trigger input buffers. Each pin
PIC18F87K90 FAMILY
11.7
PORTF is a 7-bit wide, bidirectional port. The
are TRISF and LATF. All pins on PORTF are
is individually configurable as an input or output.
PORTF is multiplexed with analog peripheral functions,
as well as LCD segments. Pins, RF1 through RF6, may
be used as comparator inputs or outputs by setting the
appropriate bits in the CMCON register. To use
RF<7:1> as digital inputs, it is also necessary to turn off
the comparators.
DS39957D-page 172
Note 1: On device Resets, pins, RF<7:1>, are
PORTF, LATF and TRISF Registers
2: To configure PORTF as a digital I/O, turn
configured as analog inputs and are read
as ‘0’.
off the comparators and clear ANCON1
and ANCON2 to digital.
PORTF is also multiplexed with LCD segment drives
controlled by bits in the LCDSE2 and LCDSE3
registers. I/O port functions are only available when the
segments are disabled.
EXAMPLE 11-6:
CLRF
CLRF
BANKSEL ANCON1
MOVLW
MOVWF
MOVLW
MOVWF
MOVLW
MOVWF
PORTF
LATF
01Fh
ANCON1
0F0h
ANCON2
0CEh
TRISF
 2009-2011 Microchip Technology Inc.
; Initialize PORTF by
; clearing output
; data latches
; Alternate method
; to clear output
; data latches
; Make AN6, AN7 and AN5 digital
;
; Make AN8, AN9, AN10 and AN11
; Set PORTF as digital I/O
; Value used to
; initialize data
; direction
; Set RF3:RF1 as inputs
; RF5:RF4 as outputs
; RF7:RF6 as inputs
digital
INITIALIZING PORTF

Related parts for PIC18F65K90-E/MR