pic32/libraries/SoftSPI/SoftSPI.cpp
/* ------------------------------------------------------------ */
/***	SoftSPI::transfer
**
**	Parameters:
**		cbReq	- number of bytes to send to the slave
**		pbSnd	- buffer containing bytes to send
**
**	Return Value:
**		none
**
**	Errors:
**		none
**
**	Description:
**		This function will send the requested bytes to the SPI
**		slave device, discarding the bytes received from the
**		slave.
*/
:transfer

cbReq   - number of bytes to send to the slave
pbSnd   - buffer containing bytes to send

Return Value:
none

none

This function will send the requested bytes to the SPI
slave device, discarding the bytes received from the
slave.
: transfer cbReq - number of bytes to send to the slave pbSnd - buffer containing bytes to send Return Value : none none This function will send the requested bytes to the SPI slave device discarding the bytes received from the slave .
void
SoftSPI::transfer(uint16_t cbReq, uint8_t * pbSnd) {
	uint16_t			cbCur;
	for (cbCur = cbReq; cbCur > 0; cbCur--) {
		transfer(*pbSnd++);
        waitCoreTime(cntDly);
	}
}
void SoftSPI :: transfer ( uint16_t cbReq , uint8_t * pbSnd ) { uint16_t cbCur ; for ( cbCur = cbReq ; cbCur > 0 ; cbCur -- ) { transfer ( * pbSnd ++ ) ; waitCoreTime ( cntDly ) ; } }
SoftSPI::transfer
SoftSPI :: transfer