PA3040
Advanced Member level 3
- Joined
- Aug 1, 2011
- Messages
- 883
- Helped
- 43
- Reputation
- 88
- Reaction score
- 43
- Trophy points
- 1,308
- Activity points
- 6,936
void I2CWait()
{
while ( ( SSPCON2 & 0x1F ) || ( SSPSTAT & 0x04 ) ); /* wait for any pending transfer */
}
Dear All
Kindly please explain everything about below code
( ( SSPCON2 & 0x1F ) || ( SSPSTAT & 0x04 ) );
This is related to PIC16f877a I2C Peripheral
Thanks in advance
{
while ( ( SSPCON2 & 0x1F ) || ( SSPSTAT & 0x04 ) ); /* wait for any pending transfer */
}
Dear All
Kindly please explain everything about below code
( ( SSPCON2 & 0x1F ) || ( SSPSTAT & 0x04 ) );
This is related to PIC16f877a I2C Peripheral
Thanks in advance