I2C.start

From Pinguino
Jump to: navigation, search

Name

I2C.start - i2c start condition

Description

void I2C.start ( void ) - (P8)
void I2C.start ( u8 module ) - (P32)
Causes a 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.start( void );
P32
 I2C.start( module );
Parameters
module - i2c module number (P32 Only)
Returns/Output;
None

Example

PCF8574 PCF8593 DS1307serial

Bugs

See also

Comments