SPI Programming Manual (G06.24+, H06.03+, J06.03+)

SPI Programming in C
SPI Programming Manual427506-006
6-4
SPI Procedure Syntax in C
SPI Procedure Syntax in C
To call SPI procedures from a C program, you use the tal interface declaration, just as
you would when calling other operating system procedures. For descriptions of the SPI
procedures and their parameter, see Section 3, The SPI Procedures
.
SSINIT
SSNULL
#include <cextdecs(SSINIT)>
short SSINIT ( short *buffer
, short buffer-length
, short *ssid
, short header-type
, short command
,[ short object-type ]
,[ short max-resp ]
,[ short server-version ]
,[ short checksum ]
,[ short max-field-version ] );
#include <cextdecs(SSNULL)>
short SSNULL ( short *token-map
, char *struct
,[ long long *constants ] );