www.beck-ipc.com

@CHIP-RTOS C Library V2.00 - SPI API


spi_read_write

Read and write from the SPI Interface simultaneously

void spi_read_write ( void far *rbufferPtr, const void far *wbufferPtr,                       unsigned short nbytes );

Parameters

rbufferPtr

Pointer to buffer where read data should be stored

wbufferPtr

Pointer to buffer which contains write data

nbytes

number of bytes to read

Return Value

-- none --.

See Also

RTOS API

This library function invokes a RTOS software interrupt. Refer to this RTOS API function's documentation for more details.


This API List
List of C Libraries
@CHIP-RTOS Main Index


End of document