I2C.restart

From Pinguino
Jump to: navigation, search

Name

I2C.restart - repeat i2c start condition

Description

void I2C.restart ( void ) - (P8)
void I2C.restart ( module ) - (P32)
Causes a Repeated START condition to be sent on the I2C bus, , waits for it to be completed as indicated by the setting of the appropriate Synchronous Serial Port (SSP)/I2C Master Event Interrupt Flag and then clears that SSP/I2C Master Event Interrupt Flag.

Syntax

P8
 I2C.restart( void );
P32
 I2C.restart( module );
Parameters
module - i2c module number (P32 Only)
Returns/Output;
None

Example

PCF8593 DS1307serial

Bugs

See also

Comments