mikroC
making it simple...
Soft_Spi_ReadmikroC - C Compiler for Microchip PIC microcontrollers
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); |
|
|
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);
|
| page |
|
MikroElektronika: Development tools - Books - Compilers | 259 | ||
|
|