PIC18LF26K22-I/SP Microchip Technology, PIC18LF26K22-I/SP Datasheet - Page 146

no-image

PIC18LF26K22-I/SP

Manufacturer Part Number
PIC18LF26K22-I/SP
Description
IC PIC MCU 64KB FLASH 28SPDIP
Manufacturer
Microchip Technology
Series
PIC® XLP™ 18Fr
Datasheets

Specifications of PIC18LF26K22-I/SP

Core Size
8-Bit
Program Memory Size
64KB (32K x 16)
Core Processor
PIC
Speed
64MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, HLVD, POR, PWM, WDT
Number Of I /o
24
Program Memory Type
FLASH
Eeprom Size
1K x 8
Ram Size
3.8K x 8
Voltage - Supply (vcc/vdd)
1.8 V ~ 3.6 V
Data Converters
A/D 19x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
28-DIP (0.300", 7.62mm)
Controller Family/series
PIC18
No. Of I/o's
25
Eeprom Memory Size
1KB
Ram Memory Size
3896Byte
Cpu Speed
64MHz
No. Of Timers
7
Processor Series
PIC18LF
Core
PIC
3rd Party Development Tools
52715-96, 52716-328, 52717-734, 52712-325, EWPIC18
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Lead Free Status / RoHS Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC18LF26K22-I/SP
Manufacturer:
Microchip Technology
Quantity:
135
PIC18(L)F2X/4XK22
10.5
PORTD is an 8-bit wide, bidirectional port. The
corresponding data direction register is TRISD. Setting
a TRISD bit (= 1) will make the corresponding PORTD
pin an input (i.e., disable the output driver). Clearing a
TRISD bit (= 0) will make the corresponding PORTD
pin an output (i.e., enable the output driver and put the
contents of the output latch on the selected pin).
The Data Latch register (LATD) is also memory
mapped. Read-modify-write operations on the LATD
register read and write the latched output value for
PORTD.
All pins on PORTD are implemented with Schmitt
Trigger input buffers. Each pin is individually
configurable as an input or output.
All of the PORTD pins are multiplexed with analog and
digital peripheral modules. See
EXAMPLE 10-4:
DS41412D-page 146
MOVLB
CLRF
CLRF
MOVLW
MOVWF
MOVLW
MOVWF
Note:
Note:
PORTD Registers
0xF
PORTD
LATD
0CFh
TRISD
30h
ANSELD ; RD<3:0> dig input enable
PORTD is only available on 40-pin and
44-pin devices.
On a Power-on Reset, these pins are
configured as analog inputs.
; Set BSR for banked SFRs
; Initialize PORTD by
; clearing output
; data latches
; Alternate method
; to clear output
; data latches
; Value used to
; initialize data
; direction
; Set RD<3:0> as inputs
; RD<5:4> as outputs
; RD<7:6> as inputs
; Value used to
; enable digital inputs
; RC<7:6> dig input enable
INITIALIZING PORTD
Table
10-11.
Preliminary
10.5.1
Each PORTD pin is multiplexed with other functions.
The pins, their combined functions and their output
priorities are briefly described here. For additional
information, refer to the appropriate section in this data
sheet.
When multiple outputs are enabled, the actual pin
control goes to the peripheral with the higher priority.
Table 10-4
highest to the lowest priority.
Analog input functions, such as ADC, comparator and
SR Latch inputs, are not shown in the priority lists.
These inputs are active when the I/O pin is set for
Analog mode using the ANSELx registers. Digital
output functions may control the pin when it is in Analog
mode with the priority shown below.
PORTD OUTPUT PRIORITY
lists the PORTD pin functions from the
 2010 Microchip Technology Inc.

Related parts for PIC18LF26K22-I/SP