MCP2210 Library
An Open Source MCP2210 Library for Linux.
SPIDataTransferStatusDef Struct Reference

#include <mcp2210.h>

List of all members.

Public Attributes

unsigned int NumberOfBytesReceived
unsigned int SPIEngineStatus
unsigned char DataReceived [60]
int ErrorCode

Detailed Description

SPI data transfer status definition


Member Data Documentation

The buffer contains received data. Actual amount of data is determined by NumberOfBytesReceived.

The error code returned

Number of bytes received

SPI transfer engine status

0x10: SPI transfer finished, no data to send 0x20: SPI transfer started, no data to receive 0x30: SPI data accepted, command completed successfully


The documentation for this struct was generated from the following file:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines