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

  • 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 266
MikroElektronika:
Development
tools
-
Books
-
Compilers
259
page
mikroC
- C Compiler for Microchip PIC microcontrollers
mikroC
making it simple...
Prototype
char Soft_Spi_Read(char buffer);
Returns Returns the received data.
Description Provides clock by sending buffer and receives data.
Requires Soft SPI must be initialized and communication established before using this function.
See Soft_Spi_Config.
Example
tmp = Soft_Spi_Read(buffer);
Soft_Spi_Read
Prototype
void Soft_Spi_Write(char data);
Description Immediately transmits data.
Requires Soft SPI must be initialized and communication established before using this function.
See Soft_Spi_Config.
Example
Soft_Spi_Write(1);
Soft_Spi_Write
Zobrazit stránku 266
1 2 ... 262 263 264 265 266 267 268 269 270 271 272 ... 311 312

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

Žádné komentáře