PIC18LF2331-I/SO Microchip Technology, PIC18LF2331-I/SO Datasheet - Page 245

IC MCU FLASH 4KX16 28SOIC

PIC18LF2331-I/SO

Manufacturer Part Number
PIC18LF2331-I/SO
Description
IC MCU FLASH 4KX16 28SOIC
Manufacturer
Microchip Technology
Series
PIC® 18Fr

Specifications of PIC18LF2331-I/SO

Core Processor
PIC
Core Size
8-Bit
Speed
40MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, LVD, Power Control PWM, QEI, POR, PWM, WDT
Number Of I /o
24
Program Memory Size
8KB (4K x 16)
Program Memory Type
FLASH
Eeprom Size
256 x 8
Ram Size
768 x 8
Voltage - Supply (vcc/vdd)
2 V ~ 5.5 V
Data Converters
A/D 5x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
28-SOIC (7.5mm Width)
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
REGISTER 21-6:
REGISTER 21-7:
 2010 Microchip Technology Inc.
bit 7
Legend:
R = Readable bit
-n = Value at POR
bit 7-0
Note 1:
bit 7
Legend:
R = Readable bit
-n = Value at POR
bit 7-1
bit 0
Note 1:
ANS7
R/W-1
U-0
2:
2:
(2)
Setting a pin to an analog input disables the digital input buffer. The corresponding TRIS bit should be set
for an input and cleared for an output (analog or digital). The ANSx bits directly correspond to the ANx pins
(e.g., ANS0 = AN0, ANS1 = AN1, etc.). Unused ANSx bits are read as ‘0’.
ANS7 through ANS5 are available only on PIC18F4331/4431 devices.
Setting a pin to an analog input disables the digital input buffer. The corresponding TRIS bit should be set
for an input and cleared for an output (analog or digital). The ANSx bits directly correspond to the ANx pins
(e.g., ANS8 = AN8, ANS9 = AN9, etc.). Unused ANSx bits are read as ‘0’.
ANS8 is available only on PIC18F4331/4431 devices.
ANS<7:0>: Analog Input Function Select bits
Correspond to pins, AN<7:0>.
1 = Analog input
0 = Digital I/O
Unimplemented: Read as ‘0’
ANS8: Analog Input Function Select bit
1 = Analog input
0 = Digital I/O
ANS6
R/W-1
U-0
ANSEL0: ANALOG SELECT REGISTER 0
ANSEL1: ANALOG SELECT REGISTER 1
(2)
W = Writable bit
W = Writable bit
‘1’ = Bit is set
‘1’ = Bit is set
ANS5
R/W-1
U-0
(2)
PIC18F2331/2431/4331/4431
R/W-1
ANS4
U-0
(2)
U = Unimplemented bit, read as ‘0’
‘0’ = Bit is cleared
U = Unimplemented bit, read as ‘0’
‘0’ = Bit is cleared
R/W-1
ANS3
U-0
(1)
(1)
R/W-1
ANS2
U-0
x = Bit is unknown
x = Bit is unknown
R/W-1
ANS1
U-0
DS39616D-page 245
ANS8
R/W-1
R/W-1
ANS0
(2)
bit 0
bit 0

Related parts for PIC18LF2331-I/SO