PIC18F2221-E/SO Microchip Technology, PIC18F2221-E/SO Datasheet - Page 180

no-image

PIC18F2221-E/SO

Manufacturer Part Number
PIC18F2221-E/SO
Description
4KB, Flash, 512bytes-RAM, 25I/O, 8-bit Family,nanoWatt 28 SOIC .300in TUBE
Manufacturer
Microchip Technology
Series
PIC® 18Fr

Specifications of PIC18F2221-E/SO

Core Processor
PIC
Core Size
8-Bit
Speed
40MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, HLVD, POR, PWM, WDT
Number Of I /o
25
Program Memory Size
4KB (2K x 16)
Program Memory Type
FLASH
Eeprom Size
256 x 8
Ram Size
512 x 8
Voltage - Supply (vcc/vdd)
4.2 V ~ 5.5 V
Data Converters
A/D 10x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 125°C
Package / Case
28-SOIC (7.5mm Width)
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
PIC18F2221/2321/4221/4321 FAMILY
REGISTER 18-5:
REGISTER 18-6:
DS39689F-page 180
bit 0
bit 7-0
SSPCON2: MSSP CONTROL REGISTER 2 (I
SSPADD: MSSP ADDRESS REGISTER
bit 7
SEN: Start Condition Enable/Stretch Enable bit
In Master mode:
1 = Initiate Start condition on SDA and SCL pins. Automatically cleared by hardware.
0 = Start condition Idle
In Slave mode:
1 = Clock stretching is enabled for both slave transmit and slave receive (stretch enabled)
0 = Clock stretching is disabled
Legend:
R = Readable bit
-n = Value at POR
bit 7
ADD<7:0>: MSSP Address bits
Legend:
R = Readable bit
-n = Value at POR
R/W-0
GCEN
R/W-0
ADD7
Note 1: For bits ACKEN, RCEN, PEN, RSEN, SEN: If the I
Note 1: MSSP Address register in I
may not be set (no spooling) and the SSPBUF may not be written (or writes to the
SSPBUF are disabled).
mode.
ACKSTAT
R/W-0
R/W-0
ADD6
ADMSK5
ACKDT/
R/W-0
R/W-0
ADD5
W = Writable bit
‘1’ = Bit is set
W = Writable bit
‘1’ = Bit is set
ACKEN
ADMSK4
2
R/W-0
C Slave mode. MSSP Baud Rate register in I
R/W-0
ADD4
(1)
(1)
(1)
/
ADMSK3
RCEN
U = Unimplemented bit, read as ‘0’
‘0’ = Bit is cleared
U = Unimplemented bit, read as ‘0’
‘0’ = Bit is cleared
2
R/W-0
R/W-0
ADD3
C™ MODE) – CONTINUED
(1)
/
ADMSK2
PEN
R/W-0
2
R/W-0
ADD2
C module is active, these bits
© 2009 Microchip Technology Inc.
(1)
/
x = Bit is unknown
x = Bit is unknown
RSEN
ADMSK1
R/W-0
R/W-0
ADD1
(1)
/
2
C Master
SEN
R/W-0
R/W-0
ADD0
bit 0
bit 0
(1)

Related parts for PIC18F2221-E/SO