| Function | 
 | Activate SPI communication module and related pins | 
| Purpose | 
 | Enable SPI communication | 
| Syntax | 
 | void enableSPI() | 
| Parameters | 
 | – | 
| Return value | 
 | – | 
| Output values | 
 | SPI Status is switched to SPI ready, communication mode. | 
| Preconditions | 
 | Pins C5 to C8 or Q6 to Q9 are initialized for SPI Slave (C8 or Q8 out, the others in) by OS. But after a possible subsequent change in direction of these pins (through manipulation with corresponding TRIS registers) by the user, the user must recover them before using the SPI-related IQRF OS functions. | 
| Remarks | 
 | • See IQRF SPI Technical guide and Example E07-SPI. | 
| Side effects | 
 | Related pins can not be used as general I/Os until SPI is disabled via disableSPI. | 
| See also | 
 | |
| Example | 
 | See getStatusSPI |