Click or drag to resize

libspiagentspiagent_command Method

Dispatch a command to the LPC1114 I/O Processor.

Namespace: IO.Bindings
Assembly: libsimpleio (in libsimpleio.dll) Version: 2.2026.331.1
Syntax
C#
public static void spiagent_command(
	ref libspiagentSPIAGENT_COMMAND_MSG_t cmd,
	ref libspiagentSPIAGENT_RESPONSE_MSG_t resp,
	out int error
)

Parameters

cmd  libspiagentSPIAGENT_COMMAND_MSG_t
Command buffer.
resp  libspiagentSPIAGENT_RESPONSE_MSG_t
Response buffer.
error  Int32
Set to 0 upon success, or an errno error number upon failure.
Remarks
See the Raspberry Pi LPC1114 I/O Processor Expansion Board User Guide for the full specification of the cmd and resp arguments.
See Also