ABL electronic PIC12 Personal Computer User Manual


 
MikroElektronika:
Development
tools
-
Books
-
Compilers
25 9
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