Abl-electronic PIC Microcontrollers PIC16 Uživatelský manuál Strana 197

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 312
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 196
MikroElektronika:
Development
tools
-
Books
-
Compilers
189
page
mikroC
- C Compiler for Microchip PIC microcontrollers
mikroC
making it simple...
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 I2C_Init.
Example
I2C_Start();
I2C_Start
Prototype
void I2C_Repeated_Start(void);
Description Issues repeated START signal.
Requires I²C must be configured before using this function. See I2C_Init.
Example
I2C_Repeated_Start();
I2C_Repeated_Start
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 I2C_Init.
Example
if (I2C_Is_Idle()) {...}
I2C_Is_Idle
Zobrazit stránku 196
1 2 ... 192 193 194 195 196 197 198 199 200 201 202 ... 311 312

Komentáře k této Příručce

Žádné komentáře