include/pic24_spi.h File Reference

Go to the source code of this file.

Functions

uint16 ioMasterSPI1 (uint16 u16_c)


Detailed Description

SPI module support functions.

Definition in file pic24_spi.h.


Function Documentation

uint16 ioMasterSPI1 ( uint16  u16_c  ) 

Writes a value to the SPIx output buffer, and returns the SPIx input value. This function waits until the entire transmission is complete so it can return the new input value. Whether or not 8-bits or 16-bits is sent depends on how the SPIx module is configured.

Parameters:
u16_c Value to write to SPI TXBUF
Returns:
Value read from SPI RXBUF

Definition at line 66 of file pic24_spi.c.


Generated on Sun Mar 15 11:14:22 2009 for PIC24 Support Libraries by  doxygen 1.5.8