Mikroc – ABL electronic PIC Microcontrollers PIC16 User Manual

Page 267

Advertising
background image

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

Advertising
This manual is related to the following products: