Qdatasheet_Logo
Integrated circuits, Transistor, Semiconductors Search and Datasheet PDF Download Site

PIC14000T-04/SS View Datasheet(PDF) - Microchip Technology

Part Name
Description
MFG CO.
PIC14000T-04/SS
Microchip
Microchip Technology Microchip
'PIC14000T-04/SS' PDF : 153 Pages View PDF
PIC14000
FIGURE 7-3: I2CCON: I2C PORT CONTROL REGISTER
R/W R/W R/W R/W R/W R/W R/W R/W
WCOL I2COV I2CEN CKP I2CM3 I2CM2 I2CM1 I2CM0
bit7
bit0
Register: I2CCON W: Writable bit
Address:
14h R: Readable bit
POR value:
00h U: Unimplemented, read as ‘0’
I2CM<3:0>: I2C mode select
0110 = I2C slave mode, 7-bit address
0111 = I2C slave mode, 10-bit address
1011 = I2C firmware controlled master mode (slave idle)
1110 = I2C slave mode, 7-bit address with start and stop bit interrupts
enabled
1111 = I2C slave mode, 10-bit address with start and stop bit interrupts
enabled
Any other combinations of I2CM<3:0>
are illegal and should NEVER be used.
CKP: Clock polarity select
SCK release control
1 = Enable clock
0 = Holds clock low (clock stretch)
Note: Used to ensure data setup time
I2CEN: I2C enable
1 = Enables the serial port and configures SDA and SCL pins as serial
port pins. When enabled, these pins must be configured as input
or output.
0 = Disables serial port and configures these pins as I/O port pins
I2COV: Receive overflow flag
1 = A byte is received while the I2CBUF is still holding the previous
byte. I2COV is a don't care in transmit mode.
I2COV must be cleared in software.
0 = No overflow
WCOL: Write collision detect
1 = the I2CBUF register is written while it is still transmitting the previ-
ous word.
Must be cleared in software.
0 = No collision
© 1996 Microchip Technology Inc.
Preliminary
DS40122B-page 43
Share Link: GO URL

All Rights Reserved © qdatasheet.com  [ Privacy Policy ] [ Contact Us ]