mikroC
making it simple...
I2C_Start
Prototype
char I2C_Start(void);
Returns
If there is no error, function returns 0.
Description
Determines if I²C bus is free and issues START signal.
Requires
I²C must be configured before using this function. See
Example
I2C_Start();
I2C_Repeated_Start
Prototype
void I2C_Repeated_Start(void);
Description
Issues repeated START signal.
Requires
I²C must be configured before using this function. See
Example
I2C_Repeated_Start();
I2C_Is_Idle
Prototype
char I2C_Is_Idle(void);
Returns
Returns 1 if I²C bus is free, otherwise returns 0.
Description
Tests if I²C bus is free.
Requires
I²C must be configured before using this function. See
Example
if (I2C_Is_Idle()) {...}
MikroElektronika: Development tools - Books - Compilers
mikroC - C Compiler for Microchip PIC microcontrollers
I2C_Init
I2C_Init
I2C_Init
.
.
.
page
189
Need help?
Do you have a question about the PIC Microcontrollers PIC12 and is the answer not in the manual?