PreviousNext
restartSPI
Help > OS functions > SPI > restartSPI

Function

 

Indicate ready to continue SPI transfer to Master.

Purpose

 

Allow continuing SPI transmission (request to Master).

Syntax

 

void restartSPI()

Parameters

 

  –

Return value

 

  –

Output values

 

 

Preconditions

 

Intended after preceding stopSPI.

Remarks

 

SPI can continue from the state just before stopSPI.

Side effects

 

  –

See also

 

startSPI, stopSPI

Example

 

startSPI(16);       // SPI started
   ...             

stopSPI();          // SPI stopped temporarily
   ...              // to make some operations
restartSPI();       // and allow to continue